Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

NetBackup 7.1 - Inclusion in OS Images

Created: 06 Dec 2011 | 12 comments
shocko's picture
0 0 Votes
Login to vote

Hi guys,

I'm using the client v 7.1 on most of my Windows servers. I deploy servers from images including the client. Are there any specific steps required to include the client software in these images i.e. do I need to stop the services and delete any registry keys or files? I notice the client name is stored in the registry alright.

Thanks in advance.smiley

Comments

Kevin Good's picture
06
Dec
2011
0 Votes 0
Login to vote

Ensure that the SREVER list is good

HKLM\Software\Veritas\NetBackup\CurrentVersion\Config

 

As long as your master server, and any media servers are in that list, you shouldn't have any issues.

Backups are IT-101 (Do Backups) Doing Backups well is an art form. Nobody cares about getting their data backed up... They only care that you can restore it for them!

Mark_Solutions's picture
06
Dec
2011
0 Votes 0
Login to vote

As well as the Master and

As well as the Master and Media Servers you are right - the client name must be changed when you deploy an image - after which do a service re-start to register it

After that you should be OK

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.

shocko's picture
06
Dec
2011
0 Votes 0
Login to vote

Thanks guys, So is the

Thanks guys,

So is the following process sound:

  1. Install the client components and specify the master/media servers
  2. Stop all client services
  3. Delete the registry key "HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\Client_Name" ?
  4. Capture the image

I assume when the service is restarted it will re-populate that registry key with the new client name of the deployed system? Also, i notice the client name appears in the following key also

  • HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\NetBackup\CurrentVersion\Config\Browser

Thanks in advance.

J.Hinchcliffe's picture
06
Dec
2011
0 Votes 0
Login to vote

no need to mess with the registry

on the local client server after you make the new server - start the Backup Archive and Recovery gui (BAR)

go to File - netbackup client properites - and change the Client name - and say ok.

I don't have to know how to spell....I work on Unix.
NetBackup 7.0.1 - AIX & Windows

Marianne van den Berg's picture
06
Dec
2011
0 Votes 0
Login to vote

The client name will not

The client name will not automatically populate - you need to enter it manually.

Supporting Storage Foundation and VCS on Unix and Windows as well as NetBackup on Unix and Windows.
Handy NBU links

shocko's picture
07
Dec
2011
0 Votes 0
Login to vote

Thanks for the comments

Thanks for the comments guys.

Unfortunately, I need this to be a totally automated build with no manual intervention. Is this possible?

Mark_Solutions's picture
07
Dec
2011
0 Votes 0
Login to vote

Use the RunOnce key in the

Use the RunOnce key in the registry to run a batch file that adds the Client_Name key using the %computername% variable.

Then, the first time the new build boots it will run the file and populate the registry.

Obviously if you do other things first then it needs running slightly later.

You could even use the Run key so that it makes sure it is correct everytime - and maybe the last stage of your autoated build is to remove that Run key

A couple of options that i hope will help

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.

shocko's picture
07
Dec
2011
0 Votes 0
Login to vote

Thanks Mark_Solutions, I'll

Thanks Mark_Solutions,

I'll give it a whirl.

 

PS: Does this mean that once you have the client installed on a server, you cannot rename that server as the cleint will appear in the console with the old name?

Mark_Solutions's picture
07
Dec
2011
0 Votes 0
Login to vote

It can cause issues - if you

It can cause issues - if you rename a server it is best to rename the NBU client as well - but then just remember that old restores will be based on the old server name.

I did see a case where a server was renamed and client name was not, DNS was also wrong and they ended up backing up the wrong server for a while - very odd but some how it did it.

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.

shocko's picture
07
Dec
2011
0 Votes 0
Login to vote

Hmm, I suprised they dont use

Hmm, I suprised they dont use a UUID based on hardware components like other software.

Mark_Solutions's picture
07
Dec
2011
0 Votes 0
Login to vote

Of course if you leave your

Of course if you leave your script in the RUN key it will always keep the client name up to date, even if the server is renamed.

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.

Mark_Solutions's picture
07
Dec
2011
0 Votes 0
Login to vote

I think you may also need the

I think you may also need the Browser key so check what your current client have

To make life simple you need 1 file - nbu.bat

Drop it in the System32 directory.

In HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ (or RunOnce)

put in a REG_SZ with a value of nbu.bat

nbu.bat contains:

echo Windows Registry Editor Version 5.00>nbu.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Veritas\NetBackup\CurrentVersion\Config]>>nbu.reg
echo "Browser"="%COMPUTERNAME%">>nbu.reg
echo "Client_Name"="%COMPUTERNAME%">>nbu.reg
regedit -s nbu.reg

Hope this helps

#EDIT#

Tag the following at the end of the .bat file:

net stop "NetBackup Client Service"

net start "NetBackup Client Service"

Authorised Symantec Consultant

Don't forget to give a "Thumbs Up" or mark as "Solution" if someones advice has helped you.