cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1473
Views
0
Helpful
1
Comments
hherring
Cisco Employee
Cisco Employee
Task NameAdd Disk to VM using Best Datastore
Description

Prerequisites

Tested on 5.4

CategoryWorkflow
ComponentsvSphere 5.x
User InputsVM, DiskType, DiskSizeGb


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 .WFD file resides. Choose the .WFD 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.

Workflow Name:

WF-name.png

Workflow:

WF-flow.png

Input Variables:

WF-inputs.png

Importing with Custom Tasks:

WF-import.png

Execution Log:

Service Request ID: 466

Workflow Inputs:

- Disk Size (GB)

- Select Disk Type

- Select VM

Jun 20, 2016 22:47:37 UTC Request submitted

Jun 20, 2016 22:47:40 UTC Executing workflow item number 1

Jun 20, 2016 22:47:40 UTC Completed workflow item number 0, with status Completed

Jun 20, 2016 22:47:47 UTC Executing workflow item number 2

Jun 20, 2016 22:47:47 UTC Trigger context executeWorkFlowStep called

Jun 20, 2016 22:47:47 UTC Executing custom action Add Disk to VM using Best Datastore (custom_getVMSummary)

Jun 20, 2016 22:47:47 UTC Executing custom action Add Disk to VM using Best Datastore (custom_getVMSummary)

Jun 20, 2016 22:47:47 UTC Executing custom script for getVMSummary

Jun 20, 2016 22:47:47 UTC vmId = 249

Jun 20, 2016 22:47:47 UTC Overview_VM_ID = 249

Jun 20, 2016 22:47:47 UTC Overview_Instance_Name = nsstest2

Jun 20, 2016 22:47:47 UTC Overview_Status = ON (poweredOn)

Jun 20, 2016 22:47:47 UTC Overview_IP_Address = 192.168.9.177

Jun 20, 2016 22:47:47 UTC Overview_Hostname = NSSTEST2

Jun 20, 2016 22:47:47 UTC Overview_Image_ID = nsstest2

Jun 20, 2016 22:47:47 UTC Overview_Cloud_Name = bbg-vc

Jun 20, 2016 22:47:47 UTC Overview_Cloud_Type = VMWare

Jun 20, 2016 22:47:47 UTC Ownership_Group = Default Group

Jun 20, 2016 22:47:47 UTC Ownership_vDC = bbg-nss-vdc

Jun 20, 2016 22:47:47 UTC Ownership_Category = Generic VM

Jun 20, 2016 22:47:47 UTC Ownership_Service_Request_ID = 169

Jun 20, 2016 22:47:47 UTC Ownership_Label = okay to delete

Jun 20, 2016 22:47:47 UTC Ownership_Provisioned_Time = Mar 24, 2016 17:57:06 UTC

Jun 20, 2016 22:47:47 UTC Ownership_Scheduled_Termination_Time =

Jun 20, 2016 22:47:47 UTC Overview_Host_Node = 192.168.10.50

Jun 20, 2016 22:47:47 UTC Network_Port_Group = Production 192.168.40.0

Jun 20, 2016 22:47:47 UTC Network_VLAN_ID = 0

Jun 20, 2016 22:47:47 UTC Network_No_of_vNics = 1

Jun 20, 2016 22:47:47 UTC Network_vNic_Mac_Address = 00:50:56:ba:8c:e2

Jun 20, 2016 22:47:47 UTC Network_vNic_Device_Config_Id = 4000

Jun 20, 2016 22:47:47 UTC Overview_Boot_Time = May 04, 2016 00:18:23 UTC

Jun 20, 2016 22:47:47 UTC Overview_Config_Name = nsstest2

Jun 20, 2016 22:47:47 UTC Overview_VM_Version = 7

Jun 20, 2016 22:47:47 UTC Resources_Resource_Pool = Resources

Jun 20, 2016 22:47:47 UTC Resources_Num_Virtual_CPUs = 1

Jun 20, 2016 22:47:47 UTC Resources_CPU_Reserved_MHz = 0

Jun 20, 2016 22:47:47 UTC Resources_CPU_Limit_MHz = -1

Jun 20, 2016 22:47:47 UTC Resources_CPU_Overhead_Limit_MHz = 0

Jun 20, 2016 22:47:47 UTC Resources_CPU_Shares = 1000

Jun 20, 2016 22:47:47 UTC Resources_Memory_MB = 1024

