arc.conf Template for SMSCG Sites
Below arc.conf template can be downloaded from https://repo.smscg.ch/smscg/arc.conf.
Color codes:
- green: configuration block
- red: configuration part you may have to adapt
- gray: comments of configuration options
- blue: links to SMSCG documentation
- NEW/CHANGED in ARC1
arc.conf
[common] pbs_bin_path="/usr/bin" pbs_log_path="/var/spool/pbs/server_logs" hostname="bacchus.switch.ch" lrms="fork" globus_tcp_port_range="9000,12000" globus_udp_port_range="9000,12000" # About Certificates x509_user_key="/etc/grid-security/hostkey.pem" x509_user_cert="/etc/grid-security/hostcert.pem" x509_cert_dir="/etc/grid-security/certificates" gridmap="/etc/grid-security/grid-mapfile" #about enabling/disabling VOs in general [vo] id="vo0" vo="smscg" file="/etc/grid-security/grid-mapfile" source="file:///etc/grid-security/local_users" [vo] id="vo1" vo="smscg_life" source="vomss://voms.smscg.ch:8443/voms/life" file="/etc/grid-security/grid-mapfile" mapped_unixid="life001" [vo] id="vo2" vo="smscg_crypto" source="vomss://voms.smscg.ch:8443/voms/crypto" file="/etc/grid-security/grid-mapfile" mapped_unixid="crypto001" # VO tutor (how to enable/disable) #[vo] #id="vo3" #vo="smscg_tutor" #source="vomss://voms.smscg.ch:8443/voms/tutor" #file="/etc/grid-security/grid-mapfile" #mapped_unixid="tutor001" [vo] id="vo4" vo="smscg_earth" source="vomss://voms.smscg.ch:8443/voms/earth" file="/etc/grid-security/grid-mapfile" mapped_unixid="earth001" [vo] id="vo5" vo="smscg" source="vomss://voms.smscg.ch:8443/voms/smscg" file="/etc/grid-security/grid-mapfile" mapped_unixid="smscg001" [vo] id="vo6" vo="smscg" source="vomss://voms.smscg.ch:8443/voms/atlas" file="/etc/grid-security/grid-mapfile" mapped_unixid="atlas001" [group/banned] file="/etc/grid-security/banned_users" [group/locals] file="/etc/grid-security/local_users" [group/life_auth] # syntax: voms="<vo_name> <vo_group>, <vo_role>, <vo_Capability>
# notice, that vo_Capability is obsoleted since long voms="life /life * *" [group/crypto_auth] voms="crypto /crypto * *" [group/tutor_auth] voms="tutor /tutor * *" [group/earth_auth] voms="earth /earth * *" [group/smscg_auth] voms="smscg /smscg * *" [grid-manager] #pidfile="/var/run/grid-manager.pid" tmpdir="/var/spool/nordugrid/jobstatus" controldir="/var/spool/nordugrid/jobstatus" sessiondir="/nordugrid/scratch/grid" runtimedir="/nordugrid/SOFTWARE/runtime" # detailed info on caching and stageing [pdf] cachedir="/nordugrid/scratch/cache" cachesize="80 70" cachelifetime="30d" localtransfer="no" debug="4" logfile="/var/log/smscg/grid-manager.log" logsize="100000 2" gnu_time="/usr/bin/time" shared_filesystem="yes" mail="grid@switch.ch" joblog="/var/log/smscg/gm-jobs.log" wakeupperiod="60" securetransfer="no" passivetransfer="no" speedcontrol="0 300 0 300" norootpower="yes" maxrerun="5" maxtransfertries="10" # accouting with SGAS authplugin="FINISHED timeout=30,onfailure=pass /usr/libexec/arc/arc-ur-logger %C %I %S %U"
#fair shares and job rate configuration
# maxjobs number1 number2 - specifies maximum allowed number of jobs.
# number1 - jobs which are not in FINISHED state (jobs tracked in RAM)
# number2 - jobs being run (SUBMITTING, INLRMS states)
# Missing number or -1 means no limit. maxjobs="10000 10"
# maxload number1 number2 number3 - specifies maximum allowed number of jobs.
# number1 - jobs being processed on frontend (PREPARING, FINISHING states)
# number2 - additional reserved number of jobs being processed on frontend
# number3 - number of files being transfered simultaneously by job in
# PREPARING and FINISHING states. Missing number or -1 means no limit. maxload="10 2 5"
# defaultttl [ttl [ttr]] - ttl is the time in seconds for how long a session
# directory will survive after job execution has finished. If not specified
# the default is 1 week. ttr is how long information about a job will be kept.
# If not specified, the ttr default is one month. defaultttl="259200" [gridftpd] debug="4" logfile="/var/log/smscg/gridftpd.log" logsize="100000 2" pidfile="/var/run/gridftpd.pid" port="2811" pluginpath="/usr/lib/arc" # OR # pluginpath="/usr/lib64/arc" encryption="no" allowunknown="no" maxconnections="200" unixgroup="banned mapfile /etc/grid-security/banned_users" unixgroup="locals mapfile /etc/grid-security/local_users" unixgroup="life_auth simplepool /etc/grid-security/gridmapdir/life" #unixgroup="tutor_auth simplepool /etc/grid-security/gridmapdir/tutor" #unixgroup="crypto_auth simplepool /etc/grid-security/gridmapdir/crypto" #unixgroup="earth_auth simplepool /etc/grid-security/gridmapdir/earth" unixgroup="smscg_auth simplepool /etc/grid-security/gridmapdir/smscg" unixmap="terminator:grid all" [gridftpd/filedir] plugin="fileplugin.so" groupcfg="locals smscg_auth life_auth" # detailed info on caching and stageing [pdf] path="/stage" mount="/nordugrid/scratch/stagedir" dir="/ read cd dirlist delete create *:* 600:600 mkdir *:* 700:700" dir="/smscg read cd dirlist delete create *:* 660:660" [gridftpd/gacldir] # detailed info on caching and stageing [pdf] plugin="gaclplugin.so" groupcfg="locals smscg_auth life_auth" path="/gacl" mount="/nordugrid/scratch/GACL" gacl="<gacl><entry><person><dn>$subject</dn></person><allow><list/><read/><write/><admin/></allow></entry></gacl>" [gridftpd/jobs] path="/jobs" plugin="jobplugin.so" groupcfg="locals smscg_auth life_auth" # planning a scheduled downtime #allownew=no allownew="yes" maxjobdesc="5242880" Please check entire [infosys blob for changes] [infosys] overwrite_config="yes" oldconfsuffix=".oldconfig" hostname="bacchus.switch.ch" port="2135" debug="2" slapd_loglevel="1" slapd_hostnamebind="*" threads="128" timelimit="1800" registrationlog="/var/log/arc/inforegistration.log" providerlog="/var/log/arc/infoprovider.log" provider_loglevel="2" user="root" infosys_debug="disable" #infosys_compat=enable infosys_nordugrid="enable" infosys_glue12="disable" infosys_glue2_ldap="disable" bdii_location="/usr" #o="local" bdii_tmp_dir="/var/tmp/bdii" bdii_var_dir="/var/run/bdii" bdii_log_dir="/var/log/arc" bdii_cmd="/etc/init.d/bdii" bdii_update_cmd="/usr/sbin/bdii-update" [infosys/cluster/registration/clustertosmscg] targethostname="idgc3grid06.uzh.ch" targetport="2135" targetsuffix="mds-vo-name=Switzerland,o=grid" registrantport="2135" regperiod="50" [infosys/cluster/registration/clustertoSMSCG] targethostname="giis.smscg.ch" targetport="2135" targetsuffix="mds-vo-name=Switzerland,o=grid" regperiod="30" [cluster] hostname="bacchus.switch.ch" cluster_alias="SWITCH SMSCG TEST" comment="This cluster is a toy 'cluster' for middleware testing" cluster_location="Zurich" cluster_owner="SWITCH" clustersupport="grid@switch.ch" lrmsconfig="single job per processor" homogeneity="True" architecture="adotf" opsys="Debian 6.0" middleware="SMSCG" nodeaccess="inbound" nodeaccess="outbound" [queue/short] name="short" comment="This queue is nothing more than a test pbs pool" totalcpus="1" cachetime="30" timelimit="30" sizelimit="5000" # nodememory - this is the amount of memory (specified in MB) on the node
# which can be guaranteed to be available for the application. Please note
# in most cases it is less than the physical memory installed in the nodes.
# Do NOT set this attribute on cluster level if the NODES are inhomogeneous
# with respect to their memories, instead arrange the nodes into homogeneous
# groups assigned to a queue and use queue-level attributes. nodememory="512" [logger] # accouting with SGAS log_all="https://sgas.smscg.ch:6143/sgas" log_dir=/var/spool/nordugrid/usagerecords/
