Networker

Re: [Networker] Determining when a clone job finishes writing to tape?

2012-11-16 14:22:39
Subject: Re: [Networker] Determining when a clone job finishes writing to tape?
From: "Nelson, Allan" <an AT CEH.AC DOT UK>
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Date: Fri, 16 Nov 2012 19:14:42 +0000
Can you use 'nsr_render_log'
Not brilliant I know but you could maybe use something like the following to 
limit the output...

nsr_render_log -S 15-Nov-2012 daemon.raw | grep "cloning session"

That shows me when my cloning jobs start and finish.

I only run clones from a script so I'm maybe making an assumption that 
automatic cloning records the same info in daemon.raw.

Cheeers... Allan
________________________________________
From: EMC NetWorker discussion [NETWORKER AT LISTSERV.TEMPLE DOT EDU] On Behalf 
Of Michael Leone [Michael.Leone AT PHA.PHILA DOT GOV]
Sent: 16 November 2012 17:01
To: NETWORKER AT LISTSERV.TEMPLE DOT EDU
Subject: Re: [Networker] Determining when a clone job finishes writing to tape?

> Are you really interested in the time?

I really am. :-) As I said, I need to restart the client that the clone is
coming from. If I restart the machine while the cloning to tape is still
going on, then I get an incomplete saveset on tape. So if I can tell when
the job (usually) finishes, I can schedule the restart time for a period
after it ends. If I don't know when the cloning ends, I have to change the
job to *not* clone at all, but only write to disk. Then restart the
client, after the write to disk is done. Then manually clone. Then go and
change the job back to it's original parameters.

That's a lot more steps I have to do, rather than just (perhaps) being
able to wait until the job is done cloning to tape.

> Maybe it is just fine to check whether the job has successfully
> finished? -

As I say, the mminfo query reporting on "sscomp" is not giving the finish
time of cloning to tape, only the finish time of writing to disk. I have
verified this.

> If this is enough you should run a mminfo job where you report the
number of 'copies'.

That won't tell me when the job usually finishes, so I can use that to
schedule restarts.-- 
This message (and any attachments) is for the recipient only. NERC
is subject to the Freedom of Information Act 2000 and the contents
of this email and any reply you make may be disclosed by NERC unless
it is exempt from release under the Act. Any material supplied to
NERC may be stored in an electronic records management system.