Go to primary content
Oracle® Communications PMAC User's Guide
Release 6.6
E93272
Go To Table Of Contents
Contents

Previous
Previous
Next
Next

Sample delete Vdisk XML file

A sample of the file to delete a Vdisk follows:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<SharedStorageConfig>

  <!--
    A CheckHealthStatus is optional. If one is not provided, PM&C will
    assume the value to be ON. If CheckHealthStatus is ON, PM&C includes 
    storage health status checks in its error checking, and may not 
    proceed with the configuration if problems are found.   
  -->
  <CheckHealthStatus>OFF</CheckHealthStatus>

  <VdiskConfig>

    <Controllers>

      <!--
        Provide the IP addresses (or names that resolve to IP addresses)
        of one or more Controllers here. The configuration in this file
        will be applied to each controller listed.

        At least one <Controller> must be provided, prior to the VDisks section.

        Specify only one Controller per Controller Enclosure. Each
        Controller Enclosure has two Controllers, but they are a
        redundant pair. Applying the same configuration to both would
        attempt to configure the Controller Enclosure twice.
      -->
      <Controller>10.240.6.150</Controller>

      <Vdisks>

         <!--
           The Vdisk element has an optional ConfigAction attribute. The
           attribute can be set to Add or Delete. If no attribute is specified,
           the default action is add. Refer to example_SharedStorageConfig_Vdisks_GlobalSpares.xml
           for additional information regarding Vdisk addition.  Note that
           a Vdisk delete will fail if the volume associated with that Vdisk
           has not been deleted.
         -->
        <Vdisk ConfigAction="Delete">

          <!--
          It is necessary to specify which Vdisk to delete.
          -->
          <Name>Vdisk1</Name>

        </Vdisk>

        <Vdisk ConfigAction="Delete">

          <Name>Vdisk2</Name>

        </Vdisk>

      </Vdisks>

      <!--
        Global Spares also have an optional ConfigAction attribute. The 
        attribute can be set to Add or Delete. If no attribute is specified,
        the default action is add. Refer to example_SharedStorageConfig_Vdisks_GlobalSpares.xml
        for additional information regarding GlobalSpare addition.
      -->
      <GlobalSpares ConfigAction="Delete">
        <Disk>0.10</Disk>
        <Disk>0.11</Disk>
      </GlobalSpares>

    </Controllers>

  </VdiskConfig>

</SharedStorageConfig>