Using Admin Domains; Using Cli Commands In An Ad Context; Executing A Command In A Different Ad Context - HP AA979A - StorageWorks SAN Switch 2/8V Administrator's Manual

Hp storageworks fabric os 5.2.x administrator guide (5697-0014, november 2009)
Hide thumbs Also See for AA979A - StorageWorks SAN Switch 2/8V:
Table of Contents

Advertisement

Using Admin Domains

This section is for users and administrators and describes how you use Admin Domains. If you are a
physical fabric administrator and you want to create, modify, or otherwise manage Admin Domains, see
"Managing admin
The Admin Domain looks like a virtual switch or fabric to a user. However, based on the user role and type
(User_ID), users are presented with only their relevant AD-based views (see
devices and switch ports that are not defined as part of the Admin Domain are not shown and are not
available to that AD user.
Each Admin Domain can also have its own zone configurations (defined and effective) with zones and
aliases under them.

Using CLI commands in an AD context

The CLI command input arguments are validated against the AD member list; they do not work with input
arguments that specify resources that are not members of the current Admin Domain. All commands
present filtered output—showing only the members of the current Admin Domain.
For example, switchShow displays details for the list of AD members present in that switch.
Since all E_Ports and EX_Ports are shared across all Admin Domains, they are shown under all Admin
Domains.
Other ports are displayed without any attribute details (with an explanation that they are not part of the
your Admin Domain).
Table 40
A port or device appears in CLI command output or other management tool outputs if any one of
the conditions listed in is met:
Table 40
Ports and devices in CLI output
For
(Domain, Port)
Device WWN
RASlog and SYSlog output is not filtered based on AD membership.
See the Fabric OS Command Reference Manual for more detailed information about command syntax and
usage and to understand how existing commands behave in an AD context.

Executing a command in a different AD context

The ad --exec option executes a command in a different Admin Domain. The Admin Domain must be
one to which you can access. This option creates a new shell with the current user_id, switches to the
specified Admin Domain, performs the specified command, and exits out of the shell.
To execute a command in a different Admin Domain context
1.
Connect to the switch and log in.
2.
Enter the ad --exec command, specifying the Admin Domain and the command you want to
execute.
ad --exec ad_id "command"
The following example executes the switchShow command in the AD7 context.
sw5:AD255:admin> ad --exec 7 "switchshow"
domains" on page 136.
Condition
The port is specified in the (domain, port) member list of the Admin
Domain.
One or more WWNs specified in the AD member list is attached to the
(domain, port).
The device WWN is specified in the AD WWN member list.
The device WWN is attached to one of the (domain, port) specified in the
AD member list.
Figure 2
and
Figure
Fabric OS 5.2.x administrator guide 143
3). Any

Advertisement

Table of Contents
loading

Table of Contents