|Blade ZipKit Package info|
|Name: Snapshot VMware Power State (DEMO)|
|Type: Snapshot Job using "Sync to Master" feature|
|BSA Compatible Version: 8.3.x|
|Created By: Daniel Goetzman|
|Tested against host running: VMware Virtual Center 4.x and 5.x|
|Tested version on: 184.108.40.2062 on Red Hat Linux x86_64 app server|
This ZipKit contains both a NSH Script Job to Change the VMware Power State to power down VM's that are "started" and a simple Snapshot Job used to capture the current "Virtual Machine Power Status" attribute ONLY that can then be used with the "Sync to Master" functionality to restore the exact power state of each VM in a target Virtual Center for recovery from a schedule outage.
The suggested use case is as follows;
- Run the "Snapshot VMware power State" job with the target Virtual Center as the target to capture current VM power state
- Use the "Change VMware Power State" NSH Script job to shutdown all VM's in a target Virtual Center.
- Perform necessary and/or schedule maintenance to VM farm.
- Verify Virtual Center and ESX hosts are fully functional to prepare to recover individual VM Power State from the snapshot.
- Locate the snapshot results and use "Sync to Master" using the SAME Virtual Center as the target!
The "Sync to Master" will set each individual VM power state to the EXACT same value stored in the snapshot. Returning all VM's in the Virtual Center to their original power state!
- Care must be taken to have ONLY the Virtual Machine Power Status attribute "checked" in the Snapshot job definition!
- Performance is largely dependent on the Virtual Center server and VM farm. Time to "Sync to Master" could take several hours!
Instructions for Importing the Package;
- Download the attached zip files.
- Extract the content to a location accessible by the BSA Console
- From the BSA Console, select Depot, right-click and select Import
- Browse to the location of the un-zipped folder
- Check the box for "Automatically map or create export group"
- Click Next twice
- Select a location where to place this new package in BSA (default will keep structure of the package as it was exported)
- Click Finish
- Do this for BOTH zip files to import the complete use case.
- *Note: This is a community-supported package