Forum Discussion

The_Viking's avatar
The_Viking
Level 3
14 years ago

how to change FQname with nbemmcmd

Hi folks, i was looking at the output of  nbemmcmd -listhosts -verbose and i see that one of the entry is with the wrong FQname. "Mediaservername"         ClusterName = ""         MachineNa...
  • CY's avatar
    14 years ago

    Hi,

    Please read this KB document:

    http://www.symantec.com/business/support/index?page=content&id=TECH77462

    I think you can do these (replace mediaservername with your Media server's hostname):

    1. To add a new alias (the correct FQDN):
    nbemmcmd -machinealias -addalias -alias mediaservername.newdomain.com  -machinetype media -machinename mediaservername

    2. To change the Primary name to FQDN:
    nbemmcmd -renamehost -machinename mediaservername -newmachinename mediaservername.newdomain.com -machinetype media

    3. To remove the old alias (the wrong FQDN):
    nbemmcmd -machinealias -machinename mediaservername.newdomain.com -machinetype media -deletealias -alias mediaservername.try.me

    4. List aliases to validate your work:
    nbemmcmd -machinealias -getaliases -machinetype media -machinename mediaservername

    5. To change the Primary name back
    nbemmcmd -renamehost -machinename mediaservername.newdomain.com -newmachinename mediaservername -machinetype media

    You can run #4 again to check the end result.