Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams- Revisit with 6.5.3

2009-06-05 Thread Kenneth Hansen
Hi,

As far as I know you then have to uncheck for multiple streams on your backup 
jobs that have this problem. Perhaps make one policy for this.
I have experienced the same problems when backing up a Enterprise Vault server 
using multiple streams.
For EV 8 powershell script is used to put EV in backup mode, only solution I 
could find was to not use multiple streams.

See also answer from Judy:
2 things.

The parent_end/start only runs on the master server.  So if you use that you 
will have to script it to run the command over on the client.

The bpstart/end runs on the client but – will run for each job on the client. – 
you can make it bpstart_notify.policy.schedule .bat so it only runs for jobs in 
that policy and that schedule – but again it will run for each child job.  So 
if you use that, try to make it so it is the only job under that 
policy.schedule so it does not run for anything else.

Regards
Kenneth

From: WEAVER, Simon (external) [mailto:simon.wea...@astrium.eads.net]
Sent: 5. juni 2009 07:40
To: Kenneth Hansen; veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams- 
Revisit with 6.5.3

Hi Kenneth
I used to do this on 5.1 - the problem I found is that for a client, if it has 
3 streams running, the command will STOP the AV, which is great :-) But if a 
stream finishes before the other 2 streams have completed, then the bpend 
script would restart the AV - That was BEFORE all streams had completed.

I will relook at these scripts, but are you saying that in 6.5.3 it's behaviour 
is now different to 5.1?

Cheers


From: veritas-bu-boun...@mailman.eng.auburn.edu 
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Kenneth Hansen
Sent: Thursday, June 04, 2009 3:56 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams- 
Revisit with 6.5.3
Hi,

Use the bpstart_notify and bpend_notify scripts to do this.
On each client make a:
bpstart_notify.bat
bpend_notify.bat
located in C:\Program Files\Veritas\NetBackup\bin catalog
Insert your NET STOP and NET START command in the script files ( 
bpstart_notify.bat should contain the NET STOP command) on the servers you need 
to stop AV.

This should fix your problem ☺

Regards
Kenneth


From: veritas-bu-boun...@mailman.eng.auburn.edu 
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER, Simon 
(external)
Sent: 4. juni 2009 16:48
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams - Revisit 
with 6.5.3

Hello all
I wanted to revisit this problem, seeing as I am on 6.5.3 for clients and 
Master / Media / Windows 2003 SP2

Last time I had a problem on Oracle. Good news is, I dont need to this, but I 
do have a problem with an Oracle, Exhange and some file level systems while the 
AV is running and the Backups runs.

I have a Policy with 10 clients, All Win2k3. This Policy allows for Multiple 
Data Streams.

What I need to do is during the backup, I need to shutdown the Relevant AV 
services, and restart ONLY when the entire job has completed on the clients.

I recall a script in 6.5.3 called Parent_start and Parent end. I just wondered 
if anyone uses this, or could tell me if this would help me get around the 
problem.

Essentially, I only need to use the Windows command NET STOP  and 
when the backup completes (regardless of status) NET START 

With 5.1, it was problematic, as a client could have 5 volumes, and although I 
can stop the Service just fine, if one partition ended quickly, the Service 
would start up! This is due to the streaming as I read it.

Any advice is very welcome, Thanks again
Simon


This email (including any attachments) may contain confidential

and/or privileged information or information otherwise protected

from disclosure. If you are not the intended recipient, please

notify the sender immediately, do not copy this message or any

attachments and do not use it for any purpose or disclose its

content to any person, but delete this message and any attachments

from your system. Astrium disclaims any and all liability if this

email transmission was virus corrupted, altered or falsified.

-o-

Astrium Limited, Registered in England and Wales No. 2449259

Registered Office:

Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.52/2152 - Release Date: 06/03/09 
05:53:00

This email (including any attachments) may contain confidential

and/or privileged information or information otherwise protected

from disclosure. If you are not the intended recipient, please

notify the sender immediately, do not copy this message or any

attachments and do not use it for any purpose or disclose its

content to any person, but delete this message and any attachments

from your system. As

Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams-Revisit with

2009-06-04 Thread WEAVER, Simon (external)
Hi Darren
I may take a snip of this and have a re-try in my test lab.

Thanks again for your help and advice
Simon 

-Original Message-
From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
doctorski
Sent: Thursday, June 04, 2009 7:38 PM
To: VERITAS-BU@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with
Streams-Revisit with


Simon,
  We use the following pre post scripts. Its not been tested at
6.5.3 but should work i think ! 

bpstart_notify basically shuts "stuff" down in stream 1 and all other
streams wait till stream1 lock file disappears.

bpend_notify identifies which is the last stream to complete and
restarts "stuff"

bpstart_notify.POLICY_NAME script


@REM This bat script runs prior to the backup starting and can be used
for stopping @REM virus checker, services, databases etc, etc.

@REM If STREAM_NUMBER = 1 it calls C:\Batch\NetBackup_Stop_Services.bat
which is a bat script maintained by Desktop.
@REM IF STREAM_NUMBER != 1 then it waits for STREAM1 shutdown to
complete. Then exits.

