That would be great!
I'm really interested in how others are initiating and monitoring the save job
with networker as we have been doing it with a perl script for 10+ years here,
but that was with HP Data Protector. I'm trying to modify our current script
to use Networker instead.
My original plan was to initiate the save of the archives with a save command,
and then monitor the status of that job. The ability to accurately determine
the jobid of a client initiated save has been difficult though. My guess is
the simplest way is to create a savegroup for each archive backup and just kick
off with a savegrp command and monitor that savegroup with the jobquery or
nsradmin commands.
We have A LOT of databases like this though, well over 100. Each database has
2 archive directories (that design was before my time, new databases are RMAN
with a single archive directory). I'm hesitant to create 200+ more save
groups. I would keep them disabled though and only be imitated if needed, so
most of the time they would sit idle. If Networker can handle it I'm ok with
it, just worried what having that many savegroups in networker will cause
issues.
I'm backing up to Data Domain with DD Boost devices.
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
Appliance Park AP4-300
Louisville, KY 40225 USA
General Electric Company
GE imagination at work
-----Original Message-----
From: Werth, Dave [mailto:dave.werth AT garmin DOT com]
Sent: Thursday, August 23, 2012 8:58 PM
To: 'EMC NetWorker discussion'; Roberts, Justin (GE, Appl & Light)
Subject: RE: [Networker] Need to obtain the jobid of a client initiated save
via command line reliably
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.
|