Changes between Version 7 and Version 8 of installation_QCG_Broker
- Timestamp:
- 05/17/11 16:51:50 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
installation_QCG_Broker
v7 v8 181 181 == Setup == 182 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'')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 185 * '''deploy.cert.dn''' distinguish name of QCG-Broker credential 186 186 * '''deploy.db.user''' PostgreSQL user name 187 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).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 189 * '''deploy.db.name''' PostgreSQL database name 190 190 * '''deploy.https_port''' the port which QCG-Broker will be listening for https requests on … … 196 196 #!div style="font-size: 90%" 197 197 {{{#!sh 198 cd qcg-broker-<VERSION>199 ant -f build.deploy.xml setupdb198 $ cd qcg-broker-<VERSION> 199 $ ant -f build.deploy.xml setupdb 200 200 }}} 201 201 }}} … … 205 205 206 206 * Deploy QCG-Broker service 207 208 ant deploy 207 {{{ 208 #!div style="font-size: 90%" 209 {{{#!sh 210 # ant deploy 211 }}} 212 }}} 209 213 210 214 = Configuration = 211 212 * Edit the ''QCG-BROKER-DEPLOY_DIR/broker/etc/providers.list'' file specyfying list of resource providers (instances of QCG-BES services controling resources and creating together virtual pool of resources) 213 214 providers.count=<n> - number of providers<br/> 215 216 For x=0 to n-1 define locations of domain providers<br/> 217 provider.x.domain=<DOMAIN> - name of the administrative domain, which resources controlled by the given provider belong to,<br/> 218 provider.x.type=smoa - type of the provider, DO NOT CHANGE THIS VALUE,<br/> 219 provider.x.id=<PROVIDER ID> - identifier of the provider (must be globally unique),<br/> 220 provider.x.location=<LOCATION> - address of provider service<br/> 221 222 For example: 223 215 * Edit the `QCG-BROKER-DEPLOY_DIR/broker/etc/providers.list` file specyfying list of resource providers (instances of QCG BES/AR services controling resources and creating together virtual pool of resources) 216 217 '''providers.count'''=<n> - number of providers 218 219 For x=0 to n-1 define locations of domain providers: 220 221 '''provider.x.domain'''=<DOMAIN> - name of the administrative domain, which resources controlled by the given provider belong to,\\ 222 '''provider.x.type'''=qcg-bes - type of the provider, DO NOT CHANGE THIS VALUE,\\ 223 '''provider.x.id'''=<PROVIDER ID> - identifier of the provider (must be globally unique),\\ 224 '''provider.x.location'''=<LOCATION> - address of provider service.\\ 225 226 For example: 227 {{{ 228 #!div style="font-size: 90%" 229 {{{#!sh 224 230 <pre> 225 231 # how many providers should be used for testing … … 231 237 provider.0.location=httpg://qcg.man.poznan.pl:19000 232 238 </pre> 233 234 * For cross-clusters job submission, edit ''QCG-BROKER_DEPLOY_DIR/broker/etc/config.prop'' file, and set following variables: 235 ** '''broker.qoscos.proactive.pncURL''' - ProActvie node coordinator address 236 ** '''broker.qoscos.ompi.pncURL''' - OpenMPI node coordinator address 239 }}} 240 }}} 241 242 * For cross-clusters job submission, edit `QCG-BROKER_DEPLOY_DIR/broker/etc/config.prop` file, and set following variables: 243 * '''broker.qoscos.proactive.pncURL''' - ProActvie node coordinator address 244 * '''broker.qoscos.ompi.pncURL''' - OpenMPI node coordinator address 237 245 238 246 See [[QCG-ProActive Coordinator]], [[QCG-OMPI Coordinator]] for detailed information about installation of 'ProActive' and 'OpenMPI' node coordinators.