@REM This script needs to be named in line with the POLICY for netbackup
to recognise it.
@REM eg if POLICY name is SRV999AP_BKUP, this script needs to be called
bpstart_notify.SRV999AP_BKUP.bat

@REM The bat script can be made schedule specific along the same lines
of specific exclude lists @REM eg
bpstart_notify.SRV999AP_BKUP.SCHEDULE.bat

@REM %1 = Client name %2 = Policy %3 = Schedule %4 = FULL CINC or DIFF 

cd c:\"program files"\veritas\netbackup\logs

@set OUTFILE=c:\"program
files"\veritas\netbackup\logs\%2_notify_STREAM%STREAM_NUMBER%.txt
@set LOCKFILE=c:\"program
files"\veritas\netbackup\logs\%2_stream_lock.txt

@REM Exit if STREAM_NUMBER not set. Probable accidental execution of
script !

if %STREAM_NUMBER% == "" goto END

@echo "> START OF %1 %2 %3 %4 STREAM NUMBER =
%STREAM_NUMBER% <<" >> %OUTFILE%

@date /t >> %OUTFILE%
@time /t >> %OUTFILE%

@REM Check that the COMPLETE flag for this stream does not exist. Delete
if it does, it shouldnt exist at start of backup.

if EXIST STREAM_NUMBER%STREAM_NUMBER%_COMPLETE.txt goto EXISTS

goto NOEXIST

:EXISTS

@echo " STREAM_NUMBER%STREAM_NUMBER%_COMPLETE.txt exists, deleting
it" >> %OUTFILE%

@dir STREAM_NUMBER%STREAM_NUMBER%_COMPLETE.txt >> %OUTFILE%

@del STREAM_NUMBER%STREAM_NUMBER%_COMPLETE.txt

:NOEXIST

if %STREAM_NUMBER% == 1 goto SHUTDOWN

@REM sleep 60 to wait for STREAM1 to touch LOCKFILE

@sleep 60

goto LOCKCHECK

:LOCKLOOP

@date /t >> %OUTFILE%
@time /t >> %OUTFILE%

@echo "STREAM_NUMBER%STREAM_NUMBER% waiting for STREAM1 shutdown to
finish.sleeping 30 secs" >> %OUTFILE%

sleep 30

:LOCKCHECK

if EXIST %LOCKFILE% goto LOCKLOOP

@echo "STREAM_NUMBER%STREAM_NUMBER% detected STREAM1 shutdown has
finished" >> %OUTFILE%

:NOSHUTDOWN

@echo "STREAM_NUMBER = %STREAM_NUMBER% NOT RUNNING
C:\batch\NetBackup_Stop_Services.bat" >> %OUTFILE%

goto END

:SHUTDOWN

@REM Create lock file so non STREAM1 streams wait for STREAM1 script to
finish

@echo "STREAM_NUMBER%STREAM_NUMBER% populate LOCKFILE" >> %LOCKFILE%

@echo " STREAM_NUMBER = %STREAM_NUMBER% RUNNING
C:\batch\NetBackup_Stop_Services.bat " >> %OUTFILE%

if EXIST c:\Batch\NetBackup_Stop_Services.bat goto RUNIT

@REM Create Dummy version if it doesnt exist.

@echo " c:\Batch\NetBackup_Stop_Services.bat  DOES NOT EXIST.
Creating DUMMY version" >> %OUTFILE%

@echo sleep 90 > c:\Batch\NetBackup_Stop_Services.bat 

:RUNIT

call c:\Batch\NetBackup_Stop_Services.bat >> %OUTFILE%

@echo " DELETING %LOCKFILE% " >> %OUTFILE%

@del %LOCKFILE%

@date /t >> %OUTFILE%
@time /t >> %OUTFILE%

:END



bpend_notify.POLICY_NAME script

@REM This bat script runs after the backup ends and can be used for
starting @REM virus checker, services, databases etc, etc.

@REM It works out how many streams there, and the last stream to
complete.
@REM If it is the last stream to complete it runs
C:\Batch\NetBackup_Restart_Services.bat

@REM This script needs to be named in line with the POLICY for netbackup
to recognise it.
@REM eg if POLICY name is SRV999AP_BKUP, this script needs to be called
bpend_notify.SRV999AP_BKUP.bat

@REM The bat script can be made schedule specific along the same lines
of specific exclude lists @REM eg
bpend_notify.SRV999AP_BKUP.SCHEDULE.bat

@REM %1 = Client name %2 = Policy %3 = Schedule %4 = FULL CINC or DIFF
%5 = STATUS

cd C:\"program files"\veritas\netbackup\logs

@set OUTFILE=c:\"program
files"\veritas\netbackup\logs\%2_notify_STREAM%STREAM_NUMBER%.txt

@REM Exit if STREAM_NUMBER not set. Probable accidental execution of
script !

if %STREAM_NUMBER% == "" goto EXIT

@date /t >> %OUTFILE%
@time /t >> %OUTFILE%

if %5 == 0 goto BKUPOK
if %5 == 1 goto BKUPOK

