Appendix A. The virt group profile
/var/lib/glusterd/groups/virtfile defines a configuration that is used for all volumes in the
virtgroup. 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.
/var/lib/glusterd/groups/virtfile are as follows:
performance.quick-read=off performance.read-ahead=off performance.io-cache=off performance.low-prio-threads=32 network.remote-dio=enable cluster.eager-lock=enable cluster.quorum-type=auto cluster.server-quorum-type=server cluster.data-self-heal-algorithm=full cluster.locking-scheme=granular cluster.shd-max-threads=8 cluster.shd-wait-qlength=10000 features.shard=on user.cifs=off cluster.choose-local=off client.event-threads=4 server.event-threads=4 performance.client-io-threads=on
cluster.eager-lockoption optimizes write performance by using synchronous replication when there is a single writer to a file.
cluster.data-self-healoption specifies how self-heal operations are performed.
features.shard-block-sizeoptions enable sharding behavior in the volume and set a block size appropriate for storing disk images.
cluster.server-quorum-typeoptions enable client and server-side quorum to help ensure consistency and to prevent split-brain scenarios.
cluster.server-quorum-type=serverprovide 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.
# gluster volume reset volname server-quorum-type # gluster volume reset volname quorum-type