Appendix D Basic Setting Examples
D.2 Settings for Various Host Accesses
ETERNUS CLI User’s Guide
Copyright 2015 FUJITSU LIMITED
P2X0-1030-09ENZ0
744
D.2.2
Specifying a Port Group and Performing LUN Mapping
An example of setting up host access is shown below. For more details, refer to
The example shown below is the case for the Fibre Channel interface.
Procedure
1
Set the connection of host interface ports 000 and 100 to fabric.
The following example shows the case for the Fibre Channel interface.
2
Group host interface ports 000 and 100 together, and create a port group named PG0001.
3
Map a volume with a LUN, and create an affinity group named AG002.
In this example, volume v2 and LUN 20 are mapped.
4
Set the relationship between port group PG0001, affinity group AG002, and host response
number 0.
End of procedure
When
is performed for mapping (specifying the port group), the results of executing the following
commands vary.
•
set lun-group, delete lun-group
•
set affinity-group, delete affinity-group
The "set lun-group" and "delete lun-group" commands change the LUN mapping that is set by specifying a
port group in response to the changed setting of the LUN group.
Example
CLI> set fc-parameters -port 000,100 -connect fabric
CLI> create port-group -name PG0001 -port 000,100
CLI> create affinity-group -name AG002 -volume-name v2 -lun 20
CLI> set host-affinity -port-group-name PG0001 -ag-name AG002 -host-response-number 0
CLI> set lun-group -lg-name AG002 -volume-name v0 -lun 0
CLI> show mapping
CM#0 CA#0 Port#0 (Host Affinity Mode Disable)
LUN Volume Status Size(MB)
No. Name
0 8 v0 Available 512
20 10 v2 Available 512
CM#0 CA#0 Port#1 (Host Affinity Mode Disable)
CM#1 CA#0 Port#0 (Host Affinity Mode Disable)
LUN Volume Status Size(MB)
No. Name
0 8 v0 Available 512
20 10 v2 Available 512
CM#1 CA#0 Port#1 (Host Affinity Mode Enable)
Summary of Contents for Eternus DX410 S2
Page 2: ...This page is intentionally left blank ...
Page 756: ......