@echo " STREAM_NUMBER = %STREAM_NUMBER% STATUS = %5 " >>
%OUTFILE% @echo " STREAM_NUMBER %STREAM_NUMBER% HAS FAILED EXITING
WITH NO COMPLETE FLAG " >> %OUTFILE%

goto

Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams- Revisit with 6.5.3

2009-06-04 Thread WEAVER, Simon (external)
Hi Kenneth
I used to do this on 5.1 - the problem I found is that for a client, if
it has 3 streams running, the command will STOP the AV, which is great
:-) But if a stream finishes before the other 2 streams have completed,
then the bpend script would restart the AV - That was BEFORE all streams
had completed.
 
I will relook at these scripts, but are you saying that in 6.5.3 it's
behaviour is now different to 5.1?
 
Cheers



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Kenneth
Hansen
Sent: Thursday, June 04, 2009 3:56 PM
To: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with
Streams- Revisit with 6.5.3



Hi,

 

Use the bpstart_notify and bpend_notify scripts to do this. 

On each client make a:

bpstart_notify.bat

bpend_notify.bat

located in C:\Program Files\Veritas\NetBackup\bin catalog

Insert your NET STOP and NET START command in the script files (
bpstart_notify.bat should contain the NET STOP command) on the servers
you need to stop AV.

 

This should fix your problem J

 

Regards

Kenneth

 

 

From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER,
Simon (external)
Sent: 4. juni 2009 16:48
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams -
Revisit with 6.5.3

 

Hello all

I wanted to revisit this problem, seeing as I am on 6.5.3 for clients
and Master / Media / Windows 2003 SP2

 

Last time I had a problem on Oracle. Good news is, I dont need to this,
but I do have a problem with an Oracle, Exhange and some file level
systems while the AV is running and the Backups runs.

 

I have a Policy with 10 clients, All Win2k3. This Policy allows for
Multiple Data Streams.

 

What I need to do is during the backup, I need to shutdown the Relevant
AV services, and restart ONLY when the entire job has completed on the
clients.

 

I recall a script in 6.5.3 called Parent_start and Parent end. I just
wondered if anyone uses this, or could tell me if this would help me get
around the problem.

 

Essentially, I only need to use the Windows command NET STOP
 and when the backup completes (regardless of status) NET
START 

 

With 5.1, it was problematic, as a client could have 5 volumes, and
although I can stop the Service just fine, if one partition ended
quickly, the Service would start up! This is due to the streaming as I
read it.

 

Any advice is very welcome, Thanks again

Simon

 

This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.52/2152 - Release Date:
06/03/09 05:53:00


This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams- Revisit with 6.5.3

2009-06-04 Thread judy_hinchcliffe
2 things.

 

The parent_end/start only runs on the master server.  So if you use that
you will have to script it to run the command over on the client.

 

The bpstart/end runs on the client but - will run for each job on the
client. - you can make it bpstart_notify.policy.schedule .bat so it only
runs for jobs in that policy and that schedule - but again it will run
for each child job.  So if you use that, try to make it so it is the
only job under that policy.schedule so it does not run for anything
else.

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Kenneth
Hansen
Sent: Thursday, June 04, 2009 9:56 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with
Streams- Revisit with 6.5.3

 

Hi,

 

Use the bpstart_notify and bpend_notify scripts to do this. 

On each client make a:

bpstart_notify.bat

bpend_notify.bat

located in C:\Program Files\Veritas\NetBackup\bin catalog

Insert your NET STOP and NET START command in the script files (
bpstart_notify.bat should contain the NET STOP command) on the servers
you need to stop AV.

 

This should fix your problem :-)

 

Regards

Kenneth

 

 

From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER,
Simon (external)
Sent: 4. juni 2009 16:48
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams -
Revisit with 6.5.3

 

Hello all

I wanted to revisit this problem, seeing as I am on 6.5.3 for clients
and Master / Media / Windows 2003 SP2

 

Last time I had a problem on Oracle. Good news is, I dont need to this,
but I do have a problem with an Oracle, Exhange and some file level
systems while the AV is running and the Backups runs.

 

I have a Policy with 10 clients, All Win2k3. This Policy allows for
Multiple Data Streams.

 

What I need to do is during the backup, I need to shutdown the Relevant
AV services, and restart ONLY when the entire job has completed on the
clients.

 

I recall a script in 6.5.3 called Parent_start and Parent end. I just
wondered if anyone uses this, or could tell me if this would help me get
around the problem.

 

Essentially, I only need to use the Windows command NET STOP
 and when the backup completes (regardless of status) NET
START 

 

With 5.1, it was problematic, as a client could have 5 volumes, and
although I can stop the Service just fine, if one partition ended
quickly, the Service would start up! This is due to the streaming as I
read it.

 

Any advice is very welcome, Thanks again

Simon

 

This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England

No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.52/2152 - Release Date:
06/03/09 05:53:00

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams - Revisit with 6.5.3

2009-06-04 Thread Kenneth Hansen
Hi,

