mauog
15 years agoLevel 3
bpstart/bpend_notify script and multistreaming (About Document ID: 323721)
Hi all,
I read the Document ID: 323721 (seer.entsupport.symantec.com/docs/323721.htm) which gives some hints about how to build bpstar_notify and bpend_notify script which manage multistreaming.
I have some doubts about the sentence:
"the bpstart_notify could create touch files for these backup streams that are being generated when the client backup is running. The STREAM_NUMBER, STREAM_COUNT, and STREAM_PID can be used as environment variables for these touch file names."
My understand is that bpstart_notify should create a file while it starts (using unix touch command). This file should be then characterised using STREAM_NUMBER, STREAM_COUNT and STREAM_PID.
What I didn't get is what STREAM_NUMBER, STREAM_COUNT and STREAM_PID are. Are they parameter which NetBackup pass to the bpstart_notify? Looking at bpstart_notify template located in /usr/open/netbackup/bin/goodies it seemed there are only 4 parameters passed by netbackup (CLIENTNAME POLICYNAME SCHEDNAME SCHEDTYPE).
So where and how can I get CLIENTNAME POLICYNAME SCHEDNAME SCHEDTYPE?
Please could you help me to understand how to create these scripts?
Thank You
Regards
Mauro
I read the Document ID: 323721 (seer.entsupport.symantec.com/docs/323721.htm) which gives some hints about how to build bpstar_notify and bpend_notify script which manage multistreaming.
I have some doubts about the sentence:
"the bpstart_notify could create touch files for these backup streams that are being generated when the client backup is running. The STREAM_NUMBER, STREAM_COUNT, and STREAM_PID can be used as environment variables for these touch file names."
My understand is that bpstart_notify should create a file while it starts (using unix touch command). This file should be then characterised using STREAM_NUMBER, STREAM_COUNT and STREAM_PID.
What I didn't get is what STREAM_NUMBER, STREAM_COUNT and STREAM_PID are. Are they parameter which NetBackup pass to the bpstart_notify? Looking at bpstart_notify template located in /usr/open/netbackup/bin/goodies it seemed there are only 4 parameters passed by netbackup (CLIENTNAME POLICYNAME SCHEDNAME SCHEDTYPE).
So where and how can I get CLIENTNAME POLICYNAME SCHEDNAME SCHEDTYPE?
Please could you help me to understand how to create these scripts?
Thank You
Regards
Mauro
- STREAM_NUMBER, STREAM_COUNT and STREAM_PID are environment variables and not parameters to the script
See this old thread for example
www-secure.symantec.com/connect/forums/bpstartnotify-script