Enum gluster::GlusterOption [] [src]

pub enum GlusterOption {
    AuthAllow(String),
    AuthReject(String),
    ClientGraceTimeout(i64),
    ClusterSelfHealWindowSize(u16),
    ClientSsl(Toggle),
    ClusterDataSelfHealAlgorithm(SelfHealAlgorithm),
    ClusterMinFreeDisk(u8),
    ClusterStripeBlockSize(u64),
    ClusterSelfHealDaemon(Toggle),
    ClusterEnsureDurability(Toggle),
    DiagnosticsBrickLogLevel(LogLevel),
    DiagnosticsClientLogLevel(LogLevel),
    DiagnosticsFopSampleInterval(u64),
    DiagnosticsFopSampleBufSize(u64),
    DiagnosticsCountFopHits(Toggle),
    DiagnosticsStatsDumpInterval(u64),
    DiagnosticsStatsDnscacheTtlSec(u64),
    DiagnosticsLatencyMeasurement(Toggle),
    DiagnosticsDumpFdStats(Toggle),
    FavoriteChildPolicy(SplitBrainPolicy),
    FeaturesReadOnly(Toggle),
    FeaturesLockHeal(Toggle),
    FeaturesQuotaTimeout(u16),
    GeoReplicationIndexing(Toggle),
    NetworkFrameTimeout(u16),
    NfsEnableIno32(Toggle),
    NfsVolumeAccess(AccessMode),
    NfsTrustedWrite(Toggle),
    NfsTrustedSync(Toggle),
    NfsExportDir(String),
    NfsExportVolumes(Toggle),
    NfsRpcAuthUnix(Toggle),
    NfsRpcAuthNull(Toggle),
    NfsPortsInsecure(Toggle),
    NfsAddrNamelookup(Toggle),
    NfsRegisterWithPortmap(Toggle),
    NfsDisable(Toggle),
    PerformanceWriteBehindWindowSize(u64),
    PerformanceIoThreadCount(u8),
    PerformanceFlushBehind(Toggle),
    PerformanceCacheMaxFileSize(u64),
    PerformanceCacheMinFileSize(u64),
    PerformanceCacheRefreshTimeout(u8),
    PerformanceCacheSize(u64),
    PerformanceReadDirAhead(Toggle),
    PerformanceParallelReadDir(Toggle),
    PerformanceReadDirAheadCacheLimit(u64),
    ServerAllowInsecure(Toggle),
    ServerGraceTimeout(u16),
    ServerSsl(Toggle),
    ServerStatedumpPath(PathBuf),
    SslAllow(String),
    SslCertificateDepth(u8),
    SslCipherList(String),
    StorageHealthCheckInterval(u16),
}

Variants

Valid IP address which includes wild card patterns including , such as 192.168.1.

Valid IP address which includes wild card patterns including , such as 192.168.2.

Specifies the duration for the lock state to be maintained on the client after a network disconnection in seconds Range: 10-1800

Specifies the maximum number of blocks per file on which self-heal would happen simultaneously. Range: 0-1025

enable/disable client.ssl flag in the volume

Specifies the type of self-heal. If you set the option as "full", the entire file is copied from source to destinations. If the option is set to "diff" the file blocks that are not in sync are copied to destinations.

Percentage of required minimum free disk space

Specifies the size of the stripe unit that will be read from or written to in bytes

Allows you to turn-off proactive self-heal on replicated

This option makes sure the data/metadata is durable across abrupt shutdown of the brick.

The log-level of the bricks.

The log-level of the clients.

Interval in which we want to collect FOP latency samples. 2 means collect a sample every 2nd FOP.

The maximum size of our FOP sampling ring buffer. Default: 65535

Enable the File Operation count translator

Interval (in seconds) at which to auto-dump statistics. Zero disables automatic dumping.

The interval after wish a cached DNS entry will be re-validated. Default: 24 hrs

Statistics related to the latency of each operation would be tracked.

Statistics related to file-operations would be tracked.