Jun 20, 2016 22:47:47 UTC Resources_Memory_Reserved_MB = 0

Jun 20, 2016 22:47:47 UTC Resources_Memory_Limit_MB = 0

Jun 20, 2016 22:47:47 UTC Resources_Memory_Overhead_Limit_MB = 49

Jun 20, 2016 22:47:47 UTC Resources_Memory_Shares = 40960

Jun 20, 2016 22:47:47 UTC Storage_Total_Provisioned_GB = 52.120000000000005

Jun 20, 2016 22:47:47 UTC Storage_Committed_GB = 14.03

Jun 20, 2016 22:47:47 UTC Storage_Uncommitted_GB = 38.09

Jun 20, 2016 22:47:47 UTC Storage_Non_shared_GB = 14.03

Jun 20, 2016 22:47:47 UTC Storage_Data_Store_Names = mgmt data store, prod datastore 1, prod datastore 2

Jun 20, 2016 22:47:47 UTC Storage_VM_Path = [prod datastore 1] nsstest2/nsstest2.vmx

Jun 20, 2016 22:47:47 UTC Guest_Information_Guest_OS = Microsoft Windows Server 2008 R2 (64-bit)

Jun 20, 2016 22:47:47 UTC Guest_Information_Guest_State = running

Jun 20, 2016 22:47:47 UTC Guest_Information_Tools_Status = guestToolsRunning

Jun 20, 2016 22:47:47 UTC Guest_Information_Tools_Version = 9344

Jun 20, 2016 22:47:47 UTC Options_Default_PowerOff_Type = soft

Jun 20, 2016 22:47:47 UTC Processing output: Overview_VM_ID

Jun 20, 2016 22:47:47 UTC Processing output: Overview_Instance_Name

Jun 20, 2016 22:47:47 UTC Processing output: Overview_Status

Jun 20, 2016 22:47:47 UTC Processing output: Overview_IP_Address

Jun 20, 2016 22:47:47 UTC Processing output: Overview_Hostname

Jun 20, 2016 22:47:47 UTC Processing output: Overview_Image_ID

Jun 20, 2016 22:47:47 UTC Processing output: Overview_Cloud_Name

Jun 20, 2016 22:47:47 UTC Processing output: Overview_Cloud_Type

Jun 20, 2016 22:47:47 UTC Processing output: Ownership_Group

Jun 20, 2016 22:47:48 UTC Processing output: Ownership_vDC

Jun 20, 2016 22:47:48 UTC Processing output: Ownership_Category

Jun 20, 2016 22:47:48 UTC Processing output: Ownership_Service_Request_ID

Jun 20, 2016 22:47:48 UTC Processing output: Ownership_Label

Jun 20, 2016 22:47:48 UTC Processing output: Ownership_Provisioned_Time

Jun 20, 2016 22:47:48 UTC Processing output: Ownership_Scheduled_Termination_Time

Jun 20, 2016 22:47:48 UTC Processing output: Overview_Host_Node

Jun 20, 2016 22:47:48 UTC Processing output: Network_Port_Group

Jun 20, 2016 22:47:48 UTC Processing output: Network_VLAN_ID

Jun 20, 2016 22:47:48 UTC Processing output: Network_No_of_vNics

Jun 20, 2016 22:47:48 UTC Processing output: Network_vNic_Mac_Address

Jun 20, 2016 22:47:48 UTC Processing output: Network_vNic_Device_Config_Id

Jun 20, 2016 22:47:48 UTC Processing output: Overview_Boot_Time

Jun 20, 2016 22:47:48 UTC Processing output: Overview_Config_Name

Jun 20, 2016 22:47:48 UTC Processing output: Overview_VM_Version

Jun 20, 2016 22:47:48 UTC Processing output: Resources_Resource_Pool

Jun 20, 2016 22:47:48 UTC Processing output: Resources_Num_Virtual_CPUs

Jun 20, 2016 22:47:48 UTC Processing output: Resources_CPU_Reserved_MHz

Jun 20, 2016 22:47:49 UTC Processing output: Resources_CPU_Limit_MHz

Jun 20, 2016 22:47:49 UTC Processing output: Resources_CPU_Overhead_Limit_MHz

Jun 20, 2016 22:47:49 UTC Processing output: Resources_CPU_Shares

Jun 20, 2016 22:47:49 UTC Processing output: Resources_Memory_MB

