Quantcast
Viewing latest article 17
Browse Latest Browse All 2572

Recovery Plans: Command: SRM script

Hi,

 

I have a question about the action "Command: SRM script" when executing a Recovery Plan.

We have both Windows SRM servers and Linux SRM servers, SRA reasons that are only compatible with Linux and Windows.

 

We have some actions that we need to do after each Recovery Plan.

We've created a Workflow in vRealize Orchestrator for this.

And now we want to start this automated when the Recovery Plan is launched.

 

I want to use curl because this will work on Windows and Linux, and I want to have just 1 command to work on.

 

this is the command that works in cmd.

 

curl --location --request POST "https://ORCHESTRATOR:8281/vco/api/workflows/ab0711a2-19a3-4622-83dc-fcdb5c8943ab/executions/" --header "Content-Type: application/json" --header "Authorization: Basic xxxxxxxxx=" --data-raw "{     \"parameters\": [         {             \"value\": {                 \"string\": {                     \"value\": \"TEXT\"                 }             },             \"type\": \"string\",             \"name\": \"CI_virp_input\",             \"scope\": \"local\"         }     ] }" --insecure

 

But via SRM it is not working.

Image may be NSFW.
Clik here to view.

Viewing latest article 17
Browse Latest Browse All 2572

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>