Overview

A cluster is a logical group of hosts (compute nodes). In a real data center, a cluster usually maps to a rack.

When you organize a cluster, note that:
  1. All hosts in the same cluster must be installed with the same operating system.
  2. All hosts in the same cluster must have the same network configuration.
  3. All hosts in the same cluster must be able to access the same primary storage.
  4. To provide VM services, a cluster must have a primary storage and an L2 network attached.
  5. The size of a cluster, which is the maximum number of hosts that each cluster can contain, is not enforced.

The relationship between a typical cluster and its associated resources is as follows.

Cluster | Zone

Operations on multiple clusters are supported. That is, you can create more than one cluster in a zone, and allocate newly created hosts to different clusters as needed.

Cluster | Primary Storage and L2 Network

Primary storage and L2 network can be attached to or detached from a cluster. The following diagram shows the relationship between cluster and primary storage, L2 network, as shown in Figure 1.
Figure 1. Relationship Between Cluster and Primary Storage, L2 Network


Note:
When you attach primary storage and L2 network to cluster, note that:
  1. Cluster | Primary Storage
    • A primary storage can be attached to one or more clusters.
    • A cluster can have one or more primary storages attached.
    • When you attach multiple LocalStorage primary storages to a cluster, partition the corresponding URLs on the hosts before you add hosts and primary storages, and make sure that each LocalStorage is deployed on an exclusive logical volume or physical disk.
    • A primary storage can be accessed by all hosts in the cluster to which the primary storage belongs.
    • If a primary storage cannot be accessed by hosts in the cluster due to network typology changes in the data center, you can detach the primary storage from the cluster.
  2. Cluster | L2 Network
    • A cluster can have one or more L2 networks attached. Also, an L2 network can be attached to one or more clusters.
    • A cluster can have a VXLAN pool attached. The VNIs in the VXLAN pool can be used to create different VxlanNetworks.
    • One NIC can have only one NoVlanNetwork created.
    • For VlanNetwork, different VLAN IDs represent different L2 networks.
    • If hosts in a cluster no longer exist in the layer 2 broadcast domain of an L2 network due to network typology changes in the data center, you can detach the L2 network from the cluster.

Cluster | Backup Storage

No direct dependency exists between a cluster and a backup storage. A backup storage can provide services for multiple clusters.
Note:
  • The primary storage and backup storage attached to the same cluster are associated with each other.
  • A Ceph primary storage can work with backup storages of the ImageStore type.
  • The following table lists the relationship between primary storages (PS) and backup storages (BS), as shown in Table 1.
    Table 1. Relations Between Primary Storage and Backup Storage
    PS/BS ImageStore SFTP Ceph
    LocalStorage ×
    NFS ×
    Shared Mount Point ×
    Ceph ×
    Shared Block × ×

Inventory

Properties

Name Description Optional Optional Value Starting Version
uuid The UUID. For more information, see Resource Property. 0.6
name The name. For more information, see Resource Property. 0.6
description The description. For more information, see Resource Property. Yes 0.6
hypervisorType The hypervisor type. For more information, see Cluster Hypervisor Type.
  • KVM
0.6
state The state. For more information, see Resource Property.
  • Enabled
  • Disabled
0.6
zoneUuid The UUID of the zone to which the cluster belongs. For more information, see Zone. 0.6
createDate The creation date. For more information, see Resource Property. 0.6
lastOpDate The last operation date. For more information, see Resource Property. 0.6
type The reserved field. 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

Sample

{     "inventories":          {             "createDate": "Oct 30, 2017 1:50:00 PM",             "description": "",             "hypervisorType": "KVM",             "lastOpDate": "Oct 30, 2017 1:50:00 PM",             "name": "Cluster-1",             "state": "Enabled",             "type": "zstack",             "uuid": "5c3699713b1c43219de14df7545f24d0",             "zoneUuid": "e59b71e99d8a4ea1952b578388b8cd1d"         } }

Hypervisor Type

Hypervisor type indicates what kind of hypervisor (operating system) is installed on hosts in a cluster.

State

A cluster has the following two states: Enabled and Disabled, which is similar to Zone. When you change the state of a cluster, the change operation will be cascaded to all hosts in the cluster. For example, if you disable a cluster, you will also disable all hosts in the cluster.








Back to Top

Download

Already filled the basic info?Click here.

Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

An email with a verification code will be sent to you. Make sure the address you provided is valid and correct.

Download

Not filled the basic info yet? Click here.

Invalid email address or mobile number.

Email Us

contact@zstack.io
ZStack Training and Certification
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

Email Us

contact@zstack.io
Request Trial
Enter at least 2 characters.
Invalid mobile number.
Enter at least 4 characters.
Invalid email address.
Wrong code. Try again. Send Code Resend Code (60s)

Email Us

contact@zstack.io

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder. After receiving the email, click the URL to download the documentation.

The download link is sent to your email address.

If you don't see it, check your spam folder, subscription folder, or AD folder.
Or click on the URL below. (For Internet Explorer, right-click the URL and save it.)

Thank you for using ZStack products and services.

Submit successfully.

We'll connect soon.

Thank you for using ZStack products and services.