11-09-2012 12:13 PM
Hi ALL.
One of my media server is down for patching.
I need to make this offline.
I came for below conclusion:
Deactivate the media server on the Master server by running
vmoprcmd -deactive_host -h <media_servername>
nbemmcmd -updatehost -machinename <media_servername> -machinestateop set_admin_pause -machinetype media -masterserver <master_server>
But i just wanna know what all both command will do?
Is command 1 enough for making media server offline?
Why command 2?
Solved! Go to Solution.
11-10-2012 12:35 AM
Correct.
I will agree, it is not too obvious that the vmoprcmd command updates EMM, but if you happen to know that the command :
nbemmcmd -listhosts -verbose
shows the state of the media server, then you can see that this setting is held in EMM - therefore you can come to the conclusion that the vmoprcmd command, also updates EMM.
11-09-2012 02:58 PM
They will do exactly the same thing.
Sometimes in NBU there is more than one way to do something. This is one of them, you can use either the nbemmcmd command (which needs multiple options) of the more simple vmoprcmd command.
This can also be done in the GUI. Under 'Media and Device manager' > 'devices' ? 'Media servers' you can right click the name of the media server and select 'activate' or 'deactivate'.
Martin
11-09-2012 10:47 PM
Both command will update the EMM?
11-09-2012 10:58 PM
If they do the same thing then what do you think the answer is ? GIven a big clue, that one of the uses the nbemmcmd command ?
11-09-2012 11:17 PM
I think both command will update EMM.
I can use any one.
11-10-2012 12:35 AM
Correct.
I will agree, it is not too obvious that the vmoprcmd command updates EMM, but if you happen to know that the command :
nbemmcmd -listhosts -verbose
shows the state of the media server, then you can see that this setting is held in EMM - therefore you can come to the conclusion that the vmoprcmd command, also updates EMM.