Setting up LCG 2 UI (June 2004) on RH 7.3 Get guide from http://lcgdeploy.cvs.cern.ch/cgi-bin/lcgdeploy.cgi/lcg2/manual-install/UI/ I used guide v2.9.1 (rev. 1.7). Get and run UI_manual_install_wget - this will give you ONE big pile of RPMs. repeat rpm --test -Uvh *.rpm sorting out any conflicts. Conflicts between identical package versions (!): edg-mkgridmap-2.1.1-1_RH7.3.i386.rpm edg-gridftp-client-1.2.5-1.i386.rpm edg-site-certification-1.3.15-1.noarch.rpm edg-docs-2.0.3-1.noarch.rpm edg-mkgridmap-conf-2.1.1-1_RH7.3.i386.rpm jadetex-3.12-2.noarch.rpm Already installed: ant-1.5-5jpp ant-optional-full-1.5-5jpp ares-devel-1.1.1-2 boost-g3-1.29.1-vh6 bouncycastle-jdk14-1.19-2 ca_CERN-0.20-1 ca_CESNET-0.20-1 ca_CNRS-0.20-1 ca_CNRS-DataGrid-0.20-1 ca_CNRS-Projets-0.20-1 ca_CyGrid-0.20-1 ca_DOEGrids-0.20-1 ca_DOESG-Root-0.20-1 ca_ESnet-0.20-1 ca_FNAL-0.20-1 ca_GermanGrid-0.20-1 ca_Grid-Ireland-0.20-1 ca_GridCanada-0.20-1 ca_HellasGrid-0.20-1 ca_INFN-0.20-1 ca_LIP-0.20-1 ca_NIKHEF-0.20-1 ca_NorduGrid-0.20-1 ca_PolishGrid-0.20-1 ca_Russia-0.20-1 ca_SlovakGrid-0.20-1 ca_Spain-0.20-1 ca_UKeScience-0.20-1 classads-g3-0.9.4-vh8 classads-jar-1.1-2 cog-jar-1.1-1 commons-cli-1.0_beta2_edg-2edg edg-allschema-config-0.2.1-1 edg-brokerinfo_gcc3_2_2-2.1-5 edg-gpt-profile-1.0.0-1 edg-local-replica-catalog-interface-2.2-1 edg-profile-2.0.5-1 edg-replica-location-index-interface-2.2.0-1 edg-replica-manager-interface-1.5.0-1 edg-replica-metadata-catalog-interface-2.2-1 edg-replica-optimization-interface-2.2.0-1 edg-utils-system-1.6.1-1 edg-utils-user-1.6.1-1 edg-voms-admin-client-0.7.0-1 edg-voms-admin-devel-0.7.0-1 edg-voms-admin-interface-0.3.0-1 gacl-0.9.2-1_gcc3_2_2 gcc3-3.2.2-edg1 globus-initialization-2.2.4-5 jakarta-axis-1.1rc2-3 jakarta-commons-logging-1.0.2-1jpp jug-1.0.2_edg-edg2 junit-3.8.1-1jpp lcg-profile-1.0.1-0 lesstif-0.93.18-2 log4j-1.2.6-1jpp mpich-1.2.5-1 myproxy-config-1.1.8-13.edg1 perl-Convert-ASN1-0.16-7 perl-Crypt-SSLeay-0.35-15 perl-IO-Socket-SSL-0.92-7 perl-Net_SSLeay-1.21-7 perl-SOAP-Lite-0.55-1 perl-TermReadKey-2.17-14 perl-perl-ldap-0.26-7 python2-2.2.2-11.7.3 tix-8.2.0b1-67 tk-8.3.3-67 tkinter2-2.2.2-11.7.3 xerces-c-1.7.0-3_gcc3_2_2 xerces-j1-1.4.4-12jpp xml-commons-1.0-0.b2.1jpp xml-commons-apis-1.0-0.b2.1jpp Some packages were older then existing non-GCC3x ones, so rpm -Uvh --nodeps --force *.rpm If you had to update Java, need to check /etc/java.conf and poss. update R-GMA and ensure forced re-install of any Java-dependent stuff - e.g. bouncycastle thinks it knows where Java lives. And make sure JAVA_INSTALL_PATH has got fixed. Common Config ------------- The time server was already done, so edit as required /etc/ld.so.conf /etc/sysconfig/edg /etc/sysconfig/lcg /etc/sysconfig/globus /etc/globus.conf /etc/profile.d/lcgenv.sh /etc/profile.d/lcgenv.csh where is lxn1189.cern.ch is lcgrbp01.gridpp.rl.ac.uk Then run /opt/globus/sbin/globus-initialization.sh This gave (hopefully because of the existing stuff): --- ERROR: Setup package not found. Looking for: name=globus_common_setup,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_mds_common_setup,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_mds_gris_setup,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gatekeeper_setup,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_job_manager_setup,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_reporter_setup_fork,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_reporter_setup_pbs,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_reporter_setup_condor,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_reporter_setup_lsf,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_job_manager_setup_fork,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_job_manager_setup_pbs,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_job_manager_setup_condor,setup_name=, and setup version= ERROR: Setup package not found. Looking for: name=globus_gram_job_manager_setup_lsf,setup_name=, and setup version= loading cache ./config.cache creating ./config.status creating grid-cert-request-config creating grid-security-config --- In fact, had to delete most of the existing config files in /opt/globus/etc. The script does NOT then re-create them but things work. Replica Manager --------------- Now fill values into /opt/edg/etc/edg-replica-manager/edg-replica-manager.conf.values_local @DEFAULT.SE@|dgc-grid-34.brunel.ac.uk|the host of the close SE @DEFAULT.CE@|dgc-grid-35.brunel.ac.uk|the host of the close CE @INFOSERVICE@|MDS|The info provider to use... @RLS.MODE@|LrcOnly|... @MDS.HOST@|lxn1189.cern.ch|The host of the MDS info provider @MDS.PORT@|2170|The port of the MDS info provider @ROS.FAILURE@|false|Fail if no ROS is available (all the examples give the MDS port as 2170, but the template has 2135!) and run the configuration script /opt/edg/sbin/edg-replica-manager-configure \ /opt/edg/etc/edg-replica-manager/edg-replica-manager.conf.values_local\ --verbose and check that /opt/edg/var/etc/edg-replica-manager/edg-replica-manager.conf has been updated. Workload Manager ---------------- For each supported Virtual Organization, create a configuration directory named as the VO itself. mkdir /opt/edg/etc/cms and pico /opt/edg/etc/cms/edg_wl_ui.conf etc., where cms/edg_wl_ui.conf has VirtualOrganisation = "cms"; NSAddresses = "lxn1188.cern.ch:7772"; LBAddresses = "lxn1188.cern.ch:9000"; MyProxyServer = "lcgrbp01.gridpp.rl.ac.uk"; 3/4 of examples have final semicolon missing - this is CORRECT! Similar for "babar". Create /opt/edg/etc/edg_wl_ui_cmd_var.conf using example in docs with LoggingDestination = "lxn1188.cern.ch:9002"; DefaultVo = "cms"; Create and populate profile.d directory and set up job output dir. Edit crontab; setup log rotation. If will be wanting to use the GUI for JDL editing and job submission/tracking, configure according to sections 4.5.3.2 and 4.5.4.2 of http://server11.infn.it/workload-grid/docs/DataGrid-01-TEN-0118-1_2.pdf Copy $EDG_WL_LOCATION/etc/edg_wl_ui_gui_var.conf.template to $EDG_WL_LOCATION/etc/edg_wl_ui_gui_var.conf and change the logging destination to "lxn1188.cern.ch:9002" (and any default requirements). The JDL editor will throw a load of exceptions the first time you load a JDL file; just re-load it... Apparently, it's all done!