Manage a Cloud.ru Advanced hostprovider
This article describes the main actions available in the ADCM interface for managing the Cloud.ru Advanced hostprovider.
Actions with the hostprovider are performed on the Hostproviders page.
Click the icon to open a list of available actions and select an action to perform.
When you select an action, ADCM displays a dialog box to confirm your selection. In this dialog box, you can select the Verbose check box to view additional information about the execution of the action on the Jobs page.
Once an activity is started, ADCM displays its execution progress and result on the Jobs page. From this page you can go to the page of an individual task (by clicking on the task name) to see the internal stages of its execution and analyze errors if they occur.
Actions available for the hostprovider:
-
Create hosts — creates a group of virtual machines.
NOTEDo not use the Create hosts action for products that require FQDNs. Use the Create host → Init action on the Hosts page instead.After selecting an action in the window that opens, set the Show advanced switch to active, fill in the necessary parameters, and click Save. Required parameters are highlighted in red.
Configuration parameters for creating hostsConfiguration parameters for creating hostsThe purpose of the parameters is given below.
Hosts configuration parameters Group Parameter Description Default value —
Count
Number of the created VM
1
—
FQDN
A prefix for names of virtual machines. Every name is formed according to the
<FQDN>-<VM number>.<Domain zone>
template. VM numbers start with1
. If there is only one virtual machine to be created and a numbering suffix is not needed, a host should be created on the Hosts page—
—
Additional users groups
Adds the user to additional Linux groups when the virtual machine is initialized. For example, in an Altlinux image, the user
ansible
should be added to thewheel
group—
instance
Cloud-init timeout
Timeout for cloud-init to finish running tasks, in seconds
300
Assign public ip
Set to
true
if a public IP address needs to be addedfalse
Assign secondary NIC
Set to
true
if it is necessary to connect an additional network interface to a virtual machine in the specified subnetfalse
ADCM control connection address type
Private or public address for connecting to a virtual machine
private
Init script
Initialization script
—
Availability Zone
Cloud.ru Advanced data centers located in different regions of Russia. Currently, Cloud.ru Advanced has three zones:
ru-moscow-1a
,ru-moscow-1b
,ru-moscow-1c
AZ1
Image family
A family of operating systems on the basis of which virtual machines will be created. The newest image from the specified family will be used
CentOS 7.6
Image id
Latest imageID for the provided Image Family
—
Flavor
A VM configuration that defines the characteristics of its resources. The template determines the number and type of CPU, the amount of RAM, and some other VM parameters
s7n.medium.2
Disk type
Disk type. One of:
High I/O
,Ultra-High I/O
High I/O
Disk size, GB
Disk size
50
Additional disks (JSON)
Additional disk parameters in JSON format. For example:
[{ "name": "disk1", "type": "SAS", "size": 20 }, { "name": "disk2", "type": "SSD", "size": 10 }]
—
Security Group IDs
An optional field where you can set default Security Group ID value for all created virtual machines. If the Security Group IDs values are set simultaneously in the hostprovider settings and when creating the VM, then priority is given to the latter
—
Labels
Sets the labels values for the created virtual machine. If the Labels values are set simultaneously in the hostprovider settings and when creating the VM, then priority is given to the latter
—
-
Create users — creates users. When the action runs, the users specified in the metadata group during configuration of the Cloud.ru Advanced hostprovider are created on all virtual machines.