Use the bpstart_notify and bpend_notify scripts to do this.
On each client make a:
bpstart_notify.bat
bpend_notify.bat
located in C:\Program Files\Veritas\NetBackup\bin catalog
Insert your NET STOP and NET START command in the script files ( 
bpstart_notify.bat should contain the NET STOP command) on the servers you need 
to stop AV.

This should fix your problem ☺

Regards
Kenneth


From: veritas-bu-boun...@mailman.eng.auburn.edu 
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER, Simon 
(external)
Sent: 4. juni 2009 16:48
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams - Revisit 
with 6.5.3

Hello all
I wanted to revisit this problem, seeing as I am on 6.5.3 for clients and 
Master / Media / Windows 2003 SP2

Last time I had a problem on Oracle. Good news is, I dont need to this, but I 
do have a problem with an Oracle, Exhange and some file level systems while the 
AV is running and the Backups runs.

I have a Policy with 10 clients, All Win2k3. This Policy allows for Multiple 
Data Streams.

What I need to do is during the backup, I need to shutdown the Relevant AV 
services, and restart ONLY when the entire job has completed on the clients.

I recall a script in 6.5.3 called Parent_start and Parent end. I just wondered 
if anyone uses this, or could tell me if this would help me get around the 
problem.

Essentially, I only need to use the Windows command NET STOP  and 
when the backup completes (regardless of status) NET START 

With 5.1, it was problematic, as a client could have 5 volumes, and although I 
can stop the Service just fine, if one partition ended quickly, the Service 
would start up! This is due to the streaming as I read it.

Any advice is very welcome, Thanks again
Simon


This email (including any attachments) may contain confidential

and/or privileged information or information otherwise protected

from disclosure. If you are not the intended recipient, please

notify the sender immediately, do not copy this message or any

attachments and do not use it for any purpose or disclose its

content to any person, but delete this message and any attachments

from your system. Astrium disclaims any and all liability if this

email transmission was virus corrupted, altered or falsified.

-o-

Astrium Limited, Registered in England and Wales No. 2449259

Registered Office:

Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England


No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.339 / Virus Database: 270.12.52/2152 - Release Date: 06/03/09 
05:53:00
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-19 Thread Donaldson, Mark
Ah - yes.  Sorry no parent jobs in NB5.  It is an NB6 feature.
 
Easist thing to do here is turn off the multiple streams.  Just how big
is this database anyway?
 
We've done different things in my sordid past.
 
Query a list of tablespaces (active query)
for TABLE in LIST_OF_TABLESPACES
do
  QUERY list of files (dbf files) in that table
  put TABLE in hot backup mode
  bpbackup -p  -s  -w -f 
  take table out of hot backup mode
done
double check no part of DB is in HB mode
"roll your logs" (roll active redo to archive redo
backup all archived redo files
end
 
That worked OK and doesn't require the agent.  If you get creative, you
can even do multiple streams by doing multiple lists of tablespaces
 
Lessee - if it's an disk that can be snapped (Netapp or EMC BCV)
 
Put tablespaces in hot backup mode
snap data filesystems
take tablespaces out of HB mode
roll active redo to archived redo spaces
snap archive-redo filesystems
mount snapshots elsewhere and back them up using bpbackup.
 
 
If you drive things out of an external scheduler (cron or whatever) and
do the data as a user-backup type, things get much eaiser than trying to
do multiple streams and pre/post schedule jobs.
 
HTH - Mark



From: WEAVER, Simon (external) [mailto:simon.wea...@astrium.eads.net] 
Sent: Tuesday, May 19, 2009 12:10 AM
To: Donaldson, Mark; Dustin Damour; veritas-bu@mailman.eng.auburn.edu
Subject: RE: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams


Cheers Mark,
Although the client in question is Oracle, I have other Servers that
need specific tasks to be run but again, the problem I have is they are
all in policies to allow multiple Data Streams.
 
I will take a look at this Parent end scripts to see if they do anything
for me.
 
Simon



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Monday, May 18, 2009 6:38 PM
To: Dustin Damour; veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams


If you backup the database with only one image, the bpstart/bpend_notify
will work.  
 
However, bpend_notify does run with every image completion, as you've
found so it's no good for multi-image backups.  bpstart_notify also runs
with every image starting up so your preparation script might run more
than once (OK if it checks state when it runs, perhaps, "If NOT down,
then SHUTDOWN").  There's also lots of issues when your jobs run
sequentially rather than in parallel, various race conditions, and all
sorts of other painful stuff.
 
Look at the parent_end_notify & parent_start_notify scripts.  The run at
the beginning of a multiple image job.  Some of the early documentation
said they run on the client - they don't - they run on the master server
only.  If you want to perform a client task, you'll have to "ssh" from
your master to your client.
 
Unfortunately, most solutions for pre- and post- multi-image jobs stink.
 
The classic oracle solution is to use the oracle agent, of course.  Do
you have a license for it?  If so, create an oracle job.  The "include"
list is the batch file than runs the RMAN script.  The one schedule
triggers the RMAN backup to a UBAK (called "Application" in this case)
schedule located in the same policy.  Works great & RMAN takes care of
the heavy lifting.
 
If you don't have an oracle license, you can run a batch job from the
scheduler to shutdown the database, run "bpbackup -w" to a user-backup
schedule with a filelist for the oracle directory(s), then start the
database again from the same batch script.
 
HTH - M



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Dustin
Damour
Sent: Monday, May 18, 2009 10:47 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams



When we had a client with Oracle we used bpstart_notify and bpend_notify
to bring down the Oracle service and then bring it back up. It works
like a charm.

 

Dustin D'Amour

Wireless Switch Technician

Plateau Wireless

575.389.4189 - office

575.309.6372 - cell

dust...@plateautel.com

 

From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER,
Simon (external)
Sent: Monday, May 18, 2009 10:41 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

 

Hi All 
In a NBU 5.1 MP5 environment, I have client machines that require Oracle
to be taken down. 
the client backup is in an existing policy with many other Windows
Systems. 

The policy allows for streams. 

Problem I am seeing: Although for this client, the Services STOP when
the job begins, the pos

Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-19 Thread judy_hinchcliffe
We don't use the oracle agent to backup.

 

We have a script that uses RMAN to backup to disk.

The same script test to see if the backup finished ok,

If not email DBA'a that the backup to disk failed,

If it worked, then the script does a 'user backup' of the disk file/dir
to tape

Test if it worked to tape

If not email NB admin that the backup to tape failed

If it worked email everybody that it worked.

 

 

I don't think they take the database down to do the rman backup, but
back it up hot.

 

And yes it does take extra space for the backup.  

But that means I don't have to buy the oracle agent from NetBackup or
figure out how to configure it.

Means that the DBA's can control the backups.  Start one if they need,
or comment out the crontabs entry if they don't want it to start.

I am only reasonable for the part of the script that does the user
backup to tape.

 

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Nardello, John
Sent: Tuesday, May 19, 2009 11:15 AM
To: WEAVER, Simon (external)
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

 

I'd lean towards doing one of two things. 

 

1)Tell them if they don't want to use the agent, then they have to
dump their DB to a flat file and you'll back that up for them. No
worries about the DB being left down that way, but it can take a unholy
amount of space depending on the instance. =) If the file isn't finished
dumping by the time the backup job kicks off, they accept that they
won't get a backup that day. 

