Previous Topic: Storage Provision SCSI

Next Topic: Storage Rescan Host HBA

Storage Remove Datastore

Removes an existing datastore.

Component

vc

vCenter Name

Specifies the fully qualified domain name (FQDN) of the VMware vCenter server.

Example: “vpm-vc01.domain.com”

ESX Name

Specifies the fully qualified domain name (FQDN) of the ESX Server.

Example: “esxhost.com”

Datastore Index

(Optional) Specifies the name of the datastore index.

Example: “datastore-0001”

To obtain the datastore index:

  1. Navigate to Start -> Programs -> CA -> CA Server Automation - > CA Server Automation Command Prompt.
  2. Enter the following command:
    C:\CA\productname\bin>caaipaomwsclient /enumerate=CA_Datastore /queryFilter="Select * from CA_Datastore where ElementName='datastore'" /user=user /password=password
    

    Replace datastore with the name of the datastore, replace user and password with credentials for a CA Server Automation authorized user.

  3. Use the value returned by 'Index' as the datastore index.