Changes between Version 1 and Version 2 of installation_QCG_BES_AR_in_PLGrid
- Timestamp:
- 05/19/11 14:36:54 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
installation_QCG_BES_AR_in_PLGrid
v1 v2 46 46 }}} 47 47 The X.509 host certificate (signed by the Polish Grid CA) and key is already installed in the following locations: 48 * /etc/grid-security/hostcert.pem49 * /etc/grid-security/hostkey.pem48 * `/etc/grid-security/hostcert.pem` 49 * `/etc/grid-security/hostkey.pem` 50 50 51 51 Most of the grid services and security infrastructures are sensitive to time skews. Thus we recommended to install a Network Time Protocol daemon or use any other solution that provides accurate clock synchronization. … … 79 79 80 80 Now you need also to add the two queues in the Torque resource manager: 81 81 {{{ 82 #!div style="font-size: 90%" 83 {{{#!sh 82 84 # 83 85 # Create and define queue plgrid-wp4 … … 108 110 set queue plgrid-wp4-produkcja enabled = True 109 111 set queue plgrid-wp4-produkcja started = True 112 }}} 113 }}} 110 114 111 115 == Installation using provided RPMS == 112 116 * Create the following users: 113 # smoa_comp - needed by the Smoa Computing service 114 # grms - the user that the GRMS (i.e. the QosCosGrid Brokering service) would be mapped to 117 * `smoa_comp` - needed by the Smoa Computing service 118 * `grms` - the user that the GRMS (i.e. the !QosCosGrid Broker service) would be mapped to 119 {{{ 120 #!div style="font-size: 90%" 121 {{{#!sh 115 122 useradd -d /opt/plgrid/var/log/smoa-comp/ -m smoa_comp 116 123 useradd -d /opt/plgrid/var/log/grms/ -m grms 124 }}} 125 }}} 117 126 * and the following group: 118 # smoa_dev - this group is allowed to read the configuration and log files. Please add the Smoa services' developers to this group. 127 * `smoa_dev` - this group is allowed to read the configuration and log files. Please add the Smoa services' developers to this group. 128 {{{ 129 #!div style="font-size: 90%" 130 {{{#!sh 119 131 groupadd smoa_dev 132 }}} 133 }}} 120 134 * install PL-Grid (official) and QCG (testing) repositories: 121 # QosCosGrid testing repository 135 * !QosCosGrid testing repository 136 {{{ 137 #!div style="font-size: 90%" 138 {{{#!sh 122 139 cat > /etc/yum.repos.d/qcg.repo << EOF 123 140 [qcg] … … 127 144 gpgcheck=0 128 145 EOF 129 # Official PL-Grid repository 146 }}} 147 }}} 148 * Official PL-Grid repository 149 {{{ 150 #!div style="font-size: 90%" 151 {{{#!sh 130 152 rpm -Uvh http://software.plgrid.pl/packages/repos/plgrid-repos-2010-2.noarch.rpm 153 }}} 154 }}} 131 155 132 156 * install Smoa Computing using YUM Package Manager: 157 {{{ 158 #!div style="font-size: 90%" 159 {{{#!sh 133 160 yum install smoa-comp 161 }}} 162 }}} 134 163 135 164 * setup Smoa Computing database using provided script: 165 {{{ 166 #!div style="font-size: 90%" 167 {{{#!sh 136 168 # /opt/plgrid/qcg/smoa/share/smoa-comp/tools/smoa-comp-install.sh 137 169 Welcome to smoa-comp installation script! … … 166 198 167 199 and reload Postgres server. 168 200 }}} 201 }}} 169 202 170 203 Add a new rule to the pg_hba.conf as requested: 204 {{{ 205 #!div style="font-size: 90%" 206 {{{#!sh 171 207 vim /var/lib/pgsql/data/pg_hba.conf 172 208 /etc/init.d/postgresql reload 209 }}} 210 }}} 173 211 174 212 Install Polish Grid and PL-Grid Simpla-CA certificates: 213 {{{ 214 #!div style="font-size: 90%" 215 {{{#!sh 175 216 wget https://dist.eugridpma.info/distribution/igtf/current/accredited/RPMS/ca_PolishGrid-1.38-1.noarch.rpm 176 217 rpm -i ca_PolishGrid-1.38-1.noarch.rpm … … 189 230 EOF 190 231 chmod a+x /etc/cron.daily/fetch-crl.cron 191 232 }}} 233 }}} 192 234 193 235 === The Grid Mapfile ===