Jun 20, 2016 22:47:49 UTC Processing output: Resources_Memory_Reserved_MB

Jun 20, 2016 22:47:49 UTC Processing output: Resources_Memory_Limit_MB

Jun 20, 2016 22:47:49 UTC Processing output: Resources_Memory_Overhead_Limit_MB

Jun 20, 2016 22:47:49 UTC Processing output: Resources_Memory_Shares

Jun 20, 2016 22:47:49 UTC Processing output: Storage_Total_Provisioned_GB

Jun 20, 2016 22:47:49 UTC Processing output: Storage_Committed_GB

Jun 20, 2016 22:47:49 UTC Processing output: Storage_Uncommitted_GB

Jun 20, 2016 22:47:49 UTC Processing output: Storage_Non_shared_GB

Jun 20, 2016 22:47:49 UTC Processing output: Storage_Data_Store_Names

Jun 20, 2016 22:47:49 UTC Processing output: Storage_VM_Path

Jun 20, 2016 22:47:49 UTC Processing output: Guest_Information_Guest_OS

Jun 20, 2016 22:47:49 UTC Processing output: Guest_Information_Guest_State

Jun 20, 2016 22:47:49 UTC Processing output: Guest_Information_Tools_Status

Jun 20, 2016 22:47:49 UTC Processing output: Guest_Information_Tools_Version

Jun 20, 2016 22:47:50 UTC Processing output: Options_Default_PowerOff_Type

Jun 20, 2016 22:47:50 UTC Task #1 (Add Disk to VM using Best Datastore (custom_getVMSummary)) completed successfully in 3 seconds

Jun 20, 2016 22:47:50 UTC Input/Output values for Task #1 (Add Disk to VM using Best Datastore (custom_getVMSummary)):

Jun 20, 2016 22:47:50 UTC [Mapped Input: VM_Id = 249]

Jun 20, 2016 22:47:50 UTC [Output: Overview_VM_ID = 249]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Instance_Name = nsstest2]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Status = ON (poweredOn)]

Jun 20, 2016 22:47:50 UTC [Output: Overview_IP_Address = 192.168.9.177]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Hostname = NSSTEST2]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Image_ID = nsstest2]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Cloud_Name = bbg-vc]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Cloud_Type = VMWare]

Jun 20, 2016 22:47:50 UTC [Output: Ownership_Group = Default Group]

Jun 20, 2016 22:47:50 UTC [Output: Ownership_vDC = bbg-nss-vdc]

Jun 20, 2016 22:47:50 UTC [Output: Ownership_Category = Generic VM]

Jun 20, 2016 22:47:50 UTC [Output: Ownership_Service_Request_ID = 169]

Jun 20, 2016 22:47:50 UTC [Output: Ownership_Label = okay to delete]

Jun 20, 2016 22:47:50 UTC [Output: Ownership_Provisioned_Time = Mar 24, 2016 17:57:06 UTC]

Jun 20, 2016 22:47:50 UTC [Output: Ownership_Scheduled_Termination_Time = ]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Host_Node = 192.168.10.50]

Jun 20, 2016 22:47:50 UTC [Output: Network_Port_Group = Production 192.168.40.0]

Jun 20, 2016 22:47:50 UTC [Output: Network_VLAN_ID = 0]

Jun 20, 2016 22:47:50 UTC [Output: Network_No_of_vNics = 1]

Jun 20, 2016 22:47:50 UTC [Output: Network_vNic_Mac_Address = 00:50:56:ba:8c:e2]

Jun 20, 2016 22:47:50 UTC [Output: Network_vNic_Device_Config_Id = 4000]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Boot_Time = May 04, 2016 00:18:23 UTC]

Jun 20, 2016 22:47:50 UTC [Output: Overview_Config_Name = nsstest2]

Jun 20, 2016 22:47:50 UTC [Output: Overview_VM_Version = 7]

Jun 20, 2016 22:47:50 UTC [Output: Resources_Resource_Pool = Resources]

Jun 20, 2016 22:47:50 UTC [Output: Resources_Num_Virtual_CPUs = 1]

Jun 20, 2016 22:47:50 UTC [Output: Resources_CPU_Reserved_MHz = 0]

Jun 20, 2016 22:47:50 UTC [Output: Resources_CPU_Limit_MHz = -1]

