UCSD Snap Shot Report / Delete Snap Shot Older Then

Version 4
    Task Name
    2 workflows
    Description

    1) Create and send a vCenter snap shot report

    2) Delete snap shots older then a certain time frame

    Prerequisites
    1. Tested on 5.1
    CategoryWorkflow
    ComponentsvSphere 5.x
    User Inputs

    e-mail address

    vCenter

    Output

    Instructions for Regular Workflow Use:

    1. Download the attached .ZIP file below to your computer. *Remember the location of the saved file on your computer.
    2. Unzip the file on your computer. Should end up with a .WFD file.
    3. Log in to UCS Director as a user that has "system-admin" privileges.
    4. Navigate to "Policies-->Orchestration" and click on "Import".
    5. Click "Browse" and navigate to the location on your computer where the .WFDX file resides. Choose the .WFDX file and click "Open".
    6. Click "Upload" and then "OK" once the file upload is completed. Then click "Next".
    7. Click the "Select" button next to "Import Workflows". Click the "Check All" button to check all checkboxes and then the "Select" button.
    8. Click "Submit".
    9. A new folder should appear in "Policies-->Orchestration" that contains the imported workflow. You will now need to update the included tasks with information about the specific environment.

     

     

    Example of report:

     

    Snap Shot 1 Report

     

    VM-IDInstance NameIP AddressPower StatusNumber of SnapshotsSnapshot Size (KB)Last Successful Snapshot Time
    1141UCS Platform Emulator1ON0.0
    1140Solaris11_1(.124)ON0.0
    1134Jump(.140)172.17.32.140OFF0.0
    1136Redhat6OFF0.0
    1139CUSCD-BMA-4.1.0.0192.168.66.3ON0.0
    1142CUCSD-4.1.0.0(new2_155)172.17.32.155ON122676962.3Oct 03, 2014 06:43:04
    1147ucsd4103b-3(backup5-13-2014 4.1.0.3.b .155OFF0.0
    1145Nexus1000V-2(.8)ON0.0
    1148vASAON0.0
    1146Nexus1000V-5.2.1.SK1.1.1(.6)ON0.0
    1152DEV-Infra2-01_Clone172.17.32.200ON0.0
    1172MarkRHEL62Temp4OFF0.0
    1249CUCSD-5.0.0.0-BETA1(.150)172.17.32.150OFF110338535.5Jul 08, 2014 10:58:43
    1293CUCSD-5.0.0.0(.158)172.17.32.158OFF0.0
    1344vCenter55172.17.32.109ON0.0
    1346APIC v101ON0.0
    1348DEV-AR1-01172.17.32.217ON0.0
    1349DEV-BY1-01172.17.32.222ON0.0
    1350DEV-AA1-01172.17.32.224ON0.0
    1351DEV-h12gone-01172.17.32.225OFF0.0
    1352DEV-EP1-01172.17.32.226ON0.0
    1356DEV-Texas1-01172.17.32.231ON0.0