Networker

Re: [Networker] Need to obtain the jobid of a client initiated save via command line reliably

2012-08-23 20:58:26
Subject: Re: [Networker] Need to obtain the jobid of a client initiated save via command line reliably
From: "Werth, Dave" <dave.werth AT GARMIN DOT COM>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 24 Aug 2012 00:57:48 +0000
Justin,

I have been doing just that on our Solaris system for many years now.  I use a 
script that monitors the free space on the file system and once it reaches a 
threshold it initiates a Networker Save of the archive logs and then deletes 
them.  It uses nsradmin to initiate and check for completion of the Savegroup.  
I'd be happy to share the details with you if you are interested.

Dave Werth
Garmin AT, Inc.
Salem, Oregon
-----Original Message-----
From: EMC NetWorker discussion [mailto:NETWORKER AT LISTSERV.TEMPLE DOT EDU] On 
Behalf Of Roberts, Justin (GE, Appl & Light)
Sent: Thursday, August 23, 2012 12:13 PM
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: [Networker] Need to obtain the jobid of a client initiated save via 
command line reliably

We have several oracle databases that are not RMAN.  We have a script that 
monitors the archive directories, and initiates a backup once they get to a set 
threshold.  This has been running for several years on Data Protector.  I'm 
working to migrate this same logic to Networker.

I need to initiate a save session from the client, then be able to periodically 
check the status of that save session.  I know jobquery is the best place to 
get the status of a backup.  Any thoughts as the best way to initiate a manual 
save, and then obtain it's job id so you can periodically check it's status.  
I've came up with a few ways, but none so far are 100% reliable in obtaining 
the correct job id while other backups are running at the same time.

What sucks is that when the save job is initiated from the client, the amount 
of information that can be obtained from the save job attribute in jobquery is 
limited.



Justin M Roberts
GE Appliances and Lighting
TAS Midrange Services

T +1 502 452 4136
M +1 502 494 5728
F + 1-502 371 8271
justin.roberts2 AT ge DOT com<mailto:justin.roberts2 AT ge DOT com>
www.ge.com<http://www.ge.com/>
Appliance Park AP4-300
Louisville, KY 40225 USA
General Electric Company

GE imagination at work


________________________________

This e-mail and any attachments may contain confidential material for the sole 
use of the intended recipient. If you are not the intended recipient, please be 
aware that any disclosure, copying, distribution or use of this e-mail or any 
attachment is prohibited. If you have received this e-mail in error, please 
contact the sender and delete all copies.

Thank you for your cooperation.

<Prev in Thread] Current Thread [Next in Thread>