
164 Managing administrative domains
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.
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 Admin Domain numbers remain unchanged after the operation.
The following example changes the name of Admin Domain Eng_AD to 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.
How to delete an Admin Domain
1.
Connect to the switch and log in as admin.
2.
Delete the zone database under the Admin Domain.
3.
Switch to the AD255 context.
ad --select 255
4.
Enter the
ad --delete
command.
ad --delete
ad_id
The
ad --delete
command prompts you for confirmation before triggering the deletion. The
command will succeed, whether the administration domain is in an activated or deactivated state.
5.
Enter the
ad --apply
command to save the Admin Domain definition and directly apply the
definitions to the fabric.
The following example deletes Admin Domain AD_B3.
Deleting all user-defined Admin Domains
When you clear the Admin Domain configuration, all user-defined Admin Domains are deleted, the explicit
membership list of AD0 is cleared, and all fabric resources (switches, ports, and devices) are returned to
the implicit membership list of AD0.
You cannot clear the Admin Domain configuration if zone configurations exist in any of the user-defined
Admin Domains.
How to clear all Admin Domain definitions
1.
Clear all individual AD zone databases, in separate transactions, before proceeding with this
operation.
2.
Connect to the switch and log in as admin.
3.
Switch to the AD255 context, if you are not already in that context.
ad --select 255
4.
Enter the
ad --clear
command.
This option prompts you for confirmation before triggering the delete of all Admin Domains.
5.
Enter the
ad --apply
command to save the Admin Domain definition and directly apply the
definitions to the fabric.
sw5:AD255:admin>
ad --rename Eng_AD Eng_AD2
sw5: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
sw5:AD255:admin>
sw5:AD255:admin>
ad --clear
You are about to delete all ADs definitions.
This operations will fail if zone configurations exists in AD1-AD254
Do you want to clear all admin domains (yes, y, no, n): [no]
y
sw5:AD255:admin>
Summary of Contents for AA979A - StorageWorks SAN Switch 2/8V
Page 1: ...HP StorageWorks Fabric OS 5 3 x administrator guide Part number 5697 0244 November 2009 ...
Page 16: ...16 ...
Page 20: ...18 ...
Page 24: ...24 Introducing Fabric OS CLI procedures ...
Page 116: ...118 Maintaining configurations ...
Page 170: ...172 Managing administrative domains ...
Page 200: ...202 Installing and maintaining firmware ...
Page 222: ...224 Routing traffic ...
Page 274: ...286 Administering FICON fabrics ...
Page 294: ...306 Working with diagnostic features ...
Page 350: ...362 Administering Extended Fabrics ...
Page 438: ...440 Configuring the PID format ...
Page 444: ...446 Configuring McData Open Fabric mode ...
Page 450: ...452 Understanding legacy password behaviour ...