Changes between Version 1 and Version 2 of installation_QCG_BES_AR_in_PLGrid

Show
Ignore:
Timestamp:
05/19/11 14:36:54 (13 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_QCG_BES_AR_in_PLGrid

    v1 v2  
    4646}}} 
    4747The X.509 host certificate (signed by the Polish Grid CA) and key is already installed in the following locations: 
    48 * /etc/grid-security/hostcert.pem 
    49 * /etc/grid-security/hostkey.pem 
     48* `/etc/grid-security/hostcert.pem` 
     49* `/etc/grid-security/hostkey.pem` 
    5050 
    5151Most of the grid services and security infrastructures are sensitive to time skews. Thus we recommended to install a Network Time Protocol daemon or use any other solution that provides accurate clock synchronization. 
     
    7979 
    8080Now you need also to add the two queues in the Torque resource manager: 
    81  
     81{{{ 
     82#!div style="font-size: 90%" 
     83{{{#!sh 
    8284  # 
    8385  # Create and define queue plgrid-wp4 
     
    108110  set queue plgrid-wp4-produkcja enabled = True 
    109111  set queue plgrid-wp4-produkcja started = True 
     112}}} 
     113}}} 
    110114 
    111115== Installation using provided RPMS == 
    112116* Create the following users: 
    113 # smoa_comp - needed by the Smoa Computing service 
    114 # grms - the user that the GRMS (i.e. the QosCosGrid Brokering service) would be mapped to  
     117 * `smoa_comp` - needed by the Smoa Computing service 
     118 * `grms` - the user that the GRMS (i.e. the !QosCosGrid Broker service) would be mapped to  
     119{{{ 
     120#!div style="font-size: 90%" 
     121{{{#!sh 
    115122  useradd -d /opt/plgrid/var/log/smoa-comp/ -m smoa_comp  
    116123  useradd -d /opt/plgrid/var/log/grms/ -m grms   
     124}}} 
     125}}} 
    117126* and the following group: 
    118 # smoa_dev - this group is allowed to read the configuration and log files. Please add the Smoa services' developers to this group. 
     127 * `smoa_dev` - this group is allowed to read the configuration and log files. Please add the Smoa services' developers to this group. 
     128{{{ 
     129#!div style="font-size: 90%" 
     130{{{#!sh 
    119131  groupadd smoa_dev 
     132}}} 
     133}}} 
    120134* install PL-Grid (official) and QCG (testing) repositories: 
    121  # QosCosGrid testing repository 
     135 * !QosCosGrid testing repository 
     136{{{ 
     137#!div style="font-size: 90%" 
     138{{{#!sh 
    122139 cat > /etc/yum.repos.d/qcg.repo << EOF 
    123140 [qcg] 
     
    127144 gpgcheck=0 
    128145 EOF 
    129  # Official PL-Grid repository 
     146}}} 
     147}}} 
     148 * Official PL-Grid repository 
     149{{{ 
     150#!div style="font-size: 90%" 
     151{{{#!sh 
    130152 rpm -Uvh http://software.plgrid.pl/packages/repos/plgrid-repos-2010-2.noarch.rpm 
     153}}} 
     154}}} 
    131155 
    132156* install Smoa Computing using YUM Package Manager: 
     157{{{ 
     158#!div style="font-size: 90%" 
     159{{{#!sh 
    133160  yum install smoa-comp 
     161}}} 
     162}}} 
    134163 
    135164* setup Smoa Computing database using provided script: 
     165{{{ 
     166#!div style="font-size: 90%" 
     167{{{#!sh 
    136168  # /opt/plgrid/qcg/smoa/share/smoa-comp/tools/smoa-comp-install.sh 
    137169  Welcome to smoa-comp installation script! 
     
    166198   
    167199  and reload Postgres server. 
    168   
     200}}} 
     201}}} 
    169202 
    170203Add a new rule to the pg_hba.conf as requested: 
     204{{{ 
     205#!div style="font-size: 90%" 
     206{{{#!sh 
    171207  vim /var/lib/pgsql/data/pg_hba.conf  
    172208  /etc/init.d/postgresql reload 
     209}}} 
     210}}} 
    173211 
    174212Install Polish Grid and PL-Grid Simpla-CA certificates: 
     213{{{ 
     214#!div style="font-size: 90%" 
     215{{{#!sh 
    175216 wget https://dist.eugridpma.info/distribution/igtf/current/accredited/RPMS/ca_PolishGrid-1.38-1.noarch.rpm 
    176217 rpm -i ca_PolishGrid-1.38-1.noarch.rpm  
     
    189230 EOF 
    190231 chmod a+x /etc/cron.daily/fetch-crl.cron 
    191  
     232}}} 
     233}}} 
    192234 
    193235=== The Grid Mapfile  ===