Forum Discussion

iaw's avatar
iaw
Level 5
11 years ago

Change client hostname

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
 

  • 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.

  • 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.

4 Replies

  • 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.

  • 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.

  • 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

  • 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.