You can use the management GUI or the CLI to add mappings to a host
cluster.
When you change volume mappings in a host cluster, the changes apply to the shared
mappings only. For example, when a volume mapping is added to the host cluster, it becomes a shared
mapping among all the hosts within the cluster. When a mapping is removed, the volume is removed
from the shared mappings for the host cluster. However, you can select specific hosts that retain
access to that volume as a private mapping
Using the management GUI
To add a mapping to a host cluster with the management GUI,
complete these steps:
- In the management GUI, select .
- On the Host Cluster page, select a host cluster and select .
- On the Modify Mapping page, click Add Volume
Mappings.
- On the Add Volume Mappings page, select the I/O group to filter the
volumes that are displayed by the caching I/O group.
- Select a volume from the list of volumes that are displayed.
- Assign the SCSI LUN IDs for the selected volume by selecting one of these options:
- System Assign
- The system assigns the next available SCSI LUN ID to the selected volume automatically.
- Self Assign
- You can assign SCSI LUN IDs to the volumes manually. If you select an ID that is already in use,
the volume cannot be mapped to the host cluster. You must check the next available SCSI LUN ID for
each host in the host cluster.
- Click Next.
- If you selected to assign SCSI LUN IDs manually, enter the SCSI LUN ID for
each volume that you are adding to the host cluster. If a volume is already mapped to one of the
hosts in the host cluster as a private mapping, and no other hosts in the host cluster use that SCSI
ID for that mapping, the SCSI ID cannot be changed.
- Click Next.
- On the Summary page, verify the changes and select Map
Volumes.
Using the command-line interface
To add a volume mapping to a host cluster with
the SCSI LUN ID assigned automatically, enter the following
command:
mkvolumehostclustermap -hostcluster host_cluster_id_or_name volume_name_or_id
where
host_cluster_id_or_name is the ID or name of the host cluster and
volume_name_or_id is the name or ID of the volume that is being mapped to the
host cluster.
To add a volume mapping to a specific SCSI LUN
ID, enter the following
command:
mkvolumehostclustermap -scsi scsi_num_arg -hostcluster host_cluster_id_or_name volume_name_or_id
where
scsi_num_arg is the SCSI LUN ID that you want to assign to the volume mapping,
host_cluster_id_or_name is the ID or name of the host cluster, and
volume_name_or_id is the name or ID of the volume that is being mapped to the
host cluster.