374 Implementing the IBM Storwize V7000 with IBM Spectrum Virtualize V8.2.1
Creating Fibre Channel hosts
To create a Fibre Channel host, complete the following steps:
1. Rescan the SAN on Storwize V7000 by using the detectmdisk command (see 
Example 8-14).
Example 8-14   Rescanning the SAN 
IBM_Storwize:ITSO-V7000:superuser>detectmdisk
If the zoning was implemented correctly, any new WWPNs are discovered by the Storwize 
V7000 system after running the detectmdisk command.
2. List the candidate WWPNs and identify the WWPNs belonging to the new host, as shown 
in Example 8-15.
Example 8-15   Available WWPNs
IBM_Storwize:ITSO-V7000:superuser>lsfcportcandidate
fc_WWPN 
2100000E1E09E3E9 
2100000E1E30E5E8 
2100000E1E30E60F 
2100000E1EC2E5A2 
2100000E1E30E597 
2100000E1E30E5EC
3. Run the mkhost command with the required parameters, as shown in Example 8-16.
Example 8-16   Host creation
IBM_Storwize:ITSO-V7000:superuser>mkhost -name ITSO-VMHOST-03 -fcwwpn 
2100000E1E30E597:2100000E1E30E5EC
Host, id [3], successfully created
IBM_Storwize:ITSO-V7000:superuser>
Creating iSCSI hosts
Before you create an iSCSI host in Storwize V7000, the iSCSI qualified name (IQN) address 
of the host must be known. See your host operating system-specific documentation to find the 
IQN of the host. 
Create a host by completing the following steps:
1. Create the iSCSI host by using the mkhost command (see Example 8-17).
Example 8-17   Creating an iSCSI host by using the mkhost command
IBM_Storwize:ITSO-V7000:superuser>mkhost -iscsiname 
iqn.1994-05.com.redhat:e6ff477b58 -name RHEL-Host-06
Host, id [4], successfully created
IBM_Storwize:ITSO-V7000:superuser>
2. The iSCSI host can be verified by using the lshost command, as shown in Example 8-18.
Example 8-18   Verifying the iSCSI host by using the lshost command
IBM_Storwize:ITSO-V7000:superuser>lshost 4
Note: The detectmdisk command does not return any response.