Adding hosts

In ADCM a host means a representation of a real hardware or virtual host. It doesn’t matter what infrastructure the original host uses — a cloud or bare metal.

The process of configuring hosts in ADCM differs depending on the selected hostprovider. This topic explains how to add hosts in ADCM using the Google Compute Engine (GCE) hostprovider. It allows to create virtual machines (VM) in the Google Cloud based on the predefined configuration.

IMPORTANT

Before adding hosts in ADCM using the GCE hostprovider, make sure that this hostprovider is installed in ADCM.

The steps for adding the hosts that are based on the GCE hostprovider are listed below:

  1. Select the HOSTS tab and click Create host.

    google host add
    Adding a host in ADCM
  2. In the opened dialog:

    • Select the created hostprovider in the Hostprovider field. Notice that hostproviders are displayed with the names that you have assigned to them.

    • Enter the host name without domains in the Fully qualified domain name field. It is not recommended to use FQDN for the current product.

    • Click Create.

    google host card
    Description of the host being added
  3. Receive the message on the new host being successfully added and click Cancel, if you do not need more hosts.

    google host success
    The host is successfully added
  4. Return to the HOSTS tab and switch to the host configuring. To do this, click the row that contains the added host and select the Configuration tab in the opened window, or click the icon in the Config column. Both methods open the configuration window.

    google host configure
    Switching to the host configuring
  5. In the opened window, select the Configuration tab, fill in the necessary parameters, and click Save.

    google host configure card
    Configuring the host

    The assignment of parameters is listed in the table below.

    Hosts configuration parameters
    Parameter Description Default value

    Image

    A family of operating systems based on which VMs are created . Possible values are:

    • debian-9

    • centos-7

    • ubuntu-1804-lts

    • ubuntu-minimal-1804-lts

    • windows-2016

    • rhel-7

    centos-7

    Machine type

    A predefined set of the processor cores number and the RAM amount. Possible values are:

    • 1 vCPU, 3.75 GB

    • 2 vCPU, 7.5 GB

    • 4 vCPU, 15 GB

    • 4 vCPU, 26 GB

    • 8 vCPU, 30 GB

    • 8 vCPU, 52 GB

    • 16 vCPU, 60 GB

    • 32 vCPU, 120 GB

    • 64 vCPU, 240 GB

    • 96 vCPU, 360 GB

    2 vCPU, 7.5 GB

    Zone

    An availability zone that should be used. Every zone corresponds to the specific data center . Possible values are:

    • europe-west1-d

    • europe-west1-c

    • us-west1-b

    • us-west1-c

    • us-west1-a

    See more information in the Google Cloud documentation

    europe-west1-d

    Network

    A name of the network in the Google Cloud

    default

    Subnetwork

    A name of the subnet in the Google Cloud. You can view the existing nets or subnets and create new ones in the VPC networks section of the Google Cloud platform

    default

    Shared project

    An identifier of the project that uses a shared Virtual Private Cloud (VPC). If this option is specified, then it is considered that the shared VPC should be used and the service account has all needed permissions for this operation. Becomes available after the Advanced flag being set

     — 

    External IP

    An external IP address. A fixed GCE IP or IP name can be given. Specify none if no external IP is desired

    ephemeral

    Auto delete disk?

    Whether or not to remove disks after the instance destruction

    true

    Disk size, GB

    A size of the boot disk, that is created for VMs (in GB) . Should not be less than 20

    50

    Additional disks (JSON)

    Parameters of additional disks in the JSON format. The disk size should be specified in GB. The autodelete option defines whether or not the disk should be removed after the instance is removed. All parameters are required. Example:

    [
        { "autodelete": true,
          "description": "disk1",
          "type": "ssd",
          "size": 10 },
        { "autodelete": false,
          "description": "disk2",
          "type": "hdd",
          "size": 100 }
    ]

    Each disk is named as <instance name>-additional-disk-<index>

     — 

    ADCM control connection address type

    A type of the IP address that is used to communicate with VMs. Determines whether the connection between ADCM and the cloud should use an external or internal route. Possible values are private and public

    private

    IP forward

    Set to true if the instance can forward IP packets. Useful for gateways

    false

  6. Wait until the job is completed.

    NOTE
    In case of errors, you can find the logs at the JOBS tab.
  7. Check that virtual machines are created in the cloud according to the predefined configuration.

  8. Apply the standard actions Check connection and Install statuschecker to the hosts via ADCM.

Found a mistake? Seleсt text and press Ctrl+Enter to report it