OR

2)Tell them if they don't want to use the agent, they have to make
arrangements on their side to put the DB into hot/cold backup mode
during 'x' window for the backups to happen. You'll run the risk of the
backup getting out of sync with said window, but at least the users will
always be able to get into the DB at the end of the window. The business
owner would have to sign off on this known risk of course. 

 

Regardless, time to start writing up some 'standard backup options'
documentation for upper management to sign off on. That way the only
available options are ones you're okay with supporting, they don't get
to force you into ugly situations like scripting DB start/stops with
multiple child jobs. 

- John Nardello

 



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER,
Simon (external)
Sent: Tuesday, May 19, 2009 4:48 AM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

Ed

the "Oracle" job is not a big deal, seeing as the Oracle DBA wants this
method used, rather than using the recommended method and supported one!
Again, they see it as "Cost constraints".

 

I do not see it this way, and although they have been given the options,
its on their own shoulders should it go wrong.

I have come across many companies that accept risks  and in most
cases, suffer as a result !

 

Cannot keep talking to a brick wall if it is not going to listen ..

Simon

 



From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, May 19, 2009 12:38 PM
To: WEAVER, Simon (external)
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

On Tue, May 19, 2009 at 1:07 AM, WEAVER, Simon (external)
 wrote:

I have used "ST" before, not just for Oracle, but other tasks. There is
no real risk here and yes fully understand why agents are out there, but
if the business accept the risk, then they have to accept the
consequences!


When you have multi-streamed jobs, yes, there are real risks.   If every
job completes successfully, you could be fine, but if one stream fails,
you could fail to restart Oracle.  Or you'll restart Oracle and
NetBackup will restart the stream while Oracle is up.  Because you
haven't tripped over the risks does not they aren't there.  

The concept of parent jobs didn't get added until 6.0.

It's fine for you to say that business can accept the risk, but it's
your job to get them to understand the risks - their backups will
occasionally leave the database down, or their backups are not available
for recovery because a stream ran with the database up.

Rarely have I see a business unit "accept the consequences"...

 

 

This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose 

Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-19 Thread Nardello, John
I'd lean towards doing one of two things. 
 
1)Tell them if they don't want to use the agent, then they have to
dump their DB to a flat file and you'll back that up for them. No
worries about the DB being left down that way, but it can take a unholy
amount of space depending on the instance. =) If the file isn't finished
dumping by the time the backup job kicks off, they accept that they
won't get a backup that day. 
OR
2)Tell them if they don't want to use the agent, they have to make
arrangements on their side to put the DB into hot/cold backup mode
during 'x' window for the backups to happen. You'll run the risk of the
backup getting out of sync with said window, but at least the users will
always be able to get into the DB at the end of the window. The business
owner would have to sign off on this known risk of course. 
 
Regardless, time to start writing up some 'standard backup options'
documentation for upper management to sign off on. That way the only
available options are ones you're okay with supporting, they don't get
to force you into ugly situations like scripting DB start/stops with
multiple child jobs. 

- John Nardello




