Document navigation

Management Node

Overview

Management nodes are used to set up ZStack Cloud services, such as hosts and VM instances. You can set up a single management node environment or multiple management node environment as needed. You can also log in to a management node through the UI server to manage your cloud in a visualized interface.

Inventory

Management Node Inventory

Name Description Optional Valid Value Starting Version
uuid The UUID. For more information, see Resource Property. 0.6
hostName The hostname. 0.6
joinDate The joining date. 0.6
heartBeat The heartbeat time.
groupBy Groups rows into subgroups based on values of columns or expressions. This field is equivalent to the Group By clause in MySQL, such as groupBy=type. Yes 1.9
systemTags The system tags. For more information, see CreateSystemTag. Yes 0.6
userTags The user tags. For more information, see CreateUserTag. Yes 0.6

Operations

QueryManagementNode

Queries a management node. For example,
QueryManagementNode hostName=10.0.166.75

Primitive Fields of Query

See Management Node Inventory.

GetVersion

Obtains the current version. Sample response:
{
    "success": true,
    "version": "2.2.2"
}

Parameters

Name Description Optional Valid Value Starting Version
userTags The user tags. For more information, see CreateUserTag. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. Yes 0.6
timeout Yes

GetCurrentTime

Obtains the current time. Sample response:
{
    "currentTime": {
        "MillionSeconds": 1510548249056,
        "Seconds": 1510548249
    },
    "success": true
}

Parameters

Name Description Optional Valid Value St rating Version
userTags The user tags. For more information, see CreateUserTag. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. Yes 0.6
timeout Yes

GetPlatformTimeZone

Retrieves the current time zone information of the management node. for example,
{
  "timezone": "Asia/Shanghai",
  "offset": "+8:00"
}

Parameters

Name Description Optional Valid Value Starting Version
userTags The user tags. For more information, see CreateUserTag. Yes 4.1.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 4.1.0
timeout Yes

IsReadyToGo

Checks whether a management node can work properly. For example,
IsReadyToGo managementNodeId=a1b641b3cd084166a5cc79c8c5e0174c

Parameters

Name Description Optional Valid Value Starting Version
managementNodeId Yes 0.6
userTags The user tags. For more information, see CreateUserTag. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. Yes 0.6
timeout Yes

GetManagementNodeOS

Retrieves the information of the management node OS. For example,
GetManagementNodeOS

Parameters

Name Description Optional Valid Value Starting Version
userTags The user tags. For more information, see CreateUserTag. Yes 4.1.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 4.1.0
timeout Yes

GetManagementNodeArch

Retrieves the CPU architecture of the management node. For example,
GetManagementNodeArch

Parameters

Name Description Optional Valid Value Starting Version
userTags The user tags. For more information, see CreateUserTag. Yes 4.1.0
systemTags The system tags. For more information, see CreateSystemTag. Yes 4.1.0
timeout Yes

Tags

You can create a user tag on a management node by using CreateUserTag resourceType=ManagementNodeVO. For example,
CreateUserTag resourceType=ManagementNodeVO tag=Test1 \
resourceUuid=3fd25b9e5b87423bba5612a45c1f5ecc
CLI Command Manual | 5.5.30 | ZStack Cloud · ZCF | ZStack Resource Center