Managing On-premises IDCs
Scenarios
You can manage both cloud resources and on-premises devices. When you manage your on-premises physical machines, virtual machines, and middleware using Huawei Cloud in a unified manner, such as performing resource statistics and unified resource O&M, you can use the On-premises IDCs function.
Constraints and Limitations
To use the IDC resource management capability, upgrade the version first.
Importing On-premises IDCs
- Log in to COC.
- In the navigation pane, choose Resources > Application and Resource Management.
- Click Multi-cloud Configurations in the upper right corner.
- Click On-premises IDCs.
- Set parameters on the Import On-premises IDC page.
- Import Type: Select Physical machine, Virtual machine, or Middleware device.
- Region: Select a region from the drop-down list.
- File to Be Uploaded: Upload resource information in an Excel file.
- Click Download Template.
Download the table template and enter information.
- Click to Add File.
Select and upload the completed template.
- Click Download Template.
Table 1 Physical machine parameters Parameter
Description
Constraint
Xrn
Unique ID of the physical machine.
(Mandatory) The value can contain a maximum of 128 characters.
Name
Name of the physical machine.
(Mandatory) The value can contain a maximum of 128 characters.
Serial Number
Serial number of the physical machine.
(Mandatory) The value can contain a maximum of 128 characters.
Private IP
Private IP address of the physical machine.
(Mandatory)
Pm Model
Type of the physical machine.
(Mandatory) The value can contain a maximum of 64 characters.
Manufacturer
Vendor of the physical machine.
(Mandatory) The value can contain a maximum of 64 characters.
OS Type
OS (Linux or Windows).
(Mandatory)
UniAgent Id
Unique ID of UniAgent.
(Optional) The value can contain a maximum of 128 characters.
Description
Description of the physical machine.
(Optional) The value can contain a maximum of 256 characters.
Table 2 Virtual machine parameters Parameter
Description
Constraint
Xrn
Unique ID of the virtual machine.
(Mandatory) The value can contain a maximum of 128 characters.
Name
Name of the virtual machine.
(Mandatory) The value can contain a maximum of 128 characters.
Private IP
Private IP address of the virtual machine.
(Mandatory)
OS Type
OS (Linux or Windows).
(Mandatory)
Ecs Id
Unique ID generated by OpenStack.
(Optional) The value can contain a maximum of 128 characters.
UniAgent Id
Unique ID of UniAgent.
(Optional) The value can contain a maximum of 128 characters.
Description
Description of the virtual machine.
(Optional) The value can contain a maximum of 256 characters.
Table 3 Middleware parameters Parameter
Description
Constraint
Xrn
Unique ID of the middleware.
(Mandatory) The value can contain a maximum of 128 characters.
Name
Middleware name.
(Mandatory) The value can contain a maximum of 128 characters.
Middleware Model
Middleware type, for example, MySQL.
(Mandatory) The value can contain a maximum of 64 characters.
Version
Version
(Optional) The value can contain a maximum of 64 characters.
Port
Port
(Optional) The port number ranges from 0 to 65535.
Instance Id List
IDs of virtual machines that the middleware is associated with.
(Optional) Use commas (,) to separate multiple values. A maximum of 50 values are supported.
Description
Description of the middleware.
(Optional) The value can contain a maximum of 256 characters.
Modifying On-premises IDCs
- Log in to COC.
- In the navigation pane, choose Resources > Application and Resource Management.
- In the cloud vendor list on the left, select On-premises IDCs.
- Select the resource type to be modified.
Physical machine is selected by default.
- Click Modify in the Operation column.
- Configure the on-premises IDC information.
Table 4 Physical machine parameters Parameter
Description
Example Value
Name
Name of the physical machine.
Test devices
SN
Serial number of the device.
-
Private IP
Private IP address of the physical machine.
192.168.1.1
Type
Type of the physical machine.
Laptop
UniAgent Id
(Optional) Unique ID of UniAgent.
-
Manufacturer
Vendor of the physical machine.
Huawei
OS
OS from the drop-down list.
Linux
Description
(Optional) Description of the device.
-
Table 5 Virtual machine parameters Parameter
Description
Example Value
Name
Name of the virtual machine.
Test devices
Private IP
Private IP address of the virtual machine.
192.168.1.1
OS
OS from the drop-down list.
Linux
UniAgent Id
(Optional) Unique ID of UniAgent.
-
Ecs Id
(Optional) Unique ID generated by OpenStack.
-
Description
(Optional) Description of the device.
-
Table 6 Middleware parameters Parameter
Description
Example Value
Name
Middleware name. This parameter cannot be changed.
Test devices
Type
Middleware type, for example, MySQL. The parameter cannot be modified.
MySQL
Version
Middleware version.
V1.1
Port
Middleware port number.
8000
Description
(Optional) Description of the device.
-
Instance Id List
(Optional) In the resource list, you can select a maximum of 50 virtual machines.
-
- Click OK.
The on-premises IDC is modified.
Deleting On-premises IDCs
- Log in to COC.
- In the navigation pane, choose Resources > Application and Resource Management.
- In the cloud vendor list on the left, select On-premises IDCs.
- Select the resource type to be deleted.
Physical machine is selected by default.
- Click Delete in the Operation column.
- Click OK.
The on-premises IDC is deleted.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot