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

204 Managing administrative domains
The following example deactivates Admin Domain AD_B4.
switch: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
switch:AD255:admin>
Adding members to an existing Admin DomainConnect to an AD-capable switch
and log in as admin.
1. Switch to the AD255 context, if you are not already in that context.
ad --select 255
2. 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,index
members, and switch_list is a list of switch WWNs or domain IDs.
3. 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 following example adds two switch ports, designated by domain,index, to AD1.
switch:AD255:admin> ad --add AD1 -d "100,5; 4,1"
Removing members from an Admin Domain
NOTE: If you remove the last member of an Admin Domain, that Admin Domain is automatically deleted.
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,index
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.
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 following example removes port 5 of domain 100 and port 3 of domain 1 from AD1.
switch:AD255:admin> ad --remove 1 –d "100,5; 1,3"
The following example removes switch 100 from the membership list of AD4.
switch:AD255:admin> ad --remove 4 –s "100"