Importing Hosts¶
In the case of private deployments, some users do not have the ability to provide host control capabilities with APIs. It is unable to accurately get host information and manage the host lifecycle like Azure and VMware. To solve the above situation, EOC provides minimal management of offline host assets and supports information updates in a cost effective way.
Prerequisites¶
Before you start, please make sure of the following.
The user account has been assigned the required permissions. If you need to be assigned, please contact Organization Admin.
The offline resource pool (3rd Party) has been created, it has been configured with the instance type and subnet information, and the network has been configured in the network zone. If configuration is required, please contact System Admin.
Procedure¶
Hosts with offline asset types cannot be created directly, so the data can only be imported. Offline hosts can be imported by the following steps.
Log in to the EOC and select Assets > Host in the left navigation bar.
Click .
On the host import page, select Resource Pool and click Next Step.
On the host import page, click Download template first and fill in the host information.
Hostname: Required, enter the hostname. eg: test01.
Public IP: Optional, public IP address, with multiple IPs separated by commas. eg: 192.168.1.1.
Private IP: Required, private IP address, fill in at least one IP address to ensure the bastion is authorized successfully. Multiple IPs are separated by commas. eg: 192.168.1.1.
Status: Optional, the host running status. eg: running.
OS Type: Optional, the type of operating system, including windows and linux. eg: windows.
ProductLine: Required, enter the productline name.
Product: Required, enter the product name.
Application: Required, enter the application name.
InstanceType: Required, enter the instance type. eg: Standard_D2s_v3.
CPU: Optional, enter the CPU size. eg: 2.
Memory: Optional, enter the memory size. eg: 2.
System Disk: Optional, enter the system disk information, including disk type and disk size. eg: standard:500GB.
Protocol: Optional, enter the protocol information, including protocol and port. e.g. RDP:443. Only RDP and ssh protocols are supported now, and the port must be an integer from 0 to 65535.
Click or drag file to this area to upload and click Submit.
Note
The imported host must contain the entire business topology information, otherwise the import will fail.
The imported host instance type will fail to be imported if it does not exist or is not enabled in the corresponding resource pool.
The imported application of the host will fail to be imported if it is a container type application.
If the important information of the host changes, you should import and update it manually in time.
Make sure the resource pool and hostname are unique, otherwise the newly imported information will overwrite the previous data, and cannot be retrieved.
Results¶
After the offline hosts are successfully imported, you can view the details in the host list and do the following operations.
Deleting host instances
For more information, see Managing Hosts。