HP StorageWorks Fabric OS 6.2 administrator guide (5697-0016, May 2009)

Fabric OS 6.2 administrator guide 205
Renaming an Admin Domain
Use this procedure if you want to change the name of an Admin Domain. You can also change
auto-assigned names (ADn).
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
3. Enter the ad
--rename command with the present name and the new name.
ad --rename present_name new_name
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. Enter the appropriate command based on whether you want to save or activate the Admin Domain
definition:
To save the Admin Domain definition, enter ad
--save.
To save the Admin Domain definition and directly apply the definition to the fabric, enter ad
--apply.
The Admin Domain numbers remain unchanged after the operation.
The following example changes the name of Admin Domain Eng_AD to Eng_AD2.
switch: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.
1. Connect to the switch and log in as admin.
2. Switch to the Admin Domain that you want to delete.
ad --select ad_id
3. Clear the zone database under the Admin Domain you want to delete:
a. Remove the effective configuration by entering the cfgDisable command.
b. Remove the defined configuration by entering the cfgClear command.
c. Save the changes to novolatile memory by entering the cfgSave command.
4. Switch to the AD255 context.
ad --select 255
5. Enter the ad
--delete command.
ad --delete ad_id
The ad
--delete command prompts you for confirmation before triggering the deletion. The
command succeeds whether the Admin Domain is in an activated or deactivated state.
6. Enter 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
switch:AD255:admin>