| 76 | If everything is OK, it's time to configure APEL client and broker network to use. |
| 77 | Edit the {{{/etc/apel/client.cfg}}}: |
| 78 | {{{ |
| 79 | [db] |
| 80 | hostname = localhost |
| 81 | port = 3306 |
| 82 | name = apelclient |
| 83 | username = apel |
| 84 | password = myverysecureapelpassword |
| 85 | |
| 86 | [spec_updater] |
| 87 | enabled = true |
| 88 | site_name = GOCBD-SITE-NAME |
| 89 | lrms_server = some.fqdn.lrms.id |
| 90 | ldap_host = bdii.ha.grid.org.ua |
| 91 | ldap_port = 2170 |
| 92 | |
| 93 | [joiner] |
| 94 | enabled = true |
| 95 | local_jobs = false |
| 96 | |
| 97 | [unloader] |
| 98 | enabled = true |
| 99 | dir_location = /var/spool/apel/ |
| 100 | send_summaries = true |
| 101 | withhold_dns = false |
| 102 | interval = latest |
| 103 | send_ur = false |
| 104 | |
| 105 | [ssm] |
| 106 | enabled = true |
| 107 | |
| 108 | [logging] |
| 109 | logfile = /var/log/apel/client.log |
| 110 | level = INFO |
| 111 | console = false |
| 112 | }}} |
| 113 | |
| 114 | And finally SSM configuration should be specified in {{{/etc/apel/sender.cfg}}}: |
| 115 | {{{ |
| 116 | [broker] |
| 117 | # production |
| 118 | #bdii: ldap://bdii.ha.grid.org.ua:2170 |
| 119 | #network: PROD |
| 120 | # testing |
| 121 | host: test-msg02.afroditi.hellasgrid.gr |
| 122 | port: 6163 |
| 123 | use_ssl: true |
| 124 | |
| 125 | [certificates] |
| 126 | certificate: /etc/grid-security/hostcert.pem |
| 127 | key: /etc/grid-security/hostkey.pem |
| 128 | capath: /etc/grid-security/certificates |
| 129 | |
| 130 | [messaging] |
| 131 | # production |
| 132 | # destination: /queue/global.accounting.cpu.central |
| 133 | # testing |
| 134 | destination: /queue/global.accounting.cputest.CENTRAL |
| 135 | path: /var/spool/apel/outgoing |
| 136 | |
| 137 | [logging] |
| 138 | logfile: /var/log/apel/ssmsend.log |
| 139 | level: INFO |
| 140 | console: false |
| 141 | }}} |
| 142 | |