Video Screencast Help

media server is down for some patching

Created: 09 Nov 2012 • Updated: 10 Nov 2012 | 5 comments
This issue has been solved. See solution.


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?

Comments 5 CommentsJump to latest comment

mph999's picture

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


Regards,  Martin
Setting Logs in NetBackup:
mph999's picture

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 ?

Regards,  Martin
Setting Logs in NetBackup:
Andy2345's picture

I think both command will update EMM.

I can use any one.

mph999's picture


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.

Regards,  Martin
Setting Logs in NetBackup: