Veritas-bu

[Veritas-bu] Win21k script to stop AV service during backup & restart when fin ished

2006-01-13 09:18:45
Subject: [Veritas-bu] Win21k script to stop AV service during backup & restart when fin ished
From: perf AT peppas DOT gr (Jim Peppas)
Date: Fri, 13 Jan 2006 16:18:45 +0200
This is a multi-part message in MIME format.

------=_NextPart_000_0009_01C6185D.0A71E7A0
Content-Type: text/plain;
        charset="us-ascii"
Content-Transfer-Encoding: 7bit

You could disable "Allow multiple data streams" if your time window allows
it. This will cause only one stream to appear instead of many, and the
notify scripts will work OK
 
Jim

  _____  

From: veritas-bu-admin AT mailman.eng.auburn DOT edu
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] On Behalf Of WEAVER, 
Simon
Sent: Wednesday, January 11, 2006 9:13 AM
To: 'Paul Keating'; veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Win21k script to stop AV service during backup &
restart when fin ished


Hi All
Ok I got the script to work, which is great - only one problem I see - the
client has multiple paritions and is being backed up using ALL LOCAL DRIVES
- although the services stop fine, it appears that as soon as one of the
stream finishes, the services are bought back up, therefore when it comes to
backing up the partition where Trend lives, the files are being skipped!
 
I could use a sleep command to delay things, but is there a command to add
to tell NBU to use the script when the final stream ends?
 
Thanks
 
 

Simon Weaver
Technical Support
Windows Domain Administrator 

EADS Astrium
Tel: 02392-708598 

Email: Simon.Weaver AT Astrium.eads DOT net 

-----Original Message-----
From: Paul Keating [mailto:pkeating AT bank-banque-canada DOT ca] 
Sent: 10 January 2006 13:37
To: veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Win21k script to stop AV service during backup &
restart when fin ished


I've done it both ways.....called an external script and/or commands in the
bpstart_notify.bat.
 
put some debug commands in the script, simple logging stuff, then make sure
the commands i the script work if you run them at the CLI, then verify that
you can run the bpstart_notify.bat from the CLI.
 
Paul

-----Original Message-----
From: WEAVER, Simon [mailto:simon.weaver AT astrium.eads DOT net] 
Sent: January 10, 2006 7:07 AM
To: 'bobbyrjw AT bellsouth DOT net'; Paul Keating;
veritas-bu AT mailman.eng.auburn DOT edu
Subject: RE: [Veritas-bu] Win21k script to stop AV service during backup &
restart when fin ished


Thanks Bob apprecaited!
Now, I am still unable to get this script to work - can anyone tell me if I
am doing it right or wrong?
 
Am I right to place the command to stop the services in this file or should
I be telling this file to run C:\stop.bat or something?
 
Any help really apprecaited - sysadmin guide doesnt give a clear definition
on this, but it has to work?

This email is for the intended addressee only.
If you have received it in error then you must not use, retain, disseminate
or otherwise deal with it.
Please notify the sender by return email.
The views of the author may not necessarily constitute the views of EADS
Astrium Limited.
Nothing in this email shall bind EADS Astrium Limited in any contract or
obligation.

EADS Astrium Limited, Registered in England and Wales No. 2449259
Registered Office: Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS,
England
        

------=_NextPart_000_0009_01C6185D.0A71E7A0
Content-Type: text/html;
        charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<META content=3D"MSHTML 6.00.2900.2802" name=3DGENERATOR></HEAD>
<BODY>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D627081314-13012006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>You could disable "Allow multiple data streams" =
if your=20
time window allows it. This will cause only one stream to appear instead =
of=20
many, and the notify scripts will work OK</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D627081314-13012006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D627081314-13012006><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>Jim</FONT></SPAN></DIV><BR>
<DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
<HR tabIndex=3D-1>
<FONT face=3DTahoma size=3D2><B>From:</B> =
veritas-bu-admin AT mailman.eng.auburn DOT edu=20
[mailto:veritas-bu-admin AT mailman.eng.auburn DOT edu] <B>On Behalf Of =
</B>WEAVER,=20
Simon<BR><B>Sent:</B> Wednesday, January 11, 2006 9:13 AM<BR><B>To:</B> =
'Paul=20
Keating'; veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: =
[Veritas-bu]=20
Win21k script to stop AV service during backup &amp; restart when fin=20
ished<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=3D890331107-11012006><FONT face=3DArial color=3D#0000ff =
size=3D2>Hi=20
All</FONT></SPAN></DIV>
<DIV><SPAN class=3D890331107-11012006><FONT face=3DArial color=3D#0000ff =
size=3D2>Ok I=20
got the script to work, which is great - only one problem I see - the =
client has=20
multiple paritions and is being backed up using ALL LOCAL DRIVES - =
although the=20
services stop fine, it appears that as soon as one of the stream =
finishes, the=20
services are bought back up, therefore when it comes to backing up the =
partition=20
where Trend lives, the files are being skipped!</FONT></SPAN></DIV>
<DIV><SPAN class=3D890331107-11012006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D890331107-11012006><FONT face=3DArial color=3D#0000ff =
size=3D2>I=20
could use a sleep command to delay things, but is there a command to add =
to tell=20
NBU to use the script when the final stream ends?</FONT></SPAN></DIV>
<DIV><SPAN class=3D890331107-11012006><FONT face=3DArial color=3D#0000ff =

