Changes between Version 1 and Version 2 of InstallingUsingRPMS

Show
Ignore:
Timestamp:
06/12/11 16:24:34 (13 years ago)
Author:
mmamonski
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingUsingRPMS

    v1 v2  
    1111 
    1212 IMPORTANT: :: 
    13    The implementation name of the QCG BES/AR service is '''Smoa Computing''' and this name is used as a common in this guide. 
     13   The implementation name of the QCG BES/AR service is '''QCG-Computing''' and this name is used as a common in this guide. 
    1414 
    1515== Prerequisites == 
    16 We assume that you have the Torque local resource manager and the Maui scheduler already installed. This would be typically a frontend machine (i.e. machine where the pbs_server and maui daemons are running). If you want to install the Smoa Computing service on a separate submit host you should read this [[Smoa_Computing_on_separate_machine| notes]]. Moreover the following packages must be installed before you proceed with the Smoa Computing installation. 
     16We assume that you have the Torque local resource manager and the Maui scheduler already installed. This would be typically a frontend machine (i.e. machine where the pbs_server and maui daemons are running). If you want to install the QCG-Computing service on a separate submit host you should read this [[qcg_Computing_on_separate_machine| notes]]. Moreover the following packages must be installed before you proceed with the QCG-Computing installation. 
    1717 
    1818* Install database backend (PostgresSQL):   
     
    115115== Installation using provided RPMS == 
    116116* Create the following users: 
    117  * `smoa_comp` - needed by the Smoa Computing service 
     117 * `qcg_comp` - needed by the QCG-Computing service 
    118118 * `grms` - the user that the GRMS (i.e. the !QosCosGrid Broker service) would be mapped to  
    119119{{{ 
    120120#!div style="font-size: 90%" 
    121121{{{#!sh 
    122 useradd -d /opt/plgrid/var/log/smoa-comp/ -m smoa_comp  
     122useradd -d /opt/plgrid/var/log/qcg-comp/ -m qcg_comp  
    123123useradd -d /opt/plgrid/var/log/grms/ -m grms   
    124124}}} 
    125125}}} 
    126126* and the following 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 
    131 groupadd smoa_dev 
     127 * `qcg_dev` - this group is allowed to read the configuration and log files. Please add the qcg services' developers to this group. 
     128{{{ 
     129#!div style="font-size: 90%" 
     130{{{#!sh 
     131groupadd qcg_dev 
    132132}}} 
    133133}}} 
     
    154154}}} 
    155155 
    156 * install Smoa Computing using YUM Package Manager: 
    157 {{{ 
    158 #!div style="font-size: 90%" 
    159 {{{#!sh 
    160 yum install smoa-comp 
    161 }}} 
    162 }}} 
    163  
    164 * setup Smoa Computing database using provided script: 
    165 {{{ 
    166 #!div style="font-size: 90%" 
    167 {{{#!sh 
    168 /opt/plgrid/qcg/smoa/share/smoa-comp/tools/smoa-comp-install.sh 
    169 Welcome to smoa-comp installation script! 
     156* install QCG-Computing using YUM Package Manager: 
     157{{{ 
     158#!div style="font-size: 90%" 
     159{{{#!sh 
     160yum install qcg-comp 
     161}}} 
     162}}} 
     163 
     164* setup QCG-Computing database using provided script: 
     165{{{ 
     166#!div style="font-size: 90%" 
     167{{{#!sh 
     168/opt/plgrid/qcg/qcg/share/qcg-comp/tools/qcg-comp-install.sh 
     169Welcome to qcg-comp installation script! 
    170170  
    171171This script will guide you through process of configuring proper environment 
    172 for running the Smoa Computing service. You have to answer few questions regarding 
     172for running the QCG-Computing service. You have to answer few questions regarding 
    173173parameters of your database. If you are not sure just press Enter and use the 
    174174default values. 
    175175   
    176176Use local PostgreSQL server? (y/n) [y]: y 
    177 Database [smoa_comp]:  
    178 User [smoa_comp]:  
    179 Password [smoa_comp]: MojeTajneHaslo 
     177Database [qcg_comp]:  
     178User [qcg_comp]:  
     179Password [qcg_comp]: MojeTajneHaslo 
    180180Create database? (y/n) [y]: y 
    181181Create user? (y/n) [y]: y 
    182182   
    183 Checking for system user smoa_comp...OK 
     183Checking for system user qcg_comp...OK 
    184184Checking whether PostgreSQL server is installed...OK 
    185185Checking whether PostgreSQL server is running...OK 
    186186   
    187187Performing installation 
    188 * Creating user smoa_comp...OK 
    189 * Creating database smoa_comp...OK 
     188* Creating user qcg_comp...OK 
     189* Creating database qcg_comp...OK 
    190190* Creating database schema...OK 
    191 * Checking for ODBC data source smoa_comp... 
     191* Checking for ODBC data source qcg_comp... 
    192192* Installing ODBC data source...OK 
    193193     
    194 Remember to add appropriate entry to /var/lib/pgsql/data/pg_hba.conf (as the first rule!) to allow user smoa_comp to 
    195 access database smoa_comp. For instance: 
    196    
    197 host    smoa_comp       smoa_comp       127.0.0.1/32    md5 
     194Remember to add appropriate entry to /var/lib/pgsql/data/pg_hba.conf (as the first rule!) to allow user qcg_comp to 
     195access database qcg_comp. For instance: 
     196   
     197host    qcg_comp       qcg_comp       127.0.0.1/32    md5 
    198198   
    199199and reload Postgres server. 
     
    274274}}} 
    275275 
    276 Add appropriate rights for the `smoa_comp` and `grms` users in the Maui scheduler configuaration file: 
     276Add appropriate rights for the `qcg_comp` and `grms` users in the Maui scheduler configuaration file: 
    277277{{{ 
    278278#!div style="font-size: 90%" 
     
    282282ADMIN1                root 
    283283ADMIN2                grms 
    284 ADMIN3                smoa_comp 
    285 }}} 
    286 }}} 
    287 Copy the service certificate and key into the `/opt/plgrid/qcg/smoa/etc/certs/`. Remember to set appropriate rights to the key file. 
    288 {{{ 
    289 #!div style="font-size: 90%" 
    290 {{{#!default 
    291 cp /etc/grid-security/hostcert.pem /opt/plgrid/qcg/smoa/etc/certs/smoacert.pem 
    292 cp /etc/grid-security/hostkey.pem /opt/plgrid/qcg/smoa/etc/certs/smoakey.pem 
    293 chown smoa_comp /opt/plgrid/qcg/smoa/etc/certs/smoacert.pem 
    294 chown smoa_comp /opt/plgrid/qcg/smoa/etc/certs/smoakey.pem  
    295 chmod 0600 /opt/plgrid/qcg/smoa/etc/certs/smoakey.pem 
     284ADMIN3                qcg_comp 
     285}}} 
     286}}} 
     287Copy the service certificate and key into the `/opt/plgrid/qcg/qcg/etc/certs/`. Remember to set appropriate rights to the key file. 
     288{{{ 
     289#!div style="font-size: 90%" 
     290{{{#!default 
     291cp /etc/grid-security/hostcert.pem /opt/plgrid/qcg/qcg/etc/certs/qcgcert.pem 
     292cp /etc/grid-security/hostkey.pem /opt/plgrid/qcg/qcg/etc/certs/qcgkey.pem 
     293chown qcg_comp /opt/plgrid/qcg/qcg/etc/certs/qcgcert.pem 
     294chown qcg_comp /opt/plgrid/qcg/qcg/etc/certs/qcgkey.pem  
     295chmod 0600 /opt/plgrid/qcg/qcg/etc/certs/qcgkey.pem 
    296296}}} 
    297297}}} 
     
    318318}}} 
    319319After installation  you need '''either''': 
    320 * configure the DRMAA library to use Torque logs ('''RECOMMENDED'''). Sample configuration file of the DRMAA library (`/opt/plgrid/qcg/smoa/etc/pbs_drmaa.conf`): 
     320* configure the DRMAA library to use Torque logs ('''RECOMMENDED'''). Sample configuration file of the DRMAA library (`/opt/plgrid/qcg/qcg/etc/pbs_drmaa.conf`): 
    321321{{{ 
    322322#!div style="font-size: 90%" 
     
    336336* configure Torque to keep information about completed jobs (e.g.: by setting: `qmgr -c 'set server keep_completed = 300'`). 
    337337   
    338 It is possible to limit users to submit job to predefined queue by setting default job category (in the `/opt/plgrid/qcg/smoa/etc/pbs_drmaa.conf` file): 
     338It is possible to limit users to submit job to predefined queue by setting default job category (in the `/opt/plgrid/qcg/qcg/etc/pbs_drmaa.conf` file): 
    339339{{{ 
    340340#!div style="font-size: 90%" 
     
    347347 
    348348== Restricting advance reservation == 
    349 In some deployments enabling advance reservation for the whole cluster is not desirable. In such cases one can limit advance reservation to particular partition by editing `/opt/plgrid/qcg/smoa/lib/smoa-comp/modules/python/reservation_maui.py` file and changing the following line: 
     349In some deployments enabling advance reservation for the whole cluster is not desirable. In such cases one can limit advance reservation to particular partition by editing `/opt/plgrid/qcg/qcg/lib/qcg-comp/modules/python/reservation_maui.py` file and changing the following line: 
    350350{{{ 
    351351#!div style="font-size: 90%" 
     
    363363 
    364364= Service configuration = 
    365 Edit the preinstalled service configuration file (`/opt/plgrid/qcg/smoa/etc/smoa-compd.xml`): 
     365Edit the preinstalled service configuration file (`/opt/plgrid/qcg/qcg/etc/qcg-compd.xml`): 
    366366{{{ 
    367367#!div style="font-size: 90%" 
    368368{{{#!xml 
    369369<?xml version="1.0" encoding="UTF-8"?> 
    370 <sm:SMOACore 
    371         xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
    372         xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
    373         xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
     370<sm:qcgCore 
     371        xmlns:sm="http://schemas.qcg-project.com/core/2009/01/config" 
     372        xmlns="http://schemas.qcg-project.com/comp/2009/01/config" 
     373        xmlns:smc="http://schemas.qcg-project.com/comp/2009/01/config" 
    374374        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    375375         
    376376        <Configuration> 
    377377                <sm:ModuleManager> 
    378                         <sm:Directory>/opt/plgrid/qcg/smoa/lib/smoa-core/modules/</sm:Directory> 
    379                         <sm:Directory>/opt/plgrid/qcg/smoa/lib/smoa-comp/modules/</sm:Directory> 
     378                        <sm:Directory>/opt/plgrid/qcg/qcg/lib/qcg-core/modules/</sm:Directory> 
     379                        <sm:Directory>/opt/plgrid/qcg/qcg/lib/qcg-comp/modules/</sm:Directory> 
    380380                </sm:ModuleManager> 
    381381   
    382                 <sm:Service xsi:type="smoa-compd" description="SMOA Computing"> 
     382                <sm:Service xsi:type="qcg-compd" description="QCG-Computing"> 
    383383                        <sm:Logger> 
    384                                 <sm:Filename>/opt/plgrid/var/log/smoa-comp/smoa-comp.log</sm:Filename> 
     384                                <sm:Filename>/opt/plgrid/var/log/qcg-comp/qcg-comp.log</sm:Filename> 
    385385                                <sm:Level>INFO</sm:Level> 
    386386                        </sm:Logger> 
     
    393393                           <sm:Authentication> 
    394394                                   <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
    395                                            <sm:X509CertFile>/opt/plgrid/qcg/smoa/etc/certs/smoacert.pem</sm:X509CertFile> 
    396                                            <sm:X509KeyFile>/opt/plgrid/qcg/smoa/etc/certs/smoakey.pem</sm:X509KeyFile> 
     395                                           <sm:X509CertFile>/opt/plgrid/qcg/qcg/etc/certs/qcgcert.pem</sm:X509CertFile> 
     396                                           <sm:X509KeyFile>/opt/plgrid/qcg/qcg/etc/certs/qcgkey.pem</sm:X509KeyFile> 
    397397                                   </sm:Module> 
    398398                           </sm:Authentication> 
     
    403403                           </sm:Authorization> 
    404404                        </sm:Module> 
    405                             <sm:Module xsi:type="smc:smoa-comp-service"/> 
     405                            <sm:Module xsi:type="smc:qcg-comp-service"/> 
    406406                        </sm:Transport> 
    407407                         
    408408                        <sm:Module xsi:type="pbs_jsdl_filter"/> 
    409409                        <sm:Module xsi:type="atz_ardl_filter"/> 
    410                         <sm:Module xsi:type="sm:general_python" path="/opt/plgrid/qcg/smoa/lib/smoa-comp/modules/python/monitoring.py"/> 
    411    
    412                         <sm:Module xsi:type="submission_drmaa" path="/opt/plgrid/qcg/smoa/lib/libdrmaa.so"/> 
    413                         <sm:Module xsi:type="reservation_python" path="/opt/plgrid/qcg/smoa/lib/smoa-comp/modules/python/reservation_maui.py"/> 
     410                        <sm:Module xsi:type="sm:general_python" path="/opt/plgrid/qcg/qcg/lib/qcg-comp/modules/python/monitoring.py"/> 
     411   
     412                        <sm:Module xsi:type="submission_drmaa" path="/opt/plgrid/qcg/qcg/lib/libdrmaa.so"/> 
     413                        <sm:Module xsi:type="reservation_python" path="/opt/plgrid/qcg/qcg/lib/qcg-comp/modules/python/reservation_maui.py"/> 
    414414                         
    415415                        <sm:Module xsi:type="notification_wsn"> 
     
    424424                                 
    425425                        <sm:Module xsi:type="application_mapper"> 
    426                                 <ApplicationMapFile>/opt/plgrid/qcg/smoa/etc/application_mapfile</ApplicationMapFile> 
     426                                <ApplicationMapFile>/opt/plgrid/qcg/qcg/etc/application_mapfile</ApplicationMapFile> 
    427427                        </sm:Module> 
    428428   
    429429                        <Database> 
    430                                 <DSN>smoa_comp</DSN> 
    431                                 <User>smoa_comp</User> 
    432                                 <Password>smoa_comp</Password> 
     430                                <DSN>qcg_comp</DSN> 
     431                                <User>qcg_comp</User> 
     432                                <Password>qcg_comp</Password> 
    433433                        </Database> 
    434434   
    435                         <UnprivilegedUser>smoa_comp</UnprivilegedUser> 
     435                        <UnprivilegedUser>qcg_comp</UnprivilegedUser> 
    436436   
    437437                        <FactoryAttributes> 
     
    442442   
    443443        </Configuration> 
    444 </sm:SMOACore> 
     444</sm:qcgCore> 
    445445}}} 
    446446}}} 
     
    450450   the hostname of the machine where the service is deployed  
    451451 `Transport/Module/Authentication/Module/X509CertFile`  and  `Transport/Module/Authentication/Module/X509KeyFile` ::  
    452   the service private key and X.509 certificate (consult the [[http://www.globus.org/toolkit/docs/4.0/security/prewsaa/rn01re02.html|Globus User Gide]] on how to generate service certificate request or use the host certificate/key pair). Make sure that the key and certificate is owned by the `smoa_comp` user and the private key is not password protected (generating certificate with the `-service` option implies this). If you installed cert and key file in the recommended location you do not need to edit these fields. 
     452  the service private key and X.509 certificate (consult the [[http://www.globus.org/toolkit/docs/4.0/security/prewsaa/rn01re02.html|Globus User Gide]] on how to generate service certificate request or use the host certificate/key pair). Make sure that the key and certificate is owned by the `qcg_comp` user and the private key is not password protected (generating certificate with the `-service` option implies this). If you installed cert and key file in the recommended location you do not need to edit these fields. 
    453453 `Module[type="smc:notification_wsn"]/Module/ServiceURL` ::  
    454   the URL of the Smoa Notification (QCG Notification) service (You can do it later, i.e. after [[installation_QCG_Notification_in_PLGrid|installing the Smoa Notification service]]) 
     454  the URL of the qcg Notification (QCG Notification) service (You can do it later, i.e. after [[installation_QCG_Notification_in_PLGrid|installing the qcg Notification service]]) 
    455455 `Module[type="submission_drmaa"]/@path` :: 
    456456  path to the DRMAA library (the `libdrmaa.so`). Also, if you installed the DRMAA library using provided SRC RPM you do not need to change this path. 
    457457 `Database/Password` ::  
    458   the `smoa_comp` database password 
     458  the `qcg_comp` database password 
    459459 `FactoryAttributes/CommonName` ::  
    460460  a common name of the cluster (e.g. reef.man.poznan.pl). You can use any name that is unique among all systems (e.g. cluster name + domain name of your institution) 
     
    463463 
    464464== Configuring BAT accounting module == 
    465 In order to report resource usage to the central PL-Grid accounting service you must enable the `bat_updater` module. You can do this by including the following snippet in the aforementioned configuration file (`/opt/plgrid/qcg/smoa/etc/smoa-comp.xml`). Please put the following snippet just before the `Database` section: 
     465In order to report resource usage to the central PL-Grid accounting service you must enable the `bat_updater` module. You can do this by including the following snippet in the aforementioned configuration file (`/opt/plgrid/qcg/qcg/etc/qcg-comp.xml`). Please put the following snippet just before the `Database` section: 
    466466{{{ 
    467467#!div style="font-size: 90%" 
     
    469469<sm:Module xsi:type="bat_updater"> 
    470470        <BATServiceURL>tcp://acct.grid.cyf-kr.edu.pl:61616</BATServiceURL> 
    471         <SiteName>psnc-smoa-plgrid</SiteName> 
     471        <SiteName>psnc-qcg-plgrid</SiteName> 
    472472        <QueueName>test-jobs</QueueName> 
    473473</sm:Module> 
     
    480480 
    481481= Note on the security model = 
    482 The Smoa Computing can be configured with various authentication and authorization modules. However in the typical deployment we assume that the Smoa Computing is configured as in the above example, i.e.: 
     482The QCG-Computing can be configured with various authentication and authorization modules. However in the typical deployment we assume that the QCG-Computing is configured as in the above example, i.e.: 
    483483* authentication is provided on basics of ''httpg'' protocol 
    484484* authorization is based on the local `grid-mapfile` mapfile (see [[installation_GridFTP#Usersconfiguration|Users configuration]]). 
     
    489489#!div style="font-size: 90%" 
    490490{{{#!sh 
    491 /etc/init.d/smoa-compd start 
     491/etc/init.d/qcg-compd start 
    492492}}} 
    493493}}} 
     
    497497#!div style="font-size: 90%" 
    498498{{{#!sh 
    499 /opt/plgrid/var/log/smoa-comp/smoa-comp.log 
     499/opt/plgrid/var/log/qcg-comp/qcg-comp.log 
    500500}}} 
    501501}}} 
     
    507507* `releaseres` 
    508508* `checknode` 
    509 If any of the above commands is not installed in a standard location (e.g. `/usr/bin`) you may need to edit the `/opt/plgrid/qcg/smoa/etc/sysconfig/smoa-compd` file and set the `PATH` variable appropriately, e.g.: 
     509If any of the above commands is not installed in a standard location (e.g. `/usr/bin`) you may need to edit the `/opt/plgrid/qcg/qcg/etc/sysconfig/qcg-compd` file and set the `PATH` variable appropriately, e.g.: 
    510510{{{ 
    511511#!div style="font-size: 90%" 
     
    536536#!div style="font-size: 90%" 
    537537{{{#!sh 
    538 /etc/init.d/smoa-compd stop 
     538/etc/init.d/qcg-compd stop 
    539539}}} 
    540540}}} 
     
    542542= Verifying the installation = 
    543543 
    544 *  For convenience you can add the `/opt/plgrid/qcg/smoa/bin` and `/opt/plgrid/qcg/smoa-dep/globus/bin/` to your `PATH` variable. 
    545 *  Edit the Smoa Computing client configuration file (`/opt/plgrid/qcg/smoa/etc/smoa-comp.xml`): 
    546  *  set the `Host` and `Port` to reflects the changes in the service configuration file (`smoa-compd.xml`). 
     544*  For convenience you can add the `/opt/plgrid/qcg/qcg/bin` and `/opt/plgrid/qcg/qcg-dep/globus/bin/` to your `PATH` variable. 
     545*  Edit the QCG-Computing client configuration file (`/opt/plgrid/qcg/qcg/etc/qcg-comp.xml`): 
     546 *  set the `Host` and `Port` to reflects the changes in the service configuration file (`qcg-compd.xml`). 
    547547{{{ 
    548548#!div style="font-size: 90%" 
    549549{{{#!sh 
    550550<?xml version="1.0" encoding="UTF-8"?> 
    551 <sm:SMOACore 
    552        xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
    553        xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
    554        xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
     551<sm:qcgCore 
     552       xmlns:sm="http://schemas.qcg-project.com/core/2009/01/config" 
     553       xmlns="http://schemas.qcg-project.com/comp/2009/01/config" 
     554       xmlns:smc="http://schemas.qcg-project.com/comp/2009/01/config" 
    555555       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    556556   
    557557       <Configuration> 
    558558               <sm:ModuleManager> 
    559                        <sm:Directory>/opt/QCG/smoa/lib/smoa-core/modules/</sm:Directory> 
    560                        <sm:Directory>/opt/QCG/smoa//lib/smoa-comp/modules/</sm:Directory> 
     559                       <sm:Directory>/opt/QCG/qcg/lib/qcg-core/modules/</sm:Directory> 
     560                       <sm:Directory>/opt/QCG/qcg//lib/qcg-comp/modules/</sm:Directory> 
    561561               </sm:ModuleManager> 
    562562  
    563                <sm:Client xsi:type="smoa-comp" description="SMOA Computing client"> 
     563               <sm:Client xsi:type="qcg-comp" description="QCG-Computing client"> 
    564564                       <sm:Transport> 
    565565                               <sm:Module xsi:type="sm:ecm_gsoap.client"> 
     
    568568                                               <sm:Module xsi:type="sm:atc_transport_gsi.client"/> 
    569569                                       </sm:Authentication> 
    570                                        <sm:Module xsi:type="smc:smoa-comp-client"/> 
     570                                       <sm:Module xsi:type="smc:qcg-comp-client"/> 
    571571                               </sm:Module> 
    572572                       </sm:Transport> 
    573573               </sm:Client> 
    574574       </Configuration> 
    575 </sm:SMOACore> 
     575</sm:qcgCore> 
    576576}}} 
    577577}}} 
     
    587587}}} 
    588588}}} 
    589 * Query the SMOA Computing service: 
    590 {{{ 
    591 #!div style="font-size: 90%" 
    592 {{{#!sh 
    593 smoa-comp -G | xmllint --format - # the xmllint is used only to present the result in more pleasant way 
     589* Query the QCG-Computing service: 
     590{{{ 
     591#!div style="font-size: 90%" 
     592{{{#!sh 
     593qcg-comp -G | xmllint --format - # the xmllint is used only to present the result in more pleasant way 
    594594   
    595595<bes-factory:FactoryResourceAttributesDocument xmlns:bes-factory="http://schemas.ggf.org/bes/2006/08/bes-factory"> 
     
    608608    <bes-factory:NamingProfile>http://schemas.ggf.org/bes/2006/08/bes/naming/BasicWSAddressing</bes-factory:NamingProfile>  
    609609    <bes-factory:BESExtension>http://schemas.ogf.org/hpcp/2007/01/bp/BasicFilter</bes-  factory:BESExtension> 
    610     <bes-factory:BESExtension>http://schemas.smoa-project.com/comp/2009/01</bes-factory:BESExtension> 
     610    <bes-factory:BESExtension>http://schemas.qcg-project.com/comp/2009/01</bes-factory:BESExtension> 
    611611    <bes-factory:LocalResourceManagerType>http://example.com/SunGridEngine</bes-factory:LocalResourceManagerType> 
    612     <smcf:NotificationProviderURL xmlns:smcf="http://schemas.smoa-project.com/comp/2009/01/factory">http://localhost:2211/</smcf:NotificationProviderURL> 
     612    <smcf:NotificationProviderURL xmlns:smcf="http://schemas.qcg-project.com/comp/2009/01/factory">http://localhost:2211/</smcf:NotificationProviderURL> 
    613613</bes-factory:FactoryResourceAttributesDocument> 
    614614}}} 
     
    618618#!div style="font-size: 90%" 
    619619{{{#!sh 
    620 smoa-comp -c -J /opt/plgrid/qcg/smoa/share/smoa-comp/doc/examples/jsdl/sleep.xml 
     620qcg-comp -c -J /opt/plgrid/qcg/qcg/share/qcg-comp/doc/examples/jsdl/sleep.xml 
    621621Activity Id: ccb6b04a-887b-4027-633f-412375559d73 
    622622}}} 
     
    626626#!div style="font-size: 90%" 
    627627{{{#!sh 
    628 smoa-comp -s -a ccb6b04a-887b-4027-633f-412375559d73 
     628qcg-comp -s -a ccb6b04a-887b-4027-633f-412375559d73 
    629629status = Executing 
    630 smoa-comp -s -a ccb6b04a-887b-4027-633f-412375559d73 
     630qcg-comp -s -a ccb6b04a-887b-4027-633f-412375559d73 
    631631status = Executing 
    632 smoa-comp -s -a ccb6b04a-887b-4027-633f-412375559d73 
     632qcg-comp -s -a ccb6b04a-887b-4027-633f-412375559d73 
    633633status = Finished 
    634634exit status = 0 
     
    640640#!div style="font-size: 90%" 
    641641{{{#!sh 
    642 cp /opt/plgrid/qcg/smoa/share/smoa-comp/doc/examples/ardl/oneslot.xml oneslot.xml 
     642cp /opt/plgrid/qcg/qcg/share/qcg-comp/doc/examples/ardl/oneslot.xml oneslot.xml 
    643643}}} 
    644644}}} 
     
    648648#!div style="font-size: 90%" 
    649649{{{#!sh 
    650 smoa-comp -c -D oneslot.xml 
     650qcg-comp -c -D oneslot.xml 
    651651Reservation Id: aab6b04a-887b-4027-633f-412375559d7d 
    652652}}} 
     
    656656#!div style="font-size: 90%" 
    657657{{{#!sh 
    658 smoa-comp -l 
     658qcg-comp -l 
    659659Reservation Id: aab6b04a-887b-4027-633f-412375559d7d 
    660660Total number of reservations: 1 
     
    665665#!div style="font-size: 90%" 
    666666{{{#!sh 
    667 smoa-comp -s -r aab6b04a-887b-4027-633f-412375559d7d 
     667qcg-comp -s -r aab6b04a-887b-4027-633f-412375559d7d 
    668668Reserved hosts: 
    669669worker.example.com[used=0,reserved=1,total=4] 
     
    674674#!div style="font-size: 90%" 
    675675{{{#!sh 
    676 smoa-comp -t -r aab6b04a-887b-4027-633f-412375559d7d 
     676qcg-comp -t -r aab6b04a-887b-4027-633f-412375559d7d 
    677677Reservation terminated. 
    678678}}} 
     
    689689= Configuring firewall = 
    690690In order to expose the !QosCosGrid services externally you need to open the following ports in the firewall: 
    691 * 19000 (TCP) - Smoa Computing 
    692 * 19001 (TCP) - Smoa Notification 
     691* 19000 (TCP) - QCG-Computing 
     692* 19001 (TCP) - qcg Notification 
    693693* 2811 (TCP) - GridFTP server 
    694694* 9000-9500 (TCP) - GridFTP  port-range (if you want to use different port-range adjust the `GLOBUS_TCP_PORT_RANGE` variable in the `/etc/xinetd.d/gsiftp` file) 
    695695 
    696696= Maintenance = 
    697 The historic usage information is stored in two relations of the Smoa Computing database: `jobs_acc` and `reservations_acc`. You can always archive old usage data to a file  and delete it from the database using the psql client: 
    698 {{{ 
    699 #!div style="font-size: 90%" 
    700 {{{#!sh 
    701 psql -h localhost smoa_comp smoa_comp  
    702 Password for user smoa_comp:  
     697The historic usage information is stored in two relations of the QCG-Computing database: `jobs_acc` and `reservations_acc`. You can always archive old usage data to a file  and delete it from the database using the psql client: 
     698{{{ 
     699#!div style="font-size: 90%" 
     700{{{#!sh 
     701psql -h localhost qcg_comp qcg_comp  
     702Password for user qcg_comp:  
    703703Welcome to psql 8.1.23, the PostgreSQL interactive terminal. 
    704704   
     
    709709     \q to quit 
    710710 
    711 smoa_comp=> \o jobs.acc 
    712 smoa_comp=> SELECT * FROM jobs_acc where end_time < date '2010-01-10'; 
    713 smoa_comp=> \o reservations.acc 
    714 smoa_comp=> SELECT * FROM reservations_acc where end_time < date '2010-01-10'; 
    715 smoa_comp=> \o 
    716 smoa_comp=> DELETE FROM jobs_acc where end_time < date '2010-01-10'; 
    717 smoa_comp=> DELETE FROM reservation_acc where end_time < date '2010-01-10'; 
    718 }}} 
    719 }}} 
     711qcg_comp=> \o jobs.acc 
     712qcg_comp=> SELECT * FROM jobs_acc where end_time < date '2010-01-10'; 
     713qcg_comp=> \o reservations.acc 
     714qcg_comp=> SELECT * FROM reservations_acc where end_time < date '2010-01-10'; 
     715qcg_comp=> \o 
     716qcg_comp=> DELETE FROM jobs_acc where end_time < date '2010-01-10'; 
     717qcg_comp=> DELETE FROM reservation_acc where end_time < date '2010-01-10'; 
     718}}} 
     719}}}