Home

Dell Lifecycle Controller 1.2 for Linux Web Services Interface Guide

image

Contents

1. lt n lt n lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt FQDD gt iDRAC Embedded 1 lt n1 FQDD gt GroupDisplayName gt NIC lt n1 GroupDisplayName gt lt n1 GroupID gt NIC 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 NIC 1 DNSRacName lt n1 InstancelD gt lt n lt n lt n1 lsReadOnly gt false lt n1 IsReadOnly gt 235 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 MaxLength gt 63 lt n1 MaxLength gt lt n1 MinLength gt 1 lt n1 MinLength gt lt n1 DCIM_iDRACCardString gt lt n1 DCIM_iDRACCardString gt lt n1 AttributeDisplayName gt IP Address lt n1 AttributeDisplayName gt lt n1 AttributeName gt Address lt n1 AttributeName gt lt n1 CurrentValue gt 10 35 0 104 lt n1 CurrentValue gt lt n1 DefaultValue gt 192 168 0 120 lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt IPv4 lt n1 GroupDisplayName gt lt ni IPv4 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 IPv4 1 Address lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 MaxLength gt 16 lt n1 MaxLength gt lt n1 MinLength gt 1 lt n1 MinLength gt lt n1 DCIM_iDRACCardString gt lt n1 DCIM_iDRACCardString gt lt n1 AttributeDisplayName gt User Admin User Name lt n1 Attrib
2. lt n1 InstancelD gt IPL Optical SATAEmbedded A 1 eb8aeb15796fb85f8e1447f0cfb8a68e lt n1 InstancelD gt lt n1 PendingAssignedSequence gt 0 lt n1 PendingAssignedSequence gt lt n1 PendingEnabledStatus gt 1 lt n1 PendingEnabledStatus gt lt n1 DCIM_BootSourceSetting gt The ChangeBootOrderBylnstancelD method in Section 14 4 will use the InstancelD field as input lt n1 DCIM_BootSourceSetting gt lt n1 BlOSBootString gt Embedded SATA Port A Optical TSSTcorpDVD ROM TS L333A UefiBootSeq lt n1 BlOSBootString gt lt n1 BootString gt Embedded SATA Port A Optical TSSTcorpDVD ROM TS L333A UefiBootSeq lt n1 BootString gt lt n1 CurrentAssignedSequence gt 0 lt n1 CurrentAssignedSequence gt lt n1 CurrentEnabledStatus gt 1 lt n1 CurrentEnabledStatus gt lt n1 ElementName gt Embedded SATA Port A Optical TSSTcorpDVD ROM TS L333A UefiBootSeq lt n1 ElementName gt lt n1 FailThroughSupported gt 1 lt n1 FailThroughSupported gt lt n1 InstancelD gt UEFI Optical SATAEmbedded A 1 0619f6756330eedb18cda74cc54f 1bee lt n1 InstancelD gt lt n1 PendingAssignedSequence gt 0 lt n1 PendingAssignedSequence gt lt n1 PendingEnabledStatus gt 1 lt n1 PendingEnabledStatus gt lt n1 DCIM_BootSourceSetting gt 14 4 Changing the Boot Order by InstancelD ChangeBootOrderBylInstancelD The ChangeBootOrderByinstancelD method is called to change the boot order of boot sources within a configuration The method s input
3. which represents pending The virtual disk will not be created until a configuration job Section 16 15 has been scheduled and the system is rebooted Upon creation of the virtual disk the FQDD of the formerly pending virtual disk will change Invoke CreateVirtualDisk with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 PDArray This parameter is the list of physical disk FQDDs that will be used to create a virtual Disk VDPropNameArray This parameter is the list of property names that will be used to create a virtual disk The parameter list contains the following names 191 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Size RAIDLevel SpanDepth SpanLength StripeSize ReadPolicy WritePolicy DiskCachePolicy VirtualDiskName Initialize VDPropValueArray This parameter is the list of property values that will be used to create a virtual Disk The property values are for the property names listed under VDPropNameArray Size Size of the virtual disk specified in MB If not specified default will use full size of physical disks selected RAIDLevel RAID 0 2 RAID 1 4 RAID 5 64 RAID 6 128 RAID 10 2048 RAID 50 8192 RAID 60 16384 SpanDepth If not specified default is single span which is used for RAID 0 1 5 and 6 Raid 10 50 and 60 require a spandepth of at least 2 SpanLength Number of Physic
4. lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300792435 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt 118 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ExportHWInventory_OUTPUT gt 12 15 Export Factory Configuration This method is used to export the factory configuration from the Lifecycle Controller to a text file ona remote share Invoke ExportFactoryConfiguration with the following parameters and syntax IPAddress This is the IP address of the target export server ShareName This is the directory path to the mount point FileName This is the target output file ShareType Type of share NFS 0 CIFS 2 Username This is the username to the target export server Password This is the password to the target export server Workgroup This is the applicable workgroup EXAMPLE wsman invoke a ExportFactoryConfiguration http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService Syste
5. lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt 84 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_OSDConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM_OSDConcreteJob 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 UnpackAndShare_OUTPUT gt A missing command line character such as a could result in the following error Connection failed response code 0 Couldn t connect to server 11 3 5 Check Job Status The following methodology is used to determine the status of the jobs generated by the invocation of the UnpackAndAttach and UnpackAndShare methods The methodology involves enumerating the DCIM_OSDConcreteJob instances and checking the JobStatus property value When the jobs are complete the JobStatus property value will be Successful if the job completed successfully or Failed if an error occurred while executing the request If the job failed the Message property on the returned DC M_OSDConcreteJob instance will contain more detailed error information
6. lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt 16 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_RegisteredProfile lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM CSRegisteredProfile 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root interop lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 ConformantStandard gt lt n1 ManagedElement gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_ComputerSystem lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name Name gt srv system lt wsman Selector gt lt wsman Selector Name CreationClassName gt DCIM_ComputerSystem lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 ManagedElement gt lt n1 DCIM_ElementConformsToProfile gt The example shows that implementation namespace is root dcim 5 Managing iDRAC Local User Accounts 5 1 Description of iDRAC Attrib
7. wsman invoke a DownloadServerPublicKey http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem 110 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J DownloadServerPublicKey xml j utf 8 y basic The input file DownloadServerPublicKey xml is shown below lt p DownloadServerPublicKey_INPUT xmins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p KeyContent gt MIIEQj CCA6ugAwIBAgIBADANBgkqhkiG9wOBAQQF ADCBzZTELMAkGA1UEBhMCVVMx CZAJBgNVBAgTAIRYMRQWEgYDVQQHEWtNYWIulFNOcmVIdDEVMBMGA1UEChMMSm9I qvoMCKtoqLnGBByj H2vyN7Fe ZMKXD5pO6XwYddGfA66w3HGUaRO fIKD40NDi9 bKFEMxbRxZysUUzuKZ9c RAIZUiLrqzemfX3fn1Yp7kO5KU9VHY END CERTIFICATE lt p KeyContent gt lt p DownloadServerPublicKey_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned This jobid can then be used for subsequent processing with job control provider in Section 10 lt n1 DownloadServerPublicKey_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2
8. 17 9 3 Monitor Set BIOS Password Status Version 2 1 0 To monitor the job status for setting the BIOS password get the instance of the corresponding job as described within the job control provider in Section 10 Replace INSTANCE ID with the actual jobid from Section 17 9 1 EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LifecycleJob InstancelD INSTANCE ID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001300720080 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Completed lt n1 JobStatus gt lt n1 JobUntilTime gt 20111111111111 lt n1 JobUntilTime gt lt n1 Message gt Job completed successfully lt n1 Message gt lt n1 MessagelD gt PR19 lt n1 MessagelD gt lt n1 Name gt ConfigBIOS BIOS Setup 1 1 lt n1 Name gt lt n1 PercentComplete gt 100 lt n1 PercentComplete gt lt n1 DCIM_LifecycleJob gt The status may be one of the following 213 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 e Ready for execution Job is created but waiting for scheduled start time to pass to schedule the job e Scheduled Job is scheduled and ready for system reboot to execute the job e Failed Problem with setting the BIOS password check message for more information e Completed Se
9. Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Address http schemas xmlsoap org ws 2004 08 addressing role anonymous ReferenceParameters ResourceURI http schemas dell com wbem wscim 1 cim schema 2 DCIM_VirtualDiskView SelectorSet Selector InstancelD DISK Virtual 267386880 RAID Integrated 1 1 __cimnamespace root dcim RebootRequired YES ReturnValue 0 16 18 7 Deleting a Virtual Disk DeleteVirtualDisk The DeleteVirtualDisk method is used to delete a single virtual disk from the targeted controller The successful execution of this method results in the marking of this virtual disk for deletion The ObjectStatus property in the virtual disk view will have the value of 2 which indicates pending delete The virtual disk will not be deleted until a configuration job is scheduled and the system is rebooted Section 16 15 Invoke DeleteVirtualDisk with the following parameters and syntax TARGET This parameter is the FQDD of the virtual device Section 16 10 EXAMPLE wsman invoke a DeleteVirtualDisk http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J DeleteVirtualDisk xml j utf 8 y basic The input file DeleteVirtualDisk xml is shown belo
10. TFTP or FTP type as shown below HTTP Format http IP ADDRESS PATH TO FILE exe CIFS Format cifs USERNAME PASSWORD URI IP ADDRESS FILE exe mountpoint DIRECTORYNAME TFTP or FTP Format tftp IP ADDRESS PATH TO FILE exe ftp IP ADDRESS PATH TO FILE exe InstancelD The instancelD is the Softwareldentify instancelD that represents the firmware that is to be updated This instancelD can be retrieved as described in Section 6 2 For example the instancelD can be DCIM AVAILABLE NONPCI 159 2 1 4 e Itis available firmware on a NONPCI device e This refers BIOS version 2 1 4 EXAMPLE wsman invoke a InstallFromURI http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService CreationClassName DCIM_SoftwarelnstallationService SystemCreationClassName DCIM_ComputerSystem SystemName IDRAC ID Name SoftwareUpdate h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J UpdatelnputBIOS xml j utf 8 y basic The above command takes in an input file named UpdatelnputBIOS xml to supply input parameters required for the InstallFromURI method The syntax for UpdatelnputBIOS xml is lt p InstallFromURI_INPUT xmlins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService gt lt p URI gt http URI IP ADDRESS PATH TO EXE FILE exe lt p URI gt lt p Target xmlins a http schemas xmlsoap org ws
11. and DCIM_RAIDString this section Enumerate the DC M_RAIDString class to display all the RAID controller string attributes in a system Enumerate RAI DString with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDString 168 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_RAIDString gt lt n1 AttributeName gt Name lt n1 AttributeName gt lt n1 CurrentValue gt MyCacheCadeVD lt n1 CurrentValue gt lt n1 FQDD gt DISK Virtual 0 RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt DISK Virtual 0 RAID Integrated 1 1 Name lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 15 lt n1 MaxLength gt The get instance method in lt n1 MinLength gt 0 lt n1 MinLength gt Section 16 6 uses this lt n1 PendingValue gt InstancelD as input lt n1 DCIM_RAIDString gt lt n1 DCIM_RAIDString gt lt n1 AttributeName gt Name lt n1 AttributeName gt lt n1 CurrentValue gt raid 1 vd lt n1 CurrentValue gt lt n1 FQDD gt DISK Virtual 0 RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt DISK Virtual 0 RAID Integrated 1 1 Name lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 15 lt n1 MaxLength gt lt n1 MinLength gt 0 l
12. lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt 220 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300831170 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 Restorelmage_OUTPUT gt Version The response contains a reference to the job class that will provide the status of the operation The return value is 4096 which indicates that the method operation is not yet complete 18 2 4 Monitoring Import Status 2 1 0 Restore process may take up to 60 minutes depending on host system configuration To monitor the backup status get the instance of the corresponding job Replace INSTANCE ID with the actual jobid from Section 18 2 1 18 2 2 or 18 2 3 EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LifecycleJob InstancelD INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001300831
13. wsman invoke a SetCertificateAndPrivateKey http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD 114 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 J SetCertificateAndPrivateKey xml j utf 8 y basic The input file SetCertificateAndPrivateKey xml is shown below lt p SetCertificateAndPrivateKey_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p Type gt server lt p Type gt lt p PKCS12 gt MIIPUQIBAZCCDxcGCSqGSIb3 DQEHAaCCDwgEgg8EMIIPADCCBTcGCSqGSIb3DQEH BqCCBSgwggUkAgEAMIIFHQYJKoZIhvcNAQcBMBwGCiqGSIb3DQEMAQYwDgQlySfO CSqGSIb3DQEJFTEWBBQQycEruoYBo9ayA3csqSZ06x70NTAxXMCEwWCQYF Kw4DAhoF AAQU y00D76JK1t4yzDgnOE562Cv9AQECM9hIXYFEgiLAglIAA lt p PKCS12 gt lt p PKCS12pin gt 1234567 lt p PKCS1 2pin gt lt p SetCertificateAndPrivateKey_INPUT gt OUTPUT lt n1 SetCertificateAndPrivateKey_OUTPUT gt lt n1 Message gt Server certificate successfully modified iDRAC will now reset and be unavailable for a few minutes lt n1 Message gt lt n1 MessagelD gt LC018 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetCertificateAndPrivateKey_OUTPUT gt 12 11 Delete Auto Discovery Server Public
14. 12 3 Re Initiate Auto Discovery Client Invoke the RelnitiateDHS method to re initialize and restart the Auto Discovery client All configuration information is replaced with the auto discovery factory defaults Auto discovery can be disabled enabled and initiated immediately or delayed until next power cycle Invoke RelnitiateDHS with the following parameters and syntax PS_IP_ADDRESS Substitution will need to be replaced with the actual IP address s or DNS name s of the Provisioning Server s PerformAutoDiscovery 1 off disables auto discovery 2 Now enables and initiates auto discovery immediately 3 NextBoot delay reconfiguration amp auto discovery until next power cycle 107 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a RelnitiateDHS http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J RelnitiateDHS xml j utf 8 y basic The input file RelnitiateDHS xml containing the parameters for the RelnitiateDHS method is shown below lt p RelnitiateDHS_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p ProvisioningServer gt PS_IP_ADDRESS lt p ProvisioningServer gt
15. Deleting existing partitions Formatting a partition Exposing the partition in the host OS Detaching an attached partition Uploading an image to a partition Booting to a partition Modifying a partition Copying exporting the contents of the partition Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 13 1 Listing the SD Card Partitions Each partition on the virtual flash media shall be represented by an instance of DCIM_OpaqueManagementData If nothing is returned no partitions exist Use the CreatePartition method to create partitions Enumerate the DCIM_OpaqueManagementData with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OpaqueManagementData h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_OpaqueManagementData gt lt n1 AccessType gt Read Only lt n1 AccessType gt lt n AttachedState gt Detach lt n AttachedState gt lt n1 CreationClassName gt DCIM_OpaqueManagementData lt n1 CreationClassName gt lt n1 DataFormat gt RAW lt n1 DataFormat gt lt n1 DevicelD gt DCIM_OpaqueManagementData Partition1 lt n1 DevicelD gt lt n1 ElementName gt VFlash lt n1 ElementName gt lt n1 Name gt label1 lt n1 Name gt 124 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 PartitionIndex gt 1 lt n1 Partiti
16. Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetPublicCertificate xml j utf 8 y basic 113 2 1 0 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 The input file SetPublicCertificate xml is shown below lt p SetPublicCertificate_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p Type gt directoryCA lt p Type gt lt p Certificate gt MIID9DCCA1 2gAwIBAgIBADANBgkqhkiG9wOBAQQF ADCBszELMAkGA1 UEBhMCVVMx CZAJBgNVBAgTAIRYMQ8wDQYDVQQHEWZBdXNOaW4xDTALBgNVBAoTBERIbGwxFjAU H ea71Ltbr Au2QFhqcHkeUEbQ4qxXSXTmDEgeKAImKjoCAaWHcDqEwvUcxGl4ekG LaUEGQhQIcLe 03RDp05j YPolv N100GMflhWg lJ3EoV1Zba2tXnCp8XvCukJC ROncFRPIp7c lt p Certificate gt lt p SetPublicCertificate_INPUT gt OUTPUT lt n1 SetPublicCertificate_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetPublicCertificate_OUTPUT gt 12 10 Set iDRAC Certificate and Private Key This method is used to update an iDRAC certificate and private key pairs using the contents of a PKCS 12 file Invoke SetCertificateAndPrivateKey with the following parameters and syntax Type Specifies the service the certificate is for server web server PKCS12 Represents the base64 encoded contents of PKCS 12 file to upload Note this is the contents of the file and not a filename PKCS12pin Password to decode the PKCS12 EXAMPLE
17. This is to be replaced by the actual name of the ISO image RESET_TYPE O No reset 1 warm reset 2 cold reset EXAMPLE wsman invoke a BootToNetworkISO http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM O0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k IPAddress NFS_IPADDRESS k ShareName NFS OSISO k ShareType 0 k Username NFS_USERNAME k Password NFS_PASSWORD k Workgroup WORKGROUP k ResetType RESET_TYPE 100 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 k ImageName OS ISO j utf 8 y basic OUTPUT The return will be 0 for success or 1 if an error occurred in starting the processing the input parameters The MessagelD and Message output parameters will further contain method invocation information if an error occurred lt n1 ConfigurableBootToNetworkISO_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_OSDConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM_OSDConcreteJob 1 lt wsman Selector gt
18. This parameter is the list of property names with values in the VDPropValueArrayin parameter Size RAIDLevel SpanDepth VDPropValueArrayln This parameter is the list of property values that correspond to the VDPropNameArrayln parameter EXAMPLE wsman invoke a CheckVDValues http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J CheckVDValues xml j utf 8 y basic The input file CheckVDValues xml is shown below lt p CheckVDValues_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p PDArray gt Disk Bay 0 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p PDArray gt Disk Bay 1 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p PDArray gt Disk Bay 2 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p PDArray gt Disk Bay 3 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p VDPropNameArrayIn gt Size lt p VDPropNameArrayIn gt lt p VDPropValueArraylIn gt 10000 lt p VDPropValueArraylIn gt lt p VDPropNameArrayIn gt RAIDLevel lt p VDPropNameArraylIn gt 190 Dell Lifecycle Controller 2 Web Services Interfac
19. lt n1 InstancelD gt DCIM_LCEnumeration DHS3 lt n1 InstancelD gt lt n1 lsOrderedList xsi nil true gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt On lt n1 PossibleValues gt lt n1 PossibleValues gt Off lt n1 PossibleValues gt lt n1 PossibleValuesDescription xsi nil true gt lt n1 DCIM_LCAttribute gt 19 9 2 Setting the iDRAC IPChange Notification SetAttribute The SetAttribute method is used to set the attribute PChangeNotifyPS to ON or OFF When set to ON a user notification is sent when the IP address is changed While set to OFF a user notification is not sent Invoke SetAttribute with the following syntax EXAMPLE wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem 237 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Name DCIM LCService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttribute_iDRAC_IPChange_Notification xml j utf 8 y basic The input file setattribute xml is shown below lt p SetAttribute_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p AttributeName gt lPChangeNotifyPS lt p AttributeName gt lt p AttributeVal
20. lt n1 RequestStateChange_OUTPUT gt lt n1 Job xsi nil true gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 RequestStateChange_OUTPUT gt Response status other than zero indicates failure and error message information may be provided 5 5 4 Modify User Privilege using DMTF Model When the account setting capability allows the user account privileges may be modified by issuing a set operation on the ActivityQualifiers property of the CIM_Privilege class instance associated with the C M_Account class instance The set operation requires an instance reference The instance reference may be retrieved by adding EnumerateEPR mode to enumerate or get of the class The profile defines this property as string array containing all the privileges to be granted for the account Setting the list of privileges is a complete over write of the previous setting This restriction is a limitation where the protocol does not define how to set a particular index in the list The new list will replace the previous list in its entirety Profiles http www dmtf org sites default files standards documents DSP1034_1 0 1 pdf http www dmtf org sites default files standards documents DSP1039_1 0 0 pdf Here is an example list of available privileges from an instance of the class CIM_RoleBasedManagementCapabilities DCIM_LocalRoleBasedManagementCapabilities ActivitiesSupported 7 7 7 7 7 7 7 7 7 ActivityQualifiersSupported Login to D
21. lt p ResetToFactoryDefaults gt TRUE lt p ResetToFactoryDefaults gt lt p PerformAutoDiscovery gt 3 lt p PerformAutoDiscovery gt lt p RelnitiateDHS_INPUT gt OUTPUT The output is status 0 for successfully set or an error message lt n1 RelnitiateDHS_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 RelnitiateDHS_OUTPUT gt 12 4 Clear or Set Provisioning Server The Provisioning Server name or a group names can be cleared by invoking the ClearProvisioningServer method on the DCIM_LCService class Configuring the Provisioning Server name s EXAMPLE A wsman invoke a ClearProvisioningServer http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT A 108 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 This method will return status 0 or error message lt n1 ClearProvisioningServer_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 ClearProvisioningServer_OUTPUT gt Setting the Provisioning Server name or IP address for the provisioning service The Provisioning Server name and or IP Addresses can be set by invoking the SetAttribute method of the DCIM_LCService class PS_IP_ADDRESS Substitu
22. lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM_OSDConcreteJob 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 BootTolSOFromVFlash_OUTPUT gt 11 3 12 Delete ISO from VFlash The DeletelSOFromVFlash method will delete the ISO image that was downloaded to the VFlash 92 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Invoke DeletelSOFromVFlash with the following syntax EXAMPLE wsman invoke a DeletelSOFromVFlash http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationC lassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT When this command is executed a status or error message will be returned If an image is not found the following message will display lt n1 DeletelSOFromVFlash_OUTPUT gt lt n1 Message gt ISO Image not found on VFlash lt n1 Message gt lt n1 MessagelD gt OSD41 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 DeletelSOFromVFlash_OUTPUT gt 11 3 13 Detach ISO from VFlash The DetachISOFromVF lash meth
23. my ShareType is 2 The entire Passphrase passphrase argument is optional EXAMPLE wsman invoke a BackupImage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic k IPAddress SHARE_IPADDRESS k ShareName DRIVESHARE k ShareType 2 k Username SHARE_USERNAME k Password SHARE_PASSWORD k Passphrase PASSPHRASE k ImageName IMAGENAME k ScheduledStartTime TIME_NOW NOTE The ShareName field should only be the folder exposed by the system to the network Any sub folder information should be attached to the ImageName field Otherwise there can be connection issues when trying to locate create the backup file Correct Example ShareName folder1 ImageName subfolder image_name In Correct Example ShareName folder1 subfolder ImageName image_name OUTPUT lt n1 Backuplmage_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_00
24. on the cause of the failure For the Lifecycle Controller 1 5 version of the OS Deployment Profile there is only one instance of a job generated by various method invocations and it will persist until the next method that generates a job is invoked The job must complete before another method that generates a job can be called successfully This is unchanged from the Lifecycle Controller 1 2 for OS Deployment Invoke enumerate DCIM_OSDConcreteJob instance with the following syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDConcreteJob h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT The enumeration will return the instances of OSDConcreteJob as shown lt n1 DCIM_OSDConcreteJob gt lt n1 Caption xsi nil true gt lt n1 CommunicationStatus xsi nil true gt 85 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 DeleteOnCompletion gt false lt n1 DeleteOnCompletion gt Description xsi nil true gt DetailedStatus xsi nil true gt ElapsedTime xsi nil true gt ElementName xsi nil true gt ErrorCode xsi nil true gt ErrorDescription xsi nil true gt HealthState xsi nil true gt InstallDate xsi nil true gt InstancelID gt DCIM_OSDConcreteJob 1 lt
25. 0 D If the account specified is new or not yet enabled it will not be accessible Login as root in the Ul and verify the user name is set correctly and enable it E Logout of the Ul Logging in with new user name and password and be successful Possible responses 36 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 1 A fault is returned which suggests a possible error in the request payload An empty response which suggests an error occurred while processing the request An instance of the class is returned where the property value is unchanged An instance of the class is returned where the property value is modified The set is successful on A WwW N The property value may be blank as intended by the implementation for security To determine success try logging in with the new password Ensure the account is enabled 5 5 2 Modify Password using DMTF Model When the account setting capability allows the user password of an account may be modified by issuing a set operation on the UserPassword property of the C M_Account class instance The set operation requires an instance reference The instance reference may be retrieved by adding EnumerateEPR mode to enumerate or get of the class NOTE The profile defines this property as string array of type octet string In this implementation the password is a string of type clear text The security concern is resolved by transmission of this in
26. 0 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 DetailedStatus xsi nil true gt lt n1 ElementName gt MFA Account 2 lt n1 ElementName gt lt n1 EnabledDefault gt 2 lt n1 EnabledDefault gt lt n1 EnabledState gt 2 lt n1 EnabledState gt lt n1 HealthState xsi nil true gt lt n1 Host xsi nil true gt EXAMPLE B wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 CIM_Account h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic M ef OUTPUT B lt wsa EndpointReference gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_MFAAccount lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name SystemCreationClassName gt DCIM_SPComputerSystem lt wsman Selector gt lt wsman Selector Name SystemName gt systemmc lt wsman Selector gt lt wsman Selector Name CreationClassName gt DCIM_MFAAccount lt wsman Selector gt lt wsman Selector Name Name gt DCIM User 1 lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt wsa EndpointReference gt lt wsa EndpointReference gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa Reference
27. 1 Users 1 lpmiLanPrivilege lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 PossibleValues gt User lt n1 PossibleValues gt lt n1 PossibleValues gt Operator lt n1 PossibleValues gt lt n1 PossibleValues gt Administrator lt n1 PossibleValues gt lt n1 PossibleValues gt NoAccess lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt User Admin IPMI Serial Privilege lt n1 AttributeDisplayName gt lt n1 AttributeName gt IpmiSerialPrivilege lt n1 AttributeName gt lt n1 CurrentValue gt NoAccess lt n1 CurrentValue gt lt n1 DefaultValue gt NoAccess lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt lt n1 GroupID gt Users 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 Users 1 lpmiSerialPrivilege lt n1 InstancelD gt 19 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 PossibleValues gt User lt n1 PossibleValues gt lt n1 PossibleValues gt Operator lt n1 PossibleValues gt lt n1 PossibleValues gt Administrator lt n1 PossibleValues gt lt n1 PossibleValues gt NoAccess lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt 5 3 Manage Acco
28. 2011 lt n1 BlOSReleaseDate gt lt n1 BlOSVersionString gt 0 3 33 lt n1 BlOSVersionString gt lt n1 BaseBoardChassisSlot gt NA lt n1 BaseBoardChassisSlot gt lt n1 BatteryRollupStatus gt 1 lt n1 BatteryRollupStatus gt lt n1 BladeGeometry gt 4 lt n1 BladeGeometry gt lt n1 BoardPartNumber gt OMX4YFX04 lt n1 BoardPartNumber gt lt n1 BoardSerialNumber gt CN13740184000Q lt n1 BoardSerialNumber gt lt n1 CMCIP xsi nil true gt lt n1 CPLDVersion gt 0 5 0 lt n1 CPLDVersion gt lt n1 CPURollupStatus gt 1 lt n1 CPURollupStatus gt 72 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 ChassisName gt Main System Chassis lt n1 ChassisName gt lt n1 ChassisServiceTag gt 7654321 lt n1 ChassisServiceTag gt lt n1 ChassisSystemHeight gt 5 lt n1 ChassisSystemHeight gt lt n1 ExpressServiceCode gt 15608862073 lt n1 ExpressServiceCode gt lt n1 FQDD gt System Embedded 1 lt n1 FQDD gt lt n1 FanRollupStatus gt 3 lt n1 FanRollupStatus gt lt n1 HostName gt lt n1 InstancelD gt System Embedded 1 lt n1 InstancelD gt lt n1 LastSystemInventoryTime gt 201 201061 13848 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20111214060202 000000 000 lt n1 LastUpdateTime gt lt n1 LicensingRollupStatus gt 1 lt n1 LicensingRollupStatus gt lt n1 LifecycleControllerVersion gt 2 0 0 lt n1 LifecycleControllerVersion gt lt n1 Manufacturer gt Dell Inc lt n1 Man
29. Create Reboot Job The second stage is to create a reboot job as shown in Section 7 8 7 2 3 Schedule Update Jobs The third stage is to invoke the SetupJobQueue method as shown in Section 10 2 1 Use the jobID JID from InstallFromSoftwareldentity and rebootID RID from the reboot job The reboot may take several minutes as the UEFI performs the desired operation 7 2 4 Monitor Update Jobs The output of getting the job status during various steps Section 10 2 3 is shown below Initial job status after invoking InstallFromSoftwareldentity 41 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001299159345 lt n1 InstancelD gt lt n1 JobStartTime gt lt n1 JobStatus gt Downloaded lt n1 JobStatus gt lt n1 JobUntilTime gt lt n1 Message gt Package successfully downloaded lt n1 Message gt lt n1 MessageArguments xsi nil true gt lt n1 MessagelD gt REDO02 lt n1 MessagelD gt lt n1 Name gt Rollback DCIM AVAILABLE NONPCI 159 2 1 4 lt n1 Name gt lt n1 DCIM_LifecycleJob gt Job status after invoking SetupJobQueue lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001299159345 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Scheduled lt n1 JobStatus gt lt n1 JobUntilTime gt 20100730121500 lt n1 JobUntilTime gt lt n1 Message gt Task successfully scheduled lt n1 Message gt
30. Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 VirtualDiskArray Array of ElementName s where each identifies a different VD currently only one VD can be passed EXAMPLE wsman invoke a AssignSpare http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J AssignSpare xml j utf 8 y basic The input file AssignSpare xml is shown below lt p AssignSpare_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt Disk Bay 3 Enclosure Internal 0 0 RAID Integrated 1 1 lt p Target gt lt p VirtualDiskArray gt Disk Virtual 0 RAID Integrated 1 1 lt p VirtualDiskArray gt lt p AssignSpare_INPUT gt OUTPUT lt n1 AssignSpare_OUTPUT gt lt n1 RebootRequired gt YES lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 AssignSpare_OUTPUT gt Nonconformance to the following restrictions may result in the error message below e Virtual disk VD referenced dedicated hot spare is RAID 0 which cannot have hot spares e Physical disk PD is too small for the virtual disk referenced dedicated hot spare e Physical disk is wrong type for the virtual disk i e SATA PD to be used as hot sp
31. Enumeration Class The BIOS Inventory contains the following attributes DCIM_BlOSEnumeration 17 1 DCIM_BIOSInteger 17 5 DCIM_BlOSString 17 6 and DCIM_BIOSPassword 17 10 Enumerating the B OSEnumeration Class will display all BIOS attributes in a computer system Enumerate B OSEnumeration with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSEnumeration h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_BlOSEnumeration gt AttributeName gt NumLock lt n1 AttributeName gt CurrentValue gt On lt n1 CurrentValue gt lt n lt n DefaultValue xsi nil true gt FQDD gt BIOS Setup 1 1 lt n1 FQDD gt InstancelD gt BIOS Setup 1 1 NumLock lt n1 InstancelD gt lt n lt n lt n lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PendingValue xsi nil true gt PossibleValues gt On lt n1 PossibleValues gt PossibleValues gt Off lt n1 PossibleValues gt lt n1 DCIM_BlOSEnumeration gt lt n ie The get instance method in Section 17 2 will use this InstancelD as input lt n1 DCIM_BlOSEnumeration gt lt n1 AttributeName gt ReportKbdErr lt n1 AttributeName gt 204 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 CurrentValue gt NoReport lt n1
32. Guide for Linux Version 2 1 0 lt n1 SystemID gt 1231 lt n1 SystemID gt lt n1 SystemRevision gt 0 lt n1 SystemRevision gt lt n1 TempRollupStatus gt 1 lt n1 TempRollupStatus gt lt n1 UUID gt 4c4c4544 0036 3510 8034 b7c04f333231 lt n1 UUID gt lt n1 VoltRollupStatus gt 1 lt n1 VoltRollupStatus gt lt n1 smbiosGUID gt 44454c4c 3600 1035 8034 b7c04f333231 lt n1 smbiosGUID gt lt n1 DCIM_SystemView gt 10 Job Control Management 10 1 Description of Job Management The Dell Common Information Model CIM class extensions for supporting update and attribute configuration job control are defined in the Dell Job Control Profile and related MOF files The diagrams representing the classes that are implemented by the Lifecycle Controller 1 5 firmware can be found in Dell Job Control Profile as well Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 10 2 Remote Job Control Examples 10 2 1 Setup Job Queue The SetupJobQueue method takes in an array of jobids and schedules them to run immediately or at a later time The jobids are acquired via enumerating DCIM_LifecycleJob as described in Section 10 2 3 When there is a Reboot Job in a job array that contains multiple jobs the system will reboot the UEFI Unified Extensible Firmware Interface at the scheduled time Invoke SetupJobQueue with the following parameters and syntax JobArray The jobids are listed in the JobArray element Mul
33. Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 GroupID gt Users 3 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 Users 3 UserName lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 16 lt n1 MaxLength gt lt n1 MinLength gt 1 lt n1 MinLength gt lt n1 DCIM_iDRACCardString gt 19 8 Listing the iDRAC Card Inventory String Class using groupID Enumerate the DCIM_iDRACCardString class to list all the string type iDRAC attributes using the group IDs of these groups NIC IPv4 and Users To retrieve the attributes of the groups set the GroupID to one of the following NIC IPv4 or Users Invoke dracgetgroupid_string with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardString h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic dialect http schemas microsoft com wbem wsman 1 WQL filter select from DCIM_iDRACCardInteger where GroupID NIC 1 The possible inputs for GroupID are NIC 1 IPv4 1 Users 3 OUTPUT lt n1 DCIM_iDRACCardString gt lt n1 AttributeDisplayName gt DNS RAC Name lt n1 AttributeDisplayName gt AttributeName gt DNSRacName lt n1 AttributeName gt CurrentValue gt idrac 59JJ6K1 lt n1 CurrentValue gt DefaultValue gt Dependency xsi nil true gt lt n lt n
34. NiCAttribute Possible choices are attained from PossibleValues field such as Possible values Disabled Enabled EXAMPLE wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService SystemName DCIM ComputerSystem Name DCIM NICService 155 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttribute_CNA_IscsiOffloadMode xml j utf 8 y basic The information in the input file SetAttribute_NIC xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService gt lt p Target gt NIC Integrated 1 1 1 lt p Target gt lt p AttributeName gt IscsiOffloadMode lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt NICO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 15 11 Setting the MaxBandwidth Attribute The SetAttribute method is used to set or change the value of a CNA attribute Th
35. POST Server is out of POST 3 Collecting System Server is currently executing UEFI Collect System Inventory Inventory On Restart application 4 Automated Task Server is currently executing scheduled jobs using Execution UEFI Automated Task application 5 Lifecycle Controller Unified Server Configurator Server is executing UEFI Lifecycle Controller Unified Server Configurator application LCStatus 0 Ready Lifecycle Controller instrumentation is up to date and enabled 1 Not Initialized Lifecycle Controller instrumentation is not initialized The initialization operation may take up to a minute 2 Reloading Data Lifecycle Controller instrumentation is currently refreshing its cache because of a recent configuration change The reloading operation typically takes few seconds and could take up to few minutes to complete 3 Disabled Lifecycle Controller is disabled on the server Lifecycle Controller can be enabled thru Remote Services or F2 iDRAC configuration 4 In Recovery Lifecycle Controller is in Recovery mode Refer to iDRAC users guide on instructions on how to repair Lifecycle Controller 5 In Use Lifecycle Controller is being currently used by another process 20 2 Restarting Remote Service Status If you continue to get Not Ready remote service status invoke the DeleteJobQueue method with JID_CLEARALL job id to restart the remote
36. Part Replacement firmware update mode as follows EXAMPLE 106 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 wsman get http schemas dell com wbem wscim 1 cim schema 2 root dcim DCIM_LCEnumeration InstancelD LifecycleController Embedded 1 LCAttributes 1 PartFirmwareUpdate h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic NOTE For 11G InstancelD DCIM_LCEnumeration CCR4 OUTPUT lt n1 DCIM_LCEnumeration gt lt n1 AttributeName gt Part Firmware Update lt n1 AttributeName gt lt n1 Caption xsi nil true gt lt n1 CurrentValue gt Allow version upgrade only lt n1 CurrentValue gt lt n1 DefaultValue gt Disable lt n1 DefaultValue gt lt n1 Description xsi nil true gt lt n1 ElementName gt LC emb 1 lt n1 ElementName gt lt n1 InstancelD gt LifecycleController Embedded 1 LCAttributes 1 PartFirmwareUpdate lt n1 InstancelD gt lt n1 lsOrderedList xsi nil true gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Disable lt n1 PossibleValues gt lt n1 PossibleValues gt Allow version upgrade only lt n1 PossibleValues gt lt n1 PossibleValues gt Match firmware of replaced part lt n1 PossibleValues gt lt n1 PossibleValuesDescription xsi nil true gt lt n1 DCIM_LCEnumeration gt See Section 12 5 to get the status on whether there is a valid VFlash License on the system
37. Partition ssi cesetesste antics ce a e EAE E EE EEE EEDE AE EET eee 128 13 5 Create Partition using Mage a ia6 ses oeiea aha lne ed aa eee ea aaiGe 129 18 0 Delete Pamtitio M reeter an as anentadis pends E e bane tad E erent perdu AE aa A REE 131 13 7 Format PartitiOn sre rin en aeae eedd Aiae PAEA AE aE aes 132 13 8 Modity Patito Msenga E eee ata 134 13 9 Attach Partition ce age 2 ee ean eden eae ee eae 134 13 10 Detacm mare gil o 9 eeeneeeeeern er teeters retire a Meese err v meme tren fret arte 135 13 11 Export Data frm Parti Marenne ineen ae coda A bined etd thei 137 14 Boot Control Configuration Management cccceeeceeeeceeeeeeeeeeeeeeeeeeeeeeeeeeeeteenenaeeeeeeees 138 14 1 Listing the Boot Inventory ConfigSetting Class sssssseenneesseeeeerrrnensssrrrrerrrneesee 139 14 2 Getting a Boot ConfigSetting Instance cceeeeeeeee eee eeeeeeeee teeter eeteeeneeeeeeeeeeeteeee 140 14 3 Listing the Boot Inventory SourceSetting Class 0 eeceeeeeeeeeeee eee eeeeetteeeeeeeeeeteeee 140 14 4 Changing the Boot Order by InstancelD ChangeBootOrderBylnstancelD 141 14 5 Enable or Disable the Boot Source ChangeBootSourceState cccceeeeee 142 15 gt NIC CNA Card Management isiiic ofctet cc sancdetige tte lcnnduleteh nSenheade Gngi ca linnele Geet Ma ae 143 15 1 Listing the NIC CNA Inventory Enumeration Class ccceeeeeeeeeeeeenteeeeeeeeeetteee 144 15 2 Listing the NIC CNA Inventor
38. Password lt n1 AttributeDisplayName gt lt n1 AttributeName gt SetupPassword lt n1 AttributeName gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 1403 lt n1 DisplayOrder gt lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 GroupDisplayName gt System Security lt n1 GroupDisplayName gt 214 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 GroupID gt SysSecurity lt n1 GroupID gt lt n1 InstancelD gt BIOS Setup 1 1 SetupPassword lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt IsSet gt false lt n1 lsSet gt MaxLength gt 32 lt n1 MaxLength gt MinLength gt 0 lt n1 MinLength gt PasswordState gt 3 lt n1 PasswordState gt lt n lt n lt n lt n lt n lt n1 ValueExpression gt 0 9a z 0 32 lt n1 ValueExpression gt lt n1 DCIM_BIOSPassword gt PendingValue xsi nil true gt 18 Exporting and Importing Server Profile Use this feature to back up and restore host server profile You can take a backup of current system configuration that is stored in a backup image file Use Restore at anytime to put the system to pre backup state Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 18 1 Exporting Server Profile To backup host system server profile invoke the BackupImage method in the class DCIM_LCService Backup featur
39. Queue The DeleteJobQueue method takes in a jobID and then deletes it from the job store Note When clearing all jobs and pending data using the keyword JID_CLEARALL as shown in example 2 below the remote services instrumentation is restarted to clear the cache LC 1 5 x ONLY Users should allow two minutes for this process to complete Invoke DeleteJobQueue with the following parameters and syntax JobID The jobID of a particular job instance to be deleted from a jobqueue EXAMPLE 1 wsman invoke a DeleteJobQueue http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_JobService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_JobService SystemName ldrac Name JobService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k JobID JobID j utf 8 y basic The example below uses JID_CLEARALL for the job D which is a predefined value that represents deleting all jobs in the jobstore EXAMPLE 2 wsman invoke a DeleteJobQueue http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_JobService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_JobService SystemName ldrac Name JobService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k JobID JID_CLEARALL j utf 8 y basic OUTPUT Return 0 for success or non zero for error with messagelD and message description lt n1 DeleteJobQueue_OUTPUT gt lt n1 Message
40. Services Interface Guide for Linux Version 2 1 0 lt n1 DisconnectRFSISOlmage_OUTPUT gt lt n1 Message gt Unable to connect to ISO using RFS lt n1 Message gt lt n1 MessagelD gt OSD60 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 DisconnectRFSISOlmage_OUTPUT gt A return value of 0 indicates success while the above output indicates an image was not present to disconnect 11 3 20 Get RFS ISO Image Connection Information The GetRFSISOImageConnectionInfo method is used to provide the status of the ISO Image connection that has been exposed to the host system Invoke GetRFSISOImageConnectionInfo with the following syntax EXAMPLE wsman invoke a GetRFSISOlmageConnectionInfo http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 GetRFSISOlmageConnectionInfo_OUTPUT gt lt n1 Message gt Unable to connect to ISO using RFS lt n1 Message gt lt n1 MessagelD gt OSD60 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 GetRFSISOlmageConnectionInfo_OUTPUT gt A return value of 0 indicates success while the above output indicates an image was not present to disconnect 11 3 21 Boot To Har
41. Services Interface Guide for Linux Version 2 1 0 1 Introduction This document serves as a guideline for utilizing the functionality available from embedded Lifecycle Controller Remote Enablement Web Services The purpose of this document is to provide information and examples for utilizing the Web services for Management WS Man management protocol using Windows WinRM and open source WSMANCLI command line utilities Examples and invocation information is provided for the following functionality e Inventory for BIOS component firmware and embedded software e Update of BIOS component firmware and embedded software e Job Control of update tasks e Enhancement of Operating System Deployment using VFlash SD Card e Enhancement of Discovery and Handshake from LifeCycle Controller 1 x e Raid configuration management e iDRAC Inventory and configuration features e NIC configuration management e Boot configuration management e BIOS configuration management 1 The target audience for this document is application and script writers that want to utilize the remote management capabilities using WS Man protocol available from Dell Lifecycle Controller 2 References Dell 12 Generation PowerEdge Server Resources http www delltechcenter com 12thGen Dell CIM Profiles http www delltechcenter com page DCIM Library Profile 3 Managed Object Format MOF http www delltechcenter com page DCIM Library MOF WinRM Scripting API MS
42. SkipCAcheck encoding utf 8 a basic OUTPUT lt n1 DCIM_NICCapabilities gt lt n1 BPESupport gt 3 lt n1 BPESupport gt lt n1 CongestionNotification gt 3 lt n1 CongestionNotification gt lt n1 DCBExchangeProtocol gt 3 lt n1 DCBExchangeProtocol gt lt n1 ETS gt 3 lt n1 ETS gt lt n1 EVBModesSupport gt 3 lt n1 EVBModesSupport gt lt n1 EnergyEfficientEthernet gt 2 lt n1 EnergyEfficientEthernet gt lt n1 FCoEBootSupport gt 3 lt n1 FCoEBootSupport gt lt n1 FCoEMaxlOsPerSession gt 0 lt n1 FCoEMaxlOsPerSession gt lt n1 FCoEMaxNPIVPerPort gt 0 lt n1 FCoEMaxNPIVPerPort gt lt n1 FCoEMaxNumberExchanges gt 0 lt n1 FCoEMaxNumberExchanges gt lt n1 FCoEMaxNumberLogins gt 0 lt n1 FCoEMaxNumberLogins gt lt n1 FCoEMaxNumberOfFCTargets gt 0 lt n1 FCoEMaxNumberOfFCTargets gt lt n1 FCoEMaxNumberOutStandingCommands gt 0 lt n1 FCoEMaxNumberOutStandingCommands gt lt n1 FCoEOffloadSupport gt 3 lt n1 FCoEOffloadSupport gt lt n1 FQDD gt NIC Embedded 1 1 1 lt n1 FQDD gt lt n1 FeatureLicensingSupport gt 3 lt n1 FeatureLicensingSupport gt lt n1 FlexAddressingSupport gt 2 lt n1 FlexAddressingSupport gt lt n1 IPSecOffloadSupport gt 3 lt n1 IPSecOffloadSupport gt lt n1 InstancelD gt NIC Embedded 1 1 1 lt n1 InstancelD gt lt n1 MACSecSupport gt 3 lt n1 MACSecSupport gt lt n1 NWManagementPassThrough gt 2 lt n1 NWManagementPassT hrough gt lt n1 NicPartitioningSupport gt 3 lt n1 NicPartitioningSupport gt lt n1 0SBMCManag
43. The input file InsertCommentInLCLog xml is shown below lt p InsertCommentinLCLog_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p Comment gt INSERT COMMENT HERE lt p Comment gt lt p InsertCommentinLCLog_INPUT gt OUTPUT lt n1 InsertCommentinLCLog_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 InsertCommentinLCLog_OUTPUT gt 12 13 Export Lifecycle Controller Log This method is used to export the log from the Lifecycle Controller after processing jobs Invoke ExportLCLog with the following parameters and syntax IPAddress This is the IP address of the target export server ShareName This is the directory path to the mount point FileName This is the target output file ShareType Type of share NFS 0 CIFS 2 Username This is the username to the target export server Password This is the password to the target export server Workgroup This is the applicable workgroup 116 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a ExportLCLog http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ExportLCLog xml j utf 8 y basic The input file ExportLCLog xml
44. Virtual Disk 00 lt n1 Name gt lt n1 ObjectStatus gt 0 lt n1 ObjectStatus gt lt n1 OperationName gt None lt n1 OperationName gt lt n1 OperationPercentComplete gt 0 lt n1 OperationPercentComplete gt lt n1 PhysicalDiskIDs gt Disk Bay 0 Enclosure Internal 0 0 RAID Slot 1 1 lt n1 PhysicalDiskIDs gt lt n1 PhysicalDiskIDs gt Disk Bay 1 Enclosure Internal 0 0 RAID Slot 1 1 lt n1 PhysicalDiskIDs gt lt n1 PhysicalDiskIDs gt Disk Bay 2 Enclosure Internal 0 0 RAID Slot 1 1 lt n1 PhysicalDiskIDs gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 RAIDStatus gt 2 lt n1 RAIDStatus gt lt n1 RAIDTypes gt 2 lt n1 RAIDTypes gt lt n1 ReadCachePolicy gt 16 lt n1 ReadCachePolicy gt lt n1 RemainingRedundancy gt 0 lt n1 RemainingRedundancy gt lt n1 RollupStatus gt 1 lt n1 RollupStatus gt lt n1 SizelnBytes gt 10748 146483 2 lt n1 SizelnBytes gt lt n1 SpanDepth gt 1 lt n1 SpanDepth gt lt n1 SpanLength gt 3 lt n1 SpanLength gt lt n1 StartingLBAinBlocks gt 0 lt n1 StartingLBAinBlocks gt lt n1 StripeSize gt 128 lt n1 StripeSize gt lt n1 VirtualDiskTargetID gt 0 lt n1 VirtualDiskTargetID gt lt n1 WriteCachePolicy gt 1 lt n1 WriteCachePolicy gt lt n1 DCIM_VirtualDiskView gt 16 11 Listing the RAID EnclosureView Inventory Enumerating the Enclosure View results in the attributes and inventory of the available enclosure components in the system Enumerate EnclosureView with the following parameters and synt
45. Web Services Interface Guide for Linux Version 2 1 0 lt n1 InstancelD gt RAID Integrated 1 1 RAIDBatteryLearnMode lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue gt lt n1 PossibleValues gt Automatic lt n1 PossibleValues gt lt n1 PossibleValues gt Warn only lt n1 PossibleValues gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 DCIM_RAIDEnumeration gt lt n1 DCIM_RAIDEnumeration gt lt n1 AttributeName gt RAIDdefaultWritePolicy lt n1 AttributeName gt lt n1 CurrentValue gt The set attributes method in section 16 19 2 uses the FQDD AttributeName and PossibleValues fields as WriteBack lt n1 CurrentValue gt input lt n1 FQDD gt Disk Virtual 1 RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt Disk Virtual 1 RAID Integrated 1 1 RAIDdefaultWritePolicy lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue gt lt n1 PossibleValues gt WriteThrough lt n1 PossibleValues gt lt n1 PossibleValues gt WriteBack lt n1 PossibleValues gt lt n1 PossibleValues gt WriteBackForce lt n1 PossibleValues gt lt n1 DCIM_RAIDEnumeration gt 16 2 Getting a RAID Enumeration Instance Use the following example to get an instance of the DC M_RA DEnumeration class instead of all the instances as shown in Section 16 1 Get a RAIDEnumeration instance with the following parameters and syn
46. a subsequent put or set operations 32 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE A wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 CIM_Account __cimnamespace root dcim h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic M epr When this method is executed a list of objects will be returned Below is a snippet of the output OUTPUT A lt wsa EndpointReference gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbhem wscim 1 cim schema 2 DCIM MFAAccount lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name SystemCreationClassName gt DCIM SPComputerSystem lt wsman Selector gt lt wsman Selector Name SystemName gt systemmc lt wsman Selector gt lt wsman Selector Name CreationClassName gt DCIM MFAAccount lt wsman Selector gt lt wsman Selector Name Name gt DCIM User 1 lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt wsa EndpointReference gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM MFAAccount lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name SystemCreationClassName g
47. be canceled by calling DeleteJobQueue in the Job Control profile Invoke DeletePendingConfiguration with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 EXAMPLE wsman invoke a DeletePendingConfiguration http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J DeletePendingConfiguration_RAID xml j utf 8 y basic The input file DeletePendingConfiguration xml is shown below lt p DeletePendingConfiguration_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p DeletePendingConfiguration_INPUT gt OUTPUT lt n1 DeletePendingConfiguration_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeletePendingConfiguration_OUTPUT gt 179 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 16 16 Managing Hot Spare 16 16 1 Determining Potential Disks GetDHSDisks The GetDHSDisks method is used to determine possible choices of drives to be a dedicated HotSpare for the identified virtual disk Invoke GetDHSDisks with the following parameters and syntax TARGET This parameter is the FQ
48. e Itis available firmware on a NONPCI device e This refers BIOS version 2 1 4 EXAMPLE wsman invoke a InstallFromSoftwareldentity http schemas dmtf org wbem wscim 1 cimschema 2 root dcim DCIM_SoftwarelnstallationService CreationClassName DCIM_SoftwarelnstallationService SystemCreationClassName DCIM_ComputerSystem SystemName IDRAC ID Name SoftwareUpdate h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J RollinputBIOS xml j utf 8 y basic The rollback input file RollInputBIOS xml is shown below lt p InstallFromSoftwareldentity_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService gt lt p Target xmlns a http schemas xmlsoap org ws 2004 08 addressing xmlins w http schemas dmtf org wbem wsman 1 wsman xsd gt lt a Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt a Address gt lt a ReferenceParameters gt lt w ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_Softwareldentity lt w ResourceURI gt lt w SelectorSet gt lt w Selector Name InstancelD gt InstancelD lt w Selector gt lt w SelectorSet gt lt a ReferenceParameters gt lt p Target gt lt p InstallFromSoftwareldentity_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 InstallFromSoftwareldentity_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoa
49. exe lt p URI gt lt p IPAddress gt 123 456 7 8 lt p IPAddress gt lt p ShareType gt 3 lt p ShareType gt lt p SharePath gt lt p SharePath gt lt p IlmageName gt imagename iso lt p lmageName gt lt p Workgroup gt workgroup lt p Workgroup gt lt p Username gt Administrator lt p Username gt lt p Password gt password lt p Password gt lt p Port gt lt p Port gt lt p HashType gt 1 lt p HashType gt lt p HashValue gt 123 lt p HashValue gt lt p CreatePartitionUsinglmage_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 CreatePartitionUsinglmage_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300793471 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 CreatePartitionUsinglmage_OUTPUT gt 13 6 Delete Partition This method is for deleting a partition on a storage device When this method is successfully executed the instance of DCIM_OpaqueManagementData representing the desired pa
50. firmware to update a component Supported protocols are FTP and HTTP IPAddress IP address of TFTP or NFS share ShareType Type of share NFS 0 TFTP 1 CIFS 2 FTP 3 HTTP 4 SharePath NFS sharepoint address ImageName Name of the ISO or IMG image Workgroup Name of the workgroup if applicable Username The username to be used to access the file Password The password to be used to access the file Port The port number to be used HashType The hash type MD5 1 SHA1 2 HashValue The hash value string based on the HashType parameter EXAMPLE wsman invoke a CreatePartitionUsinglmage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageService SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 130 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 u SUSERNAME p PASSWORD J CreatePartitionUsinglmage xml j utf 8 y basic The input file CreatePartitionUsinglmage xml is shown below lt p CreatePartitionUsinglmage_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt lt p PartitionIndex gt 1 lt p PartitionIndex gt lt p PartitionType gt 2 lt p PartitionType gt lt p 0SVolumeLabel gt label lt p OSVolumeLabel gt lt p URI gt ftp 123 456 7 89 dir filename
51. gt lt n1 AttributeName gt Privilege lt n1 AttributeName gt lt n1 CurrentValue gt 0 lt n1 CurrentValue gt lt n1 DefaultValue gt 0 lt n1 DefaultValue gt 231 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt lt n1 GroupID gt Users 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 Users 1 Privilege lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 UpperBound gt 511 lt n1 UpperBound gt lt n1 DCIM_iDRACCardInteger gt 19 6 Listing the iDRAC Card Inventory Integer Class using group D Enumerate the DCIM_iDRACCardInteger class to list all the integer type iDRAC attributes using the group IDs of these groups NIC and Users To retrieve the attributes of the groups set the GroupID to one of the following NIC or Users All the iDRAC attributes of type integer that are part of a given Group NIC and Users are retrieved In order to do this GroupID needs to be set to one of the following NIC or Users Enumerate the iDRACCardinteger class with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardInteger h SIPADDRESS V v
52. gt lt n1 Cache3SRAMType gt 2 lt n1 Cache3SRAMType gt lt n1 Cache3Size gt 20480 lt n1 Cache3Size gt lt n1 Cache3Type gt 5 lt n1 Cache3Type gt lt n1 Cache3WritePolicy gt 1 lt n1 Cache3WritePolicy gt lt n1 Characteristics gt 4 lt n1 Characteristics gt lt n1 CurrentClockSpeed gt 2900 lt n1 CurrentClockSpeed gt lt n1 ExternalBusClockSpeed gt 6400 lt n1 ExternalBusClockSpeed gt lt n1 FQDD gt CPU Socket 1 lt n1 FQDD gt lt n1 lnstancelD gt CPU Socket 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20120106113848 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20111214060202 000000 000 lt n1 LastUpdateTime gt lt n1 Manufacturer gt Intel lt n1 Manufacturer gt lt n1 MaxClockSpeed gt 3600 lt n1 MaxClockSpeed gt lt n1 Model gt Genuine Intel R CPU 2 90GHz lt n1 Model gt lt n1 NumberOfEnabledCores gt 8 lt n1 NumberOfEnabledCores gt lt n1 NumberOfEnabledThreads gt 16 lt n1 NumberOfEnabledThreads gt lt n1 NumberOfProcessorCores gt 8 lt n1 NumberOfProcessorCores gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 Voltage gt 1 2 lt n1 Voltage gt lt n1 DCIM_CPUView gt 64 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 9 5 iDRAC Card Inventory This section describes the implementation for the DCIM_iDRACCardView class The Dell iDrac Profile describes the platform s iDrac remote access card Each remote access card s
53. gt lt n1 ControllerFirmwareVersion gt 20 10 1 0066 lt n1 ControllerFirmwareVersion gt lt n1 Device gt 0 lt n1 Device gt lt n1 DeviceCardDataBusWidth gt 1 lt n1 DeviceCardDataBusWidth gt lt n1 DeviceCardManufacturer gt DELL lt n1 DeviceCardManufacturer gt lt n1 DeviceCardSlotLength gt 4 lt n1 DeviceCardSlotLength gt lt n1 DeviceCardSlotType gt PCI Express x8 lt n1 DeviceCardSlotType gt 171 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 DriverVersion xsi nil true gt lt n1 EncryptionCapability gt 0 lt n1 EncryptionCapability gt lt n1 EncryptionMode gt 0 lt n1 EncryptionMode gt lt n1 FQDD gt RAID Slot 1 1 lt n1 FQDD gt lt n1 Function gt 0 lt n1 Function gt lt n1 InstancelD gt RAID Slot 1 1 lt n1 InstancelD gt lt n1 KeylD xsi nil true gt lt n1 LastSystemlnventoryTime gt 20120116145459 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20120116145459 000000 000 lt n1 LastUpdateTime gt lt n1 PCIDevicelD gt 73 lt n1 PCIDevicelD gt lt n1 PCISlot gt 1 lt n1 PCISlot gt lt n1 PClSubDevicelD gt 1F4E lt n1 PCISubDevicelD gt lt n1 PClSubVendorID gt 1028 lt n1 PCISubVendorID gt lt n1 PClVendorID gt 1000 lt n1 PCIVendorID gt lt n1 PatrolReadState gt 1 lt n1 PatrolReadState gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 ProductName gt PERC H310 Adapter lt n1 ProductName gt lt n1 RollupStatus gt 1 lt n1 RollupStatus gt
54. gt lt n1 CurrentValue gt SAS lt n1 CurrentValue gt lt n1 CurrentValue gt SATA lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDSupportedDiskProt lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 PendingValue gt lt n1 PossibleValues gt SAS lt n1 PossibleValues gt lt n1 PossibleValues gt SATA lt n1 PossibleValues gt lt n1 DCIM_RAIDEnumeration gt The get instance method in section 16 2 uses this lt n1 DCIM_RAIDEnumeration gt InstancelD as input lt n1 AttributeName gt RAIDIloadBalancedMode lt n1 AttributeName gt lt n1 CurrentValue gt Disabled lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDloadBalancedMode lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue gt lt n1 PossibleValues gt Automatic lt n1 PossibleValues gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 DCIM_RAIDEnumeration gt lt n1 DCIM_RAIDEnumeration gt The set attribute method in section lt ntAttributeName gt 16 19 1 uses the FQDD KADESEN EITE AttributeName and PossibleValues lt n1 AttributeName gt fields as input lt n1 CurrentValue gt Warn only lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt 164 2 1 0 Dell Lifecycle Controller 2
55. gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt lt n1 GroupID gt Users 3 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 Users 3 Privilege lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 UpperBound gt 511 lt n1 UpperBound gt lt n1 DCIM_iDRACCardInteger gt 19 7 Listing the iDRAC Card Inventory String Class Enumerate the DCIM_iDRACCardString class to list all the string type iDRAC attributes Enumerate the iDRACCardString class with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardString h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_iDRACCardString gt lt n1 AttributeDisplayName gt DNS RAC Name 233 Version 2 1 0 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 AttributeDisplayName gt lt n1 AttributeName gt DNSRacName lt n1 AttributeName gt lt n1 CurrentValue gt idrac 59JJ6K1 lt n1 CurrentValue gt lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt NIC lt n1 GroupDisplayName gt lt n1 GroupID gt NIC 1 lt n1 GroupID gt lt n1 Ins
56. gt Matrox Graphics Inc lt n1 Manufacturer gt lt n1 PCIDevicelD gt 0534 lt n1 PCIDevicelD gt lt n1 PClSubDevicelD gt 04CF lt n1 PCISubDevicelD gt lt n1 PClSubVendorID gt 1028 lt n1 PCISubVendorID gt lt n1 PClVendorID gt 102B lt n1 PClVendorID gt lt n1 SlotLength gt 0002 lt n1 SlotLength gt lt n1 SlotType gt 0002 lt n1 SlotType gt lt n1 DCIM_VideoView gt 9 8 VFlash SD Card Inventory Each SD card partition is represented by an instance of DCIM_VFlashView that is used to represent the physical attributes of the virtual flash media such as total size available size category etc on which the partitions will reside See Section 13 for more information Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate the DCIM_VFlashView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_VFlashView h SIPADDRESS V v c dummy cert P 443 67 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_VFlashView gt lt n1 AvailableSize gt 1874 lt n1 AvailableSize gt lt n1 Capacity gt 1882 lt n1 Capacity gt lt n1 ComponentName gt vFlash SD Card lt n1 ComponentName gt lt n1 FQDD gt Disk vFlashCard 1 lt n1 FQDD gt lt n1 HealthStatus gt OK lt n1 HealthStatus gt lt n1 InitializedState gt Initialize
57. gt RAID Integrated 1 1 lt p Target gt lt p Key gt abc123 lt p Key gt lt p Keyid gt keyid lt p Keyid gt lt p SetControllerKey_INPUT gt OUTPUT This method requires an H700 or H800 controller to properly function Running this method on older controllers may yield this message lt n1 SetControllerKey_OUTPUT gt lt n1 Message gt Controller is not security capable lt n1 Message gt lt n1 MessagelD gt STOR022 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 SetControllerKey_OUTPUT gt 16 17 2 Locking the Virtual Disk LockVirtualDisk The LockVirtualDisk method encrypts the virtual disk Note that the virtual disk must first exist for this method to be successful Invoke LockVirtualDisk with the following parameters and syntax TARGET This parameter is the FQDD of the target virtual disk EXAMPLE wsman invoke a LockVirtualDisk http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J LockVirtualDisk xml j utf 8 y basic The input file LockVirtualDisk xml is shown below 183 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt p LockVirtualDisk_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DC
58. gt The specified job was deleted lt n1 Message gt lt n1 MessagelD gt SUP020 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeleteJobQueue_OUTPUT gt An XML syntax error could yield the following message Syntax Error input must be of the form 76 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 KEY VALUE KEY VALUE 10 2 3 List Jobs in Job Store The instances of this class will enumerate jobs in the job store along with status information Invoke enumerate job status with the following parameters and syntax JobID The JobID of a particular job instance to be queried To get the status of one particular job use the following EXAMPLE 1 wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LifecycleJob InstancelD JobID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic To get the status of all jobs use the following EXAMPLE 2 wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LifecycleJob h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT 1 amp 2 The method either returns a list of Concrete job objects or an error message Once job instancelD are returned via these status queries they can be used for job scheduling and setup Several examples of job objects are shown below lt n1 DCIM_LifecycleJob gt lt n1 I
59. http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCEnumeration h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt s Body gt lt wsen PullResponse gt Version 2 1 0 lt wsen EnumerationContext gt df22d0c1 d0f9 10f9 8194 215754cb2b78 lt wsen EnumerationContext gt lt wsen ltems gt lt n1 DCIM_FCEnumeration gt lt n1 AttributeDisplayName xsi nil true gt lt n1 AttributeName gt PortEnable lt n1 AttributeName gt lt n1 CurrentValue gt Disabled lt n1 CurrentValue gt lt n1 Dependency xsi nil true gt lt n1 FQDD gt FC Slot 4 1 lt n1 FQDD gt lt n1 InstancelD gt FC Slot 4 1 PortEnable lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 PossibleValuesDescription xsi nil true gt lt n1 DCIM_FCEnumeration gt lt wsen ltems gt lt wsen PullResponse gt lt s Body gt 23 6 Changing the FC Attributes SetAttribute The SetAttribute method can be used to change the FC configuration Invoke SetAttribute with the following parameters and syntax TARGET Obtained from the nstancelD field AttributeName Obtained from the AttributeName field AttributeValue Obtained from the PossibleValues field EXAMPLE wsman invoke a SetAttributes http schemas dmtf org wbem
60. information is represented by an instance of DCIM_iDRACCARDView class Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate DCIM_iDRACCardView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_iDRACCardView gt lt n1 FQDD gt iDRAC Embedded 1 1 lt n1 FQDD gt lt n1 FirmwareVersion gt 1 00 00 lt n1 FirmwareVersion gt lt n1 GUID gt 3132334f cOb7 3480 3510 00364c4c454 lt n1 GUID gt lt n1 IPMIVersion gt 2 0 lt n1 IPMIVersion gt lt n1 InstancelD gt iDRAC Embedded 1 1 IDRACinfo lt n1 InstancelD gt lt n1 LANEnabledState gt 1 lt n1 LANEnabledState gt lt n1 LastSystemInventoryTime gt 20120106113848 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20120110193815 000000 000 lt n1 LastUpdateTime gt lt n1 Model gt Enterprise lt n1 Model gt lt n1 PermanentMACAddress gt 78 2b cb 54 54 11 lt n1 PermanentMACAddress gt lt n1 ProductDescription gt This system component provides a complete set of remote management functions for Dell PowerEdge servers lt n1 ProductDescription gt lt n1 SOLEnabledState gt 1 lt n1 SOLEnabledState gt lt n1 URLString gt https 10 36 1 223 443 lt n1 URLString gt lt n1 DCIM_iDRACCardView gt 9 6 PCI Device Inventory T
61. lt n1 AdvertiseTypeDescriptions gt lt n1 AdvertiseTypes gt 1 lt n1 AdvertiseTypes gt lt n1 Caption xsi nil true gt lt n1 Description xsi nil true gt lt n1 ElementName xsi nil true gt lt n1 InstancelD gt DCIM CSRegisteredProfile 1 lt n1 InstancelD gt lt n1 OtherRegisteredOrganization xsi nil true gt lt n1 RegisteredName gt Base Server lt n1 RegisteredName gt lt n1 RegisteredOrganization gt 2 lt n1 RegisteredOrganization gt lt n1 RegisteredVersion gt 1 0 0 lt n1 RegisteredVersion gt lt n1 DCIM_RegisteredProfile gt DCIM_RegisteredProfile The above example shows that the DMTF Base Server profile version 1 0 0 is implemented 4 3 Discovering Implementation Namespace The implementation CIM namespace may be discovered from the interop root interop CIM namespace using the class CIM_ElementConformsToProfile that associates an instance of CIM_RegisteredProfile class with an instance of CIM_ComputerSystem class Profiles n a EXAMPLE filtered for CIM ComputerSystem wsman associators http schemas dmtf org wbem wscim 1 filter http schemas dell com wbem wscim 1 cim schema 2 CIM_RegisteredProfile InstancelID DCIM CSRegisteredProfile 1 dialect http schemas dmtf org wbem wsman 1 cimbinding associationFilter h SIPADDRESS P 443 u SUSERNAME p PASSWORD V v c dummy cert j utf 8 y basic N root interop OUTPUT lt n1 DCIM_ElementConformsToProfile gt lt n1 ConformantStandard gt
62. lt p VDPropNameArray gt SpanLength lt p VDPropNameArray gt lt p VDPropNameArray gt Size lt p VDPropNameArray gt lt p VDPropNameArray gt VirtualDiskName lt p VDPropNameArray gt lt p VDPropValueArray gt 4 lt p VDPropValueArray gt lt p VDPropValueArray gt 1 lt p VDPropValueArray gt lt p VDPropValueArray gt 2 lt p VDPropValueArray gt lt p VDPropValueArray gt 100 lt p VDPropValueArray gt lt p VDPropValueArray gt virtualdiskname lt p VDPropValueArray gt lt p CreateVirtualDisk_INPUT gt OUTPUT The instancelD output will identify this virtual disk in inventory before and after its creation by the CreateTargetedConfigJob Note however that the instancelD will change slightly after successful creation CreateVirtualDisk_OUTPUT NewVirtualDisk Address http schemas xmlsoap org ws 2004 08 addressing role anonymous ReferenceParameters ResourceURI http schemas dell com wbem wscim 1 cim schema 2 DCIM_VirtualDiskView SelectorSet Selector InstancelD DISK Virtual 267386880 RAID Integrated 1 1 __cimnamespace root dcim 193 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 RebootRequired YES ReturnValue 0 16 18 5 Creating a Sliced Virtual Disk CreateVirtualDisk The CreateVirtualDisk method is used to create a sliced virtual disk A sliced virtual disk is created if CreateVirtualDisk Size input parameter value is less than total size of the physical disks Add
63. n1 InstancelD gt JobName gt UnpackAndShare lt n1 JobName gt JobRunTimes gt 1 lt n1 JobRunTimes gt JobState xsi nil true gt JobStatus gt Failed lt n1 JobStatus gt LocalOrUtcTime xsi nil true gt Message gt Installation not supported for the selected operating system lt n1 Message gt lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 MessageArguments xsi nil true gt MessagelD gt OSD10 lt n1 MessagelD gt Name xsi nil true gt Notify xsi nil true gt OperatingStatus xsi nil true gt OperationalStatus xsi nil true gt OtherRecoveryAction xsi nil true gt Owner xsi nil true gt PercentComplete xsi nil true gt PrimaryStatus xsi nil true gt Priority xsi nil true gt RecoveryAction xsi nil true gt RunDay xsi nil true gt RunDayOfWeek xsi nil true gt RunMonth xsi nil true gt RunStartInterval xsi nil true gt ScheduledStartTime xsi nil true gt StartTime xsi nil true gt Status xsi nil true gt StatusDescriptions xsi nil true gt TimeBeforeRemoval gt 00000000000500 000000 000 lt n1 TimeBeforeRemoval gt lt n1 lt n1 lt n1 TimeOfLastStateChange xsi nil true gt TimeSubmitted xsi nil true gt UntilTime xsi nil true gt lt n1 DCIM_OSDConcreteJob gt 86 Version 2 1 0 Dell Lifecycle Con
64. n1 RateUnits gt 0 lt n1 RateUnits gt lt n1 RequestedState gt 12 lt n1 RequestedState gt lt n1 Resolution gt 1 lt n1 Resolution gt lt n1 SensorType gt 13 lt n1 SensorType gt lt n1 SettableThresholds xsi nil true gt lt n1 SupportedThresholds xsi nil true gt lt n1 SystemCreationClassName gt DCIM_ComputerSystem lt n1 SystemCreationClassName gt lt n1 SystemName gt srv system lt n1 SystemName gt lt n1 TransitioningToState gt 12 lt n1 TransitioningToState gt lt n1 UnitModifier gt 1 lt n1 UnitModifier gt lt n1 UpperThresholdCritical xsi nil true gt lt n1 UpperThresholdNonCritical xsi nil true gt lt n1 ValueFormulation gt 2 lt n1 ValueFormulation gt lt n1 DCIM_PSNumericSensor gt 23 Managing Fiber Channel FC Configuration The Fiber Channel Profile extends the management capabilities of referencing profiles by adding the capability to represent the configuration of fiber channel host bus adapters FC HBA The FC HBAs are modeled as views and attributes where there is a view for each individual controller and multiple attributes that allow FC HBA configuration Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 23 1 Listing the FC Inventory Attribute Class The FC Inventory contains the following attributes DCIM_FClAttribute 23 1 DCIM_FCStatistics 23 2 DCIM_FCString 23 3 DCIM_FCInteger 23 4 and DCIM_FCEnumeration 23 5 Enumerate FCAttribute class ith th
65. p AttributeValue gt lt p AttributeName gt BootSeqRetry lt p AttributeName gt lt p AttributeValue gt Disabled lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttributes_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt BIOS001 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttributes_OUTPUT gt 17 5 Listing the BIOS Inventory Integer Class Enumerate B OS nteger with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSInteger h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_BIOSInteger gt lt n1 AttributeName gt AcPwrRcvryUserDelay lt n1 AttributeName gt lt n1 CurrentValue gt 30 lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 InstancelD gt BIOS Setup 1 1 AcPwrRcvryUserDelay lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 LowerBound gt 30 lt n1 LowerBound gt lt n1 PendingValue xsi nil true gt lt n1 UpperBound gt 240 lt n1 UpperBound gt lt n1 DCIM_BlOSInteger gt 17 6 Listing the BIOS Inventory String Class Enumerate B OSString with the following parameters and
66. parameter source is an ordered array of InstancelDs of BootSourceSetting instances 141 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 The CurrentAssignedSequence attribute of each instance from Section 14 3 defines the instance s place in the zero based indexed boot sequence Note In order for the changes to be applied the CreateTargetedConfigJob method in Section 17 7 must be executed Invoke ChangeBootOrderBylnstancelD with the following parameters and syntax INSTANCE ID Obtained from the BootSourceSetting Class enumeration this example uses the field PL source Reference to the nstancelD attribute from Section 14 3 EXAMPLE wsman invoke a ChangeBootOrderBylInstancelD http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BootConfigSetting InstancelID INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ChangeBootOrderBylnstancelD xml j utf 8 y basic The input file ChangeBootOrderBylnstancelD xml is shown below lt p ChangeBootOrderBylnstancelD_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BootConfigSetting gt lt p source gt IPL Optical SATAEmbedded A 1 eb8aeb15796fb85f8e1447f0cfb8a68e lt p source gt lt p source gt UEFI Disk iDRACVirtual 1 2 1723 lt p source gt lt p source gt UEFI Disk iDRACVirtual 1 2 1723 lt p source gt lt p source gt UEFI Disk iDRACVirtual 1 3 1998 lt p
67. role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_CSPowerManagementService lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name SystemCreationClassName gt DCIM_SPComputerSystem lt wsman Selector gt lt wsman Selector Name CreationClassName gt DCIM_CSPowerManagementService lt wsman Selector gt lt wsman Selector Name SystemName gt systemmc lt wsman Selector gt lt wsman Selector Name Name gt pwrmgtsvc 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt wsa EndpointReference gt lt n1 ServiceProvided gt lt n1 UserOfService gt lt wsa EndpointReference gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_ComputerSystem lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name Name gt srv system lt wsman Selector gt lt wsman Selector Name CreationClassName gt DCIM_ComputerSystem lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt wsa EndpointReference gt lt n1 UserOfServi
68. schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300787520 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 DetachPartition_OUTPUT gt If the partition is already detached the following message may be displayed lt n1 DetachPartition_OUTPUT gt lt n1 Message gt Partition already detached lt n1 Message gt lt n1 MessagelD gt VF028 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 DetachPartition_OUTPUT gt 136 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 13 11 Export Data from Partition This method is for exporting the contents of a partition to a location specified by the user Use the following algorithm to successfully export data from an existing partition e Enumerate the DCIM_PersistentStorageService class e Invoke the ExportDataFromPartition method on the instance above with the following parameters PartitionIndex The PartitionIndex property of the DCIM_OpaqueManagementData instance that represents the partition to be f
69. syntax 208 Version 2 1 0 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSString h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_BIOSString gt lt n1 AttributeName gt UserLcdStr lt n1 AttributeName gt lt n1 CurrentValue xsi nil true gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 InstancelD gt BIOS Setup 1 1 UserLcdStr lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 MaxLength gt 62 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PendingValue xsi nil true gt lt n1 DCIM_BlOSString gt lt n1 DCIM_BIOSString gt lt n1 AttributeName gt AssetTag lt n1 AttributeName gt lt n1 CurrentValue xsi nil true gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 InstancelD gt BIOS Setup 1 1 AssetTag lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 MaxLength gt 10 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PendingValue xsi nil true gt lt n1 DCIM_BlOSString gt 17 7 Applying the Pending Values for BIOS amp Boot CreateTargetedConfigJob This method is called to apply the pending values created by the SetAttribute SetAttr
70. true gt lt n1 PossibleValues gt PXE lt n1 PossibleValues gt PossibleValues gt iSCSI lt n1 PossibleValues gt PossibleValues gt NONE lt n1 PossibleValues gt PossibleValues gt PXE lt n1 PossibleValues gt lt n1 PossibleValues gt NONE lt n1 PossibleValues gt lt n1 DCIM_NICEnumeration gt lt n lt n lt n 15 10 Setting the IscsiOffloadMode Attribute Version 2 1 0 The SetAttribute method is used to set or change the value of a CNA attribute Enable the N iCMode IscsiOffloadMode and FcoeOffloadMode personality attributes to enable the corresponding personalities NIC ISCSI and FCOE For Broadcom CNA cards the partitions on each port can be set to any personality NICMode can always be enabled or disabled for any of the given partitions For the IscsiOffloadMode and FcoeOffloadMode personalities up to two personalities can be enabled on each port For the Qlogic CNA cards partition three can be set to either NiICMode or IscsiOffloadMode Partition four can be set to either NICMode or FcoeOffloadMode Invoke the SetAttribute method with the following parameters from Section 15 1 and syntax Target FQDD attained through DCIM_NICEnumeration AttributeName Attained from AttributeName field AttributeValue A new value to assign to the specified NiCAttribute If this value is valid it is applied to the PendingValue property or the Currentvalue property of the specified
71. virtual Disk The property values are for the property names listed under VDPropNameArray VirtualDiskName Name of the virtual disk 1 15 character range Cachcade The valid input value is 1 required EXAMPLE wsman invoke a CreateVirtualDisk http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J CreateVDCacheCade xml j utf 8 y basic The input file CreateVDCacheCade xml is shown below lt p CreateVirtualDisk_INPUT xmlins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p PDArray gt Disk Bay 4 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p VDPropNameArray gt VirtualDiskName lt p VDPropNameArray gt lt p VDPropValueArray gt MyCacheCadeVD lt p VDPropValueArray gt lt p VDPropNameArray gt Cachecade lt p VDPropNameArray gt lt p VDPropValueArray gt 1 lt p VDPropValueArray gt lt p CreateVirtualDisk_INPUT gt OUTPUT The instancelD output identifies this virtual disk in the inventory before and after the CreateTargetedConfigJob method creates it Note however that the instancelD will change slightly after successful creation CreateVirtualDisk_OUTPUT NewVirtualDisk 197
72. wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ExportSystemConfiguration _OUTPUT gt 12 19 Import System Configuration This method is used to import the system configuration to the Lifecycle Controller from a file on a remote share Invoke ImportSystemConfiguration with the following parameters and syntax IPAddress This is the IP address of the target export server ShareName This is the directory path to the mount point FileName This is the target output file 122 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 ShareType Type of share NFS 0 CIFS 2 Username This is the username to the target export server Password This is the password to the target export server EXAMPLE wsman invoke a ImportSystemConfiguration http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ImportSystemConfiguration xml j utf 8 y basic The input file ImportSystemConfiguration xml is shown below lt p ImportSystemConfiguration _INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p IPAddress gt 123 456 7 8 lt p IPAddress gt lt p ShareName gt
73. wsman invoke a CreatePartition http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageService 128 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J CreatePartition xml j utf 8 y basic The input file CreatePartition xml is shown below lt p CreatePartition_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt lt p PartitionIndex gt 1 lt p PartitionIndex gt lt p Size gt 50 lt p Size gt lt p SizeUnit gt 1 lt p SizeUnit gt lt p PartitionType gt 2 lt p PartitionType gt lt p OSVolumeLabel gt label1 lt p O0SVolumeLabel gt lt p CreatePartition_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 CreatePartition_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300793055 lt wsman Selector gt lt wsman Selector Name __cimn
74. xsi nil true gt lt n1 RepresentsAuthorizationRights gt false lt n1 RepresentsAuthorizationRights gt lt n1 DCIM_LocalRolePrivilege gt Privilege setting capability is defined in the class CIM_RoleBasedManagementCapabilities associated with the C M_Privilege class instance This class contains the list of possible values used to assign privileges Look for the property ActivityQualifiersSupported To determine privilege setting capabilities 1 Acquire the class instance of CIM_Privilege of interest 2 Enumerate the associators of the CIM_Privilege instance and search for CIM_RoleBasedAuthorizationService class instance using EnumerateEPR mode 3 Enumerate the associators of the CIM_RoleBasedAuthorizationService instance and search for CIM_RoleBasedManagementCapabilities class instance using EnumerateEPR mode OUTPUT DCIM_LocalRoleBasedManagementCapabilities ActivitiesSupported 7 7 7 7 7 7 7 7 7 ActivityQualifiersSupported Login to DRAC Configure DRAC Configure Users Clear Logs Execute Server Control Commands Access Console Redirection Access Virtual Media Test Alerts Execute Di agnostic Commands Caption null Description null ElementName Local Role Based Management Capabilities InstancelD DCIM LocalRoleBasedManagementCapabilities QualifierFormatsSupported 9 9 9 9 9 9 9 9 9 SharedPrivilegeSupported false SupportedMethods 8 31 Dell Lifecycle Controller 2 Web Services Interface Gu
75. y basic OUTPUT FOR FIRST PORT NICView will return all ports and partitions lt n1 DCIM_NICView gt lt n1 BusNumber gt 1 lt n1 BusNumber gt lt n1 CurrentMACAddress gt 00 22 19 59 B2 1F lt n1 CurrentMACAddress gt lt n1 DataBusWidth gt 2 lt n1 DataBusWidth gt 148 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 DeviceNumber gt 0 lt n1 DeviceNumber gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 FunctionNumber gt 0 lt n1 FunctionNumber gt lt n1 InstancelD gt NIC Embedded 1 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20110113164831 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20110112171136 000000 000 lt n1 LastUpdateTime gt lt n1 PCIDevicelD gt 1639 lt n1 PCIDevicelD gt lt n1 PClSubDevicelD gt 0236 lt n1 PCISubDevicelD gt lt n1 PClSubVendorID gt 1028 lt n1 PCISubVendorID gt lt n1 PClVendorID gt 14E4 lt n1 PClVendorlID gt lt n1 PermanentMACAddress gt 00 22 19 59 B2 1F lt n1 PermanentMACAddress gt lt n1 PermanentiSCSIMACAddress gt 00 22 19 59 B2 20 lt n1 PermanentiSCSIMACAddress gt lt n1 ProductName gt Broadcom NetXtreme II Gigabit Ethernet 00 22 19 59 B2 1F lt n1 ProductName gt lt n1 SlotLength gt 2 lt n1 SlotLength gt lt n1 SlotType gt 2 lt n1 SlotType gt lt n1 DCIM_NICView gt lt n1 DCIM_NICView gt lt n1 BusNumber gt 2 lt n1 BusNumber gt lt n1 CurrentMACAddress gt 00 22 19 59 B
76. 1 ComponentName gt lt n1 FQDD gt Disk vFlashCard 1 lt n1 FQDD gt lt n1 HealthStatus gt OK lt n1 HealthStatus gt lt n1 InitializedState gt Initialized See Section 13 2 1 for the populated uninitialized fields lt n1 InitializedState gt lt n1 InstancelD gt Disk vFlashCard 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20110322110525 000000 000 lt n1 LastSystemIinventoryTime gt lt n1 LastUpdateTime gt 201 103221 10525 000000 000 lt n1 LastUpdateTime gt lt n1 Licensed gt true lt n1 Licensed gt lt n1 VFlashEnabledState gt true lt n1 VFlashEnabledState gt lt n1 WriteProtected gt false lt n1 WriteProtected gt lt n1 DCIM_VFlashView gt InitializedState Field indicates status of element to be initialized InstancelD nstance D of desired element for initialization 13 3 Enable Disable VFlash using VFlash State Change This method is used to enable or disable the virtual flash media device When the VFlashStateChange method is successfully executed the change will be dictated in the VFlashEnabledState parameter as shown in Section 13 2 1 and Section 13 2 3 Invoke VFlashStateChange with the following parameters and syntax RequestedState The state to set to 127 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Enable 1 Disable 2 EXAMPLE wsman invoke a VFlashStateChange http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_Persisten
77. 1 PossibleValues gt PossibleValues gt Off lt n1 PossibleValues gt lt n1 DCIM_BlOSEnumeration gt lt n 17 3 Changing the BIOS BootMode SetAttribute The SetAtiribute method can be used to apply changes to setting the BootMode configuration to a given instance Invoke SetAttribute with the following parameters from Section 17 1 and syntax TARGET Obtained from the InstancelD field AttributeName Obtained from the AttributeName field AttributeValue Obtained from the PossibleValues field EXAMPLE 206 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BIOSService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_BlOSService SystemName DCIM ComputerSystem Name DCIM BlOSService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttribute_BIOS xml j utf 8 y basic The input file SetAttribute_BlOS xml is shown below lt p SetAttribute_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BIOSService gt lt p Target gt BIOS Setup 1 1 lt p Target gt lt p AttributeName gt BootMode lt p AttributeName gt lt p AttributeValue gt Bios lt p AttributeValue gt lt p SetAttribute_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 Mess
78. 1 cim schema 2 root dcim DCIM_CPUView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_CPUView gt lt n1 CPUFamily gt B3 lt n1 CPUFamily gt lt n1 CPUStatus gt 1 lt n1 CPUStatus gt lt n1 Cache1Associativity gt 7 lt n1 Cache1Associativity gt lt n1 Cache1ErrorMethodology gt 5 lt n1 Cache1ErrorMethodology gt lt n1 Cache1Level gt 0 lt n1 Cache1Level gt lt n1 Cache1PrimaryStatus gt 1 lt n1 Cache1PrimaryStatus gt lt n1 Cache1SRAMType gt 2 lt n1 Cache1SRAMType gt lt n1 Cache1Size gt 256 lt n1 Cache1Size gt lt n1 Cache1Type gt 4 lt n1 Cache1Type gt lt n1 Cache1WritePolicy gt 0 lt n1 Cache1WritePolicy gt 63 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Cache2Associativity gt 7 lt n1 Cache2Associativity gt lt n1 Cache2ErrorMethodology gt 5 lt n1 Cache2ErrorMethodology gt lt n1 Cache2Level gt 1 lt n1 Cache2Level gt lt n1 Cache2PrimaryStatus gt 1 lt n1 Cache2PrimaryStatus gt lt n1 Cache2SRAMType gt 2 lt n1 Cache2SRAMType gt lt n1 Cache2Size gt 2048 lt n1 Cache2Size gt lt n1 Cache2Type gt 5 lt n1 Cache2Type gt lt n1 Cache2WritePolicy gt 0 lt n1 Cache2WritePolicy gt lt n1 Cache3Associativity gt 14 lt n1 Cache3Associativity gt lt n1 Cache3ErrorMethodology gt 5 lt n1 Cache3ErrorMethodology gt lt n1 Cache3Level gt 2 lt n1 Cache3Level gt lt n1 Cache3PrimaryStatus gt 1 lt n1 Cache3PrimaryStatus
79. 13 Detach ISO from VF lAS Mics e cece caseiccsite cts cateiveaaddences va teres adeanees sa tetwesttasceetee 93 11 3 14 Connect Network ISO Image ccccceeeeeeeeecceeeeeeeeeeeeeeeneaaaeeeeeeeeeeeeenaaaaes 94 11 3 15 Disconnect Network ISO IMage cccccceeeesececceeeeeeeeeeeeeeeeeeeeeeeeeeeeeenaaaaes 95 11 3 16 Skip ISO Image Boot vicieeecetl Aika lee Seneca ane gee 96 11 3 17 Get Network ISO Image Connection Information c ceeeeeeeeeeeeeeeeeees 96 11 3 18 Connect RFS ISO Image oss ce ccc secs cetvedeaecesdeisdencedcsecaasenade2ancsaweeadensgezenaee 97 11 3 19 Disconnect RFS ISO Image oscts coke ete cats ea tat eee eee hacia eee Gone 98 11 3 20 Get RFS ISO Image Connection Information ceeeeeeeeeeeeeeeeeeeeeees 99 11 3 21 Boot To Hard Drive HD sevsciceitcsiteccss scent cantectatetial alot attain ain els 99 11 3 22 Configurarable Boot to Network ISO eect e errr eeeeeenneeeeeeee rete 100 12 Lifecycle Controller Management Profile c cece eeeeececceeeeeeeeeeeeeeeaaeeeeeeeeeeeesssaeaeeeeeees 101 12 1 Collect System Inventory on Restart CSIOR eeeeceecceeeeeeeeeeeeeeeeeeeeeeeeeeeeneee 101 12 2 Part Replacement Configuration and Management cccceeeeeeeeeeetteeeeeeeeeeteeee 103 12 2 1 Create Config JOD sic saeco dc ak oe cca hees seca cv cae dee deen sah ce cae ch eeddunnasseceaeer tdenaenitae 103 12 2 2 Get LC Config Job Status iach ase ednngelel bad toate eatle ae
80. 1300820180 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt 217 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Backuplmage_OUTPUT gt The response contains a reference to the job class that will provide the status of the operation The return value is 4096 which indicates that the method operation is not yet complete 18 1 4 Monitoring Export status Backup process may take up to 30 minutes depending on host system configuration To monitor the backup status get the instance of the corresponding job Replace INSTANCE ID with the actual jobid from Section 18 1 1 18 1 2 or 18 1 3 EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LifecycleJob InstancelD INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001300820180 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Backup In Progress lt n1 JobStatus gt lt n1 JobUntilTime gt TIME_NA lt n1 JobUntilTime gt lt n1 Message gt Collecting Lifecycle Controller Firmware images lt n1 Message gt lt n1 MessagelD gt BAR063 lt n1 MessagelD gt lt n1 Name gt Backup Im
81. 170 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Restore In Progress lt n1 JobStatus gt lt n1 JobUntilTime gt TIME_NA lt n1 JobUntilTime gt lt n1 Message gt Collecting Lifecycle Controller Firmware images lt n1 Message gt lt n1 MessagelD gt BARO81 lt n1 MessagelD gt lt n1 Name gt Restore lmage lt n1 Name gt lt n1 PercentComplete gt 30 lt n1 PercentComplete gt lt n1 DCIM_LifecycleJob gt The status may be one of the following 221 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 e Ready for Restore Request has been received e Restore In Progress Restore process is currently in process e Failed Problem with the restore process check message for more information e Completed Restore process has completed with no issues 19 iDRAC Configuration This feature provides the ability to remotely list get and set the attributes on various monolithic and modular servers for the three Dell iDRAC classes through the command line e DCIM_iDRACCardEnumeration 19 1 e DCIM_iDRACCardinteger 19 4 e DCIM_iDRACCardString 19 6 Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 19 1 Listing the iDRAC Card Inventory Enumeration Class Enumerate the iDRACCardEnumeration class to list all the enumerate integer and string type iDRAC attributes Enumerate the iDDRACCardEnumeration class with th
82. 187 16 18 2 Getting the Available Disks GetAvailableDiskS eeeeeeeeeeeeeeeees 189 16 18 38 Checking the Create VD Parameters Validity CheckVDValues 190 16 18 4 Creating a Single Virtual Disk CreateVirtualDisk cceeeeeeeeeeeeee eee 191 16 18 5 Creating a Sliced Virtual Disk CreateVirtualDisk ccceeeeeeeeereeee 194 16 18 6 Creating a Cachecade Virtual Disk CreateVirtualDisk eeeeee 196 16 18 7 Deleting a Virtual Disk DeleteVirtualDisk cccceeeeeeeeeetteeeeeeeeeeeeeee 198 16 19 Setting Controller Attributes cccceeceeeeeeeeseeeeeeeeeeeeneeeeeeeeeeeeeeeeseeeneeeeeeeeeeesennees 198 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 17 18 19 16 19 1 Changing the Value of a RAID Controller Enumeration Attribute 198 16 19 2 Changing Multiple Values of RAID Controller Enumeration Attributes 199 16 19 3 Changing the Value of a RAID Controller Integer Attribute 200 16 19 4 Changing Multiple Values of RAID Controller Integer Attributes 201 16 20 Convert Physical Disks to RAID ConvertTORAID 2 eeeceeeeeeeeeeeeeeteeeeeeeeeeeeeee 202 16 21 Convert Physical Disks to Non RAID ConvertTONOnRAID eeeeeeeeeeeeeeeee eee 203 Managing BIOS Configuration sraiieccsct secre esesnhoceteile iia ueds teateienaedett eens 204 17 1 Listing the BIOS Inventory
83. 2 25 lt n1 CurrentMACAddress gt lt n1 DataBusWidth gt 2 lt n1 DataBusWidth gt lt n1 DeviceNumber gt 0 lt n1 DeviceNumber gt lt n1 FQDD gt NIC Embedded 4 1 lt n1 FQDD gt lt n1 FunctionNumber gt 1 lt n1 FunctionNumber gt lt n1 InstancelD gt NIC Embedded 4 1 lt n1 InstancelD gt lt n1 LastSystemlnventoryTime gt 20110113164831 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20110112152021 000000 000 lt n1 LastUpdateTime gt lt n1 PCIDevicelD gt 1639 lt n1 PCIDevicelD gt lt n1 PClSubDevicelD gt 0236 lt n1 PCISubDevicelD gt lt n1 PClSubVendorID gt 1028 lt n1 PCISubVendorlD gt lt n1 PClVendorID gt 14E4 lt n1 PClVendorID gt lt n1 PermanentMACAddress gt 00 22 19 59 B2 25 lt n1 PermanentMACAddress gt lt n1 PermanentiSCSIMACAddress gt 00 22 19 59 B2 26 lt n1 PermanentiSCSIMACAddress gt 149 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 ProductName gt Broadcom NetXtreme II Gigabit Ethernet 00 22 19 59 B2 25 lt n1 ProductName gt lt n1 SlotLength gt 2 lt n1 SlotLength gt lt n1 SlotType gt 2 lt n1 SlotType gt lt n1 DCIM_NICView gt 15 5 Listing the CNA Inventory NICCapabilities Class Enumerate the DCIM_NICCapabilities class with the following parameters and syntax EXAMPLE winrm e http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICCapabilities u USER p PASSWORD r https IPADDRESS wsman SkipCNcheck
84. 2 Web Services Interface Guide for Linux Version 2 1 0 Note When a user does not want to set a reboot type while creating a target job users should comment out the RebootJobType in the input xml User should not enter 0 or give no parameter in the input xml ScheduledStartTime amp UntilTime See Section 3 2 4 EXAMPLE wsman invoke a CreateTargetedConfigJob http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService SystemNam e DCIM ComputerSystem Name DCIM NICService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J CreateTargetedConfigJob_NIC xml j utf 8 y basic The input file CreateTargetedConfigJob_CNA xml is shown below lt p CreateTargetedConfigJob_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService gt lt p Target gt NIC Integrated 1 1 1 lt p Target gt lt p RebootJobType gt 1 lt p RebootJobType gt lt p ScheduledStartTime gt TIME_NOW lt p ScheduledStartTime gt lt p UntilTime gt 20111111111111 lt p UntilTime gt lt p CreateTargetedConfigJob_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned The status of this jobid can be checked within the job control provider in Section 10 CreateTargetedConfigJob_OUTPUT Job Address http schemas xmlsoap org ws 2004 08 addressing role anonymous ReferenceParam
85. 2 root dcim DCIM_NICService gt lt p Target gt NIC Embedded 1 1 lt p Target gt lt p AttributeName gt LegacyBootProto lt p AttributeName gt lt p AttributeValue gt PXE lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt NICO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 15 14 Setting CNA LAN Modes The SetAttributes method is used to set or change the values of a group of NIC attributes Invoke SetAttributes with the following parameters from Section 15 1 and syntax Target FQDD attained through DCIM_NiCEnumeration AttributeName Attained from AttributeName field AttributeValue A new value to assign to the specified NiCAttribute If this value is valid it will be applied to the PendingValue property or the Currentvalue property of the specified NiCAttribute Possible choices are attained from PossibleValues field EXAMPLE wsman invoke a SetAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NIC Service SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService Syst emName D 159 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 CIM Compu
86. 2004 08 addressing xmlins w http schemas dmtf org wbem wsman 1 wsman xsd gt lt a Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt a Address gt lt a ReferenceParameters gt 49 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt w ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_Softwareldentity lt w ResourceURI gt lt w SelectorSet gt lt w Selector Name InstancelD gt INSTANCEID lt w Selector gt lt w SelectorSet gt lt a ReferenceParameters gt lt p Target gt lt p InstallFromURI_INPUT gt In the above sample the URI IP ADDRESS must be replaced with the actual value of the IP address of the server that stores update content PATH TO EXE must be replaced with the applicable path to the executable FILE exe must be replaced with the executable name and INSTANCEID should be replaced with the actual InstancelD of the device to be updated OUTPUT When this method is executed a jobid or an error message is returned This jobid can then be used for subsequent processing with job control provider in section 10 InstallFromURI_OUTPUT Job Address http schemas xmlsoap org ws 2004 08 addressing role anonymous ReferenceParameters ResourceURI http schemas dell com wbem wscim 1 cim schema 2 DCIM_SoftUpdateConcreteJob SelectorSet Selector InstancelD JID_001276741475 ___cimnamespace root dcim Return
87. 3 List Jobs in Job Store 4 42 bei ocelot iene dldians tien gaubdandieadeiedataadaatiiesad 77 11 Operating System Deployment sa i ce com nected aeneiene niece anh enenes 78 11 1 OS Deployment Profile Implementation Conformance cccceeeeeeeeetteeeeeeeeeeeeeeee 79 11 2 Checking OS Deployment Service Availability 0 0 0 0 cece tere eeeeetnneeeeeeeeeeteeee 79 11 3 OS Deployment Method Invocation Examples ccccecceeeeeeeeeeeeeeeeeeeneeeeeeeeeeeeeee 80 11 3 1 Get Driver Pack Information ic 0c Sissel tee ae eee 80 11 3 2 Unpack Selected Drivers and Attach to Host OS as USB Device 82 11 3 3 Detach Emulated USB Device Containing DriverS ccccseeeeeeeeeeeeeeeeteees 83 11 3 4 Unpack Selected Drivers and Copy to Network Share cccceseeceeeeees 84 11 3 5 Check Job Statusi ee aE catenin EE REEERE RA 85 11 3 6 Boot to Network ISO se cates cua Hdd doesn wa ann aaa nis 87 11 3 7 Detach Network ISO USB DeViC0 c cceeecececceeeeeeeeeteeeeeeeeeeeeeeeeeeeeenaaaaes 88 11 326 Boot TO PXE estas te teeter paaria tiara etna date encanta oenattid tan 89 11 3 9 Get Host MAC Address Information eceeeeeeeeeeeeeeeeeeneaeeeeeeeeeeeeeeeaaees 89 11 3 10 Download ISO to VFlash ac ccc eee ese eee cae No tects enccee teense deaact 90 1138 11 _ Bo tto ISO from ViEIAS Meste tele ci seticeeel A tener eee eases 92 11 3 12 Delete ISO from VElASNs 4 335 iveeee sta een react eire need eon eto 92 11 3
88. 34 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 PartitionIndex The PartitionIndex property of the DCIM_OpaqueManagementData instance that represents the partition to be attached 1 to 16 EXAMPLE wsman invoke a AttachPartition http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageServic e SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J AttachPartition xml j utf 8 y basic The input file AttachPartition xml is shown below lt p AttachPartition_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt lt p PartitionIndex gt 12 lt p PartitionIndex gt lt p AttachPartition_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 AttachPartition_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300797529 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim
89. 43 u SUSERNAME p PASSWORD J SetAttribute_Enumeration_RAID_Controller xml j utf 8 y basic The input file SetAttribute_Enumeration_RAID_Controller xml is shown below lt p SetAttribute_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p AttributeName gt RAIDBatteryLearnMode lt p AttributeName gt lt p AttributeValue gt Disabled lt p AttributeValue gt lt p SetAttribute_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The method was successful lt n1 Message gt lt n1 MessagelD gt STORO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set Pending Value lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 16 19 2 Changing Multiple Values of RAID Controller Enumeration Attributes The SetAttributes method is used to set or change multiple values of RAID controller or virtual disk attributes The following example shows setting multiple virtual disk attributes To set multiple controller attributes use the FQDD of the controller for the Target and the AttributeName and AttributeValue Invoke SetAttributes with the following parameters from Section 16 1 and syntax TARGET Obtained from the FQDD field AttributeName Obtained from the AttributeName field 199 Dell Lifecycle Controller 2 Web Servi
90. 817718 lt p JobArray gt lt p StartTimelnterval gt TIME_NOW lt p StartTimelnterval gt lt p UntilTime gt 20100730121500 lt p UntilTime gt lt p SetupJobQueue_INPUT gt Here the JobArray element shows a list of Jobids that are to be scheduled to run TIME_NOW is a special value that represents running the tasks immediately The UntilTime value specifies the maintenance windows Once a task is not run after passing UntilTime it should not be run again Upon successfully invocation of the SetupJobQueue method the aforementioned times will be listed when enumerated in Section 10 2 3 OUTPUT Returns 0 for success or non zero for error with messagelD and message description lt n1 SetupJobQueue_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetupJobQueue_OUTPUT gt Entering an invalid jobid or XML syntax error can yield one of the following error messages lt n1 SetupJobQueue_OUTPUT gt lt n1 Message gt Job Cannot be Scheduled lt n1 Message gt lt n1 MessagelD gt SUPO16 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 SetupJobQueue_OUTPUT gt lt n1 SetupJobQueue_OUTPUT gt lt n1 Message gt Invalid Job Id lt n1 Message gt lt n1 MessagelD gt SUPO1 1 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 SetupJobQueue_OUTPUT gt 75 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 10 2 2 Delete Job
91. 9 6 2 Remote Inventory Method Invocation Get Software INVeNtOry ccs 39 7 Firmware CAL Cede ak ae Sad eg ce ee ade Acres ada ae tees deans iat eed daria age 41 7 1 Software Update Profile Specification ccccccccceeeeeeeesecceceeeeeeeeeeeeeaaaeeeeeeeeeeeessaaaes 41 L 2 ROMDACKFINMWAlE isena a Fens Viaa ses veaes cena aa a aa aeeai 41 7 2 1 Request Rollback Image ennenen 41 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 7 2 2 Create Reboot doDs fad ea anise wcaa ea aad cae Sena eae net 41 7 2 3 Schedule Update Jobs x35 havc pactdecdiaeeereheidel dan gearpuustdontaatepnaeeideceigend 41 72 4 Monitor Update Jhs aii acai ceancoonacidteea ional dots eeecdetadtl eens 41 iis BIOS Firmware ROMDAGk ferieicheviee ohh uasericheras teks vaweschancighe A E AEEY 42 7 4 NIC Firmware Rolla ck cccccccccccccccceeceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeseeeeseeeeeeeeegs 44 7 5 Update from Network SOUKGE vs sicc225 cared atiree ct eae heals de nt epee eae 45 7 5 1 Request Update Downloads iicccsscteteiicteaydentide eyed deeetedetaeees 46 7 5 2 Monitor Download Status sz css Geoie ccc seee acdaselccehg dee adds uceeng ee caneaees sdeks etencars 46 7 5 3 Reboot to Perform WPGale sce a tletes oe ctetant estat oe ceed teed ote ant oe ua aay 46 7 5 4 Walltor Job Completion c ccsctctiec ti ctSenieictersdcheede ahd tare bciae es seheterebte seb het 46 TO Delete Job
92. 9 000000 000 lt n1 LastUpdateTime gt lt n1 PCIDevicelD gt 73 lt n1 PCIDevicelD gt lt n1 PCISlot gt 1 lt n1 PCISlot gt lt n1 PClSubDevicelD gt 1F4E lt n1 PCISubDevicelD gt lt n1 PClSubVendorID gt 1028 lt n1 PCISubVendor D gt lt n1 PClVendorID gt 1000 lt n1 PCIVendorID gt lt n1 PatrolReadState gt 1 lt n1 PatrolReadState gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 ProductName gt PERC H310 Adapter lt n1 ProductName gt lt n1 RollupStatus gt 1 lt n1 RollupStatus gt lt n1 SASAddress gt 5782BCB00C577600 lt n1 SASAddress gt lt n1 SecurityStatus gt 0 lt n1 SecurityStatus gt lt n1 SlicedVDCapability gt 1 lt n1 SlicedVDCapability gt lt n1 DCIM_ControllerView gt 16 8 Getting a RAID ControllerView Instance The get command can be invoked using a particular instance D attained from listing the inventory Get a RAID ControllerView instance with the following parameters and syntax INSTANCEID This is obtained from the enumeration in Section 16 7 in which this example would use RAID Slot 1 1 as an instancelD EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_ControllerView InstancelD INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_ControllerView gt lt n1 Bus gt 1 lt n1 Bus gt lt n1 CacheSizelnMB gt 0 lt n1 CacheSizelnMB gt lt n1 CachecadeCapability gt 0 lt n1 CachecadeCapability
93. ASSWORD J FormatPartition xml j utf 8 y basic The input file FormatPartition xml is shown below lt p FormatPartition_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt lt p PartitionIndex gt 13 lt p PartitionIndex gt lt p FormatType gt 4 lt p FormatType gt lt p FormatPartition_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 FormatPartition_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300793541 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 FormatPartition_OUTPUT gt 133 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 13 8 Modify Partition This method is used for modifying the changeable attributes of a partition Use the following algorithm to successfully modify an existing partition e Enumerate the DCIM_PersistentStorageService class e Invoke ModifyPartition method on the i
94. Attributes_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 ApplyAttributes_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001299683297 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt 21 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ApplyAttributes_OUTPUT gt 5 3 3 Modify Account State using iDRAC Attributes When the account setting capability allows the user account may be enabled or disabled by invoking the method ApplyAttributes method on the Enable property Confirmation of the change can be obtained by enumerating the DCIM_iDRACCardString class Section 19 6 EXAMPLE wsman invoke a ApplyAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_ iDRACCardService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_iDRACCardService SystemName DCIM ComputerSystem Name DCIM iDRACC ardService h SIPA
95. CIM_RAIDInteger h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_RAIDInteger gt lt n1 AttributeName gt RAIDmaxPDsInSpan lt n1 AttributeName gt lt n1 CurrentValue gt 32 lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDmaxPDsInSpan lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 PendingValue gt lt n1 UpperBound gt 0 lt n1 UpperBound gt lt n1 DCIM_RAIDInteger gt lt n1 DCIM_RAIDInteger gt lt n1 AttributeName gt RAIDmaxSpansInVD lt n1 AttributeName gt lt n1 CurrentValue gt 8 lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDmaxSpansInVD lt n1 InstancelD gt 166 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 lsReadOnly gt true lt n1 lsReadOnly gt Version 2 1 0 lt n1 LowerBound gt 0 lt n1 LowerBound gt The get instance method in lt n1 PendingValue gt Section 16 4 used this lt n1 UpperBound gt 0 lt n1 UpperBound gt lt n1 DCIM_RAIDInteger gt lt n1 DCIM_RAIDInteger gt lt n1 AttributeName gt RAIDrebuildRate lt n1 AttributeName gt lt n1 CurrentValue gt 11 lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDrebu
96. Controller e Remotely schedule and track the status of update tasks jobs e Remotely manage the Part Replacement feature by allowing retrieving and setting auto update and auto system inventory sync e Enable re initiation of Lifecycle Controller Auto Discovery feature e Enhancement of Operation System Deployment capabilities by supporting the downloading of an ISO image to a Dell VFlash SD Card and booting to the ISO image on the VFlash SD Card e NIC configuration enables the ability to get and set NIC attributes that are configurable using NIC Option ROM or NIC UEFI HII e Remote RAID configuration allows users to remotely query and configure the Hardware Raid of the system e Multiple HW Inventory views allows users to remote query the inventory of Hardware 3 1 Format for WSMAN CLI Examples in Document The examples of WinRM and WSMANCLI command line invocations in this document are formatted for readability and often span multiple lines in the document In actual use scripted or hand typed invocations are contained on one line The examples also use substitute values for the target iDRAC IP address username with ExecuteServerCommand privilege password and other site specific information Actual use of these examples would require using values for IP Address username and password etc that are valid These values are represented in the examples as follows Target iDRAC IP address SIPADDRESS iDRAC Username SUSERNAME iDRAC
97. Controller 2 Web Services Interface Guide for Linux lt n1 PendingValue xsi nil true gt lt n1 DCIM_NICString gt 15 3 Listing the CNA Inventory Integer Class Enumerate the DCIM_N CInteger class with the following parameters and syntax EXAMPLE Version 2 1 0 wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICInteger h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_NICIinteger gt lt n1 AttributeName gt BinkLeds lt n1 AttributeName gt lt n1 CurrentValue gt 0 lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 BlnkLeds lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 PendingValue xsi nil true gt lt n1 UpperBound gt 15 lt n1 UpperBound gt lt n1 DCIM_NICInteger gt lt n1 DCIM_NICInteger gt lt n1 AttributeName gt LunBusyRetryCnt lt n1 AttributeName gt lt n1 CurrentValue gt 0 lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 LunBusyRetryCnt lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IlsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 PendingValue xsi nil true gt lt n1 UpperBound gt 60 lt n1 UpperBound gt
98. Controller 2 Web Services Interface Guide for Linux Version 2 1 0 IPAddress This is the IP address of the target export server ShareName This is the directory path to the mount point FileName This is the target output file ShareType Type of share NFS 0 CIFS 2 Username This is the username to the target export server Password This is the password to the target export server Workgroup This is the applicable workgroup EXAMPLE wsman invoke a ExportHWInventory http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ExportHWinventory xml j utf 8 y basic The input file ExportHWInventory xml is shown below lt p ExportHWinventory_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p IPAddress gt 123 456 7 8 lt p IPAddress gt lt p ShareName gt sharename lt p ShareName gt lt p FileName gt filename txt lt p FileName gt lt p ShareType gt 0 lt p ShareType gt lt p Username gt admin lt p Username gt lt p Password gt password lt p Password gt lt p Workgroup gt workgroup lt p Workgroup gt lt p ExportHWInventory_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 ExportHWInventory_OUTPUT gt
99. CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 InstancelD gt BIOS Setup 1 1 ReportKbdErr lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Report lt n1 PossibleValues gt lt n1 PossibleValues gt NoReport lt n1 PossibleValues gt SAN DCIMBIOSENUMECALON The set attribute method in Section 17 3 will use the AttributeName and lt n1 DCIM_BlOSEnumeration gt lt n1 AttributeName gt BootMode lt n1 AttributeName gt PossibleValues fields as input lt n1 CurrentValue gt UVefi lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 InstancelD gt BIOS Setup 1 1 BootMode lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Bios lt n1 PossibleValues gt lt n1 PossibleValues gt Uefi lt n1 PossibleValues gt lt n1 DCIM_BlOSEnumeration gt lt n1 DCIM_BlOSEnumeration gt lt n1 AttributeName gt BootSeqRetry lt n1 AttributeName gt lt n1 CurrentValue gt Disabled The set attributes method in Section lt n1 CurrentValue gt 17 4 will use the AttributeName and lt n1 DefaultValue PossibleValues fields as input xsi nil true gt lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 InstancelD gt BIOS Se
100. CurrentValue gt lt n1 Dependency xsi nil true gt lt n1 FQDD gt FC Slot 4 1 lt n1 FQDD gt lt n1 InstancelD gt FC Slot 4 1 PortNumber lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 PendingValue xsi nil true gt lt n1 UpperBound gt 2 lt n1 UpperBound gt lt n1 DCIM_FClinteger gt lt wsen ltems gt lt wsen PullResponse gt lt s Body gt lt s Envelope gt 23 2 Listing the FC Inventory Statistics Class Enumerate FCStatistics class ith the following parameters and syntax EXAMPLE 246 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCStatistics h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt s Body gt lt wsen PullResponse gt lt wsen EnumerationContext gt d84b4590 dOf9 10f9 8180 215754cb2b78 lt wsen EnumerationContext gt lt wsen ltems gt lt n1 DCIM_FCStatistics gt lt n1 FCInvalidCRCs gt 0 lt n1 FCInvalidCRCs gt lt n1 FCLinkFailures gt 0 lt n1 FCLinkFailures gt lt n1 FCLossOfSignals gt 0 lt n1 FCLossOfSignals gt lt n1 FCRxKBCount gt 0 lt n1 FCRxKBCount gt lt n1 FCRxSequences xsi nil true gt lt n1 FCRxTotalFrames gt 0 lt n1 FCRxTotalFrames gt lt n1 FCTxKBCount gt 0 lt n1 FCTxKBCount gt lt n1 FCTxSequences xsi nil true gt lt n1 FCTx
101. Currentvalue property of the specified NiCAttribute The range of acceptable strings is present in the MinLength and MaxLength fields EXAMPLE 157 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService SystemNam e DCIM ComputerSystem Name DCIM NICService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD J SetAttribute_CNA_VirtMacAddr xml j utf 8 y basic The input file SetAttribute_NIC xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService gt lt p Target gt NIC Integrated 1 1 2 lt p Target gt lt p AttributeName gt VirtMacAddr lt p AttributeName gt lt p AttributeValue gt 11 22 33 44 55 66 lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT SetAttribute_OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt NICO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 15 13 Setting the LegacyBootProto Attribute The SetAttribute method is used to set or change the value o
102. DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300730066 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 DownloadServerPublicKey_OUTPUT gt 12 7 Download Client Certificates This method is used to download the client private certificate password and root certificate to Lifecycle Controller A base64 encoded string containing the certificate authentication CA private key content is required as input Invoke DownloadClientCerts with the following parameters and syntax 111 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a DownloadClientCerts http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J DownloadClientCerts xml j utf 8 y basic The input file DownloadClientCerts xml is shown below lt p DownloadClientCerts_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p KeyContent gt BEGIN RSA PRIVATE KEY Proc Type 4 ENCRYPTED DEK I
103. DD of the target virtual disk Its value will depend on the number of virtual disks obtainable in Section 16 10 EXAMPLE wsman invoke a GetDHSDisks http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J GetDHSDisks xml j utf 8 y basic The input file GetDHSDisks xml is shown below lt p GetDHSDisks_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt DISK Virtual 1 RAID Integrated 1 1 lt p Target gt lt p GetDHSDisks_INPUT gt OUTPUT GetDHSDisks_OUTPUT ReturnValue 0 The following message may be fixed by deleting the job queue as referenced in Section 10 2 2 lt n1 GetDHSDisks_OUTPUT gt lt n1 Message gt Configuration already committed cannot set configuration lt n1 Message gt lt n1 MessagelD gt STORO23 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 GetDHSDisks_OUTPUT gt 16 16 2 Assigning the Hot Spare AssignSpare The AssignSpare method is used to assign a physical disk as a dedicated HotSpare for a virtual disk VD or as a global HotSpare Invoke AssignSpare with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_PhysicalDiskView Section 16 9 180
104. DDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic J DracCard_AccountChange xml The input file DracCard_ AccountChange xml is shown below lt p ApplyAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardService gt lt p Target gt iDRAC Embedded 1 lt p Target gt lt p AttributeName gt Users 4 Enable lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt Users 4 Password lt p AttributeName gt lt p AttributeValue gt PASSWORDHERE lt p AttributeValue gt lt p ApplyAttributes_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned ApplyAttributes_OUTPUT lt n1 ApplyAttributes_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001299683957 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt 22 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ApplyAttrib
105. DDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J GetAvailableDisks xml j utf 8 y basic The input file GetAvailableDisks xml is shown below lt p GetAvailableDisks_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p DiskType gt 0 lt p DiskType gt lt p Diskprotocol gt 0 lt p Diskprotocol gt lt p DiskEncrypt gt 0 lt p DiskEncrypt gt lt p Raidlevel gt 2 lt p Raidlevel gt lt p GetAvailableDisks_INPUT gt OUTPUT lt n1 GetAvailableDisks_OUTPUT gt lt n1 PDArray gt Disk Bay 0 Enclosure Internal 0 0 RAID Integrated 1 1 Disk Bay 1 Enclosure Internal 189 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 0 0 RAID Integrated 1 1 lt n1 PDArray gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 GetAvailableDisks_OUTPUT gt 16 18 3 Checking the Create VD Parameters Validity CheckVDValues The CheckVDValues method is used to determine possible sizes of virtual disk as well default settings given a RAID level and set of disks The VDPropArray is filled in with Size and other values for a successful execution of the method Invoke CheckVDValues with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 PDArray This parameter is the list of physical disk FQDDs Section 16 9 VDPropNameArraylIn
106. DN http msdn microsoft com en us library aa384469 VS 85 aspx 5 Openwsman CLI http www openwsman org project wsmancli DMTF Common Information Model CIM Infrastructure Specification DSP0004 http www dmif org standards published_documents DSP0004 2 5 0 pdf List of PCI IDs 10 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 http pciids sourceforge net pci ids Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 3 Overview The remote interface guidelines provided in this document are illustrated by command line examples of the WS MAN protocol Web services APIs that expose the remote management capabilities of the Dell Lifecycle Controller The command line examples are from the Microsoft Windows and Linux environments using WinRM and WSMANCLI respectively The Lifecycle Controller remote management capabilities are organized by management domain and documented in Dell CIM Profile specifications The remote enablement feature for Lifecycle Controller 2 0 provides the following capabilities e Remotely get inventory of the BIOS component firmware and embedded software including version information of both the installed as well as available cached versions e Remote update of BIOS component firmware Diagnostic content DRAC content driver pack power supplies from remotely located Dell Update Packages or cached images located in the Lifecycle
107. Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Document Status Published Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 This document is for informational purposes only and may contain typographical errors and technical inaccuracies The content is provided as is without express or implied warranties of any kind 2012 Dell Inc All rights reserved Dell and its affiliates cannot be responsible for errors or omissions in typography or photography Dell the Dell logo and PowerEdge are trademarks of Dell Inc Intel and Xeon are registered trademarks of Intel Corporation in the U S and other countries Microsoft Windows and Windows Server are either trademarks or registered trademarks of Microsoft Corporation in the United States and or other countries Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products Dell disclaims proprietary interest in the marks and names of others December 2012 Rev 2 1 0 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 CONTENTS d INOUN eins t cacti aa ede ete daa A TA O R a a 10 2 Refereht S dyse a a E sida sees EE E E a E aa at 10 CRO VINEN EREA sol EDE E E AREE O EEE EDS 12 3 1 Format for WSMAN CLI Examples in DoCument c cccceeeeeeeeeeeeneeeeeeeeeeeeeeeeaaees 12 3 2 WS Man Security amp Time Par
108. Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 u SUSERNAME p PASSWORD J CreateSlicedVirtualDisk xml j utf 8 y basic The input file CreateSlicedVirtualDisk xml is shown below lt p CreateVirtualDisk_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p PDArray gt Disk Bay 0 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p PDArray gt Disk Bay 1 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p VDPropNameArray gt RAIDLevel lt p VDPropNameArray gt lt p VDPropNameArray gt SpanDepth lt p VDPropNameArray gt lt p VDPropNameArray gt SpanLength lt p VDPropNameArray gt lt p VDPropNameArray gt Size lt p VDPropNameArray gt lt p VDPropNameArray gt VirtualDiskName lt p VDPropNameArray gt lt p VDPropNameArray gt StartingLBA lt p VDPropNameArray gt lt p VDPropValueArray gt 4 lt p VDPropValueArray gt lt p VDPropValueArray gt 1 lt p VDPropValueArray gt lt p VDPropValueArray gt 2 lt p VDPropValueArray gt lt p VDPropValueArray gt 100 lt p VDPropValueArray gt lt p VDPropValueArray gt virtualdiskname lt p VDPropValueArray gt lt p VDPropValueArray gt OxF FFFFFFFFFFFFFFF lt p VDPropValueArray gt lt p CreateVirtualDisk_INPUT gt OUTPUT The instancelD output identifies this virtual disk in the inventory before and after the CreateTa
109. Enumeration Class 0 ceeeeceeeeeeeee eee eeeeeeeneeeeeeeeeeteeee 204 17 2 Getting a BIOS Enumeration Instance ccccccceeeeeeeeeeeeceeeeeeeeeeeenesaeeeeeeeeeeeeneae 206 17 3 Changing the BIOS BootMode SetAttribute cceeceeeeeeeeeeeeeeeeeeetneeeeeeeeeeteeee 206 17 4 Setting Multiple BIOS BootMode ParameterS cccccccceeeeeeeeeeeeeeeeeeettneeeeeeeeeeeeeee 207 17 5 Listing the BIOS Inventory Integer Class c ccceceeeeeeeeeeeeeeeeeeeeeteeeeneeeeeeeeeeeneeee 208 17 6 Listing the BIOS Inventory String Class cc cceceeeee eee eeeeeneeeeeeeeeeteeeenaeeeeeeeeeeneeee 208 17 7 Applying the Pending Values for BIOS amp Boot CreateTargetedConfigJob 209 17 8 Deleting the Pending Values for BIOS amp Boot DeletePendingConfiguration 211 17 9 Managing BIOS PaSSwordss cscif26 24 2 2 ae nddennde oe ceceverscantasttcen ctcecdaretaseaartsecensumsads 211 17 9 1 Setting the BIOS Password sctecrece ees watonel onesie teceoel ener aeaiemesl cessed 211 17 9 2 Create Target Configuration JOD ecciecinccscatteeeeceelenot tepeee dtodd 213 17 9 3 Monitor Set BIOS Password Status cccceecieeeeceeeeeeeeeeeeeeeeetaeeeeeeeeeeeeees 213 17 10 Listing the BIOS Inventory Password ClaSS ccccceeeeeeeeeeeeeeeeeeeeeennneeeeeeeeeeteeee 214 Exporting and Importing Server Profile cccceeeeesesececeeeeeeeeeeesecaaeeeeeeeeeeeeeessaaaeeeeeees 215 18 1 Exporting Server Profile
110. FaultDetail gt lt s Detail gt lt s Fault gt 11 3 7 Detach Network ISO USB Device This method is used to detach the emulated USB device that had been attached by previously calling the BootToNetworkISO method Invoke DetachDrivers with the following syntax EXAMPLE wsman invoke a DetachDrivers http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM O0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT 88 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 The return will be 0 for success or an integer for error or job in execution An error containing a Message and MessagelD similar to the following can occur from a timing issue such as not allowing other methods to finish processing prior to invoking this method lt n1 DetachDrivers_OUTPUT gt lt n1 Message gt Unable to retrieve Lifecycle Controller handle lt n1 Message gt lt n1 MessagelD gt OSD7 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 DetachDrivers_OUTPUT gt 11 3 8 Boot To PXE The BootToPXE method is used to boot to server using the PXE mechanism which is to reboot the host server and boot to PXE Invoke to boot target system to PXE with the following sy
111. IM_ComputerSystem Version 2 1 0 CreationClassName DCIM_iDRACCardService SystemName DCIM ComputerSystem Name DCIM iDRACC ardService h SIPADDRESS V v c dummy cert P 443 u USERNAME p PASSWORD J DRACService_SetAttribute_group_enumerate xml j utf 8 y basic The input file DRACService_SetAttribute_group_enumerate xml is shown below lt p ApplyAttributes_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardService gt lt p Target gt iDRAC Embedded 1 lt p Target gt lt p AttributeName gt NIC 1 Enable lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt NIC 1 Selection lt p AttributeName gt lt p AttributeValue gt Dedicated lt p AttributeValue gt lt p AttributeName gt NIC 1 Speed lt p AttributeName gt lt p AttributeValue gt 100 lt p AttributeValue gt lt p AttributeName gt NIC 1 Autoneg lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt NIC 1 Duplex lt p AttributeName gt lt p AttributeValue gt Full lt p AttributeValue gt lt p AttributeName gt NIC 1 DNSRegister lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt NIC 1 DNSDomainNameFromDHCP lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt NIC 1 VLanEnable lt p AttributeName gt lt p AttributeValue gt Dis
112. IM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService 121 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ExportSystemConfiguration xml j utf 8 y basic The input file ExportSystemConfiguration xml is shown below lt p ExportSystemConfiguration _INPUT xmins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p IPAddress gt 123 456 7 8 lt p IPAddress gt lt p ShareName gt sharename lt p ShareName gt lt p FileName gt filename xml lt p FileName gt lt p ShareType gt 0 lt p ShareType gt lt p Username gt admin lt p Username gt lt p Password gt password lt p Password gt lt p ExportSystemConfiguration_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 ExportSystemConfiguration_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300792435 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt
113. IM_RAIDService gt lt p Target gt Disk Virtual 0 RAID Integrated 1 1 lt p Target gt lt p LockVirtualDisk_INPUT gt OUTPUT This method requires an H700 or H800 controller to properly function as does the LockVirtualDisk method If the key is not set by LockVirtualDisk the following message may be displayed lt n1 LockVirtualDisk_OUTPUT gt lt n1 Message gt Controller is not security capable lt n1 Message gt lt n1 MessagelD gt STORO22 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 LockVirtualDisk_OUTPUT gt 16 17 3 Locking the Controller with a Key EnableControllerEncryption The EnableControllerEncryption method is used to set either Local Key encryption or Dell Key Manager DKM encryption on controllers that support encryption of the drives Invoke EnableControllerEncryption method with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView class See Section 16 1 Key Key Passcode This parameter is required if the Mode Local Key Encryption The Key can be maximum 32 characters in length and must have one character from each of the following sets Upper Case Lower Case Number Special Character The special characters in the following set needs to be passed as mentioned below amp gt amp amp lt gt amp lt gt gt amp gt gt amp quot lt gt amp apos Keyid Key Identifier Describes Key The
114. IOS and Boot Management Profile and the host server shall boot to the CD ROM Unlike the ConnectNetworkISOlmage method the Lifecycle Controller is not locked and may perform other management tasks Invoke ConnectRFSISOIlmage with the following syntax IPADDRESS ISO The IP address of the server that stores ISO images DRIVESHARE This is the directory path to the ISO image SHARETYPE The type of the remote storage 0 NFS 2 CIFS SHAREUSER User account for the ISO share location SHAREPASSWORD Password of the share account WORKGROUP Applicable workgroup IMAGENAME Image name of the iso image such as boot iso EXAMPLE wsman invoke a ConnectRFSISOlmage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationClassName DCIM_ComputerSystem 97 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD k IPAddress IPADDRESS ISO k ShareName DIVESHARE k ShareType SHARETYPE k Username SHAREUSER k Password SHAREPASSWORD k ImageName IMAGENAME k PORT PORT j utf 8 y basic OUTPUT The return will be 0 for success or 1 if an error occurred in starting the processing the input parameters The MessagelD and Message output parameters
115. ISubVendorID gt lt n1 PClVendorID gt 1000 lt n1 PCIVendorID gt lt n1 SlotLength gt 0002 lt n1 SlotLength gt lt n1 SlotType gt 0002 lt n1 SlotType gt lt n1 DCIM_PCIDeviceView gt 9 7 Video Inventory This section describes the implementation for the DCIM_VideoView class The Dell Video Profile describes platform s videos Each video controller s information is represented by an instance of DCIM_VideoView class Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate DCIM_VideoView with the following parameters and syntax 66 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_VideoView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_VideoView gt lt n1 BusNumber gt 10 lt n1 BusNumber gt lt n1 DataBusWidth gt 0002 lt n1 DataBusWidth gt lt n1 Description gt G200eR2 lt n1 Description gt lt n1 DeviceNumber gt 0 lt n1 DeviceNumber gt lt n1 FQDD gt Video Embedded 1 1 lt n1 FQDD gt lt n1 FunctionNumber gt 0 lt n1 FunctionNumber gt lt n1 InstancelD gt Video Embedded 1 1 lt n1 InstancelD gt lt n1 LastSystemlnventoryTime gt 20120106113848 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20111214060202 000000 000 lt n1 LastUpdateTime gt lt n1 Manufacturer
116. Inventory sect Gaees eat dldate epee ih deceter pened ldarade badd deat daeaeeskdanaeelroce 62 9 4 VGPU INVeEntO iie nn Catena toed a r eoe e ee raa e e a a Guana 63 9 5 DRAG Gard Inventory seen hse aad ta oh ant A E R eee 65 9 6 PCI Device Inventory cir o eco ket Wace k deen Mage tet dere cca Nutt eh cca deer tdeneeeacee 65 97 Video lNVentory sai peck chee erate bie 8 tenet anette eel EA ntl endl he 66 9 8 VFlash SD Card Inventory ic ncscsset ands ee ead ape 67 9 9 NIC Inventory amp Configuration ccc eeeeeet eee e eet teeceeeeeeeeeeeeeeeecaaeeeeeeeeeenenenaaees 68 9 10 RAID Inventory amp Configuration ssc e ceeen ati eos okseoee cats eased cist ty ial etteoeaady aehed wteneens 70 9 11 BIOS Inventory amp Configuration occ ctctsnct ce fretted hekhe ada Beh ca brad cua debe nates 71 9 12 System Inventory including CSIOR attribute eee eeeeeeeeeeeeeeeeeeeeteeeeeeeeeeeeeeeaaees 72 10 Job Control Maragement lt Hcdetxiek depo Rn iek aoa nh dee daceh aia Gack aenaaees 74 10 1 Description of Job Management ccccceeeeesecccee eter eeeeeeeaeeeeeeeeeeeenaaeeeeeeeeeeneeae 74 10 2 Remote Job Control Examples scseisscotacseciswettdetveracernaddadetetn cwadnene nie need tyehee 74 10 2 1 Setup JOD QUOURA ade 74 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 10 2 2 Delete Job Queue eeeeceecee eee eeeeeeeeeee teen eettaaaaaaaeeeeeeeeeaaaaaaaaeeeeeeeeseeenaaaaes 76 10 2
117. Key This method is used to delete the public server key set previously by the set auto discovery method Invoke DeleteAutoDiscoveryServerPublicKey with the following parameters and syntax EXAMPLE wsman invoke a DeleteAutoDiscoveryServerPublicKey http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DeleteAutoDiscoveryServerPublicKey_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeleteAutoDiscoveryServerPublicKey_OUTPUT gt 115 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 12 12 Insert Comment in Lifecycle Controller Log This method is used to insert additional user comments into the Lifecycle Controller log Invoke InsertCommentInLCLog with the following parameters and syntax Comment Replace INSERT COMMENT HERE with desired comment in this location EXAMPLE wsman invoke a InsertCommentInLCLog http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J InsertCommentInLCLog xml j utf 8 y basic
118. Keyid can be maximum 32 characters in length and must not have spaces in it Mode Mode of the Controller 1 Local Key Encryption 2 Dell Key Manager EXAMPLE 184 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 wsman invoke a EnableControllerEncryption http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J EnableControllerEncryption xml j utf 8 y basic The information in the input file EnableControllerEncryption xml is shown below lt p EnableControllerEncryption_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p Mode gt 1 lt p Mode gt lt p Key gt Abcd 123 lt p Key gt lt p Keyid gt LKM lt p Keyid gt lt p EnableControllerEncryption_INPUT gt OUTPUT This method requires an PERC controller with Local Key encryption or DKM support to function correctly lt n1 EnableControllerEncryption_OUTPUT gt lt n1 RebootRequired gt YES lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 EnableControllerEncryption_OUTPUT gt 16 17 4 Rekeying the Controller ReKey The ReKey method is used to reset the key on the control
119. Lifecycle Controller 2 Web Services Interface Guide for Linux e Licensed e Part Firmware Update e Collect System Inventory on Restart CSIOR e Part Configuration Update Get the current CS OR attribute setting as follows EXAMPLE 1 Version 2 1 0 wsman get http schemas dell com wbem wscim 1 cim schema 2 root dcim DCIM_LCEnumeration InstancelD LifecycleController Embedded 1 LCAttributes 1 CollectSystemlnventoryOnRestart h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic NOTE For 11G InstancelD DCIM_LCEnumeration CCR5 OUTPUT lt n1 DCIM_LCEnumeration gt lt n1 AttributeName gt Collect System Inventory on Restart lt n1 AttributeName gt lt n1 Caption xsi nil true gt lt n1 CurrentValue gt Enabled lt n1 CurrentValue gt lt n1 DefaultValue gt Disabled lt n1 DefaultValue gt lt n1 Description xsi nil true gt lt n1 ElementName gt LC emb 1 lt n1 ElementName gt lt n1 InstancelD gt LifecycleController Embedded 1 LCAttributes 1 CollectSysteminventoryOnRestart lt n1 InstancelD gt lt n1 lsOrderedList xsi nil true gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValuesDescription xsi nil true gt lt n1 DCIM_LCEnumeration gt 12 2 5 Get Part Firmware Update Attribute Get the current
120. MACAddress gt lt n1 DataBusWidth gt 0002 lt n1 DataBusWidth gt lt n1 DeviceNumber gt 0 lt n1 DeviceNumber gt lt n1 EFIVersion xsi nil true gt lt n1 FCoEOffloadMode gt 3 lt n1 FCoEOffloadMode gt lt n1 FCOEWWNN xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 1 lt n1 FQDD gt lt n1 FamilyVersion gt 13 1 4 lt n1 FamilyVersion gt lt n1 FunctionNumber gt 0 lt n1 FunctionNumber gt lt n1 InstancelD gt NIC Embedded 1 1 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20120106113848 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20111215170314 000000 000 lt n1 LastUpdateTime gt lt n1 LinkDuplex gt 0 lt n1 LinkDuplex gt lt n1 LinkSpeed gt 0 lt n1 LinkSpeed gt lt n1 MaxBandwidth gt 0 lt n1 MaxBandwidth gt lt n1 MediaType gt 1 lt n1 MediaType gt lt n1 MinBandwidth gt 0 lt n1 MinBandwidth gt lt n1 NicMode gt 3 lt n1 NicMode gt lt n1 PCIDevicelD gt 1521 lt n1 PCIDevicelD gt lt n1 PClSubDevicelD gt 04cf lt n1 PCISubDevicelD gt lt n1 PClSubVendorID gt 1028 lt n1 PCISubVendorID gt lt n1 PClVendorID gt 8086 lt n1 PCIlVendorID gt lt n1 PermanentFCOEMACAddress gt lt n1 PermanentMACAddress gt 78 2B CB 54 54 13 lt n1 PermanentMACAddress gt lt n1 PermanentiSCSIMACAddress gt lt n1 ProductName gt intel R Gigabit 2P 1350 t LOM 78 2B CB 54 54 13 lt n1 ProductName gt lt n1 ReceiveFlowControl gt 3 lt n1 ReceiveFlowControl gt lt n1 SlotLength gt 0002 lt n1 Sl
121. Parameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_MFAAccount lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name SystemCreationClassName gt DCIM_SPComputerSystem lt wsman Selector gt lt wsman Selector Name SystemName gt systemmc lt wsman Selector gt lt wsman Selector Name CreationClassName gt DCIM_MFAAccount lt wsman Selector gt lt wsman Selector Name Name gt DCIM User 2 lt wsman Selector gt 26 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt wsa EndpointReference gt Version 2 1 0 Account setting capability is defined in the class CIM_AccountManagementCapabilities associated with the CIM_Account class instance The ability to enable and disable an account is defined in the capability class CIM_EnabledLogicalElementCapabilities associated with the C M_Account class To determine account setting capabilities 1 Get the CIM_Account class instance of interest using EnumerateEPR mode 2 Enumerate the associators of the CIM_Account instance and search for CIM_AccountManagementService class instance using EnumerateEPR mode 3 Enumerate the associators of the CIM_AccountManagementService instance and search for CIM_AccountManagementCapabilities class instance 4 One exception is account index 0 The first account is static and could not be set OUTPU
122. Password PASSWORD Additional substitute values are used in some of the examples and are described in the specific example The following example is typical of the formatting used in this document 12 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic 3 2 WS Man Security amp Time Parameters 3 2 1 Encryption Certificate Security For the wsman examples provided in this document the strict checks of certificates such as matching of CNs Common Names and verification with the actual CA Certificate Authority of the certificate of the WS Management protocol HTTPS encryption certificate is assumed to be already configured and enabled To disable the strict certificate checking add the following command line options to all wsman examples v and V Refer to the wsman documentation and related documentation for directions on setting up encryption certificates for wsman and executing wsman invocations using full security capabilities Refer to the Lifecycle Controller User Guide for directions on configuring different encryption certificates for the iDRAC Web server Dell recommends that the full security and encryption capabilities of the WS Management protocol is used for production level utilization o
123. PhysicalDiskIDs gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 RAIDStatus gt 2 lt n1 RAIDStatus gt lt n1 RAIDTypes gt 2 lt n1 RAIDTypes gt lt n1 ReadCachePolicy gt 16 lt n1 ReadCachePolicy gt lt n1 RemainingRedundancy gt 0 lt n1 RemainingRedundancy gt lt n1 RollupStatus gt 1 lt n1 RollupStatus gt lt n1 SizelnBytes gt 10748 1464832 lt n1 SizelnBytes gt lt n1 SpanDepth gt 1 lt n1 SpanDepth gt lt n1 SpanLength gt 3 lt n1 SpanLength gt lt n1 StartingLBAinBlocks gt 0 lt n1 StartingLBAinBlocks gt lt n1 StripeSize gt 128 lt n1 StripeSize gt lt n1 VirtualDiskTargetID gt 0 lt n1 VirtualDiskTargetID gt lt n1 WriteCachePolicy gt 1 lt n1 WriteCachePolicy gt lt n1 DCIM_VirtualDiskView gt After successful virtual disk creation 174 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 DCIM_VirtualDiskView gt lt n1 BusProtocol gt 6 lt n1 BusProtocol gt lt n1 Cachecade gt 0 lt n1 Cachecade gt lt n1 DiskCachePolicy gt 1024 lt n1 DiskCachePolicy gt lt n1 FQDD gt Disk Virtual 0 RAID Slot 1 1 lt n1 FQDD gt lt n1 InstancelD gt Disk Virtual 0 RAID Slot 1 1 lt n1 InstancelD gt lt n1 LastSystemlnventoryTime gt 20120116145459 000000 000 lt ni LastSystemIinventoryTime gt lt n1 LastUpdateTime gt 20120116145459 000000 000 lt n1 LastUpdateTime gt lt n1 LockStatus gt 0 lt n1 LockStatus gt lt n1 MediaType gt 1 lt n1 MediaType gt lt n1 Name gt
124. RAC Configure DRAC Configure Users Clear Logs Execute Server Control Commands Access Console Redirection Access Virtual Media Test Alerts Execute Di agnostic Commands Caption null Description null ElementName Local Role Based Management Capabilities InstancelD DCIM LocalRoleBasedManagementCapabilities QualifierFormatsSupported 9 9 9 9 9 9 9 9 9 SharedPrivilegeSupported false 38 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 SupportedMethods 8 The privilege property ActivityQualifiers is an array of type string To set more than one privilege you need to provide the same key name more than once The tool does not allow duplicate keys to be entered through the command line Instead you need to perform two operations 1 Get an instance of the CIM_Privilege class of interest 2 Using the class instance replace the property ActivityQualifiers with the new values 3 Use the new instance XML as input to the set operation To determine if the new password has been successfully set try logging in with the new password Ensure the account is enabled 6 Firmware Inventory 6 1 Software Inventory Profile Specification The Dell Common Information Model CIM class extensions for supporting remote firmware inventory are defined in the Dell OS Software Update and related MOFs The diagrams representing the classes that are implemented by the Lifecycle Controller 2 0 firmware
125. RAIDEnumArray gt 128 lt n1 VDRAIDEnumArray gt lt n1 VDRAIDEnumArray gt 2048 lt n1 VDRAIDEnumArray gt lt n1 VDRAIDEnumArray gt 8192 lt n1 VDRAIDEnumArray gt lt n1 GetRAIDLevels_OUTPUT gt The VDRA DEnumArray numbers correspond to the following RAID levels RAIDLevel RAID 0 2 RAID 1 4 RAID 5 64 RAID 6 128 188 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 RAID 10 2048 RAID 50 8192 RAID 60 16384 16 18 2 Getting the Available Disks GetAvailableDisks The GetAvailableDisks method is used to determine possible choices of drives to create virtual disks Invoke GetAvailableDisks with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 DiskType Corresponds to MediaType attribute in PhysicalDiskView Section 16 9 Include all types 0 Include Magnetic Only 1 Include SSD only 2 Diskprotocol Types of protocol to include Include all protocols 0 Include SATA 1 Include SAStypes 2 DiskEncrypt Types of encryption to include 0 Include FDE capable and non encryption capable disks 1 Include FDE disks only 2 Include only non FDE disks EXAMPLE wsman invoke a GetAvailableDisks http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPA
126. S k ShareName FOLDER k ShareType 4 k Username SHARE_USERNAME k Password SHARE_PASSWORD k ImageName IMAGENAME k ScheduledStartTime TIME_NOW 18 1 2 Exporting Server Profile to NFS Share Backuplmage NFS Share ShareType is 0 The entire Passphrase passphrase argument is optional EXAMPLE wsman invoke a BackupImage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic k IPAddress SHARE_IPADDRESS k ShareName DRIVESHARE k ShareType 0 k Username SHARE_USERNAME k Password SHARE_PASSWORD k Passphrase PASSPHRASE k ImageName IMAGENAME k ScheduledStartTime TIME_NOW NOTE The ShareName field should only be the folder exposed by the system to the network Any sub folder information should be attached to the ImageName field Otherwise there can be connection issues when trying to locate create the backup file Correct Example ShareName folder1 ImageName subfolder image_name In Correct Example ShareName folder1 subfolder ImageName image_name 216 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 18 1 3 Exporting Server Profile to CIFS Share BackupImage CIFS Share
127. SERNAME p PASSWORD j utf 8 y basic OUTPUT When the PowerStatesSupported property contains the value in the PowerStatesSupported Value column the PowerChangeCapabilities property shall contain the value specified in the PowerChangeCapabilities Value column PowerStatesSupported Value PowerChangeCapabilites Value 2 Power On 3 Sleep Light 4 Sleep Deep 3 Power State Settable 5 Power Cycle Off Soft 4 Power Cycling Supported 6 Power Off Hard 7 Hibernate 8 Power Off Soft 9 Power Cycle Off Hard 6 Off Hard Power Cycling Supported 10 Master Bus Reset 7 HW Reset Supported 11 Diagnostic Interrupt NMI 7 HW Reset Supported 12 Power Off Soft Graceful 8 Graceful Shutdown Supported 13 Power Off Hard Graceful 8 Graceful Shutdown Supported 14 Master Bus Reset Graceful 7 HW Reset Supported and 8 Graceful Shutdown Supported 15 Power Cycle Off Soft Graceful 4 Power Cycling Supported and 8 Graceful Shutdown Supported 57 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 16 P ff H ful 6 Pawer Cycle 0 ard Graceful 6 Off Hard Power Cycling Supported and 8 Graceful Shutdown Supported lt n1 DCIM_CSPowerManagementCapabilities gt lt n1 Caption xsi nil true gt lt n1 Description xsi nil true gt lt n1 ElementName gt Power ManagementCapabilities lt n1 E
128. SO connection status of the image that has been exposed to the host Invoke GetNetworkISOlmageConnectionInfo with the following syntax EXAMPLE wsman invoke a GetNetworkISOImageConnectionInfo http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService 96 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 CreationClassName DCIM_OSDeploymentService Name DCIM O0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 GetNetworklSOlmageConnectionInfo_OUTPUT gt lt n1 Message gt ISO image is not attached lt n1 Message gt lt n1 MessagelD gt OSD32 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 GetNetworkISOlmageConnectionInfo_OUTPUT gt 11 3 18 Connect RFS ISO Image The ConnectRFSISOImage method is used to connect the ISO image that is mounted through Remote File Share RFS and is exposed to the host system as a USB based CD ROM device The successful execution of this method shall connect to the ISO located on NFS CIFS share to the host server and expose it as a virtual CDROM device using RFS USB endpoint The successful execution of the method shall not change the boot order of that device In order to boot to the CD ROM the CD ROM shall be configured in the boot order in a separate step using B
129. SSWORD j utf 8 y basic OUTPUT lt n1 DCIM_BootConfigSetting gt lt n1 ElementName gt BootSeq lt n1 ElementName gt lt n1 InstancelD gt IPL lt n1 InstancelD gt lt n1 lsCurrent gt 2 lt n1 lsCurrent gt lt n1 lsDefault gt 0 lt n1 lsDefault gt lt n1 lsNext gt 2 lt n1 lsNext gt lt n1 DCIM_BootConfigSetting gt 14 3 Listing the Boot Inventory SourceSetting Class Each Boot Configuration Representation contains an ordered list of boot sources which indicate the logical devices to use during the boot process Enumerate the BootSourceSetting class with the following parameters and syntax EXAMPLE 140 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BootSourceSetting h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_BootSourceSetting gt lt n1 BlOSBootString gt Embedded SATA Port A Optical SATA Optical Drive BootSeq lt n1 BlOSBootString gt lt n1 BootString gt Embedded SATA Port A Optical SATA Optical Drive BootSeq lt n1 BootString gt lt n1 CurrentAssignedSequence gt 0 lt n1 CurrentAssignedSequence gt lt n1 CurrentEnabledStatus gt 1 lt n1 CurrentEnabledStatus gt lt n1 ElementName gt Embedded SATA Port A Optical SATA Optical Drive BootSeq lt n1 ElementName gt lt n1 FailThroughSupported gt 1 lt n1 FailThroughSupported gt
130. SWORD j utf 8 y basic OUTPUT lt n1 DCIM_PSNumericSensor gt lt n1 BaseUnits gt 6 lt n1 BaseUnits gt lt n1 CreationClassName gt DCIM_PSNumericSensor lt n1 CreationClassName gt lt n1 CurrentReading gt 11 lt n1 CurrentReading gt lt n1 CurrentState gt Normal lt n1 CurrentState gt lt n1 Description gt Power Supply Power Consumption lt n1 Description gt lt n1 DevicelD gt iDRAC Embedded 1 PS1Current1 lt n1 DevicelD gt lt n1 ElementName gt PS1 Current 1 lt n1 ElementName gt lt n1 EnabledDefault gt 2 lt n1 EnabledDefault gt lt n1 EnabledState gt 2 lt n1 EnabledState gt lt n1 HealthState gt 5 lt n1 HealthState gt lt n1 LowerThresholdCritical xsi nil true gt lt n1 LowerThresholdNonCritical xsi nil true gt lt n1 OperationalStatus gt 2 lt n1 OperationalStatus gt lt n1 PossibleStates gt Unknown lt n1 PossibleStates gt lt n1 PossibleStates gt Fatal lt n1 PossibleStates gt lt n1 PossibleStates gt Normal lt n1 PossibleStates gt lt n1 PossibleStates gt Upper Fatal lt n1 PossibleStates gt lt n1 PossibleStates gt Upper Critical lt n1 PossibleStates gt lt n1 PossibleStates gt Upper Non Critical lt n1 PossibleStates gt 244 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 PossibleStates gt Lower Non Critical lt n1 PossibleStates gt lt n1 PossibleStates gt Lower Critical lt n1 PossibleStates gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt
131. SetAttribute_NIC xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService gt lt p Target gt NIC Integrated 1 1 2 lt p Target gt lt p AttributeName gt MaxBandwidth lt p AttributeName gt lt p AttributeValue gt 75 lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt NICO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 15 12 Setting the VirtMacAddr Attribute The SetAttribute method is used to set or change the value of a CNA attribute The I O identity string attributes VirtMacAddr VirtlscsiMacAddr VirtFIPMacAddr VirtWWN and VirtWWPN display a unique behavior After setting them to a non default value the attribute values are retained until there is AC power supply If the AC power supply is disconnected the attributes revert to their default values Invoke the SetAttribute method with the following parameters and syntax Target FQDD attained through DCIM_NICString AttributeName Attained from AttributeName field AttributeValue A new value to assign to the specified NiCAttribute If this value is valid it is applied to the PendingValue property or the
132. Settings using iIDRAC Attributes ccceceeeeeeeeeeeeeeeeeeeeeeeeeees 20 5 3 1 Modify User Name using iDRAC Attributes 2 0 0 0 cee ceeeeeeeeeeeeeeeeeenteeeeeeees 20 5 3 2 Modify Password using iDRAC Attributes ceceeeeeeeeeeeeeeeeeetneeeeeeees 21 5 3 3 Modify Account State using iDRAC Attributes 0 ceeeeeeeeeeeeeeeeteeeeeeees 22 5 3 4 Modify User Privilege using iDRAC Attributes cee ceeeeeeeeeeeeeeeetneeeeeeees 23 5 4 Account Inventory using DMTF Model ccccceeeeeeeeeeeeeeeeeeeeeeeeeeenaeeeeeeeeeeteeennaaees 24 5 4 1 Account and Capabilities using DMTF Model c eceeeeeeeeeeeeeteeeeeeeees 24 5 4 2 Privilege and Capabilities using DMTF Model c cceeeeeeeeeeeeeeneeeeeeeees 29 5 5 Manage Account Settings using DMTF Modell cccceeeeeeeeeeeenneeeeeeeeeeeeeeenaaees 32 5 5 1 Modify User Name using DMTF Model ccceeeeeeeeeeneeeeeeeeeeeeeeeenteeeeeeees 32 5 5 2 Modify Password using DMTF Model cccceeeeeeeeeeeeeeeeeeeeeeeeeeeenteeeeeeees 37 5 5 3 Modify Account State using DMTF Model eeeeeeeneeeeeeeeeeeeeesenneeeeeeees 37 5 5 4 Modify User Privilege using DMTF Model eeeeeeeeeeeeeeeeeeeeeeeeeeneeeeeeeees 38 Ge Firmware INVent ry rs ereraa ae dang a ai aaa e ri a E aaie 39 6 1 Software Inventory Profile Specification ssnnsseessseeenerrnenesseerrrrrnrrsserrrrrrrnnneseerrnne 3
133. T lt n1 DCIM_MemoryView gt lt n1 BankLabel gt A lt n1 BankLabel gt lt n1 CurrentOperatingSpeed gt 1333 lt n1 CurrentOperatingSpeed gt lt n1 FQDD gt DIMM Socket A1 lt n1 FQDD gt lt n1 InstancelD gt DIMM Socket A1 lt n1 InstancelD gt lt n1 LastSystemInventoryTime gt 20120106113848 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20111214060202 000000 000 lt n1 LastUpdateTime gt lt n1 ManufactureDate gt N A lt n1 ManufactureDate gt 62 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Manufacturer gt Hynix Semiconductor lt n1 Manufacturer gt lt n1 MemoryType gt 24 lt n1 MemoryType gt lt n1 Model gt DDR3 DIMM lt n1 Model gt lt n1 PartNumber gt HMT325R7BFR8A H9 lt n1 PartNumber gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 Rank gt 1 lt n1 Rank gt lt n1 SerialNumber gt 1DC1FA2E lt n1 SerialNumber gt lt n1 Size gt 2048 lt n1 Size gt lt n1 Speed gt 1333 lt n1 Speed gt lt n1 DCIM_MemoryView gt 9 4 CPU Inventory This section describes the implementation for the DCIM_CPUView class The Dell CPU Profile describes platform s CPUs Each CPU s information is represented by an instance of DC M_CPUView class Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate DCIM_CPUView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim
134. T C lt n1 DCIM_MFAManagementCapabilities gt lt n1 Caption xsi nil true gt lt n1 Description xsi nil true gt lt n1 ElementName gt MF AManagementCapabilities lt n1 ElementName gt lt n1 ElementNameEditSupported gt false lt n1 ElementNameEditSupported gt lt n1 ElementNameMask xsi nil true gt lt n1 InstancelD gt DCIM MFAManagementCapabilities 1 lt n1 InstancelD gt lt n1 MaxElementNameLen gt 0 lt n1 MaxElementNameLen gt lt n1 OperationsSupported gt 3 lt n1 OperationsSupported gt lt n1 RequestedStatesSupported xsi nil true gt lt n1 StateAwareness xsi nil true gt lt n1 SupportedAuthenticationMethod gt 0 lt n1 SupportedAuthenticationMethod gt lt n1 SupportedAuthenticationMethod gt 1 lt n1 SupportedAuthenticationMethod gt lt n1 SupportedAuthenticationMethod gt 2 lt n1 SupportedAuthenticationMethod gt lt n1 DCIM_MFAManagementCapabilities gt lt n1 DCIM_IPMICLPAccountManagementCapabilities gt 27 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 Caption xsi nil true gt lt n1 Description xsi nil true gt lt n1 ElementName gt IPMICLPAccountManagementCapabilities lt n1 ElementName gt lt n1 ElementNameEditSupported gt false lt n1 ElementNameEditSupported gt lt n1 ElementNameMask xsi nil true gt lt n1 InstancelD gt DCIM IPMICLPAccountManagementCapabilities 1 lt n1 InstancelD gt lt n1 MaxElementNameLen gt 0 lt n1 MaxElementNameLen gt l
135. Test Alerts lt n1 ActivityQualifiers gt lt n1 ActivityQualifiers gt Execute Diagnostic Commands lt n1 ActivityQualifiers gt lt n1 Caption xsi nil true gt lt n1 Description xsi nil true gt lt n1 ElementName xsi nil true gt lt n1 InstancelD gt DCIM Privilege 2 lt n1 InstancelD gt lt n1 PrivilegeGranted gt true lt n1 PrivilegeGranted gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 QualifierFormats gt 9 lt n1 QualifierFormats gt lt n1 RepresentsAuthorizationRights gt true lt n1 RepresentsAuthorizationRights gt lt n1 DCIM_LocalRolePrivilege gt 30 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 DCIM_LocalRolePrivilege gt lt n1 Activities xsi nil true gt lt n1 ActivityQualifiers xsi nil true gt lt n1 Caption xsi nil true gt lt n1 Description xsi nil true gt lt n1 ElementName xsi nil true gt lt n1 InstancelD gt DCIM Privilege 3 lt n1 InstancelD gt lt n1 PrivilegeGranted gt true lt n1 PrivilegeGranted gt lt n1 QualifierFormats
136. This is the IP address of the location of the ISO image CIFS_or_NFS OSISO This is the sharename directory path to the ISO image 2_or_0 2 CIFS O NFS CIFS_or_NFS_Username This is the username to the IP address of the ISO image CIFS_or_NFS_Password This is the corresponding password to the username containing the ISO image OS ISO This is to be replaced by the actual name of the ISO image EXAMPLE wsman invoke a ConnectNetworkISOlmage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationC lassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k IPAddress CIFS_or_NFS_IPaddress k ShareName CIFS_or_NFS k ShareType 2_or_0 k Username CIFS_or_NFS_Username k Password CIFS_or_NFS_Password k Workgroup WORKGROUP k ImageName OS ISO j utf 8 y basic OUTPUT The return will be 0 for success or 1 if an error occurred in starting the processing the input parameters The Message D and Message output parameters will further contain method invocation information if an error occurred 94 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 ConnectNetworklSOlmage_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing r
137. TotalFrames gt 0 lt n1 FCTxTotalFrames gt lt n1 FQDD gt FC Slot 2 1 lt n1 FQDD gt lt n1 InstancelD gt FC Slot 2 1 lt n1 InstancelD gt lt n1 O0SDriverState gt 2 lt n1 OSDriverState gt lt n1 PortSpeed gt 2 lt n1 PortSpeed gt lt n1 PortStatus gt 3 lt n1 PortStatus gt lt n1 DCIM_FCStatistics gt lt wsen ltems gt lt wsen PullResponse gt lt s Body gt 23 3 Listing the FC Inventory String Class Enumerate FCStatistics class ith the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_F CString h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt s Body gt lt wsen PullResponse gt lt wsen EnumerationContext gt bba65194 dO0f9 10f9 8126 215754cb2b78 lt wsen EnumerationContext gt lt wsen ltems gt lt n1 DCIM_FCString gt lt n1 AttributeDisplayName xsi nil true gt 247 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 AttributeName gt DeviceName lt n1 AttributeName gt lt n1 CurrentValue gt QLE2562 lt n1 CurrentValue gt lt n1 Dependency xsi nil true gt lt n1 FQDD gt FC Slot 4 1 lt n1 FQDD gt lt n1 InstancelD gt FC Slot 4 1 DeviceName lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 16 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PendingValue xsi nil true gt lt n1
138. Value null 7 8 CreateRebootJob The CreateRebootJob method creates a reboot job that can be scheduled to reboot immediately or at a later time When the reboot job is scheduled and then executed via SetupJobQueue Section 10 2 1 the reboot will take several minutes depending on the system setup including whether collecting system inventory CSIOR is enabled Invoke CreateRebootJob with the following parameters and syntax RebootJobType There are three options for rebooting the system 1 PowerCycle 2 Graceful Reboot without forced shutdown 50 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 3 Graceful reboot with forced shutdown EXAMPLE wsman invoke a CreateRebootJob http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService CreationClassName DCIM_SoftwarelnstallationService SystemCreationClassName DCIM_ComputerSystem SystemName IDRAC ID Name SoftwareUpdate h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J reboot xml j utf 8 y basic SkipCNCheck auth basic encoding utf 8 The syntax for reboot xml is lt p CreateRebootJob_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService gt lt p RebootJobType gt 2 lt p RebootJobType gt lt p CreateRebootJob_INPUT gt OUTPUT This method will return a reboot jobid that can be set to reboot the system imm
139. ValueExpression xsi nil true gt lt n1 DCIM_FCString gt lt wsen ltems gt lt wsen PullResponse gt lt s Body gt 23 4 Listing the FC Inventory Integer Class Enumerate FC nteger class ith the following parameters and syntax EXAMPLE winrm e http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FClInteger u USER p PASSWORD r https IPADDRESS wsman SkipCNcheck SkipCAcheck encoding utf 8 a basic OUTPUT lt s Body gt lt wsen PullResponse gt lt wsen EnumerationContext gt bba65194 d0f9 10f9 8126 215754cb2b78 lt wsen EnumerationContext gt lt wsen ltems gt lt n1 DCIM_FClInteger gt lt n1 AttributeDisplayName xsi nil true gt lt n1 AttributeName gt PortNumber lt n1 AttributeName gt lt n1 CurrentValue gt 1 lt n1 CurrentValue gt lt n1 Dependency xsi nil true gt lt n1 FQDD gt FC Slot 4 1 lt n1 FQDD gt lt n1 InstancelD gt FC Slot 4 1 PortNumber lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 PendingValue xsi nil true gt lt n1 UpperBound gt 2 lt n1 UpperBound gt lt n1 DCIM_FCInteger gt lt wsen ltems gt lt wsen PullResponse gt lt s Body gt lt s Envelope gt 248 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux 23 5 Listing the FC Inventory Enumeration Class Enumerate FCEnumeration class ith the following parameters and syntax EXAMPLE wsman enumerate
140. a 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300726718 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 CreateConfigJob_OUTPUT gt To get the status of the above jobID or list all job Ds see 12 2 2 and 12 2 3 respectively 12 2 2 Get LC Config Job Status EXAMPLE wsman get http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob __cimnamespace root dcim InstancelD JID_001300726718 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic The method either returns a list of Concrete job objects or an error message Check for the JobStatus property equal to Completed shown below to know the set has been completed OUTPUT lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001300726718 lt n1 InstancelD gt lt n1 JobStartTime gt 20191010101010 lt n1 JobStartTime gt lt n1 JobStatus gt COMPLETED lt n1 JobStatus gt lt n1 JobUntilTime gt 2009 8 11 lt n1 JobUntilTime gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt LC001 lt n1 MessagelD gt 104 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Name gt LC Config lt n1 Name gt lt n1 Perc
141. abled lt p AttributeValue gt lt p AttributeName gt VirtualMedia 1 Attached lt p AttributeName gt lt p AttributeValue gt Dettached lt p AttributeValue gt lt p AttributeName gt Pv4 1 Enable lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt Pv4 1 DHCPEnable lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt Pv4 1 DNSFromDHCP lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt Users 3 Enable lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt Users 16 Enable lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt Users 3 lpmiLanPrivilege lt p AttributeName gt lt p AttributeValue gt Administrator lt p AttributeValue gt 227 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt p AttributeName gt Users 16 lpmiLanPrivilege lt p AttributeName gt lt p AttributeValue gt Administrator lt p AttributeValue gt lt p AttributeName gt Users 3 lpmiSerialPrivilege lt p AttributeName gt lt p AttributeValue gt Administrator lt p AttributeValue gt lt p AttributeName gt Users 16 lpmiSerialPrivilege lt p AttributeName gt lt p AttributeValue gt Administrator lt p Attri
142. acAddr lt n1 AttributeName gt lt n1 CurrentValue gt 00 22 19 59 B2 1F lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 MacAddr lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 0 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PendingValue xsi nil true gt lt n1 DCIM_NICString gt lt n1 DCIM_NICString gt lt n1 AttributeName gt VirtlscsiMacAddr lt n1 AttributeName gt lt n1 CurrentValue gt 00 22 19 59 B2 20 lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 VirtlscsiMacAddr lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 0 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PendingValue xsi nil true gt lt n1 DCIM_NICString gt lt n1 DCIM_NICString gt lt n1 AttributeName gt FirstTgtlpAddress lt n1 AttributeName gt lt n1 CurrentValue gt 0 0 0 0 lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 FirstTgtlpAddress lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 MaxLength gt 39 lt n1 MaxLength gt lt n1 MinLength gt 2 lt n1 MinLength gt 146 Dell Lifecycle
143. age lt n1 Name gt lt n1 PercentComplete gt 50 lt n1 PercentComplete gt lt n1 DCIM_LifecycleJob gt The status may be one of the following e Ready for Backup Request is received e Backup In Progress Backup process is currently in process e Failed Problem with the backup process check message for more information e Completed Backup process is complete with no issues 18 2 Importing Server Profile To restore host system server profile invoke the Restorelmage method in the class DC M_LCService Restore process restores the system information firmware images hardware configuration Lifecycle Controller iDRAC firmware and configuration from the backup image file located on either iDRAC vFlash SD card or network share IP ADDRESS This is the IP address of the file server 218 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 DRIVESHARE This is the directory path for the image USERNAME This is the username to the file share PASSWORD This is the password to the file share IMAGENAME This is the desired name of the image PASSPHRASE This can be used to password protect NFS and CIFS images For NFS and CIFS shares the entire Passphrase PASSPHRASE argument is only required when the backup image used a passphrase The following examples restore the server profile and execute it immediately using the TIME_NOW parameter 18 2 1 Importing Server Profi
144. agelD gt BIOS001 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 17 4 Setting Multiple BIOS BootMode Parameters Users can find and set multiple BIOS attributes associated with a specific device using the SetAttributes method This example illustrates how to set the BiosMode and BootSeqRetry parameters Invoke SetAttributes with the following parameters from Section 17 1 and syntax TARGET Obtained from the nstancelD field AttributeName Obtained from the AttributeName field AttributeValue Obtained from the PossibleValues field EXAMPLE wsman invoke a SetAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_BlOSService SystemName DCIM ComputerSystem Name DCIM BlOSService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttributes_BIOS xml j utf 8 y basic The input file SetAttributes_BIOS xml is shown below 207 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BIOSService gt lt p Target gt BlOS Setup 1 1 lt p Target gt lt p AttributeName gt BootMode lt p AttributeName gt lt p AttributeValue gt Bios lt
145. al Disks to be used per span Minimum requirements for given RAID Level must be met StripeSize 8KB 16 16KB 32 32KB 64 64KB 128 128KB 256 256KB 512 512KB 1024 1MB 2048 ReadPolicy No Read Ahead 16 Read Ahead 32 Adaptive Read Ahead 64 WritePolicy Write Through 1 Write Back 2 Write Back Force 4 DiskCachePolicy 192 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Enabled 512 Disabled 1024 VirtualDiskName Name of the virtual disk 1 15 character range EXAMPLE wsman invoke a CreateVirtualDisk http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J CreateVirtualDisk xml j utf 8 y basic The input file CreateVirtualDisk xml is shown below lt p CreateVirtualDisk_INPUT xmins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p PDArray gt Disk Bay 0 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p PDArray gt Disk Bay 1 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p VDPropNameArray gt RAIDLevel lt p VDPropNameArray gt lt p VDPropNameArray gt SpanDepth lt p VDPropNameArray gt
146. ally reboot depending on the ScheduledStartTime selected The CreateTargetedConfigJob jobID output with the job control section can be used to obtain its status Invoke CreateTargetedConfigJob with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 RebootJobType There are three options for rebooting the system 1 PowerCycle 2 Graceful Reboot without forced shutdown 3 Graceful reboot with forced shutdown Note When a user does not want to set a reboot type when creating a target job users should comment out the RebootJobType in the input xml User should not enter 0 or give no parameter at all in the input xml ScheduledStartTime amp UntilTime See Section 3 2 4 EXAMPLE wsman invoke a CreateTargetedConfigJob http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemNa me DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J CreateTargetedConfigJob_RAID xml j utf 8 y basic The input file CreateTargetedConfigJob_RAID xml is shown below lt p CreateTargetedConfigJob_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p RebootJobType gt 3 lt p RebootJobType gt lt p ScheduledStartTi
147. alue gt lt p SetAttribute_INPUT gt This method is used to set the values of multiple attributes Invoke SetAttributes with the following parameters and syntax EXAMPLE 2 wsman invoke a SetAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem 102 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttributes_LC xml j utf 8 y basic The input file SetAttributes_LC xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p AttributeName gt Part Firmware Update lt p AttributeName gt lt p AttributeValue gt Allow version upgrade only lt p AttributeValue gt lt p AttributeName gt Collect System Inventory on Restart lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 RebootRequired gt No lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 12 2 Part Replacement Configuration and Management If the SetAttribute s method has been invoked the pending values mu
148. ame DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD k IPAddress IPADDRESS ISO k ShareName DIVESHARE k ShareType SHARETYPE k Username SHAREUSER k Password SHAREPASSWORD k ImageName IMAGENAME k PORT PORT j utf 8 y basic OUTPUT The return will be 0 for success or 1 if an error occurred in starting the processing the input parameters The MessagelD and Message output parameters will further contain method invocation information if an error occurred lt n1 DownloadISOToVFlash_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_OSDConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM_OSDConcreteJob 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 DownloadISOToVFlash_OUTPUT gt The following error message is a direct result of a typo in the wsman input Careful consideration must be applied to capitalization lt s Fault gt lt s Code gt lt s Value gt s Sender lt s Value gt lt s Subcode
149. amespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 CreatePartition_OUTPUT gt If this method returns the following message the VFlash must be enabled using the VFlashStateChange Section 13 3 method CreatePartition_OUTPUT Message VFlash not enabled MessagelD VF015 ReturnValue 2 13 5 Create Partition using Image This method creates a partition on the storage device using the image provided by the user The partition size will be the same as the size of the image The maximum size of the image is 4GB 129 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 The image can be located on a NFS CIFS share or on a TFTP server When this method is successfully executed an instance of DCIM_OpaqueManagementData representing the desired partition will be created Section 13 1 and a reference to this instance is captured in the output parameter Job Invoke CreatePartitionUsinglmage with the following parameters and syntax PartitionIndex The PartitionIndex property of the DCIM_OpaqueManagementData instance that represents the partition to be formatted 1 to 16 PartitionType The format types that these partitions need to be formatted as floppy 1 hard disk 2 CD ROM 3 OSVolumeLabel The label seen in the OS after attaching the partition URI The URI location of
150. ameters ccccceeeeeeeesecceeeeeeeeeeeeesseaaeeeeeeeeeeeeeesaaaaes 13 3 2 1 Encryption Certificate S CUrity eee cecccceeeeeeeeeeeeesaeeeeeeeeeeetesesaeaeeeeeees 13 3 2 2 Handling invalid responses from WSMAN Commands cccceceeeeeteeeeeeees 13 3 2 3 Improving WSMAN Enumeration Performance ceeeceeeeeeeeeeeeeneeeeeeeees 13 3 2 4 Specifying StartTime Until Time and TIME_NOW Parameters 0 13 3 2 5 Return WAU Gens fk late Soe ee ee ees ae eere i cal edaer aided a idee aaa 14 3 2 6 SGIOSSALY tec eicicck corres nal E E ERE 14 Bee DISCOVER atic cab A Coen eats ed Anes en ehewaaed 15 4 1 Discovering Web Service Capability ccc ccccceeeeeeeeeeeeeneeeeeeeeeeeeeeeaaeeeeeeeeeeteneeaaees 15 4 2 Discovering what Profiles are Implemented eee eeeeeeeeeeeee eee eeeeeneeeeeeeeeeteeeenaaees 15 4 3 Discovering Implementation Namespace cece ee eeeeeteeeeeeeeeeeeeeeeeeeeeeeeeeteeeeaaees 16 5 Managing iDRAC Local User Accounis 2 caccc Again ais eye eed ede 17 5 1 Description of iDRAC Attributes vs Standard DMTF Model cccccceeeeeeeeeeeeeeeeeees 17 5 2 Account Inventory using iIDRAC AttribUteS 0 eect cece eee eeeeeeneeeeeeeeeeeeeeeeaaees 17 5 2 1 Account and Capabilities using iIDRAC Attributes cc eeeeeeeenteeeeeees 18 5 2 2 Privilege and Capabilities using iDRAC Attributes cee eeeeteereeeees 19 5 3 Manage Account
151. ana ecto idlea a a A nde E EE ele 46 7 6 Update NICs from HTTP CIFS Share TFTP or FTP ceeeeeeeeeneeeeeeeeeeeeeeenaees 46 7 7 Update BIOS from HTTP CIFS Share TFTP or FTP eenen 48 78 GCreateRebogtJob herraniannman n e a a 50 8 Power State Management i icces see hee eee ee ee 52 8 1 Description of Base Server vs Power State Management Methods c 52 8 2 Get Power State sensns e E E aac nuineen oat E 52 8 2 1 Base Server MEINOG ys netesecene aA ns lehe dee cebe obese Gam eh cwdas ence anced eten Teen ee 52 8 2 2 Power State Management Method cccceeeceeeeeeeeeeeeeneeeeeeeeeeeeesennaeeeeeeees 53 8 3 Get Power Control Capabilites eececcccceeeee eee eeeeeeeaeeeeeeeeeeeeeaaaaaaaeeeeeeeeesenesaaaaes 55 8 3 1 Base Server MEO sce scresc bea rheendeece seedeacbennigert set penchant dusted et teecbnet toute een teens 55 8 3 2 Power State Management Method sseessesssnnrrnrrsssrrrrerrnnrrsserrrnrrnnnrsserrenne 57 8 4 Power Control eeng a E E E een E EER 58 8 4 1 Base Server Method cece ccccccee eee eeeeeeeeaaeeeeeeeeeeeaaaaaaaeeeeeeeeeeseseaaaeeeeeees 58 8 4 2 Power State Management Method cccceeeeeeeeeeeeeeeeeneeeeeeeeeeeeeeenneeeeeeees 59 9 Hardware nynt y enn a dite naa E E bath ERE 59 9 1 Power Supply Inventory s se ccsscsseecttetetedeceeiciiees geist eidate dal alsa tatasetiain eed 59 9 2 Fan MVeMON cache a chen ws cee eark Gea aws Aehae ah Ae MAGA Hee 61 9 3 Memory
152. and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SystemView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_SystemView gt lt n1 AssetTag gt lt n1 BlOSReleaseDate gt 01 09 2012 lt n1 BlOSReleaseDate gt lt n1 BlOSVersionString gt 0 3 37 lt n1 BlOSVersionString gt lt n1 BaseBoardChassisSlot gt NA lt n1 BaseBoardChassisSlot gt lt n1 BatteryRollupStatus gt 1 lt n1 BatteryRollupStatus gt lt n1 BladeGeometry gt 4 lt n1 BladeGeometry gt lt n1 BoardPartNumber gt OMX4YFX04 lt n1 BoardPartNumber gt lt n1 BoardSerialNumber gt CN13740184000Q lt n1 BoardSerialNumber gt lt n1 CMCIP xsi nil true gt lt n1 CPLDVersion gt 1 0 0 lt n1 CPLDVersion gt lt n1 CPURollupStatus gt 1 lt n1 CPURollupStatus gt 241 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 Life lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 ChassisName gt Main System Chassis lt n1 ChassisName gt ChassisServiceTag gt 7654321 lt n1 ChassisServiceTag gt ChassisSystemHeight gt 5 lt n1 ChassisSystemHeight gt ExpressServiceCode gt 15608862073 lt n1 ExpressSe
153. are for SAS VD e Similar conditions when no VD referenced which is the global hot spare attempted assignment ERROR MESSAGE AssignSpare_OUTPUT lt n1 Message gt Physical disk FQDD did not identify a valid physical disk for the operation lt n1 Message gt lt n1 MessagelD gt STOROO9 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 AssignSpare_OUTPUT gt 181 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 16 16 3 Unassigning the Hot Spare UnassignSpare The UnassignSpare method is used to unassign a physical disk The physical disk may be used as a dedicated hot spare to a virtual disk or as a global hot spare After the method executes successfully the physical disk is no longer a hotspare Invoke UnassignSpare with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_PhysicalDiskView 16 9 EXAMPLE wsman invoke a UnassignSpare http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J UnassignSpare xml j utf 8 y basic The input file UnassignSpare xml is shown below lt p UnassignSpare_INPUT xmins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt D
154. as input Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 PendingValue gt lt n1 UpperBound gt 100 lt n1 UpperBound gt lt n1 DCIM_RAIDInteger gt 16 4 Getting a RAID Integer Instance Use the following example to get an instance of the DC M_RAIDInteger class instead of all instances as shown in Section 16 3 Get a RAIDinteger instance with the following parameters and syntax INSTANCEID This is obtained from the enumeration in Section 16 3 which shows an example using RAID Integrated 1 1 RAIDrebuildRate as an instance lD EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDInteger InstancelD INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_RAIDInteger gt lt n1 AttributeName gt RAIDrebuildRate lt n1 AttributeName gt lt n1 CurrentValue gt 11 lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDrebuildRate lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 LowerBound gt 1 lt n1 LowerBound gt lt n1 PendingValue gt lt n1 UpperBound gt 100 lt n1 UpperBound gt lt n1 DCIM_RAIDInteger gt 16 5 Listing the RAID Inventory String Class The RAID Inventory has these attributes DCIM_RAIDEnumeration see Section 16 1 DCIM_RAIDInteger see Section 16 3
155. atelnputNic xml to supply input parameters required for the InstallFromURI method The syntax for UpdatelnputNIC xml is lt p InstallFromURI_INPUT xmlins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService gt lt p URI gt http URI IP ADDRESS PATH TO EXE FILE exe lt p URI gt lt p Target xmlins a http schemas xmlsoap org ws 2004 08 addressing xmlins w http schemas dmtf org wbem wsman 1 wsman xsd gt lt a Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt a Address gt lt a ReferenceParameters gt lt w ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_Softwareldentity lt w ResourceURI gt lt w SelectorSet gt lt w Selector Name InstancelD gt INSTANCEID lt w Selector gt lt w SelectorSet gt 47 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt a ReferenceParameters gt lt p Target gt lt p InstallFromURI_INPUT gt In the above sample the URI IP ADDRESS must be replaced with the actual value of the IP address of the server that stores update content PATH TO EXE must be replaced with the applicable path to the executable FILE exe must be replaced with the executable name and INSTANCEID should be replaced with the actual InstancelD of the device to be updated OUTPUT When this method is executed a jobid or an error message is returned This
156. ation information if an error occurred lt n1 GetHostMACInfo_OUTPUT gt lt n1 MACList gt 00221959b21f lt n1 MACList gt lt n1 MACList gt 00221959b221 lt n1 MACList gt lt n1 MACList gt 00221959b223 lt n1 MACList gt lt n1 MACList gt 00221959b225 lt n1 MACList gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 GetHostMACInfo_OUTPUT gt 11 3 10 Download ISO to VFlash The DownloadISOToVFlash method allows using remote command to download an ISO image to VFlash The image needs to be an ISO image Once this image is downloaded to VFlash it can be booted via another WS MAN command Invoke DownloadISOToVFlash with the following parameters and syntax IPADDRESS ISO The IP address of the server that stores ISO images DRIVESHARE This is the directory path to the ISO image SHARETYPE The type of the remote storage 0 NFS 1 TFTP 2 CIFS SHAREUSER User account for the ISO share location SHAREPASSWORD Password of the share account WORKGROUP Applicable workgroup IMAGENAME Image name of the iso image such as boot iso Port Port number for connecting to the share such as 2049 EXAMPLE wsman invoke a DownloadISOToVFlash http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService 90 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Name DCIM 0SDeploymentService SystemCreationClassN
157. ax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_EnclosureView 175 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_EnclosureView gt lt n1 AssetTag gt lt n1 AssetTag gt lt n1 Connector gt 0 lt n1 Connector gt lt n1 EMMCount gt 0 lt n1 EMMCount gt lt n1 FQDD gt Enclosure Internal 0 0 RAID Integrated 1 1 lt n1 FQDD gt lt n1 FanCount gt 0 lt n1 FanCount gt lt n1 InstancelD gt Enclosure Internal 0 0 RAID Integrated 1 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20110316150158 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20110316141312 000000 000 lt n1 LastUpdateTime gt lt n1 PSUCount gt 0 lt n1 PSUCount gt lt n1 PrimaryStatus gt 0 lt n1 PrimaryStatus gt lt n1 ProductName gt BACKPLANE 0 0 lt n1 ProductName gt lt n1 RollupStatus gt 0 lt n1 RollupStatus gt lt n1 ServiceTag gt lt n1 ServiceTag gt lt n1 SlotCount gt 8 lt n1 SlotCount gt lt n1 TempProbeCount gt 0 lt n1 TempProbeCount gt lt n1 Version gt 1 07 lt n1 Version gt lt n1 WiredOrder gt 0 lt n1 WiredOrder gt lt n1 DCIM_EnclosureView gt 16 12 Reset Configuration ResetConfig The ResetConfig method is used to delete all virtual disks and unassign all HotSpare physical disks The deletions will not o
158. bled 0 Enabled 1 EXAMPLE wsman invoke a ChangeBootSourceState http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BootConfigSetting InstancelID SINSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ChangeBootSourceState xml j utf 8 y basic The input file ChangeBootSourceState xml is shown below lt p ChangeBootSourceState_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BootConfigSetting gt lt p EnabledState gt 0 lt p EnabledState gt lt p source gt IPL Optical SATAEmbedded A 1 eb8aeb15796fb85f8e1447f0cfb8a68e lt p source gt lt p ChangeBootSourceState_INPUT gt OUTPUT lt n1 ChangeBootSourceState_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt BOOT001 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 ChangeBootSourceState_OUTPUT gt 15 NIC CNA Card Management This feature provides the ability to get and set the Network Interface NIC Card or Converged Network Adapter CNA attributes that are configurable using NIC CNA Option ROM or NIC CNA UEFI HII The attributes include functionalities for the following e Partition and personality CNA only e iSCSI boot and PXE boot that are part of the NIC CNA firmware The ability to configure CNAs has been added to the NIC profile that extends the management capabilities of the referencing profiles The NICs CNAs are modeled a
159. bled lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt IPv4 lt n1 GroupDisplayName gt lt n1 GroupID gt IPv4 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 IPv4 1 Enable lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt User Admin IPMI LAN Privilege lt n1 AttributeDisplayName gt lt n1 AttributeName gt IpmiLanPrivilege lt n1 AttributeName gt lt n1 CurrentValue gt NoAccess lt n1 CurrentValue gt lt n1 DefaultValue gt NoAccess lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt lt n1 GroupID gt Users 3 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 Users 3 lpmiLanPrivilege lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PossibleValues gt User lt n1 PossibleValues gt 230 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 PossibleValues gt Operator lt n1 PossibleValues gt lt n1 PossibleVal
160. buteValue gt lt p ApplyAttributes_INPUT gt OUTPUT lt n1 ApplyAttributes_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300815142 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ApplyAttributes_OUTPUT gt 19 4 2 Polling Job Completion Use the Get command to check the progress of the ApplyAttributes method It polls for job completion This method takes the InstancelD from the previous section 19 3 1 as input The JobStatus value is either Successful or Failed If the job failed the Message value contains more detailed error information on the cause of the failure Run the Get command on DCIM_LifecycleJob with the following parameters and syntax EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LifecycleJob InstancelID SINSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic The input parameter is the InstancelD from the output of the ApplyAttrib
161. c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic dialect http schemas microsoft com wbem wsman 1 WQL filter select from DCIM_iDRACCardInteger where GroupID NIC 1 The possible inputs for GrouplD are NIC 1 Users 3 OUTPUT lt n1 DCIM_iDRACCardInteger gt lt n1 AttributeDisplayName gt VLan Priority lt n1 AttributeDisplayName gt lt n1 AttributeName gt VLanPriority lt n1 AttributeName gt lt n1 CurrentValue gt 0 lt n1 CurrentValue gt lt n1 DefaultValue gt 0 lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt 232 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt NIC lt n1 GroupDisplayName gt lt n1 GroupID gt NIC 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 NIC 1 VLanPriority lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 UpperBound gt 7 lt n1 UpperBound gt lt n1 DCIM_iDRACCardInteger gt lt n1 DCIM_iDRACCardInteger gt lt n1 AttributeDisplayName gt User Admin Privilege lt n1 AttributeDisplayName gt lt n1 AttributeName gt Privilege lt n1 AttributeName gt lt n1 CurrentValue gt 0 lt n1 CurrentValue gt lt n1 DefaultValue gt 0 lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder
162. can be found in Dell Software Inventory Profile 6 2 Remote Inventory Method Invocation Get Software Inventory The Softwareldentity class contains information for the BIOS and component firmware installed on the target system as well as available firmware images cached in the Lifecycle Controller The enumeration of the Softwareldentity class returns a list of Softwareldentity objects with properties such as firmware type and version Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cimschema 2 root dcim DCIM_Softwareldentity h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic When this method is executed a list of software identity objects will be returned including installed and available firmware Below is a snippet of the output OUTPUT lt n1 DCIM_Softwareldentity gt lt n1 BuildNumber gt 4846 lt n1 BuildNumber gt 39 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Classifications gt 10 lt n1 Classifications gt lt n1 ComponentlID gt 28897 lt n1 ComponentID gt lt n1 ComponentType gt APAC lt n1 ComponentType gt lt n1 DevicelD xsi nil true gt lt n1 ElementName gt Dell Lifecycle Controller 2 1 0 0 4846 X79 lt n1 ElementName gt lt n1 FQDD gt USC Embedded 1 LC Embedded 1 lt n1 FQDD gt lt n1 ldentityInfoType gt OrgID C
163. ccur until a configuration job Section 16 15 is scheduled and the system is rebooted All data on the existing virtual disks will be lost Invoke ResetConfig with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 EXAMPLE wsman invoke a ResetConfig http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ResetConfig xml j utf 8 y basic 176 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 The input file ResetConfig xml is shown below lt p ResetConfig_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p ResetConfig_INPUT gt OUTPUT lt n1 ResetConfig_OUTPUT gt lt n1 RebootRequired gt YES lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 ResetConfig_OUTPUT gt 16 13 Clearing the Foreign Configuration ClearForeignConfig The ClearForeignConfig method is used to prepare any foreign physical disks for inclusion in the local configuration Invoke ClearForeignConfig with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_Contr
164. ce Guide for Linux lt n1 lt n1 lt n1 ChipType gt ISP2532 lt n1 ChipType gt Device gt 0 lt n1 Device gt DeviceName gt QLogic QLE2562 8Gb Fibre Channel Adapter 20000024FF2E36B1 lt n1 DeviceName gt lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n lt n1 EFIVersion gt 2 32 lt n1 EFlVersion gt FCTapeEnable gt 3 lt n1 FCTapeEnable gt FQDD gt FC Slot 4 1 lt n1 FQDD gt FabricLoginRetryCount gt 0 lt n1 FabricLoginRetryCount gt FabricLoginTimeout gt 0 lt n1 FabricLoginTimeout gt FamilyVersion gt 02 57 12 lt n1 FamilyVersion gt FirstFCTargetLUN gt 0 lt n1 FirstFCTargetLUN gt FirstFCTargetWWPN gt 00 00 00 00 00 00 00 00 lt n1 FirstFCTargetWWPN gt FramePayloadSize gt 2048 lt n1 FramePayloadSize gt Function gt 0 lt n1 Function gt HardZoneAddress gt 0 lt n1 HardZoneAddress gt HardZoneEnable gt 3 lt n1 HardZoneEnable gt InstancelD gt FC Slot 4 1 lt n1 InstancelD gt LinkDownTimeout gt 45000 lt n1 LinkDownTimeout gt LinkStatus gt 0 lt n1 LinkStatus gt LoopResetDelay gt 5 lt n1 LoopResetDelay gt PCIDevicelD gt 2532 lt n1 PCIDevicelD gt PortDownRetryCount gt 45 lt n1 PortDownRetryCount gt PortDownTimeout gt 0 lt n1 PortDownTimeout gt PortLoginRetryCount gt 8 lt n1 PortLoginRetryCount gt PortLoginTimeout gt 3000 lt n1 PortL
165. ce gt lt n1 DCIM_CSAssociatedPowerManagementService gt 54 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 8 3 Get Power Control Capabilites 8 3 1 Base Server Method The power control capabilities are reported by the RequestedStatesSupported property of the CIM_EnabledLogicalElementCapabilities class associated with the main system C M_ComputerSystem class Base Server Profile http www dmtf org sites default files standards documents DSP1004_1 0 1 pdf In Part A enumerate the CIM_ElementCapabilities class and search for the DCIM_CSElementCapabilities reference Use the resulting InstancelD in Part B to obtain the RequestedStatesSupported property EXAMPLE Part A wsman enumerate http schemas dmtf org wbem wscim 1 cimschema 2 CIM_ElementCapabilities h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT Part A lt n1 DCIM_CSElementCapabilities gt lt n1 Capabilities gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_CSEnabledLogicalElementCapabilities lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM ComputerCap 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Sele
166. ces Interface Guide for Linux AttributeValue Obtained from the PossibleValues field EXAMPLE wsman invoke a SetAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttributes_Enumeration_RAID_Controller xml j utf 8 y basic The input file SetAttributes_Enumeration_RAID_Controller xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p AttributeName gt RAIDloadBalancedMode lt p AttributeName gt lt p AttributeValue gt Disabled lt p AttributeValue gt lt p AttributeName gt RAIDBatteryLearnMode lt p AttributeName gt lt p AttributeValue gt Warn only lt p AttributeValue gt lt p AttributeName gt RAIDccMode lt p AttributeName gt lt p AttributeValue gt Normal lt p AttributeValue gt lt p AttributeName gt RAIDprMode lt p AttributeName gt lt p AttributeValue gt Disabled lt p AttributeValue gt lt p AttributeName gt RAIDcopybackMode lt p AttributeName gt lt p AttributeValue gt SMART lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttributes_OUTPUT gt lt n1 Message gt The method was successful lt n1 Message g
167. chema 2 root dcim DCIM_iDRACCardEnumeration InstancelD INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_iDRACCardEnumeration gt 224 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version lt n1 AttributeDisplayName gt Nic Enable lt n1 AttributeDisplayName gt lt n1 AttributeName gt Enable lt n1 AttributeName gt lt n1 CurrentValue gt Enabled lt n1 CurrentValue gt lt n1 DefaultValue gt Enabled lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt NIC lt n1 GroupDisplayName gt lt n1 GroupID gt NIC 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 NIC 1 Enable lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt 19 3 Listing the iDRAC Card Inventory Enumeration Class using groupID 2 1 0 Enumerate the DCIM_iDRACCardEnumeration class to list all the enumerate type iDRAC attributes using the group IDs of these groups NIC VirtualMedia IPv4 and Users To retrieve the attributes of the groups set the GroupID to one of the following NIC VirtualMedia IPv4 or Users Enumerate the iDRACCardEnumeration class using t
168. ctor gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Capabilities gt lt n1 Characteristics xsi nil true gt lt n1 ManagedElement gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt 55 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_ComputerSystem lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name Name gt srv system lt wsman Selector gt lt wsman Selector Name CreationClassName gt DCIM_ComputerSystem lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 ManagedElement gt lt n1 DCIM_CSElementCapabilities gt EXAMPLE Part B wsman get http schemas dell com wbem wscim 1 cimschema 2 DCIM_CSEnabledLogicalElementCapabilities __cimnamespace root dcim InstancelD DCIM ComputerCap 1 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT Part B RequestedStatesSupported 2 Enabled 3 Disabled 11 Reset lt n1 DCIM_CSEnabledLogicalElementCapabilities gt lt n1 Caption xsi nil true gt lt n1 Description xsi nil true gt lt n1 ElementName gt Computer System Capabilities lt n1 ElementName gt lt
169. d Drive HD The BootToHD method is used for one time boot to the host server s hard disk Invoke BootToHD with the following syntax EXAMPLE wsman invoke a BootToHD http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService 99 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Name DCIM O0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 BootToPXE_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 BootToPXE_OUTPUT gt 11 3 22 Configurarable Boot to Network ISO This method was added during the LC2 Version 1 1 release The ConfigurableBootToNetworkISO works similar to BootToNetworkISO except that the immediate boot to the ISO is not automatic and controlled by an input parameter called ResetType which will enable you to do a warm reset or cold reset or no immediate reset Invoke ConfigurableBootToNetworkISO via NFS share with the following syntax NFS_IPADDRESS This is the IP address of the location of the ISO image NFS OSISO This is the directory path to the ISO image NFS_Username This is the username to the IP address of the ISO image NFS_Password This is the corresponding password to the username containing the ISO image OS ISO
170. d is executed a jobid or an error message is returned The status of this jobid can be checked within the job control provider in Section 10 lt n1 CreateTargetedConfigJob_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300720080 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt ni CreateTargetedConfigJob_OUTPUT gt 23 8 Deleting the Pending Values for FC DeletePendingConfiguration This method is called to cancel the pending values created by the SetAttribute and SetAttributes methods The DeletePendingConfiguration method cancels the pending configuration changes made before the configuration job is created with CreateTargetedConfigJob This method only operates on the pending changes prior to CreateTargetedConfigJob being called After the configuration job is 251 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 created the pending changes can only be canceled by calling DeleteJobQueue in the Job Co
171. d lt n1 InitializedState gt lt n1 InstancelD gt Disk vFlashCard 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20120110194751 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20120110194751 000000 000 lt n1 LastUpdateTime gt lt n1 Licensed gt true lt n1 Licensed gt lt n1 VFlashEnabledState gt true lt n1 VFlashEnabledState gt lt n1 WriteProtected gt false lt n1 WriteProtected gt lt n1 DCIM_VFlashView gt 9 9 NIC Inventory amp Configuration The NIC Profile describes NIC controller s representation and configuration The profile also describes the relationship of the NIC classes to the DMTF Dell profile version information See Section 15 for more information including inventories for N iCString NICInteger and NICEnumeration Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate N CView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_NICView gt lt n1 AutoNegotiation gt 2 lt n1 AutoNegotiation gt lt n1 BusNumber gt 6 lt n1 BusNumber gt lt n1 ControllerBlOSVersion xsi nil true gt 68 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 CurrentMACAddress gt 78 2B CB 54 54 13 lt n1 Current
172. d network share CIFS and NFS network share technologies are supported Note that the values for the CIFSUSER and CIFSPASSWORD must be alphanumeric characters and must not contain special characters Invoke UnpackAndShare with the following syntax CIFS_IPADDRESS This is the IP address of the file server DRIVESHARE This is the directory path to the drivers CIFS_USERNAME This is the username to the file share CIFS_PASSWORD This is the password to the file share OSName This example uses Windows Server 2003 SP2 NFS_Password This is the corresponding password to the username containing the ISO EXAMPLE wsman invoke a UnpackAndShare http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k IPAddress CIFS_IPADDRESS k ShareName DRIVERSHARE k ShareType 2 k Username CIFS_USERNAME k Password CIFS_PASSWORD k OSName Windows Server R 2003 sp2 j utf 8 y basic OUTPUT The return will be 0 for success or 1 if an error occurred in starting the processing the input parameters The MessagelD and Message output parameters will further contain method invocation information if an error occurred lt n1 UnpackAndShare_OUTPUT gt lt n1 Job gt
173. e gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt VirtualMedia lt n1 GroupDisplayName gt lt n1 GroupID gt VirtualMedia 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 VirtualMedia 1 Attached lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PossibleValues gt Detached lt n1 PossibleValues gt lt n1 PossibleValues gt Attached lt n1 PossibleValues gt lt n1 PossibleValues gt Autoattach lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt IPv4 Enable lt n1 AttributeDisplayName gt lt n1 AttributeName gt Enable lt n1 AttributeName gt lt n1 CurrentValue gt Enabled lt n1 CurrentValue gt lt n1 DefaultValue gt Enabled lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt IPv4 lt n1 GroupDisplayName gt lt n1 GroupID gt IPv4 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 IPv4 1 Enable lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt 223 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 DCIM_iDRACCardEnum
174. e CreateTargetedConfigJob with the following parameters and syntax TARGET This Parameter is the FQDD of the instances obtained from the nstancelD field RebootJobType There are three options for rebooting the system 1 PowerCycle 2 Graceful Reboot without forced shutdown 3 Graceful reboot with forced shutdown Note When a user does not want to set a reboot type when creating a target job users should comment out the RebootJobType in the input xml User should not enter 0 or give no parameter at all in the input xml 250 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a CreateTargetedConfigJob http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_FCService SystemName DCIM ComputerSystem Name DCIM FCService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J apply_pending_fc xml j utf 8 y basic The input file apply_pending_fc xml is shown below lt p CreateTargetedConfigJob_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCService gt lt p Target gt FC Slot 2 2 lt p Target gt lt p RebootJobType gt 2 lt p RebootJobType gt lt p ScheduledStartTime gt TIME_NOW lt p ScheduledStartTime gt lt p UntilTime gt 20111111111111 lt p UntilTime gt lt p CreateTargetedConfigJob_INPUT gt OUTPUT When this metho
175. e Guide for Linux Version 2 1 0 lt p VDPropValueArrayln gt 2048 lt p VDPropValueArrayln gt lt p VDPropNameArrayln gt SpanDepth lt p VDPropNameArraylIn gt lt p VDPropValueArrayln gt 1 lt p VDPropValueArrayin gt lt p CheckVDValues_INPUT gt OUTPUT lt n1 CheckVDValues_OUTPUT gt lt n1 RebootRequired gt YES lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 VDPropNameArray gt SizelnBytes RAIDLevel SpanDepth SpanLength StripeSize ReadPolicy WritePolicy DiskCachePolicy Name lt n1 VDPropNameArray gt lt n1 VDPropValueArray gt 10485760000 2048 2 2 128 16 2 1024 Unknown lt n1 VDPropValueArray gt lt n1 CheckVDValues_OUTPUT gt If the arrangement of physical disks prohibits a valid virtual disk arrangement from being created such as having too few hard disks the following error may result lt n1 CheckVDValues_OUTPUT gt lt n1 Message gt Virtual Disk provided is not valid for the operation lt n1 Message gt lt n1 MessagelD gt STORO17 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 CheckVDValues_OUTPUT gt 16 18 4 Creating a Single Virtual Disk CreateVirtualDisk The CreateVirtualDisk method is used to create a single virtual disk on the targeted controller The successful execution of this method results in a pending but not yet created virtual disk The ObjectStatus property in the virtual disk view Section 16 10 will have the value 3
176. e MinBandwidth and MaxBandwidth attributes control the bandwidth allocations for a given CNA partition The values are displayed in percentage For Broadcom CNA cards the MinBandwidth attribute values for a given port must always add up to either 0 or 100 MaxBandwidth is a value of 100 or less for any given partition For the Qlogic CNA cards the MinBandwidth attribute values for a given port must add up to 100 or less MaxBandwidth again is a value of 100 or less for any given partition Invoke SetAttribute with the following parameters from Section 15 1 and syntax Target FQDD attained through DCIM_NiCInteger AttributeName Attained from AttributeName field AttributeValue A new value to assign to the specified NiCAttribute If this value is valid it is applied to the PendingValue property or the Currentvalue property of the specified NiCAttribute Range of choices is attained from the LowerBound and UpperBound fields LowerBound 0 UpperBound 100 156 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService SystemNam e DCIM ComputerSystem Name DCIM NICService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttribute_CNA_MaxBandwidth xml j utf 8 y basic The input file
177. e and Capabilities using DMTF Model The account privilege assigned to a user is defined in the class C M_Privilege associated with the CIM_Account class The class contains a list of privileges granted to the user account Profiles http www dmtf org sites default files standards documents DSP1034_1 0 1 pdf http www dmtf org sites default files standards documents DSP1039_1 0 0 pdf To get the instance of C M_Privilege for an account 1 Get the CIM_Account class instance of interest using EnumerateEPR mode 2 Enumerate the associators of the CIM_Account instance and search for CIM_Identity class instance using EnumerateEPR mode 3 Enumerate the associators of the CIM_Identity instance and search for CIM_Role class instance using EnumerateEPR mode 4 Enumerate the associators of the CIM_Role instance and search for CIM_Privilege class instance An alternative to the above method you can retrieve the specific CIM_Privilege instance by enumerating the class directly with filter This method is similar to the example used to retrieve CIM_Account EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LocalRolePrivilege h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_LocalRolePrivilege gt lt n1 Activities xsi nil true gt lt n1 ActivityQualifiers xsi nil true gt lt n1 Caption xsi nil true gt lt n1 Descriptio
178. e following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardEnumeration h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt Nic Enable lt n1 AttributeDisplayName gt lt n1 AttributeName gt Enable lt n1 AttributeName gt lt n1 CurrentValue gt Enabled lt n1 CurrentValue gt lt n1 DefaultValue gt Enabled lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt 222 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt NIC lt n1 GroupDisplayName gt lt n1 GroupID gt NIC 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 NIC 1 Enable lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt Virtual Media Attached lt n1 AttributeDisplayName gt lt n1 AttributeName gt Attached lt n1 AttributeName gt lt n1 CurrentValue gt Autoattach lt n1 CurrentValue gt lt n1 DefaultValue gt Detached lt n1 DefaultValue gt lt n1 Dependency xsi nil tru
179. e following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCAttribute h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic 245 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 OUTPUT lt s Body gt lt wsen PullResponse gt lt wsen EnumerationContext gt bba65194 dO0f9 10f9 8126 215754cb2b78 lt wsen EnumerationContext gt lt wsen Items gt lt n1 DCIM_FCString gt lt n1 AttributeDisplayName xsi nil true gt lt n1 AttributeName gt DeviceName lt n1 AttributeName gt lt n1 CurrentValue gt QLE2562 lt n1 CurrentValue gt lt n1 Dependency xsi nil true gt lt n1 FQDD gt FC Slot 4 1 lt n1 FQDD gt lt n1 InstancelD gt FC Slot 4 1 DeviceName lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 16 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PendingValue xsi nil true gt lt n1 ValueExpression xsi nil true gt lt n1 DCIM_FCString gt lt wsen ltems gt lt wsen PullResponse gt lt s Body gt lt s Body gt lt wsen PullResponse gt lt wsen EnumerationContext gt bba65194 d0f9 10f9 8126 215754cb2b78 lt wsen EnumerationContext gt lt wsen ltems gt lt n1 DCIM_FClinteger gt lt n1 AttributeDisplayName xsi nil true gt lt n1 AttributeName gt PortNumber lt n1 AttributeName gt lt n1 CurrentValue gt 1 lt n1
180. e gathers system information firmware images hardware configuration Lifecycle Controller iDRAC firmware and configuration and stores the information in a file You can save the file on either iDRAC vFlash SD card or network share IP ADDRESS This is the IP address of the file server DRIVESHARE This is the directory path for the image USERNAME This is the username to the file share PASSWORD This is the password to the file share IMAGENAME This is the desired name of the image PASSPHRASE This can be used to password protect NFS and CIFS images For NFS and CIFS shares the entire Passphrase PASSPHRASE argument is optional Note To restore this backup file the same passphrase must passed as an argument for the operation to be successful The following examples back up the server profile and execute it immediately using the TIME_NOW parameter 215 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 18 1 1 Exporting Server Profile to iDRAC vFlash Card BackupImage iDRAC vFlash Card ShareType is 4 EXAMPLE wsman invoke a BackupImage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic k IPAddress SHARE_IPADDRES
181. ediately or at a later time lt n1 CreateRebootJob_OUTPUT gt lt n1 RebootJobID gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_SoftUpdateConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt RID_001299756950 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 RebootJobID gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 CreateRebootJob_OUTPUT gt The jobid in the above output is the instancelD Jobid InstancelD RID_001299756950 51 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 8 Power State Management 8 1 Description of Base Server vs Power State Management Methods The remote control of a server power state On Off and methodology for cycling power is available through data models specified in both the DMTF Base Server Profile and the DMTF Power State Management Profile The Base Server Profile offers the RequestStateChange method on the instance of the CIM_ComputerSystem class representing the server platform The Power State Management Profile offers the RequestPowerStateChange method available on the instance of the PowerStateManag
182. ee ee LN ee ea ee ONE See aaa eee a Sola 241 21 1 Listing the System Inventory SystemView ClaSS cccceeeeeeeeeeeetteeeeeeeeeeeeeeenaaees 241 22 SENSON Informatio ster te cea rete Bert hot ene erate alice ahaa E Ai EE Oats 244 22 1 Listing the Sensors Inventory PSNumericSensor Class scceeeeeeeeeeeeeeeeeeeeeeees 244 23 Managing Fiber Channel FC Configuration cccceecceeeeeeeeeeeeneeeeeeeeeeeeeeeneeeeeeeeeeneee 245 23 1 Listing the FC Inventory Attribute Class ccccccceecceeeeeeeeeeeeeeeeeeeeeeaeeeeeeeeeeteeeenaaees 245 23 2 Listing the FC Inventory Statistics Class 0 0 ccceeeeeecceceeeeeeeeeeeeseaeeeeeeeeeeeeeeeeaaeaes 246 23 3 Listing the FC Inventory String Class cccccccceeeeeesssecceeeeeeeeeeeseseaaeeeeeeeeeeeeeenaaeaes 247 23 4 Listing the FC Inventory Integer Class c ccceceeeeeeeeeneeeeeeeeeeeeeeeeteeeeeeeeeeeeeeeaaees 248 23 5 Listing the FC Inventory Enumeration Class ccccceeeeeeeeeeeeeeeeeenneeeeeeeeeeteeeeaaees 249 23 6 Changing the FC Attributes SetAttribute 0 0 cece ccceceeeeeeeeeeeeeeeeeeeeeeeeeeeenenaaeees 249 23 7 Applying the Pending Values for FC CreateTargetedConfigJob ccccceeeeeeees 250 23 8 Deleting the Pending Values for FC DeletePendingConfiguration 0 251 23 9 Listing the FC Views asec seco caciectesertacieacumersa tans tie cumestesendace me otemeatieargaaRanniecrtactabesacies 252 Dell Lifecycle Controller 2 Web
183. eee 104 122 3 LIST All LC NODS iino ocr pes yaes ol oath O atcha stil Selatan sea 105 12 2 4 Get CSIOR Component Configuration Recovery CCR Attribute 105 12 2 5 Get Part Firmware Update Attribute 0 0 0 0 ceeeeeeee reer eee eeeeenneeeeeeeeeeteeee 106 12 3 Re Initiate Auto Discovery Client 0 cc ceeeeececccee eter eeeeeeeeeeeeeeeeeeeeeneneeeaeeeeeeeseneea 107 12 4 Clear or Set Provisioning Server ccceceeessceccceee eee eeeeeseeeeeeeeeeeeetesesaaaeeeeeeeeeneneas 108 12 5 Check VFlash License Enablement cccceeeeeeeeee eee eeeecneeeeeee eee teeeenaeeeeeeeeeeneeee 110 12 6 Download Server Public Key saci nico 3en oes daseea setae dere da ea deeg a eden neste 110 12 7 Download Client Certificates 22 5 ceca setter ctumettadearetcedmed dele ou cenateateetectnaeeetae 111 12 8 Delete Auto Discovery Client Certificates nseeesseeenerrreeesserrrrrneressrrrrrrnneesee 113 5 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 12 9 Set Public Cenvicates 1 oie desc hit dee en ea Geo sia ee eae 113 12 10 Set iDRAC Certificate and Private Key cccceeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeenaeeeeeeeeeenneee 114 12 11 Delete Auto Discovery Server Public Key cccceeesssscceeeeeeeeeeeeeeeaeeeeeeeeeeeeenas 115 12 12 Insert Comment in Lifecycle Controller LOQ cccceeeeeeseeccceeeeeeeeeeeeneaeeeeeeeeeeeeeeae 116 12 13 Export Lifecycle Controller L
184. eeeeeeeeeeeeeeeeeeeegenaaeaeeeeeeeetenae 176 16 13 Clearing the Foreign Configuration ClearForeignConfig ccceceeeeeeeeeeeeeeeeeees 177 16 14 Applying the Pending Values for RAID CreateTargetedConfigJob ccee 178 16 15 Deleting the Pending Values for RAID DeletePendingConfiguration 2 0 179 16 16 Managing Hot Spare lt 2e fea ee ed rect eed ees ie ieee cee fe eee te 180 16 16 1 Determining Potential Disks GetDHSDisks 0 0 0 0 eeeeeeeteeeeeeee rete 180 16 16 2 Assigning the Hot Spare AssignSpare ccceeeceeeeeeeeeeeeeeeeeeeeeeeeeteeee 180 16 16 38 Unassigning the Hot Spare UnassignSpare ccccceeceeeeeeteeeeeeeeeeeee 182 16 17 Managing Keys for Self Encrypting Drives ccc eeeeeeeeeee eee teeeenneeeeeeeeeeteeee 182 16 17 1 Setting the Key SetControllerKey 0 0 cccceececeeeeeeeeeeeeeeteeeeeneeeeeeeeeeeeeee 182 16 17 2 Locking the Virtual Disk LockVirtualDisk ccceeeeeeeeeeeeteeeeeeeeeeeteeee 183 16 17 3 Locking the Controller with a Key EnableControllerEncryption 184 16 17 4 Rekeying the Controller ReKey cccceeeeeceeeeeeeeeeeeeeeteeeetnneeeeeeeeeeteee 185 16 17 5 Removing the Key RemoveControllerKey cccccceeeeeeeeeeteeeeeeeeeeeeeeee 187 16 18 Managing Virtual Disk vigcctcccpscetsieesoeots Reetbeaverdlohs saphe kebab eee acide 187 16 18 1 Getting the Available RAID levels GetRAIDLevels cceeeeeeeeee
185. elow lt p ApplyAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardService gt lt p Target gt iDRAC Embedded 1 lt p Target gt lt p AttributeName gt Users 4 lpmiLanPrivilege lt p AttributeName gt lt p AttributeValue gt Operator lt p AttributeValue gt lt p ApplyAttributes_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 ApplyAttributes_OUTPUT gt lt n1 Job gt 23 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001299684480 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ApplyAttributes_OUTPUT gt 5 4 Account Inventory using DMTF Model The list of user accounts may be retrieved by enumerating the C M_Account class The class provides the user account name and EnabledState properties The user account password is also included but it is a write only property Profiles htt
186. em wscim 1 cim schema 2 root dcim DCIM_iDRACCardEnumeration h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt User Admin Enable lt n1 AttributeDisplayName gt lt n1 AttributeName gt Enable lt n1 AttributeName gt lt n1 CurrentValue gt Disabled lt n1 CurrentValue gt lt n1 DefaultValue gt Disabled lt n1 DefaultValue gt Users 1 lt n1 Dependency xsi nil true gt Account Disabled as displayed in CurrentValue attribute for lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt lt n1 GroupID gt Users 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 Usersi4 Enable lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt User Admin Enable lt n1 AttributeDisplayName gt lt n1 AttributeName gt Enable lt n1 AttributeName gt lt n1 CurrentValue gt Enabled lt n1 CurrentValue gt lt n1 DefaultValue gt Enabled lt n1 DefaultValue gt Account Enabled as lt n1 Dependency xsi nil true gt displayed in lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt CurrentValue attrib
187. emas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt 20 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001299682234 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ApplyAttributes_OUTPUT gt 5 3 2 Modify Password using iDRAC Attributes EXAMPLE wsman invoke a ApplyAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_ iDRACCardService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_iDRACCardService SystemName DCIM ComputerSystem Name DCIM iDRACC ardService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic J DracCard_Password xml The input file DracCard_Password xml is shown below lt p ApplyAttributes_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardService gt lt p Target gt iDRAC Embedded 1 lt p Target gt lt p AttributeName gt Users 4 Enable lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt Users 4 Password lt p AttributeName gt lt p AttributeValue gt PWORDHERE lt p AttributeValue gt lt p Apply
188. ementPassThrough gt 2 lt n1 0SBMCManagementPassThrough gt lt n1 OnChipThermalSensor gt 2 lt n1 OnChipThermalSensor gt 150 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 OpenFlowSupport gt 3 lt n1 OpenFlowSupport gt lt n1 PXEBootSupport gt 2 lt n1 PXEBootSupport gt lt n1 PartitionWOLSupport gt 3 lt n1 PartitionWOLSupport gt lt n1 PriorityFlowControl gt 3 lt n1 PriorityFlowControl gt lt n1 RDMASupport gt 3 lt n1 RDMASupport gt lt n1 RXFlowControl gt 3 lt n1 RXFlowControl gt lt n1 RemotePHY gt 3 lt n1 RemotePHY gt lt n1 TCPChimneySupport gt 3 lt n1 TCPChimneySupport gt lt n1 TXBandwidthControlMaximum gt 3 lt n1 TXBandwidthControlMaximum gt lt n1 TXBandwidthControlMinimum gt 3 lt n1 TXBandwidthControlMinimum gt lt n1 TXFlowControl gt 3 lt n1 TXFlowControl gt lt n1 VEBVEPAMultiChannel gt 3 lt n1 VEBVEPAMultiChannel gt lt n1 VEBVEPASingleChannel gt 3 lt n1 VEBVEPASingleChannel gt lt n1 VFSRIOVSupport gt 3 lt n1 VFSRIOVSupport gt lt n1 VirtualLinkControl gt 3 lt n1 VirtualLinkControl gt lt n1 WOLSupport gt 2 lt n1 WOLSupport gt lt n1 iSCSIBootSupport gt 2 lt n1 iSCSIBootSupport gt lt n1 iSCSIOffloadSupport gt 3 lt n1 iSCSIOffloadSupport gt lt n1 uEFISupport gt 2 lt n1 uEFlSupport gt lt n1 DCIM_NICCapabilities gt 15 6 Listing the CNA Inventory NICStatistics Class Enumerate the DCIM_N CStatistics class with the following parameters and s
189. entComplete gt NA lt n1 PercentComplete gt lt n1 DCIM_LifecycleJob gt 12 2 3 List All LC Jobs EXAMPLE wsman enumerate http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob __cimnamespace root dcim h IPADDRESS V v c dummy cert P 443 u USERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt RID_001300720086 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Reboot Completed lt n1 JobStatus gt lt n1 JobUntilTime gt 20111111111111 lt n1 JobUntilTime gt lt n1 Message gt NA lt n1 Message gt lt n1 MessagelD gt NA lt n1 MessagelD gt lt n1 Name gt Reboot2 lt n1 Name gt lt n1 PercentComplete gt NA lt n1 PercentComplete gt lt n1 DCIM_LifecycleJob lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001300720080 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Completed lt n1 JobStatus gt lt n1 JobUntilTime gt 20111111111111 lt n1 JobUntilTime gt lt n1 Message gt Job completed successfully lt n1 Message gt lt n1 MessagelD gt PR19 lt n1 MessagelD gt lt n1 Name gt ConfigBlOS BIOS Setup 1 1 lt n1 Name gt lt n1 PercentComplete gt 100 lt n1 PercentComplete gt lt n1 DCIM_LifecycleJob gt 12 2 4 Get CSIOR Component Configuration Recovery CCR Attribute The Component Configuration Recovery CCR attributes are 105 Dell
190. eration gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt User Admin IPMI LAN Privilege lt n1 AttributeDisplayName gt lt n1 AttributeName gt IpmiLanPrivilege lt n1 AttributeName gt lt n1 CurrentValue gt NoAccess lt n1 CurrentValue gt lt n1 DefaultValue gt NoAccess lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt lt n1 Group ID gt Users 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 Users 1 lpmiLanPrivilege lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 PossibleValues gt User lt n1 PossibleValues gt lt n1 PossibleValues gt Operator lt n1 PossibleValues gt lt n1 PossibleValues gt Administrator lt n1 PossibleValues gt lt n1 PossibleValues gt NoAccess lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt 19 2 Getting an iDRAC Card Enumeration Instance Use the following example to get an instance of the DC M_iDRACCardEnumeration class instead of all the instances as shown in Section 19 1 Get an iDRACCardEnumeration instance with the following parameters and syntax INSTANCEID This is obtained from the enumeration in Section 19 1 which shows an example using iDRAC Embedded 1 NIC 1 Enable as an instancelD EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim s
191. eters ResourceURI http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob SelectorSet Selector InstancelD JID_001269609760 __ cimnamespace root dcim ReturnValue 4096 15 8 Deleting the Pending Values for CNA DeletePendingConfiguration The DeletePendingConfiguration method cancels the pending configuration changes made before the configuration job is created using the CreateTargetedConfigJob method This method only operates on the pending changes before running the CreateTargetedConfigJob method After the 153 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 configuration job is created to cancel the pending changes call the DeleteJobQueue method in the Job Control profile Invoke the DeletePendingConfiguration method with the following parameters and syntax EXAMPLE wsman invoke a DeletePendingConfiguration http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService SystemName DCIM ComputerSystem Name DCIM NICService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD J DeletePendingConfiguration_NIC xml j utf 8 y basic The input file DeletePendingConfiguration_CNA xml is shown below lt p DeletePendingConfiguration_INPUT xmins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService gt lt p Target gt NIC Integra
192. f a NIC attribute WARNING The local BIOS setting always overwrites the LegacyBootProto option This option is only applied in the BIOS setup By setting this attribute remotely it appears that the value is set but it really did not because the local BIOS setting overrides it Running a get on the attribute remotely displays a different current value Invoke SetAttribute with the following parameters from Section 15 1 and syntax Target FQDD attained through DCIM_NICEnumeration AttributeName Attained from AttributeName field AttributeValue A new value to assign to the specified NiCAttribute If this value is valid it will be applied to the PendingValue property or the Currentvalue property of the specified NiCAttribute Possible choices are attained from PossibleValues field such as Possible values PXE iSCSI NONE 158 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService SystemNam e DCIM ComputerSystem Name DCIM NICService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttribute_NIC_LegacyBootProto xml j utf 8 y basic The input file SetAttribute_NIC xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema
193. f the Lifecycle Controller Web services interfaces 3 2 2 Handling invalid responses from WSMAN commands e Check the network connection to make sure that the system is connected e Check the WSMAN syntax to ensure there are no typos in the command line e Check if there are other WSMAN commands sending from other systems e Wait for a few seconds and re try the WSMAN command 3 2 3 Improving WSMAN Enumeration Performance Enumeration configuration only available for winRM 3 2 4 Specifying StartTime Until Time and TIME_NOW Parameters The several methods that attach a virtual USB device to the target system accept a StartTime and Until parameter The parameter data type is CIM date time If the StartTime parameter is null the action will not be started If the Until parameter is null the default value will be 17 hours The date time data type is defined in the CIM Infrastructure Specification as ddddddddhhmmss mmmmmm Where Dell Lifecycle Controller 2 Web Services Interface Guide for Linux e dddddddd is the number of days hh is the remaining number of hours e mm is the remaining number of minutes e ss is the remaining number of seconds mmmmmm is the remaining number of microseconds Version 2 1 0 The Lifecycle controller 2 0 firmware update and set attribute related methods that require a date time parameter use the form YYYYMMDDhhmmss Eg 20090930112030 The user is expected to enter the date and time in thi
194. facturer gt lt n1 ManufacturingDay gt 7 lt n1 ManufacturingDay gt lt n1 ManufacturingWeek gt 50 lt n1 ManufacturingWeek gt lt n1 ManufacturingYear gt 2010 lt n1 ManufacturingYear gt lt n1 MaxCapableSpeed gt 3 lt n1 MaxCapableSpeed gt lt n1 MediaType gt 0 lt n1 MediaType gt lt n1 Model gt ST9500430SS_ lt n1 Model gt lt n1 OperationName gt None lt n1 OperationName gt lt n1 OperationPercentComplete gt 0 lt n1 OperationPercentComplete gt lt n1 PPID gt THOR734K212330CG0027A00 lt n1 PPID gt lt n1 PredictiveFailureState gt 0 lt n1 PredictiveFailureState gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 RaidStatus gt 2 lt n1 RaidStatus gt lt n1 Revision gt DS62 lt n1 Revision gt lt n1 RollupStatus gt 1 lt n1 RollupStatus gt lt n1 SASAddress gt 5000C50025D64875 lt n1 SASAddress gt lt n1 SecurityState gt 0 lt n1 SecurityState gt lt n1 SerialNumber gt 9SP297S1 lt n1 SerialNumber gt lt n1 SizelnBytes gt 499558383616 lt n1 SizelnBytes gt lt n1 Slot gt 0 lt n1 Slot gt lt n1 SupportedEncryptionTypes gt None lt n1 SupportedEncryptionTypes gt lt n1 UsedSizelnBytes gt 35827154944 lt n1 UsedSizelnBytes gt lt n1 DCIM_PhysicalDiskView gt 16 10 Listing the RAID VirtualDiskView Inventory Enumerating the Virtua DiskView results in the attributes and inventory of the available virtual disks in the system Enumerate VirtualDiskView with the following parameters and syntax EXAMPLE
195. figuration_OUTPUT gt 17 9 Managing BIOS Passwords The ChangePassword method is used to set the BIOS passwords The user can either set change or delete the BIOS system or setup password Setting the BIOS password is performed in several stages as described in the following sections 17 9 1 Setting the BIOS Password The following example sets the BIOS system password to NEW_PASSWORD Three instances of XML are shown below to demonstrate the following scenarios e No BIOS password is set e Changing an existing BIOS password 211 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 e Deleting an existing BIOS password Invoke ChangePassword method with the following parameters Target Obtained from any BIOS enumerate WSMAN command PasswordType Either 1 for system or 2 for setup OldPassword Reference following XML case A B or C NewPassword Reference following XML case A B or C EXAMPLE wsman invoke a ChangePassword http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_BlOSService SystemName DCIM ComputerSystem Name DCIM BlOSService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J change_bios_password xml j utf 8 y basic The input file change_bios_password xml is shown below e No BIOS password is set The OldPassword parameter is not required It ma
196. formation only through secure HTTPS communication Profiles http www dmtf org sites default files standards documents DSP1034_1 0 1 pdf http www dmtf org sites default files standards documents DSP1039_1 0 0 pdf See Section 5 5 1 for an implementation example 5 5 3 Modify Account State using DMTF Model When the account setting capability allows the user account may be enabled or disabled by invoking the RequestStateChange method of the C M_Account class instance The invoke operation requires an instance reference The instance reference may be retrieved by adding EnumerateEPR mode to enumerate or get of the class Profiles http www dmtf org sites default files standards documents DSP1034_1 0 1 pdf http www dmtf org sites default files standards documents DSP1039_1 0 0 pdf Replace DCIM User 16 with the applicable user name and 2 with the desired request state Invoke RequestStateChange with the following parameters and syntax EXAMPLE wsman invoke a RequestStateChange http schemas dmtf org wbem wscim 1 cim schema 2 DCIM_MFAAccount 37 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 __ cimnamespace root dcim SystemCreationClassName DCIM_SPComputerSyste CreationClassName DCIM_MF AAccount SystemName systemmc Name DCIM User 16 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k RequestedState 2 j utf 8 y basic OUTPUT
197. ge gt 122 lt n1 InputVoltage gt lt n1 InstancelD gt PSU Slot 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20110307121906 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20110119144251 000000 000 lt n1 LastUpdateTime gt lt n1 Manufacturer gt Dell lt n1 Manufacturer gt lt n1 Model gt PWR SPLY 502W RDNT lt n1 Model gt lt n1 PartNumber gt OKY091A02 lt n1 PartNumber gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 RedundancyStatus gt 0 lt n1 RedundancyStatus gt lt n1 SerialNumber gt PH1629894U001C lt n1 SerialNumber gt lt n1 TotalOutputPower gt 502 lt n1 TotalOutputPower gt lt n1 Type gt 0 lt n1 Type gt lt n1 DCIM_PowerSupplyView gt lt n1 DCIM_PowerSupplyView gt lt n1 DetailedState gt Absent lt n1 DetailedState gt lt n1 FQDD gt PSU Slot 2 lt n1 FQDD gt lt n1 FirmwareVersion gt lt n1 InputVoltage gt 0 lt n1 InputVoltage gt lt n1 InstancelD gt PSU Slot 2 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20110307121906 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20110119144252 000000 000 lt n1 LastUpdateTime gt lt n1 Manufacturer gt lt n1 Model gt lt n1 PartNumber gt 60 Version 2 1 0 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 PrimaryStatus gt 3 lt n1 PrimaryStatus gt lt n1 RedundancyStatus gt 0 lt n1 RedundancyStatus gt lt n1 SerialNumber gt lt n1 TotalO
198. ge xsi nil true gt TransitioningToState gt 12 lt n1 TransitioningToState gt UserCertificate xsi nil true gt UserID gt UserPassword xsi nil true gt lt n1 DCIM_MFAAccount gt C If B is successful set the new values for the specified instance EXAMPLE C wsman put http schemas dmtf org wbem wscim 1 cimschema 2 DCIM_MFAAccount Version 2 1 0 __cimnamespace root dcim SystemCreationClassName DCIM_SPComputerSyste CreationClassName DCIM_MFAAccount SystemName systemmc Name DCIM User 16 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k UserID testuser4 k UserPassword testuserpss4 j utf 8 y basic When this method is executed the UserID and UserPassword will be displayed in the output OUTPUT C lt n1 DCIM_MFAAccount gt lt n AuthenticateMethod xsi nil true gt lt n1 AvailableRequestedStates xsi nil true gt lt n lt n lt n lt n1 CreationClassName gt DCIM_MFAAccount lt n1 CreationClassName gt Caption xsi nil true gt CommunicationStatus xsi nil true gt ComplexPasswordRulesEnforced xsi nil true gt 35 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 Description xsi nil true gt Descripti
199. gt 161 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt NICO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 15 16 Setting the FCoE Boot Target The SetAttributes method is used to set or change the values of the FCoE boot target attributes Invoke the SetAttributes method with the following parameters from 15 1 and syntax Target FQDD attained through DCIM_NiCEnumeration AttributeName Attained from AttributeName field AttributeValue A new value to assign to the specified NiCAttribute If this value is valid it is applied to the PendingValue property or the Currentvalue property of the specified NiCAttribute Possible choices are attained from PossibleValues field such as Possible values Disabled Enabled EXAMPLE wsman invoke a SetAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NIC Service SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService Syst emName D CIM ComputerSystem Name DCIM NICService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttributes_FCoE_BootTarget xml j utf 8 y basic The information in the input file SetAttributes_FCoE_B
200. gt lt n1 OSList gt Red Hat Linux Enterprise 4 7 64 bit lt n1 OSList gt lt n1 OSList gt Red Hat Enterprise Linux 5 3 32 bit lt n1 OSList gt lt n1 OSList gt Red Hat Enterprise Linux 5 3 64 bit lt n1 OSList gt lt n1 OSList gt SUSE Linux Enterprise Server 10 SP2 64 bit lt n1 OSList gt lt n1 OSList gt SUSE Linux Enterprise Server 11 64 bit lt n1 OSList gt lt n1 OSList gt ESX 3 5 U4 81 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 OSList gt lt n1 OSList gt ESX 4 0 lt n1 OSList gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 Version gt 6 1 0 7 lt n1 Version gt lt n1 GetDriverPackInfo_OUTPUT gt 11 3 2 Unpack Selected Drivers and Attach to Host OS as USB Device This method is used to unpack the drivers for the selected OS to a virtual storage partition and to then attach this partition to the host OS as an emulated USB storage device 1 Invoke extrinsic method using the following parameters section a object path object path returned from Section 11 1 profile conformance b Method name UnpackAndAttach c OSName Has to be a valid value from the list returned by GetDriverPackinfo d ExposureStartTime for this release the value is NULL oo e ExposureDuration a string formatted as an interval in CIM_DateTime format This parameter denotes the interval of time after which the partition is to be detac
201. gt AttributeName gt VLanID lt n1 AttributeName gt CurrentValue gt 1 lt n1 CurrentValue gt lt n lt n lt n1 DefaultValue gt 1 lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt NIC lt n1 GroupDisplayName gt lt n1 GroupID gt NIC 1 lt n1 GroupID gt InstancelD gt iDRAC Embedded 1 NIC 1 VLanID lt n1 InstancelD gt IlsReadOnly gt false lt n1 lsReadOnly gt lt n lt n lt n1 LowerBound gt 1 lt n1 LowerBound gt lt n1 UpperBound gt 4094 lt n1 UpperBound gt lt n1 DCIM_iDRACCardInteger gt 19 4 Applying the Attributes and Polling Job Completion 19 4 1 Changing iDRAC Values ApplyAttributes Immediate Invoke the ApplyAttributes method on the DCIM_iDRACCardService class to set or change the value of one or many enumerate type attributes This method takes an xml file as input The changes to the attributes are defined in this xml file This method returns a JobID that is used as input in the next section Section 19 3 2 Invoke ApplyAttributes method with the following parameters and syntax EXAMPLE 226 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux wsman invoke a ApplyAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardService SystemCreationClassName DC
202. gt Description xsi nil true gt Descriptions xsi nil true gt DetailedStatus xsi nil true gt ElementName gt MFA Account 1 lt n1 ElementName gt EnabledDefault gt 2 lt n1 EnabledDefault gt EnabledState gt 3 lt n1 EnabledState gt HealthState xsi nil true gt Host xsi nil true gt InactivityTimeout xsi nil true gt InstallDate xsi nil true gt sLastLogin xsi nil true gt LocalityName xsi nil true gt lt n1 MaximumSuccessiveLoginFailures xsi nil true gt lt n lt n Name gt DCIM User 1 lt n1 Name gt OU xsi nil true gt 34 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 lt n1 lt n1 lt n1 lt n lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 ObjectClass xsi nil true gt OperatingStatus xsi nil true gt OperationalStatus xsi nil true gt OrganizationName gt DCIM lt n1 OrganizationName gt OtherEnabledState xsi nil true gt PasswordExpiration xsi nil true gt PasswordHistoryDepth xsi nil true gt PrimaryStatus xsi nil true gt RequestedState gt 0 lt n1 RequestedState gt SeeAlso xsi nil true gt Status xsi nil true gt StatusDescriptions xsi nil true gt SystemCreationClassName gt DCIM_SPComputerSystem lt n1 SystemCreationClassName gt lt ni lt n1 lt n1 lt n1 lt n1 lt n1 SystemName gt systemmc lt n1 SystemName gt TimeOfLastStateChan
203. gt lt s Value gt wsman InvalidParameter lt s Value gt lt s Subcode gt lt s Code gt lt s Reason gt lt s Text xml lang en gt An operation parameter is not valid lt s Text gt lt s Reason gt lt s Detail gt lt wsman FaultDetail gt http schemas dmtf org wbem wsman 1 wsman faultDetail MissingValues lt wsm an FaultDetail gt 91 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt s Detail gt lt s Fault gt 11 3 11 Boot to ISO from VFlash This method will expose the ISO Image present on VFlash as a CDROM device to the host server and boots to it Invoke BootToISOFromVFlash with the following syntax EXAMPLE wsman invoke a BootTolSOFromVFlash http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationC lassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT When this command is executed a status or error message will be returned lt n1 BootTolSOFromVFlash_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_OSDConcreteJob lt wsman ResourceURI gt
204. gt PERC H310 Adapter lt n1 ProductName gt lt n1 RollupStatus gt 1 lt n1 RollupStatus gt lt n1 SASAddress gt 5782BCB00C577600 lt n1 SASAddress gt lt n1 SecurityStatus gt 0 lt n1 SecurityStatus gt lt n1 SlicedVDCapability gt 1 lt n1 SlicedVDCapability gt lt n1 DCIM_ControllerView gt 9 11 BIOS Inventory amp Configuration The BIOS Management Profile extends the management capabilities of referencing profiles by adding the capability to represent and configure BIOS attributes such as a Network Controller or IDE Controller The individual BIOS attribute s relationship with a respective device is also described Additionally the profile s registration for the schema implementation version information is described See Section 17 for more information including inventories for B OSString and BlOSInteger Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate B OSEnumeration with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSEnumeration h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_BIOSEnumeration gt lt n1 AttributeDisplayName gt System Memory Testing lt n1 AttributeDisplayName gt lt n1 AttributeName gt MemTest lt n1 AttributeName gt lt n1 CurrentValue gt Disabled lt n1 CurrentValue gt lt n1 Dependency xsi nil true gt
205. he following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardEnumeration h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic dialect http schemas microsoft com wbem wsman 1 WQL filter select from DCIM_iDRACCardInteger where GroupID NIC 11 The possible inputs for GrouplD are NIC 1 VirtualMedia 1 IPv4 1 Users 3 OUTPUT lt n1 DCIM_iDRACCardInteger gt lt n1 AttributeDisplayName gt VLan Priority lt n1 AttributeDisplayName gt lt n1 AttributeName gt VLanPriority lt n1 AttributeName gt 225 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 CurrentValue gt 0 lt n1 CurrentValue gt lt n1 DefaultValue gt 0 lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n GroupDisplayName gt NIC lt n1 GroupDisplayName gt GroupID gt NIC 1 lt n1 GroupID gt InstancelD gt iDRAC Embedded 1 NIC 1 VLanPriority lt n1 InstancelD gt lt n lt n lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 UpperBound gt 7 lt n1 UpperBound gt lt n1 DCIM_iDRACCardInteger gt lt n1 DCIM_iDRACCardInteger gt lt n AttributeDisplayName gt VLan ID lt n1 AttributeDisplayName
206. he iSCSI Boot Target icici ce ee 160 15 16 Setting the FCoE Boot Target iic cescsotnst ieee edema hele 162 16 RAID Storage Management cccccceeeeeeecccceeeeeeeeeeeeeeaaeeeeeeeeeeteaaaaaaeeeeeeeeetesesaaaeeeeeees 163 16 1 Listing the RAID Inventory Enumeration Class 0 cceeeeeeeeeeeeeeee eee eeeeeneeeeeeeeeeteeee 163 16 2 Getting a RAID Enumeration Instance ccccccceeeeeeeeeeececeeeeeeeeeeenenaeeeeeeeeeeeeneas 165 16 3 Listing the RAID Inventory Integer Class c cccceeeeeeeeeeeeeteeeeeeeeeeeeeeneeeeeeeeeeeeteee 166 16 4 Getting a RAID Integer Instance eect etree eee tennee eee e errr teeennaaeeeeeeeeeeneee 168 16 5 Listing the RAID Inventory String Class cccccceeeeeeeeeeeeeeneeeeeeeeeeeeeeenaeeeeeeeeeeneeee 168 16 6 Getting a RAID String Instance acthectcadepeeneiateeintheniest eee ek 169 16 7 Listing the RAID Inventory ControllerView Class cccceeeeeeeeeeeeeeeeetteeeeeeeeeeteeee 170 16 8 Getting a RAID ControllerView Instance c ccccceeeeeeeeeeeeeeeeee eee eeeeenneeeeeeeeeeteeee 171 16 9 Listing the RAID Inventory PhysicalDiskView Class ccccceeeeeeeeeeteeeeeeeeeeeeeee 172 16 10Listing the RAID VirtualDiskView Inventory ccc ee eee eeee eee eeetetteeeeeeeeeeeteeee 173 16 11 Listing the RAID EnclosureView Inventory ccccceeeeeeeeeeteeeeeeeeeeeeeeenneeeeeeeeeeteeee 175 16 12 Reset Configuration ResetConfig eeeesesccceeeeeee
207. he input parameters The MessagelD and Message output parameters will further contain method invocation information if an error occurred lt n1 BootToNetworkISO_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_OSDConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM_OSDConcreteJob 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt 87 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 BootToNetworkISO_OUTPUT gt The following error message is a caused by a typo in the wsman input Careful attention must be paid to the input capitalization of the attributes lt s Fault gt lt s Code gt lt s Value gt s Sender lt s Value gt lt s Subcode gt lt s Value gt wsman InvalidParameter lt s Value gt lt s Subcode gt lt s Code gt lt s Reason gt lt s Text xml lang en gt An operation parameter is not valid lt s Text gt lt s Reason gt lt s Detail gt lt wsman FaultDetail gt http schemas dmtf org wbem wsman 1 wsman faultDetail MissingValues lt wsm an
208. he install date will be 1970 01 01 Factory installed firmware will have the 1970 01 01 date 40 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 VersionString Shows the version of the firmware represented 7 Firmware Update 7 1 Software Update Profile Specification The Dell Common Information Model CIM class extensions for supporting BIOS component firmware and embedded software update are defined in the Dell Software Update Profile and related MOF files The diagrams representing the classes that are implemented by the Lifecycle Controller 1 5 firmware can be found in Dell Software Update Profile as well Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 7 2 Rollback Firmware The InstallFromSoftwareldentity method is used for installation of a previous version of a component firmware that is available on the Lifecycle Controller i e rollback of component firmware The general Rollback firmware steps are performed in several stages as described in the next sections Meanwhile the steps are demonstrated in examples in Section 7 3 and Section 7 4 Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 7 2 1 Request Rollback Image The first stage is a request to initiate and download the rollback image from the Lifecycle Controller by invoking the InstallFromSoftwareldentity method 7 2 2
209. hed from the Host OS 2 Invoke method shall return the following output parameters a Job object path to CIM_ConcreteJob reports the status of unpack and attach b Enumerating this instance of CIM_ConcreteJob will show the status of the current operation Invoke UnpackAndAttach with the following syntax EXAMPLE wsman invoke a UnpackAndAttach http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM O0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k OSName OSName k ExposeDuration 00000000002200 000000 000 j utf 8 y basic Above example uses Windows Server R 2008 x64 for OSName 82 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 OUTPUT lt n1 UnpackAndAttach_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_OSDConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM_OSDConcreteJob 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferencePa
210. his section describes the implementation for the DCIM_PCIDeviceView class The Dell PCI Profile describes platform s PCI devices Each PCI device s information is represented by an instance of DCIM_PCIDeviceView class Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 65 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Enumerate DCIM_PCIDeviceView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PCIDeviceView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_PCIDeviceView gt lt n1 BusNumber gt 1 lt n1 BusNumber gt lt n1 DataBusWidth gt 0002 lt n1 DataBusWidth gt lt n1 Description gt PERC H310 Adapter lt n1 Description gt lt n1 DeviceNumber gt 0 lt n1 DeviceNumber gt lt n1 FQDD gt RAID Slot 1 1 lt n1 FQDD gt lt n1 FunctionNumber gt 0 lt n1 FunctionNumber gt lt n1 InstancelD gt RAID Slot 1 1 lt n1 InstancelD gt lt n1 LastSystemlnventoryTime gt 20120106113848 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20120106113829 000000 000 lt n1 LastUpdateTime gt lt n1 Manufacturer gt LSI Logic Symbios Logic lt n1 Manufacturer gt lt n1 PCIDevicelD gt 0073 lt n1 PCIDevicelD gt lt n1 PClSubDevicelD gt 1F4E lt n1 PCISubDevicelD gt lt n1 PClSubVendorID gt 1028 lt n1 PC
211. ibutes ChangeBootOrderByInstancelD and ChangeBootSourceState methods The system will automatically reboot depending on the ScheduledStartTime selected Using the CreateTargetedConfigJob jobID output with the job control section can be used to obtain its status Invoke CreateTargetedConfigJob with the following parameters and syntax TARGET This Parameter is the FQDD of the B OSAttribute instances obtained from the InstancelD field in Section 17 1 RebootJobType There are three options for rebooting the system 209 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 1 PowerCycle 2 Graceful Reboot without forced shutdown 3 Graceful reboot with forced shutdown Note When a user does not want to set a reboot type when creating a target job users should comment out the RebootJobType in the input xml User should not enter 0 or give no parameter at all in the input xml EXAMPLE wsman invoke a CreateTargetedConfigJob http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_BlOSService SystemName DCIM ComputerSystem Name DCIM BlOSService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J CreateTargetedConfigJob_BIOS xml j utf 8 y basic The input file CreateTargetedConfigJob_BIOS xml is shown below lt p CreateTargetedConfigJob_INPUT xmlns p http schemas dmtf
212. ice h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 GetRemoteServicesAPIStatus_OUTPUT gt lt n1 LCStatus gt 0 lt n1 LCStatus gt lt n1 Message gt Lifecycle Controller Remote Services is ready lt n1 Message gt lt n1 MessagelD gt LC061 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 ServerStatus gt 2 lt n1 ServerStatus gt lt n1 Status gt 0 lt n1 Status gt lt n1 GetRemoteServicesAP Status_OUTPUT gt Details on each output parameter is described below Output Possible values Description parameter Name Status 0 Ready Lifecycle Controller Remote Services is ready to accept any web services request 1 Not Ready Lifecycle Controller Remote Services is currently not ready to accept web services request This could be because the instrumentation in iDRAC might be reloading not_ready or server is in POST or performing scheduled provisioning requests or Lifecycle Controller Unified Server Configurator is in use MessagelD LC060 LC061 Message Lifecycle Controller Message for ID LC060 Remote Services is not ready Lifecycle Controller Message for ID LC061 Remote Services is ready ServerStatus 0 Powered off Server is powered off 1 In POST Server is performing normal POST operation 239 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 2 Out of
213. ide for Linux Version 2 1 0 DCIM_CLPRoleBasedManagementCapabilities ActivitiesSupported null ActivityQualifiersSupported null Caption null Description null ElementName CLP Role Based Management Capabilities InstancelD DCIM CLPRoleBasedManagementCapabilities QualifierFormatsSupported null SharedPrivilegeSupported false SupportedMethods 6 DCIM_IPMIRoleBasedManagementCapabilities ActivitiesSupported null ActivityQualifiersSupported null Caption null Description null ElementName IPMI Role Based Management Capabilities InstancelD DCIM IPMIRoleBasedManagementCapabilities QualifierFormatsSupported null SharedPrivilegeSupported false SupportedMethods 6 5 5 Manage Account Settings using DMTF Model 5 5 1 Modify User Name using DMTF Model When the account setting capability allows the user name of an account may be modified by issuing a set operation on the UserID property of the C M_Account class instance The set operation requires an instance reference The instance reference may be retrieved by adding EnumerateEPR mode to enumerate or get of the class Profiles http www dmtf org sites default files standards documents DSP1034_1 0 1 pdf http www dmtf org sites default files standards documents DSP1039_1 0 0 pdf The steps below demonstrate how to set the user name and password for local accounts A Enumerate CIM_Account with EPR to identify all possible instance information to be used in
214. ildRate lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 LowerBound gt 1 lt n1 LowerBound gt lt n1 PendingValue gt The s InstancelD as input et attribute method in lt n1 UpperBound gt 100 Section 16 19 3 uses the FQDD lt n1 UpperBound gt AttributeName and a value equal to lt n1 DCIM_RAIDInteger gt or between the LowerBound and Uppe lt n1 DCIM_RAIDInteger gt lt n1 AttributeName gt RAIDccRate lt n1 AttributeName gt lt n1 CurrentValue gt 22 lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDccRate lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 LowerBound gt 1 lt n1 LowerBound gt lt n1 PendingValue gt lt n1 UpperBound gt 100 lt n1 UpperBound gt lt n1 DCIM_RAIDInteger gt rBound fields as input lt n1 DCIM_RAIDInteger gt The set attributes method in lt n1 AttributeName gt section RAIDreconstructRate or betw Uppe lt n1 AttributeName gt lt n1 CurrentValue gt 33 lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDreconstructRate lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 LowerBound gt 1 lt n1 LowerBound gt 167 16 19 4 uses the FQDD AttributeName and a value equal to een the LowerBound and rBound fields
215. imestmp lt n1 AttributeName gt lt n1 CurrentValue gt Disabled lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 3 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 3 1 TcpTimestmp lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_NICEnumeration gt 15 2 Listing the NIC CNA Inventory String Class Enumerate DC M_N CString class with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICString h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_NICString gt lt n1 AttributeName gt ChipMdl lt n1 AttributeName gt lt n1 CurrentValue gt BCM5709 CO lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt 145 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 InstancelD gt NIC Embedded 1 1 ChipMdl lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 0 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PendingValue xsi nil true gt lt n1 DCIM_NICString gt lt n1 DCIM_NICString gt lt n1 AttributeName gt M
216. ing iDRAC Values ApplyAttributes Immediate cceeeee 226 19 4 2 Polling Job Completion ss sic 2 2ecces cate seekse dk aes taee tects seciediete ees bechndeedbeat eaten 228 19 4 3 Set Attribute Verification cece cece ee eee eeeeeeceeeeeeeeeeeeeenseeaaeaeeeeeeeeneneae 229 19 5 Listing the iDRAC Card Inventory Integer Class ceecceeeeeeeeeee eee eeeeeneeeeeeeeeeeteeee 231 19 6 Listing the iDRAC Card Inventory Integer Class using grouplD cceeeeeteees 232 19 7 Listing the iDRAC Card Inventory String Class ceeeeeeeeeeeeee eter eee eeeenneeeeeeeeeeneeee 233 8 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 19 8 Listing the iDRAC Card Inventory String Class using QroupID cccceceeeee eee 235 19 9 Changing the iDRAC IPChange Notification ee eeceeeeeee tere eee eeetneeeeeeeeeeteeee 237 19 9 1 Getting the Current iDRAC IPChange State ccccceeeeieeeeneereeeeeeeeteeee 237 19 9 2 Setting the iDRAC IPChange Notification SetAttribute cece 237 20 Remote Service Status asses NG seth en equ seve cocaheaua den sueeh dence aden banasaneatien ddaases shdenthertdeczoutide 238 20 1 Getting Remote Service Status cece cece eeeeeeeaaeeeeeeeeeeeeaaaaaeeeeeeeeeeeeeenaaaaes 238 20 2 Restarting Remote Service Status ccccccceeeeeeeeeeeeeeeeeeeeeeeeesegaaaeeeeeeeeeeeeeesaaaaes 240 21 System Information ses se Aaa Ps S
217. ing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_SoftUpdateConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001299753238 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 InstallFromSoftwareldentity_OUTPUT gt Entering an invalid instancelD may yield the following error message lt n1 InstallFromSoftwareldentity_OUTPUT gt lt n1 Message gt Invalid InstancelD lt n1 Message gt lt n1 MessagelD gt SUP024 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 InstallFromSoftwareldentity_OUTPUT gt 7 5 Update from Network Source A Firmware update can be achieved by invoking the InstallFromURI method in the class DCIM_SoftwarelnstallationService Firmware update is performed in several stages as described in the next sections The steps are demonstrated in examples in Section 7 6 and Section 7 7 45 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Note When using WSMAN command to initiate update jobs make sure to wait for two seconds before submitting a second job in order to avoiding racing conditions 7 5 1 Request Update D
218. is shown below lt p ExportLCLog_INPUT xmlins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p IPAddress gt 123 456 7 8 lt p IPAddress gt lt p ShareName gt sharename lt p ShareName gt lt p FileName gt filename txt lt p FileName gt lt p ShareType gt 0 lt p ShareType gt lt p Username gt admin lt p Username gt lt p Password gt password lt p Password gt lt p Workgroup gt workgroup lt p Workgroup gt lt p ExportLCLog_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300792091 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ExportLCLog_OUTPUT gt 12 14 Export Hardware Inventory from Lifecycle Controller This method is used to export the hardware inventory from the Lifecycle Controller to a text file ona remote share Invoke ExportHWInventory with the following parameters and syntax 117 Dell Lifecycle
219. isc Seecauce a pdeiictanceheianeeet aasnncaleagedla tases Sebati iadadtebonaedtioan 215 18 1 1 Exporting Server Profile to iDRAC vFlash Card Backuplmage 265 216 18 1 2 Exporting Server Profile to NFS Share BackupIMage ceeeeeeeeeeeees 216 18 1 3 Exporting Server Profile to CIFS Share Backuplmage ccceeeeeeee 217 18 1 4 Monitoring Export SlAtUS wisi ia chs c0se curcedsudve nectar cede ielar tt enengestatidebdetie ciiedanede 218 18 2 Importing Server Provile ce c cccecesetec teu becved cacevecae tehaleeteteapes vcceeds teen ead stele ete 218 18 2 1 Importing Server Profile from iDRAC vFlash Card Restorelmag 219 18 2 2 Importing Server Profile from NFS share RestorelMage ccceeeeeeee 219 18 2 3 Importing Server Profile from CIFS share RestorelMage cccceeeeeeee 220 18 2 4 Monitoring Import Status ss cs6cc ete centeeeoibeeidcnciieabersid ec eee 221 iDRAC Configuration c f t ceccenet Keeley cecene Nase eden cas hes deena ce cquhen cenener Made ure Enese ands 222 19 1 Listing the iDRAC Card Inventory Enumeration Class 0 ccccceceeeeeteeeeeeeeeeteee 222 19 2 Getting an iDRAC Card Enumeration Instance 0 ceeeeeeeeeeeeeeeeeeeeeeeenneeeeeeeeeeeeeee 224 19 3 Listing the iDRAC Card Inventory Enumeration Class using groupID 68 225 19 4 Applying the Attributes and Polling Job Completion ccccccceeeeceeeeeeeeeeeeeeeeteee 226 19 4 1 Chang
220. isk Bay 3 Enclosure Internal 0 0 RAID Integrated 1 1 lt p Target gt lt p UnassignSpare_INPUT gt OUTPUT lt n1 UnassignSpare_OUTPUT gt lt n1 RebootRequired gt YES lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 UnassignSpare_OUTPUT gt 16 17 Managing Keys for Self Encrypting Drives NOTE The Dell Key Manager feature is not available at this time 16 17 1 Setting the Key SetControllerKey The SetControllerKey method sets the key on controllers that support encryption of the virtual disk drives Invoke SetControllerKey with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 Key Maximum size 32 characters Keyid Identifier or description for the key maximum size 255 characters 182 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a SetControllerKey http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetControllerKey xml j utf 8 y basic The input file SetControllerKey xml is shown below lt p SetControllerKey_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target
221. ith the following parameters and syntax EXAMPLE wsman invoke a GetRemoteServicesAP Status http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 GetRemoteServicesAPIStatus_OUTPUT gt lt n1 LCStatus gt 0 lt n1 LCStatus gt lt n1 Message gt Lifecycle Controller Remote Services is ready lt n1 Message gt lt n1 MessagelD gt LC061 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 ServerStatus gt 2 lt n1 ServerStatus gt lt n1 Status gt 0 lt n1 Status gt lt n1 GetRemoteServicesAPIStatus_OUTPUT gt 12 18 Export System Configuration This method is used to export the system configuration from the Lifecycle Controller to a file ona remote share Invoke ExportSystemConfiguration with the following parameters and syntax IPAddress This is the IP address of the target export server ShareName This is the directory path to the mount point FileName This is the target output file ShareType Type of share NFS 0 CIFS 2 Username This is the username to the target export server Password This is the password to the target export server EXAMPLE wsman invoke a ExportSystemConfiguration http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DC
222. ith the following parameters and syntax Physical Disk TARGET Obtained from the FQDD field Section 16 9 An example of Disk Bay 2 Enclosure Internal 0 0 RAID Slot 1 1 is shown below EXAMPLE winrm invoke ConvertToRAID cimv2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClass Name DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ConvertToRAID xml j utf 8 y basic 202 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 The input file ConvertToRAID xml is shown below lt p ConvertToRAID_INPUT xmlins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p PDArray gt Disk Bay 2 Enclosure Internal 0 0 RAID Slot 1 1 lt p PDArray gt lt p ConvertToRAID_INPUT gt OUTPUT ConvertToRAID_OUTPUT RebootRequired 1 ReturnValue 0 16 21 Convert Physical Disks to Non RAID ConvertToNonRAID The ConvertToNonRAID method is used to convert a physical disks in RAID state of Ready to a Non RAID state After the method is successfully executed the PendingValue property of RAIDPDState should reflect the pending changes After the CreateTargetedConfigJob method is successfully executed the RAIDStatus property which is enumerated in the DCIM_PhysicalDiskView from Section 16 9 should reflect the new state of that physical disk In
223. itional sliced virtual disk can be created using the same set of physical disks and same RAID level that was used to create the first sliced virtual disk If the physical disks have sliced virtual disks then use the CheckVDValues method on that set of physical disks to find the exact value for StartingLBA Use this value as the StartingLBA parameter value of the CreateVirtualDisk method The ObjectStatus property in the virtual disk view see Section 16 10 has the value 3 which represents a pending change The virtual disk is not created until a configuration job see Section 16 14 is scheduled and the system is rebooted After the virtual disk creation the FQDD of the pending virtual disk changes Invoke the CreateVirtualDisk method with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 PDArray This parameter is the list of physical disk FQDDs that is used to create a virtual Disk VDPropNameArray This parameter is the list of property names that is used to create a virtual disk The parameter list has the following names Size RAIDLevel SpanDepth SpanLength StripeSize ReadPolicy WritePolicy DiskCachePolicy VirtualDiskName Initialize VDPropValueArray This parameter is the list of property values that is used to create a virtual Disk The property values are for the property names listed under VDPropNameArray Size Size of the virtual disk specified i
224. jobid can then be used for subsequent processing with job control provider in Section 10 InstallFromURI_OUTPUT Job Address http schemas xmlsoap org ws 2004 08 addressing role anonymous ReferenceParameters ResourceURI http schemas dell com wbem wscim 1 cim schema 2 DCIM_SoftUpdateConcreteJob SelectorSet Selector InstancelD JID_001265810325 ___cimnamespace root dcim ReturnValue null Missing XML parameters may yield the following error message lt n1 InstallFromURI_OUTPUT gt lt n1 Message gt Insufficient Method Parameters lt n1 Message gt lt n1 MessagelD gt SUP001 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 InstallFromURI_OUTPUT gt 7 7 Update BIOS from HTTP CIFS Share TFTP or FTP The InstallFromURI method takes the following input and downloads the Dell Update Package to the Lifecycle Controller in the target system The method returns a jobid for an instance of DCIM_SoftwareUpdateJob that can be scheduled to execute or queried for status at a later time The following is the example of the method for updating a BIOS firmware Invoke InstallFromURI with the following parameters and syntax 48 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 URI IP ADDRESS This is the IP address of the location for Dell Update Package The Dell Update Package will need to be the Windows type update package The file share can be HTTP CIFS
225. l protocols 0 Include SATA 1 Include SAStypes 2 DiskEncrypt Types of encryption to include 0 Include FDE capable and non encryption capable disks 1 Include FDE disks only 2 Include only non FDE disks PDArray This parameter is the list of physical disk FQDDs EXAMPLE wsman invoke a GetRAIDLevels http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J GetRAIDLevels xml j utf 8 y basic The input file GetRAIDLevels xml is shown below lt p GetRAIDLevels_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p DiskType gt 0 lt p DiskType gt lt p Diskprotocol gt 0 lt p Diskprotocol gt lt p DiskEncrypt gt 0 lt p DiskEncrypt gt lt p PDArray gt Disk Bay 0 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p PDArray gt Disk Bay 1 Enclosure Internal 0 0 RAID Integrated 1 1 lt p PDArray gt lt p GetRAIDLevels_INPUT gt OUTPUT lt n1 GetRAIDLevels_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 VDRAIDEnumArray gt 2 lt n1 VDRAIDEnumArray gt lt n1 VDRAIDEnumArray gt 4 lt n1 VDRAIDEnumArray gt lt n1 VDRAIDEnumArray gt 64 lt n1 VDRAIDEnumArray gt lt n1 VD
226. lFromSoftwareldentity http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService CreationClassName DCIM_SoftwarelnstallationService SystemCreationClassName DCIM_ComputerSystem SystemName IDRAC ID Name SoftwareUpdate h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J RolllnputNIC xml j utf 8 y basic The rollback input file RolllnputNIC xml is shown below lt p InstallFromSoftwareldentity_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService gt 44 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt p Target xmlins a http schemas xmlsoap org ws 2004 08 addressing xmlins w http schemas dmtf org wbem wsman 1 wsman xsd gt lt a Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt a Address gt lt a ReferenceParameters gt lt w ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_Softwareldentity lt w ResourceURI gt lt w SelectorSet gt lt w Selector Name InstancelD gt InstancelD lt w Selector gt lt w SelectorSet gt lt a ReferenceParameters gt lt p Target gt lt p InstallFromSoftwareldentity_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 InstallFromSoftwareldentity_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 address
227. le from iDRAC vFlash Card Restorelmage iDRAC vFlash Card ShareType is 4 wsman invoke a Restorelmage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic k IPAddress SHARE_IPADDRESS k ShareName DRIVESHARE k ShareType 4 k Username SHARE_USERNAME k Password SHARE_PASSWORD k Passphrase PASSPHRASE k ImageName IMAGENAME k ScheduledStartTime TIME_NOW 18 2 2 Importing Server Profile from NFS share Restorelmage NFS Share ShareType is 0 EXAMPLE wsman invoke a Restorelmage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 219 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 u SUSERNAME p PASSWORD j utf 8 y basic k IPAddress SHARE_IPADDRESS k ShareName DRIVESHARE k ShareType 0 k Username SHARE_USERNAME k Password SHARE_PASSWORD k Passphrase PASSPHRASE k ImageName IMAGENAME k ScheduledStartTime TIME_NOW NOTE The ShareName field should only be the folder exposed b
228. lementName gt lt n1 InstancelD gt DCIM pwrmgtcap1 lt n1 InstancelD gt lt n1 OtherPowerCapabilitiesDescriptions xsi nil true gt lt n1 OtherPowerChangeCapabilities xsi nil true gt lt n1 PowerCapabilities xsi nil true gt lt n1 PowerChangeCapabilities gt 3 lt n1 PowerChangeCapabilities gt lt n1 PowerChangeCapabilities gt 4 lt n1 PowerChangeCapabilities gt lt n1 PowerChangeCapabilities gt 8 lt n1 PowerChangeCapabilities gt lt n1 PowerStatesSupported gt 2 lt n1 PowerStatesSupported gt lt n1 PowerStatesSupported gt 5 lt n1 PowerStatesSupported gt lt n1 PowerStatesSupported gt 8 lt n1 PowerStatesSupported gt lt n1 PowerStatesSupported gt 11 lt n1 PowerStatesSupported gt lt n1 PowerStatesSupported gt 12 lt n1 PowerStatesSupported gt lt n1 DCIM_CSPowerManagementCapabilities gt 8 4 Power Control 8 4 1 Base Server Method Changing the power state such as cycling the power is performed by invoking the RequestStateChange method of the CIM_ComputerSystem class instance For iDRAC there is one instance for the main system and another for iDRAC Use the main system instance The method requires you to specify the RequestedState argument Refer to Section 8 3 to get the possible values for this argument Base Server Profile http www dmtf org sites default files standards documents DSP1004_1 0 1 pdf EXAMPLE wsman invoke a RequestStateChange http schemas dell com wbem wscim 1 cim schema 2 DCIM_Compu
229. ler that supports encryption This method switches the controller mode between Local Key encryption or Dell Key Manager DKM encryption Invoke the ReKey method with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView class See section 16 1 OldKey Old controller key NewKey New controller key The Key can be maximum 32 characters long and must have one character from each of the following Upper Case Lower Case Number Special Character The special characters in the following set must be passed as mentioned 185 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 below amp gt amp amp lt gt amp lt gt gt amp gt gt amp quot lt gt amp apos Keyid Key Identifier Describes Key The Keyid can be maximum 32 characters long and shoutd not have spaces in it Mode Mode of the Controller 1 Local Key Encryption 2 Dell Key Manager EXAMPLE wsman invoke a ReKey http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ReKey xml j utf 8 y basic The information in the input file ReKey xml is shown below lt p ReKey_INPUT xmlins p http schemas dmtf org wbem wscim 1 cim schema 2 roo
230. ll contain one instance of CIM_RegisteredProfile containing property RegisteredVersion 1 1 0 4 Associators objectpath instance returned from step 3 AssociationClass CIM_ElementConformsToProfile 5 Result shall contain one instance of DCIM_OSDeploymentService Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 11 2 Checking OS Deployment Service Availability Invoke enumerate with the following syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_OSDeploymentService gt lt n1 AvailableRequestedStates xsi nil true gt lt n1 Caption xsi nil true gt lt n1 CommunicationStatus xsi nil true gt lt n1 CreationClassName gt DCIM_OSDeploymentService lt n1 CreationClassName gt lt n1 Description xsi nil true gt lt n1 DetailedStatus xsi nil true gt lt n1 ElementName gt Operating System Deployment Service lt n1 ElementName gt lt n1 EnabledDefault gt 2 lt n1 EnabledDefault gt lt n1 EnabledState gt 5 lt n1 EnabledState gt lt n1 HealthState xsi nil true gt 79 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 InstallDate xsi nil true gt lt n1 Name gt DCIM OSDeploymentService lt n1 Name gt lt n1 OperatingStatus xsi nil true g
231. llowing can occur if an invalid JobID is entered lt s Fault gt lt s Code gt lt s Value gt s Sender lt s Value gt lt s Subcode gt lt s Value gt wsa DestinationUnreachable lt s Value gt lt s Subcode gt lt s Code gt lt s Reason gt lt s Text xml lang en gt No route can be determined to reach the destination role defined by the WS Addressing To lt s Text gt lt s Reason gt lt s Detail gt lt wsman FaultDetail gt http schemas dmtf org wbem wsman 1 wsman faultDetail InvalidResourceURI lt wsman FaultDetail gt lt s Detail gt lt s Fault gt 11 Operating System Deployment The Dell Common Information Model CIM class extensions for supporting remote operating system OS deployment are defined in the Dell OS Deployment Profile and the DCIM_OSDeploymentService MOF file The diagrams representing the classes that are implemented by the Lifecycle Controller 1 5 firmware can be found in Dell OS Deployment Profile as well 78 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 11 1 OS Deployment Profile Implementation Conformance Use the following algorithm to test the instrumentation for OS Deployment Profile version conformance and to discover the implementation namespace 1 Enumerate namespace root interop classname CIM_RegisteredProfile 2 Filter the returned enumeration using property filter RegisteredName 0S Deployment 3 Result sha
232. lt n1 DCIM_NICInteger gt lt n1 DCIM_NICInteger gt 147 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 AttributeName gt FirstTgtTcpPort lt n1 AttributeName gt lt n1 CurrentValue gt 3260 lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 FirstTgtTcpPort lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 LowerBound gt 1 lt n1 LowerBound gt lt n1 PendingValue xsi nil true gt lt n1 UpperBound gt 65535 lt n1 UpperBound gt lt n1 DCIM_NICIinteger gt lt n1 DCIM_NICInteger gt lt n1 AttributeName gt FirstTgtBootLun lt n1 AttributeName gt lt n1 CurrentValue gt 0 lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 FirstTgtBootLun lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 PendingValue xsi nil true gt lt n1 UpperBound gt 255 lt n1 UpperBound gt lt n1 DCIM_NICInteger gt 15 4 Listing the CNA Inventory NICView Class Enumerate the DCIM_NICView class with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8
233. lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 AttachPartition_OUTPUT gt 13 10 Detach Partition This method is for defining the set of partitions to be removed as USB endpoints from the managed system Invoke DetachPartition with the following parameters and syntax 135 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 PartitionIndex The PartitionIndex property of the DCIM_OpaqueManagementData instance that represents the partition to be detached 1 to 16 EXAMPLE wsman invoke a DetachPartition http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageService SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J DetachPartition xml j utf 8 y basic The input file DetachPartition xml is shown below lt p DetachPartition_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt lt p PartitionIndex gt 12 lt p PartitionIndex gt lt p DetachPartition_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 DetachPartition_OUTPUT gt lt n1 Job gt lt wsa Address gt http
234. lt n1 DisplayOrder gt 306 lt n1 DisplayOrder gt 71 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Memory Settings lt n1 GroupDisplayName gt lt n1 GroupID gt MemSettings lt n1 GroupID gt lt n1 InstancelD gt BIOS Setup 1 1 MemTest lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValuesDescription gt Enabled lt n1 PossibleValuesDescription gt lt n1 PossibleValuesDescription gt Disabled lt n1 PossibleValuesDescription gt lt n1 DCIM_BlOSEnumeration gt 9 12 System Inventory including CSIOR attribute Version 2 1 0 This section describes the implementation for the DCIM_SystemView class which is used to represent the higher level attributes of the system such as asset tag model server manufacturer etc Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate SystemView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SystemView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_SystemView gt lt n1 AssetTag gt lt n1 BlOSReleaseDate gt 12 05
235. lt n1 MessageArguments xsi nil true gt lt n1 MessagelD gt JCP001 lt n1 MessagelD gt lt n1 Name gt Rollback DCIM AVAILABLE NONPCI 159 2 1 4 lt n1 Name gt lt n1 DCIM_LifecycleJob gt Job status following reboot install of operation lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001299159345 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Completed lt n1 JobStatus gt lt n1 JobUntilTime gt 20100730121500 lt n1 JobUntilTime gt lt n1 Message gt Job finished successfully lt n1 Message gt lt n1 MessageArguments xsi nil true gt lt n1 MessagelD gt USC1 lt n1 MessagelD gt lt n1 Name gt Rollback DCIM AVAILABLE NONPCI 159 2 1 4 lt n1 Name gt lt n1 DCIM_LifecycleJob gt 7 3 BIOS Firmware Rollback Version 2 1 0 The InstallFromSoftwareldentity method is used for installation of a previous version of a component firmware that is available on the Lifecycle Controller i e rollback of component firmware 42 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 All steps to complete a rollback successfully are listed below Invoke InstallFromSoftwareldentity with the following parameters and syntax InstancelD This is the instancelD of the Softwareldentify that is to be used to rollback the firmware to a previous version The InstancelD can have value such as DCIM AVAILABLE NONPCI 159 2 1 4
236. lt n1 SASAddress gt 5782BCB00C577600 lt n1 SASAddress gt lt n1 SecurityStatus gt 0 lt n1 SecurityStatus gt lt n1 SlicedVDCapability gt 1 lt n1 SlicedVDCapability gt lt n1 DCIM_ControllerView gt 16 9 Listing the RAID Inventory PhysicalDiskView Class Version 2 1 0 Enumerating the PhysicalDisk View results in the attributes and inventory of the available physical disks in the system Enumerate PhysicalDiskView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PhysicalDiskView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_PhysicalDiskView gt lt n1 BusProtocol gt 6 lt n1 BusProtocol gt lt n1 Connector gt 0 lt n1 Connector gt lt n1 DriveFormFactor gt 3 lt n1 DriveFormFactor gt lt n1 FQDD gt Disk Bay 0 Enclosure Internal 0 0 RAID Slot 1 1 172 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 FQDD gt lt n1 FreeSizelnBytes gt 8978432 lt n1 FreeSizelnBytes gt lt n1 HotSpareStatus gt 0 lt n1 HotSpareStatus gt Version 2 1 0 lt n1 InstancelD gt Disk Bay 0 Enclosure Internal 0 0 RAID Slot 1 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20120116145459 000000 000 lt n1 LastSystemlinventoryTime gt lt n1 LastUpdateTime gt 20120116145459 000000 000 lt n1 LastUpdateTime gt lt n1 Manufacturer gt SEAGATE lt n1 Manu
237. lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ConfigurableBootToNetworkISO_OUTPUT gt 12 Lifecycle Controller Management Profile The LC Management Profile describes the LC attribute configuration service and the collections and attributes instances that the service manages The profile also describes the relationship of the LC attribute service to the DMTF Dell profile version information and Dell Job Control profile The Dell Common Information Model CIM class extensions for supporting Lifecycle Controller feature management are defined in the Dell LC Management and related MOF files The diagrams representing the classes that are implemented by the Lifecycle Controller 2 0 firmware can be found in Dell LC Management Profile Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 12 1 Collect System Inventory on Restart CSIOR By default collect system inventory on restart is disabled To enable this feature utilize the SetAttribute method in the following example 101 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 NOTE To query the system to determine when the last CSIOR event occurred list system inventory and examine the LastSystemI nventoryTime attribute The Collect System Invent
238. m lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ExportFactoryConfiguration_OUTPUT gt 12 16 System Decommission This method is called to delete all configurations from the Lifecycle controller before the system is retired Invoke LCWipe with the following parameters and syntax EXAMPLE wsman invoke a LCWipe http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 LCWipe_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 LCWipe_OUTPUT gt 12 17 Get Remote Services API Status The GetRemoteServicesAPIStatus method is used to obtain the overall remote services API status that includes both the host system status as well as the remote services Data Manager status The overall rolled up status shall be reflected in the Status output parameter 120 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 NOTE The LCStatus output parameter value includes the status reported by the DMStatus output parameter in the GetRSStatus method Thus GetRSStatus method invocation is redundant Invoke GetRemoteServicesAPIStatus w
239. mCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ExportFactoryConfiguration xml j utf 8 y basic The input file ExportFactoryConfiguration xml is shown below lt p ExportFactoryConfiguration_INPUT xmIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p IPAddress gt 123 456 7 8 lt p IPAddress gt lt p ShareName gt sharename lt p ShareName gt lt p FileName gt filename txt lt p FileName gt lt p ShareType gt 0 lt p ShareType gt lt p Username gt admin lt p Username gt lt p Password gt password lt p Password gt lt p Workgroup gt workgroup lt p Workgroup gt 119 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt p ExportFactoryConfiguration_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 ExportFactoryConfiguration_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300792773 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dci
240. me gt TIME_NOW lt p ScheduledStartTime gt lt p UntilTime gt 20111111111111 lt p UntilTime gt lt p CreateTargetedConfigJob_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned The status of this jobid can be checked within the job control provider in Section 10 lt n1 CreateTargetedConfigJob_OUTPUT gt lt n1 Job gt 178 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300633744 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 CreateTargetedConfigJob_OUTPUT gt 16 15 Deleting the Pending Values for RAID DeletePendingConfiguration The DeletePendingConfiguration method cancels the pending configuration changes made before the configuration job is created with CreateTargetedConfigJob This method only operates on the pending changes prior to CreateTargetedConfigJob being called After the configuration job is created the pending changes can only
241. mentService associated with the instance of CIM_ComputerSystem representing the server platform Base Server Profile http www dmtf org sites default files standards documents DSP1004_1 0 1 pdf Power State Management Profile http www dmtf org sites default files standards documents DSP1027_2 0 0 pdf 8 2 Get Power State 8 2 1 Base Server Method The power state of the system is reported by the EnabledState property of the DCIM_ComputerSystem class Base Server Profile http www dmtf org sites default files standards documents DSP1004_1 0 1 pdf EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 DCIM_ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_ComputerSystem gt lt n1 CreationClassName gt DCIM_ComputerSystem lt n1 CreationClassName gt lt n1 Dedicated gt 0 lt n1 Dedicated gt lt n1 ElementName gt 52 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EnabledState gt 2 lt n1 EnabledState gt lt n1 HealthState gt 25 lt n1 HealthState gt lt n1 ldentifyingDescriptions gt CIM GUID lt n lt n1 ldentifyingDescriptions gt lt n1 ldentifyingDescriptions gt CIM Tag lt n1 ldentifyingDescriptions gt lt n1 ldentifyingDescriptions gt DCIM ServiceTag lt n1 ldentifyingDescriptions gt lt n1 Name gt srv system lt n1 Name gt lt n1 Ope
242. mid ProductVersion gt 2 2 4 lt wsmid ProductVersion gt lt wsmid IdentifyResponse gt 4 2 Discovering what Profiles are Implemented Implemented profiles are advertised using the class CIM_RegisteredProfile Enumerate this class in the root interop CIM namespace Profiles http www dmtf org sites default files standards documents DSP1033_1 0 0 pdf EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 CIM_RegisteredProfile __ cimnamespace root interop h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_LCRegisteredProfile gt lt n1 AdvertiseTypeDescriptions gt WS Identify lt n1 AdvertiseTypeDescriptions gt lt n1 AdvertiseTypeDescriptions gt Interop Namespace lt n1 AdvertiseTypeDescriptions gt lt n1 AdvertiseTypes gt 1 lt n1 AdvertiseTypes gt lt n1 AdvertiseTypes gt 1 lt n1 AdvertiseTypes gt 15 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 InstancelD gt DCIM Memory 1 0 0 lt n1 InstancelD gt lt n1 OtherRegisteredOrganization gt DCIM lt n1 OtherRegisteredOrganization gt lt n1 RegisteredName gt Memory lt n1 RegisteredName gt lt n1 RegisteredOrganization gt 1 lt n1 RegisteredOrganization gt lt n1 RegisteredVersion gt 1 0 0 lt n1 RegisteredVersion gt lt n1 DCIM_LCRegisteredProfile gt lt n1 DCIM_RegisteredProfile gt lt n1 AdvertiseTypeDescriptions gt WS Identify
243. mmon Information Model CIM class extensions for supporting remote hardware inventories are defined in the various Dell profiles and related MOFs The Hardware Inventory allows users to remote query the inventory of hardware Each of the hardware inventory classes return the attribute LastSysteminventoryTime which is when the last time collect system inventory on restart or CSIOR was run See Section 12 1 for more details on CSIOR It is an important attribute as it shows how recently the inventory was updated 9 1 Power Supply Inventory This section describes the implementation for the DCIM_PowerSupplyView class The Dell Power Supply Profile describes platform s power supply information Each platform power supply is represented by an instance of DCIM_PowerSupplyView class Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 59 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Enumerate DCIM_PowerSupplyView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PowerSupplyView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_PowerSupplyView gt lt n1 DetailedState gt Presence Detected lt n1 DetailedState gt lt n1 FQDD gt PSU Slot 1 lt n1 FQDD gt lt n1 FirmwareVersion gt 04 09 00 lt n1 FirmwareVersion gt lt n1 InputVolta
244. n MB If not specified default will use full size of physical disks selected RAIDLevel RAID 0 2 RAID 1 4 RAID 5 64 RAID 6 128 RAID 10 2048 RAID 50 8192 RAID 60 16384 SpanDepth If not specified default is single span which is used for RAID 0 1 5 and 6 Raid 10 50 and 60 require a spandepth of at least 2 194 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 SpanLength Number of Physical Disks to be used per span Minimum requirements for given RAID Level must be met StripeSize 8KB 16 16KB 32 32KB 64 64KB 128 128KB 256 256KB 512 512KB 1024 1MB 2048 ReadPolicy No Read Ahead 16 Read Ahead 32 Adaptive Read Ahead 64 WritePolicy Write Through 1 Write Back 2 Write Back Force 4 DiskCachePolicy Enabled 512 Disabled 1024 VirtualDiskName Name of the virtual disk 1 15 character range StartingLBA Starting logical block address of virtual disks in blocks If OXFFFFFFFFFFFFFFFF startingLBA is calculated programmatically The value can be in hexadecimal or decimal format OxFFFFFFFFFFFFFFFF 18446744073709551615 EXAMPLE wsman invoke a CreateVirtualDisk http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 443 195
245. n xsi nil true gt lt n1 ElementName xsi nil true gt lt n1 InstancelD gt DCIM Privilege 1 lt n1 InstancelD gt lt n1 PrivilegeGranted gt true lt n1 PrivilegeGranted gt lt n1 QualifierFormats xsi nil true gt lt n1 RepresentsAuthorizationRights gt false lt n1 RepresentsAuthorizationRights gt 29 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 DCIM_LocalRolePrivilege gt lt n1 DCIM_LocalRolePrivilege gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 Activities gt 7 lt n1 Activities gt lt n1 ActivityQualifiers gt Login to DRAC lt n1 ActivityQualifiers gt lt n1 ActivityQualifiers gt Configure DRAC lt n1 ActivityQualifiers gt lt n1 ActivityQualifiers gt Configure Users lt n1 ActivityQualifiers gt lt n1 ActivityQualifiers gt Clear Logs lt n1 ActivityQualifiers gt lt n1 ActivityQualifiers gt Execute Server Control Commands lt n1 ActivityQualifiers gt lt n1 ActivityQualifiers gt Access Console Redirection lt n1 ActivityQualifiers gt lt n1 ActivityQualifiers gt Access Virtual Media lt n1 ActivityQualifiers gt lt n1 ActivityQualifiers gt
246. n1 CacheSizelnMB gt lt n1 CachecadeCapability gt 0 lt n1 CachecadeCapability gt lt n1 ControllerFirmwareVersion gt 20 10 1 0066 lt n1 ControllerFirmwareVersion gt lt n1 Device gt 0 lt n1 Device gt lt n1 DeviceCardDataBusWidth gt 1 lt n1 DeviceCardDataBusWidth gt lt n1 DeviceCardManufacturer gt DELL lt n1 DeviceCardManufacturer gt lt n1 DeviceCardSlotLength gt 4 lt n1 DeviceCardSlotLength gt lt n1 DeviceCardSlotType gt PCI Express x8 lt n1 DeviceCardSlotType gt lt n1 DriverVersion xsi nil true gt lt n1 EncryptionCapability gt 0 lt n1 EncryptionCapability gt lt n1 EncryptionMode gt 0 lt n1 EncryptionMode gt lt n1 FQDD gt RAID Slot 1 1 lt n1 FQDD gt lt n1 Function gt 0 lt n1 Function gt lt n1 InstancelD gt RAID Slot 1 1 lt n1 InstancelD gt lt n1 KeylD xsi nil true gt lt n1 LastSysteminventoryTime gt 20120108174237 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20120108174237 000000 000 lt n1 LastUpdateTime gt 70 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 PCIDevicelD gt 73 lt n1 PCIDevicelD gt lt n1 PCISlot gt 1 lt n1 PCISlot gt lt n1 PClSubDevicelD gt 1F4E lt n1 PCISubDevicelD gt lt n1 PClSubVendorID gt 1028 lt n1 PCISubVendorlD gt lt n1 PClVendorID gt 1000 lt n1 PCIVendorID gt lt n1 PatrolReadState gt 1 lt n1 PatrolReadState gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 ProductName
247. n1 ElementNameEditSupported gt false lt n1 ElementNameEditSupported gt lt n1 ElementNameMask xsi nil true gt lt n1 InstancelD gt DCIM ComputerCap 1 lt n1 InstancelD gt lt n1 MaxElementNameLen xsi nil true gt lt n1 RequestedStatesSupported gt 2 lt n1 RequestedStatesSupported gt lt n1 RequestedStatesSupported gt 3 lt n1 RequestedStatesSupported gt lt n1 RequestedStatesSupported gt 11 lt n1 RequestedStatesSupported gt lt n1 StateAwareness xsi nil true gt lt n1 DCIM_CSEnabledLogicalElementCapabilities gt 56 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 8 3 2 Power State Management Method The power control capabilities are also reported by the PowerStatesSupported property of the CIM_PowerManagementCapabilities PMC class associated with the C M_PowerManagementService PMS class Getting the instance of PMC is a two step process First enumerate the instance of PMS with EPR Second enumerate the associated PMC class When there is only one instance of PMC class as in the case of iDRAC the first step may be skipped and the PMC class may be enumerated directly Power State Management Profile http www dmtf org sites default files standards documents DSP1027_2 0 0 pdf EXAMPLE iDRAC case wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 CIM_PowerManagementCapabilities __cimnamespace root dcim h SIPADDRESS V v c dummy cert P 443 u SU
248. n1 lsDefault gt 0 lt n1 lsDefault gt lt n1 lsNext gt 1 lt n1 lsNext gt lt n1 DCIM_BootConfigSetting gt lt n1 DCIM_BootConfigSetting gt lt n1 ElementName gt OneTimeBootMode lt n1 ElementName gt lt n1 InstancelD gt OneTime lt n1 InstancelD gt lt n1 lsCurrent gt 2 lt n1 lsCurrent gt lt n1 lsDefault gt 0 lt n1 IlsDefault gt 139 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 IsNext gt 2 lt n1 IsNext gt lt n1 DCIM_BootConfigSetting gt lt n1 DCIM_BootConfigSetting gt lt n1 ElementName gt vF lash Boot Configuration lt n1 ElementName gt lt n1 InstancelD gt vFlash lt n1 InstancelD gt lt n1 lsCurrent gt 2 lt n1 lsCurrent gt lt n1 lsDefault gt 0 lt n1 lsDefault gt lt n1 IsNext gt 2 lt n1 lsNext gt lt n1 DCIM_BootConfigSetting gt 14 2 Getting a Boot ConfigSetting Instance Getting the boot configuration current default and next attributes of one particular boot configuration instance is an alternative to enumerating all available instances as shown in Section 14 1 Get a BootConfigSetting instance with the following parameters and syntax INSTANCEID This is obtained from the enumeration in Section 14 1 in which this example would use IPL as an instancelD EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BootConfigSetting InstancelD INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PA
249. nValue gt lt n1 DisconnectNetworkISOImage_OUTPUT gt 95 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 11 3 16 Skip ISO Image Boot This method can be used to skip the target system from booting to a bootable ISO image located on a CIFS or NFS share while the target system still connected to CIFS or NFS share Invoke Skip SOImageBoot via NFS share with the following syntax EXAMPLE wsman invoke a Skip SOlmageBoot http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM O0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT Shown below are return messages of failure and success 2 and 0 respectively The Message D and Message output parameters will further contain method invocation information if an error occurred Failure lt n1 SkiplSOlmageBoot_OUTPUT gt lt n1 Message gt ISO image is not attached lt n1 Message gt lt n1 MessagelD gt OSD32 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 SkipISOlmageBoot_OUTPUT gt Success lt n1 SkiplSOlmageBoot_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SkiplSOlmageBoot_OUTPUT gt 11 3 17 Get Network ISO Image Connection Information This method outputs the I
250. namespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 DownloadClientCerts_OUTPUT gt 12 8 Delete Auto Discovery Client Certificates This method is used to delete the client certificates set previously by the auto discovery method Invoke DeleteAutoDiscoveryClientCerts with the following parameters and syntax EXAMPLE wsman invoke a DeleteAutoDiscoveryClientCerts http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DeleteAutoDiscoveryClientCerts_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeleteAutoDiscoveryClientCerts_OUTPUT gt 12 9 Set Public Certificates This method is used to update a public SSL Certificate on the iDRAC Invoke SetPublicCertificate with the following parameters and syntax Type Specifies certificate service directoryCA certificate for Active Directory or LDAP server EXAMPLE wsman invoke a SetPublicCertificate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem
251. nfo DES EDE3 CBC 5FD6D6131DFA5A86 ulG9hRgOlkoJJKMBk95Zi8H5KnZkKNUnPnqPHQINco9WzKyINR1FbclIAU9TOUJOM SnSSIA8fRBtJXZZVBA KAt 34lvO FEAijSOZKMW1nA CUuzCFM7t3P 3kmD 06a DfcwL1vaburBpaOmj5HIBVGLzcWEz5iTuzc1AiU09dacT8 UyrO8KAVp5zu0b8 amp bP BGUQbNBUqKsCPTKnNSNaDb jOsQYB66B 9yZtaLPfdWkvob9 30UUwj CxTIxLGqge lt p KeyContent gt lt p Password gt PASSWORD HERE lt p Password gt lt p CAContent gt BEGIN CERTIFICATE MIIE2ZZCCA8OgAwIBAgIBADANBgkqhkiG9wOBAQQF ADCBqTELMAkGA1UEBhMCVVMx CzAJBgNVBAgTAIRYMRQWEgYDVQQHEWtNYWIulFNOcmVIdDEVMBMGA1UEChMMSm9I 805kZK8xCaSQ9UQKdH5z6sUasj8DYk6pXndgWIV5Wc9JfsN3 dratX3lrpoPJPhk N1hTdXHYiDjLwSg79ylkIJP1qZ5gdaeJ1jUYJBehRDQ X7HXWN2VNK ZINVYyZc lt p CAContent gt lt p DownloadClientCerts_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned This jobid can then be used for subsequent processing with job control provider in Section 10 lt n1 DownloadClientCerts_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt 112 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300790057 lt wsman Selector gt lt wsman Selector Name __cim
252. nstance above with the following parameters PartitionIndex The PartitionIndex property of the DCIM_OpaqueManagementData instance that represents the partition to be modified 1 to 16 AccessType The type of access level Read Only 1 Read Write 3 e The OUT parameter Job will refer to the instance of CIM_ConcreteJob using which the user can query the status of the modification of the partition EXAMPLE wsman invoke a ModifyPartition http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageService SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ModifyPartition xml j utf 8 y basic The input file ModifyPartition xml is shown below lt p ModifyPartition_INPUT xmIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt lt p PartitionIndex gt 6 lt p PartitionIndex gt lt p AccessType gt 3 lt p AccessType gt lt p ModifyPartition_INPUT gt OUTPUT lt n1 ModifyPartition_OUTPUT gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 ModifyPartition_OUTPUT gt 13 9 Attach Partition This method is for defining the set of partitions to be exposed as Floppy CD HDD endpoints to the managed system and BIOS Invoke AttachPartition with the following parameters and syntax 1
253. nstancelD gt JID_001299159055 lt n1 InstancelD gt lt n1 JobStartTime gt lt n1 JobStatus gt Completed lt n1 JobStatus gt lt n1 JobUntilTime gt lt n1 Message gt lInitialize media successful lt n1 Message gt lt n1 MessageArguments xsi nil true gt lt n1 MessagelD gt VF048 lt n1 MessagelD gt lt n1 Name gt VFlashinitialize Media lt n1 Name gt lt n1 DCIM_LifecycleJob gt lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt RID_001299247671 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Reboot Completed lt n1 JobStatus gt lt n1 JobUntilTime gt 20111111111111 lt n1 JobUntilTime gt lt n1 Message gt 77 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 MessageArguments xsi nil true gt lt n1 MessagelD gt lt n1 Name gt Reboot1 lt n1 Name gt lt n1 DCIM_LifecycleJob gt lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001299499853 lt n1 InstancelD gt lt n1 JobStartTime gt 00000101000000 lt n1 JobStartTime gt lt n1 JobStatus gt Completed lt n1 JobStatus gt lt n1 JobUntilTime gt 20111111111111 lt n1 JobUntilTime gt lt n1 Message gt Job completed successfully lt n1 Message gt lt n1 MessageArguments xsi nil true gt lt n1 MessagelD gt PR19 lt n1 MessagelD gt lt n1 Name gt ConfigBlOS BIOS Setup 1 1 lt n1 Name gt lt n1 DCIM_LifecycleJob gt An error message similar to the fo
254. ntax EXAMPLE wsman invoke a BootToPXE http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic The return will be 0 for success or 1 if an error occurred in starting the processing the input parameters The MessagelD and Message output parameters will further contain method invocation information if an error occurred OUTPUT lt n1 BootToPXE_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 BootToPXE_OUTPUT gt 11 3 9 Get Host MAC Address Information Invoke GethostMACInfo with the following syntax EXAMPLE wsman invoke a GetHostMACInfo http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService 89 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 CreationClassName DCIM_OSDeploymentService Name DCIM O0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT The return will be 0 for success and a list of MAC addresses or an integer for error or job in execution The MessagelD and Message output parameters will further contain method invoc
255. ntrol profile Invoke DeletePendingConfiguration with the following parameters and syntax Target This parameter is the FQDD of the instances EXAMPLE wsman invoke a DeletePendingConfiguration http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_FCService SystemName DCIM ComputerSystem Name DCIM FCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J Delete_Pending_fcc xml j utf 8 y basic The input file Delete_Pending_fc xml is shown below lt p DeletePendingConfiguration_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCService gt lt p Target gt FC Slot 2 2 lt p Target gt lt p DeletePendingConfiguration_INPUT gt OUTPUT lt n1 DeletePendingConfiguration_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt FC001 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeletePendingConfiguration_OUTPUT gt 23 9 Listing the FC Views Enumerate FCView class ith the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_FCView gt lt ni Bus gt 2 lt n1 Bus gt 252 Dell Lifecycle Controller 2 Web Services Interfa
256. ob 4 If the Job output parameter from Step 2 contains a non null value then both Version and OSList contain null values The next call to GetDriverPackInfo after the Job is completed will return non null values for output parameters Version and OSList 80 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Invoke GetDriverPackInfo with the following syntax EXAMPLE wsman invoke a GetDriverPackInfo http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM 0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 GetDriverPackInfo_OUTPUT gt lt n1 OSList gt Windows Server R 2003 R2 with SP2 lt n1 OSList gt lt n1 OSList gt Windows R Small Business Server 2003 R2 with SP2 lt n1 OSList gt lt n1 OSList gt Windows Server R 2003 x64 lt n1 OSList gt lt n1 OSList gt Windows Server R 2008 lt n1 OSList gt lt n1 OSList gt Windows Server R 2008 x64 lt n1 OSList gt lt n1 OSList gt Windows R Small Business Server 2008 lt n1 OSList gt lt n1 OSList gt Windows R Essential Business Server 2008 lt n1 OSList gt lt n1 OSList gt Windows Server R 2008 x64 R2 lt n1 OSList gt lt n1 OSList gt Red Hat Enterprise Linux 4 7 32 bit lt n1 OSList
257. od will detach the ISO image in the VFlash from the system Invoke DetachISOFromVFlash with the following syntax EXAMPLE wsman invoke a DetachISOFromVF lash http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationC lassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT When this command is executed a status or error message will be returned If an image is not found the following message will display lt n1 DetachISOFromVFlash_OUTPUT gt 93 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Message gt ISO Image not found on VFlash lt n1 Message gt lt n1 MessagelD gt OSD41 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 DetachISOFromVFlash_OUTPUT gt 11 3 14 Connect Network ISO Image This method can be used to connect and boot to the target system to a bootable ISO image located on a CIFS or NFS share The ISO image is attached to the host system as an emulated USB CD ROM storage device The attachment will persist while the system is booted to the ISO image and continue booting to the ISO image as long as the connection is there Invoke ConnectNetworkISOlmage via CIFS NFS share with the following syntax CIFS_or_NFS_IPADDRESS
258. og cccccceceeeeeesecceceeeeeeeeeeeseaaeeeeeeeeeetegsnaaeaeeeeeeeeeenea 116 12 14 Export Hardware Inventory from Lifecycle Controller ccceeeeeeeeeeeeeeeeeeeeeteee 117 12 15 Export Factory Contiqur ation lt cscsciaui one asee ceed ake acapeete elected 119 12 16 System DECOMIMISSION des sei ad ccs sada lek Lecce ae een deed ccgcaearcceus tei daceavceseanteadgccharecams cans 120 12 17 Get Remote Services API Status 0 0 0 0 cceeeeecccceee cree eeeeeeeaeeeeeeeeeeeeegenaaeaeeeeeeeeeenas 120 12 18 Export System Configuration cs ds iGecsu sce ini tareha Jie obtained a tvntiterede te neeaned 121 12 19 Import System Configurations ssscsss cusscbi teal calieticarnedcets dhewid delat 122 13 VFlash SD Card Management ccceceeeseesecceeeeeeeeeeeeeeaeeeeeeeeeeteaaaaaaaeeeeeeeeetesesaaaeeeeeees 124 13 1 Listing the SD Card Partitions chia indicate ere tetas Mian denteceesaeden delle beataue 124 13 2 Initialize the Virtual Flash M6Ga sic iscocratercicme sander eenesietese comet eta inte 125 13 2 1 Get VFlash SD Card Inventory cccceceeeeeeeeeseeeeeeeeeeeeeetenneeeeaeeeeeeeeeeneae 125 1322 2 Initializes Format Media ssc osatcce tects 2c sceateceades ses deeaeceeptennsuaaicesghercdeaameetis 126 13 2 3 Verify Initialization Formatting ccccccccceeeeeeeeeeeeeeeeeeeeeeeeeeeeteeeeeeeeeeeneeee 127 13 3 Enable Disable VFlash using VFlash State Change cccceeeeceeeeeteeeeeeeeeeeeeee 127 13 4 Create
259. oginTimeout gt PortNumber gt 1 lt n1 PortNumber gt PortSpeed gt 2 lt n1 PortSpeed gt SecondFCTargetLUN gt 0 lt n1 SecondFCTargetLUN gt SecondFCTargetWWPN gt 00 00 00 00 00 00 00 00 lt n1 SecondFCTargetWWPN gt VendorName xsi nil true gt VirtualWWN gt 20 00 00 24 FF 2E 36 B1 lt n1 VirtualWWN gt VirtualWWPN gt 20 00 00 24 FF 2E 36 B1 lt n1 VirtualWWPN gt WWN gt 20 00 00 24 FF 2E 36 A0 lt n1 WWN gt WWPN gt 21 00 00 24 FF 2E 36 A0 lt n1 WWPN gt DCIM_FCView gt lt wsen ltems gt lt wsen PullResponse gt 253 Version 2 1 0
260. ogy gt SysMemFailOverState gt NotInUse lt n1 SysMemFailOverState gt SysMemLocation gt 3 lt n1 SysMemLocation gt SysMemPrimaryStatus gt 1 lt n1 SysMemPrimaryStatus gt SysMemTotalSize gt 2048 lt n1 SysMemTotalSize gt SystemGeneration gt 12G Monolithic lt n1 SystemGeneration gt SystemID gt 1231 lt n1 SystemID gt 242 Version 2 1 0 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 SystemRevision gt 0 lt n1 SystemRevision gt lt n1 TempRollupStatus gt 1 lt n1 TempRollupStatus gt lt n1 UUID gt 4c4c4544 0036 3510 8034 b7c04f333231 lt n1 UUID gt lt n1 VoltRollupStatus gt 1 lt n1 VoltRollupStatus gt lt n1 smbiosGUID gt 44454c4c 3600 1035 8034 b7c04f333231 lt n1 smbiosGUID gt lt n1 DCIM_SystemView gt 243 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 22 Sensor Information The DCIM Sensors Profile describes the properties and interfaces for executing system management tasks related to the management of sensors within a system Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 22 1 Listing the Sensors Inventory PSNumericSensor Class Enumerate the DCIM_PSNumericSensor class with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PSNumericSensor h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p S PAS
261. ole anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_OSDConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM_OSDConcreteJob 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ConnectNetworkISOlmage_OUTPUT gt 11 3 15 Disconnect Network ISO Image This method can be used to disconnect the target system from a bootable ISO image located on a CIFS or NFS share Invoke DisconnectNetworkISOlmage with the following syntax EXAMPLE wsman invoke a DisconnectNetwork SOlmage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT The return will be 0 for success or 1 if an error occurred in starting the processing the input parameters The MessagelD and Message output parameters will further contain method invocation information if an error occurred lt n1 DisconnectNetworkISOlmage_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 Retur
262. ollerView Section 16 7 EXAMPLE wsman invoke a ClearForeignConfig http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ClearForeignConfig xml j utf 8 y basic The input file ClearForeignConfig xml is shown below lt p ClearForeignConfig_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p ClearForeignConfig_INPUT gt OUTPUT lt n1 ClearForeignConfig_OUTPUT gt lt n1 RebootRequired gt YES lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 ClearForeignConfig_OUTPUT gt If no foreign physical disks are available the following message may result lt n1 ClearForeignConfig_OUTPUT gt lt n1 Message gt No foreign drives detected lt n1 Message gt 177 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 MessagelD gt STORO18 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 ClearForeignConfig_OUTPUT gt 16 14 Applying the Pending Values for RAID CreateTargetedConfigJob The CreateTargetedConfigJob method is called to apply the pending values created by RAID methods The system will automatic
263. omponentType ComponentID lt n1 ldentityInfoType gt lt n1 ldentityInfoValue gt DCIM firmware 28897 lt n1 ldentityInfoValue gt lt n1 InstallationDate gt 2012 01 15T22 22 32Z lt n1 InstallationDate gt lt n1 InstancelD gt DCIM INSTALLED 802__ USC Embedded 1 LC Embedded 1 lt n1 InstancelD gt lt n1 lsEntity gt true lt n1 lsEntity gt lt n1 MajorVersion gt 1 lt n1 MajorVersion gt lt n1 MinorVersion gt 0 lt n1 MinorVersion gt lt n1 RevisionNumber gt 0 lt n1 RevisionNumber gt lt n1 RevisionString xsi nil true gt lt n1 Status gt Installed lt n1 Status gt lt n1 SubDevicelD xsi nil true gt lt n1 SubVendorID xsi nil true gt lt n1 Updateable gt true lt n1 Updateable gt lt n1 VendorID xsi nil true gt lt n1 VersionString gt 1 0 0 4846 lt n1 VersionString gt lt n1 impactsTPMmeasurements gt false lt n1 impactsT PMmeasurements gt lt n1 DCIM_Softwareldentity gt The key properties in the above output include the following InstancelD Normally identifies the firmware on a particular type of device The substring right after DCIM is the status of a payload or firmware on the system This can be installed or available ComponentID Uniquely identifies a unique type of device such as BIOS NIC Storage and Lifecycle controller firmware InstallationDate The date when the payload was installed to the system If the system time was not set when the firmware installation took place t
264. onIndex gt lt n1 PartitionType gt HDD lt n1 PartitionType gt lt n1 Size gt 50 lt n1 Size gt lt n1 SystemCreationClassName gt DCIM_ComputerSystem lt n1 SystemCreationClassName gt lt n1 SystemName gt DCIM ComputerSystem lt n1 SystemName gt lt ni1 DCIM_OpaqueManagementData gt Note If nothing is returned no partitions exist Use the CreatePartition method to create partitions 13 2 Initialize the Virtual Flash Media e Enumerate the DCIM_PersistentStorageService class e Invoke the nitializeMedia method on the instance above e The OUT parameter Job will refer to the instance of ClIM_ConcreteJob using which the user can query the status of the initialization of the media 13 2 1 Get VFlash SD Card Inventory DCIM_VFlashView is a subclass of CIM_View that is used to represent the physical attributes of the virtual flash media such as total size available size category etc on which the partitions will reside Enumerate the DCIM_VFlashView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_VFlashView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_VFlashView gt lt n1 AvailableSize gt 970 lt n1 AvailableSize gt lt n1 Capacity gt 976 lt n1 Capacity gt lt n1 ComponentName gt vFlash SD Card lt n1 ComponentName gt lt n1 FQDD gt Disk vFlashCard 1 lt n1 FQDD gt lt n1 HealthS
265. onfiguration method cancels the pending configuration changes made before the configuration job is created with CreateTargetedConfigJob This method only operates on the pending changes prior to CreateTargetedConfigJob being called After the configuration job is created the pending changes can only be canceled by calling DeleteJobQueue in the Job Control profile Invoke CreateTargetedConfigJob with the following parameters and syntax Target This parameter is the FQDD of the B OSAttribute instances from Section 17 1 EXAMPLE wsman invoke a DeletePendingConfiguration http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_BlOSService SystemName DCIM ComputerSystem Name DCIM BlOSService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J DeletePendingConfiguration_BIOS xml j utf 8 y basic The input file DeletePendingConfiguration_BIOS xml is shown below lt p DeletePendingConfiguration_INPUT xmins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BIOSService gt lt p Target gt BIOS Setup 1 1 lt p Target gt lt p DeletePendingConfiguration_INPUT gt OUTPUT lt n1 DeletePendingConfiguration_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt BIOS001 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeletePendingCon
266. ons xsi nil true gt DetailedStatus xsi nil true gt ElementName gt MFA Account 16 lt n1 ElementName gt EnabledDefault gt 2 lt n1 EnabledDefault gt EnabledState gt 2 lt n1 EnabledState gt HealthState xsi nil true gt Host xsi nil true gt InactivityTimeout xsi nil true gt InstallDate xsi nil true gt sLastLogin xsi nil true gt sLocalityName xsi nil true gt MaximumSuccessiveLoginFailures xsi nil true gt Name gt DCIM User 16 lt n1 Name gt OU xsi nil true gt ObjectClass xsi nil true gt OperatingStatus xsi nil true gt OperationalStatus xsi nil true gt OrganizationName gt DCIM lt n1 OrganizationName gt OtherEnabledState xsi nil true gt PasswordExpiration xsi nil true gt PasswordHistoryDepth xsi nil true gt PrimaryStatus xsi nil true gt RequestedState gt 0 lt n1 RequestedState gt SeeAlso xsi nil true gt Status xsi nil true gt StatusDescriptions xsi nil true gt SystemCreationClassName gt DCIM_SPComputerSystem lt n1 SystemCreationClassName gt lt n1 lt ni lt ni lt ni lt n1 lt n SystemName gt systemmc lt n1 SystemName gt TimeOfLastStateChange xsi nil true gt TransitioningToState gt 12 lt n1 TransitioningToState gt UserCertificate xsi nil true gt UserID gt testuser4 lt n1 UserlD gt UserPassword gt testuserpss4 lt n1 UserPassword gt lt n1 DCIM_MFAAccount gt _MFAAccount Version 2 1
267. ootTarget xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService gt lt p Target gt NIC Integrated 1 1 1 lt p Target gt lt p AttributeName gt ConnectFirstF CoETarget lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt FirstF COEWWPNTarget lt p AttributeName gt lt p AttributeValue gt 20 00 00 10 18 88 C0 03 lt p AttributeValue gt lt p AttributeName gt FirstF CoEBootTargetLUN lt p AttributeName gt lt p AttributeValue gt 33 lt p AttributeValue gt lt p AttributeName gt FirstF CoOEFCFVLANID lt p AttributeName gt lt p AttributeValue gt 34 lt p AttributeValue gt lt p SetAttributes_INPUT gt 162 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt NICO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 16 RAID Storage Management The remote RAID configuration allows users to remotely query and configure the Hardware RAID of the system The RAID profile extends the management capabilities of referencing profiles by adding the capability to represent the configuration of RAID s
268. order to function EXAMPLE wsman get http schemas dell com wbem wscim 1 cim schema 2 root dcim DCIM_LCEnumeration InstancelD LifecycleController Embedded 1 LCAttributes 1 Licensed h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic NOTE For 11G InstancelD DCIM_LCEnumeration CCR1 OUTPUT This get command will return the instance of the DCIM_LCEnumeration attribute class The CurrentValue property will contain True yes or False no indicating whether features dependent on the presence of the VFlash SD card are enabled lt n1 DCIM_LCEnumeration gt lt n1 AttributeName gt Licensed lt n1 AttributeName gt lt n1 CurrentValue gt No lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 ElementName gt LC emb 1 lt n1 ElementName gt lt n1 InstancelD gt LifecycleController Embedded 1 LCAttributes 1 Licensed lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Yes lt n1 PossibleValues gt lt n1 PossibleValues gt No lt n1 PossibleValues gt lt n1 DCIM_LCEnumeration gt 12 6 Download Server Public Key This method is used to download the server public key to the Lifecycle Controller A base64 encoded string containing the certificate authentication CA content is required as the input Invoke DownloadServerPublicKey with the following parameters and syntax EXAMPLE
269. org wbem wscim 1 cim schema 2 root dcim DCIM_BIOSService gt lt p Target gt BIOS Setup 1 1 lt p Target gt lt p RebootJobType gt 2 lt p RebootJobType gt lt p ScheduledStartTime gt TIME_NOW lt p ScheduledStartTime gt lt p UntilTime gt 20111111111111 lt p UntilTime gt lt p CreateTargetedConfigJob_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned The status of this jobid can be checked within the job control provider in Section 10 lt n1 CreateTargetedConfigJob_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300720080 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 CreateTargetedConfigJob_OUTPUT gt 210 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 17 8 Deleting the Pending Values for BIOS amp Boot DeletePendingConfiguration This method is called to cancel the pending values created by the SetAttribute and SetAttributes methods The DeletePendingC
270. ormatted 1 to 16 IPAddress IP address of TFTP or NFS share ShareType Type of share NFS 0 TFTP 1 CIFS 2 SharePath NFS sharepoint address ImageName Name of the ISO or IMG image Workgroup Name of the workgroup if applicable Username The username to be used to access the file Password The password to be used to access the file Port The port number to be used HashType The hash type MD5 1 SHA1 2 HashValue The hash value string based on the HashType parameter EXAMPLE wsman invoke a ExportDataFromPartition http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageService SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ExportDataFromPartition xml j utf 8 y basic The input file ExportDataFromPartition xml is shown below lt p ExportDataFromPartition_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt 137 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt p PartitionIndex gt 1 lt p PartitionIndex gt lt p IPAddress gt 123 456 7 8 lt p IPAddress gt lt p ShareType gt 2 lt p ShareType gt lt p SharePath gt temp lt p SharePath gt lt p lmageName gt imagename iso lt p IlmageName gt lt p Workgroup gt
271. ory on Restart attribute flags whether the system should do an automatic inventory or not To get the current status of this attribute see Section 12 3 The values can be e Disabled default Disallow collecting inventory on restart e Enabled Allow collecting system inventory on restart The Part Firmware Update attribute flags whether the Part Replacement automatic firmware update performed The values can be e Disable default firmware update is not allowed e Allow version upgrade only Allow firmware update only on up revision e Match firmware of replaced part Always update firmware The example below configures the Part Replacement feature to allow upgrade only and for the automatic synchronization to be on Invoke SetAttribute with the following parameters and syntax EXAMPLE 1 wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD J SetAttribute_LC xml j utf 8 y basic The input file SetAttribute_LC xml is shown below lt p SetAttribute_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p AttributeName gt Part Firmware Update lt p AttributeName gt lt p AttributeValue gt Allow version upgrade only lt p AttributeV
272. otLength gt lt n1 SlotType gt 0002 lt n1 SlotType gt lt n1 TransmitFlowControl gt 3 lt n1 TransmitFlowControl gt lt n1 VendorName gt intel Corp lt n1 VendorName gt lt n1 WWPN xsi nil true gt lt n1 iScsiOffloadMode gt 3 lt n1 iScsiOffloadMode gt lt n1 DCIM_NICView gt 69 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 9 10 RAID Inventory amp Configuration The RAID profile extends the management capabilities of referencing profiles by adding the capability to represent the configuration of RAID storage The RAID storage is modeled as collections of attributes where there are collections for the storage adaptors physical disks logical disks end enclosures and parent child relationships between the collections Additionally there is a configuration service that contains all the methods used to configure the RAID storage See Section 16 for more information including inventories for PhysicalDiskView VirtualDiskView and EnclosureView Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate ControllerView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_ControllerView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_ControllerView gt lt n1 Bus gt 1 lt n1 Bus gt lt n1 CacheSizelnMB gt 0 lt
273. ownload The first stage is a request to initiate and download the update image from a source defined by the user by invoking the InstallFromURI method 7 5 2 Monitor Download Status Downloading the update package may take several minutes The second stage is to monitor the download The download status may be monitored by enumerating or getting the instance of the corresponding job 7 5 3 Reboot to Perform Update Once downloaded the request needs to be scheduled The third stage is to schedule the update To schedule the update use the SetupJobQueue method of the class DCIM_JobService in Section 10 2 1 7 5 4 Wait for Job Completion The fourth stage is to wait for the job to be completed which may take several minutes The job status can be monitored as shown in Section 10 2 3 7 5 5 Delete Job The fifth and final stage is to delete the completed job from the job store Deleting the job queue is shown in Section 10 2 2 7 6 Update NICs from HTTP CIFS Share TFTP or FTP The InstallFromURI method takes the following input and downloads the Dell Update Package to the Lifecycle Controller in the target system The method returns a jobid for an instance of DCIM_SoftwareUpdateJob that can be scheduled to execute or queried for status at a later time The following is the example of the method for updating a NIC firmware Invoke InstallFromURI with the following parameters and syntax URI IP ADDRESS This is the IP addre
274. p www dmtf org sites default files standards documents DSP1034_1 0 1 pdf http www dmtf org sites default files standards documents DSP1039_1 0 0 pdf 5 4 1 Account and Capabilities using DMTF Model Example A demonstrates standard ouput Example B demonstrates EPR mode output EXAMPLE A wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 CIM_Account h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT A lt n1 DCIM_MFAAccount gt lt n1 AuthenticateMethod xsi nil true gt lt n1 AvailableRequestedStates xsi nil true gt lt n1 Caption xsi nil true gt lt n1 CommunicationStatus xsi nil true gt lt n1 ComplexPasswordRulesEnforced xsi nil true gt lt n1 CreationClassName gt DCIM_MFAAccount lt n1 CreationClassName gt lt n1 Description xsi nil true gt lt n1 Descriptions xsi nil true gt lt n1 DetailedStatus xsi nil true gt 24 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 ElementName gt MFA Account 13 lt n1 ElementName gt lt n1 EnabledDefault gt 2 lt n1 EnabledDefault gt lt n1 EnabledState gt 3 lt n1 EnabledState gt lt n1 HealthState xsi nil true gt lt n1 Host xsi nil true gt lt n1 InactivityTimeout xsi nil true gt lt n1 InstallDate xsi nil true gt lt n1 LastLogin xsi nil true gt lt n1 LocalityName xsi nil true gt lt n1 MaximumSuccessiveLoginFailures xsi nil t
275. p AttributeName gt RAIDccRate lt p AttributeName gt lt p AttributeValue gt 60 lt p AttributeValue gt lt p SetAttribute_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The method was successful lt n1 Message gt lt n1 MessagelD gt STORO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set Pending Value lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 16 19 4 Changing Multiple Values of RAID Controller Integer Attributes The SetAttributes method is used to set or change multiple values of RAID controller attributes The following example shows setting multiple RAID controller integer attributes Invoke SetAttributes with the following parameters from Section 16 1 and syntax TARGET Obtained from the FQDD field AttributeName Obtained from the AttributeName field AttributeValue Obtained from the PossibleValues field EXAMPLE wsman invoke a SetAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 201 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 u SUSERNAME p PASSWORD J SetAttributes_Integer_RAID_Controller xml j utf 8 y basic The input file SetA
276. p org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt 43 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_SoftUpdateConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001299753229 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 InstallFromSoftwareldentity_OUTPUT gt 7 4 NIC Firmware Rollback The InstallFromSoftwareldentity method is used for installation of a previous version of a component firmware that is available on the Lifecycle Controller i e rollback of component firmware Invoke InstallFromSoftwareldentity with the following parameters and syntax InstancelD This is the instancelD of the Softwareldentify that is to be used to rollback the firmware to a previous version The InstancelD can have value such as DCIM PREVIOUS PCI 14E4 1639 0237 1028 e It refers to a previous firmware on a PCI device e VID Vendor ID 14E4 e DID Device ID 1639 e SSID Subsystem ID 0237 e SVID Subvendor ID 1028 e This refers to a Broadcom NetXtreme II BCM5709 network adaptor2 EXAMPLE wsman invoke a Instal
277. rameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 UnpackAndAttach_OUTPUT gt 11 3 3 Detach Emulated USB Device Containing Drivers This method is used to detach the USB device attached to the system by a previous invocation of the UnpackAndAttach method Invoke DetachDrivers with the following syntax EXAMPLE wsman invoke a DetachDrivers http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationC lassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT The return will be 0 for success or an integer for error or job in execution An error message containing a MessagelD and Message similar to the following can occur if the system is waiting to finish a previously invoked method lt n1 DetachDrivers_OUTPUT gt lt n1 Message gt Unable to retrieve Lifecycle Controller handle lt n1 Message gt lt n1 MessagelD gt OSD7 lt n1 MessagelD gt 83 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 DetachDrivers_OUTPUT gt 11 3 4 Unpack Selected Drivers and Copy to Network Share The UnpackAndShare method is used to unpack the drivers for the selected OS and copy them to a specifie
278. rationalStatus gt 6 lt n1 OperationalStatus gt OtherldentifyingInfo gt 4c4c4544 0036 3510 8034 b7c04f333231 lt n1 OtherldentifyingInfo gt lt n lt n1 OtherldentifyingInfo gt mainsystemchassis lt n1 OtherldentifyingInfo gt OtherldentifyingInfo gt 7654321 lt n1 OtherldentifyingInfo gt PrimaryStatus gt 3 lt n1 PrimaryStatus gt lt n lt n lt n1 RequestedState gt 0 lt n1 RequestedState gt lt n1 DCIM_ComputerSystem gt 8 2 2 Power State Management Method The power state of the system is also reported by the PowerState property of the DCIM_CSAssociatedPowerManagementService class The value mapping for this property is not the same as the EnabledState property of CIM_ComputerSystem Power State Management Profile http www dmtf org sites default files standards documents DSP1027_2 0 0 pdf EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 DCIM_CSAssociatedPowerManagementService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT PowerState 2 On System is fully on 13 Off System is powered off lt n1 DCIM_CSAssociatedPowerManagementService gt 53 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 PowerOnTime xsi nil true gt lt n1 ServiceProvided gt lt wsa EndpointReference gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing
279. rgetedConfigJob method creates it However the instance D changes after successful creation CreateVirtualDisk_OUTPUT NewVirtualDisk Address http schemas xmlsoap org ws 2004 08 addressing role anonymous ReferenceParameters ResourceURI http schemas dell com wbem wscim 1 cim schema 2 DCIM_VirtualDiskView SelectorSet Selector InstancelD DISK Virtual 267386880 RAID Integrated 1 1 __cimnamespace root dcim RebootRequired YES ReturnValue 0 16 18 6 Creating a Cachecade Virtual Disk CreateVirtualDisk The CreateVirtualDisk method is used to create a Cachecade virtual disk on the targeted controller This method internally creates a RAID O virtual disk The creation process is the same as explained in Section 16 18 5 In this scenario CreateVirtualDisk method only takes VDPropNameArray VDPropValueArray pairs mentioned below 196 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Invoke CreateVirtualDisk with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 PDArray This parameter is the list of physical disk FQDDs that is used to create a virtual Disk VDPropNameArray This parameter is the list of property names that is used to create a virtual disk The parameter list has the following names VirtualDiskName CacheCade VDPropValueArray This parameter is the list of property values that is used to create a
280. rror message is returned lt n1 InitializeMedia_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300791673 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 InitializeMedia_OUTPUT gt 126 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 13 2 3 Verify Initialization Formatting After invoking InitializeMedia get the instance of DCIM_VFlashView to confirm successful initialization Get a specific DCIM_VFlashView with the following parameters and syntax INSTANCE_ID Obtained from Section 13 2 1 such as Disk vFlashCard 1 EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_VFlashView InstancelD INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_VFlashView gt lt n1 AvailableSize gt 970 lt n1 AvailableSize gt lt n1 Capacity gt 976 lt n1 Capacity gt lt n1 ComponentName gt vFlash SD Card lt n
281. rtition along with the 131 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 association instance of DCIM_ServiceAffectsElement will be deleted The AvailableSize property of the associated storage media will increase by the size of the deleted partition Note A locked attached partition cannot be deleted It must be detached first Invoke DeletePartition with the following parameters and syntax PartitionIndex The PartitionIndex property of the DCIM_OpaqueManagementData instance that represents the partition to be removed 1 to 16 EXAMPLE wsman invoke a DeletePartition http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageServic e SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J DeletePartition xml j utf 8 y basic The input file DeletePartition xml is shown below lt p DeletePartition_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt lt p PartitionIndex gt 1 lt p PartitionIndex gt lt p DeletePartition_INPUT gt OUTPUT When this method is executed a ReturnValue or error message is returned lt n1 DeletePartition_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeletePartition_OUTPUT g
282. rue gt lt n1 Name gt DCIM User 13 lt n1 Name gt lt n1 0U xsi nil true gt lt n1 ObjectClass xsi nil true gt lt n1 OperatingStatus xsi nil true gt lt n1 OperationalStatus xsi nil true gt lt n1 OrganizationName gt DCIM lt n1 OrganizationName gt lt n1 OtherEnabledState xsi nil true gt lt n1 PasswordExpiration xsi nil true gt lt n1 PasswordHistoryDepth xsi nil true gt lt n1 PrimaryStatus xsi nil true gt lt n1 RequestedState gt 0 lt n1 RequestedState gt lt n1 SeeAlso xsi nil true gt lt n1 Status xsi nil true gt lt n1 StatusDescriptions xsi nil true gt lt n1 SystemCreationClassName gt DCIM_SPComputerSystem lt n1 SystemCreationClassName gt lt n1 SystemName gt systemmc lt n1 SystemName gt lt n1 TimeOfLastStateChange xsi nil true gt lt n1 TransitioningToState gt 12 lt n1 TransitioningToState gt lt n1 UserCertificate xsi nil true gt lt n1 UserlD gt lt n1 UserPassword xsi nil true gt lt n1 DCIM_MFAAccount gt lt n1 DCIM_MFAAccount gt lt n1 AuthenticateMethod xsi nil true gt lt n1 AvailableRequestedStates xsi nil true gt lt n1 Caption xsi nil true gt lt n1 CommunicationStatus xsi nil true gt lt n1 ComplexPasswordRulesEnforced xsi nil true gt lt n1 CreationClassName gt DCIM_MFAAccount lt n1 CreationClassName gt lt n1 Description xsi nil true gt lt n1 Descriptions xsi nil true gt 25 Version 2 1
283. rviceCode gt FQDD gt System Embedded 1 lt n1 FQDD gt FanRollupStatus gt 3 lt n1 FanRollupStatus gt HostName gt InstancelD gt System Embedded 1 lt n1 InstancelD gt LastSystemInventoryTime gt 20120116145530 000000 000 lt n1 LastSystemInventoryTime gt LastUpdateTime gt 201201 16124210 000000 000 lt n1 LastUpdateTime gt LicensingRollupStatus gt 1 lt n1 LicensingRollupStatus gt ion gt 2 0 0 Manufacturer gt Dell Inc lt n1 Manufacturer gt MaxCPUSockets gt 2 lt n1 MaxCPUSockets gt MaxDIMMSlots gt 24 lt n1 MaxDIMMSlots gt MaxPCleSlots gt 7 lt n1 MaxPCleSlots gt MemoryOperationMode gt OptimizerMode lt n1 MemoryOperationMode gt Model gt PowerEdge T620 lt n1 Model gt PSRollupStatus gt 1 lt n1 PSRollupStatus gt PlatformGUID gt 3132334f cOb7 3480 3510 00364c4c4544 lt n1 PlatformGUID gt PopulatedCPUSockets gt 1 lt n1 PopulatedCPUSockets gt PopulatedDIMMSlots gt 1 lt n1 PopulatedDIMMSlots gt PopulatedPCleSlots gt 1 lt n1 PopulatedPCleSlots gt PowerCap gt 336 lt n1 PowerCap gt PowerCapEnabledState gt 3 lt n1 PowerCapEnabledState gt PowerState gt 2 lt n1 PowerState gt PrimaryStatus gt 3 lt n1 PrimaryStatus gt RollupStatus gt 3 lt n1 RollupStatus gt ServerAllocation xsi nil true gt ServiceTag gt 7654321 lt n1 ServiceTag gt StorageRollupStatus gt 1 lt n1 StorageRollupStatus gt SysMemErrorMethodology gt 6 lt n1 SysMemErrorMethodol
284. s format for all Lifecycle Controller 2 0 updates and set attribute tasks TIME_NOW is a special value that represents running the tasks immediately 3 2 5 Return Values Many of the methods in this document have the following possible return values They are summarized here for convenience 0 Success 1 Not Supported 2 Failed 4096 Job Created 3 2 6 Glossary eel cn Network Interface Controller RAID Redundant Array of Independent Disks UEFI Unified Extensible Firmware Interface AMEA Advanced Management Enablement Adapter Human Interface Infrastructure WSMAN WS Management is a specification of a SOAP based protocol for the management of servers devices applications and more FQDD Fully Qualified Device Description Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 4 Discovery 4 1 Discovering Web Service Capability Determine if the target system supports the wsman interface using the identify command Profiles http www dmtf org sites default files standards documents DSP0217_2 0 0 pdf EXAMPLE wsman identify h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic u USER p PASSWORD OUTPUT lt wsmid IdentifyResponse gt lt wsmid ProtocolVersion gt http schemas dmtf org wbem wsman 1 wsman xsd lt wsmid ProtocolVersion gt lt wsmid ProductVendor gt Openwsman Project lt wsmid ProductVendor gt lt ws
285. s gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_NICEnumeration gt lt n1 DCIM_NICEnumeration gt lt n1 AttributeName gt ChapAuthEnable lt n1 AttributeName gt lt n1 CurrentValue gt Disabled lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 ChapAuthEnable lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt 144 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_NICEnumeration gt lt n1 DCIM_NICEnumeration gt lt n1 AttributeName gt lscsiTgtBoot lt n1 AttributeName gt lt n1 CurrentValue gt Enabled lt n1 CurrentValue gt lt n1 DefaultValue xsi nil true gt lt n1 FQDD gt NIC Embedded 3 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 3 1 IscsiTgtBoot lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 PossibleValues gt One Time Disabled lt n1 PossibleValues gt lt n1 DCIM_NICEnumeration gt lt n1 DCIM_NICEnumeration gt lt n1 AttributeName gt TcpT
286. s views with collections of attributes where there is a view for each partition on the controller The NIC CNA Inventory has these classes and views 1 DCIM_NICEnumeration see Section 15 1 143 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 DCIM_NICString see Section 15 2 DCIM_NICInteger see Section 15 3 DCIM_NICView see Section 15 4 DCIM_NICCapabilities see Section 15 5 DCIM_NICStatistics see Section 15 6 Dope oe eS Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 15 1 Listing the NIC CNA Inventory Enumeration Class Enumerate the N CEnumeration class with the following parameters and syntax EXAMPLE CNA wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICEnumeration h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT CNA For SAMPLE PORT 1 PARTITION 1 all attributes on all partitions are enumerated lt n1 DCIM_NICEnumeration gt AttributeName gt IscsiViaDHCP lt n1 AttributeName gt CurrentValue gt Enabled lt n1 CurrentValue gt lt n lt n DefaultValue xsi nil true gt FQDD gt NIC Embedded 1 1 lt n1 FQDD gt InstancelD gt NIC Embedded 1 1 lscsiViaDHCP lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n lt n lt n lt n1 PendingValue xsi nil true gt lt n1 PossibleValue
287. sReadOnly gt false lt n1 IsReadOnly gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt Virtual Media Attached lt n1 AttributeDisplayName gt lt n1 AttributeName gt Attached lt n1 AttributeName gt lt n1 CurrentValue gt Autoattach lt n1 CurrentValue gt lt n1 DefaultValue gt Detached lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt 229 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 GroupDisplayName gt VirtualMedia lt n1 GroupDisplayName gt lt n1 GroupID gt VirtualMedia 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 VirtualMedia 1 Attached lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PossibleValues gt Detached lt n1 PossibleValues gt lt n1 PossibleValues gt Attached lt n1 PossibleValues gt lt n1 PossibleValues gt Autoattach lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt IPv4 Enable lt n1 AttributeDisplayName gt lt n1 AttributeName gt Enable lt n1 AttributeName gt lt n1 CurrentValue gt Enabled lt n1 CurrentValue gt lt n1 DefaultValue gt Ena
288. service EXAMPLE wsman invoke a DeleteJobQueue http schemas dmtf org wbem wscim 1 cimschema 2 root dcim DCIM_JobService CreationClassName DCIM_JobService Name JobService SystemNamez ldrac SystemCreationClassName DCIM_ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic k JobID JID_CLEARALL OUTPUT 240 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 DeleteJobQueue_OUTPUT gt lt n1 Message gt The specified job was deleted lt n1 Message gt lt n1 MessagelD gt SUP020 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeleteJobQueue_OUTPUT gt 21 System Information The DCIM System Info Profile describes the properties and interfaces for executing system management tasks related to the management of the host system The profile standardizes and aggregates the description for the platform s basic properties into a system view representation and provides static methodology for the clients to query the system views without substantial traversal of the model Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 21 1 Listing the System Inventory SystemView Class The system view returns various information about the system including the currently installed Lifecycle Controller version as shown below Enumerate the DCIM_SystemView class with the following parameters
289. sharename lt p ShareName gt lt p FileName gt filename xml lt p FileName gt lt p ShareType gt 0 lt p ShareType gt lt p Username gt admin lt p Username gt lt p Password gt password lt p Password gt lt p ImportSystemConfiguration_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 lmportSystemConfiguration_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300792435 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 lmportSystemConfiguration _OUTPUT gt 123 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 13 VFlash SD Card Management The Persistent Storage Profile describes the necessary properties and methods for representing and managing the partitions on the virtual flash media SD Card on AMEA provided by the iDRAC in Dell platforms The partition management of the virtual flash media includes Listing virtual flash partitions Creating new partitions
290. source gt lt p source gt UEFI Disk iDRACVirtual 1 4 1821 lt p sourd lt p ChangeBootOrderBylnstancelD_INPUT gt OUTPUT The source input is obtained from the BootSourceSetting inventory in Section 14 3 lt n1 ChangeBootOrderBylnstancelD_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt BOOT001 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 ChangeBootOrderBylInstancelD_OUTPUT gt 14 5 Enable or Disable the Boot Source ChangeBootSourceState The ChangeBootSourceState method is called to change the enabled status of BootSourceSetting instances to Disable or Enable The input parameter source is an array of InstancelD of BootSourceSetting instances Enumerating the BootSourceSetting Class in Section 14 3 displays the CurrentEnabledStatus field which provides the applicable status Note 1 In order for the changes to be applied the CreateTargetedConfigJob method in Section 17 7 must be executed Note 2 BIOS does not support the setting of EnabledState for BCV devices Invoke ChangeBootSourceState with the following parameters and syntax 142 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 INSTANCE ID Obtained from the BootSourceSetting Class enumeration this example uses the field IPL source Reference to the nstancelD attribute from Section 14 3 EnabledState State of boot source element Disa
291. ss of the location for Dell Update Package The Dell Update Package will need to be the Windows type update package The file share can be HTTP CIFS TFTP or FTP type as shown below HTTP Format http IP ADDRESS PATH TO FILE exe CIFS Format cifs WORKGROUP_NAME USERNAME PASSWORD URI IP ADDRESS FILE exe mountpoint DIRECTORYNAME TFTP or FTP Format 46 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 tftp IP ADDRESS PATH TO FILE exe ftp IP ADDRESS PATH TO FILE exe InstancelD The instancelD is the Softwareldentify instancelD that represents the firmware that is to be updated This instancelD can be retrieved as described in Section 6 2 For example the instancelD can be DCIM INSTALLED PCI 14E4 1639 0237 1028 e It is installed firmware on a PCI device e VID Vendor ID 14E4 e DID Device ID 1636 e SSID Subsystem ID 0237 e SVID Subvendor ID 1028 e This refers to a Broadcom NetXtreme II BCM5709 network adaptor2 EXAMPLE wsman invoke a InstallFromURI http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_SoftwarelnstallationService CreationClassName DCIM_SoftwarelnstallationService SystemCreationClassName DCIM_ComputerSystem SystemName IDRAC ID Name SoftwareUpdate h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J UpdatelnputNIC xml j utf 8 y basic The above command takes in an input file named Upd
292. st be applied by creating a configuration job The CreateConfigJob method in the DCIM_LCService class creates a configuration job and executes it at the specified time 12 2 1 Create Config Job Invoke CreateConfigJob with the following parameters and syntax EXAMPLE wsman invoke a CreateConfigJob http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J CreateConfigJob xml j utf 8 y basic The input file CreateConfigJob xml is shown below lt p CreateConfigJob_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p ScheduledStartTime gt 00000000002200 000000 000 lt p ScheduledStartTime gt lt p RebootlfRequired gt false lt p RebootlfRequired gt lt p CreateConfigJob_INPUT gt 103 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 The above command will schedule the job at 10pm To poll for job completion enumerate the DCIM_LifecycleJob job instance OUTPUT lt n1 CreateConfigJob_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schem
293. t An index that does not exist in the XML file may yield the following error message lt n1 DeletePartition_OUTPUT gt lt n1 Message gt lInvalid partition index lt n1 Message gt lt n1 MessagelD gt VF018 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 DeletePartition_OUTPUT gt 13 7 Format Partition This method is for formatting a partition of the type specified by the user Use the following algorithm to successfully format an existing partition e Enumerate the DCIM_PersistentStorageService class 132 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 e Invoke the FormatPartition method on the instance above with the following parameters PartitionIndex The PartitionIndex property of the DCIM_OpaqueManagementData instance that represents the partition to be formatted 1 to 16 FormatType The new format type of the partition EXT2 1 EXT3 2 FAT16 3 FAT32 4 e The OUT parameter Job will refer to the instance of CIM_ConcreteJob using which the user can query the status of the formatting of the partition EXAMPLE wsman invoke a FormatPartition http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageService SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p P
294. t lt n1 DCIM_FanView gt lt n1 DCIM_FanView gt lt n1 ActiveCooling gt true lt n1 ActiveCooling gt lt n1 BaseUnits gt 19 lt n1 BaseUnits gt lt n1 CurrentReading gt 5160 lt n1 CurrentReading gt 61 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 FQDD gt Fan Embedded 2A lt n1 FQDD gt lt n1 InstancelD gt Fan Embedded 2A lt n1 InstancelD gt lt n1 LastSystemInventoryTime gt 20110307121906 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20110316091932 000000 000 lt n1 LastUpdateTime gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 RateUnits gt 0 lt n1 RateUnits gt lt n1 RedundancyStatus gt 2 lt n1 RedundancyStatus gt lt n1 UnitModifier gt 0 lt n1 UnitModifier gt lt n1 VariableSpeed gt true lt n1 VariableSpeed gt lt n1 DCIM_FanView gt 9 3 Memory Inventory Version 2 1 0 This section describes the implementation for the DCIM_MemoryView class The Dell Memory Profile describes platform s physical memory Each DIMM s information is represented by an instance of DCIM_MemoryView class Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate DCIM_MemoryView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_MemoryView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPU
295. t lt n1 MessagelD gt STOROO1 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set Pending Value lt n1 SetResult gt lt n1 SetAttributes_OUTPUT gt 16 19 3 Changing the Value of a RAID Controller Integer Attribute Version 2 1 0 The SetAttribute method is used to set or change the value of a RAID controller integer attribute The example below shows setting an controller attribute Invoke the SetAttribute method with the following parameters from Section 16 1 and syntax TARGET Obtained from the FQDD field AttributeName Obtained from the AttributeName field AttributeValue Obtained from the PossibleValues field 200 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttribute_Integer_RAID_Controller xml j utf 8 y basic The input file SetAttribute_Integer_RAID_Controller xml is shown below lt p SetAttribute_INPUT xmIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt
296. t lt n1 OperationalStatus xsi nil true gt lt n1 OtherEnabledState xsi nil true gt lt n1 PrimaryOwnerContact xsi nil true gt lt n1 PrimaryOwnerName xsi nil true gt lt n1 PrimaryStatus xsi nil true gt lt n1 RequestedState gt 12 lt n1 RequestedState gt lt n1 StartMode xsi nil true gt lt n1 Started xsi nil true gt lt n1 Status xsi nil true gt lt n1 StatusDescriptions xsi nil true gt lt n1 SystemCreationClassName gt DCIM_ComputerSystem lt n1 SystemCreationClassName gt lt n1 SystemName gt DCIM ComputerSystem lt n1 SystemName gt lt n1 TimeOfLastStateChange xsi nil true gt lt n1 TransitioningToState gt 12 lt n1 TransitioningToState gt lt n1 DCIM_OSDeploymentService gt 11 3 OS Deployment Method Invocation Examples 11 3 1 Get Driver Pack Information The GetDriverPackInfo method returns the embedded driver pack version and list of supported OSs for OS deployment that can be installed on the server using the embedded device drivers present in the Lifecycle Controller 1 Follow the steps listed in Section 11 1 to test for profile conformance 2 Invoke extrinsic method using the following parameters a object path object path returned from Section 11 1 profile conformance b Method name GetDriverPacklinfo 3 Invoke method returns the following output parameters a Version String version b SupportedOperatingSystems String array of OS names OR a CIM_ConcreteJ
297. t DCIM_ SPComputerSystem lt wsman Selector gt lt wsman Selector Name SystemName gt systemmc lt wsman Selector gt lt wsman Selector Name CreationClassName gt DCIM MFAAccount lt wsman Selector gt lt wsman Selector Name Name gt DCIM User 2 lt wsman Selector gt lt wsman SelectorSet gt 33 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt wsa lt wsa ReferenceParameters gt EndpointReference gt B Perform a get on any instance from A to ensure correctness of the URI EXAMPLE B wsman get http schemas dmtf org wbem wscim 1 cim schema 2 DCIM_MFAAccount __ cimnamespace root dcim SystemCreationClassName DCIM_SPComputerSystem CreationClassNam e DCIM_MFAAccount SystemName systemmc Name DCIM User 1 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic When this method is executed the particular object will be returned Below is the output OUTPUT B lt n1 DCIM_MFAAccount gt lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 lt n1 AuthenticateMethod xsi nil true gt AvailableRequestedStates xsi nil true gt Caption xsi nil true gt CommunicationStatus xsi nil true gt ComplexPasswordRulesEnforced xsi nil true gt CreationClassName gt DCIM_MFAAccount lt n1 CreationClassName
298. t n1 MinLength gt lt n1 PendingValue gt lt n1 DCIM_RAIDString gt 16 6 Getting a RAID String Instance Use the following example to get an instance of the DC M_RAIDString class instead of all instances as shown in Section 16 5 Get a DCIM_RAIDString instance with the following parameters and syntax INSTANCEID This is obtained from the enumeration in Section 16 5 which shows an example using Disk Virtual 0 RAID Integrated 1 1 Name as an instancelD EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDString InstanceID SINSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic 169 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 OUTPUT lt n1 DCIM_RAIDString gt lt n1 AttributeName gt Name lt n1 AttributeName gt lt n1 CurrentValue gt MyCacheCadeVD lt n1 CurrentValue gt lt n1 FQDD gt Disk Virtual 0 RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt Disk Virtual 0 RAID Integrated 1 1 Name lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 15 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PendingValue gt lt n1 DCIM_RAIDString gt 16 7 Listing the RAID Inventory ControllerView Class The DCIM_ControllerView class groups together a set of Controller properties Enumerate ControllerView with the following parameters and s
299. t dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p OldKey gt Abcd 123 lt p 0ldKey gt lt p NewKey gt Efgh 123 lt p NewKey gt lt p Keyid gt NewLKMid lt p Keyid gt lt p Mode gt 1 lt p Mode gt lt p ReKey_INPUT gt OUTPUT This method requires a PERC controller with Local Key encryption or DKM support to function correctly If the EnableControllerEncryption method does not set the key the following message is displayed lt n1 ReKey_OUTPUT gt lt n1 Message gt Controller is not security capable lt n1 Message gt lt n1 MessagelD gt STORO22 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 ReKey_OUTPUT gt 186 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 16 17 5 Removing the Key RemoveControllerKey The RemoveControllerKey method is used to erase the key on the controller along with the attached encrypted drives Invoke the RemoveControllerKey method with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView class See section 16 1 EXAMPLE wsman invoke a RemoveControllerKey http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemNa me DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD J Remo
300. t n1 OperationsSupported gt 3 lt n1 OperationsSupported gt lt n1 RequestedStatesSupported xsi nil true gt lt n1 StateAwareness xsi nil true gt lt n1 DCIM_IPMICLPAccountManagementCapabilities gt To determine account state setting capabilities 1 Get the CIM_Account class instance of interest using EnumerateEPR mode 2 Enumerate the associators of the CIM_Account instance and search for CIM_EnabledLogicalElementCapabilities class instance Version 2 1 0 3 The presence of RequestedStatesSupported determines which states could be set 4 One exception is account index 0 The first account is static and could not be set OUTPUT D lt n1 DCIM_MFAEnabledLogicalElementCapabilities gt lt n1 Caption xsi nil true gt lt n1 Description xsi nil true gt lt n1 ElementName gt Account Capabilities lt n1 ElementName gt lt n1 ElementNameEditSupported gt false lt n1 ElementNameEditSupported gt lt n1 ElementNameMask xsi nil true gt lt n1 InstancelD gt DCIM Account Capabilities 1 lt n1 InstancelD gt lt n1 MaxElementNameLen gt 0 lt n1 MaxElementNameLen gt lt n1 RequestedStatesSupported gt 2 lt n1 RequestedStatesSupported gt lt n1 RequestedStatesSupported gt 3 lt n1 RequestedStatesSupported gt lt n1 StateAwareness xsi nil true gt lt n1 DCIM_MFAEnabledLogicalElementCapabilities gt 28 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 5 4 2 Privileg
301. t n1 StartStatisticTime gt 201 11220013344 000000 000 lt n1 StartStatisticTime gt lt n1 StatisticTime gt 20111220085056 000000 000 lt n1 StatisticTime gt lt n1 TxBroadcast gt 0 lt n1 TxBroadcast gt lt n1 TxBytes xsi nil true gt lt n1 TxErrorPktExcessiveCollision xsi nil true gt lt n1 TxErrorPktLateCollision xsi nil true gt lt n1 TxErrorPktMultipleCollision xsi nil true gt lt n1 TxErrorPktSingleCollision xsi nil true gt lt n1 TxMutlicast gt 0 lt n1 TxMutlicast gt lt n1 TxPauseXOFFFrames gt 0 lt n1 TxPauseXOFFFrames gt lt n1 TxPauseXONFrames gt 0 lt n1 TxPauseXONFrames gt lt n1 TxUnicast gt 0 lt n1 TxUnicast gt lt n1 DCIM_NICStatistics gt Version 2 1 0 15 7 Applying the Pending Values for CNA CreateTargetedConfigJob The CreateTargetedConfigJob method is called to apply the pending values created using the SetAttribute and SetAttributes methods The system automatically reboots depending on the ScheduledStartTime selected Use the CreateTargetedConfigJob job D output to get the status see Section 10 0 Invoke CreateTargetedConfigJob with the following parameters and syntax Target This parameter is the FQDD which is found by enumerating the CNA attributes in Section 15 1 RebootJobType There are three options for rebooting the system 1 PowerCycle 2 Graceful Reboot without forced shutdown 3 Graceful reboot with forced shutdown 152 Dell Lifecycle Controller
302. tStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_PersistentStorageServic e SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J VFlashStateChange xml j utf 8 y basic The input file VFlashStateChange xml is shown below lt p VFlashStateChange_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService gt lt p RequestedState gt 1 lt p RequestedState gt lt p VFlashStateChange_INPUT gt OUTPUT lt n1 VFlashStateChange_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 VFlashStateChange_OUTPUT gt 13 4 Create Partition This method is used for creating a new partition on a storage device When this method is successfully executed an instance of DCIM_OpaqueManagementData representing the desired partition will be created Section 13 1 and a reference to this instance is captured in the output parameter Job Invoke CreatePartition with the following parameters and syntax PartitionIndex The Partitionindex property of the DCIM_OpaqueManagementData instance that represents the partition to be formatted 1 to 16 Size The size of the partition to be created SizeUnit The unit of the size MB 1 GB 2 PartitionType The partition type floppy 1 hard disk 2 OSVolumeLabel The label seen in the OS after attaching the partition EXAMPLE
303. tancelD gt iDRAC Embedded 1 NIC 1 DNSRacName lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 MaxLength gt 63 lt n1 MaxLength gt lt n1 MinLength gt 1 lt n1 MinLength gt lt n1 DCIM_iDRACCardString gt lt n1 DCIM_iDRACCardString gt lt n1 AttributeDisplayName gt IP Address lt n1 AttributeDisplayName gt lt n1 AttributeName gt Address lt n1 AttributeName gt lt n1 CurrentValue gt 10 35 0 104 lt n1 CurrentValue gt lt n1 DefaultValue gt 192 168 0 120 lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt IPv4 lt n1 GroupDisplayName gt lt n1 GroupID gt IPv4 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 IPv4 1 Address lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 MaxLength gt 16 lt n1 MaxLength gt lt n1 MinLength gt 1 lt n1 MinLength gt lt n1 DCIM_iDRACCardString gt lt n1 DCIM_iDRACCardString gt lt n1 AttributeDisplayName gt User Admin User Name lt n1 AttributeDisplayName gt lt n1 AttributeName gt UserName lt n1 AttributeName gt lt n1 CurrentValue xsi nil true gt lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt 234 Dell
304. tatus gt OK lt n1 HealthStatus gt lt n1 InitializedState gt Uninitialized See Section 13 2 3 for the populated lt n1 InitializedState gt lt n1 InstancelD gt Disk vFlashCard 1 initialized fields lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20110322104946 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20110322104946 000000 000 lt n1 LastUpdateTime gt 125 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 Licensed gt true lt n1 Licensed gt lt n1 VFlashEnabledState gt true lt n1 VFlashEnabledState gt lt n1 WriteProtected gt false lt n1 WriteProtected gt lt n1 DCIM_VFlashView gt InitializedState Field indicates status of element to be initialized InstancelD nstance D of desired element for initialization 13 2 2 Initialize Format Media This method is used to initialize or format the virtual flash media device Invoke InitializeMedia with the following parameters and syntax EXAMPLE wsman invoke a InitializeMedia http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_PersistentStorageService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_Pe rsistentStorageService SystemName DCIM ComputerSystem Name DCIM PersistentStorageService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT When this method is executed a jobid or an e
305. tax INSTANCEID This is obtained from the enumeration in Section 16 1 which shows an example using RAID Integrated 1 1 RAIDloadBalancedMode as an instancelD EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDEnumeration InstancelID INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_RAIDEnumeration gt lt n1 AttributeName gt RAIDloadBalancedMode lt n1 AttributeName gt 165 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 CurrentValue gt Disabled lt n1 CurrentValue gt lt n1 FQDD gt RAID Integrated 1 1 lt n1 FQDD gt lt n1 InstancelD gt RAID Integrated 1 1 RAIDloadBalancedMode lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue gt lt n1 PossibleValues gt Automatic lt n1 PossibleValues gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 DCIM_RAIDEnumeration 16 3 Listing the RAID Inventory Integer Class The RAID Inventory has these attributes DCIM_RAIDEnumeration see Section 16 1 DCIM_RAIDInteger this section and DCIM_RAIDString see Section 16 5 Enumerate the DCIM_RAIDInteger class to display all the RAID controller attributes in a system Enumerate RA Dinteger with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim D
306. ted 1 1 1 lt p Target gt lt p DeletePendingConfiguration_INPUT gt OUTPUT lt n1 DeletePendingConfiguration_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt NICO01 lt n1 MessagelD gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeletePendingConfiguration_OUTPUT gt 15 9 Getting the CNA Enumeration Instance Use the following example to get an instance of the DCIM_NICEnumeration class Get a DCIM_N CEnumeration class instance from the first port and first partition with the following parameters and syntax INSTANCEID This is obtained from the enumeration in Section 15 1 in which this example would use NIC Embedded 1 1 as an nstancelD EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICEnumeration InstancelD INSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_NICEnumeration gt 154 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 AttributeName gt LegacyBootProto lt n1 AttributeName gt lt n1 CurrentValue gt iSCSI lt n1 CurrentValue gt DefaultValue xsi nil true gt FQDD gt NIC Embedded 1 1 lt n1 FQDD gt InstancelD gt NIC Embedded 1 1 LegacyBootProto lt n1 InstancelD gt lt n lt n lt n lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PendingValue xsi nil
307. terSystem CreationClassName DCIM_ComputerSystem Name srv system h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic k RequestedState 2 OUTPUT lt n1 RequestStateChange_OUTPUT gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt 58 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 RequestStateChange_OUTPUT gt Return values of zero indicate success while others indicate failure and may include a corresponding error message 8 4 2 Power State Management Method Changing the power state is performed by invoking the RequestPowerStateChange method of the DCIM_PowerManagementService PMS class instance It is a three step process shown below 1 Enumerate the DCIM_PowerManagementService with EPR 2 Enumerate the DCIM_ComputerSystem class and search for the Host instance 3 Use the EPR on steps 1 and 2 to invoke RequestPowerStateChange Power State Management Profile http www dmif org sites default files standards documents DSP1027_2 0 0 pdf EXAMPLE wsman invoke a RequestPowerStateChange http schemas dell com wbem wscim 1 cim schema 2 DCIM_CSPowerManagementService CreationClassName DCIM_CSPowerManagementService SystemCreationClassName DCIM_SPComputerSystem SystemName systemmc Name pwrmetsvc 1 k PowerState 2 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic 9 Hardware Inventory The Dell Co
308. terSystem Name DCIM NICService h IPADDRESS V v c dummy cert P 443 u USERNAME p PASSWORD J SetAttributes_NIC_LAN_Modes xml j utf 8 y basic The input file SetAttributes_NIC xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService gt lt p Target gt NIC Embedded 1 1 lt p Target gt lt p AttributeName gt LegacyBootProto lt p AttributeName gt lt p AttributeValue gt PXE lt p AttributeValue gt lt p AttributeName gt LnkSpeed lt p AttributeName gt lt p AttributeValue gt 10Mbps Half lt p AttributeValue gt lt p AttributeName gt WakeOnLan lt p AttributeName gt lt p AttributeValue gt Disabled lt p AttributeValue gt lt p AttributeName gt VLanMode lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt lscsiTgtBoot lt p AttributeName gt lt p AttributeValue gt One Time Disabled lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt NICO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 15 15 Setting the iSCSI Boot Target The SetAttributes method is used to set or change the values of the iSCSI boot target a
309. tion will need to be replaced with the actual IP address s or DNS name s of the Provisioning Server s EXAMPLE B wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetProvisioningServer xml j utf 8 y basic The input file SetProvisioningServer xml is shown below lt p SetAttribute_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService gt lt p AttributeName gt Provisioning Server lt p AttributeName gt lt p AttributeValue gt PS_IP_ADDRESS lt p AttributeValue gt lt p SetAttribute_INPUT gt OUTPUT B This method will return status 0 or error message lt n1 SetAttribute_OUTPUT gt lt n1 RebootRequired gt No lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set CurrentValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt 109 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 12 5 Check VFlash License Enablement The following command can be used to check VFlash License enablement Features such as Part Replacement downloading ISO image to VFlash or booting from VFlash are licensed features and require Dell VFlash SD Card to be inserted in
310. tiple jobs are listed in the order of job execution sequence If a system is to reboot at the scheduled start time a reboot job will need to be added to the list This reboot job has a prefix of RID_ for its jobid Note scheduling a job that is already scheduled will result in an error message If there is no reboot job in the job array the system will schedule the jobs for execution at the specified start time The jobs will not be executed until the system is rebooted by something other than Lifecycle Controller At the specified UntilTime any jobs that have not been executed are failed with an error indicating that the job was not executed in the specified maintenance window For some component updates such as Diagnostics USC and iDRAC firmware a system reboot is not needed 74 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 EXAMPLE wsman invoke a SetupJobQueue http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_JobService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_JobService SystemName ldrac Name JobService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetupJobQueue xml j utf 8 y basic The syntax for SetupJobQueue xml is lt p SetupJobQueue_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_JobService gt lt p JobArray gt JID_001249463339 lt p JobArray gt lt p JobArray gt RID_001265
311. torage The RAID storage is modeled as collections of attributes where there are collections for the storage adaptors physical disks logical disks end enclosures and parent child relationships between the collections Additionally there is a configuration service that contains all the methods used to configure the RAID storage Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile The RAID Inventory contains the following attributes DCIM_RAIDEnumeration 16 1 DCIM_RAIDInteger 16 3 DCIM_RAIDString 16 5 DCIM_ControllerView 16 7 DCIM_PhysicalDiskView 16 9 DCIM_VirtualDiskView 16 10 DCIM_EnclosureView 16 11 16 1 Listing the RAID Inventory Enumeration Class The RAID Inventory has these attributes DCIM_RAIDEnumeration this section DCIM_RAIDInteger Section 16 3 and DCIM_RAIDString see Section 16 5 Enumerate the DC M_RA DEnumeration class to display all the RAID controllers and virtual disk attributes in a system 163 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version Enumerate the DC M_RA DEnumeration class with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDEnumeration h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_RAIDEnumeration gt lt n1 AttributeName gt RAIDSupportedDiskProt lt n1 AttributeName
312. troller 2 Web Services Interface Guide for Linux Version 2 1 0 11 3 6 Boot to Network ISO The BootToNetworkISO method can be used to boot the target system to a bootable ISO image located on a CIFS or NFS share The ISO image is attached to the host system as an emulated USB CD ROM storage device The attachment will persist while the system is booted to the ISO image Invoke BootToNetworkISO via NFS share with the following syntax NFS_IPADDRESS This is the IP address of the location of the ISO image NFS OSISO This is the directory path to the ISO image NFS_Username This is the username to the IP address of the ISO image NFS_Password This is the corresponding password to the username containing the ISO image OS ISO This is to be replaced by the actual name of the ISO image EXAMPLE wsman invoke a BootToNetworkISO http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM OSDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD k IPAddress NFS_IPADDRESS k ShareName NFS OSISO k ShareType 0 k Username NFS_USERNAME k Password NFS_PASSWORD k Workgroup WORKGROUP k ImageName OS ISO j utf 8 y basic OUTPUT The return will be 0 for success or 1 if an error occurred in starting the processing t
313. tting the BIOS password completed with no issues 17 10 Listing the BIOS Inventory Password Class Enumerate B OSPassword with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BIOSPassword h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_BIOSPassword gt lt n1 AttributeDisplayName gt System Password lt n1 AttributeDisplayName gt lt n1 AttributeName gt SysPassword lt n1 AttributeName gt lt n1 Dependency gt lt CDATA lt Dep gt lt AttrLev Op OR gt lt ROIf Name PasswordStatus gt Locked lt ROIlf gt lt AttrLev gt lt Dep gt gt lt n1 Dependency gt lt n1 DisplayOrder gt 1402 lt n1 DisplayOrder gt lt n1 FQDD gt BIOS Setup 1 1 lt n1 FQDD gt lt n1 GroupDisplayName gt System Security lt n1 GroupDisplayName gt lt n1 GroupID gt SysSecurity lt n1 Group ID gt lt n1 InstancelD gt BIOS Setup 1 1 SysPassword lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 lsSet gt false lt n1 IsSet gt lt n1 MaxLength gt 32 lt n1 MaxLength gt lt n1 MinLength gt 0 lt n1 MinLength gt lt n1 PasswordState gt 3 lt n1 PasswordState gt lt n1 PendingValue xsi nil true gt lt n1 ValueExpression gt 0 9a z 0 32 lt n1 ValueExpression gt lt n1 DCIM_BIOSPassword gt lt n1 DCIM_BIOSPassword gt lt n1 AttributeDisplayName gt Setup
314. ttributes Invoke the SetAttributes method with the following parameters from 15 1 and syntax Target FQDD attained through DCIM_NiCEnumeration AttributeName Attained from AttributeName field AttributeValue A new value to assign to the specified NiCAttribute If this value is valid it is applied to the PendingValue property or the Currentvalue property of the specified NiCAttribute Possible choices are attained from PossibleValues field such as Possible values Disabled Enabled EXAMPLE 160 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 wsman invoke a SetAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_NICService SystemName DCIM ComputerSystem Name DCIM NICService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD J SetAttributes_iSCSI_BootTarget xml j utf 8 y basic The information in the input file SetAttribute_iSCS _BootTarget xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICService gt lt p Target gt NIC Integrated 1 1 1 lt p Target gt lt p AttributeName gt BootToTarget lt p AttributeName gt lt p AttributeValue gt Enabled lt p AttributeValue gt lt p AttributeName gt lscsilnitiatorlpAddr lt p AttributeName gt lt p AttributeValue gt 10 10 10 10 lt p AttributeVal
315. ttributes_Integer_RAID_Controller xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p AttributeName gt RAIDccRate lt p AttributeName gt lt p AttributeValue gt 60 lt p AttributeValue gt lt p AttributeName gt RAIDreconstructRate lt p AttributeName gt lt p AttributeValue gt 60 lt p AttributeValue gt lt p AttributeName gt RAIDbgiRate lt p AttributeName gt lt p AttributeValue gt 60 lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttributes_OUTPUT gt lt n1 Message gt The method was successful lt n1 Message gt lt n1 MessagelD gt STORO01 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set Pending Value lt n1 SetResult gt lt n1 SetAttributes_OUTPUT gt 16 20 Convert Physical Disks to RAID ConvertToRAID The ConvertToRAID method is used to convert physical disks in Non RAID state to a state usable for RAID After the method is successfully executed the PendingValue property of RAIDPDState should reflect the pending changes After the CreateTargetedConfigJob method is successfully executed the RAIDStatus property which is enumerated in the DCIM_PhysicalDiskView from Section 16 9 should reflect the new state of that physical disk Invoke ConvertToRAID w
316. tup 1 1 BootSeqRetry lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_BlOSEnumeration gt 205 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 17 2 Getting a BIOS Enumeration Instance Getting one particular instance of the BIOSEnumeration instead of all instances as shown in Section 17 1 is shown below Get a BlOSEnumeration instance with the following parameters and syntax INSTANCEID This is obtained from the enumeration in Section 17 1 which shows an example using BIOS Setup 1 1 NumLock as an instancelD EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSEnumeration InstancelID SINSTANCEID h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD o utf 8 H basic OUTPUT lt n1 DCIM_BlOSEnumeration gt AttributeName gt NumLock lt n1 AttributeName gt lt n lt n1 CurrentValue gt On lt n1 CurrentValue gt DefaultValue xsi nil true gt FQDD gt BIOS Setup 1 1 lt n1 FQDD gt InstancelD gt BIOS Setup 1 1 NumLock lt n1 InstancelD gt lt n lt n lt n lt n1 lsReadOnly gt false lt n1 lsReadOnly gt lt n1 PendingValue xsi nil true gt lt n1 PossibleValues gt On lt n
317. ue gt lt p AttributeName gt IscsilnitiatorSubnet lt p AttributeName gt lt p AttributeValue gt 255 255 255 0 lt p AttributeValue gt lt p AttributeName gt IscsilnitiatorGateway lt p AttributeName gt lt p AttributeValue gt 10 10 10 1 lt p AttributeValue gt lt p AttributeName gt IscsilnitiatorPrimDns lt p AttributeName gt lt p AttributeValue gt 10 10 10 2 lt p AttributeValue gt lt p AttributeName gt IscsilnitiatorSecDns lt p AttributeName gt lt p AttributeValue gt 10 10 10 3 lt p AttributeValue gt lt p AttributeName gt lscsilnitiatorName lt p AttributeName gt lt p AttributeValue gt testname lt p AttributeValue gt lt p AttributeName gt IscsilnitiatorChapld lt p AttributeName gt lt p AttributeValue gt testid lt p AttributeValue gt lt p AttributeName gt IscsilnitiatorChapPwd lt p AttributeName gt lt p AttributeValue gt testpassword lt p AttributeValue gt lt p AttributeName gt FirstTgtIlpAddress lt p AttributeName gt lt p AttributeValue gt 2 2 2 2 lt p AttributeValue gt lt p AttributeName gt FirstTgtlscsiName lt p AttributeName gt lt p AttributeValue gt tgtiscsitest lt p AttributeValue gt lt p AttributeName gt FirstTgtChapld lt p AttributeName gt lt p AttributeValue gt firsttestID lt p AttributeValue gt lt p AttributeName gt FirstTgtChapPwd lt p AttributeName gt lt p AttributeValue gt testpassword2 lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT
318. ue gt on lt p AttributeValue gt lt p SetAttribute_INPUT gt OUTPUT lt n1 SetAttribute_OUTPUT gt lt n1 RebootRequired gt No lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set CurrentValue lt n1 SetResult gt lt n1 SetAttribute_OUTPUT gt To verify the changes after setattribute was executed list the LC attributes as shown in Section 19 8 1 20 Remote Service Status To get the remote service status invoke the GetRemoteServicesAPIStatus method in the class DCIM_LCService This method is used to obtain the overall remote services API status that includes both the host system status as well as the Lifecycle Controller Data Manager included status The overall rolled up status shall be reflected in the Status output parameter NOTE The LCStatus output parameter value includes the status reported by the DMStatus output parameter in the GetRSStatus method Thus GetRSStatus method invocation is redundant Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 20 1 Getting Remote Service Status EXAMPLE 238 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 wsman invoke a GetRemoteServicesAPIStatus http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCServ
319. ues gt Administrator lt n1 PossibleValues gt lt n1 PossibleValues gt NoAccess lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt 19 5 Listing the iDRAC Card Inventory Integer Class Enumerate the DCIM_iDRACCardinteger class to list all the integer type iDRAC attributes Enumerate the DCIM_iDRACCardInteger class with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardInteger h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_iDRACCardInteger gt lt n1 AttributeDisplayName gt VLan Priority lt n1 AttributeDisplayName gt lt n1 AttributeName gt VLanPriority lt n1 AttributeName gt lt n1 CurrentValue gt 0 lt n1 CurrentValue gt lt n1 DefaultValue gt 0 lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt NIC lt n1 GroupDisplayName gt lt n1 GroupID gt NIC 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 NIC 1 VLanPriority lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 LowerBound gt 0 lt n1 LowerBound gt lt n1 UpperBound gt 7 lt n1 UpperBound gt lt n1 DCIM_iDRACCardInteger gt lt n1 DCIM_iDRACCardInteger gt lt n1 AttributeDisplayName gt User Admin Privilege lt n1 AttributeDisplayName
320. ufacturer gt lt n1 MaxCPUSockets gt 2 lt n1 MaxCPUSockets gt lt n1 MaxDIMMSlots gt 24 lt n1 MaxDIMMSlots gt lt n1 MaxPCleSlots gt 7 lt n1 MaxPCleSlots gt lt n1 MemoryOperationMode gt OptimizerMode lt n1 MemoryOperationMode gt lt n1 Model gt PowerEdge T620 lt n1 Model gt lt n1 PSRollupStatus gt 1 lt n1 PSRollupStatus gt lt n1 PlatformGUID gt 3132334f cOb7 3480 3510 00364c4c4544 lt n1 PlatformGUID gt lt n1 PopulatedCPUSockets gt 1 lt n1 PopulatedCPUSockets gt lt n1 PopulatedDIMMSlots gt 1 lt n1 PopulatedDIMMSlots gt lt n1 PopulatedPCleSlots gt 1 lt n1 PopulatedPCleSlots gt lt n1 PowerCap gt 336 lt n1 PowerCap gt lt n1 PowerCapEnabledState gt 3 lt n1 PowerCapEnabledState gt lt n1 PowerState gt 2 lt n1 PowerState gt lt n1 PrimaryStatus gt 3 lt n1 PrimaryStatus gt lt n1 RollupStatus gt 3 lt n1 RollupStatus gt lt n1 ServerAllocation xsi nil true gt lt n1 ServiceTag gt 7654321 lt n1 ServiceTag gt lt n1 StorageRollupStatus gt 1 lt n1 StorageRollupStatus gt lt n1 SysMemErrorMethodology gt 6 lt n1 SysMemErrorMethodology gt lt n1 SysMemFailOverState gt NotInUse lt n1 SysMemF ailOverState gt lt n1 SysMemLocation gt 3 lt n1 SysMemLocation gt lt n1 SysMemPrimaryStatus gt 1 lt n1 SysMemPrimaryStatus gt lt n1 SysMemTotalSize gt 2048 lt n1 SysMemTotalSize gt lt n1 SystemGeneration gt 12G Monolithic lt n1 SystemGeneration gt 73 Dell Lifecycle Controller 2 Web Services Interface
321. unt Settings using iDRAC Attributes When the account setting capability allows the user name of an account may be modified by invoking the ApplyAttributes method on the UserName property Confirmation of successful user name or password verification can be obtained by enumerating the DCIM_iDRACCardString class Section 19 6 5 3 1 Modify User Name using iDRAC Attributes EXAMPLE wsman invoke a ApplyAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_ iDRACCardService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_iDRACCardService SystemName DCIM ComputerSystem Name DCIM iDRACC ardService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic J DracCard_UserName xml The input file DracCard_UserName xml is shown below lt p ApplyAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_iDRACCardService gt lt p Target gt iDRAC Embedded 1 lt p Target gt lt p AttributeName gt Users 4 UserName lt p AttributeName gt lt p AttributeValue gt HELLO lt p AttributeValue gt lt p ApplyAttributes_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 ApplyAttributes_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http sch
322. ute lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt for Users 2 lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt lt n1 GroupID gt Users 2 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 Us rsi2 Enable lt n1 InstancelD gt lt n1 lsReadOnly gt false lt n1 IsReadOnly gt lt n1 PossibleValues gt Disabled lt n1 PossibleValues gt lt n1 PossibleValues gt Enabled lt n1 PossibleValues gt lt n1 DCIM_iDRACCardEnumeration gt 18 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux 5 2 2 Privilege and Capabilities using iDRAC Attributes Version 2 1 0 Enumerating the DC M_iDRACCardEnumeration class Section 19 1 and parsing the output for the attribute AttributeDisplayName User Admin IPMI LAN or Serial Privilege will display all of the 16 possible user accounts and their respective status EXAMPLE lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt User Admin IPMI LAN Privilege lt n1 AttributeDisplayName gt lt n1 AttributeName gt IpmiLanPrivilege lt n1 AttributeName gt lt n1 CurrentValue gt NoAccess lt n1 CurrentValue gt lt n1 DefaultValue gt NoAccess lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt Users lt n1 GroupDisplayName gt lt n1 GroupID gt Users 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded
323. uteDisplayName gt lt n1 AttributeName gt UserName lt n1 AttributeName gt lt n1 CurrentValue xsi nil true gt lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt A E GroupDisplayName gt lt n1 3 entiinstancelD MDRAC Embedded 1 Users 3 UserName lt n1 InstancelD gt lt n1 lsReadOnly gt true lt n1 lsReadOnly gt lt n1 MaxLength gt 16 lt n1 MaxLength gt lt n1 MinLength gt 1 lt n1 MinLength gt lt n1 DCIM_iDRACCardString gt 236 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 19 9 Changing the iDRAC IPChange Notification 19 9 1 Getting the Current iDRAC IPChange State Get the PChangeNotifyPS attribute from the DCIM_LCAttribute class to display The CurrentValue field indicates the current status of this attribute EXAMPLE wsman get http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCAttribute InstancelD DCIM_LCEnumeration DHS3 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_LCAttribute gt lt n1 AttributeName gt IPChangeNotifyPS lt n1 AttributeName gt lt n1 Caption xsi nil true gt lt n1 CurrentValue gt Off lt n1 CurrentValue gt lt n1 DefaultValue gt Off lt n1 DefaultValue gt lt n1 Description xsi nil true gt lt n1 ElementName gt LC emb 1 lt n1 ElementName gt
324. utes method An example InstancelD is as follows InstancelD JID_ 001300815142 228 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version OUTPUT lt n1 DCIM_LifecycleJob gt lt n1 InstancelD gt JID_001300815142 lt n1 InstancelD gt lt n1 JobStartTime gt TIME_NA lt n1 JobStartTime gt lt n1 JobStatus gt Completed lt n1 JobStatus gt lt n1 JobUntilTime gt TIME_NA lt n1 JobUntilTime gt lt n1 Message gt NA lt n1 Message gt lt n1 MessagelD gt NA lt n1 MessagelD gt lt n1 Name gt iDRACConfig iDRAC Embedded 1 lt n1 Name gt lt n1 PercentComplete gt 100 lt n1 PercentComplete gt lt n1 DCIM_LifecycleJob gt 19 4 3 Set Attribute Verification 2 1 0 To verify the changes made to the attributes enumerate the DCIM_iDRACCardEnumeration class For more information see Section 19 1 OUTPUT 2 lt n1 DCIM_iDRACCardEnumeration gt lt n1 AttributeDisplayName gt Nic Enable lt n1 AttributeDisplayName gt lt n1 AttributeName gt Enable lt n1 AttributeName gt lt n1 CurrentValue gt Enabled lt n1 CurrentValue gt lt n1 DefaultValue gt Enabled lt n1 DefaultValue gt lt n1 Dependency xsi nil true gt lt n1 DisplayOrder gt 0 lt n1 DisplayOrder gt lt n1 FQDD gt iDRAC Embedded 1 lt n1 FQDD gt lt n1 GroupDisplayName gt NIC lt n1 GroupDisplayName gt lt n1 GroupID gt NIC 1 lt n1 GroupID gt lt n1 InstancelD gt iDRAC Embedded 1 NIC 1 Enable lt n1 InstancelD gt lt n1 l
325. utes vs Standard DMTF Model The iDRAC user account management data model is represented by both DMTF and Dell Profiles Both models are currently offered The DMTF Profiles for Simple Identity Management and Role Based Authorization represent iDRAC user accounts and privileges The DMTF data model is complex and typically requires multiple transactions to accomplish simple operations such as specifying a username and password or giving a user account admin privileges For this reason LC also offers a Dell data model for managing iDRAC user accounts that is based on an attribute model The DCIM iDRAC Card Profile specifies the attributes for each user account name password and privilege The iDRAC has 15 local user account that can be managed 5 2 Account Inventory using iDRAC Attributes The list of user accounts may be retrieved by enumerating the DCIM_iDRACCard classes The class provides the user account name and enabled state properties Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 5 2 1 Account and Capabilities using iDRAC Attributes Enumerating the DC M_iDRACCardEnumeration class Section 19 1 and parsing the output for the attribute AttributeDisplayName User Admin Enable will display all of the 16 possible user accounts and their respective status EXAMPLE wsman enumerate http schemas dmtf org wb
326. utes_OUTPUT gt The following error may result if the password has not initially been set to a value The password may be set an initail value at the same time as the account is enabled by adding the Users 4 Password attribute name and corresponding attribute value as shown above lt n1 ApplyAttributes_OUTPUT gt lt n1 Message gt The User Password is not configured so cannot Enable the User or set values for User Password IPMiLan IPMISerial or User Admin Privilege lt n1 Message gt lt n1 MessageArguments gt NULL lt n1 MessageArguments gt lt n1 MessagelD gt RACO23 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 ApplyAttributes_OUTPUT gt 5 3 4 Modify User Privilege using iDRAC Attributes When the account setting capability allows the user privileges may be enabled or disabled by invoking the method ApplyAttributes method on the Enable property Confirmation of the change can be obtained by enumerating the DC M_iDRACCardString class Section 19 6 EXAMPLE wsman invoke a ApplyAttributes http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_ iDRACCardService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_iDRACCardService SystemName DCIM ComputerSystem Name DCIM iDRACC ardService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic J DracCard_PrivilegeChange xml The input file DracCard_ PrivilegeChange xml is shown b
327. utputPower gt 0 lt n1 TotalOutputPower gt lt n1 Type gt 0 lt n1 Type gt lt n1 DCIM_PowerSupplyView gt 9 2 Fan Inventory Version 2 1 0 This section describes the requirements and guidelines for implementing Dell Fan Profile The Dell Fan Profile describes platform s fans including the fan speed sensor information Each platform fan is represented by an instance of DCIM_FanView class Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile Enumerate DCIM_FanView with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FanView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_FanView gt lt n1 ActiveCooling gt true lt n1 ActiveCooling gt lt n1 BaseUnits gt 19 lt n1 BaseUnits gt lt n1 CurrentReading gt 4920 lt n1 CurrentReading gt lt n1 FQDD gt Fan Embedded 1A lt n1 FQDD gt lt n1 InstancelD gt Fan Embedded 1A lt n1 InstancelD gt lt n1 LastSystemlnventoryTime gt 20110307121906 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 20110316091932 000000 000 lt n1 LastUpdateTime gt lt n1 PrimaryStatus gt 1 lt n1 PrimaryStatus gt lt n1 RateUnits gt 0 lt n1 RateUnits gt lt n1 RedundancyStatus gt 2 lt n1 RedundancyStatus gt lt n1 UnitModifier gt 0 lt n1 UnitModifier gt lt n1 VariableSpeed gt true lt n1 VariableSpeed g
328. veControllerKey xml j utf 8 y basic The input file RemoveControllerKey xml is shown below lt p RemoveControllerKey_INPUT xmlIns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt RAID Integrated 1 1 lt p Target gt lt p RemoveControllerKey_INPUT gt OUTPUT This method requires an H700 or H800 controller to function correctly If the EnableControllerEncryption method does not set the key the following message is displayed lt n1 RemoveControllerKey_OUTPUT gt lt n1 Message gt Controller is not security capable lt n1 Message gt lt n1 MessagelD gt STORO21 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 RemoveControllerKey_OUTPUT gt 16 18 Managing Virtual Disk 16 18 1 Getting the Available RAID levels GetRAIDLevels The GetRAIDLevels method is used to determine possible choices RAID levels to create virtual disks If the list of physical disks is not provided this method will operate on all connected disks Invoke GetRAIDLevels with the following parameters and syntax TARGET This parameter is the FQDD of the DCIM_ControllerView Section 16 7 DiskType Corresponds to MediaType attribute in PhysicalDiskView Section 16 9 Include all types 0 Include Magnetic Only 1 Include SSD only 2 Diskprotocol Types of protocol to include 187 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 Include al
329. vices Interface Guide for Linux Version 2 1 0 14 1 Listing the Boot Inventory ConfigSetting Class The boot configuration settings are a collection of settings that are applied to the boot configurable system during the boot process The current default and next status fields of each element are available Enumerate BootConfigSetting with the following parameters and syntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BootConfigSetting h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_BootConfigSetting gt lt n1 ElementName gt BootSeq lt n1 ElementName gt lt n1 InstancelD gt IPL lt n1 InstancelD gt lt n1 lsCurrent gt 2 lt n1 IsCurrent gt This InstancelD can be used as input for a lt n1 IsDefault gt 0 lt n1 IsDefault gt get operation as shown in Section 14 2 lt n1 IsNext gt 2 lt n1 IlsNext gt lt n1 DCIM_BootConfigSetting gt lt n1 DCIM_BootConfigSetting gt lt n1 ElementName gt HddSeq lt n1 ElementName gt lt n1 InstancelD gt BCV lt n1 InstancelD gt lt n1 lsCurrent gt 2 lt n1 lsCurrent gt lt n1 lsDefault gt 0 lt n1 lsDefault gt lt n1 lsNext gt 2 lt n1 IlsNext gt lt n1 DCIM_BootConfigSetting gt lt n1 DCIM_BootConfigSetting gt lt n1 ElementName gt UefiBootSeq lt n1 ElementName gt lt n1 InstancelD gt UEFI lt n1 InstancelD gt lt n1 lsCurrent gt 1 lt n1 lsCurrent gt lt
330. voke ConvertToNonRAID with the following parameters and syntax Physical Disk TARGET Obtained from the FQDD field Section 16 9 An example of Disk Bay 2 Enclosure Internal 0 0 RAID Slot 1 1 is shown below EXAMPLE winrm invoke ConvertToNonRAID cimv2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClass Name DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J ConvertToNonRAID xml j utf 8 y basic The input file ConvertToNonRAID xml is shown below lt p ConvertToNonRAID_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p PDArray gt Disk Bay 2 Enclosure Internal 0 0 RAID Slot 1 1 lt p PDArray gt lt p ConvertToNonRAID_INPUT gt OUTPUT ConvertToNonRAID_OUTPUT RebootRequired 1 ReturnValue 0 203 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 17 Managing BIOS Configuration This feature provides the ability to get and set any configurable BIOS attributes that are exposed in BIOS UEFI HII The BIOS Management Profile extends the management capabilities of referencing profiles by adding the capability to represent and configure BIOS attributes such as a Network Controller or IDE Controller Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 17 1 Listing the BIOS Inventory
331. w lt p DeleteVirtualDisk_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService gt lt p Target gt DISK Virtual 0 RAID Integrated 1 1 lt p Target gt lt p DeleteVirtualDisk_INPUT gt OUTPUT lt n1 DeleteVirtualDisk_OUTPUT gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 DeleteVirtualDisk_OUTPUT gt 16 19 Setting Controller Attributes 16 19 1 Changing the Value of a RAID Controller Enumeration Attribute The SetAttribute method is used to set or change the value of a RAID controller or a virtual disk attribute The example below shows setting a RAID controller enumeration attribute To set a virtual 198 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 disk attribute use the FQDD of the virtual disk attribute for the Target and the AttributeName and AttributeValue Invoke SetAttribute with the following parameters from Section 16 1 and syntax TARGET Obtained from the FQDD field AttributeName Obtained from the AttributeName field AttributeValue Obtained from the PossibleValues field EXAMPLE wsman invoke a SetAttribute http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_RAIDService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_RAIDService SystemName DCIM ComputerSystem Name DCIM RAIDService h IPADDRESS V v c dummy cert P 4
332. will further contain method invocation information if an error occurred lt n1 ConnectRFSISOImage_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_OSDConcreteJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt DCIM_OSDConcreteJob 1 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ConnectRFSISOlmage_OUTPUT gt 11 3 19 Disconnect RFS ISO Image The DisconnectRFSISOImage method is used to disconnect and detach the ISO Image that is mounted through Remote File Share RFS and is exposed to the host system as a USB based CD ROM device Invoke DisconnectRFSISOImage with the following syntax EXAMPLE wsman invoke a DisconnectRFSISOImage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_OSDeploymentService CreationClassName DCIM_OSDeploymentService Name DCIM O0SDeploymentService SystemCreationClassName DCIM_ComputerSystem SystemName DCIM ComputerSystem h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT 98 Dell Lifecycle Controller 2 Web
333. workgroup lt p Workgroup gt lt p Username gt Administrator lt p Username gt lt p Password gt password lt p Password gt lt p Port gt lt p Port gt lt p HashType gt 1 lt p HashType gt lt p HashValue gt 123 lt p HashValue gt lt p ExportDataFromPartition_INPUT gt OUTPUT When this method is executed a jobid or an error message is returned lt n1 ExportDataFromPartition_OUTPUT gt lt n1 Job gt lt wsa Address gt http schemas xmlsoap org ws 2004 08 addressing role anonymous lt wsa Address gt lt wsa ReferenceParameters gt lt wsman ResourceURI gt http schemas dell com wbem wscim 1 cim schema 2 DCIM_LifecycleJob lt wsman ResourceURI gt lt wsman SelectorSet gt lt wsman Selector Name InstancelD gt JID_001300797630 lt wsman Selector gt lt wsman Selector Name __cimnamespace gt root dcim lt wsman Selector gt lt wsman SelectorSet gt lt wsa ReferenceParameters gt lt n1 Job gt lt n1 ReturnValue gt 4096 lt n1 ReturnValue gt lt n1 ExportDataFromPartition_OUTPUT gt 14 Boot Control Configuration Management This feature provides the ability to get and set the boot order configuration The Boot Control Profile describes the classes associations properties and methods used to manage the boot control configurations of a physical or virtual computer system Profile and Associated MOFs http www delltechcenter com page DCIM Library Profile 138 Dell Lifecycle Controller 2 Web Ser
334. wscim 1 cim schema 2 root dcim DCIM_FCService 249 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_FCService SystemName DCIM ComputerSystem Name DCIM FCService h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD J SetAttribute_FC xml j utf 8 y basic The input file SetAttributes_FC xml is shown below lt p SetAttributes_INPUT xmlns p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_FCService gt lt p Target gt FC Slot 2 2 lt p Target gt lt p AttributeName gt PortSpeed lt p AttributeName gt lt p AttributeValue gt 4G lt p AttributeValue gt lt p SetAttributes_INPUT gt OUTPUT lt n1 SetAttributes_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt FC001 lt n1 MessagelD gt lt n1 RebootRequired gt Yes lt n1 RebootRequired gt lt n1 ReturnValue gt 0 lt n1 ReturnValue gt lt n1 SetResult gt Set PendingValue lt n1 SetResult gt lt n1 SetAttributes_OUTPUT gt 23 7 Applying the Pending Values for FC CreateTargetedConfigJob This method is called to apply the pending values created by the SetAttribute and SetAttributes methods The system will automatically reboot depending on the ScheduledStartTime selected Using the CreateTargetedConfigJob job D output with the job control section can be used to obtain its status Invok
335. wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_VirtualDisk View 173 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p SPASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_VirtualDiskView gt lt n1 BusProtocol gt 6 lt n1 BusProtocol gt lt n1 Cachecade gt 0 lt n1 Cachecade gt lt n1 DiskCachePolicy gt 1024 lt n1 DiskCachePolicy gt lt n1 FQDD gt Disk Virtual 0 RAID Slot 1 1 lt n1 FQDD gt lt n1 InstancelD gt Disk Virtual 0 RAID Slot 1 1 lt n1 InstancelD gt lt n1 LastSysteminventoryTime gt 20120116145459 000000 000 lt n1 LastSystemInventoryTime gt Virtual disks will denote 3 lt n1 LastUpdateTime gt 20120116145459 000000 000 pending prior to being lt n1 LastUpdateTime gt created and 0 after lt n1 LockStatus gt 0 lt n1 LockStatus gt creation lt n1 MediaType gt 1 lt n1 MediaType gt lt n1 Name gt Virtual Disk 00 lt n1 Name gt lt n1 ObjectStatus gt 3 lt n1 ObjectStatus gt lt n1 OperationName gt None lt n1 OperationName gt lt n1 OperationPercentComplete gt 0 lt n1 OperationPercentComplete gt lt n1 PhysicalDiskIDs gt Disk Bay 0 Enclosure Internal 0 0 RAID Slot 1 1 lt n1 PhysicalDiskIDs gt lt n1 PhysicalDiskIDs gt Disk Bay 1 Enclosure Internal 0 0 RAID Slot 1 1 lt n1 PhysicalDiskIDs gt lt n1 PhysicalDiskIDs gt Disk Bay 2 Enclosure Internal 0 0 RAID Slot 1 1 lt n1
336. y String Class 0 0 0 cccceeeceeeecceeeeeeeeeeeeeeenneeeeeeeeeeteeee 145 15 3 Listing the CNA Inventory Integer Class c ccceeeeeeeeeeeecneeeeeee eee teeeeneeeeeeeeeeeneeee 147 15 4 Listing the CNA Inventory NICView ClaSS ccceeeeeeeeteeeeeeeeeeeeeeeetnaeeeeeeeeeeneeee 148 15 5 Listing the CNA Inventory NICCapabilities Class ecceeeeeeeeeeeeeeeeeetteeeeeeeeeeteeee 150 15 6 Listing the CNA Inventory NICStatistics Class eeceeeeeeeeeee eee eeeeeeeeeeeeee rete 151 15 7 Applying the Pending Values for CNA CreateTargetedConfigJob cccceee 152 15 8 Deleting the Pending Values for CNA DeletePendingConfiguration 153 15 9 Getting the CNA Enumeration Instance cccceeeeeeeeeeeeeeeeeeeeeeeeeeeennaeeeeeeeeeeneeee 154 6 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 15 10 Setting the scsiOffloadMode Attribute ccceeeeeeeee eee eeeeeneeeeeeeeeeteeeeeeeeeeeeeeeeneeee 155 15 11 Setting the MaxBandwidth Attribute 2 0 0 0 eect errr ee eeeennee etter eee teeeetaeeeeeeeeeeteeee 156 15 12 Setting the VirtMacAdadr Attribute 2 cece e ener eeeeeeeeeeeeeeeeeeeteneaaeeeeeeeeeeennae 157 15 13 Setting the LegacyBootProto Attribute ccccccceeeeeeeseeeeeeeeeeeeeeesesaeaeeeeeeeeeeneae 158 15 14 Setting CNA LAN Modes ccceccccceeeeeeeeeeeeceeeeee seen eee aaaaaaeeeeeeeeetegeaaeaeeeeeeeeeenae 159 15 15 Setting t
337. y be set to null or left blank as shown below e Changing an existing BIOS password Both the OldPassword and NewPassword parameters are required NOTE Entering only the NewPassword parameter indicates a pass in the setting and creating a new job however the job fails e Deleting an existing BIOS password The OldPassword parameter is required The NewPassword parameter may be set to null set to blank or omitted completely lt p ChangePassword_INPUT xmlins p http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_BlOSService gt lt p Target gt BIOS Setup 1 1 lt p Target gt lt p PasswordType gt 1 lt p PasswordType gt lt p OldPassword gt lt p 0ldPassword gt lt p NewPassword gt NEW_PASSWORD lt p NewPassword gt lt p ChangePassword_INPUT gt OUTPUT Either of the following may result lt n1 ChangePassword_OUTPUT gt lt n1 Message gt BIOS does not support Change Password feature lt n1 Message gt 212 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 MessagelD gt BIOSO19 lt n1 MessagelD gt lt n1 ReturnValue gt 2 lt n1 ReturnValue gt lt n1 ChangePassword_OUTPUT gt lt n1 ChangePassword_OUTPUT gt lt n1 Message gt The command was successful lt n1 Message gt lt n1 MessagelD gt BIOS001 lt n1 MessagelD gt lt n1 ChangePassword_OUTPUT gt 17 9 2 Create Target Configuration Job Create a configuration job as shown in Section 17 7
338. y the system to the network Any sub folder information should be attached to the ImageName field Otherwise there can be connection issues when trying to locate create the backup file Correct Example ShareName folder1 ImageName subfolder image_name In Correct Example ShareName folder1 subfolder ImageName image_name 18 2 3 Importing Server Profile from CIFS share Restorelmage CIFS Share ShareType is 2 wsman invoke a Restorelmage http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_LCService SystemCreationClassName DCIM_ComputerSystem CreationClassName DCIM_LCService SystemName DCIM ComputerSystem Name DCIM LCService h IPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic k IPAddress SHARE_IPADDRESS k ShareName DRIVESHARE k ShareType 2 k Username SHARE_USERNAME k Password SHARE_PASSWORD k Passphrase PASSPHRASE k ImageName IMAGENAME k ScheduledStartTime TIME_NOW NOTE The ShareName field should only be the folder exposed by the system to the network Any sub folder information should be attached to the ImageName field Otherwise there can be connection issues when trying to locate create the backup file Correct Example ShareName folder1 ImageName subfolder image_name In Correct Example ShareName folder1 subfolder ImageName image_name OUTPUT lt n1 Restorelmage_OUTPUT gt
339. yntax EXAMPLE winrm e http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_NICCapabilities u USER p PASSWORD r https IPADDRESS wsman SkipCNcheck SkipCAcheck encoding utf 8 a basic OUTPUT lt n1 DCIM_NICStatistics gt lt n1 DiscardedPkts gt 0 lt n1 DiscardedPkts gt lt n1 FCCRCErrorCount xsi nil true gt lt n1 FCOELinkFailures xsi nil true gt lt n1 FCOEPktRxCount xsi nil true gt lt n1 FCOEPktTxCount xsi nil true gt lt n1 FCOERxPktDroppedCount xsi nil true gt lt n1 FQDD gt NIC Embedded 1 1 1 lt n1 FQDD gt lt n1 InstancelD gt NIC Embedded 1 1 1 lt n1 InstancelD gt lt n1 LinkStatus gt 3 lt n1 LinkStatus gt lt n1 OSDriverState gt 3 lt n1 OSDriverState gt 151 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux lt n1 PartitionLinkStatus xsi nil true gt lt n1 PartitionOSDriverState xsi nil true gt lt n1 RxBroadcast gt 0 lt n1 RxBroadcast gt lt n1 RxBytes xsi nil true gt lt n1 RxErrorPktAlignmentErrors gt 0 lt n1 RxErrorPktAlignmentErrors gt lt n1 RxErrorPktFCSErrors gt 0 lt n1 RxErrorPktFCSErrors gt lt n1 RxFalseCarrierDetection xsi nil true gt lt n1 RxJabberPkt xsi nil true gt lt n1 RxMutlicast gt 0 lt n1 RxMutlicast gt lt n1 RxPauseXOFFFrames gt 0 lt n1 RxPauseXOFFFrames gt lt n1 RxPauseXONFrames gt 0 lt n1 RxPauseXONFrames gt lt n1 RxRuntPkt xsi nil true gt lt n1 RxUnicast gt 0 lt n1 RxUnicast gt l
340. yntax EXAMPLE wsman enumerate http schemas dmtf org wbem wscim 1 cim schema 2 root dcim DCIM_ControllerView h SIPADDRESS V v c dummy cert P 443 u SUSERNAME p PASSWORD j utf 8 y basic OUTPUT lt n1 DCIM_ControllerView gt lt n1 Bus gt 1 lt n1 Bus gt lt n1 CacheSizelnMB gt 0 lt n1 CacheSizelnMB gt lt n1 CachecadeCapability gt 0 lt n1 CachecadeCapability gt lt n1 ControllerFirmwareVersion gt 20 10 1 0066 lt n1 ControllerFirmwareVersion gt lt n1 Device gt 0 lt n1 Device gt lt n1 DeviceCardDataBusWidth gt 1 lt n1 DeviceCardDataBusWidth gt lt n1 DeviceCardManufacturer gt DELL lt n1 DeviceCardManufacturer gt lt n1 DeviceCardSlotLength gt 4 lt n1 DeviceCardSlotLength gt lt n1 DeviceCardSlotType gt PCI Express x8 lt n1 DeviceCardSlotType gt lt n1 DriverVersion xsi nil true gt The get instance method in lt n1 EncryptionCapability gt 0 lt n1 EncryptionCapability gt P 4 yp i Section 16 8 will use this lt n1 EncryptionMode gt 0 lt n1 EncryptionMode gt lt n1 FQDD gt RAID Slot 1 1 lt n1 FQDD gt lt n1 Function gt 0 lt n1 Function gt lt n1 InstancelD gt RAID Slot 1 1 lt n1 InstancelD gt lt n1 KeylD xsi nil true gt InstancelD as input 170 Dell Lifecycle Controller 2 Web Services Interface Guide for Linux Version 2 1 0 lt n1 LastSystemIinventoryTime gt 20120116145459 000000 000 lt n1 LastSystemInventoryTime gt lt n1 LastUpdateTime gt 2012011614545

Download Pdf Manuals

image

Related Search

Related Contents

Trust Wireless Optical Multimedia Deskset DS-3250 NO  PDF Manual - GLOBAL Export  User Guide SC2-PRESTO • CompactPCI ® Serial CPU Card 4th  Fujitsu SCENICVIEW Series B19-2 CI  IPI, PLC CPU Module CPX928, rel. 8.00, GFK  MEDPC-5800 - Onyx Healthcare  

Copyright © All rights reserved.
Failed to retrieve file