Appendix D Basic Setting ExamplesD.2 Settings for Various Host AccessesETERNUS CLI User’s GuideCopyright 2014 FUJITSU LIMITED P2X0-1210-05ENZ0927D.2.2 Specifying a Port Group and Performing LUN MappingAn example of setting up host access is shown below. For more details, refer to "3.5 Host InterfaceManagement" (page 218).The example shown below is the case for the Fibre Channel interface.Procedure1 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 a LUN group named LUN002.In this example, volume v2 and LUN 0 are mapped.4 Set the relationship between port group PG0001, LUN group LUN002, and host responsenumber 0.End of procedureD.2.3 Specifying a Port and Setting LUN MappingAn example of creating host access is shown below. For more details, refer to "3.5 Host InterfaceManagement" (page 218).The example shown below is the case for the Fibre Channel interface.Procedure1 Disable the host affinity mode of host interface ports 000 and 001.2 Set the connection topology of host interface ports 000 and 001 to fabric.CLI> set fc-parameters -port 000,100 -connect fabricCLI> create port-group -name PG0001 -port 000,100CLI> create lun-group -name LUN002 -volume-name v2 -lun 0CLI> set host-affinity -port-group-name PG0001 -lg-name LUN002 -host-response-number 0CLI> set fc-parameters -port 000,001 -host-affinity disableCLI> set fc-parameters -port 000,001 -connect fabric