HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

Fabric OS 6.x administrator guide 157
The rename operation does not take effect if the Admin Domain you want to rename is part of the
effective configuration and thus enforced.
4. To end the transaction now, enter ad
--save to save the Admin Domain definition or enter ad
--apply to save the Admin Domain definition and directly apply the definitions to the fabric.
The Admin Domain numbers remain unchanged after the operation.
The following example changes the name of Admin Domain Eng_AD to Eng_AD2.
sw5:AD255:admin> ad --rename Eng_AD Eng_AD2
Deleting an Admin Domain
When you delete an Admin Domain its devices no longer have access to the members of the zones with
which it was associated.
To delete an Admin Domain:
1. Connect to the switch and log in as admin.
2. Delete the zone database under the Admin Domain.
3. Switch to the AD255 context.
ad --select 255
4. Enter the ad --delete command.
ad --delete ad_id
The ad --delete command prompts you for confirmation before triggering the deletion. The
command will succeed, whether the administration domain is in an activated or deactivated state.
5. Enter the ad
--apply command to save the Admin Domain definition and directly apply the
definitions to the fabric.
The following example deletes Admin Domain AD_B3.
sw5: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. Enter the ad --clear command.
This option prompts you for confirmation before triggering the delete of all Admin Domains.
5. Enter the ad
--apply command to save the Admin Domain definition and directly apply the
definitions to the fabric.
sw5: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>