| 141 | The gridFTP service has to be configured to know the range of opened ports for connections. |
| 142 | Please edit the /etc/xinetd.d/gsiftp file and set the GLOBUS_TCP_PORT_RANGE environment variable. |
| 143 | |
| 144 | {{{ |
| 145 | #!div style="font-size: 90%" |
| 146 | {{{#!sh |
| 147 | service gsiftp |
| 148 | { |
| 149 | instances = 200 |
| 150 | per_source = 100 |
| 151 | socket_type = stream |
| 152 | wait = no |
| 153 | user = root |
| 154 | env = LD_LIBRARY_PATH=/opt/plgrid/qcg/dependencies/globus/lib |
| 155 | env += GLOBUS_LOCATION=/opt/plgrid/qcg/dependencies/globus |
| 156 | server = /opt/plgrid/qcg/dependencies/globus/sbin/globus-gridftp-server |
| 157 | server_args = -i |
| 158 | log_on_success += DURATION |
| 159 | log_on_failure += |
| 160 | nice = 10 |
| 161 | disable = no |
| 162 | env += GLOBUS_TCP_PORT_RANGE=9000,9500 |
| 163 | env += GRIDMAP=/etc/grid-security/grid-mapfile |
| 164 | } |
| 165 | |
| 166 | }}} |
| 167 | }}} |
| 168 | |
| 169 | |
| 170 | |
| 171 | |
189 | | |
| 221 | The client is installed into three directories: |
| 222 | * ''/usr/share/qcg/qcg-broker-client'' - scripts and jars needed to run client |
| 223 | * ''/etc/qcg/qcg-broker-client'' - configuration file for the client |
| 224 | * ''/usr/bin'' - links to qcg-* commands |
| 225 | |
| 226 | === Configuration === |
| 227 | |
| 228 | Edit the file ''/etc/qcg/qcg-broker-client/qcg-broker-client.conf'' to configure the client |
| 229 | |
| 230 | {{{ |
| 231 | #!div style="font-size: 90%" |
| 232 | {{{#!sh |
| 233 | vi /etc/qcg/qcg-broker-client/qcg-broker-client.conf |
| 234 | }}} |
| 235 | }}} |
| 236 | |
| 237 | The following properties has to be set: |
| 238 | * QCG_URL_DEFAULT - the URL of QCG-Broker service |
| 239 | #!div style="font-size: 90%" |
| 240 | {{{#!sh |
| 241 | export QCG_URL_DEFAULT="https://qcg-broker.man.poznan.pl:8443/qcg/services/" |
| 242 | }}} |
| 243 | }}} |
| 244 | |
| 245 | * QCG_DN_DEFAULT - the Distinguished Name of the QCG-Broker service |
| 246 | #!div style="font-size: 90%" |
| 247 | {{{#!sh |
| 248 | export QCG_DN_DEFAULT="/C=PL/O=GRID/O=PSNC/CN=qcg-broker/qcg-broker.man.poznan.pl" |
| 249 | }}} |
| 250 | }}} |
| 251 | |
| 252 | * QCG_CLIENT_LOCATION_DEFAULT - the location ot the client. This value is set during the installation procedure and |
| 253 | #!div style="font-size: 90%" |
| 254 | {{{#!sh |
| 255 | export QCG_CLIENT_LOCATION_DEFAULT=/usr/share/qcg/qcg-broker-client |
| 256 | }}} |
| 257 | }}} |
| 258 | |
| 259 | Optionally it is possible to configure the host and port of GridFTP service which will be used by client to staging input/output files |
| 260 | * 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, |
| 261 | #!div style="font-size: 90%" |
| 262 | {{{#!sh |
| 263 | export GFTP_HOSTNAME=qcg.man.poznan.pl |
| 264 | }}} |
| 265 | }}} |
| 266 | |
| 267 | * GFTP_PORT - port which the gridFTP service is listening on. If the property is not set the default value is "2811". |
| 268 | #!div style="font-size: 90%" |
| 269 | {{{#!sh |
| 270 | export GFTP_PORT=2811 |
| 271 | }}} |
| 272 | }}} |
| 273 | |
| 274 | |
| 275 | Additionally it is possible to configure also the settings responsible for defining the policy for user proxy creation and refreshing |
| 276 | |
| 277 | export QCG_DN_DEFAULT="/C=PL/O=GRID/O=PSNC/CN=qcg-broker/qcg-broker.man.poznan.pl" |
| 278 | export QCG_PROXY_DURATION_DEFAULT=600 |
| 279 | export QCG_PROXY_DURATION_MIN=480 |
| 280 | |
| 281 | |