/* site-cfg.h ================================================== EXAMPLE SITE SPECIFIC CONFIGURATION */ /* SOURCE TREE LOCATIONS -------------------------------------------------- ------------------------------------------------------------------------- */ /* Define the root locations of the Globus tree and the EDG tree. These are used in many configuration files and for setting the ld.so.conf libraries. NOTE: the underscore at the end of the define. Used to avoid confusion with the GLOBUS_LOCATION and EDG_LOCATION tags in configuration files. */ #define GLOBUS_LOCATION_ /opt/globus #define EDG_LOCATION_ /opt/edg #define EDG_LOCATION_VAR_ EDG_LOCATION_/var #define EDG_LOCATION_TMP_ /tmp /* COMMON GRID DEFINITIONS ------------------------------------------------ --------------------------------------------------------------------------- */ /* This is a space-separated list of the subject names of all of the grid's trusted brokers. Each subject name MUST be enclosed in double quotes. This is used by the MyProxy server to recognize from which brokers to allow proxy renewal. */ #define GRID_TRUSTED_BROKERS "/O=Grid/O=CERN/OU=cern.ch/CN=host/lxshare0403.cern.ch" /* COMMON SITE DEFINITIONS ------------------------------------------------ --------------------------------------------------------------------------- */ /* CE AND SE HOST NAMES. These are defined here because they are used in some of the site definitions. */ /* ComputingElement hostname */ #define CE_HOSTNAME gppce05.gridpp.rl.ac.uk /* StorageElement hostname */ #define SE_HOSTNAME gppse05.gridpp.rl.ac.uk #define SITE_LOCALDOMAIN gridpp.rl.ac.uk #define SITE_MAILROOT edg-site-admin@gridpp.rl.ac.uk #define SITE_GATEWAYS 130.246.184.254 /* Allowed networks (useful for tcpwrappers) */ #define SITE_ALLOWED_NETWORKS 127.0.0.1, 130.246.184. , 130.246.185. , 130.246.186. , 130.246.187. #define SITE_NAMESERVERS 130.246.8.13 130.246.72.21 130.246.56.240 /* The netmask, network and broadcast should be set explicitly. */ /* Change the (CERN) example values below. */ #define SITE_NETMASK 255.255.252.0 #define SITE_NETWORK 130.246.184.0 #define SITE_BROADCAST 130.246.187.255 /* NTP server (domain and hostname) */ /*#define SITE_NTP_DOMAIN cern.ch */ #define SITE_NTP_HOSTNAME ntp0.rl.ac.uk ntp1.rl.ac.uk ntp2.rl.ac.uk /* The time zone */ #define SITE_TIMEZONE Europe/London /* Site name */ #define SITE_NAME_ gridpp.rl.ac.uk /* Site EDG version */ #define SITE_EDG_VERSION v2_0_1 /* Site installation date year month day time */ #define SITE_INSTALLATION_DATE_ 20030722104000Z /* Site distinguished name. */ #define SITE_DN_ \"dc=gridpp, dc=rl, dc=ac, dc=uk, o=Grid\" #define SITE_LCFG_SERVER gpplcfg.gridpp.rl.ac.uk /* NFS access control is done via host names. The gridmapdir and home areas are typically exported from the CE (gatekeeper) and the SE cache area is exported from the SE. The definitions below are appropriate for sites with one SE and one CE. Sites with multiple SEs or CEs will have to modify the individual configuration files (as well as the definitions below). The actual NFS options lists are correct if the *HOSTS values can be expressed as a single wildcarded value. If this is not the case, then the ACLs will have to be specified manually. */ #define SITE_CE_HOSTS CE_HOSTNAME #define SITE_SE_HOSTS SE_HOSTNAME #define SITE_WN_HOSTS gpp*.gridpp.rl.ac.uk #define SITE_NFS_ACL_FROM_CE SITE_SE_HOSTS(rw,no_root_squash) SITE_WN_HOSTS(rw,no_root_squash) #define SITE_NFS_ACL_FROM_SE SITE_CE_HOSTS(rw,no_root_squash) SITE_WN_HOSTS(rw,no_root_squash) /* The default configuration of MDS is that there is a GRIS running on each functional node (CE, SE). There is a single site-level GIIS running be default on the CE. This site-level GIIS then registers to the top-level GIIS for the production or development testbed. The details are handled via the globuscfg configuration object. */ /* Usually use a name like nikhefpro or nikhefdev for the production or development testbeds. */ #define SITE_GIIS raldev #define SITE_GIIS_HOSTNAME CE_HOSTNAME /* These point to the next highest level in the MDS hierarchy. Ask to find out the parameters for this. At time of tagging these were: edgdev on lxshare0372.cern.ch for DEVELOPMENT Testbed edgpro on lxshare0373.cern.ch for PRODUCTION (Application) Testbed but DO ask to be sure.*/ #define TOP_GIIS none #define TOP_GIIS_HOSTNAME none.cern.ch #define SITE_GIIS_ON_CE 1 #define COUNTRY_GIIS_ON_CE 1 /* Usually the R-GMA server and fabric monitoring are put on the same node. Change the lines below if this is not the case for your site. */ #define SITE_MON_HOST gpprg05.gridpp.rl.ac.uk /* You MUST use the quotes and space for the value. If you use a comma, PBS job submissions will fail! */ #define SITE_GLOBUS_TCP_RANGE "50000 52000" /* The location of the site GOUT daemon. (Usually on MON box.) */ #define SITE_GOUT_HOST SITE_MON_HOST #define SITE_GOUT_PORT 2169 /* SITE BDII ------------------------------------------------------- --------------------------------------------------------------------------- */ /* The information concerning the BDII associated with the resource broker. If you run a RB at your site you should also run a BDII. The password is the result of running slappasswd on the plain text password. The quotes are important. */ #define SITE_BDII_HOST gpprg05.gridpp.rl.ac.uk #define SITE_BDII_PORT 2169 #define SITE_BDII_PASSWD \"{SSHA}919X1lDSoORGrx1dJXdve7KUsmER0704\" #define SITE_BDII_PASSWD_PLAIN something /* SITE R-GMA ------------------------------------------------------- --------------------------------------------------------------------------- */ #define GRID_RGMA_INFO_CATALOG gppic06.gridpp.rl.ac.uk #define SITE_RGMA_SERVER SITE_MON_HOST /* Comment this line, if a GOUT server is not desired. You only need one if you are running an RB at your site and want to attach it to RGMA. */ #define RGMA_RUN_GOUT #define NETMON_HOST gppnm06.gridpp.rl.ac.uk /* SITE MONITORING -------------------------------------------------- --------------------------------------------------------------------------- */ /* Comment this out if site fabric monitoring is not desired. */ /* Must modify the BASE-rpm file to enable or disable the fabric monitoring. */ #define SITE_FABRIC_MON_SERVER SITE_MON_HOST /* COMMON DEFAULT VALUES -------------------------------------------------- --------------------------------------------------------------------------- */ /* This defines the default location for the host certificates. If this is different for your site define the new value here. If you need to change it for the CE or SE separately, see below. */ #define SITE_DEF_HOST_CERT /etc/grid-security/hostcert.pem #define SITE_DEF_HOST_KEY /etc/grid-security/hostkey.pem #define SITE_DEF_GRIDMAP /etc/grid-security/grid-mapfile #define SITE_DEF_GRIDMAPDIR /share/grid-security/gridmapdir/ /* RLS PARAMETERS -------------------------------------------------------- --------------------------------------------------------------------------- */ #define RLS_LRC_ALICE_USER edglrc_alice #define RLS_LRC_ATLAS_USER edglrc_atlas #define RLS_LRC_CMS_USER edglrc_cms #define RLS_LRC_LHCB_USER edglrc_lhcb #define RLS_LRC_DZERO_USER edglrc_dzero #define RLS_LRC_BIOM_USER edglrc_biom #define RLS_LRC_EOBS_USER edglrc_eobs #define RLS_LRC_WPSIX_USER edglrc_wpsix #define RLS_LRC_ITEAM_USER edglrc_iteam #define RLS_LRC_TUTOR_USER edglrc_tutor #define RLS_LRC_BABAR_USER edglrc_babar #define RLS_LRC_LCG_USER edglrc_lcg #define RLS_LRC_ALICE_PASSWORD gamma #define RLS_LRC_ATLAS_PASSWORD gamma #define RLS_LRC_CMS_PASSWORD gamma #define RLS_LRC_LHCB_PASSWORD gamma #define RLS_LRC_DZERO_PASSWORD gamma #define RLS_LRC_BIOM_PASSWORD gamma #define RLS_LRC_EOBS_PASSWORD gamma #define RLS_LRC_WPSIX_PASSWORD gamma #define RLS_LRC_ITEAM_PASSWORD gamma #define RLS_LRC_TUTOR_PASSWORD gamma #define RLS_LRC_BABAR_PASSWORD gamma #define RLS_LRC_LCG_PASSWORD gamma #define RLS_RMC_ALICE_USER edgrmc_alice #define RLS_RMC_ATLAS_USER edgrmc_atlas #define RLS_RMC_CMS_USER edgrmc_cms #define RLS_RMC_LHCB_USER edgrmc_lhcb #define RLS_RMC_DZERO_USER edgrmc_dzero #define RLS_RMC_BIOM_USER edgrmc_biom #define RLS_RMC_EOBS_USER edgrmc_eobs #define RLS_RMC_WPSIX_USER edgrmc_wpsix #define RLS_RMC_ITEAM_USER edgrmc_iteam #define RLS_RMC_TUTOR_USER edgrmc_tutor #define RLS_RMC_BABAR_USER edgrmc_babar #define RLS_RMC_LCG_USER edgrmc_lcg #define RLS_RMC_ALICE_PASSWORD gamma #define RLS_RMC_ATLAS_PASSWORD gamma #define RLS_RMC_CMS_PASSWORD gamma #define RLS_RMC_LHCB_PASSWORD gamma #define RLS_RMC_DZERO_PASSWORD gamma #define RLS_RMC_BIOM_PASSWORD gamma #define RLS_RMC_EOBS_PASSWORD gamma #define RLS_RMC_WPSIX_PASSWORD gamma #define RLS_RMC_ITEAM_PASSWORD gamma #define RLS_RMC_TUTOR_PASSWORD gamma #define RLS_RMC_BABAR_PASSWORD gamma #define RLS_RMC_LCG_PASSWORD gamma #define RLS_EMAIL SITE_MAILROOT /* NOTE: There is 1 RLS per VO. To set the VO supported by a particular RLS server, the RLS-cfg.h file must be edited. Sorry. */ /* DATA MGT PARAMETERS FOR SEVERAL NODE TYPES ---------------------------- --------------------------------------------------------------------------- */ /* These variables define which VOs your site supports. At least one must be defined. It will create 50 accounts for each defined VO. The file /opt/edg/etc/mkgridmap.conf on your CE and SE must also be modified accordingly. */ #define SE_VO_ALICE #define SE_VO_ATLAS #define SE_VO_CMS #define SE_VO_LHCB #define SE_VO_DZERO #define SE_VO_BIOM #define SE_VO_EOBS #define SE_VO_WPSIX #define SE_VO_ITEAM #define SE_VO_TUTOR #define SE_VO_BABAR /* LCG VO must be commented */ /* #define SE_VO_LCG */ /* COMPUTING ELEMENT DEFINITIONS ------------------------------------------ --------------------------------------------------------------------------- */ /* ComputingElement hostname. CE_HOSTNAME is DEFINED ABOVE. */ /* Define the batch system used for the CE. Only ONE in std. config! */ #define CE_LRMS_PBS /* #define CE_LRMS_LSF */ /* #define CE_LRMS_CONDOR */ /* Setup variables for different batch systems. */ /* With PBS the WP4 resource management may also be used. */ #ifdef CE_LRMS_PBS #define CE_LRMS_NAME pbs #define CE_USE_RTCS 0 #endif /* LSF requires manual configuration. */ #ifdef CE_LRMS_LSF #define CE_LRMS_NAME lsf #endif /* Condor requires manual configuration. */ #ifdef CE_LRMS_CONDOR #define CE_LRMS_NAME condor #endif /* If the batch commands are not in the system default path, then you must set the following with the necessary paths. */ /* #define CE_LRMS_PATHS /some/path /some/additional/path */ /* Full path of the certificate */ #define CE_CERT_PATH SITE_DEF_HOST_CERT /* Full path of the secret key */ #define CE_SECKEY_PATH SITE_DEF_HOST_KEY /* System administrator e-mail */ #define CE_SYSADMIN SITE_MAILROOT /* Local queue names */ #define CE_QUEUES S M L #define CE_QUEUE01 S #define CE_QUEUE02 M #define CE_QUEUE03 L /* Mount point(s) of the SE(s) close to this CE */ #define CE_CLOSE_SE_MOUNTPOINT /flatfiles/05 /* CPU model */ #define CE_IP_PROCESSMODEL PIII /* CPU vendor */ #define CE_IP_PROCESSVENDOR intel /* CPU speed */ #define CE_IP_PROCESSSPEED 1000 /* CE Operating System */ #define CE_IP_OS Redhat /* CE Operating System Release */ #define CE_IP_OS_RELEASE 7.3 /* CE InformationProviders: MinPhysMemory */ #define CE_IP_MINPHYSMEM 512 /* CE InformationProviders: MinVirtMemory */ #define CE_IP_MINVIRTMEM 1024 /* CE InformationProviders: SMPSize (number of cpus in an SMP box) */ #define CE_IP_SMPSIZE 2 /* CE InformationProviders: For some examples of SpecInt at http://www.specbench.org/osg/cpu2000/results/cint2000.html */ /* CE InformationProviders: SpecInt 2000 */ #define CE_IP_SI00 380 /* CE InformationProviders: SpecFloat 2000 */ #define CE_IP_SF00 400 /* CE InformationProviders: OutboundIP */ #define CE_IP_OUTBOUNDIP TRUE /* CE InformationProviders: InboundIP */ #define CE_IP_INBOUNDIP FALSE /* CE InformationProviders: RunTimeEnvironment Add or delete appropriate tags. EDG-TEST should be defined for your CE; it indicates that your site is running but hasn't yet been certified. Change this to EDG-CERTIFIED once your site has been tested by the ITeam. */ #define CE_IP_RUNTIMEENV EDG-TEST /* EDG-CERTIFIED */ CMS-1.1.0 ATLAS-3.2.1 ALICE-3.07.01 LHCb-1.1.1 IDL-5.4 CMSIM-125 ALICE-3.09.05 ALIEN-1.29.9 /* MSS-AVAILABLE */ POVRAY-3.1 DEMTOOLS RAL-PRO /* The mountpoint on the CE of the SE exported area via NFS */ #define CE_MOUNTPOINT_SE_AREA CE_CLOSE_SE_MOUNTPOINT /* Set this to 1 if you want to include the old MDS information providers. */ /* These are not necessary but may be included if desired. */ #define CE_USE_MDS_INFO 0 /* STORAGE ELEMENT DEFINITIONS -------------------------------------------- --------------------------------------------------------------------------- */ /* StorageElement hostname. SE_HOSTNAME is DEFINED ABOVE. */ /* Full path of the certificate */ #define SE_CERT_PATH SITE_DEF_HOST_CERT /* Full path of the secret key */ #define SE_SECKEY_PATH SITE_DEF_HOST_KEY /* Disk cache area for SE. */ #define SE_FILE_CACHE_AREA /flatfiles/05 /* When configuring the SE; there are two parameters. 1) SE_MSS - : disk rfio ads 2) SE_MSS_PATH - : "/bigdisk" "/castor/cern.ch/grid" "" The PATH is where files will be moved to. */ /* By default a disk SE. */ #define SE_MSS ads #define SE_MSS_PATH /export/bigdisk /* Choose between WP5 SE and gridftp SE switch between : edg-se WP5-SE and disk gridftp */ #define SE_NAME edg-se /* Define which protocols/ports are supported by SE. Comment out any line not needed. (File only needs to be defined. The value is ignored.) */ #define SE_PROTOCOL_GRIDFTP_PORT 2811 #define SE_PROTOCOL_RFIO_PORT 3147 #define SE_PROTOCOL_FILE_PORT /* Set this to 1 if you want to include the old MDS information providers. */ /* These are not necessary but may be included if desired. */ #define SE_USE_MDS_INFO 0 /* WORKER NODE DEFINITIONS ------------------------------------------------ --------------------------------------------------------------------------- */ /* The mountpoint on the WN of the SE exported area via NFS. It should be the same used for the SE */ #define WN_MOUNTPOINT_SE_AREA CE_MOUNTPOINT_SE_AREA /* USER INTERFACE DEFINITIONS --------------------------------------------- --------------------------------------------------------------------------- */ /* Resource broker */ #define UI_RESBROKER gpprb06.gridpp.rl.ac.uk /* Logging and Bookkeeping URL */ #define UI_LOGBOOK https://gpprb06.gridpp.rl.ac.uk:7846 /* AFS CLIENT CONFIGURATION ----------------------------------------------- --------------------------------------------------------------------------- */ /* NOTE: AFS is not officially supported by EDG. Configurations involving AFS are not testbed by EDG and there is no guarantee that such configurations work. Keeping the rpm list and associated configuration is on an available-effort basis. */ #define AFS_CELL your_cell /* LITE INSTALLATION SUPPORT --------------------------------------------- ----------------------------------------------------------------------- */ /* By default EDG recommand full support */ /* If you set LITE to 1 DON'T FORGET BASE-rpm */ #ifndef LITE #define LITE 0 #endif /* AUTOFS SUPPORT --------------------------------------------------------- --------------------------------------------------------------------------*/ /* By default autofs is not used but can be by defining AUTOFS to 1 */ #ifndef AUTOFS #define AUTOFS 1 #endif /* COMMON USER ACCOUNTS --------------------------------------------------- --------------------------------------------------------------------------*/ /* Check that the defaults do not conflict with any site-specific users or groups. If you are using the pooled accounts, edit the group and user IDs separately in that file. (The default has VO groups in the 2000 range and VO users in the 1000 range.) */ /* Account for running information system daemons. */ #define USER_UID_EDGINFO 999 #define USER_GID_EDGINFO 999 /* Account for running workload mgt daemons. */ #define USER_UID_EDGUSER 995 #define USER_GID_EDGUSER 995 /* Account for running tomcat4 daemon. */ #define USER_UID_TOMCAT4 91 #define USER_GID_TOMCAT4 91 /* Account for running storage element daemon. */ #define USER_UID_SE 997 #define USER_GID_SE 997 /* Account for running MySQL daemon. */ #define USER_UID_MYSQL 998 #define USER_GID_MYSQL 998 /* Account for running http (apache) daemon. */ #define USER_UID_APACHE 996 #define USER_GID_APACHE 996 /* Priviledged account for RFIO. */ #define USER_UID_STAGE 994 #define USER_GID_STAGE 994 /* Resource management system. Maui and the RTCS share a group. */ #define USER_UID_MAUI 972 #define USER_UID_RTCS 971 #define USER_GID_RMS 97