Appendix D Basic Setting Examples
D.2 Settings for Various Host Accesses
•
Specifying a port and performing LUN mapping
927))
(1) Disable the host affinity mode of the host interface port.
(2) Set the parameter that controls the host interface port.
(3) Set the relationship between the host interface ports, the volumes, and the LUNs.
D.2.1
Specifying a Host and Performing Mapping (Host Affinity Mode)
An example of setting up host access is shown below. For more details, refer to
Management" (page
The example below is for a Fibre Channel interface.
Procedure
1
Enable the host affinity mode of host interface port 001.
CLI> set fc-parameters -port 001 -host-affinity enable
2
Set the connection of the host interface port 001 to fabric.
CLI> set fc-parameters -port 001 -connect fabric
3
Register a host WWN named HBA5.
CLI> create host-wwn-name -wwn 40000000abc80e03 -name HBA5
4
Map a volume with a LUN and create a LUN group named LUN002.
CLI> create lun-group -name LUN002 -volume-name v2 -lun 0
In this example, volume v2 and LUN 0 are mapped.
5
Set the relationship between host interface port 001, LUN group LUN002, and host identifier
HBA5.
CLI> set host-affinity -port 001 -lg-name LUN002 -host-name HBA5
218).
926
ETERNUS CLI User's Guide
Copyright 2014 FUJITSU LIMITED
("D.2.3 Specifying a Port and Setting LUN Mapping" (page
"3.5 Host Interface
End of procedure
P2X0-1210-05ENZ0