Changes between Version 6 and Version 7 of installation_QCG_Broker

Show
Ignore:
Timestamp:
05/17/11 16:36:31 (11 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_QCG_Broker

    v6 v7  
    118118}}} 
    119119}}} 
    120 '''Note:''' The `qcg-broker` user must be allowed to create new databases. 
     120 '''Note:''' The `qcg-broker` user must be allowed to create new databases. 
    121121 
    122122* Depending on the local PostgreSQL configuration you may need to edit the `pg_hba.conf` file  (''host based authentication'' configuration file) to enable password authentication to the `qcg-broker` database for the `qcg-broker` user. 
     
    143143= Installation = 
    144144 
    145 '''IMPORTANT:''' Perform the installation as the "qcg-broker" user. 
    146  su - qcg-broker 
    147  
    148 * download the QCG-Broker archive from [http://node2.qoscosgrid.man.poznan.pl/~piontek/qcg-broker/qcg-broker.tgz qcg-broker.tgz] 
     145'''IMPORTANT:''' Perform the installation as the `qcg-broker` user. 
     146{{{ 
     147#!div style="font-size: 90%" 
     148{{{#!sh 
     149 # su - qcg-broker 
     150}}} 
     151}}} 
     152 
     153* download the QCG-Broker archive from [[http://node2.qoscosgrid.man.poznan.pl/~piontek/qcg-broker/qcg-broker.tgz qcg-broker.tgz]] 
     154{{{ 
     155#!div style="font-size: 90%" 
     156{{{#!sh 
    149157 wget http://node2.qoscosgrid.man.poznan.pl/~piontek/qcg-broker/qcg-broker.tgz 
     158}}} 
     159}}} 
    150160 
    151161* unpack the archive 
     162{{{ 
     163#!div style="font-size: 90%" 
     164{{{#!sh 
    152165 tar xzf qcg-broker.tgz 
    153  
    154 == Compilation [Optional step]== 
     166}}} 
     167}}} 
     168 
     169== Compilation [Optional step] == 
    155170The distribution contains precompiled version of QCB-Broker, that can be deployed as it is. The compilation step is optional and can be skiped, except the situation in which some specific compiler options should be added or changed. 
    156171 
    157172* compile sources 
    158  cd qcg-broker-<VERSION> 
    159  ant rebuildall 
     173{{{ 
     174#!div style="font-size: 90%" 
     175{{{#!sh 
     176 $ cd qcg-broker-<VERSION> 
     177 $ ant rebuildall 
     178}}} 
     179}}} 
    160180 
    161181== Setup == 
    162 * setup deployment configuration - all configuration variables are placed in the <tt>deploy.prop</tt> file 
    163 ** '''deploy.dir''' directory where QCG-Broker will be deployed. This directory must not exist, so before deployment this directory must be eventually removed by hand. Later we assume that QCG-Broker was installed into ''/opt/QCG/qcg-broker/service'' directory.  
    164 ** '''deploy.certs.dir''' directory with QCG-Broker credentials (must contain ''grmscert.pem'' and ''grmskey.pem'') 
    165 ** '''deploy.cert.dn''' distinguish name of QCG-Broker credential 
    166 ** '''deploy.db.user''' PostgreSQL user name 
    167 ** '''deploy.db.pwd''' Password for PostgreSQL user 
    168 ** '''deploy.db.host''' PostgreSQL database host name (''127.0.0.1'' by default. If PostgreSQL service is on the same host as QCG-Broker, this property should not be changed. Otherwise some changes in PostgreSQL configuration (''pg_hba.conf'' file) may be needed). 
    169 ** '''deploy.db.name''' PostgreSQL database name 
    170 ** '''deploy.https_port''' the port which QCG-Broker will be listening for https requests on 
    171 ** '''deploy.rmi_port''' the port needed for internal communication between QCG-Broker components. 
    172 ** '''deploy.shutdown_port''' the port which the tomcat will be listening for shutdown requests on 
     182* setup deployment configuration - all configuration variables are placed in the `deploy.prop` file 
     183 * '''deploy.dir''' directory where QCG-Broker will be deployed. This directory must not exist, so before deployment this directory must be eventually removed by hand. Later we assume that QCG-Broker was installed into ''/opt/QCG/qcg-broker/service'' directory.  
     184 * '''deploy.certs.dir''' directory with QCG-Broker credentials (must contain ''grmscert.pem'' and ''grmskey.pem'') 
     185 * '''deploy.cert.dn''' distinguish name of QCG-Broker credential 
     186 * '''deploy.db.user''' PostgreSQL user name 
     187 * '''deploy.db.pwd''' Password for PostgreSQL user 
     188 * '''deploy.db.host''' PostgreSQL database host name (''127.0.0.1'' by default. If PostgreSQL service is on the same host as QCG-Broker, this property should not be changed. Otherwise some changes in PostgreSQL configuration (''pg_hba.conf'' file) may be needed). 
     189 * '''deploy.db.name''' PostgreSQL database name 
     190 * '''deploy.https_port''' the port which QCG-Broker will be listening for https requests on 
     191 * '''deploy.rmi_port''' the port needed for internal communication between QCG-Broker components. 
     192 * '''deploy.shutdown_port''' the port which the tomcat will be listening for shutdown requests on 
    173193 
    174194* setup QCG-Broker database 
     195{{{ 
     196#!div style="font-size: 90%" 
     197{{{#!sh 
    175198 cd qcg-broker-<VERSION> 
    176199 ant -f build.deploy.xml setupdb 
     200}}} 
     201}}} 
    177202 
    178203== Deployment ==