...
Changes can be made to Guest VMs after recovery by executing pre-scripts and post-scripts as part of runbook execution. Run-book scripts are custom scripts written in Python (.py) that can be created and applied by the customer based on their own specific requirements.
Info |
---|
Learn more about runbooks. |
Steps to Execute Runbook Scripts
Log in to the MSA and create a scripts folder under vme2 (
/var/lib/vme2/
).Upload a pre-script and/or post-script to the scripts folder.
Make the uploaded scripts executable (Use the
chmod +x
option).In the JetStream DR UI (Create Runbook Group workflow) indicate the locations of the scripts and any parameters necessary to run the scripts.
...
Info |
---|
Script execution logs details can be reviewed from the MSA tasks logs. |
...
Collect the sample script from the JetStream Software support team.
The script is written in Python and requires Python pyVmomi SDK module version (8.0.0.1.2) to be installed on the MSA or manually updated.
Info |
---|
Note: The script will not run correctly if the pyVmomi version is lower than (8.0.0.1.2).
|
After placing the script in the correct folder and making it executable, run the help command to view its required parameters.
...