Chapter 8. Hosts 381
8.5.4  Host cluster operations 
This section describes the following host cluster operations that can be performed by using 
the CLI:
/SM590000Creating a host cluster (mkhostcluster)
/SM590000Adding a member to the host cluster (addhostclustermember)
/SM590000Listing a host cluster (lshostcluster)
/SM590000Listing a host cluster member (lshostclustermember)
/SM590000Assigning a volume to the host cluster (mkvolumehostclustermap)
/SM590000Listing a host cluster for mapped volumes (lshostclustervolumemap)
/SM590000Unmapping a volume from the host cluster (rmvolumehostclustermap)
/SM590000Removing a host cluster member (rmhostclustermember)
/SM590000Removing the host cluster (rmhostcluster)
Creating a host cluster
To create a host cluster, the command mkhostcluster can be used, as shown in 
Example 8-39.
Example 8-39   Creating a host cluster by using mkhostcluster
IBM_Storwize:ITSO-V7000:superuser>mkhostcluster -name ITSO-ESX-Cluster-01
Host cluster, id [0], successfully created.
IBM_Storwize:ITSO-V7000:superuser>
Adding a host to a host cluster
After creating a host cluster, a host or a list of hosts can be added by using the 
addhostclustermember command, as shown in Example 8-40.
Example 8-40   Adding a host or hosts to a host cluster
IBM_Storwize:ITSO-V7000:superuser>addhostclustermember -host ITSO-VMHOST-01:ITSO-VMHOST-02 
ITSO-ESX-Cluster-01
IBM_Storwize:ITSO-V7000:superuser>
In Example 8-40, the hosts ITSO-VMHOST-01 and ITSO-VMHOST-02 were added as part of host 
cluster ITSO-ESX-Cluster-01.
Listing the host cluster member
To list the host members that are part of a particular host cluster, the lshostclustermember 
command can be used, as shown in Example 8-41.
Example 8-41   Listing host cluster members with the lshostclustermember command
IBM_Storwize:ITSO-V7000:superuser>lshostclustermember ITSO-ESX-Cluster-01
host_id host_name      status  type    site_id site_name 
0       ITSO-VMHOST-01 offline generic                   
4       ITSO-VMHOST-02 offline generic                   
IBM_Storwize:ITSO-V7000:superuser>
Note: While creating the host cluster, if you want it to inherit the volumes mapped to a 
particular host, use the -seedfromhost flag option. Any volume mapping that does not 
need to be shared can be kept private by using -ignoreseedvolume flag option.