From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER,
Simon (external)
Sent: Tuesday, May 19, 2009 4:48 AM
To: Ed Wilts
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams


Ed
the "Oracle" job is not a big deal, seeing as the Oracle DBA wants this
method used, rather than using the recommended method and supported one!
Again, they see it as "Cost constraints".
 
I do not see it this way, and although they have been given the options,
its on their own shoulders should it go wrong.
I have come across many companies that accept risks  and in most
cases, suffer as a result !
 
Cannot keep talking to a brick wall if it is not going to listen ..
Simon



From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, May 19, 2009 12:38 PM
To: WEAVER, Simon (external)
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams


On Tue, May 19, 2009 at 1:07 AM, WEAVER, Simon (external)
 wrote:



I have used "ST" before, not just for Oracle, but other tasks.
There is no real risk here and yes fully understand why agents are out
there, but if the business accept the risk, then they have to accept the
consequences!


When you have multi-streamed jobs, yes, there are real risks.   If every
job completes successfully, you could be fine, but if one stream fails,
you could fail to restart Oracle.  Or you'll restart Oracle and
NetBackup will restart the stream while Oracle is up.  Because you
haven't tripped over the risks does not they aren't there.  

The concept of parent jobs didn't get added until 6.0.

It's fine for you to say that business can accept the risk, but it's
your job to get them to understand the risks - their backups will
occasionally leave the database down, or their backups are not available
for recovery because a stream ran with the database up.

Rarely have I see a business unit "accept the consequences"...






This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-19 Thread WEAVER, Simon (external)
Ed
the "Oracle" job is not a big deal, seeing as the Oracle DBA wants this
method used, rather than using the recommended method and supported one!
Again, they see it as "Cost constraints".
 
I do not see it this way, and although they have been given the options,
its on their own shoulders should it go wrong.
I have come across many companies that accept risks  and in most
cases, suffer as a result !
 
Cannot keep talking to a brick wall if it is not going to listen ..
Simon



From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Tuesday, May 19, 2009 12:38 PM
To: WEAVER, Simon (external)
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams


On Tue, May 19, 2009 at 1:07 AM, WEAVER, Simon (external)
 wrote:



I have used "ST" before, not just for Oracle, but other tasks.
There is no real risk here and yes fully understand why agents are out
there, but if the business accept the risk, then they have to accept the
consequences!


When you have multi-streamed jobs, yes, there are real risks.   If every
job completes successfully, you could be fine, but if one stream fails,
you could fail to restart Oracle.  Or you'll restart Oracle and
NetBackup will restart the stream while Oracle is up.  Because you
haven't tripped over the risks does not they aren't there.  

The concept of parent jobs didn't get added until 6.0.

It's fine for you to say that business can accept the risk, but it's
your job to get them to understand the risks - their backups will
occasionally leave the database down, or their backups are not available
for recovery because a stream ran with the database up.

Rarely have I see a business unit "accept the consequences"...







This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-19 Thread Ed Wilts
On Tue, May 19, 2009 at 1:07 AM, WEAVER, Simon (external) <
simon.wea...@astrium.eads.net> wrote:

>  I have used "ST" before, not just for Oracle, but other tasks. There is
> no real risk here and yes fully understand why agents are out there, but if
> the business accept the risk, then they have to accept the consequences!
>

When you have multi-streamed jobs, yes, there are real risks.   If every job
completes successfully, you could be fine, but if one stream fails, you
could fail to restart Oracle.  Or you'll restart Oracle and NetBackup will
restart the stream while Oracle is up.  Because you haven't tripped over the
risks does not they aren't there.

The concept of parent jobs didn't get added until 6.0.

It's fine for you to say that business can accept the risk, but it's your
job to get them to understand the risks - their backups will occasionally
leave the database down, or their backups are not available for recovery
because a stream ran with the database up.

Rarely have I see a business unit "accept the consequences"...
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-18 Thread WEAVER, Simon (external)
Cheers Mark,
Although the client in question is Oracle, I have other Servers that
need specific tasks to be run but again, the problem I have is they are
all in policies to allow multiple Data Streams.
 
I will take a look at this Parent end scripts to see if they do anything
for me.
 
Simon



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of
Donaldson, Mark
Sent: Monday, May 18, 2009 6:38 PM
To: Dustin Damour; veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams


If you backup the database with only one image, the bpstart/bpend_notify
will work.  
 
