'\" t .\" Title: gfarm2.conf .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: 28 Nov 2017 .\" Manual: Gfarm .\" Source: Gfarm .\" Language: English .\" .TH "GFARM2\&.CONF" "5" "28 Nov 2017" "Gfarm" "Gfarm" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" gfarm2.conf \- Gfarm configuration file .SH "DESCRIPTION" .PP gfarm2\&.conf is a text file that contains a Gfarm configuration\&. Gfarm server processes gfmd and gfsd refer to %%SYSCONFDIR%%/gfmd\&.conf and %%SYSCONFDIR%%/gfarm2\&.conf, respectively, by default\&. Since this configuration file is only read at startup, it is necessary to restart servers when the contents of the configuration file are updated\&. .PP Application programs, such as gfls and gfhost, refer to both %%SYSCONFDIR%%/gfarm2\&.conf, and a file specified by an environment variable, GFARM_CONFIG_FILE\&. If both configuration files exist, the file specified by the environment variable, GFARM_CONFIG_FILE, is read first\&. Both files have the same grammar\&. If the environment variable GFARM_CONFIG_FILE doesn\*(Aqt exist, ~/\&.gfarm2rc in a user\*(Aqs home directory is used instead\&. .PP Each line of gfarm2\&.conf consists of one statement\&. When the line ends with the character ``\e\*(Aq\*(Aq, the line continues for the next line\&. A word beginning with ``#\*(Aq\*(Aq causes that word and all remaining characters on that line to be ignored\&. .SH "HOST_SPECIFICATION" .PP \fIHost_specification\fR has the following forms\&. .PP \fIIII\&.JJJ\&.KKK\&.LLL\fR .RS 4 Specifies an IP address with four octets from 0 to 255, separated by "\&."\&. .RE .PP \fIIII\&.JJJ\&.KKK\&.LLL\fR/\fIMM\fR .RS 4 Specifies a network address with an IP address and a netmask from 0 to 31 separated by "/"\&. .RE .PP \fIdomain\&.name\fR .RS 4 Specifies a host name\&. .RE .PP \fI\&.domain\&.name\fR .RS 4 Specifies all hosts which belong to the domain\&.name\&. .RE .PP \fI*\fR .RS 4 Specifies all hosts\&. .RE .SH "STATEMENT" .PP The following statements are supported\&. .PP spool \fIdirectory\fR .RS 4 The spool statement specifies a spool directory for a Gfarm filesystem on this filesystem node\&. This statement can be specified multiple times to specify multiple spool directories up to five\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool /var/spool/gfarm .fi .if n \{\ .RE .\} .RE .PP spool_server_listen_address \fIIP\-address\fR .RS 4 The spool_server_listen_address statement specifies the IP address at which the gfsd accepts TCP and UDP requests\&. The default address is all IP addresses of the host\&. This option is useful when one wants to invoke multiple gfsd to provide multiple spool directories on the host\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_server_listen_address 192\&.168\&.121\&.1 .fi .if n \{\ .RE .\} .RE .PP spool_server_listen_backlog \fInumber\fR .RS 4 This statement specifies the second parameter of the \fBlisten\fR(2) system call that gfsd invokes\&. The default value is SOMAXCONN (typically 128, but depends on the OS) on OSes which define this symbol in , or 5 if it\*(Aqs undefined\&. .sp On an environment which has many gfarm clients, it\*(Aqs recommened to increase this value after increasing system limit\&. .sp This parameter is only available in gfarm2\&.conf, and ignored in gfmd\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_server_listen_backlog 128 .fi .if n \{\ .RE .\} .RE .PP spool_server_cred_type \fIcred_type\fR .RS 4 This statement specifies the type of credential used by gfsd for GSI authentication\&. This is ignored when you are using sharedsecret authentication\&. .sp If this statement isn\*(Aqt used on the server side, the server uses a host certificate, if the server is invoked with root privileges\&. Or, if the server is invoked as a non\-privileged user, the server uses the user\*(Aqs certificate\&. .sp If this statement isn\*(Aqt used on the client side, the client assumes that the server that the client is going to connect is using a host certificate of the server host\&. Thus, if the server is not invoked with root privileges, but invoked with user privileges where the user is the same as the user who invoked the client, the client side needs to specify the following one line\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf spool_server_cred_type self .fi .if n \{\ .RE .\} .sp The possible types of \fIcred_type\fR are ``self\*(Aq\*(Aq, ``host\*(Aq\*(Aq, ``user\*(Aq\*(Aq and ``mechanism\-specific\*(Aq\*(Aq\&. And those are used with the spool_server_cred_service and spool_server_cred_name statements as follows: .PP self .RS 4 This keyword specifies that the certificate that the user currently has is used\&. You must not use either the spool_server_cred_service or spool_server_cred_name statement, if you are using this type\&. .RE .PP host .RS 4 This keyword specifies that a host certificate or a service certificate is used\&. To choose a service certificate, the name of the service may be specified by the spool_server_cred_service statement\&. If ``host\*(Aq\*(Aq is specified as the service name, a host certificate in the file ``/etc/grid\-security/hostcert\&.pem\*(Aq\*(Aq will be used\&. If any server name other than ``host\*(Aq\*(Aq is specified, a service certificate in the file ``/etc/grid\-security/SERVICE/SERVICEcert\&.pem\*(Aq\*(Aq will be used\&. If the service name is omitted, ``host\*(Aq\*(Aq will be used as the service name by default\&. Only the Common Name field of a certificate will be used to check the server\*(Aqs identity for both a host certificate and a service certificate\&. And the Common Name field must be in the ``CN=SERVERNAME/HOSTNAME\*(Aq\*(Aq format\&. Also, the hostname must match the canonical name configured by the \fBgfhost\fR command exactly\&. Alias hostnames are not allowed\&. .sp This feature corresponds to the GSS_C_NT_HOSTBASED_SERVICE feature in GSSAPI (RFC2743/RFC2744)\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf spool_server_cred_type host spool_server_cred_service host .fi .if n \{\ .RE .\} .RE .PP user .RS 4 This keyword specifies that a user certificate is used\&. The account name of the user may be specified by the spool_server_cred_name statement\&. If the account name is omitted, the user who invoked the command will be used by default\&. You must not specify a service name using the spool_server_cred_service statement, if you are using a user certificate\&. .sp To map from the account name to a Distinguished Name of a certificate, file ``/etc/grid\-security/grid\-mapfile\*(Aq\*(Aq is used\&. Thus, if there isn\*(Aqt such a file, or if the user isn\*(Aqt specified in this file, this feature cannot be used\&. .sp This feature corresponds to the GSS_C_NT_USER_NAME feature in GSSAPI (RFC2743/RFC2744)\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf spool_server_cred_type user spool_server_cred_name guest .fi .if n \{\ .RE .\} .RE .PP mechanism\-specific .RS 4 This keyword specifies that spool_server_cred_name is treated as a raw X\&.509 Distinguished Name serving as a server\*(Aqs certificate\&. You must not specify a service name using a spool_server_cred_service statement, if you are using this type\&. .sp This feature corresponds to a case where GSS_C_NO_OID is specified as a Name Type in GSSAPI (RFC2743/RFC2744)\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf spool_server_cred_type mechanism\-specific spool_server_cred_name "/O=Grid/O=Globus/OU=example\&.com/CN=John Smith" .fi .if n \{\ .RE .\} .RE .RE .PP spool_server_cred_service \fIcred_service\fR .RS 4 This statement specifies the service name of a service certificate used by gfsd for GSI authentication, when ``host\*(Aq\*(Aq is specified in spool_server_cred_type statement\&. This is ignored when you are using sharedsecret authentication\&. Please read the description of the spool_server_cred_type statement for details\&. .RE .PP spool_server_cred_name \fIcred_name\fR .RS 4 This statement specifies the setting of a certificate used by gfsd for GSI authentication\&. What this setting means depends on the type specified in the spool_server_cred_type statement\&. This is ignored when you are using sharedsecret authentication\&. Please read the description of the spool_server_cred_type statement for details\&. .RE .PP spool_server_back_channel_rcvbuf_limit \fIsize_limit\fR .RS 4 This directive specifies the upper limit of SO_RCVBUF for the back channel socket of gfsd\&. By decreasing this value, the number of outstanding requests from gfmd to gfsd can be limited, and the problem of gfsd back channel disconnection will be mitigated\&. If disable keyword is specified as the parameter, no limit is applied\&. The default limit is 4096 bytes\&. .sp This parameter is only available in gfarm2\&.conf which is referred by gfsd, and ignored clients, and ignored in gfmd\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_server_back_channel_rcvbuf_limit 16384 .fi .if n \{\ .RE .\} .RE .PP spool_check_level \fIlevel\fR .RS 4 This statement enables the consistency check of files stored in the spool directory at start\-up of gfsd\&. The \fIlevel\fR name corresponds how many \-c command\-line options are specified to gfsd, i\&.e\&. the level "display" means the \-c option, "delete" means the \-cc option, and "lost_found" means the \-ccc option, which is the default\&. For detail about the \-c option, refer to the manual page of gfsd(8)\&. The level "disable" disables the consistency check\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_check_level disable .fi .if n \{\ .RE .\} .RE .PP spool_check_parallel \fInum\-of\-parallel\fR .RS 4 This directive specifies number of processes of gfsd spool_check\&. .sp By default, the number of processes is automatically determined by the spool_check_parallel_per_capacity directive\&. .sp This directive is only available for gfsd in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_check_parallel 16 .fi .if n \{\ .RE .\} .RE .PP spool_check_parallel_max \fInum\-of\-parallel\fR .RS 4 This directive specifies upper limit of number of processes of gfsd spool_check\&. This is only effective when the number is automatically determined\&. If the number is specified by the spool_check_parallel directive, spool_check_parallel_max is ignored\&. .sp The default value is 64\&. .sp This directive is only available for gfsd in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_check_parallel_max 128 .fi .if n \{\ .RE .\} .RE .PP spool_check_parallel_per_capacity \fIbytes\fR .RS 4 If the number of process of gfsd spool_check is not specified by the spool_check_parallel directive, the number will be total disk capacity of the gfsd spool partition divided by this setting\&. The bytes value may have a suffix like ``k\*(Aq\*(Aq (kibibyte), ``M\*(Aq\*(Aq (mebibyte), ``G\*(Aq\*(Aq (gibibyte) and ``T\*(Aq\*(Aq (tebibyte)\&. .sp The default value is 64 tebibytes\&. .sp This directive is only available for gfsd in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_check_parallel_per_capacity 10T .fi .if n \{\ .RE .\} .RE .PP spool_check_parallel_step \fInumber\fR .RS 4 This directive specifies number of processing unit of each spool_check process\&. This parameter doesn\*(Aqt have to be configured usually, but if network latency between gfmd is high, increasing this value may make spool_check performance better\&. .sp The default value is 1\&. .sp This directive is only available for gfsd in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_check_parallel_step 16 .fi .if n \{\ .RE .\} .RE .PP spool_base_load \fIload\-average\fR .RS 4 This statement specifies the CPU load adding to the real CPU load\&. This option is only available for a gfsd node (or a file system node)\&. The default base load is 0\&.0\&. This option can be used to pretend to be busy or idle to change the scheduling priority\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_base_load 1\&.0 .fi .if n \{\ .RE .\} .RE .PP spool_digest_error_check \fIvalidity\fR .RS 4 When digest calculation is enabled by the digest directive, the digest is calculated when reading a whole replica\&. If the digest is incorrect, i\&.e\&. the replica is damaged, the damaged replica is moved to lost+found directory to automatically fix this problem\&. This statement is used to disable this feature\&. When it is disabled, the damaged raplica remains in the spool directory\&. .sp This option is only available for a gfsd node (or a file system node)\&. The default is enable\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf spool_digest_error_check disable .fi .if n \{\ .RE .\} .RE .PP metadb_server_host \fIhostname\fR .RS 4 The metadb_server_host statement specifies the host name on which gfmd is running\&. .sp This statement cannot be omitted\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_host ldap\&.example\&.com .fi .if n \{\ .RE .\} .RE .PP metadb_server_port \fIport\fR .RS 4 The metadb_server_port statement specifies the tcp port number the gfmd is listening on\&. The default port number is 601\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_port 601 .fi .if n \{\ .RE .\} .RE .PP metadb_server_cred_type \fIcred_type\fR .RS 4 This statement specifies the type of credential used by gfmd for GSI authentication\&. This is ignored when you are using sharedsecret authentication\&. Please read the description of the spool_server_cred_type statement on the configuration of this statement\&. .RE .PP metadb_server_cred_service \fIcred_service\fR .RS 4 This statement specifies the service name of a service certificate used by gfmd for GSI authentication, when ``host\*(Aq\*(Aq is specified in metadb_server_cred_type statement\&. This is ignored when you are using sharedsecret authentication\&. Please read the description of the spool_server_cred_type statement on the configuration of this statement\&. .RE .PP metadb_server_cred_name \fIcred_name\fR .RS 4 This statement specifies the setting of a certificate used by gfmd for GSI authentication\&. What this setting means depends on the type specified in the metadb_server_cred_type statement\&. This is ignored when you are using sharedsecret authentication\&. Please read the description of the spool_server_cred_type statement on the configuration of this statement\&. .RE .PP metadb_server_listen_backlog \fInumber\fR .RS 4 This statement specifies the second parameter of the \fBlisten\fR(2) system call that gfmd invokes\&. The default value is SOMAXCONN (typically 128, but depends on the OS) on OSes which define this symbol in , or 5 if it\*(Aqs undefined\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_listen_backlog 128 .fi .if n \{\ .RE .\} .RE .PP metadb_server_max_descriptors \fInumber\fR .RS 4 This directive specifies the number of file descriptor limit for the gfmd metadata server process\&. If not specified, the default limit is min(OS\*(Aqs hard limit, 131072)\&. You may have to increase this value on a larger configuration, or decrease on a smaller configuration\&. See Gfarm FAQ to see how to calculate this value\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_max_descriptors 262144 .fi .if n \{\ .RE .\} .RE .PP metadb_server_stack_size \fIbytes\fR .RS 4 This directive specifies the size of each thread in the gfmd metadata server process\&. If not specified, the default size of the OS is used\&. This parameter is used to cut down the size of virtual memory space used by gfmd\&. .sp For example, the default stack size on CentOS 5/i386 is 10 MiB, thus, you can decrease the size of the virtual memory space of gfmd to 1/40, by specifying 256 KiB as this parameter\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_stack_size 262144 .fi .if n \{\ .RE .\} .RE .PP metadb_server_thread_pool_size \fIsize\fR .RS 4 This directive specifies the maximum number of threads in a thread pool in the gfmd\&. It is effective to specify around the number of CPU cores of the metadata server node\&. Default is 16\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_thread_pool_size 16 .fi .if n \{\ .RE .\} .RE .PP metadb_server_job_queue_length \fIlength\fR .RS 4 This directive specifies the length of job queue in the gfmd\&. .sp It is effective to specify a value which is greater than the maximum number of clients that access the Gfarm file system at the same time\&. .sp Because this value has to be greater than metadb_server_remover_queue_length + (simultaneous_replication_receivers + 1) * (number of filesystem nodes) , you have to configure this setting, if number of filesystem nodes exceeds 754\&. .sp Default is 16000\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_job_queue_length 21664 .fi .if n \{\ .RE .\} .RE .PP metadb_server_remover_queue_length \fIlength\fR .RS 4 This directive specifies the length of job queue which gfmd uses for sending replica removal requests to gfsd\&. This value should be less than metadb_server_job_queue_length\&. Default is 160\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_remover_queue_length 40 .fi .if n \{\ .RE .\} .RE .PP metadb_server_remove_scan_log_interval \fIseconds\fR .RS 4 This directive specifies the log output interval in seconds about gfmd removal queue processing\&. Default is 3600 seconds\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_remove_scan_log_interval 86400 .fi .if n \{\ .RE .\} .RE .PP metadb_server_remove_scan_interval_factor \fInumber\fR .RS 4 This directive specifies the parameter about how much CPU time can be used for gfmd removal queue processing\&. The processing can use 1 / (metadb_server_remove_scan_interval_factor + 1) of the CPU time at most\&. Default is 5\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_remove_scan_interval_factor 2 .fi .if n \{\ .RE .\} .RE .PP metadb_server_heartbeat_interval \fIseconds\fR .RS 4 This directive specifies the interval of heartbeat in seconds for gfmd to check availability of each gfsd\&. Default is 180 seconds\&. .sp Until gfarm\-2\&.3\&.0, this parameter was only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. But since gfarm\-2\&.4\&.0, gfsd also uses this parameter to detect whether gfmd is down or not, this parameter has to be specified in both gfarm2\&.conf and gfmd\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_heartbeat_interval 180 .fi .if n \{\ .RE .\} .RE .PP metadb_server_dbq_size \fIsize\fR .RS 4 This directive specifies the queue length of metadata updates for a backend database in gfmd\&. Longer queue length may avoid slow down due to waiting backend database updates in case of frequent metadata operations\&. Default is 65536\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_dbq_size 65536 .fi .if n \{\ .RE .\} .RE .PP metadb_server_back_channel_sndbuf_limit \fIsize_limit\fR .RS 4 This directive specifies the upper limit of SO_SNDBUF for the socket that the metadata server connects to the gfsd back channel\&. By decreasing this value, the number of outstanding requests from gfmd to gfsd can be limited, and the problem of gfsd back channel disconnection will be mitigated\&. If disable keyword is specified as the parameter, no limit is applied\&. The default limit is 4096 bytes\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf metadb_server_back_channel_sndbuf_limit 16384 .fi .if n \{\ .RE .\} .RE .PP metadb_server_nfs_root_squash_support \fIvalidity\fR .RS 4 When gfmd tries to read \&.gfarm_shared_key file in a home directory, gfmd will use the privilege of the owner of the home directory, if this configuration setting is "enable"\&. If "disable" is specified, it will use the root privilege to do so\&. .sp If any gfarm users is using sharedsecret authentication, and the user\*(Aqs home directory is shared by NFS which is not using the no_root_squash export option, this setting has to be "enable"\&. The default is "enable", but you can slightly decrease the CPU load of gfmd by setting this parameter to "disable" if situation allows\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_server_nfs_root_squash_support disable .fi .if n \{\ .RE .\} .RE .PP ldap_server_host \fIhostname\fR .RS 4 The ldap_server_host statement specifies the host name on which an LDAP server is running\&. This statement is required when the LDAP server is used for a backend database of gfmd\&. This statement is used in gfmd\&.conf not gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf ldap_server_host ldap\&.example\&.com .fi .if n \{\ .RE .\} .RE .PP ldap_server_port \fIport\fR .RS 4 The ldap_server_port statement specifies the tcp port number of the LDAP server\&. .sp This statement cannot be omitted if ldap_server_host is specified\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf ldap_server_port 602 .fi .if n \{\ .RE .\} .RE .PP ldap_base_dn \fILDAP_base_distinguished_name\fR .RS 4 The ldap_base_dn statement specifies the base\-distinguished name of the LDAP database\&. .sp This statement cannot be omitted if ldap_server_host is specified\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf ldap_base_dn "dc=example, dc=com" .fi .if n \{\ .RE .\} .RE .PP ldap_bind_dn \fILDAP_bind_distinguished_name\fR .RS 4 The ldap_bind_dn statement specifies the distinguished name for the bind operation which is used for authentication to the LDAP database\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf ldap_bind_dn "cn=gfarmuser, dc=example, dc=com" .fi .if n \{\ .RE .\} .RE .PP ldap_bind_password \fIpassword\fR .RS 4 The ldap_bind_password statement specifies the password for the bind operation which is used for authentication to the LDAP database\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf ldap_bind_password "secret\-ldap\-password" .fi .if n \{\ .RE .\} .RE .PP postgresql_server_host \fIhostname\fR .RS 4 The postgresql_server_host statement specifies the host name on which a PostgreSQL server is running\&. This statement is required when the PostgreSQL server is used for a backend database of gfmd\&. This statement is used in gfmd\&.conf not gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf postgresql_server_host postgresql\&.example\&.com .fi .if n \{\ .RE .\} .RE .PP postgresql_server_port \fIport\fR .RS 4 The postgresql_server_port statement specifies the tcp port number of the PostgreSQL server\&. .sp This statement cannot be omitted if postgresql_server_host is specified\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf postgresql_server_port 602 .fi .if n \{\ .RE .\} .RE .PP postgresql_dbname \fIdbname\fR .RS 4 The postgresql_dbname statement specifies the database name of the PostgreSQL database\&. .sp This statement cannot be omitted if postgresql_server_host is specified\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf postgresql_dbname gfarm .fi .if n \{\ .RE .\} .RE .PP postgresql_user \fIuser\fR .RS 4 The postgresql_user statement specifies the username used to connect the PostgreSQL database\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf postgresql_user gfarm .fi .if n \{\ .RE .\} .RE .PP postgresql_password \fIpassword\fR .RS 4 The postgresql_password statement specifies the password used to connect the PostgreSQL database\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf postgresql_password gfarm .fi .if n \{\ .RE .\} .RE .PP postgresql_conninfo \fIconnection_info\fR .RS 4 The postgresql_conninfo statement specifies the connection option used to connect the PostgreSQL database\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf postgresql_conninfo "sslmode=require connect_timeout=30" .fi .if n \{\ .RE .\} .RE .PP auth \fIvalidity\fR \fImethod\fR \fIHost_specification\fR .RS 4 This statement specifies the authentication method when communicating with the host(s) specified by the third argument\&. .sp The first argument should be either the enable or disable keyword\&. The second argument, \fIauth method\fR, should be the gsi, gsi_auth, or sharedsecret keyword\&. The third argument specifies the host(s) by using \fIHost specification\fR\&. .sp The auth statement may be specified any number of times\&. For each authentication method, it becomes a candidate when the first entry whose host_specification matches the target host has the enable keyword\&. When there is no corresponding entry, or when the first corresponding entry has the disable keyword, the authentication method does not become a candidate\&. .sp This process takes place on both client and server sides\&. Candidates for authentication method on both sides will be tried\&. .sp The order of statements with different authentication methods is not relevant\&. When there are several candidates for the authentication method for the host, the order of the authentication trial is sharedsecret, gsi_auth, and then gsi\&. .sp The GSI methods are available if and only if the \-\-with\-globus option is specified at configuration\&. When the methods are not available, an auth statement with gsi or gsi_auth will be ignored\&. .sp This statement cannot be omitted\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf auth disable sharedsecret 192\&.168\&.0\&.100 auth disable sharedsecret 192\&.168\&.0\&.101 auth enable sharedsecret 192\&.168\&.0\&.0/24 auth enable gsi_auth 10\&.0\&.0\&.0/8 auth enable gsi * .fi .if n \{\ .RE .\} .sp In this example, all hosts which belong to the network address 192\&.168\&.0\&.0/24, except for two hosts, 192\&.168\&.0\&.100 and 192\&.168\&.0\&.101, will be tested for authenticated by both sharedsecret and gsi; all hosts which belong to the network address 10\&.0\&.0\&.0/8 will be tested for authentication by both gsi_auth and gsi; and all other hosts will be authenticated by gsi\&. Note that two hosts, 192\&.168\&.0\&.100 and 192\&.168\&.0\&.101, will be tested for authentication by gsi only\&. .RE .PP shared_key_file \fIpathname\fR .RS 4 The shared_key_file statement specifies a pathname of the shared secret key file in sharedsecret authentication\&. .RE .PP digest \fIdigest_type\fR .RS 4 The digest statement enables the checksum calculation, and specifies the digest type of the checksum\&. The digest_type parameter is a lower\-case name which is supported by the OpenSSL library on the filesystem nodes\&. For example, "md5", "sha256"\&. Or, if client_digest_check is enabled, the digest_type has to be supported on clients as well\&. .sp Specifying "disable" as digest_type disables the checksum calculation\&. .sp This directive is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp NOTE: Even if checksum calculation is enabled by this directive, the digest checksum is not calculated when a client accesses a file replica which is managed by a local gfsd\&. This is because only gfsd calculates the checksum by default, but the client directly reads/writes the file replica in the local access case\&. To calculate the checksum of local files, You have to either disable the direct access feature by the direct_local_access statement, or enable the client\-side checksum calculation feature by the client_digest_check statement\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf digest md5 .fi .if n \{\ .RE .\} .RE .PP directory_quota_count_per_user_limit \fInumber\fR .RS 4 The directory_quota_count_per_user_limit statement limits maximum number of dirset per user\&. .sp The default limit is 100\&. .sp This directive is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf directory_quota_count_per_user_limit 1000 .fi .if n \{\ .RE .\} .RE .PP directory_quota_check_start_delay \fIseconds\fR .RS 4 The directory_quota_check_start_delay statement specifies the delay until starting re\-calculation of directory quota, when such re\-calculation becomes necessary\&. This parameter is to reduce number of multiple re\-calculation to once during the delay period\&. .sp The default value is 60 seconds\&. .sp This directive is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf directory_quota_check_start_delay 120 .fi .if n \{\ .RE .\} .RE .PP max_directory_depth \fInumber\fR .RS 4 The max_directory_depth statement specifies the maximum depth of directories\&. Note that this setting is not always strict, and some processing allows deeper than this setting\&. .sp The default value is 100\&. .sp This directive is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf max_directory_depth 500 .fi .if n \{\ .RE .\} .RE .PP sockopt \fIoption\fR\fI[=\fR\fIvalue\fR\fI] [\fR\fILISTENER\fR\fI | \fR\fI\fIHost_specification\fR\fR\fI]\fR .RS 4 The sockopt parameter specifies the socket option \fIoption\fR via the setsockopt(2) system call\&. .sp When LISTENER (all capital letters) is specified by the second argument, the socket option is applied to any socket on the server side (accepting side)\&. .sp When the host_specification is specified by the second argument, the socket option is applied to sockets that connect to the specified host(s)\&. If the second argument is "*", the socket option is applied to any hosts on the client side (connecting side)\&. .sp If the second argument is omitted, the socket option is applied to every socket\&. .sp The following socket options can be specified\&. .sp debug\&. The \fBSO_DEBUG\fR socket option is specified\&. A \fIvalue\fR is not necessary\&. .sp keepalive\&. The \fBSO_KEEPALIVE\fR socket option is specified\&. A \fIvalue\fR is not necessary\&. .sp sndbuf\&. The \fBSO_SNDBUF\fR socket option is specified with a \fIvalue\fR\&. .sp rcvbuf\&. The \fBSO_RCVBUF\fR socket option is specified with a \fIvalue\fR\&. .sp tcp_nodelay\&. The \fBTCP_NODELAY\fR socket option is specified\&. A \fIvalue\fR is not necessary\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf sockopt tcp_nodelay 192\&.168\&.0\&.0/24 sockopt sndbuf=1048576 10\&.0\&.0\&.0/8 sockopt sndbuf=1048576 LISTENER sockopt rcvbuf=1048576 10\&.0\&.0\&.0/8 sockopt rcvbuf=1048576 LISTENER .fi .if n \{\ .RE .\} .RE .PP known_network \fIHost_specification\fR .RS 4 The known_network statement specifies a network address for file system nodes\&. It is used to group file system nodes at file systen node scheduling\&. File system nodes that are not specified in this directive are assumed to be in an IPv4 class C network\&. .sp Multiple networks can be specified as follows\&. .sp .if n \{\ .RS 4 .\} .nf known_network 192\&.168\&.0\&.0/25 known_network 192\&.168\&.0\&.128/25 .fi .if n \{\ .RE .\} .RE .PP network_receive_timeout \fIseconds\fR .RS 4 The network_receive_timeout directive specifies the time, in seconds, to wait for data reception via network\&. The default value is 60 seconds\&. This directive is effective in both gfarm2\&.conf and gfmd\&.conf\&. .sp When a Gfarm application program receives no data from a gfsd filesystem server during the timeout period, it aborts the communication with the server, and then it tries to communicate with another server to continue the operation\&. .sp When a gfmd metadata server receives no data from a gfsd filesystem server during the timeout period, it aborts the communication with the gfsd server and gfmd considers the gfsd server is down\&. .RE .PP admin_user \fIuser\fR .RS 4 This directive specifies an administrator user name, which is specified in gfmd\&.conf\&. .RE .PP admin_user_gsi_dn \fIuser_gsi_dn\fR .RS 4 This directive specifies a subject DN of an administrator, which is specified in gfmd\&.conf\&. .RE .PP local_user_map \fIuser\-map\-file\fR [\fIhostname\fR:[\fIport\fR]] .RS 4 This directive specifies a file name \fIuser\-map\-file\fR for mapping local user names to global user names\&. This map file is used only for sharedsecret authentication\&. When this file is not specified, a global user name is assumed to be same as the local user name\&. .sp \fIuser\-map\-file\fR is needed when you have to use the sharedsecret authentication method in the case where you have different unix account names on different filesystem nodes\&. In such a case, the \fIuser\-map\-file\fR on each filesystem node should have an entry from each local user name to a unique global user name\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf local_user_map /etc/gfarm/gfarm\-usermap .fi .if n \{\ .RE .\} .sp Each line of the \fIuser\-map\-file\fR consists of two fields separated by spaces; the first field is a global user name, and the second field is a local user name\&. .sp Example of the user mapping file: .sp .if n \{\ .RS 4 .\} .nf foobar foo quux baz .fi .if n \{\ .RE .\} .sp According to the first line of this mapping file, a global user name, "foobar", is mapped to a local user name, "foo", on this node\&. .sp When hostname/port of the meta data server is specified, user mapping files different in each server are applied\&. When the port is omitted, default port (601) is used\&. local_user_map can be specified two or more times\&. When the same definitions of local user name exist, the first definition is selected\&. .sp Example of multiple user mapping file: .sp .if n \{\ .RS 4 .\} .nf local_user_map /etc/gfarm/gfarm\-usermap1\-1 local_user_map /etc/gfarm/gfarm\-usermap1\-2 local_user_map /etc/gfarm/gfarm\-usermap2\-1 server2 local_user_map /etc/gfarm/gfarm\-usermap2\-2 server2 .fi .if n \{\ .RE .\} .sp In this example, when connecting to server2, it applies in order of gfarm\-usermap2\-1 and gfarm\-usermap2\-2\&. When connecting to excluding server2, it applies in order of gfarm\-usermap1\-1 and gfarm\-usermap1\-2\&. .RE .PP local_group_map \fIgroup\-map\-file\fR [\fIhostname\fR:[\fIport\fR]] .RS 4 This directive specifies a file name \fIgroup\-map\-file\fR for mapping global group names to local group names\&. This map file is used by legacy clients that use local group id such as gfarm2fs and gfarm dsi for Globus GridFTP to display mapped local groups\&. When this file is not specified, a local group name is assumed to be same as the global group name\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf local_group_map /etc/gfarm/gfarm\-groupmap .fi .if n \{\ .RE .\} .sp Each line of the \fIgroup\-map\-file\fR consists of two fields separated by spaces; the first field is a global group name, and the second field is a local group name\&. .sp When hostname/port of the meta data server is specified, group mapping files different in each server are applied\&. The specification method is similar to local_user_map\&. .RE .PP schedule_cache_timeout \fIseconds\fR .RS 4 This directive specifies the time (in seconds) until the cache used for filesystem node scheduling expires\&. The cache holds information on each filesystem node, e\&.g\&. load average, disk free space, and whether authentication succeeds or not\&. The default time is 600 seconds, i\&.e\&. ten minutes\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_cache_timeout 60 .fi .if n \{\ .RE .\} .RE .PP schedule_concurrency \fInumber\fR .RS 4 This directive specifies the number how many filesystem nodes will be searched concurrently at filesystem scheduling\&. If this parameter is increased, the scheduling will finish quicker, but the load to filesystem nodes will increase\&. The default number is 10 nodes\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_concurrency 10 .fi .if n \{\ .RE .\} .RE .PP schedule_concurrency_per_net \fInumber\fR .RS 4 This directive specifies the number how many filesystem nodes will be used in same network at measuring network latency for each network of filesystem nodes\&. It may be better to increase this parameter, if many filesystem nodes are stopping, or many filesystem nodes are under higher load\&. If this parameter is increased, it\*(Aqs recommened to increase schedule_concurrency parameter too\&. The default number is 3\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_concurrency_per_net 3 .fi .if n \{\ .RE .\} .RE .PP schedule_idle_load_thresh \fIload\-average\fR .RS 4 This directive specifies the threshold of CPU load average to be considered idle\&. The file system nodes whose CPU load average is equal to or below the specified CPU load average are to be scheduled at first\&. The default load average is 0\&.1\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_idle_load_thresh 0\&.1 .fi .if n \{\ .RE .\} .RE .PP schedule_busy_load_thresh \fIload\-average\fR .RS 4 This directive specifies the threshold of CPU load average to be considered busy\&. The file system nodes whose CPU load average is above the specified CPU load average are to be scheduled lastly\&. The default load average is 0\&.5\&. .sp This directive is available for clients and gfmd\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_busy_load_thresh 0\&.5 .fi .if n \{\ .RE .\} .RE .PP schedule_virtual_load \fIload\-average\fR .RS 4 This directive specifies the virtual CPU load average\&. The virtual CPU load is added when the host is scheduled to avoid scheduling the same host multiple times\&. The default load average is 0\&.3\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_virtual_load 0\&.3 .fi .if n \{\ .RE .\} .RE .PP schedule_candidates_ratio \fIratio\fR .RS 4 This parameter specifies the threshold ratio of number of filesystem nodes from number of scheduling nodes, to decide to discontinue to search more filesystem nodes which load averages are less or equal to the schedule_busy_load_thresh parameter\&. If this parameter is increased, the accuracy of scheduling will be increased, but scheduling process will become slower\&. The default ratio is 4\&.0\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_candidates_ratio 4\&.0 .fi .if n \{\ .RE .\} .RE .PP schedule_rtt_thresh_diff \fImicroseconds\fR .RS 4 This parameter specifies the threshold time of network latency which divides the domains of scheduling priority\&. If a network latency difference from nearer network is larger than this value, the network\*(Aqs scheduling priority is lowered\&. There is a similar parameter schedule_rtt_thresh_ratio, and the scheduling priority is lowered if the network latency exceeds one of the parameters\&. The default is 1000 microseconds\&. i\&.e\&. 1 millisecond\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_rtt_thresh_diff 1000 .fi .if n \{\ .RE .\} .RE .PP schedule_rtt_thresh_ratio \fIratio\fR .RS 4 This parameter specifies the threshold ratio of network latency which divides the domains of scheduling priority\&. If a network latency is larger than this ratio from nearer network, the network\*(Aqs scheduling priority is lowered\&. There is a similar parameter schedule_rtt_thresh_diff, and the scheduling priority is lowered if the network latency exceeds one of the parameters\&. The default ratio is 4\&.0\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_rtt_thresh_ratio 4\&.0 .fi .if n \{\ .RE .\} .RE .PP schedule_rtt_thresh \fIratio\fR .RS 4 This directive is just an alias of the schedule_rtt_thresh_ratio directive since gfarm\-2\&.5\&.8\&. Please use that directive instead\&. This directive remains for compatibility with older versions\&. The default ratio is 4\&.0\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf schedule_rtt_thresh 4\&.0 .fi .if n \{\ .RE .\} .RE .PP write_local_priority \fIvalidity\fR .RS 4 Gfarm nearly always chooses localhost, when it selects a filesystem node to write a file\&. By specifyng the disable keyword in this directive, Gfarm handles localhost the same as other filesystem nodes\&. The default is enable\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf write_local_priority disable .fi .if n \{\ .RE .\} .RE .PP write_target_domain \fIdomain\fR .RS 4 Gfarm tries to choose a filesystem node in the domain specified by this directive, when it selects a node to write a file\&. If there is no suitable node for writing in this domain, or if this directive is not specified, the filesystem node will be chosen from among all nodes\&. Note that if you specify this directive more than once, only the first one will be used and the others are ignored\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf write_target_domain example\&.org .fi .if n \{\ .RE .\} .RE .PP minimum_free_disk_space \fIbytes\fR .RS 4 This directive specifies free disk space (in bytes) which is required on filesystem nodes\&. The Gfarm scheduler excludes filesystem nodes which have less free space than this parameter, when it schedules nodes for jobs which may write files\&. The free space value may have a suffix like ``k\*(Aq\*(Aq (kibibyte), ``M\*(Aq\*(Aq (mebibyte), ``G\*(Aq\*(Aq (gibibyte) and ``T\*(Aq\*(Aq (tebibyte)\&. The default size is 512 MiB\&. .sp This directive has to be specified in both gfarm2\&.conf and gfmd\&.conf\&. After restarting the gfmd and the Gfarm client, it is effective\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf minimum_free_disk_space 1G .fi .if n \{\ .RE .\} .RE .PP direct_local_access \fIvalidity\fR .RS 4 When a Gfarm client accesses a file replica which is stored by the local gfsd, the client bypasses the gfsd and directly accesses the file replica for reading/writing the file contents to reduce the overhead\&. This directive is used to disable this feature\&. It is useful to make the local gfsd calculate the checksum of the local file replica\&. Please see the digest directive for detail\&. .sp The default is enable\&. .sp This directive is only available for clients in gfarm2\&.conf\&. Both gfsd and gfmd ignore this setting in gfarm2\&.conf and gfmd\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf direct_local_access disable .fi .if n \{\ .RE .\} .RE .PP simultaneous_replication_receivers \fInumber\fR .RS 4 This directive specifies maximum number of simultaneous gfmd\-initiated replications to same host\&. The default is 20\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf simultaneous_replication_receivers 40 .fi .if n \{\ .RE .\} .RE .PP replication_busy_host \fIvalidity\fR .RS 4 This directive specifies whether destination of gfmd\-initiated replication includes busy hosts or not\&. When it is disabled, a file replica is not created to busy hosts\&. The default is enabled\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf replication_busy_host disable .fi .if n \{\ .RE .\} .RE .PP gfsd_connection_cache \fInumber\fR .RS 4 This directive specifies maximum number of cached gfsd connections\&. The default is 16\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf gfsd_connection_cache 32 .fi .if n \{\ .RE .\} .RE .PP xmlattr_size_limit \fIbytes\fR .RS 4 This directive specifies maximum size of XML extended attributes\&. The default is 786432, and numbers greater than 983040 are not allowed\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf xmlattr_size_limit 786432 .fi .if n \{\ .RE .\} .RE .PP xattr_size_limit \fIbytes\fR .RS 4 This directive specifies maximum size of extended attributes\&. The default is 65536, and numbers greater than 983040 are not allowed\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf xattr_size_limit 65536 .fi .if n \{\ .RE .\} .RE .PP attr_cache_limit \fInumber\fR .RS 4 This directive specifies maximum number of cached attributes in gfarm library\&. The default is 40000\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf attr_cache_limit 100000 .fi .if n \{\ .RE .\} .RE .PP attr_cache_timeout \fImilliseconds\fR .RS 4 This directive specifies maximum time until cached attributes expire in milliseconds\&. The default is 1000, i\&.e\&. 1 second\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf attr_cache_timeout 3600000 .fi .if n \{\ .RE .\} .RE .PP page_cache_timeout \fImilliseconds\fR .RS 4 This directive specifies maximum time until cached pages expire in milliseconds only related to linux kernel driver\&. The default is 1000, i\&.e\&. 1 second\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf page_cache_timeout 3600000 .fi .if n \{\ .RE .\} .RE .PP log_level \fIpriority_level\fR .RS 4 This directive specifies a level of log priority\&. The log output, which priority is inferior to this level, will not be sent to syslog or standard error\&. The priority levels are "emerg", "alert", "crit", "err", "warning", "notice", "info" and "debug" in highest first order\&. The default level is "info"\&. It\*(Aqs not recommended to specify a level higher or equal to "crit"\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf log_level debug .fi .if n \{\ .RE .\} .RE .PP log_message_verbose_level \fIlevel\fR .RS 4 This directive specifies how verbose the log message is\&. The default value is 0, which outputs the log message id\&. The level 1 additionally outputs the file name and the line of source code\&. The level 2 additionally outputs the function name\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf log_message_verbose_level 1 .fi .if n \{\ .RE .\} .RE .PP log_auth_verbose \fIvalidity\fR .RS 4 When "enable" is specified, verbose messages about authentication are logged\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf log_auth_verbose enable .fi .if n \{\ .RE .\} .RE .PP file_trace \fIvalidity\fR .RS 4 When "enable" is specified, an audit log feature for file creation, modification and removal is enabled\&. .sp This directive is available in both gfarm2\&.conf and gfmd\&.conf\&. .sp Here is an example: .sp .if n \{\ .RS 4 .\} .nf file_trace enable .fi .if n \{\ .RE .\} .RE .PP fatal_action \fIaction_name\fR .RS 4 This parameter specifies the behavior at a fatal error\&. The default action is \fIbacktrace_and_abort\fR\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf fatal_action backtrace_and_abort .fi .if n \{\ .RE .\} .sp The following actions are supported: .PP backtrace_and_abort .RS 4 Print a backtrace, and then call \fBabort\fR(3) \&. .RE .PP backtrace_and_exit .RS 4 Print a backtrace, and then call \fBexit\fR(3) \&. .RE .PP abort .RS 4 Call \fBabort\fR(3) \&. .RE .PP exit .RS 4 Call \fBexit\fR(3) \&. .RE .RE .PP debug_command \fIcommand_line\fR .RS 4 When a Gfarm application program crashes (received SIGSEGV, SIGBUG, etc\&.), a debug command specified in this directive is executed\&. For example, .sp .if n \{\ .RS 4 .\} .nf debug_command env DISPLAY=:0\&.0 xterm \-e gdb %e %p .fi .if n \{\ .RE .\} .sp "%e" and "%p" are expanded to an actual program name and a process ID, respectively\&. If you\*(Aqd like to use "%" character itself in the command line, type "%%"\&. .sp This directive is available in both gfarm2\&.conf and gfmd\&.conf\&. If this directive is omitted, no debug command is executed\&. .RE .PP no_file_system_node_timeout \fIseconds\fR .RS 4 If there is no file system node available, Gfarm client library periodically tries to find a file system node\&. This directive specifies the timeout to try in seconds\&. The default is 30 seconds\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf no_file_system_node_timeout 30 .fi .if n \{\ .RE .\} .RE .PP gfmd_authentication_timeout \fIseconds\fR .RS 4 After the connection to the metadata server is established, Gfarm client library starts an authentication procedure, but gives up the procedure, if this timeout period is passed without any response from the metadata server\&. This unit of this directive is second, and the default value is 35\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf gfmd_authentication_timeout 45 .fi .if n \{\ .RE .\} .RE .PP gfmd_reconnection_timeout \fIseconds\fR .RS 4 If the connection to the metadata server is disconnected, Gfarm client library periodically tries to reconnect\&. This directive specifies the timeout to try in seconds\&. The default is 30 seconds\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf gfmd_reconnection_timeout 30 .fi .if n \{\ .RE .\} .RE .PP gfsd_connection_timeout \fIseconds\fR .RS 4 This directive specifies the timeout to connect to a gfsd\&. The default is 30 seconds\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf gfsd_connection_timeout 30 .fi .if n \{\ .RE .\} .RE .PP atime \fItype\fR .RS 4 When "disable" is specified, atime (access time) is not updated\&. When "relative" is specified, atime is only updated if the previous atime is earlier than the current mtime (modify time) or ctime (change time), or if the previous atime is more than 1 day old\&. When "strict" is specified, atime is always updated\&. The default setting is "relative"\&. .sp This parameter is only available in gfmd\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf atime disable .fi .if n \{\ .RE .\} .RE .PP max_open_files \fInum\-of\-files\fR .RS 4 This directive specifies the maximum number of open files\&. The default is 1024\&. .sp This parameter is only available in gfmd\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf max_open_files 1024 .fi .if n \{\ .RE .\} .RE .PP client_digest_check \fIvalidity\fR .RS 4 When "enable" is specified, the Gfarm client library (libgfarm) calculates checksum while accessing a whole file sequentially, and verify the result against a value which is set in the metadata of the file\&. Also, libgfarm sets the calculated checksum to the metadata, if checksum isn\*(Aqt set in the metadata, and the file is opened for writing\&. .sp The default value is disable\&. .sp This directive is only available for clients in gfarm2\&.conf\&. Both gfsd and gfmd ignore this setting in gfarm2\&.conf and gfmd\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf client_digest_check enable .fi .if n \{\ .RE .\} .RE .PP client_file_bufsize \fIbytes\fR .RS 4 This directive specifies the file buffer size in bytes used in the Gfarm client library (libgfarm)\&. The default size is 1048576 bytes (= 1MiB)\&. The file buffer size should be less than the default value not for deterioration of remote access performance\&. .sp This directive is only available for clients in gfarm2\&.conf\&. Both gfsd and gfmd ignore this setting in gfarm2\&.conf and gfmd\&.conf\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf client_file_bufsize 65536 .fi .if n \{\ .RE .\} .RE .PP client_parallel_copy \fInum\-of\-parallel\fR .RS 4 This directive specifies the number of parallel for \fBgfprep\fR and \fBgfpcopy\fR to work in parallel\&. When this number is not specified, the default number of parallel is 4\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf client_palallel_copy 10 .fi .if n \{\ .RE .\} .RE .PP client_parallel_max \fInum\-of\-parallel\fR .RS 4 This directive specifies the maximum number of parallel for \fBgfprep\fR and \fBgfpcopy\fR to work in parallel\&. When this number is not specified, the default maximum number of parallel is 16\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf client_palallel_max 8 .fi .if n \{\ .RE .\} .RE .PP profile \fIvalidity\fR .RS 4 When "enable" is specified, Gfarm outputs the profile information\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf profile enable .fi .if n \{\ .RE .\} .RE .PP metadb_server_list \fIgfmd\-hostname[:port]\fR \fI\&.\&.\&.\fR .RS 4 This parameter specifies connection destinations of redundant metadata servers delimited by space\&. If port is not specified, port will be 601 which is the default value\&. .sp This parameter is only available in gfarm2\&.conf, and ignored in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_server_list mds1 mds2:701 .fi .if n \{\ .RE .\} .RE .PP metadb_replication \fIvalidity\fR .RS 4 When "enable" is specified, the redundant metadata feature is enabled\&. The default value is disable\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_replication enable .fi .if n \{\ .RE .\} .RE .PP synchronous_replication_timeout \fIseconds\fR .RS 4 This parameter specifies timeout for executing synchronous replication in seconds\&. If the timeout period passed, the connection to the slave gfmd where replicates to will disconnect\&. The replication process in the master gfmd for the disconnected slave gfmd stops until the slave gfmd connects\&. The default is 10\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf synchronous_replication_timeout 30 .fi .if n \{\ .RE .\} .RE .PP synchronous_journaling \fIvalidity\fR .RS 4 When "enable" is specified, fdatasync is called after update information is saved to the journal file\&. The timing of calling fdatasync is after writing the records from transaction\-begin to transaction\-end in one transaction\&. The default is "enable"\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf synchronous_journaling disable .fi .if n \{\ .RE .\} .RE .PP metadb_server_force_slave \fIvalidity\fR .RS 4 When "enable" is specified, even if the gfmd is set to default master, it run as slave gfmd forcedly\&. The default is "disable"\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_server_force_slave enable .fi .if n \{\ .RE .\} .RE .PP metadb_server_slave_max_size \fInumber\fR .RS 4 This parameter specifies the maximum number of slave gfmds\&. The default is "32"\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_server_slave_max_size 40 .fi .if n \{\ .RE .\} .RE .PP metadb_server_slave_replication_timeout \fIseconds\fR .RS 4 This parameter specifies timeout in seconds to wait for completion of metadata replication at gfmd shutdown caused by a SIGTERM signal\&. If the timeout period passed, master gfmd gives up metadata replication to slave gfmd\&. The default is 120 seconds\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_server_slave_replication_timeout 180 .fi .if n \{\ .RE .\} .RE .PP metadb_journal_dir \fIdirectory\fR .RS 4 This parameter specifies the directory for the journal file\&. The value of this parameter is specified at config\-gfarm execution \&. When this parameter is not specified, the gfmd does not start\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_journal_dir /var/gfarm\-metadata/journal .fi .if n \{\ .RE .\} .RE .PP metadb_journal_max_size \fIfile_size\fR .RS 4 This parameter specifies the max size of the journal file in bytes\&. Beware that the larger the size is, the longer it takes time for the gfmd to complete starting\&. The default is 33554432 (32 MiB)\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_journal_max_size 8388608 .fi .if n \{\ .RE .\} .RE .PP metadb_journal_recvq_size \fIsize\fR .RS 4 This parameter specifies the maximum number of on\-memory records of the journal data that the slave gfmd receives from the master gfmd\&. If it reaches this value, the slave gfmd gives up and exits, because the gfmd thinks that it\*(Aqs too slow to apply the journal data to the backend database\&. The default value is 100000\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_journal_recvq_size 100000 .fi .if n \{\ .RE .\} .RE .PP metadb_replica_remover_by_host_sleep_time \fInanoseconds\fR .RS 4 This statement specifies the sleep time of replica remover, which is invoked by a removal of a filesystem node, in nanoseconds when gfmd is busy\&. If this value is increased, the processing runs more slowly\&. The default value is 20000000 nanoseconds (20 milliseconds)\&. The maximum value is 1000000000 nanoseconds (1 second)\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_replica_remover_by_host_sleep_time 20000000 .fi .if n \{\ .RE .\} .RE .PP metadb_replica_remover_by_host_inode_step \fInumber\fR .RS 4 This statement specifies the number of i\-node that replica remover, which is invoked by a removal of a filesystem node, processes in each step\&. If this value is decreased, the remover runs more slowly\&. The default value is 1024\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf metadb_replica_remover_by_host_inode_step 1024 .fi .if n \{\ .RE .\} .RE .PP replica_check \fIvalidity\fR .RS 4 A replica check patrols the file system when it is necessary, and creates missing file replicas\&. The default is enable\&. This feature can be dynamically enabled or disabled by the \fBgfrepcheck\fR command\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replica_check disable .fi .if n \{\ .RE .\} .RE .PP replica_check_remove \fIvalidity\fR .RS 4 This directive is effective when replica_check is enabled\&. When replica_check_remove is enabled, the replica check removes unnecessary file replicas unless it has two or more link counts\&. It leaves file replicas for files without replica information such as gfarm\&.ncopy and gfarm\&.replicainfo\&. The default is enable\&. This feature can be dynamically enabled or disabled by the \fBgfrepcheck remove\fR command\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replica_check_remove disable .fi .if n \{\ .RE .\} .RE .PP replica_check_remove_grace_used_space_ratio \fIpercentage\fR .RS 4 This directive is effective when replica_check_remove is enabled\&. Unnecessary file replicas are removed only when a percentage of the used capacity is more than the specified percent value\&. The percentage can be specified by an integer value between 0 and 100\&. When 100 is specified, unnecessary file replicas are not removed\&. The default is 0\&. .sp The percentage can be dynamically changed by the gfrepcheck command\&. The following example changes to 50%\&. .sp .if n \{\ .RS 4 .\} .nf % gfrepcheck remove_grace_used_space_ratio 50 .fi .if n \{\ .RE .\} .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replica_check_remove_grace_used_space_ratio 70 .fi .if n \{\ .RE .\} .RE .PP replica_check_remove_grace_time \fIseconds\fR .RS 4 This directive is effective when replica_check_remove is enabled\&. Unnecessary file replicas are removed only when it is not accessed for more than the specified seconds\&. The default is 0\&. .sp The grace time can be dynamically changed by the gfrepcheck command\&. The following example changes to 1 week (= 604800 seconds)\&. .sp .if n \{\ .RS 4 .\} .nf % gfrepcheck remove_grace_time 604800 .fi .if n \{\ .RE .\} .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replica_check_remove_grace_time 604800 .fi .if n \{\ .RE .\} .RE .PP replica_check_reduced_log \fIvalidity\fR .RS 4 When "enable" is specified, log messages from the replica_check may be reduced\&. The default value is "enable"\&. This behavior can be dynamically chagned by the \fBgfrepcheck reduced_log\fR command\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replica_check_reduced_log disable .fi .if n \{\ .RE .\} .RE .PP replica_check_host_down_thresh \fIseconds\fR .RS 4 This statement specifies an interval to start replica check after a gfsd is down\&. The default value is 10800 seconds (3 hours)\&. This behavior can be dynamically chagned by the \fBgfrepcheck host_down_thresh\fR command\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replica_check_host_down_thresh 3600 .fi .if n \{\ .RE .\} .RE .PP replica_check_sleep_time \fInanoseconds\fR .RS 4 This statement specifies the sleep time in nanoseconds during the replica check when gfmd is busy\&. The default value is 100000 nanoseconds (0\&.1 millisecond)\&. The maximum value is 1000000000 nanoseconds (1 second)\&. This behavior can be dynamically chagned by the \fBgfrepcheck sleep_time\fR command\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replica_check_sleep_time 0 .fi .if n \{\ .RE .\} .RE .PP replica_check_minimum_interval \fIseconds\fR .RS 4 This statement specifies the minimum interval in seconds, to start the next replica check\&. The default value is 10 seconds\&. This behavior can be dynamically chagned by the \fBgfrepcheck minimum_interval\fR command\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replica_check_minimum_interval 5 .fi .if n \{\ .RE .\} .RE .PP replicainfo \fIvalidity\fR .RS 4 When "enable" is specified, the extended attribute of gfarm\&.replicainfo is used in automatic file replication\&. When "disable" is specified, the hostgroups in gfarm\&.replicainfo is not used, but the total number of replicas in gfarm\&.replicainfo is used, if the total number is larger than gfarm\&.ncopy\&. For detail about the extended attribute of gfarm\&.replicainfo, refer to the manual page of \fBgfncopy\fR\&. The default is enable\&. .sp gfstatus \-Mm \*(Aqreplicainfo disable\*(Aq can disable this temporarily\&. .sp This parameter is only available in gfmd\&.conf\&. .sp Example: .sp .if n \{\ .RS 4 .\} .nf replicainfo disable .fi .if n \{\ .RE .\} .RE .PP write_verify \fIvalidity\fR .RS 4 This statement enables gfsd\*(Aqs write_verify feature that compares file data checksum by re\-reading the contents of the file sometime after the file is written\&. The default is disable\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. gfsd uses this setting at its startup by asking gfmd\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf write_verify enable .fi .if n \{\ .RE .\} .RE .PP write_verify_interval \fIseconds\fR .RS 4 This statement specifies how long to wait before starting the write_verify feature after a file is written\&. The default value is 21600 seconds (6 hours)\&. .sp The write_verify feature uses direct I/O on OSes which have the O_DIRECT flag\&. But it does not flush caches on disk controllers and kernel metadata\&. Thus, it\*(Aqs recommended to specify long enough period in this parameter\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. gfsd uses this setting at its startup by asking gfmd\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf write_verify_interval 21600 .fi .if n \{\ .RE .\} .RE .PP write_verify_retry_interval \fIseconds\fR .RS 4 This statement specifies how long to wait until retring the write_verify feature, if previous try was postponed, because the file was opened for writing at that time\&. .sp It\*(Aqs recommended to keep this value smaller enough than the write_verify_interval setting\&. The default value is 600 seconds (10 minutes)\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. gfsd uses this setting at its startup by asking gfmd\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf write_verify_retry_interval 600 .fi .if n \{\ .RE .\} .RE .PP write_verify_log_interval \fIseconds\fR .RS 4 This statement specifies interval to record write_verify statistics in log\&. When this interval passes and then a file is updated on a filesystem node, statistics information will be recorded in the log on the filesystem node\&. .sp The default value is 3600 seconds (1 hour)\&. .sp This parameter is only available in gfmd\&.conf, and ignored in gfarm2\&.conf\&. gfsd uses this setting at its startup by asking gfmd\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf write_verify_log_interval 3600 .fi .if n \{\ .RE .\} .RE .PP ib_rdma \fIvalidity\fR .RS 4 Specify to disable the RDMA data transfer between client and gfsd\&. .sp Only when \-\-with\-infiniband is specified at configure it is valid\&. The default value is enable\&. .sp If the environment variable GFARM_RDMA_DISABLE is set, RDMA is disabled\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf ib_rdma disable .fi .if n \{\ .RE .\} .RE .PP rdma_device \fIdevice name\fR .RS 4 Specify the device to use the RDMA data transfer between client and gfsd\&. .sp The default device is the first found valid device on ibv_get_device_list()\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf rdma_device mlx4_1 .fi .if n \{\ .RE .\} .RE .PP rdma_port \fIport\fR .RS 4 Specify the port number of the device to use the RDMA data transfer between client and gfsd\&. .sp The default port is the first found valid port on the device\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf rdma_port 2 .fi .if n \{\ .RE .\} .RE .PP rdma_min_size \fIsize\fR .RS 4 Specify the minimum data size to select the RDMA data transfer\&. .sp The default size is 65536 bytes\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf rdma_min_size 4096 .fi .if n \{\ .RE .\} .RE .PP rdma_mr_reg_mode \fImode\fR .RS 4 Specify the registration method of the RDMA transfer buffer of the client\&. .sp static mode registers one transfer buffer for every connection with a gfsd\&. .sp dynamic mode repeats registration and deregistration at every transfer\&. .sp Although the static mode is faster than dynamic mode, memory load becomes higher and may fail in registration because the memories are locked through the connections\&. .sp The default mode is static\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf rdma_mr_reg_mode static rdma_mr_reg_mode static dynamic .fi .if n \{\ .RE .\} .RE .PP rdma_mr_reg_static_min_size \fIsize\fR .RS 4 Specify the initial buffer size when the static mode is selected with rdma_mr_reg_mode\&. .sp The default size is 1 MiB\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf rdma_mr_reg_static_min_size 1048576 .fi .if n \{\ .RE .\} .RE .PP rdma_mr_reg_static_max_size \fIsize\fR .RS 4 Specify the maximum expansion buffer size when the static mode is selected with rdma_mr_reg_mode\&. .sp The default size is 16 MiB\&. .sp For example, .sp .if n \{\ .RS 4 .\} .nf rdma_mr_reg_static_max_size 16777216 .fi .if n \{\ .RE .\} .RE .SH "GRAMMAR" .PP This is a grammar of gfarm2\&.conf described by the BNF notation\&. .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_server_listen_address" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_server_listen_backlog" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_server_cred_type" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_server_cred_service" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_server_cred_name" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_server_back_channel_rcvbuf_limit" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_check_level" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_check_parallel" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_check_parallel_max" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_check_parallel_per_capacity" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_check_parallel_step" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_base_load" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "spool_digest_error_check" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_host" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_port" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_cred_type" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_cred_service" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_cred_name" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_listen_backlog" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_max_descriptors" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_stack_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_thread_pool_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_job_queue_length" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_remover_queue_length" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_remove_scan_log_interval" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_remove_scan_interval_factor" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_heartbeat_interval" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_dbq_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_back_channel_sndbuf_limit" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_nfs_root_squash_support" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "ldap_server_host" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "ldap_server_port" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "ldap_base_dn" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "ldap_bind_dn" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "ldap_bind_password" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "postgresql_server_host" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "postgresql_server_port" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "postgresql_dbname" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "postgresql_user" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "postgresql_password" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "postgresql_conninfo" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "auth" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "enable" | "disable" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "gsi" | "gsi_auth" | "sharedsecret" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "shared_key_file" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "digest" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "directory_quota_count_per_user_limit" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "directory_quota_check_start_delay" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "max_directory_depth" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "sockopt" [=] [""LISTENER" | ] .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "debug" | "keepalive" | "sndbuf" | "rcvbuf" | "tcp_nodelay" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "known_network" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "network_receive_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "admin_user" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "admin_user_gsi_dn" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "local_user_map" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "local_group_map" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | | ":" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_cache_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_concurrency" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_concurrency_per_net" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_idle_load_thresh" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_busy_load_thresh" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_virtual_load" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_candidates_ratio" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_rtt_thresh_diff" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_rtt_thresh_ratio" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "schedule_rtt_thresh" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "write_local_priority" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "write_target_domain" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "minimum_free_disk_space" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "direct_local_access" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "simultaneous_replication_receivers" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replication_busy_host" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "gfsd_connection_cache" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "xmlattr_size_limit" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "xattr_size_limit" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "attr_cache_limit" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "attr_cache_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "page_cache_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "log_level" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "log_message_verbose_level" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "log_auth_verbose" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "file_trace" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "fatal_action" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "debug_command" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "no_file_system_node_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "gfmd_authentication_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "gfmd_reconnection_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "gfsd_connection_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "atime" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "max_open_files" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "client_digest_check" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "client_file_bufsize" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "client_parallel_copy" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "profile" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_list" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_replication" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "synchronous_replication_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "synchronous_journaling" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_force_slave" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_slave_max_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_server_slave_replication_timeout" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_journal_dir" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_journal_max_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_journal_recvq_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_replica_remover_by_host_sleep_time" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "metadb_replica_remover_by_host_inode_step" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replica_check" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replica_check_remove" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replica_check_remove_grace_used_space_ratio" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replica_check_remove_grace_time" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replica_check_reduced_log" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replica_check_host_down_thresh" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replica_check_sleep_time" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replica_check_minimum_interval" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | "/" | | "\&." | "*" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf * .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | "," | "/" | "_" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | ":" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf * .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | | "\-" | "\&." .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf [ "k" | "M" | "G" | "T" ] .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf [*] .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | "disable" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf """ * """ .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf | "\e\e" | "\e"" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "enable" | "disable" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "disable" | "display" | "delete" | "lost_found" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "disable" | "relative" | "strict" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "emerg" | "alert" | "crit" | "err" | "warning" | "notice" | "info" | "debug" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "backtrace_and_abort" | "backtrace_and_exit" | "abort" | "exit" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "ib_rdma" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "rdma_device" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "rdma_port" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "rdma_min_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "rdma_mr_reg_mode" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "static" | "dynamic" | "static" "dynamic" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "rdma_mr_reg_static_min_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "rdma_mr_reg_static_max_size" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "replicainfo" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "write_verify" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "write_verify_interval" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "write_verify_retry_interval" .fi .if n \{\ .RE .\} .RE .PP ::= .RS 4 .sp .if n \{\ .RS 4 .\} .nf "write_verify_log_interval" .fi .if n \{\ .RE .\} .RE .SH "EXAMPLES" .PP The following is an example of gfarm2\&.conf to use sharedsecret authentication\&. .sp .if n \{\ .RS 4 .\} .nf metadb_server_host metadb\&.example\&.org metadb_server_port 601 auth enable sharedsecret * sockopt keepalive .fi .if n \{\ .RE .\} .PP The following is an example of gfmd\&.conf to use PostgreSQL to store the metadata, and to allow access from filesystem nodes and clients at IP address 192\&.168\&.0\&.0/24, via sharedsecret authentication\&. .sp .if n \{\ .RS 4 .\} .nf metadb_server_host metadb\&.example\&.org metadb_server_port 601 postgresql_server_host metadb\&.example\&.org postgresql_server_port 5432 postgresql_dbname gfarm postgresql_user gfarm postgresql_password "secret\-postgresql\-password" auth enable sharedsecret 192\&.168\&.0\&.0/24 admin_user john sockopt keepalive .fi .if n \{\ .RE .\} .PP The following is an example of gfmd\&.conf to use LDAP to store the metadata, and to allow access from filesystem nodes and clients at any IP address, via GSI authentication\&. .sp .if n \{\ .RS 4 .\} .nf metadb_server_host metadb\&.example\&.com metadb_server_port 601 ldap_server_host metadb\&.example\&.com ldap_server_port 602 ldap_base_dn "dc=example, dc=com" ldap_bind_dn "cn=gfarmuser, dc=example, dc=com" ldap_bind_password "secret\-ldap\-password" auth enable gsi * spool_server_cred_type host spool_server_cred_service gfsd admin_user john admin_user_gsi_dn "/C=JP/ST=Tokyo/L=Chuo\-ku/O=Example, Inc\&./OU=Example Division/CN=John Doe" sockopt keepalive .fi .if n \{\ .RE .\} .SH "FILES" .PP %%SYSCONFDIR%%/gfarm2\&.conf .RS 4 .RE .PP $HOME/\&.gfarm2rc .RS 4 .RE .SH "SEE ALSO" .PP \fBgfmd\fR(8), \fBgfsd\fR(8), \fBsetsockopt\fR(2)