HP StorageWorks Fabric OS 6.1.1 administrator guide (5697-0235, December 2009)

168 Managing administrative domains
6. Issue the ad --apply command to save the Admin Domain definition and directly apply the definition
to the fabric.
The following example deletes Admin Domain AD_B3.
switch:AD255:admin> ad --delete AD_B3
You are about to delete an AD.
This operation will fail if zone configuration exists in the AD
Do you want to delete ’AD_B3’ admin domain (yes, y, no, n): [no] y
sw5:AD255:admin>
Deleting all user-defined Admin Domains
When you clear the Admin Domain configuration, all user-defined Admin Domains are deleted, the explicit
membership list of AD0 is cleared, and all fabric resources (switches, ports, and devices) are returned to
the implicit membership list of AD0.
You cannot clear the Admin Domain configuration if zone configurations exist in any of the user-defined
Admin Domains.
To clear all Admin Domain definitions:
1. Clear all individual AD zone databases, in separate transactions, before proceeding with this
operation.
2. Connect to the switch and log in as admin.
3. Switch to the AD255 context, if you are not already in that context.
ad --select 255
4. Issue the ad --clear command.
This option prompts you for confirmation before triggering the delete of all Admin Domains.
5. Issue the ad
--apply command to save the Admin Domain definition and directly apply the
definitions to the fabric.
switch:AD255:admin> ad --clear
You are about to delete all ADs definitions.
This operations will fail if zone configurations exists in AD1-AD254
Do you want to clear all admin domains (yes, y, no, n): [no] y
sw5:AD255:admin>
Validating an Admin Domain member list
You can validate the device and switch member list and flag all resources that are from AD-unaware
switches. You can list Admin Domain members from AD-unaware switches and non-existing or offline
Admin Domain members.
You can also identify misconfigurations of the Admin Domain. For example, in fabrics with a mix of
AD-capable and non-AD-capable switches, elements in the Admin Domain member list from old
non-AD-capable switches are not enforced.
The Admin Domain validation process is not applicable for AD0, as AD0 implicitly contains all unassigned
and non-AD-capable online switches and their devices.
To list the switches and devices in an AD member list:
1. Connect to the switch and log in as admin.
2. Switch to the AD255 context, if you are not already in that context.
ad --select 255