2 | | == Installation (EL6) == |
3 | | |
4 | | BLAH logger plugin is available for ARC >= 3.0.0. For previous ARC versions you can use [#CompatversionofloggerforolderARCCEversions compat BLAH logger]. |
5 | | |
6 | | Install ARC CE plugin to write logs for APEL BLAH parser from Blackjack repo: |
7 | | {{{ |
8 | | yum -y localinstall http://blackjack.grid.org.ua/pub/linux/rhel/6x/base/x86_64/blackjack-release-6-6.noarch.rpm |
9 | | yum -y install nordugrid-arc-blahp-logger |
10 | | }}} |
11 | | |
12 | | Current ARC version is 4.x, if you need to install BLAH logger for previous version 3.x you need to specify version directly: |
13 | | {{{ |
14 | | yum -y install nordugrid-arc-blahp-logger-3.0.0 |
15 | | }}} |
16 | | |
17 | | BLAH logger also available for EL5 in Blackjack repo, for other OSes you can use [http://trac.grid.org.ua/repos/workarea/arc-misc/arc-blahp-logger/ sources]. |
| 2 | == Installation == |
| 3 | BLAH logger distributed along with {{{nordugrid-arc-arex}}} package since version 4.1.0, so with a latest version you already have logger installed. |
| 4 | |
| 5 | For previous ARC versions you can [#BLAHloggerforARC410 install standalone package from Blackjack repos]. |
180 | | == Compat version of logger for older ARC CE versions == |
| 168 | == Running ARC CE along with CREAM == |
| 169 | Not a problem, on your ARC CE you just does not need to parse LRMS logs (once they are already parsed on CREAM box) and does not need to run {{{apelclient}}} for the same reason. All you need is BLAH logger and APEL parser to parse only one more BLAH logs. |
| 170 | {{{ |
| 171 | [batch] |
| 172 | enabled = false |
| 173 | }}} |
| 174 | |
| 175 | Several ARC CEs within the same grid site can be configured the same way. |
| 176 | |
| 177 | == Configuration for SLURM LRMS == |
| 178 | 1. Please refer to the [https://twiki.cern.ch/twiki/pub/EMI/EMI3APELClient/APEL_Parsers_System_Administrator_Guide.pdf APEL Parsers System Administrator Guide] (section 4.3) for instructions how to configure SLURM to write an accounting records for APEL parser. |
| 179 | |
| 180 | 2. In APEL parser configuration specify {{{SLURM}}} type and corresponding accounting records path. |
| 181 | |
| 182 | 3. Add and extra argument to ARC BLAH logger: |
| 183 | {{{ |
| 184 | authplugin="FINISHED timeout=10,onfailure=pass /usr/libexec/arc/arc-blahp-logger -I %I -U %u -L %C/job.%I.local -P %C/job.%I.proxy -c host.fqdn:2811/nordugrid-SLURM" |
| 185 | }}} |
| 186 | |
| 187 | |
| 188 | == BLAH logger for ARC < 4.1.0 == |
| 189 | |
| 190 | For ARC 4.0.x install standalone package from Blackjack repo (EL6 only): |
| 191 | {{{ |
| 192 | yum -y localinstall http://blackjack.grid.org.ua/pub/linux/rhel/6x/base/x86_64/blackjack-release-6-6.noarch.rpm |
| 193 | yum -y install nordugrid-arc-blahp-logger |
| 194 | }}} |
| 195 | |
| 196 | For ARC 3.x you need to specify version 3.0.0 directly (EL6 only): |
| 197 | {{{ |
| 198 | yum -y install nordugrid-arc-blahp-logger-3.0.0 |
| 199 | }}} |
| 200 | |
| 201 | For previous ARC versions you can use [#CompatversionofloggerforolderARCCEversions compat BLAH logger]. |
| 202 | |
| 203 | BLAH logger also available for EL5 in Blackjack repo, for other OSes you can use [http://trac.grid.org.ua/repos/workarea/arc-misc/arc-blahp-logger/ sources]. |
| 204 | |
| 205 | === Compat version of logger for older ARC CE versions === |
193 | | == Running ARC CE along with CREAM == |
194 | | Not a problem, on your ARC CE you just does not need to parse LRMS logs (once they are already parsed on CREAM box) and does not need to run {{{apelclient}}} for the same reason. All you need is BLAH logger and APEL parser to parse only one more BLAH logs. |
195 | | {{{ |
196 | | [batch] |
197 | | enabled = false |
198 | | }}} |
199 | | |
200 | | Several ARC CEs within the same grid site can be configured the same way. |
201 | | |
202 | | == Configuration for SLURM LRMS == |
203 | | 1. Please refer to the [https://twiki.cern.ch/twiki/pub/EMI/EMI3APELClient/APEL_Parsers_System_Administrator_Guide.pdf APEL Parsers System Administrator Guide] (section 4.3) for instructions how to configure SLURM to write an accounting records for APEL parser. |
204 | | |
205 | | 2. In APEL parser configuration specify {{{SLURM}}} type and corresponding accounting records path. |
206 | | |
207 | | 3. Add and extra argument to ARC BLAH logger: |
208 | | {{{ |
209 | | authplugin="FINISHED timeout=10,onfailure=pass /usr/libexec/arc/arc-blahp-logger -I %I -U %u -L %C/job.%I.local -P %C/job.%I.proxy -c host.fqdn:2811/nordugrid-SLURM" |
210 | | }}} |