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:
All hosts in the same cluster must be installed with the same operating
system.
All hosts in the same cluster must have the same network configuration.
All hosts in the same cluster must be able to access the same primary
storage.
To provide VM services, a cluster must have a primary storage and an L2 network
attached.
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 a primary storage and an L2 network to a cluster, make sure
that:
Cluster | Primary Storage
A primary storage can be attached to one
or more clusters.
A cluster can have one or more primary storages attached.
The following are primary storages of
the same type that a cluster can have:
A cluster can have one or more LocalStorage
primary storages attached.
A cluster can have one or more NFS primary
storages attached.
A cluster can have one or more Shared Block
primary storages attached.
A cluster can have one Shared Mount Point
primary storages attached.
A cluster can have only one Ceph primary storage
attached.
The following are
combinations of primary storages that a cluster can
have:
A cluster can have both a LocalStorage and an
NFS primary storage attached.
A cluster can have both a LocalStorage and a
Shared Mount Point primary storage attached.
A cluster can have both a LocalStorage and a
Shared Block primary storage attached.
A cluster can have both a Ceph and a Shared
Block primary storage attached.
A cluster can have both a Ceph and more than one
Shared Block primary storage attached.
The following table lists the relationship
between primary storages and a cluster, as shown in
Table 1.
Table 1. Relationship Between Primary Storage and
Cluster
Primary Storage
Cluster
LocalStorage
A cluster can have one or
more LocalStorage attached.
NFS
A cluster can have one or
more NFS primary storages attached.
Shared Block
A cluster can have one or
more Shared Block primary storages
attached.
Share Mount Point
A cluster can have one
Share Mount Point primary storage
attached.
Ceph
A cluster can have only one
Ceph primary storage attached.
LocalStorage + NFS
A cluster can have one
LocalStorage + one NFS attached.
LocalStorage + SMP
A cluster can have one
LocalStorage + one Shared Mount Point
attached.
LocalStorage + Shared
Block
A cluster can have one
LocalStorage + one Shared Block attached.
Ceph + Shared Block
A cluster can have one Ceph + one Shared Block
attached.
A cluster can have one Ceph + multiple Shared
Block 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.
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 2.
Table 2. Relations Between Primary Storage and Backup Storage