White Papers

96 Lifecycle Controller Integration Best Practices Guide
11.11 Format Existing Partition
This method is used to format a partition on the virtual flash media device.
Applies to: LC1.5.0+
Prerequisites for script: set variables by editing script
Script: VFlashFormatPartition.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 partitions, enable vFlash if
disabled. See section 2.2 for a definition of ENUMERATE.
C) FormatPartition(): Invokes the FormatPartition method on the class DCIM_PersistentStorageService
D) Poll jobstatus for Completed: GET the InstanceID of from C). See section 2.3 for a definition of GET.
E) GetVFlashPartitionViews(): ENUMERATE the DCIM_OpaqueManagementData class to view the current partitions
and confirm successful operation. See section 2.2 for a definition of ENUMERATE.
11.12 Modify Existing Partition
This method is used to modify a partition on the virtual flash media device.
Applies to: LC1.5.0+
Prerequisites for script: set variables by editing script
Script: VFlashModifyPartition.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 partitions. See section 2.2 for a
definition of ENUMERATE.
C) ModifyPartition(): Invokes the ModifyPartition method on the class DCIM_PersistentStorageService
D) GetVFlashPartitionViews(): ENUMERATE the DCIM_OpaqueManagementData class to view the current partitions
and confirm successful operation. See section 2.2 for a definition of ENUMERATE.
11.13 Attach Partition
This method is used to attach a partition on the virtual flash media device.