09-16-2008 08:11 AM
All,
I'm deploying EV this week, but can't find a copy of the bpstart_notify and bpend_notify. All we have in the goodies folder are Unix versions. Can someone please let me know where to download them? I'm not certain what all I need in there or I'd just write one. thanks much, ken
09-16-2008 08:56 AM
09-16-2008 11:03 AM
Are you referring to the files needed to start and stop the EV services before and after a backup to put them into maintenance mode?
Well, I have the scripts that will stop EV services and flag the databases to read only as well as the script that will restart the services and set them to read/write in the registry once the backup is complete. I think those scripts are called through bpstart_notify and bpend_notify, but i don't know exactly what goes in those batch files. thanks, ken
09-16-2008 11:12 AM
OK well in my environment i have two .cmd files and two .reg files
BPEND.CMD file contents
@echo off
f:
cd\Enterp~1\Backup~1\
NET stop /y "Enterprise Vault Shopping Service"
NET stop /y "Enterprise Vault Storage Service"
sleep.exe 5
NET stop /y "Enterprise Vault Indexing Service"
NET stop /y "Enterprise Vault Task Controller Service"
regedit.exe /s Normal.reg
NET start "Enterprise Vault Shopping Service"
NET start "Enterprise Vault Storage Service"
NET start "Enterprise Vault Indexing Service"
NET start "Enterprise Vault Task Controller Service"
BPStart.cmd
@echo off
f:
cd\Enterp~1\Backup~1\
NET stop /y "Enterprise Vault Shopping Service"
NET stop /y "Enterprise Vault Task Controller Service"
NET stop /y "Enterprise Vault Storage Service"
sleep.exe 5
NET stop /y "Enterprise Vault Indexing Service"
regedit.exe /s readonly.reg
REM - Now these start in "readonly" mode
NET start "Enterprise Vault Indexing Service"
NET start "Enterprise Vault Storage Service"
NET start "Enterprise Vault Shopping Service"
NET start "Enterprise Vault Task Controller Service"
Readonly.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\KVS\Enterprise Vault\Storage]
"EnableArchive"=dword:00000000
"EnableExpiry"=dword:00000000
"EnableFileWatch"=dword:00000000
"EnableReplayIndex"=dword:00000000
"EnableRestore"=dword:00000000
"EnablePSTMigrations"=dword:00000000
Normal.reg
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\KVS\Enterprise Vault\Storage]
"EnableArchive"=dword:00000001
"EnableExpiry"=dword:00000001
"EnableFileWatch"=dword:00000001
"EnableReplayIndex"=dword:00000001
"EnableRestore"=dword:00000001
"EnablePSTMigrations"=dword:00000001
There is also a sleep.exe file
I use this because it takes a few moments for the storage service to stop and start so i have a delay put into my .cmd files to create a pause to allow time for the service to stop before I proceed
The BPStart.cmd is called at the start of the backup job to stop the services and put them in maintenance mode.
The bpend.cmd is called after the backup completes to restart the services back into R/W mode
Is this what you need ?
09-16-2008 01:56 PM
bpstart_notify and bpend_notify scripts are from NetBackup. It is just a batch file to be called from the Client which in this case the EV server.
You can copy the script provided by scanner and just name it as bpstart_notify ,etc.... and it will run the script when netbackup start and finished the backup.
You may find more information for these scripts in netbackup admin guide...
regards,
patrickkuah
09-22-2008 10:05 PM
Additional pointer to add if it's related to NBU...
bpstart_notify.XXX.bat (where XXX is the NBU policy name)
bpend_notify.XXX.bat (where XXX is the NBU policy name)
09-07-2009 01:55 AM
BPEND.CMD file contents
@echo off
f:
cd\Enterp~1\Backup~1\
NET stop /y "Enterprise Vault Shopping Service"
NET stop /y "Enterprise Vault Storage Service"
sleep.exe 5
NET stop /y "Enterprise Vault Indexing Service"
NET stop /y "Enterprise Vault Task Controller Service"
regedit.exe /s Normal.reg
NET start "Enterprise Vault Shopping Service"
NET start "Enterprise Vault Storage Service"
NET start "Enterprise Vault Indexing Service"
NET start "Enterprise Vault Task Controller Service"
09-30-2009 10:23 AM