Este conteúdo não está disponível no idioma selecionado.
Appendix A. The virt group profile
The
/var/lib/glusterd/groups/virt file defines a configuration that is used for all volumes in the virt group. Defining a group configuration and adding volumes to a group helps save time and effort when you want to update the settings on all volumes in the group.
The default contents of the
/var/lib/glusterd/groups/virt file are as follows:
The majority of these settings prevent caching in the client stack.
The
cluster.eager-lock option optimizes write performance by using synchronous replication when there is a single writer to a file.
The
cluster.data-self-heal option specifies how self-heal operations are performed.
The
features.shard and features.shard-block-size options enable sharding behavior in the volume and set a block size appropriate for storing disk images.
The
cluster.quorum-type=auto and cluster.server-quorum-type options enable client and server-side quorum to help ensure consistency and to prevent split-brain scenarios.
Note
The default settings of
cluster.quorum-type=auto and cluster.server-quorum-type=server provide consistency at the cost of fault tolerance. Using these settings, if server-side quorum is not met, virtual machines pause because volumes are not available. If client-side quorum is not met, virtual machines pause even though a read-only replica pair is available. Manual intervention is then required to make the VMs resume the operations after the quorum is restored.
If fault tolerance is preferred over consistency, disable server-side and client-side quorum with the following commands:
gluster volume reset volname server-quorum-type gluster volume reset volname quorum-type
# gluster volume reset volname server-quorum-type
# gluster volume reset volname quorum-type
See Supported Volume Options in the Red Hat Gluster Storage 3.4 Administration Guide for more information about any of these settings.