| 25 | |
| 26 | The installation works out of the box both in the "single server mode" |
| 27 | (1 machine for both CREAM and Torque/Maui) and in the "two servers |
| 28 | mode" (1 machine Torque/Maui + 1 machine CREAM). The only working |
| 29 | configuration - among those which I have tested - is |
| 30 | |
| 31 | EMI-1 CREAM/WN + Torque server/client 2.5.7m + Maui server 2.3.6p21 |
| 32 | |
| 33 | The concerned templates are the following: |
| 34 | |
| 35 | + cfg/grid/emi-1/glite/cream_ce/* for setup of cream |
| 36 | |
| 37 | + cfg/grid/emi-1/common/torque2/* for setup of torque |
| 38 | |
| 39 | + cfg/grid/emi-1/common/maui/* for setup of maui |
| 40 | |
| 41 | + cfg/grid/emi-1/common/blparser/* for setup of blparser |
| 42 | |
| 43 | + cfg/grid/emi-1/glite/wn/* for setup of WN |
| 44 | |
| 45 | + cfg/grid/emi-1/common/gip/* for setup of gip (not working, see below) |
| 46 | |
| 47 | + cfg/grid/emi-1/common/gridftp/* for setup of gridftp |
| 48 | |
| 49 | There are still several open problems or non-optimal soultions that |
| 50 | should be improved (normally marked as TO_BE_FIXED in the templates) |
| 51 | |
| 52 | + GIP2 and lcgndii components has not been fixed and many old configurations simply do not work. So, for the moment the resource BDII is broken. |
| 53 | |
| 54 | + bad hack to set the good torque server parameters to allow submission from the CREAM CE |
| 55 | |
| 56 | in cfg/grid/emi-1/common/torque2/server/config.tpl |
| 57 | |
| 58 | the "server authorized_users" is set by a script which invokes qmgr |
| 59 | and is created by filecopy. To remove this hack a change in the |
| 60 | pbsserver conmponent is required. |
| 61 | |
| 62 | + as it is given by the rpm the init script of the blparser requires |
| 63 | the grid env to be already set. Thus, at reboot, the daemon does not |
| 64 | find the correct env and does not start. Fixed by overwriting |
| 65 | |
| 66 | /etc/init.d/glite-ce-blparser |
| 67 | |
| 68 | with filecopy. This solution is not optimal and should be reviewd. |
| 69 | The template is |
| 70 | |
| 71 | cfg/grid/emi-1/common/blparser/config.tpl |
| 72 | |
| 73 | + the part denoted as "Configure minimal Globus environment as it is required by 'lcg-tags --ce'" in |
| 74 | |
| 75 | cfg/grid/emi-1/common/gridftp/service.tpl |
| 76 | |
| 77 | is not compiling. I've just commented it but it should be reviewed |
| 78 | |
| 79 | |
| 80 | + some weird rpm inclusion are required in the cream_ce rpm profile |
| 81 | |
| 82 | cfg/grid/emi-1/glite/cream_ce/rpms/x86_64/config.tpl |
| 83 | |
| 84 | e.g. |
| 85 | |
| 86 | "/software/packages"=pkg_repl("java-1.6.0-openjdk","1.6.0.0-1.11.b16.el5","x86_64"); |
| 87 | |
| 88 | + some reconfigurations (see below [1]) have all been grouped at the beginning of |
| 89 | |
| 90 | cfg/grid/emi-1/glite/cream_ce/config.tpl |
| 91 | |
| 92 | which is probably not the best place where to put them |
| 93 | |
| 94 | + commented the line |
| 95 | |
| 96 | include { if ( CREAM_HOMEDIR_CLEANUP ) 'lcg/ce/cleanup-accounts' }; |
| 97 | |
| 98 | in |
| 99 | |
| 100 | cfg/grid/emi-1/glite/cream_ce/config.tpl |
| 101 | |
| 102 | as it was not compiling. Should check further. |
| 103 | |
| 104 | + some of the rpm included in |
| 105 | |
| 106 | cfg/grid/emi-1/glite/wn/rpms/x86_64/config.tpl |
| 107 | |
| 108 | (see the list below [2]) are suspicious. Should doublecheck that this |
| 109 | is the good place to include them. |
| 110 | |
| 111 | + workaround by Fred for globuscfg component failure in EMI (some features are now useless). |
| 112 | At the beginning of: |
| 113 | cfg/grid/emi-1/glite/wn/service.tpl |
| 114 | |
| 115 | + EMI_LOCATION* variables defined at the beginning of |
| 116 | |
| 117 | cfg/grid/emi-1/machine-types/ce.tpl |
| 118 | |
| 119 | probably not the good place |
| 120 | |
| 121 | + had to remove some 32bit packages explicitly in the machine profile/ |
| 122 | See list below [3] |
| 123 | |
| 124 | |
| 125 | |
| 126 | [1] |
| 127 | "/software/components/glitestartup/configFile" = "/etc/gLiteservices"; |
| 128 | "/software/components/glitestartup/restartEnv" = list("/etc/profile.d/env.sh","/etc/profile.d/grid-env.sh"); |
| 129 | "/software/components/glitestartup/scriptPaths" = list("/etc/init.d"); |
| 130 | |
| 131 | variable GLOBUS_GRIDFTP_CFGFILE ?= "/usr/etc/gridftp.conf"; |
| 132 | '/software/components/profile' = component_profile_add_env( |
| 133 | GLITE_GRID_ENV_PROFILE, nlist( |
| 134 | 'GLITE_USER', 'glite', |
| 135 | 'GLITE_HOST_CERT', '/home/glite/.certs/hostcert.pem', |
| 136 | 'GLITE_HOST_KEY', '/home/glite/.certs/hostkey.pem', |
| 137 | )); |
| 138 | |
| 139 | |
| 140 | |
| 141 | "/software/components/symlink/links" = { |
| 142 | SELF[length(SELF)] = nlist("name", "/usr/var/lib/trustmanager-tomcat", |
| 143 | "target", "/var/lib/trustmanager-tomcat", |
| 144 | "replace", nlist("all","yes"), |
| 145 | ); |
| 146 | SELF; |
| 147 | }; |
| 148 | |
| 149 | |
| 150 | [2] |
| 151 | "/software/packages"=pkg_repl("c-ares","1.6.0-2.el5","x86_64"); |
| 152 | "/software/packages"=pkg_repl("util-c","1.3.1-1.sl5","x86_64"); |
| 153 | "/software/packages"=pkg_repl("bouncycastle","1.45-6.el5","x86_64"); |
| 154 | "/software/packages"=pkg_repl("classads","1.0.8-1.el5","x86_64"); |
| 155 | "/software/packages"=pkg_repl("xerces-c","2.7.0-8.el5","x86_64"); |
| 156 | "/software/packages"=pkg_repl("editline","2.9-1.sl5","x86_64"); |
| 157 | "/software/packages"=pkg_repl("java-1.6.0-openjdk","1.6.0.0-1.11.b16.el5","x86_64"); |
| 158 | "/software/packages"=pkg_repl("java-1.4.2-gcj-compat","1.4.2.0-40jpp.115","x86_64"); |
| 159 | "/software/packages"=pkg_repl("gjdoc","0.7.7-12.el5","x86_64"); |
| 160 | "/software/packages"=pkg_repl("glib2-devel","2.12.3-4.el5_3.1","x86_64"); |
| 161 | "/software/packages"=pkg_repl("jakarta-commons-cli","1.0-6jpp_10.el5","x86_64"); |
| 162 | "/software/packages"=pkg_repl("jakarta-commons-lang","2.1-5jpp.1","x86_64"); |
| 163 | "/software/packages"=pkg_repl("jakarta-commons-logging","1.0.4-6jpp.1","x86_64"); |
| 164 | "/software/packages"=pkg_repl("log4j","1.2.13-3jpp.2","x86_64"); |
| 165 | "/software/packages"=pkg_repl("openssl-devel","0.9.8e-12.el5_4.6","x86_64"); |
| 166 | "/software/packages"=pkg_repl("antlr","2.7.6-4jpp.2","x86_64"); |
| 167 | "/software/packages"=pkg_repl("krb5-devel","1.6.1-36.el5_5.2","x86_64"); |
| 168 | "/software/packages"=pkg_repl("e2fsprogs-devel","1.39-23.el5","x86_64"); |
| 169 | "/software/packages"=pkg_repl("keyutils-libs-devel","1.2-1.el5","x86_64"); |
| 170 | "/software/packages"=pkg_repl("libselinux-devel","1.33.4-5.5.el5","x86_64"); |
| 171 | "/software/packages"=pkg_repl("libsepol-devel","1.15.2-3.el5","x86_64"); |
| 172 | |
| 173 | [3] |
| 174 | "/software/packages" = pkg_del("blas","3.0-37.el5","i386"); |
| 175 | "/software/packages" = pkg_del("blas-devel","3.0-37.el5","i386"); |
| 176 | "/software/packages" = pkg_del("boost","1.33.1-15.el5","i386"); |
| 177 | "/software/packages" = pkg_del("boost-devel","1.33.1-15.el5","i386"); |
| 178 | "/software/packages" = pkg_del("lapack","3.0-37.el5","i386"); |
| 179 | "/software/packages" = pkg_del("libgfortran","4.1.2-50.el5","i386"); |
| 180 | "/software/packages" = pkg_del("libicu","3.6-5.16.1","i386"); |
| 181 | "/software/packages" = pkg_del("libxml2","2.6.26-2.1.15.el5_8.2","i386"); |
| 182 | "/software/packages" = pkg_del("pcre","6.6-2.el5_1.7","i386"); |
| 183 | "/software/packages" = pkg_del("libxml2-devel","2.6.26-2.1.15.el5_8.2","i386"); |
| 184 | |
| 185 | |