GlusterFS is a scalable, distributed file system that aggregates disk storage resources from multiple servers into a single global namespace. GlusterFS features high expandability, high availability, and super-high performance, and it avoids single point of failures because it does not have any metadata servers. ARM host do not support GlusterFS.
GlusterFS is applicable to school scenarios that require high system performance.
Add a vSwitch
For a cluster to use GlusterFS storage, you must add a storage vSwitch with the same name on each host that has GlusterFS configured. For information about vSwitches, see "Manage virtual switches for a host."
|
|
Teaching storage initialization
This task allows you to format an idle disk on a host and mount it to the local storage path /vms/
Create a GlusterFS volume
| To create a volume of the custom or stateful failover type, follow these restrictions and guidelines:
|
From the left navigation pane, select Data Center > Teaching Storage > GlusterFS Settings.
Click Create.
Configure the parameters as required, and then click OK.
Type: Select a storage type. If shared storage is created during the initialization of the teaching storage, you cannot create GlusterFS storage of the Teaching Image Storage type. If you select Teaching Image Storage, the mount point is /vms/
Host Pool: Select a host pool.
Storage Cluster: Select a cluster.
Host: Select a host for storing course images. The number of hosts must be a multiple of the number of backups in the topology type.
vSwitch: Select the vSwitch to which the host attached. The selected virtual switch must be configured with an IP address. For example, when the storage network and external network use the same physical interface, they will use different subnets on the same virtual switch vs_storage. However, this virtual switch does not have an IP address, and you cannot select this virtual switch when creating new GlusterFS storage.
Topology Type: Select the number of GlusterFS storage backups. You can select 2 to 10 backups depending on the cluster scale and backup requirements.
GFS Mount Point: Directory where the GFS storage will be mounted.
Storage Block Path: Directory where the GlusterFS physical storage block resides.
|
|
Perform this task to add storage backups or add hosts that acts as storage nodes to expand a GlusterFS volume.
From the left navigation pane, select Data Center > Teaching Storage > GlusterFS Settings.
Click Expand in the Actions column for a GlusterFS volume.
In the dialog box that opens, select whether to change the topology type. If you select to not change the topology type, make sure the number of available hosts in the cluster is a multiple of the number of backups in the topology type.
Select target hosts, and then click OK.
This task might result in severe or undesirable impact. Back up the data in the desired GlusterFS volume.
As a best practice, use two replicas.
For better storage performance, do not use the full replica policy when over three hosts exist.
From the left navigation pane, select Data Center > Teaching Storage > GlusterFS Settings.
Click Shrink in the Actions column for a GlusterFS volume.
In the dialog box that opens, select a host, select whether to delete the storage pool, select I am fully aware of the impacts of this operation, enter the password of the current administrator, and then click OK.
From the left navigation pane, select Data Center > Teaching Storage > GlusterFS Settings.
Click Delete in the Actions column for a GlusterFS volume.
In the dialog box that opens, click OK.
From the left navigation pane, select Data Center > Teaching Storage > GlusterFS Settings. On the Overview tab, you can view the topology, storage node states, and partition states.
From the left navigation pane, select Data Center > Teaching Storage > GlusterFS Settings.
Click the Node Management tab.
Click Repair Node in the Actions column for a node that has mounting or partition connection errors.
| If the GlusterFS storage pool is inactive, and cannot be manually started, perform the following steps to resolve the issue:
|