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

Fabric OS 6.x administrator guide 155
where username is the name of the account and home_AD is the home Admin Domain.
The following example creates new user account pf_admin1 with an admin role, access to all Admin
Domains (AD0 through AD255), and home Admin Domain set to 255. This user account is now a
physical fabric administrator.
sw5:admin> userconfig --add pf_admin1 -r admin -h 255 -a "0-255"
Activating and deactivating Admin Domains
An Admin Domain can be in either an active or inactive state. When you create an Admin Domain, it is
automatically in the active state.
If you deactivate an Admin Domain, the members assigned to the Admin Domain can no longer access
their hosts or storage unless those members are part of another Admin Domain.
You cannot log in to an Admin Domain that has been deactivated. You must activate an Admin Domain
before you can log in to it.
To activate 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 --activate option. The activate option prompts for confirmation.
On default, after the Admin Domain is activated, the devices specified under that AD are not able to
see each other until they are zoned together.
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 activates Admin Domain AD_B5.
sw5:AD255:admin> ad --activate AD_B5
You are about to activate a new admin domain.
Do you want to activate ’AD_B5’ admin domain (yes, y, no, n): [no]: y
sw5:AD255:admin>
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. 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.
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>