Jun 20, 2016 22:47:50 UTC [Output: Resources_CPU_Overhead_Limit_MHz = 0]

Jun 20, 2016 22:47:50 UTC [Output: Resources_CPU_Shares = 1000]

Jun 20, 2016 22:47:50 UTC [Output: Resources_Memory_MB = 1024]

Jun 20, 2016 22:47:50 UTC [Output: Resources_Memory_Reserved_MB = 0]

Jun 20, 2016 22:47:50 UTC [Output: Resources_Memory_Limit_MB = 0]

Jun 20, 2016 22:47:50 UTC [Output: Resources_Memory_Overhead_Limit_MB = 49]

Jun 20, 2016 22:47:50 UTC [Output: Resources_Memory_Shares = 40960]

Jun 20, 2016 22:47:50 UTC [Output: Storage_Total_Provisioned_GB = 52.120000000000005]

Jun 20, 2016 22:47:50 UTC [Output: Storage_Committed_GB = 14.03]

Jun 20, 2016 22:47:50 UTC [Output: Storage_Uncommitted_GB = 38.09]

Jun 20, 2016 22:47:50 UTC [Output: Storage_Non_shared_GB = 14.03]

Jun 20, 2016 22:47:50 UTC [Output: Storage_Data_Store_Names = mgmt data store, prod datastore 1, prod datastore 2]

Jun 20, 2016 22:47:50 UTC [Output: Storage_VM_Path = [prod datastore 1] nsstest2/nsstest2.vmx]

Jun 20, 2016 22:47:50 UTC [Output: Guest_Information_Guest_OS = Microsoft Windows Server 2008 R2 (64-bit)]

Jun 20, 2016 22:47:50 UTC [Output: Guest_Information_Guest_State = running]

Jun 20, 2016 22:47:50 UTC [Output: Guest_Information_Tools_Status = guestToolsRunning]

Jun 20, 2016 22:47:50 UTC [Output: Guest_Information_Tools_Version = 9344]

Jun 20, 2016 22:47:50 UTC [Output: Options_Default_PowerOff_Type = soft]

Jun 20, 2016 22:47:50 UTC Completed workflow item number 1, with status Completed

Jun 20, 2016 22:47:56 UTC Executing workflow item number 3

Jun 20, 2016 22:47:56 UTC Trigger context executeWorkFlowStep called

Jun 20, 2016 22:47:56 UTC Executing custom action Add Disk to VM using Best Datastore (custom_VARIABLE_CONVERTER_DISKSIZE)

Jun 20, 2016 22:47:56 UTC Executing custom action Add Disk to VM using Best Datastore (custom_VARIABLE_CONVERTER_DISKSIZE)

Jun 20, 2016 22:47:56 UTC Executing custom script for VARIABLE_CONVERTER_DISKSIZE

Jun 20, 2016 22:47:56 UTC a1 ; 1

Jun 20, 2016 22:47:56 UTC Processing output: A_Prime

Jun 20, 2016 22:47:56 UTC Task #2 (Add Disk to VM using Best Datastore (custom_VARIABLE_CONVERTER_DISKSIZE)) completed successfully in 0 seconds

Jun 20, 2016 22:47:56 UTC Input/Output values for Task #2 (Add Disk to VM using Best Datastore (custom_VARIABLE_CONVERTER_DISKSIZE)):

Jun 20, 2016 22:47:56 UTC [Mapped Input: A = 1]

Jun 20, 2016 22:47:56 UTC [Output: A_Prime = 1]

Jun 20, 2016 22:47:56 UTC Completed workflow item number 2, with status Completed

Jun 20, 2016 22:48:02 UTC Executing workflow item number 4

Jun 20, 2016 22:48:02 UTC Trigger context executeWorkFlowStep called

Jun 20, 2016 22:48:02 UTC Executing custom action Add Disk to VM using Best Datastore (custom_NSS Get Best Datastore)

Jun 20, 2016 22:48:02 UTC Executing custom action Add Disk to VM using Best Datastore (custom_NSS Get Best Datastore)

Jun 20, 2016 22:48:02 UTC Executing custom script for NSS Get Best Datastore

Jun 20, 2016 22:48:02 UTC cloudName = bbg-vc

Jun 20, 2016 22:48:02 UTC diskSize = 1

Jun 20, 2016 22:48:02 UTC vmDatastoreNames = mgmt data store, prod datastore 1, prod datastore 2

