Skip to main content
Question

qcommand / API to Power On the MediaAgent

  • August 9, 2023
  • 4 replies
  • 105 views

Forum|alt.badge.img+9

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

 

 

4 replies

Forum|alt.badge.img+10

@alligator 

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

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


Forum|alt.badge.img+9
  • Author
  • Byte
  • August 9, 2023

@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


Forum|alt.badge.img+10

@alligator 

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


Forum|alt.badge.img+8
  • Byte
  • August 9, 2023

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