09-28-2018 04:34 AM
I have a media server with name bptnp0001ap that must be changed to bqtnp0001ap.
The two names are defined now in the DNS as alias.
I have tried find a way to do that with NBU, if possible avoiding the deletion/recreation method.
I have used this morning the nbemmcmd - addalias. Now the media server has two aliases:
nbemmcmd -machinealias -getaliases -machinename bptnp0001ap.unix.banksys.be -machinetype media
The following aliases were found for the alias: "bptnp0001ap.unix.banksys.be"
But when I look in the database, I see only one media server with name bptnp0001ap;
If I remove this alias (to have only bqtnp0001ap, the new name) , what would happen for the media server ?
Should I use instead nbemmcmd -renamehost ? What are the precaution to take ?
Except the command themselves, I have found no real explanation of the function, effect and precaution to take?
09-28-2018 04:39 AM
With media server it is kinda easy....
Deactivate it. rename and decommission it - where oldserver is oldname -newserver new name... not sure if NBU SW reinstall would not be needed....
nbdecommission -oldserver <hostname>
[-list_ref | -newserver <hostname> [-bulk_media_move] [-file <op_dump_file>]]
[-machinetype media | foreign_media | ndmp | replication_host]
[-M <master_server>] [-reason "<reason>"] [-v]
09-28-2018 04:44 AM
Does this change the information in the EMM database?
We've always done a reinstall to reconfigure Media servers.
But if there is a way to reconfigure without reinstallation, that would be a big help.
09-28-2018 06:48 AM
never tested... but next time you can test - I will test too, but I do not have such opportunietes too many times...
I used to live with NBU lack of hostname change - ones set will live it till it die ;)