Jun 20, 2016 22:48:02 UTC vmDatastoreNameArray = mgmt data store,prod datastore 1,prod datastore 2

Jun 20, 2016 22:48:03 UTC Total Datastores found: 54

Jun 20, 2016 22:48:03 UTC Datastore datastore1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore datastore1 (1) skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore netapp-vmfs skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore netapp-vmfs-2 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore local_hollywood_scality skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore netapp skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore local_madison_scality skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore netapp skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore netapp skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore netapp skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore netapp skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore local_Portland_scality skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore local_blacksburg_scality skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore local_manhattan_scality skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore aci-vmfs-1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore aci-vmfs-2 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore datastore1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore datastore1 (1) skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore NFS-test skipped because our VM isn't using it

Jun 20, 2016 22:48:03 UTC Found VM datastore prod datastore 2 in report

Jun 20, 2016 22:48:03 UTC Added the following Datastore: prod datastore 2::500.0::304.861328125::67.74362

Jun 20, 2016 22:48:03 UTC Found VM datastore mgmt data store in report

Jun 20, 2016 22:48:03 UTC Added the following Datastore: mgmt data store::500.0::304.26953125::26.25712000000001

Jun 20, 2016 22:48:03 UTC Datastore esx1-boot skipped because our VM isn't using it

Jun 20, 2016 22:48:03 UTC Datastore esx2-boot skipped because our VM isn't using it

Jun 20, 2016 22:48:03 UTC Datastore datastore1 skipped because our VM isn't using it

Jun 20, 2016 22:48:03 UTC Found VM datastore prod datastore 1 in report

Jun 20, 2016 22:48:03 UTC Added the following Datastore: prod datastore 1::500.0::294.5830078125::-24.07586

Jun 20, 2016 22:48:03 UTC Datastore esx0-boot skipped because our VM isn't using it

Jun 20, 2016 22:48:03 UTC Datastore templates and iso skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore SSD-FC skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore C210-local-vmfs skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore C210-FC-VMFS skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore c210-local-vmfs-2 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore tah-vmfs-fc-1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore prod-boot-3 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore datastore1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore 144.21 sanboot skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore tah-templates skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore tah-vmfc-fc-2 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore Nimble03 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore prod-boot-2 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore prod-fc-sas-3 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore prod-fc-sas-2 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore Nimble01 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore prod-boot-1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore local_33 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore templates and iso skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore vm_swing skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore Nimble02 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore vm_floater skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore netapp_vmfs skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore prod-fc-sas-1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore vacs-vmfs1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore datastore1 (1) skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore datastore1 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC Datastore vacs-vmfs0 skipped because it's not in Cloud bbg-vc

Jun 20, 2016 22:48:03 UTC VM Datastore 0: [prod datastore 2] has 305GB free and is 68% overcommitted

Jun 20, 2016 22:48:03 UTC VM Datastore 1: [mgmt data store] has 304GB free and is 26% overcommitted

Jun 20, 2016 22:48:03 UTC VM Datastore 2: [prod datastore 1] has 295GB free and is -24% overcommitted

Jun 20, 2016 22:48:03 UTC Total Datastores in the Array: 3

Jun 20, 2016 22:48:03 UTC Sorting the array

Jun 20, 2016 22:48:03 UTC Reversing the array

Jun 20, 2016 22:48:03 UTC Getting the top 3

Jun 20, 2016 22:48:03 UTC Now sort by overcommit

Jun 20, 2016 22:48:03 UTC Datastore 0 Free space: 294.5830078125

Jun 20, 2016 22:48:03 UTC Datastore 0 Overcommit: -24.07586

Jun 20, 2016 22:48:03 UTC Datastore 1 Free space: 304.26953125

Jun 20, 2016 22:48:03 UTC Datastore 1 Overcommit: 26.25712000000001

Jun 20, 2016 22:48:03 UTC Datastore 2 Free space: 304.861328125

Jun 20, 2016 22:48:03 UTC Datastore 2 Overcommit: 67.74362

Jun 20, 2016 22:48:03 UTC Best datastore found: prod datastore 1 with Free space 295 and Overcommit% undefined

Jun 20, 2016 22:48:03 UTC Processing output: datastore

