Question

qcommand / API to Power On the MediaAgent

  • 9 August 2023
  • 4 replies
  • 88 views

Userlevel 2
Badge +9

I would like to know if there is any qcommand/ API to power on the Media agent 

 

 


4 replies

Userlevel 3
Badge +10

@alligator 

Please try the below qcommand and let us know if this helps:

https://documentation.commvault.com/2022e/expert/setMediaAgentProperty.html

Userlevel 2
Badge +9

@Navneet Singh this is to set the media agent property, 

I couldn’t find an option specifically to power ON or power Off the media agent

I dont want to change/modify media agent properties, rather an action to be performed, 

to power on the media agent and power off without using GUI

Userlevel 3
Badge +10

@alligator 

We don’t have any qscript to do this. Please raise a case so we can check with our dev team internally.

Userlevel 3
Badge +6

Hello @alligator ,

 

There is an API call for it as the cvpysdk has it:

https://github.com/Commvault/cvpysdk/blob/master/cvpysdk/storage.py#L654

 

Regards,

Mike

Reply