cancel
Showing results for 
Search instead for 
Did you mean: 

Change client hostname

iaw
Level 5

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
 

2 ACCEPTED SOLUTIONS

Accepted Solutions

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

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.

View solution in original post

Marianne
Level 6
Partner    VIP    Accredited Certified

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.

View solution in original post

4 REPLIES 4

RamNagalla
Moderator
Moderator
Partner    VIP    Certified

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.

Marianne
Level 6
Partner    VIP    Accredited Certified

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.

iaw
Level 5

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
Level 6
Partner    VIP    Accredited Certified

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.