Jun 20, 2016 22:48:03 UTC Task #3 (Add Disk to VM using Best Datastore (custom_NSS Get Best Datastore)) completed successfully in 0 seconds

Jun 20, 2016 22:48:03 UTC Input/Output values for Task #3 (Add Disk to VM using Best Datastore (custom_NSS Get Best Datastore)):

Jun 20, 2016 22:48:03 UTC [Mapped Input: Name of vCenter cloud = bbg-vc]

Jun 20, 2016 22:48:03 UTC [Mapped Input: Comma list of Datastore Names = mgmt data store, prod datastore 1, prod datastore 2]

Jun 20, 2016 22:48:03 UTC [Mapped Input: Disk Size = 1]

Jun 20, 2016 22:48:03 UTC [Output: datastore = prod datastore 1]

Jun 20, 2016 22:48:03 UTC Completed workflow item number 3, with status Completed

Jun 20, 2016 22:48:08 UTC Executing workflow item number 5

Jun 20, 2016 22:48:08 UTC Trigger context executeWorkFlowStep called

Jun 20, 2016 22:48:08 UTC Executing custom action Add Disk to VM using Best Datastore (custom_VARIABLE_CONVERTER_DATASTORE)

Jun 20, 2016 22:48:08 UTC Executing custom action Add Disk to VM using Best Datastore (custom_VARIABLE_CONVERTER_DATASTORE)

Jun 20, 2016 22:48:08 UTC Executing custom script for VARIABLE_CONVERTER_DATASTORE

Jun 20, 2016 22:48:08 UTC a1 ; prod datastore 1

Jun 20, 2016 22:48:08 UTC Processing output: A_Prime

Jun 20, 2016 22:48:08 UTC Task #4 (Add Disk to VM using Best Datastore (custom_VARIABLE_CONVERTER_DATASTORE)) completed successfully in 0 seconds

Jun 20, 2016 22:48:08 UTC Input/Output values for Task #4 (Add Disk to VM using Best Datastore (custom_VARIABLE_CONVERTER_DATASTORE)):

Jun 20, 2016 22:48:08 UTC [Mapped Input: A = prod datastore 1]

Jun 20, 2016 22:48:08 UTC [Output: A_Prime = prod datastore 1]

Jun 20, 2016 22:48:08 UTC Completed workflow item number 4, with status Completed

Jun 20, 2016 22:48:11 UTC Executing workflow item number 6

Jun 20, 2016 22:48:11 UTC Trigger context executeWorkFlowStep called

Jun 20, 2016 22:48:11 UTC Executing custom action Add Disk to VM using Best Datastore (Create VM Disk)

Jun 20, 2016 22:48:11 UTC Executing custom action Add Disk to VM using Best Datastore (Create VM Disk)

Jun 20, 2016 22:48:11 UTC Executing create disk action on VM 249 as part of custom action Add Disk to VM using Best Datastore, (datastore=prod datastore 1, New Disk Size(GB)=1)

Jun 20, 2016 22:48:11 UTC Waiting for action to complete

Jun 20, 2016 22:48:41 UTC Action Complete

Jun 20, 2016 22:48:41 UTC Task #5 (Add Disk to VM using Best Datastore (Create VM Disk)) completed successfully in 30 seconds

Jun 20, 2016 22:48:41 UTC Input/Output values for Task #5 (Add Disk to VM using Best Datastore (Create VM Disk)):

Jun 20, 2016 22:48:41 UTC [Mapped Input: Select VM = 249]

Jun 20, 2016 22:48:41 UTC [Mapped Input: Disk Size (GB) = 1]

Jun 20, 2016 22:48:41 UTC [Mapped Input: Select Disk Type = 0]

Jun 20, 2016 22:48:41 UTC [Mapped Input: Select Datastore = prod datastore 1]

Jun 20, 2016 22:48:41 UTC [Local Input: Thin Provisioning = true]

Jun 20, 2016 22:48:41 UTC Completed workflow item number 5, with status Completed

Jun 20, 2016 22:48:44 UTC Executing workflow item number 7

Jun 20, 2016 22:48:44 UTC Completed workflow item number 6, with status Completed

Jun 20, 2016 22:48:51 UTC Email notification sent successfully

Comments
Orf Gelbrich
Cisco Employee
Cisco Employee

Thank you for adding this. Much appreciated.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links