Provided by: gfmd_2.4.1-1ubuntu1_i386 bug

NAME

       gfarm2.conf - Gfarm

DESCRIPTION

       gfarm2.confgfarm             gfsd            %%SYSCONFDIR%%/gfarm2.conf
       gfmd%%SYSCONFDIR%%/gfmd.conf gfmd.confgfarm2.conf

       GFARM_CONFIG_FILE     %%SYSCONFDIR%%/gfarm2.conf      GFARM_CONFIG_FILE
       GFARM_CONFIG_FILE .gfarm2rc

       gfarm2.conf ``\'' ``#''

       III.JJJ.KKK.LLL
              "."02554IP

       III.JJJ.KKK.LLL/MM
              IP"/"031 "/"netmask

       domain.name

        .domain.name
              "."

       *      "*"

       LISTENER
              "LISTENER" ()

       spool gfsd
              gfsdgfarm

              :

                   spool /var/spool/gfarm

       spool_server_listen_address IP
              gfsdTCPUDPIP IP IPgfsd

              :

                   spool_server_listen_address 192.168.121.1

       spool_server_cred_type cred_type
              GSIgfsd sharedsecret

              root

              :

                   spool_server_cred_type self

              cred_type         self        hostuser        mechanism-specific
              spool_server_cred_service spool_server_cred_name

              self    spool_server_cred_service spool_server_cred_name

              host        spool_server_cred_service     host      ``/etc/grid-
                     security/hostcert.pem''  ``/etc/grid-security//cert.pem''
                     host Common Name Common NameCN=/ gfhost

                     GSSAPI (RFC2743/RFC2744)GSS_C_NT_HOSTBASED_SERVICE

                     :

                          spool_server_cred_type host
                          spool_server_cred_service host

              user    spool_server_cred_name spool_server_cred_service

                     Distinguished Name ``/etc/grid-security/grid-mapfile''

                     GSSAPI (RFC2743/RFC2744)GSS_C_NT_USER_NAME

                     :

                          spool_server_cred_type user
                          spool_server_cred_name guest

              mechanism-specific
                     X.509      Distinguished       Namespool_server_cred_name
                     spool_server_cred_service

                     GSSAPI (RFC2743/RFC2744)Name TypeGSS_C_NO_OID

                     :

                          spool_server_cred_type mechanism-specific
                          spool_server_cred_name "/O=Grid/O=Globus/OU=example.com/CN=John Smith"

       spool_server_cred_service cred_service
              GSIspool_server_cred_type          hostgfsd         sharedsecret
              spool_server_cred_type

       spool_server_cred_name cred_name
              GSIspool_server_cred_type           gfsd            sharedsecret
              spool_server_cred_type

       metadb_server_host gfmd
              gfmd

              :

                   metadb_server_host ldap.example.com

       metadb_server_port gfmd
              gfmdTCP 601

              :

                   metadb_server_port 601

       metadb_server_cred_type cred_type
              GSIgfmd sharedsecret spool_server_cred_type

       metadb_server_cred_service cred_service
              GSImetadb_server_cred_type         hostgfmd         sharedsecret
              spool_server_cred_type

       metadb_server_cred_name cred_name
              GSImetadb_server_cred_type           gfmd           sharedsecret
              spool_server_cred_type

       metadb_server_stack_size
              gfmd OS gfmd

              CentOS 5/i38610MB 256KBgfmd 1/40

              gfmd.confgfarm2.conf

              :

                   metadb_server_stack_size 262144

       metadb_server_thread_pool_size
              gfmd 16

              gfmd.confgfarm2.conf

              :

                   metadb_server_thread_pool_size 16

       metadb_server_job_queue_length
              gfmd 16000

              gfmd.confgfarm2.conf

              :

                   metadb_server_job_queue_length 160

       metadb_server_heartbeat_interval
              gfmdgfsd 180

              Gfarm-2.3.0gfmd.confgfarm2.conf       Gfarm-2.4.0gfsd       gfmd
              gfarm2.confgfmd.conf

              :

                   metadb_server_heartbeat_interval 180

       metadb_server_dbq_size
              gfmdDB DB 65536

              gfmd.confgfarm2.conf

              :

                   metadb_server_dbq_size 65536

       ldap_server_host LDAP
              gfmd LDAP LDAP gfmd.confgfarm2.conf

              :

                   ldap_server_host ldap.example.com

       ldap_server_port LDAP
              LDAPTCP

              ldap_server_host

              :

                   ldap_server_port 602

       ldap_base_dn LDAP_base_distinguished_name
              LDAP base distinguished name

              ldap_server_host

              :

                   ldap_base_dn "dc=example, dc=com"

       ldap_bind_dn LDAP_bind_distinguished_name
              LDAPdistinguished name

              :

                   ldap_bind_dn "cn=gfarmuser, dc=example, dc=com"

       ldap_bind_password password
              LDAP

              :

                   ldap_bind_password "secret-ldap-password"

       postgresql_server_host PostgreSQL
              gfmd PostgreSQL PostgreSQL gfmd.confgfarm2.conf

              :

                   postgresql_server_host postgresql.example.com

       postgresql_server_port PostgreSQL
              PostgreSQLTCP

              postgresql_server_host

              :

                   postgresql_server_port 602

       postgresql_dbname dbname
              PostgreSQL

              postgresql_server_host

              :

                   postgresql_dbname gfarm

       postgresql_user user
              PostgreSQL

              :

                   postgresql_user gfarm

       postgresql_password password
              PostgreSQL

              :

                   postgresql_password "secret-postgresql-password"

       postgresql_conninfo connection_info
              PostgreSQL

              :

                   postgresql_conninfo "sslmode=require connect_timeout=30"

       auth   3

              1enabledisable 2gsi gsi_authsharedsecret 3

               sharedsecret gsi_authgsi

              Gfarmglobus GSIgsi gsi_auth

              :

                   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 *

              192.168.0.100192.168.0.1012    192.168.0.0/24    sharedsecretgsi
              10.0.0.0/8gsi_auth gsi gsi 192.168.0.100192.168.0.1012 gsi

       sockopt [=] [LISTENER | ]
              socket(2)setsockopt(2)

              2LISTENER ()

              2() 2"*"() ()

              2

              debugsetsockopt(2)SO_DEBUG

              keepalivesetsockopt(2)SO_KEEPALIVE

              sndbufsetsockopt(2)SO_SNDBUF

              rcvbufsetsockopt(2)SO_RCVBUF

              tcp_nodelaysetsockopt(2)TCP_NODELAY

              :

                   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

       known_network
               IP IPv4C

              :

                   known_network 192.168.0.0/24

       admin_user
              gfmd.conf

       admin_user_gsi_dn DN
              gfmd.confadmin_userSubject DN

       local_user_map
              sharedsecret

              :

                   local_user_map /etc/gfarm/gfarm-usermap

              :

                   foobar foo
                   quux baz

              1foo foobar

       local_group_map
               IDgfarm2fs Globus GridFTPGfarm DSI

              :

                   local_group_map /etc/gfarm/gfarm-groupmap

       schedule_cache_timeout
              gfarm 60010

              :

                   schedule_cache_timeout 60

       schedule_idle_load_thresh CPU
               CPUCPU CPUCPU 0.1

              :

                   schedule_idle_load_thresh 0.1

       schedule_busy_load_thresh CPU
               CPUCPU CPUCPU 0.5

              :

                   schedule_busy_load_thresh 0.5

       schedule_virtual_load CPU
               CPUCPU 0.3

              :

                   schedule_virtual_load 0.3

       minimum_free_disk_space
               k/M/G/T 1k1M1G1T 128M

              gfarm2.confgfmd.conf  gfmd  Gfarm

              :

                   minimum_free_disk_space 1G

       simultaneous_replication_receivers
              gfmd  20

              :

                   simultaneous_replication_receivers 40

       gfsd_connection_cache
              gfarmgfsd 16

              :

                   gfsd_connection_cache 32

       attr_cache_limit
              gfarm 40000

              :

                   attr_cache_limit 100000

       attr_cache_timeout
              gfarm  1000 1

              :

                   attr_cache_timeout 3600000

       log_level
                syslog  "emerg",  "alert", "crit", "err", "warning", "notice",
              "info", "debug" "info" "crit"

              :

                   log_level debug

       log_message_verbose_level
               00ID 10 21

              :

                   log_message_verbose_level 1

       no_file_system_node_timeout
               Gfarm  30

              :

                   no_file_system_node_timeout 30

       gfmd_reconnection_timeout
                30

              :

                   gfmd_reconnection_timeout 30