However, bpend_notify does run with every image completion, as you've
found so it's no good for multi-image backups.  bpstart_notify also runs
with every image starting up so your preparation script might run more
than once (OK if it checks state when it runs, perhaps, "If NOT down,
then SHUTDOWN").  There's also lots of issues when your jobs run
sequentially rather than in parallel, various race conditions, and all
sorts of other painful stuff.
 
Look at the parent_end_notify & parent_start_notify scripts.  The run at
the beginning of a multiple image job.  Some of the early documentation
said they run on the client - they don't - they run on the master server
only.  If you want to perform a client task, you'll have to "ssh" from
your master to your client.
 
Unfortunately, most solutions for pre- and post- multi-image jobs stink.
 
The classic oracle solution is to use the oracle agent, of course.  Do
you have a license for it?  If so, create an oracle job.  The "include"
list is the batch file than runs the RMAN script.  The one schedule
triggers the RMAN backup to a UBAK (called "Application" in this case)
schedule located in the same policy.  Works great & RMAN takes care of
the heavy lifting.
 
If you don't have an oracle license, you can run a batch job from the
scheduler to shutdown the database, run "bpbackup -w" to a user-backup
schedule with a filelist for the oracle directory(s), then start the
database again from the same batch script.
 
HTH - M



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Dustin
Damour
Sent: Monday, May 18, 2009 10:47 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams



When we had a client with Oracle we used bpstart_notify and bpend_notify
to bring down the Oracle service and then bring it back up. It works
like a charm.

 

Dustin D'Amour

Wireless Switch Technician

Plateau Wireless

575.389.4189 - office

575.309.6372 - cell

dust...@plateautel.com

 

From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER,
Simon (external)
Sent: Monday, May 18, 2009 10:41 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

 

Hi All 
In a NBU 5.1 MP5 environment, I have client machines that require Oracle
to be taken down. 
the client backup is in an existing policy with many other Windows
Systems. 

The policy allows for streams. 

Problem I am seeing: Although for this client, the Services STOP when
the job begins, the post job starts the minute one of the smaller
streams complete.

What I want to do, is allow the post job to run once ALL streams for
this client has completed. I found this document:
http://seer.support.veritas.com/docs/274059.htm
<http://seer.support.veritas.com/docs/274059.htm>  which I have been
running through for tests. Now, I am wondering if I should be calling a
different command for this like session_notify.cmd or bpend_notify.bat?

Essentially, what I want to be sure of, is when the complete Full or
INCR backup completes, the relevant service I stopped earlier is restart
only when everything is completed.

I have got Scheduled Tasks to run for the time being, but any pointers,
would be appreciated. 

Thanks 

Regards 

Simon 

This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England

 


This email (including any attachments) may contain confidential
and/or privileged information or information o

Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-18 Thread WEAVER, Simon (external)
Hi Ed
I have used "ST" before, not just for Oracle, but other tasks. There is
no real risk here and yes fully understand why agents are out there, but
if the business accept the risk, then they have to accept the
consequences!
 
Simon



From: Ed Wilts [mailto:ewi...@ewilts.org] 
Sent: Monday, May 18, 2009 6:48 PM
To: WEAVER, Simon (external)
Cc: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams


On Mon, May 18, 2009 at 11:41 AM, WEAVER, Simon (external)
 wrote:


In a NBU 5.1 MP5 environment, I have client machines that
require Oracle to be taken down. 
the client backup is in an existing policy with many other
Windows Systems. 

The policy allows for streams. 

Problem I am seeing: Although for this client, the Services STOP
when the job begins, the post job starts the minute one of the smaller
streams complete.

What I want to do, is allow the post job to run once ALL streams
for this client has completed. I found this document:
http://seer.support.veritas.com/docs/274059.htm
<http://seer.support.veritas.com/docs/274059.htm>  which I have been
running through for tests. Now, I am wondering if I should be calling a
different command for this like session_notify.cmd or bpend_notify.bat?

Essentially, what I want to be sure of, is when the complete
Full or INCR backup completes, the relevant service I stopped earlier is
restart only when everything is completed.

I have got Scheduled Tasks to run for the time being, but any
pointers, would be appreciated. 

Don't even go there.  This is a very risky situation and if you're not
really, really, really, really careful you will leave your databases
down when the backups are done/failed.

That's why Symantec sells Oracle agents.


.../Ed 

Ed Wilts, RHCE, BCFP, BCSD, SCSP, SCSE 
ewi...@ewilts.org


This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-18 Thread Ed Wilts
On Mon, May 18, 2009 at 11:41 AM, WEAVER, Simon (external) <
simon.wea...@astrium.eads.net> wrote:

>  In a NBU 5.1 MP5 environment, I have client machines that require Oracle
> to be taken down.
> the client backup is in an existing policy with many other Windows Systems.
>
> The policy allows for streams.
>
> Problem I am seeing: Although for this client, the Services STOP when the
> job begins, the post job starts the minute one of the smaller streams
> complete.
>
> What I want to do, is allow the post job to run once ALL streams for this
> client has completed. I found this document: ***
> http://seer.support.veritas.com/docs/274059.htm*which
>  I have been running through for tests. Now, I am wondering if I should
> be calling a different command for this like session_notify.cmd or
> bpend_notify.bat?
>
> Essentially, what I want to be sure of, is when the complete Full or INCR
> backup completes, the relevant service I stopped earlier is restart only
> when everything is completed.
>
> I have got Scheduled Tasks to run for the time being, but any pointers,
> would be appreciated.
>
Don't even go there.  This is a very risky situation and if you're not
really, really, really, really careful you will leave your databases down
when the backups are done/failed.

That's why Symantec sells Oracle agents.

.../Ed

Ed Wilts, RHCE, BCFP, BCSD, SCSP, SCSE
ewi...@ewilts.org
___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-18 Thread Donaldson, Mark
If you backup the database with only one image, the bpstart/bpend_notify
will work.  
 
However, bpend_notify does run with every image completion, as you've
found so it's no good for multi-image backups.  bpstart_notify also runs
with every image starting up so your preparation script might run more
than once (OK if it checks state when it runs, perhaps, "If NOT down,
then SHUTDOWN").  There's also lots of issues when your jobs run
sequentially rather than in parallel, various race conditions, and all
sorts of other painful stuff.
 
Look at the parent_end_notify & parent_start_notify scripts.  The run at
the beginning of a multiple image job.  Some of the early documentation
said they run on the client - they don't - they run on the master server
only.  If you want to perform a client task, you'll have to "ssh" from
your master to your client.
 
Unfortunately, most solutions for pre- and post- multi-image jobs stink.
 
The classic oracle solution is to use the oracle agent, of course.  Do
you have a license for it?  If so, create an oracle job.  The "include"
list is the batch file than runs the RMAN script.  The one schedule
triggers the RMAN backup to a UBAK (called "Application" in this case)
schedule located in the same policy.  Works great & RMAN takes care of
the heavy lifting.
 
If you don't have an oracle license, you can run a batch job from the
scheduler to shutdown the database, run "bpbackup -w" to a user-backup
schedule with a filelist for the oracle directory(s), then start the
database again from the same batch script.
 
HTH - M



From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of Dustin
Damour
Sent: Monday, May 18, 2009 10:47 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams



When we had a client with Oracle we used bpstart_notify and bpend_notify
to bring down the Oracle service and then bring it back up. It works
like a charm.

 

Dustin D'Amour

Wireless Switch Technician

Plateau Wireless

575.389.4189 - office

575.309.6372 - cell

dust...@plateautel.com

 

From: veritas-bu-boun...@mailman.eng.auburn.edu
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER,
Simon (external)
Sent: Monday, May 18, 2009 10:41 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

 

Hi All 
In a NBU 5.1 MP5 environment, I have client machines that require Oracle
to be taken down. 
the client backup is in an existing policy with many other Windows
Systems. 

The policy allows for streams. 

Problem I am seeing: Although for this client, the Services STOP when
the job begins, the post job starts the minute one of the smaller
streams complete.

What I want to do, is allow the post job to run once ALL streams for
this client has completed. I found this document:
http://seer.support.veritas.com/docs/274059.htm
<http://seer.support.veritas.com/docs/274059.htm>  which I have been
running through for tests. Now, I am wondering if I should be calling a
different command for this like session_notify.cmd or bpend_notify.bat?

Essentially, what I want to be sure of, is when the complete Full or
INCR backup completes, the relevant service I stopped earlier is restart
only when everything is completed.

I have got Scheduled Tasks to run for the time being, but any pointers,
would be appreciated. 

Thanks 

Regards 

Simon 

This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England

 

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu


Re: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

2009-05-18 Thread Dustin Damour
When we had a client with Oracle we used bpstart_notify and bpend_notify to 
bring down the Oracle service and then bring it back up. It works like a charm.

 

Dustin D'Amour

Wireless Switch Technician

Plateau Wireless

575.389.4189 - office

575.309.6372 - cell

dust...@plateautel.com

 

From: veritas-bu-boun...@mailman.eng.auburn.edu 
[mailto:veritas-bu-boun...@mailman.eng.auburn.edu] On Behalf Of WEAVER, Simon 
(external)
Sent: Monday, May 18, 2009 10:41 AM
To: veritas-bu@mailman.eng.auburn.edu
Subject: [Veritas-bu] Pre / Post Scripts on Backup Jobs with Streams

 

Hi All 
In a NBU 5.1 MP5 environment, I have client machines that require Oracle to be 
taken down. 
the client backup is in an existing policy with many other Windows Systems. 

The policy allows for streams. 

Problem I am seeing: Although for this client, the Services STOP when the job 
begins, the post job starts the minute one of the smaller streams complete.

What I want to do, is allow the post job to run once ALL streams for this 
client has completed. I found this document: 
http://seer.support.veritas.com/docs/274059.htm 
  which I have been running 
through for tests. Now, I am wondering if I should be calling a different 
command for this like session_notify.cmd or bpend_notify.bat?

Essentially, what I want to be sure of, is when the complete Full or INCR 
backup completes, the relevant service I stopped earlier is restart only when 
everything is completed.

I have got Scheduled Tasks to run for the time being, but any pointers, would 
be appreciated. 

Thanks 

Regards 

Simon 

This email (including any attachments) may contain confidential
and/or privileged information or information otherwise protected
from disclosure. If you are not the intended recipient, please
notify the sender immediately, do not copy this message or any
attachments and do not use it for any purpose or disclose its
content to any person, but delete this message and any attachments
from your system. Astrium disclaims any and all liability if this
email transmission was virus corrupted, altered or falsified.
-o-
Astrium Limited, Registered in England and Wales No. 2449259
Registered Office:
Gunnels Wood Road, Stevenage, Hertfordshire, SG1 2AS, England

 

___
Veritas-bu maillist  -  Veritas-bu@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-bu