Changes between Version 70 and Version 71 of client_installation_guide_rpm

Show
Ignore:
Timestamp:
10/02/12 21:26:27 (12 years ago)
Author:
piontek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • client_installation_guide_rpm

    v70 v71  
    1313 
    1414= Mandatory steps = 
     15 
    1516== Certificate authorities == 
    1617 
     
    118119 
    119120 
    120 = Software repositories = 
     121 
     122 
     123 
     124= QCG-Broker client = 
     125== Software repositories == 
    121126The packages are designed for Scientific Linux 5.x 
    122127The installation process requires root privileges. 
     
    157162}}} 
    158163 
    159  
    160 = GridFTP server = 
     164== Installation == 
     165* install QCG-Broker client using YUM Package Manager: 
     166{{{ 
     167#!div style="font-size: 90%" 
     168{{{#!sh 
     169yum install qcg-broker-client 
     170}}} 
     171}}} 
     172 
     173The 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 
     185vi /etc/qcg/qcg-broker-client/qcg-broker-client.conf 
     186}}} 
     187}}} 
     188 
     189The 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 
     194Optionally 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 
     198Additionally 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 
     203The example of the configuration file can be seen below: 
     204{{{ 
     205#!div style="font-size: 90%" 
     206{{{#!sh 
     207export QCG_CLIENT_LOCATION=/usr/share/qcg/qcg-broker-client 
     208 
     209export QCG_URL_DEFAULT="https://qcg-broker.man.poznan.pl:8443/qcg/services/" 
     210export QCG_DN_DEFAULT="/C=PL/O=GRID/O=PSNC/CN=qcg-broker/qcg-broker.man.poznan.pl" 
     211 
     212export GFTP_HOSTNAME=qcg.man.poznan.pl 
     213export GFTP_PORT=2811 
     214 
     215export QCG_PROXY_DURATION_DEFAULT=600 
     216export QCG_PROXY_DURATION_MIN=480 
     217}}} 
     218}}} 
     219 
     220= Optional steps = 
     221== GridFTP server == 
    161222For the user convenience QCG client is able to stage in input data accessible from the host where it is installed and also to stage out output data there. The functionality requires the data to be accessible via gridFTP server. The gridFTP server can be installed on the client machine or it can be any gridFTP server having access to the data on client machine. 
    162223 
     
    218279 
    219280 
    220 = Grid Mapfile = 
     281== Grid Mapfile == 
    221282To have access do data every authenticated user must be authorized by gridFTP server against the `grid-mapfile`. This file can be created manually by an administrator (if the service is run in "test mode") or generated automatically based on the LDAP directory service. 
    222 == Manually created grid mapfile (for testing purpose only) == 
     283=== Manually created grid mapfile (for testing purpose only) === 
    223284{{{ 
    224285#!div style="font-size: 90%" 
     
    228289}}} 
    229290}}} 
    230 == LDAP generated grid mapfile == 
     291=== LDAP generated grid mapfile === 
    231292* Create the ''qcg-dev'' group - this grou is allowed to read the configuration and log files. 
    232293{{{ 
     
    271332 
    272333This gridmapfile generator script is run every 10 minutes. Moreover its issues  `su - $USERNAME -c 'true' > /dev/null`  for every new user that do not have yet home directory (thus triggering pam_mkhomedir if installed). 
    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 }}}