cancel
Showing results for 
Search instead for 
Did you mean: 

bpstart_notify and bpend_notify

ffg33
Level 2

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

7 REPLIES 7

Liam_Finn1
Level 6
Employee Accredited Certified
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?

ffg33
Level 2

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

Liam_Finn1
Level 6
Employee Accredited Certified

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 ?

 

 

patrickkuah
Level 6

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

Boon_Cheng_Lee
Level 3

Smiley Happy 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)

K_G
Level 6
Partner Accredited
 hi,
scanner001- these scripts will store in where?

i prepared bpstart and bpend scripts and 2 reg files.
i have some questions;
*where you past these code in standart bpend notify script?(before the if statement or this is not importat that where you past in.) it will be locate on c:\windows\system32 or will be in goodies on NB folder?what is the path?
*what is
 f:
cd\Enterp~1\Backup~1\

*i have reg files ok but ,you locate the reg files on c drive?
*what is sleep.exe line?it is initially value?because i have no sleep.exe file.


plese give me more details.
thanks...

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"

MichelZ
Level 6
Partner Accredited Certified
Do you need any more info here?
Please mark a post as a solution if it fits your needs.

Cheers

cloudficient - EV Migration, creators of EVComplete.