03-11-2014 11:12 AM
Looking for a way to install the Windows Agent to a machine that will be imaged so that NetBU will pick up the new host name of the machine after it's been renamed.
When we deploy from image, the source machine's host name is retained in NetBU and we have to manually correct it.
tia
Solved! Go to Solution.
03-11-2014 11:59 AM
Hello,
Your best option is when your deploying your image, don't have the NetBackup client installed on it. Use the Master Server to push a NetBackup client to a server you want to backup. Else, you could try to script something like Mark mentioned
03-11-2014 11:52 AM
That is not an easy one ...
What I have seen is people use the Run key in the registry for things like that.
So in HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ you add a new String Value that points to a batch file that is included in the image.
This batch file then runs registry edits to set the appropriate keys using the computer name variable- something like:
reg add "HKLM\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config" /v Browser /t REG_SZ /d %COMPUTERNAME% /f
reg add "HKLM\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config" /v Client_Name /t REG_SZ /d %COMPUTERNAME% /f
This runs every time the computer boots - to be sure you could also add a bpdown and bpup command after wards in the batch file
Hope this helps
03-11-2014 11:59 AM
That will be a registry setting change.
Netbackup client name is stored in :
HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config
Pls note both the client name and browse name must be changed and the Netbackup service re-started.
03-11-2014 11:59 AM
Hello,
Your best option is when your deploying your image, don't have the NetBackup client installed on it. Use the Master Server to push a NetBackup client to a server you want to backup. Else, you could try to script something like Mark mentioned
03-11-2014 12:33 PM
SymTerry - agreed. thanks again.