/* ComputingElement-cfg.h ========================================================================== COMPUTING ELEMENT RESOURCES DEFINITIONS */ /* OBJECT PROFILE: add object globus, nfs and lcas ---------------------------------------------------------------------------- */ EXTRA(profile.components) globus nfs lcas profile.reconfig_globus start profile.reconfig_nfs start profile.reconfig_lcas start /* OBJECT BOOT: add objects globus and lcas ---------------------------------------------------------------------------- */ EXTRA(boot.services) globus nfs gdmp_client lcas EXTRA(boot.run) globus nfs gdmp_client lcas boot.level_globus 0 boot.level_gdmp_client 2 boot.level_lcas 2 /* OBJECT INET: add gatekeeper service to /etc/services + enable mount ---------------------------------------------------------------------------- */ EXTRA(inet.etcservices) gatekeeper inet.etcsrvconf_gatekeeper globus-gatekeeper 2119/tcp EXTRA(inet.allow) mountd portmap gatekeeper +inet.allow_mountd SITE_ALLOWED_NETWORKS +inet.allow_portmap SITE_ALLOWED_NETWORKS inet.allow_gatekeeper ALL /* OBJECT AUTH: edginfo user ---------------------------------------------------------------------------- */ EXTRA(auth.groups) edginfo auth.groupgid_edginfo 999 EXTRA(auth.users) edginfo auth.useruid_edginfo 999 auth.usergroup_edginfo edginfo auth.usercomment_edginfo EDG Info user auth.usernotcreatehome_edginfo true auth.userhome_edginfo /tmp /* OBJECTS UPDATE: use Computing Element rpmlist ---------------------------------------------------------------------------- */ +update.rpmcfg CE-rpm /* OBJECT LCAS ---------------------------------------------------------------------------- */ lcas.allowdbenabled yes lcas.allowdb /opt/edg/etc/lcas/allowed_users.db lcas.allowdblines 01 02 /* Examples: */ lcas.allowdbline_01 \"/O=dutchgrid/O=users/O=nikhef/CN=Xavier NoOne\" lcas.allowdbline_02 \"/O=dutchgrid/O=users/O=nikhef/CN=Bruce NoWhere\" lcas.bandbenabled yes lcas.bandb /opt/edg/etc/lcas/ban_users.db lcas.bandblines 01 lcas.bandbline_01 \"/O=dutchgrid/O=users/O=nikhef/CN=Xavier NoOne\" lcas.timeslotsdbenabled yes lcas.timeslotsdb /opt/edg/etc/lcas/timeslots.db lcas.timeslotsdblines 01 lcas.timeslotsdbline_01 "*" "*" "*" "*" "*" "*" /* OBJECT GLOBUS ---------------------------------------------------------------------------- */ /* globus.conf content */ globus.globusconfenabled yes globus.globusconf /etc/globus.conf /* globus.conf lines: do not leave a number without the corresponding line, or mkxprof will fail */ globus.gconflines 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 globus.gconfline_01 GLOBUS_LOCATION=/opt/globus /* Customize these lines as required */ globus.gconfline_02 GLOBUS_GATEKEEPER_SUBJECT=CE_CERT_SBJ globus.gconfline_03 GLOBUS_HOST_DN=CE_HOST_DN globus.gconfline_04 GLOBUS_ORG_DN=SITE_DN_ globus.gconfline_05 GLOBUS_GATEKEEPER_HOST=\"HOSTNAME.LOCALDOMAIN\" globus.gconfline_06 GATEKEEPER_PORT=2119 globus.gconfline_07 GATEKEEPER_LOG=/var/log/globus-gatekeeper.log globus.gconfline_08 X509_CERT_DIR=/etc/grid-security/certificates globus.gconfline_09 X509_GATEKEEPER_CERT=CE_CERT_PATH globus.gconfline_10 X509_GATEKEEPER_KEY=CE_SECKEY_PATH globus.gconfline_11 GRIDMAP=/etc/grid-security/grid-mapfile globus.gconfline_12 GLOBUS_JOBMANAGERS=CE_JOBMANAGERS globus.gconfline_13 GSIWUFTPPORT=2811 globus.gconfline_14 GSIWUFTPDLOG=/var/log/gsiwuftpd.log globus.gconfline_15 GLOBUS_FLAVOR_NAME=gcc32dbg globus.gconfline_16 GRID_INFO_EDG=yes globus.gconfline_17 GRIDMAPDIR=/etc/grid-security/gridmapdir /* Name of the GIIS "VO" where to register (ask GIIS admin) */ globus.gconfline_18 GRID_INFO_GRIS_REG_GIIS=SITE_GIIS /* Host name of the GIIS node */ globus.gconfline_19 GRID_INFO_GRIS_REG_HOST=SITE_GIIS_HOSTNAME /* To use the edg (WP4) gatekeeper: */ globus.gconfline_20 GLOBUS_GATEKEEPER=/opt/edg/sbin/edg-gatekeeper globus.gconfline_21 GLOBUS_GATEKEEPER_OPTIONS=\"-lcas_dir /opt/edg/etc/lcas -lcasmod_dir /opt/edg/lib/lcas/\" globus.gconfline_22 GLOBUS_GSIWUFTPD_UMASK=002 globus.gconfline_23 GRID_INFO_GRIS=yes globus.gconfline_24 GRID_INFO_USER=edginfo #ifdef SITE_GIIS_ON_CE EXTRA(globus.gconflines) sg1 sg2 sg3 globus.gconfline_sg1 GRID_INFO_GIIS_1=SITE_GIIS globus.gconfline_sg2 GRID_INFO_REG_GIIS_1=COUNTRY_OR_ORG_GIIS globus.gconfline_sg3 GRID_INFO_REG_HOST_1=COUNTRY_OR_ORG_GIIS_HOSTNAME #ifdef COUNTRY_GIIS_ON_CE EXTRA(globus.gconflines) sg4 sg5 sg6 globus.gconfline_sg4 GRID_INFO_GIIS_2=COUNTRY_OR_ORG_GIIS globus.gconfline_sg5 GRID_INFO_REG_GIIS_2=TOP_GIIS globus.gconfline_sg6 GRID_INFO_REG_HOST_2=TOP_GIIS_HOSTNAME #endif #endif /* Services (RedHat'style scripts in /etc/rc.d/init.d) */ globus.services gkeep edgmds globmds wuftpd crlup loclog mkgmap globus.servenabled_gkeep yes globus.servname_gkeep globus-gatekeeper globus.servenabled_edgmds no globus.servname_edgmds edginfo-mds globus.servenabled_globmds yes globus.servname_globmds globus-mds globus.servenabled_wuftpd yes globus.servname_wuftpd globus-gsi_wuftpd globus.servenabled_crlup yes globus.servname_crlup edg-crl-upgraded globus.servenabled_loclog yes globus.servname_loclog locallogger globus.servenabled_mkgmap no globus.servname_mkgmap edg-gridmapfile-upgraded /* GRIS config */ globus.grisenabled yes globus.grisconfig /etc/edg/info-mds.conf globus.grisconflines 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 \ 21 22 23 24 25 26 27 28 globus.grisconfline_01 WP3_DEPLOY=/opt/edg/info/mds globus.grisconfline_02 FTREE_INFO_PORT=2171 globus.grisconfline_03 FTREE_DEBUG_LEVEL=0 /* Don't change this unless you really know what you're doing. */ globus.grisconfline_04 SITE_DN=Mds-Vo-Name=local,o=Grid /* site information */ globus.grisconfline_05 SITE_INFO=yes globus.grisconfline_06 SITE_NAME=SITE_NAME_ globus.grisconfline_07 SITE_INSTALLATION_DATE=SITE_INSTALLATION_DATE_ globus.grisconfline_08 SITE_CPU_RESOURCE_DESCRIPTION=CE_CPU_DESC globus.grisconfline_09 SITE_DISK_RESOURCE_DESCRIPTION=CE_DISK_DESC globus.grisconfline_10 SITE_SYSADMIN_CONTACT=CE_SYSADMIN globus.grisconfline_11 SITE_USER_SUPPORT_CONTACT=CE_SYSADMIN globus.grisconfline_12 SITE_SECURITY_CONTACT=CE_SYSADMIN globus.grisconfline_13 SITE_DATAGRID_VERSION=SITE_EDG_VERSION globus.grisconfline_14 SITE_SE_HOSTS=SITE_SE_HOSTS_ globus.grisconfline_15 SITE_CE_HOSTS=SITE_CE_HOSTS_ /* network monitoring */ globus.grisconfline_16 NETMON_PRESENT=no globus.grisconfline_17 NETMON_PINGER_HOST=HOSTNAME.LOCALDOMAIN /* CE configuration */ globus.grisconfline_18 CE_PRESENT=yes globus.grisconfline_19 CE_HOST=HOSTNAME.LOCALDOMAIN globus.grisconfline_20 CE_BATCHSYSTEM=CE_BATCHSYSTEM_ globus.grisconfline_21 CE_CLUSTER_BATCH_SYSTEM_BIN_PATH=CE_BATCHSYSTEM_BIN_PATH globus.grisconfline_22 CE_STATIC_LDIF=/opt/edg/info/mds/etc/ldif/ce-static.ldif /* comma separated list with no spaces */ globus.grisconfline_23 CE_QUEUE=CE_QUEUE_ /* comma separated list with no spaces */ globus.grisconfline_24 CE_CLOSE_SE_ID=CE_CLOSE_SE_ID_ /* comma separated list with no spaces, these values must relate to the corresponding CLOSE_SE_ID */ globus.grisconfline_25 CE_CLOSE_SE_MOUNT_POINT=CE_CLOSE_SE_MOUNTPOINT globus.grisconfline_26 GRID_INFO_USER=edginfo globus.grisconfline_27 SITE_NETMON_HOST=no globus.grisconfline_28 SITE_NETMON_HOSTS=none /* If you want to collect and publish data from a network monitor and you've defined NETMON_HOST_ in the site-cfg.h, fill in the following. */ #ifdef NETMON_HOST_ EXTRA(globus.grisconflines) nm01 nm02 nm03 nm04 nm05 nm06 globus.grisconfline_nm01 # Extra Bits to Provide Network Information globus.grisconfline_nm02 NETMON_PRESENT=yes globus.grisconfline_nm03 NETMON_HOSTS=NETMON_HOST_,NETMON_HOST_,NETMON_HOST_ globus.grisconfline_nm04 NETMON_TOOLS=pinger,iperfer,udpmon globus.grisconfline_nm05 NETMON_SITE=0 globus.grisconfline_nm06 NETMON_NES=LOCALDOMAIN #endif /* CE InformationProviders */ globus.ceinfoprovenabled yes globus.ceinfoprovconf /opt/edg/info/mds/etc/ldif/ce-static.ldif globus.ceinfoprovlines 01 02 03 04 05 06 07 08 09 10 11 12 13 globus.ceinfoprovline_01 Architecture: intel globus.ceinfoprovline_02 OpSys: RH 6.2 globus.ceinfoprovline_03 MinPhysMemory: CE_IP_MINPHYSMEM globus.ceinfoprovline_04 MinLocalDiskSpace: CE_IP_MINLOCDISK globus.ceinfoprovline_05 NumSMPs: CE_IP_NUMSMPS globus.ceinfoprovline_06 MinSPUProcessors: CE_IP_MINSPUPROC globus.ceinfoprovline_07 MaxSPUProcessors: CE_IP_MAXSPUPROC globus.ceinfoprovline_08 AverageSI00: CE_IP_AVRSI00 globus.ceinfoprovline_09 MinSI00: CE_IP_MINSI00 globus.ceinfoprovline_10 MaxSI00: CE_IP_MAXSI00 globus.ceinfoprovline_11 AFSAvailable: CE_IP_AFS_AFSAVAILABLE globus.ceinfoprovline_12 InboundIP: CE_IP_INBOUNDIP globus.ceinfoprovline_13 OutboundIP: CE_IP_OUTBOUNDIP #ifdef CE_IP_RUNTIMEENV1 EXTRA(globus.ceinfoprovlines) rt1 globus.ceinfoprovline_rt1 RunTimeEnvironment: CE_IP_RUNTIMEENV1 #endif #ifdef CE_IP_RUNTIMEENV2 EXTRA(globus.ceinfoprovlines) rt2 globus.ceinfoprovline_rt2 RunTimeEnvironment: CE_IP_RUNTIMEENV2 #endif #ifdef CE_IP_RUNTIMEENV3 EXTRA(globus.ceinfoprovlines) rt3 globus.ceinfoprovline_rt3 RunTimeEnvironment: CE_IP_RUNTIMEENV3 #endif #ifdef CE_IP_RUNTIMEENV4 EXTRA(globus.ceinfoprovlines) rt4 globus.ceinfoprovline_rt4 RunTimeEnvironment: CE_IP_RUNTIMEENV4 #endif #ifdef CE_IP_RUNTIMEENV5 EXTRA(globus.ceinfoprovlines) rt5 globus.ceinfoprovline_rt5 RunTimeEnvironment: CE_IP_RUNTIMEENV5 #endif #ifdef CE_IP_RUNTIMEENV6 EXTRA(globus.ceinfoprovlines) rt6 globus.ceinfoprovline_rt6 RunTimeEnvironment: CE_IP_RUNTIMEENV6 #endif #ifdef CE_IP_RUNTIMEENV7 EXTRA(globus.ceinfoprovlines) rt7 globus.ceinfoprovline_rt7 RunTimeEnvironment: CE_IP_RUNTIMEENV7 #endif #ifdef CE_IP_RUNTIMEENV8 EXTRA(globus.ceinfoprovlines) rt8 globus.ceinfoprovline_rt8 RunTimeEnvironment: CE_IP_RUNTIMEENV8 #endif #ifdef CE_IP_RUNTIMEENV9 EXTRA(globus.ceinfoprovlines) rt9 globus.ceinfoprovline_rt9 RunTimeEnvironment: CE_IP_RUNTIMEENV9 #endif #ifdef CE_IP_RUNTIMEENV10 EXTRA(globus.ceinfoprovlines) rt10 globus.ceinfoprovline_rt10 RunTimeEnvironment: CE_IP_RUNTIMEENV10 #endif #ifdef CE_IP_RUNTIMEENV11 EXTRA(globus.ceinfoprovlines) rt11 globus.ceinfoprovline_rt11 RunTimeEnvironment: CE_IP_RUNTIMEENV11 #endif #ifdef CE_IP_RUNTIMEENV12 EXTRA(globus.ceinfoprovlines) rt12 globus.ceinfoprovline_rt12 RunTimeEnvironment: CE_IP_RUNTIMEENV12 #endif #ifdef CE_IP_RUNTIMEENV13 EXTRA(globus.ceinfoprovlines) rt13 globus.ceinfoprovline_rt13 RunTimeEnvironment: CE_IP_RUNTIMEENV13 #endif #ifdef CE_IP_RUNTIMEENV14 EXTRA(globus.ceinfoprovlines) rt14 globus.ceinfoprovline_rt14 RunTimeEnvironment: CE_IP_RUNTIMEENV14 #endif #ifdef CE_IP_RUNTIMEENV15 EXTRA(globus.ceinfoprovlines) rt15 globus.ceinfoprovline_rt15 RunTimeEnvironment: CE_IP_RUNTIMEENV15 #endif /* OBJECT NFS: home mounted by WorkerNodes and StorageElement ---------------------------------------------------------------------------- */ EXTRA(nfs.exports) home +nfs.fs_home /home +nfs.options_home SITE_WN_HOSTS(rw,no_root_squash) SITE_SE_HOSTS_(rw,no_root_squash) /* OBJECT NFSMOUNT: mount home directories ---------------------------------------------------------------------------- */ EXTRA(nfsmount.nfsmount) flatf nfsmount.nfsdetails_flatf CE_MOUNTPOINT_SE_AREA SE_HOSTNAME:SE_GDMP_AREA /* GDMP Client ---------------------------------------------------------------------------*/ EXTRA(profile.components) gdmp_client profile.reconfig_gdmp_client start gdmp_client.localserver SE_HOSTNAME gdmp_client.config /opt/edg/sbin/configure_gdmp_client gdmp_client.basedir /opt/edg #ifdef SE_VO_ALICE EXTRA(gdmp_client.vo) alice #endif #ifdef SE_VO_ATLAS EXTRA(gdmp_client.vo) atlas #endif #ifdef SE_VO_CMS EXTRA(gdmp_client.vo) cms #endif #ifdef SE_VO_LHCB EXTRA(gdmp_client.vo) lhcb #endif #ifdef SE_VO_BIOM EXTRA(gdmp_client.vo) biome #endif #ifdef SE_VO_EOBS EXTRA(gdmp_client.vo) eo #endif #ifdef SE_VO_WPSIX EXTRA(gdmp_client.vo) wpsix #endif #ifdef SE_VO_ITEAM EXTRA(gdmp_client.vo) iteam #endif #ifdef SE_VO_TUTOR EXTRA(gdmp_client.vo) tutor #endif #ifdef SE_VO_CG EXTRA(gdmp_client.vo) cg #endif