HP StorageWorks Fabric OS 5.2.x administrator guide (5697-0014, November 2009)
140 Managing administrative domains
To deactivate an Admin Domain
1. Connect to the switch and log in as admin.
2. Disable the zone configuration under the Admin Domain you want to deactivate.
3. Switch to the AD255 context, if you are not already in that context.
ad --select 255
4. Enter the ad --deactivate option.
The ad --deactivate option prompts for confirmation.
5.
Optional:
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.
All active user sessions associated with the Admin Domain are terminated. The deactivate option does
not disable ports.
The following example deactivates Admin Domain AD_B4.
Adding and removing admin domain members
Use the following procedures to add or remove members of an Admin Domain.
NOTE: If you remove the last member of an Admin Domain, that Admin Domain is automatically deleted.
To add members to an existing Admin Domain
1. Connect to an AD-aware 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 --add command using the -d option to specify device and switch port members and the
-s option to specify switch members:
ad --add ad_id -d "dev_list" -s "switch_list"
where
ad_id
is the Admin Domain name or number,
dev_list
is a list of device WWNs or (domain,
port) members, and
switch_list
is a list of switch WWNs or domain IDs.
4.
Optional:
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 following example adds two switch ports, designated by (domain, port), to Admin Domain AD1.
To remove members from an Admin Domain
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 --remove command using the -d option to specify device and switch port members
and the -s option to specify switch members:
ad --remove ad_id -d "dev_list" -s "switch_list"
where
ad_id
is the Admin Domain name or number,
dev_list
is a list of device WWNs or (domain,
port) members, and
switch_list
is a list of switch WWNs or domain IDs.
Removing the last member element of an Admin Domain deletes the Admin Domain.
sw5:AD255:admin> ad --deactivate AD_B4
You are about to deactivate an AD.
This operation will fail if an effective zone configuration exists in the AD
Do you want to deactivate ’AD_B5’ admin domain (yes, y, no, n): [no] y
sw5:AD255:admin>
sw5:AD255:admin> ad --add AD1 -d "100,5; 4,1"