Blade ZipKit - Snapshot and Restore VM Power State

Version 1

    Blade ZipKit Package info
    Name: Snapshot VMware Power State (DEMO)
    Type: Snapshot Job using "Sync to Master" feature
    BSA Compatible Version: 8.3.x
    Version: 1.0
    Created By: Daniel Goetzman
    Tested against host running: VMware Virtual Center 4.x and 5.x
    Tested version on: 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;

    1. Run the "Snapshot VMware power State" job with the target Virtual Center as the target to capture current VM power state
    2. Use the "Change VMware Power State" NSH Script job to shutdown all VM's in a target Virtual Center.
    3. Perform necessary and/or schedule maintenance to VM farm.
    4. Verify Virtual Center and ESX hosts are fully functional to prepare to recover individual VM Power State from the snapshot.
    5. 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!


    1. Care must be taken to have ONLY the Virtual Machine Power Status attribute "checked" in the Snapshot job definition!
    2. 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;

    1. Download the attached zip files.
    2. Extract the content to a location accessible by the BSA Console
    3. From the BSA Console, select Depot, right-click and select Import
    4. Browse to the location of the un-zipped folder
    5. Check the box for "Automatically map or create export group"
    6. Click Next twice
    7. Select a location where to place this new package in BSA (default will keep structure of the package as it was exported)
    8. Click Finish
    9. Do this for BOTH zip files to import the complete use case.


    • *Note: This is a community-supported package