Create a host group

This page describes how to create a host group .

Before you begin

Before you create a host group, you need to obtain the iSCSI qualified name (IQN) for each client you intend to include in the host group.

To obtain the IQN from a Linux iSCSI client, do the following:

  1. Access your Linux machine using SSH.

  2. Find the IQN.

    sudo cat /etc/iscsi/initiatorname.iscsi
  3. Note the value displayed after InitiatorName=. For example, iqn.1994-05.com.redhat:client1.

To obtain the IQN from a Windows iSCSI client:

  1. Open iSCSI Initiatorfrom the Startmenu.

  2. Navigate to the Configurationtab.

  3. Note the value in the Initiator Namefield. For example, iqn.1991-05.com.microsoft:client1.

Create a host group

Use the following instructions to create a host group using the Google Cloud console or Google Cloud CLI.

Console

  1. Go to the NetApp Volumespage in the Google Cloud console.

    Go to NetApp Volumes

  2. Click Host groupsfrom the External connectionsmenu.

  3. Click Create.

  4. In the Host group detailssection, complete the following steps:

    1. Enter a name for the host group in the Host group namefield. The name must be unique for each location.

    2. Optional: enter a description for the host group in the Descriptionfield.

  5. In the Locationsection, select the Regionfrom the drop-down list.

  6. In the Configurationsection, select the Operating systemtype that corresponds to your iSCSI client.

  7. Optional: in the Labelssection, click Add labelto enter relevant labels for reporting and querying purposes.

  8. Click Continue.

  9. In the Host detailssection, enter the iSCSI qualified name (IQN) of the host accessing the volume in the Initiator 1field.

  10. Click Add initiatorto specify additional IQNs.

  11. Click Create.

gcloud

To create a host group:

gcloud  
beta  
netapp  
host-groups  
create  
 HOST_GROUP_NAME 
  
 \ 
  
--location = 
 LOCATION 
  
 \ 
  
--type = 
 ISCSI_INITIATOR 
  
 \ 
  
--hosts = 
 HOSTS 
  
 \ 
  
--os-type = 
 OS_TYPE 
  
 \ 
  
--description = 
 DESCRIPTION 

Replace the following information:

  • HOST_GROUP_NAME : the name for the host group.

  • LOCATION : the Google Cloud location (region) for the host group creation.

  • HOSTS : a comma-separated list of host identifiers (IQNs) to include in the host group.

  • OS_TYPE : the operating system of the hosts. The supported values include LINUX , WINDOWS , and ESXI .

  • DESCRIPTION : Optional: a description for the host group.

What's next

Manage host groups .

Design a Mobile Site
View Site in Mobile | Classic
Share by: