159 | | |
160 | | = GridFTP server = |
| 164 | == Installation == |
| 165 | * install QCG-Broker client using YUM Package Manager: |
| 166 | {{{ |
| 167 | #!div style="font-size: 90%" |
| 168 | {{{#!sh |
| 169 | yum install qcg-broker-client |
| 170 | }}} |
| 171 | }}} |
| 172 | |
| 173 | The client is installed into three directories: |
| 174 | * ''/usr/share/qcg/qcg-broker-client'' - scripts and jars needed to run the client |
| 175 | * ''/etc/qcg/qcg-broker-client'' - configuration file for the client |
| 176 | * ''/usr/bin'' - links to qcg-* commands |
| 177 | |
| 178 | |
| 179 | == Configuration == |
| 180 | * To configure the client please edit the ''/etc/qcg/qcg-broker-client/qcg-broker-client.conf'' file. |
| 181 | |
| 182 | {{{ |
| 183 | #!div style="font-size: 90%" |
| 184 | {{{#!sh |
| 185 | vi /etc/qcg/qcg-broker-client/qcg-broker-client.conf |
| 186 | }}} |
| 187 | }}} |
| 188 | |
| 189 | The following properties have to be set: |
| 190 | * QCG_URL_DEFAULT - the URL of QCG-Broker service |
| 191 | * QCG_DN_DEFAULT - the Distinguished Name of the QCG-Broker service |
| 192 | * QCG_CLIENT_LOCATION_DEFAULT - the location ot the client. This value is set during the installation procedure and |
| 193 | |
| 194 | Optionally it is possible to configure the host and port of GridFTP service which will be used by client to staging input/output files |
| 195 | * GFTP_HOSTNAME - hostname of the host where the gridFTP service is installed. If the property is not set the default value is hostname of the host where the client is installed, |
| 196 | * GFTP_PORT - port which the gridFTP service is listening on. If the property is not set the default value is "2811". |
| 197 | |
| 198 | Additionally it is possible to configure also the settings responsible for defining the policy for creation and refreshing of user's proxy. |
| 199 | * QCG_PROXY_DURATION_DEFAULT - default length in hours of the created proxy |
| 200 | * QCG_PROXY_DURATION_MIN - minimal acceptable lifetime of the proxy. If the remaining lifetime of the proxy is smaller then the value, the proxy will be automatically recreated. |
| 201 | |
| 202 | |
| 203 | The example of the configuration file can be seen below: |
| 204 | {{{ |
| 205 | #!div style="font-size: 90%" |
| 206 | {{{#!sh |
| 207 | export QCG_CLIENT_LOCATION=/usr/share/qcg/qcg-broker-client |
| 208 | |
| 209 | export QCG_URL_DEFAULT="https://qcg-broker.man.poznan.pl:8443/qcg/services/" |
| 210 | export QCG_DN_DEFAULT="/C=PL/O=GRID/O=PSNC/CN=qcg-broker/qcg-broker.man.poznan.pl" |
| 211 | |
| 212 | export GFTP_HOSTNAME=qcg.man.poznan.pl |
| 213 | export GFTP_PORT=2811 |
| 214 | |
| 215 | export QCG_PROXY_DURATION_DEFAULT=600 |
| 216 | export QCG_PROXY_DURATION_MIN=480 |
| 217 | }}} |
| 218 | }}} |
| 219 | |
| 220 | = Optional steps = |
| 221 | == GridFTP server == |
273 | | |
274 | | = QCG-Broker client = |
275 | | == Installation == |
276 | | * install QCG-Broker client using YUM Package Manager: |
277 | | {{{ |
278 | | #!div style="font-size: 90%" |
279 | | {{{#!sh |
280 | | yum install qcg-broker-client |
281 | | }}} |
282 | | }}} |
283 | | |
284 | | The client is installed into three directories: |
285 | | * ''/usr/share/qcg/qcg-broker-client'' - scripts and jars needed to run the client |
286 | | * ''/etc/qcg/qcg-broker-client'' - configuration file for the client |
287 | | * ''/usr/bin'' - links to qcg-* commands |
288 | | |
289 | | |
290 | | == Configuration == |
291 | | * To configure the client please edit the ''/etc/qcg/qcg-broker-client/qcg-broker-client.conf'' file. |
292 | | |
293 | | {{{ |
294 | | #!div style="font-size: 90%" |
295 | | {{{#!sh |
296 | | vi /etc/qcg/qcg-broker-client/qcg-broker-client.conf |
297 | | }}} |
298 | | }}} |
299 | | |
300 | | The following properties have to be set: |
301 | | * QCG_URL_DEFAULT - the URL of QCG-Broker service |
302 | | * QCG_DN_DEFAULT - the Distinguished Name of the QCG-Broker service |
303 | | * QCG_CLIENT_LOCATION_DEFAULT - the location ot the client. This value is set during the installation procedure and |
304 | | |
305 | | Optionally it is possible to configure the host and port of GridFTP service which will be used by client to staging input/output files |
306 | | * GFTP_HOSTNAME - hostname of the host where the gridFTP service is installed. If the property is not set the default value is hostname of the host where the client is installed, |
307 | | * GFTP_PORT - port which the gridFTP service is listening on. If the property is not set the default value is "2811". |
308 | | |
309 | | Additionally it is possible to configure also the settings responsible for defining the policy for creation and refreshing of user's proxy. |
310 | | * QCG_PROXY_DURATION_DEFAULT - default length in hours of the created proxy |
311 | | * QCG_PROXY_DURATION_MIN - minimal acceptable lifetime of the proxy. If the remaining lifetime of the proxy is smaller then the value, the proxy will be automatically recreated. |
312 | | |
313 | | |
314 | | The example of the configuration file can be seen below: |
315 | | {{{ |
316 | | #!div style="font-size: 90%" |
317 | | {{{#!sh |
318 | | export QCG_CLIENT_LOCATION=/usr/share/qcg/qcg-broker-client |
319 | | |
320 | | export QCG_URL_DEFAULT="https://qcg-broker.man.poznan.pl:8443/qcg/services/" |
321 | | export QCG_DN_DEFAULT="/C=PL/O=GRID/O=PSNC/CN=qcg-broker/qcg-broker.man.poznan.pl" |
322 | | |
323 | | export GFTP_HOSTNAME=qcg.man.poznan.pl |
324 | | export GFTP_PORT=2811 |
325 | | |
326 | | export QCG_PROXY_DURATION_DEFAULT=600 |
327 | | export QCG_PROXY_DURATION_MIN=480 |
328 | | }}} |
329 | | }}} |