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

156 Managing administrative domains
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. 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.
sw5:AD255:admin> ad --add AD1 -d "100,5; 4,1"
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 -d 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.
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 following example removes port 5 of domain 100 and port 3 of domain 1 from AD1.
sw5:AD255:admin> ad --remove 1 –d "100,5; 1,3"
The following example removes switch 100 from the membership list of AD4.
sw5:AD255:admin> ad --remove 4 –s "100"
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).
To rename 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 --rename command with the present name and the new name.
ad --rename present_name new_name