Skip to main content

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

 

 

@alligator 

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

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


@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


@alligator 

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


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