media server is down for some patching
Created: 09 Nov 2012 | Updated: 10 Nov 2012 | 5 comments
This issue has been solved. See solution.
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?
Discussion Filed Under:
Comments 5 Comments • Jump to latest comment
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
Both command will update the EMM?
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 ?
I think both command will update EMM.
I can use any one.
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.
Would you like to reply?
Login or Register to post your comment.