Dell Lifecycle Controller 1.2 for Linux Guide de l'utilisateur Page 198

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 253
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 197
Dell™ Lifecycle Controller 2 Web Services Interface Guide for Linux Version: 2.1.0
198
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: InstanceID = 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 $IPADDRESS -V -v -c dummy.cert -P 443
-u $USERNAME -p $PASSWORD -J DeleteVirtualDisk.xml -j utf-8 -y basic
The input file DeleteVirtualDisk.xml is shown below:
<p:DeleteVirtualDisk_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_RAIDService">
<p:Target>DISK.Virtual.0:RAID.Integrated.1-1</p:Target>
</p:DeleteVirtualDisk_INPUT>
OUTPUT:
<n1:DeleteVirtualDisk_OUTPUT>
<n1:RebootRequired>Yes</n1:RebootRequired>
<n1:ReturnValue>0</n1:ReturnValue>
</n1:DeleteVirtualDisk_OUTPUT>
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
Vue de la page 197
1 2 ... 193 194 195 196 197 198 199 200 201 202 203 ... 252 253

Commentaires sur ces manuels

Pas de commentaire