Executing a Deployment Plan Remotely
You can execute a deployment plan created using Deployment Manager using a command line tool. Both the source and target sites must be running and online in Deployment Manager to follow the instructions in this section.
Note: If you want to execute a deployment plan that you have previously exported as described in Exporting a Deployment Plan , follow the instructions in Importing and Executing a Deployment Plan .
To run a deployment plan from the command line
|
3.
|
Click the General tab. |
|
4.
|
Click Copy To Clipboard. |
Deployment Manager copies a plan execution command like the following to the clipboard:
curl -d "/targetSiteName/sourceSiteName/planName" -u "username:password" -X POST "http://localhost:9400/rest/deploy/executePlan" -H "Content-Type:text/plain"
|
5.
|
Open a command line tool. |
|
6.
|
Paste the text that you copied from Deployment Manager into your command line tool. |
|
7.
|
In the pasted text, replace “username” and “password” with your user name and password. |
|
9.
|
In Deployment Manager, click the Execution Log for the plan to verify that instructions from the deployment plan were implemented as expected. |