size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D890331107-11012006><FONT face=3DArial color=3D#0000ff =

size=3D2>Thanks</FONT></SPAN></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/rtf format -->
<P><SPAN lang=3Den-gb><B><FONT face=3DArial color=3D#0000ff =
size=3D2>Simon=20
Weaver</FONT></B><FONT face=3DArial><BR></FONT><B><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>Technical Support</FONT></B><FONT =
face=3DArial><BR></FONT><B><FONT=20
face=3DArial color=3D#0000ff size=3D2>Windows Domain =
Administrator</FONT></B><FONT=20
face=3DArial> </FONT></SPAN></P>
<P><SPAN lang=3Den-gb><B><I><FONT face=3DArial size=3D2>EADS=20
Astrium</FONT></I></B><I></I><FONT =
face=3DArial><BR></FONT><B></B><B><I><FONT=20
face=3DArial size=3D2>Tel: 02392-70</FONT><FONT face=3DArial=20
size=3D2>8598</FONT></I></B><I></I><FONT face=3DArial> =
</FONT></SPAN></P>
<P><SPAN lang=3Den-gb><B><FONT face=3DArial color=3D#ff0000 =
size=3D2>Email:=20
Simon.Weaver AT Astrium.eads DOT net</FONT></B><FONT face=3DArial> =
</FONT></SPAN></P>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
  <DIV></DIV>
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
  face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> Paul =
Keating=20
  [mailto:pkeating AT bank-banque-canada DOT ca] <BR><B>Sent:</B> 10 January =
2006=20
  13:37<BR><B>To:</B> =
veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE:=20
  [Veritas-bu] Win21k script to stop AV service during backup &amp; =
restart when=20
  fin ished<BR><BR></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#800000 size=3D2><SPAN =
class=3D363573413-10012006>I've=20
  done it both ways.....called an external script and/or commands in the =

  bpstart_notify.bat.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#800000 size=3D2><SPAN=20
  class=3D363573413-10012006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#800000 size=3D2><SPAN =
class=3D363573413-10012006>put=20
  some debug commands in the script, simple logging stuff, then make =
sure the=20
  commands i the script work if you run them at the CLI, then verify =
that you=20
  can run the bpstart_notify.bat from the CLI.</SPAN></FONT></DIV>
  <DIV><FONT face=3DArial color=3D#800000 size=3D2><SPAN=20
  class=3D363573413-10012006></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=3DArial color=3D#800000 size=3D2><SPAN=20
  class=3D363573413-10012006>Paul</SPAN></FONT></DIV>
  <BLOCKQUOTE=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #800000 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV></DIV>
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft><FONT=20
    face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> =
WEAVER, Simon=20
    [mailto:simon.weaver AT astrium.eads DOT net] <BR><B>Sent:</B> January 10, =
2006=20
    7:07 AM<BR><B>To:</B> 'bobbyrjw AT bellsouth DOT net'; Paul Keating;=20
    veritas-bu AT mailman.eng.auburn DOT edu<BR><B>Subject:</B> RE: =
[Veritas-bu] Win21k=20
    script to stop AV service during backup &amp; restart when fin=20
    ished<BR><BR></FONT></DIV>
    <DIV><SPAN class=3D213250512-10012006><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2>Thanks Bob apprecaited!</FONT></SPAN></DIV>
    <DIV><SPAN class=3D213250512-10012006><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2>Now, I am still unable to get this script to work - can =
anyone tell=20
    me if I am doing it right or wrong?</FONT></SPAN></DIV>
    <DIV><SPAN class=3D213250512-10012006><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D213250512-10012006><FONT face=3DArial =
color=3D#0000ff size=3D2>Am=20
    I right to place the command to stop the services in this file or =
should I=20
    be telling this file to run C:\stop.bat or =
something?</FONT></SPAN></DIV>
    <DIV><SPAN class=3D213250512-10012006><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV><SPAN class=3D213250512-10012006><FONT face=3DArial =
color=3D#0000ff=20
    size=3D2>Any help really apprecaited - sysadmin guide doesnt give a =
clear=20
    definition on this, but it has to=20
work?</FONT></SPAN></DIV></BLOCKQUOTE></BLOCKQUOTE>
<TABLE>
  <TBODY>
  <TR>
    <TD bgColor=3D#ffffff><FONT color=3D#000000>This email is for the =
intended=20
      addressee only.<BR>If you have received it in error then you must =
not use,=20
      retain, disseminate or otherwise deal with it.<BR>Please notify =
the sender=20
      by return email.<BR>The views of the author may not necessarily =
constitute=20
      the views of EADS Astrium Limited.<BR>Nothing in this email shall =
bind=20
      EADS Astrium Limited in any contract or obligation.<BR><BR>EADS =
Astrium=20
      Limited, Registered in England and Wales No. 2449259<BR>Registered =
Office:=20
      Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS,=20
  England<BR></FONT></TD></TR></TBODY></TABLE></BODY></HTML>

------=_NextPart_000_0009_01C6185D.0A71E7A0--