Changes between Version 6 and Version 7 of InstallingUsingRPMS

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

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingUsingRPMS

    v6 v7  
    271271}}} 
    272272 
    273 Add appropriate rights for the `qcg_comp` and `grms` users in the Maui scheduler configuaration file: 
     273Add appropriate rights for the `qcg_comp` and `qcg_broker` users in the Maui scheduler configuaration file: 
    274274{{{ 
    275275#!div style="font-size: 90%" 
     
    278278# primary admin must be first in list 
    279279ADMIN1                root 
    280 ADMIN2                grms 
     280ADMIN2                qcg_broker 
    281281ADMIN3                qcg_comp 
    282282}}} 
     
    365365{{{#!xml 
    366366<?xml version="1.0" encoding="UTF-8"?> 
    367 <sm:qcgCore 
    368         xmlns:sm="http://schemas.qcg-project.com/core/2009/01/config" 
    369         xmlns="http://schemas.qcg-project.com/comp/2009/01/config" 
    370         xmlns:smc="http://schemas.qcg-project.com/comp/2009/01/config" 
     367<sm:QCGCore 
     368        xmlns:sm="http://schemas.qoscosgrid.org/core/2011/04/config" 
     369        xmlns="http://schemas.qoscosgrid.org/comp/2011/04/config" 
     370        xmlns:smc="http://schemas.qoscosgrid.org/comp/2011/04/config" 
    371371        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    372372         
    373373        <Configuration> 
    374374                <sm:ModuleManager> 
    375                         <sm:Directory>/opt/plgrid/qcg/qcg/lib/qcg-core/modules/</sm:Directory> 
    376                         <sm:Directory>/opt/plgrid/qcg/qcg/lib/qcg-comp/modules/</sm:Directory> 
     375                        <sm:Directory>/opt/plgrid/qcg/lib/qcg-core/modules/</sm:Directory> 
     376                        <sm:Directory>/opt/plgrid/qcg/lib/qcg-comp/modules/</sm:Directory> 
    377377                </sm:ModuleManager> 
    378378   
    379379                <sm:Service xsi:type="qcg-compd" description="QCG-Computing"> 
    380380                        <sm:Logger> 
    381                                 <sm:Filename>/opt/plgrid/var/log/qcg-comp/qcg-comp.log</sm:Filename> 
     381                                <sm:Filename>/opt/plgrid/var/log/qcg-comp/qcg-compd.log</sm:Filename> 
    382382                                <sm:Level>INFO</sm:Level> 
    383383                        </sm:Logger> 
     
    390390                           <sm:Authentication> 
    391391                                   <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
    392                                            <sm:X509CertFile>/opt/plgrid/qcg/qcg/etc/certs/qcgcert.pem</sm:X509CertFile> 
    393                                            <sm:X509KeyFile>/opt/plgrid/qcg/qcg/etc/certs/qcgkey.pem</sm:X509KeyFile> 
     392                                           <sm:X509CertFile>/opt/plgrid/qcg/etc/certs/qcgcert.pem</sm:X509CertFile> 
     393                                           <sm:X509KeyFile>/opt/plgrid/qcg/etc/certs/qcgkey.pem</sm:X509KeyFile> 
    394394                                   </sm:Module> 
    395395                           </sm:Authentication> 
     
    405405                        <sm:Module xsi:type="pbs_jsdl_filter"/> 
    406406                        <sm:Module xsi:type="atz_ardl_filter"/> 
    407                         <sm:Module xsi:type="sm:general_python" path="/opt/plgrid/qcg/qcg/lib/qcg-comp/modules/python/monitoring.py"/> 
    408    
    409                         <sm:Module xsi:type="submission_drmaa" path="/opt/plgrid/qcg/qcg/lib/libdrmaa.so"/> 
    410                         <sm:Module xsi:type="reservation_python" path="/opt/plgrid/qcg/qcg/lib/qcg-comp/modules/python/reservation_maui.py"/> 
     407                        <sm:Module xsi:type="sm:general_python" path="/opt/plgrid/qcg/lib/qcg-comp/modules/python/monitoring.py"/> 
     408   
     409                        <sm:Module xsi:type="submission_drmaa" path="/opt/plgrid/qcg/lib/libdrmaa.so"/> 
     410                        <sm:Module xsi:type="reservation_python" path="/opt/plgrid/qcg/lib/qcg-comp/modules/python/reservation_maui.py"/> 
    411411                         
    412412                        <sm:Module xsi:type="notification_wsn"> 
     
    421421                                 
    422422                        <sm:Module xsi:type="application_mapper"> 
    423                                 <ApplicationMapFile>/opt/plgrid/qcg/qcg/etc/application_mapfile</ApplicationMapFile> 
     423                                <ApplicationMapFile>/opt/plgrid/qcg/etc/application_mapfile</ApplicationMapFile> 
    424424                        </sm:Module> 
    425425   
     
    439439   
    440440        </Configuration> 
    441 </sm:qcgCore> 
     441</sm:QCGCore> 
    442442}}} 
    443443}}} 
     
    459459  a human readable description of the cluster 
    460460 
    461 == Configuring BAT accounting module == 
    462 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/qcg/etc/qcg-comp.xml`). Please put the following snippet just before the `Database` section: 
    463 {{{ 
    464 #!div style="font-size: 90%" 
    465 {{{#!xml 
    466 <sm:Module xsi:type="bat_updater"> 
    467         <BATServiceURL>tcp://acct.grid.cyf-kr.edu.pl:61616</BATServiceURL> 
    468         <SiteName>psnc-qcg-plgrid</SiteName> 
    469         <QueueName>test-jobs</QueueName> 
    470 </sm:Module> 
    471 }}} 
    472 }}} 
    473 where: 
    474 * BATServiceURL : URL of the BAT accounting service 
    475 * !SiteName : local site name as reported to the BAT service 
    476 * !QueueName : queue name to which report usage data 
    477  
     461== Configuring BAT accounting cron job == 
     462**TODO** 
    478463= Note on the security model = 
    479464The 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.: 
     
    504489* `releaseres` 
    505490* `checknode` 
    506 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/qcg/etc/sysconfig/qcg-compd` file and set the `PATH` variable appropriately, e.g.: 
     491If 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/etc/sysconfig/qcg-compd` file and set the `PATH` variable appropriately, e.g.: 
    507492{{{ 
    508493#!div style="font-size: 90%" 
     
    546531{{{#!sh 
    547532<?xml version="1.0" encoding="UTF-8"?> 
    548 <sm:qcgCore 
    549        xmlns:sm="http://schemas.qcg-project.com/core/2009/01/config" 
    550        xmlns="http://schemas.qcg-project.com/comp/2009/01/config" 
    551        xmlns:smc="http://schemas.qcg-project.com/comp/2009/01/config" 
     533<sm:QCGCore 
     534       xmlns:sm="http://schemas.qoscosgrid.org/core/2011/04/config" 
     535       xmlns="http://schemas.qoscosgrid.org/comp/2011/04/config" 
     536       xmlns:smc="http://schemas.qoscosgrid.org/comp/2011/04/config" 
    552537       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    553538   
    554539       <Configuration> 
    555540               <sm:ModuleManager> 
    556                        <sm:Directory>/opt/QCG/qcg/lib/qcg-core/modules/</sm:Directory> 
    557                        <sm:Directory>/opt/QCG/qcg//lib/qcg-comp/modules/</sm:Directory> 
     541                       <sm:Directory>/opt/qcg/lib/qcg-core/modules/</sm:Directory> 
     542                       <sm:Directory>/opt/qcg/lib/qcg-comp/modules/</sm:Directory> 
    558543               </sm:ModuleManager> 
    559544  
     
    581566Enter GRID pass phrase for this identity: 
    582567Creating proxy .................................................................. Done 
    583 Your proxy is valid until: Wed Sep 16 05:01:02 2009 
     568Your proxy is valid until: Wed Apr  6 05:01:02 2012 
    584569}}} 
    585570}}} 
     
    605590    <bes-factory:NamingProfile>http://schemas.ggf.org/bes/2006/08/bes/naming/BasicWSAddressing</bes-factory:NamingProfile>  
    606591    <bes-factory:BESExtension>http://schemas.ogf.org/hpcp/2007/01/bp/BasicFilter</bes-  factory:BESExtension> 
    607     <bes-factory:BESExtension>http://schemas.qcg-project.com/comp/2009/01</bes-factory:BESExtension> 
     592    <bes-factory:BESExtension>http://schemas.qoscosgrid.org/comp/2011/04</bes-factory:BESExtension> 
    608593    <bes-factory:LocalResourceManagerType>http://example.com/SunGridEngine</bes-factory:LocalResourceManagerType> 
    609     <smcf:NotificationProviderURL xmlns:smcf="http://schemas.qcg-project.com/comp/2009/01/factory">http://localhost:2211/</smcf:NotificationProviderURL> 
     594    <smcf:NotificationProviderURL xmlns:smcf="http://schemas.qoscosgrid.org/comp/2011/04/factory">http://localhost:2211/</smcf:NotificationProviderURL> 
    610595</bes-factory:FactoryResourceAttributesDocument> 
    611596}}} 
     
    615600#!div style="font-size: 90%" 
    616601{{{#!sh 
    617 qcg-comp -c -J /opt/plgrid/qcg/qcg/share/qcg-comp/doc/examples/jsdl/sleep.xml 
     602qcg-comp -c -J /opt/plgrid/qcg/share/qcg-comp/doc/examples/jsdl/sleep.xml 
    618603Activity Id: ccb6b04a-887b-4027-633f-412375559d73 
    619604}}} 
     
    637622#!div style="font-size: 90%" 
    638623{{{#!sh 
    639 cp /opt/plgrid/qcg/qcg/share/qcg-comp/doc/examples/ardl/oneslot.xml oneslot.xml 
     624cp /opt/plgrid/qcg/share/qcg-comp/doc/examples/ardl/oneslot.xml oneslot.xml 
    640625}}} 
    641626}}} 
     
    687672In order to expose the !QosCosGrid services externally you need to open the following ports in the firewall: 
    688673* 19000 (TCP) - QCG-Computing 
    689 * 19001 (TCP) - qcg Notification 
     674* 19001 (TCP) - QCG-Notification 
    690675* 2811 (TCP) - GridFTP server 
    691676* 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)