Changes between Version 41 and Version 42 of installation_guide_rpm

Show
Ignore:
Timestamp:
07/03/13 16:53:15 (11 years ago)
Author:
pkopta
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_guide_rpm

    v41 v42  
    119119}}} 
    120120 
    121 * configure the QCG-Broker instance - all configuration variables are placed in the `/opt/plgrid/qcg/share/qcg-broker/deploy.prop` file 
    122  * '''deploy.dir''' - directory where QCG-Broker was installed (`/opt/plgrid/qcg/share/qcg-broker`). Please do not modify this property. 
     121* configure the QCG-Broker instance - all configuration variables are placed in the `/etc/qcg/qcg-broker/qcg-broker-deploy.prop` file 
     122 * '''deploy.dir''' - directory where QCG-Broker was installed (`/usr/share/qcg/qcg-broker/qcg-broker`). Please do not modify this property. 
    123123 * '''deploy.certs.dir''' - directory with QCG-Broker credentials (must contain `qcg-brokercert.pem` and `qcg-brokerkey.pem` files) 
    124124 * '''deploy.cert.dn''' distinguish name of QCG-Broker credential 
     
    136136#!div style="font-size: 90%" 
    137137{{{#!sh 
    138 /opt/plgrid/qcg/share/qcg-broker/config.sh 
    139 }}} 
    140 }}} 
     138/usr/share/qcg/qcg-broker/config.sh 
     139}}} 
     140}}} 
     141 '''IMPORTANT: The `/usr/share/qcg/qcg-broker/config.sh` script modifies QCG-Broker configuration files as well as clears QCG-Broker database. It's not recommended to run this script on already configured and running QCG-Broker instance.''' 
    141142 
    142143 
     
    150151}}} 
    151152 
    152 * Edit the `/opt/plgrid/qcg/share/qcg-broker/broker/etc/providers.list` file specifying list of resource providers (instances of QCG BES/AR services controlling resources and creating together virtual pool of resources) 
     153* Edit the `/usr/share/qcg/qcg-broker/broker/etc/providers.list` file specifying list of resource providers (instances of QCG BES/AR services controlling resources and creating together virtual pool of resources) 
    153154 
    154155 '''providers.count'''=<n> - number of providers 
     
    184185}}} 
    185186 
    186 * For cross-clusters job submission, edit the `/opt/plgrid/qcg/share/qcg-broker/broker/etc/config.prop` file, and set following variables: 
     187* For cross-clusters job submission, edit the `/usr/share/qcg/qcg-broker/broker/etc/config.prop` file, and set following variables: 
    187188 * '''broker.qoscos.proactive.pncURL''' - !ProActvie node coordinator address 
    188189 * '''broker.qoscos.ompi.pncURL''' - OpenMPI node coordinator address 
     
    221222}}} 
    222223 
    223 To allow QCG-Broker to send notifications about user's task status change, edit `/opt/plgrid/qcg/share/qcg-broker/broker/etc/config.prop`, and set variable: 
     224To allow QCG-Broker to send notifications about user's task status change, edit `/usr/share/qcg/qcg-broker/broker/etc/config.prop`, and set variable: 
    224225{{{ 
    225226#!div style="font-size: 90%" 
     
    234235 
    235236= Starting the service = 
     237As the `root` user type: 
     238{{{ 
     239#!div style="font-size: 90%" 
     240{{{#!sh 
     241service qcg-broker start 
     242}}} 
     243}}} 
     244 
     245= Checking the service status = 
    236246As the `qcg-broker` user type: 
    237247{{{ 
    238248#!div style="font-size: 90%" 
    239249{{{#!sh 
    240 cd /opt/plgrid/qcg/share/qcg-broker 
    241 export JAVA_HOME=/usr/lib/jvm/java 
    242 ./broker/bin/start-broker.sh 
    243 ./service/bin/startup.sh 
    244 }}} 
    245 }}} 
    246  
    247 '''IMPORTANT:''' Do not forget to set `JAVA_HOME` or `JRE_HOME` environment variables. 
     250service qcg-broker status 
     251}}} 
     252}}} 
     253 
    248254= Stopping the service = 
    249255As the `qcg-broker` user type: 
     
    251257#!div style="font-size: 90%" 
    252258{{{#!sh 
    253 cd /opt/plgrid/qcg/share/qcg-broker 
    254 export JAVA_HOME=/usr/lib/jvm/java 
    255 ./broker/bin/stop-broker.sh 
    256 ./service/bin/shutdown.sh 
     259service qcg-broker stop 
    257260}}} 
    258261}}}