GRAMMAR

       gfarm2.confBNF

            <statement> ::=
                   <spool_statement> |
                   <spool_server_listen_address_statement> |
                   <spool_server_cred_type_statement> |
                   <spool_server_cred_service_statement> |
                   <spool_server_cred_name_statement> |
                   <metadb_server_host_statement> |
                   <metadb_server_port_statement> |
                   <metadb_server_cred_type_statement> |
                   <metadb_server_cred_service_statement> |
                   <metadb_server_cred_name_statement> |
                   <metadb_server_stack_size_statement> |
                   <metadb_server_thread_pool_size_statement> |
                   <metadb_server_job_queue_length_statement> |
                   <metadb_server_heartbeat_interval_statement> |
                   <metadb_server_dbq_size_statement> |
                   <ldap_server_host_statement> |
                   <ldap_server_port_statement> |
                   <ldap_base_dn_statement> |
                   <ldap_bind_dn_statement> |
                   <ldap_bind_password_statement> |
                   <postgresql_server_host_statement> |
                   <postgresql_server_port_statement> |
                   <postgresql_dbname_statement> |
                   <postgresql_user_statement> |
                   <postgresql_password_statement> |
                   <postgresql_conninfo_statement> |
                   <auth_statement> |
                   <sockopt_statement> |
                   <known_network_statement> |
                   <admin_user_statement> |
                   <admin_user_gsi_dn_statement> |
                   <local_user_map_statement> |
                   <local_group_map_statement> |
                   <schedule_cache_timeout_statement> |
                   <schedule_idle_load_thresh_statement> |
                   <schedule_busy_load_thresh_statement> |
                   <schedule_virtual_load_statement> |
                   <minimum_free_disk_space_statement> |
                   <simultaneous_replication_receivers> |
                   <gfsd_connection_cache_statement> |
                   <attr_cache_limit_statement> |
                   <attr_cache_timeout_statement> |
                   <log_level_statement> |
                   <log_message_verbose_level_statement>
            <spool_statement> ::= "spool" <pathname>
            <spool_server_listen_address_statement> ::=
                   "spool_server_listen_address" <ipv4_address>
            <spool_server_cred_type_statement> ::=
                   "spool_server_cred_type" <cred_type>
            <spool_server_cred_service_statement> ::=
                   "spool_server_cred_service" <cred_service>
            <spool_server_cred_name_statement> ::=
                   "spool_server_cred_name" <cred_name>
            <metadb_server_host_statement> ::= "metadb_server_host" <hostname>
            <metadb_server_port_statement> ::= "metadb_server_port" <portnumber>
            <metadb_server_cred_type_statement> ::=
                   "metadb_server_cred_type" <cred_type>
            <metadb_server_cred_service_statement> ::=
                   "metadb_server_cred_service" <cred_service>
            <metadb_server_cred_name_statement> ::=
                   "metadb_server_cred_name" <cred_name>
            <metadb_server_stack_size_statement> ::=
                   "metadb_server_stack_size" <number>
            <metadb_server_thread_pool_size_statement> ::=
                   "metadb_server_thread_pool_size" <number>
            <metadb_server_job_queue_length_statement> ::=
                   "metadb_server_job_queue_length" <number>
            <metadb_server_heartbeat_interval_statement> ::=
                   "metadb_server_heartbeat_interval" <number>
            <metadb_server_dbq_size_statement> ::=
                   "metadb_server_dbq_size" <number>
            <ldap_server_host_statement> ::= "ldap_server_host" <hostname>
            <ldap_server_port_statement> ::= "ldap_server_port" <portnumber>
            <ldap_base_dn_statement> ::= "ldap_base_dn" <string>
            <ldap_bind_dn_statement> ::= "ldap_bind_dn" <string>
            <ldap_bind_password_statement> ::= "ldap_bind_password" <string>
            <postgresql_server_host_statement> ::= "postgresql_server_host" <hostname>
            <postgresql_server_port_statement> ::= "postgresql_server_port" <portnumber>
            <postgresql_dbname_statement> ::= "postgresql_dbname" <string>
            <postgresql_user_statement> ::= "postgresql_user" <string>
            <postgresql_password_statement> ::= "postgresql_password" <string>
            <postgresql_conninfo_statement> ::= "postgresql_conninfo" <string>
            <auth_statement> ::=
                   "auth" <validity> <auth_method> <hostspec>
            <auth_command> ::= "enable" | "disable"
            <auth_method> ::= "gsi" | "gsi_auth" | "sharedsecret"
            <sockopt_statement> ::=
                   "sockopt" <socket_option>[=<number>] [""LISTENER" | <hostspec>]
            <socket_option> = "debug" | "keepalive" | "sndbuf" | "rcvbuf" |
                   "tcp_nodelay"
            <known_network_statement> ::= "known_network" <hostspec>
            <admin_user_statement> ::= "admin_user" <string>
            <admin_user_gsi_dn_statement> ::= "admin_user_gsi_dn" <string>
            <local_user_map_statement> ::= "local_user_map" <pathname>
            <local_group_map_statement> ::= "local_group_map" <pathname>
            <schedule_cache_timeout_statement> ::= "schedule_cache_timeout" <number>
            <schedule_idle_load_thresh_statement> ::= "schedule_idle_load_thresh" <load>
            <schedule_busy_load_thresh_statement> ::= "schedule_busy_load_thresh" <load>
            <schedule_virtual_load_statement> ::= "schedule_virtual_load" <load>
            <minimum_free_disk_space_statement> ::=
                   "minimum_free_disk_space" <size>
            <simultaneous_replication_receivers> ::= "simultaneous_replication_receivers" <number>
            <gfsd_connection_cache_statement> ::= "gfsd_connection_cache" <number>
            <attr_cache_limit_statement> ::= "attr_cache_limit" <number>
            <attr_cache_timeout_statement> ::= "attr_cache_timeout" <number>
            <log_level_statement> ::= "log_level" <log_priority>
            <log_message_verbose_level_statement> ::= "log_message_verbose_level" <number>
            <no_file_system_node_timeout_statement> ::= "no_file_system_node_timeout" <number>
            <gfmd_reconnection_timeout_statement> ::= "gfmd_reconnection_timeout" <number>
            <hostspec> ::= <ipv4_address> | <ipv4_address> "/" <address_mask> |
                   <hostname> | "." <domain_name> | "*"
            <pathname> ::= <pathname_character> <pathname_character>*
            <pathname_character> ::= <hostname_character> | "," | "/" | "_"
            <hostname> ::= <hostname_character> <hostname_character>*
            <hostname_character> ::= <alphabet> | <digit> | "-" | "."
            <portnumber> ::= <number>
            <size> ::= <number> [ "k" | "M" | "G" | "T" ]
            <number> ::= <digit> [<digit>*]
            <digit> ::= "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9"
            <string> ::= """ <double_quoted_character>* """
            <double_quoted_character> ::=
                   <any_character_except_backslash_and_double_quotation> |
                   "\\" | "\""
            <validity> ::= "enable" | "disable"
            <log_priority> ::= "emerg" | "alert" | "crit" | "err" | "warning" |
                   "notice" | "info" | "debug"

EXAMPLES

       PostgreSQLIP192.168.0.0/24 sharedsecret

       spool /var/spool/gfarm
       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
       sockopt keepalive

       LDAPIP GSI

       spool /var/spool/gfarm
       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 *
       sockopt keepalive

FILES

       %%SYSCONFDIR%%/gfarm2.conf

       $HOME/.gfarm2rc

SEE ALSO

       gfmd(8), gfsd(8), setsockopt(2)