Video Screencast Help
Symantec to Separate Into Two Focused, Industry-Leading Technology Companies. Learn more.

Change client hostname

Created: 07 Sep 2013 • Updated: 13 Sep 2013 | 4 comments
iaw's picture
This issue has been solved. See solution.

Hi,

I have linux master server and I have installed windows client backup with hostname = winhost1
How to change the client hostname to = winhost1a

Thanks,
IAW
 

Operating Systems:

Comments 4 CommentsJump to latest comment

RamNagalla's picture

would you like to change the client name for the OS or in netbackup?

if in OS check your System admin would need to do that..

if in netbackup go to below location in client registory

HKEY_LOCAL_MACHINE\Software\VERITAS\NetBackup\CurrentVersion\Config\Client_Name 

and add the user name that you would like to use.

make sure the same name is resolving in the Master server and media servers

also make sure the same name is used in the backup policy for that client.

SOLUTION
Marianne's picture

After you have changed Client_Name and the client name in the policy, create a symbolic link on the master to link old name to new name:
cd /usr/openv/netbackup/db/images
ln -s winhost1 winhost1a

This will ensure all images are written to same folder and you can use old name or new name for restores.

If you don't create sym-link, you will always have to remember which name to use (before or after name change) when a restore is needed.

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

SOLUTION
iaw's picture

Great help.

One more thing, in linux, I just need to change client hostname in bp.conf right?
Do I need to restart netbackup service in client after changes?

Thanks

Marianne's picture

Correct - change CLIENT_NAME in bp.conf.
No need to restart anything.

The assumption is that client was rebooted when hostname was changed, right?

Remember to test hostname lookup at OS level between master and client as well as all media servers that can backup this client.

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