Enables automatic resolution of split brain issues

Enables you to mount the entire volume as read-only for all the clients (including NFS clients) accessing it.

Enables self-healing of locks when the network disconnects.

For performance reasons, quota caches the directory sizes on client. You can set timeout indicating the maximum duration of directory sizes in cache, from the time they are populated, during which they are considered valid

Automatically sync the changes in the filesystem from Master to Slave.

The time frame after which the operation has to be declared as dead, if the server does not respond for a particular operation.

For 32-bit nfs clients or applications that do not support 64-bit inode numbers or large files, use this option from the CLI to make Gluster NFS return 32-bit inode numbers instead of 64-bit inode numbers.

Set the access type for the specified sub-volume.

If there is an UNSTABLE write from the client, STABLE flag will be returned to force the client to not send a COMMIT request. In some environments, combined with a replicated GlusterFS setup, this option can improve write performance. This flag allows users to trust Gluster replication logic to sync data to the disks and recover when required. COMMIT requests if received will be handled in a default manner by fsyncing. STABLE writes are still handled in a sync manner.

All writes and COMMIT requests are treated as async. This implies that no write requests are guaranteed to be on server disks when the write reply is received at the NFS client. Trusted sync includes trusted-write behavior.

This option can be used to export specified comma separated subdirectories in the volume. The path must be an absolute path. Along with path allowed list of IPs/hostname can be associated with each subdirectory. If provided connection will allowed only from these IPs. Format: <dir>[(hostspec[hostspec...])][,...]. Where hostspec can be an IP address, hostname or an IP range in CIDR notation. Note: Care must be taken while configuring this option as invalid entries and/or unreachable DNS servers can introduce unwanted delay in all the mount calls.

Enable/Disable exporting entire volumes, instead if used in conjunction with nfs3.export-dir, can allow setting up only subdirectories as exports.

Enable/Disable the AUTH_UNIX authentication type. This option is enabled by default for better interoperability. However, you can disable it if required.

Enable/Disable the AUTH_NULL authentication type. It is not recommended to change the default value for this option.

Allow client connections from unprivileged ports. By default only privileged ports are exports using a single option.

Turn-off name lookup for incoming client connections using this option. In some setups, the name server can take too long to reply to DNS queries resulting in timeouts of mount requests. Use this option to turn off name lookups during address authentication. Note,

For systems that need to run multiple NFS servers, you need to prevent more than one from registering with portmap service. Use this option to turn off portmap registration for Gluster NFS.

Turn-off volume being exported by NFS

Size of the per-file write-behind buffer.Size of the per-file write-behind buffer.

The number of threads in IO threads translator.

If this option is set ON, instructs write-behind translator to perform flush in background, by returning success (or any errors, if any of previous writes were failed) to application even before flush is sent to backend filesystem.

Sets the maximum file size cached by the io-cache translator. Can use the normal size descriptors of KB, MB, GB,TB or PB (for example, 6GB). Maximum size u64.

Sets the minimum file size cached by the io-cache translator. Values same as "max" above

The cached data for a file will be retained till 'cache-refresh-timeout' seconds, after which data re-validation is performed.

Size of the read cache in bytes

enable/disable readdir-ahead translator in the volume

If this option is enabled, the readdir operation is performed parallely on all the bricks, thus improving the performance of readdir. Note that the performance improvement is higher in large clusters

maximum size of cache consumed by readdir-ahead xlator. This value is global and total memory consumption by readdir-ahead is capped by this value, irrespective of the number/size of directories cached

Allow client connections from unprivileged ports. By default only privileged ports are allowed. This is a global setting in case insecure ports are to be enabled for all exports using a single option.

Specifies the duration for the lock state to be maintained on the server after a network disconnection.

enable/disable server.ssl flag in the volume

Location of the state dump file.

Number of seconds between health-checks done on the filesystem that is used for the brick(s). Defaults to 30 seconds, set to 0 to disable.

Methods

impl GlusterOption
[src]