White Papers

94 Lifecycle Controller Integration Best Practices Guide
B) GetVFlashViews(): ENUMERATE the DCIM_VFlashView class to view the current value of VFlashEnabledState
property. See section 2.2 for a definition of ENUMERATE.
C) VFlashStateChange(): Invokes the VFlashStateChange method on the class DCIM_PersistentStorageService
D) Repeat B) to confirm successful execution of the method
11.7 Disable Virtual Flash (vFlash) Media
This method is used to disable the virtual flash media device.
Applies to: LC1.5.0+
Prerequisites for script: none
Script: DisableVFlash.win
A) The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN commands.
The GetRSStatus() method or the GetRemoteServicesAPIStatus() method may be used depending on the version of the
LC Management registered profile.
B) GetVFlashViews(): ENUMERATE the DCIM_VFlashView class to view the current value of VFlashEnabledState
property. See section 2.2 for a definition of ENUMERATE.
C) VFlashStateChange(): Invokes the VFlashStateChange method on the class DCIM_PersistentStorageService
D) Repeat B) to confirm successful execution of the method
11.8 Create New Partition on Virtual Flash (vFlash) Media
This method is used to create a new partition on the virtual flash media device.
Applies to: LC1.5.0+
Prerequisites for script: set variables by editing script
Script: VFlashCreatePartition.win
A) The Lifecycle Controller remote service must be in a “ready” state before running any other WSMAN commands.
The GetRSStatus() method or the GetRemoteServicesAPIStatus() method may be used depending on the version of the
LC Management registered profile.
B) GetVFlashPartitionViews(): ENUMERATE the DCIM_OpaqueManagementData class to view the current
partitions. See section 2.2 for a definition of ENUMERATE.
C) VFlashStateChange(): Enable vFlash if it is disabled.
D) CreatePartition(): Invokes the CreatePartition method on the class DCIM_PersistentStorageService
E) Poll jobstatus for Completed: GET the InstanceID of from E). See section 2.3 for a definition of GET.