Changes between Version 21 and Version 22 of installation_QCG_BES_AR

Show
Ignore:
Timestamp:
05/20/11 08:20:15 (13 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_QCG_BES_AR

    v21 v22  
    4444#!div style="font-size: 90%" 
    4545{{{#!default 
    46   # pbs_drmaa.conf - Sample pbs_drmaa configuration file. 
    47   wait_thread: 1, 
    48   pbs_home: "/var/spool/pbs", 
    49   pool_delay: 5, 
    50   cache_job_state: 1, 
    51   hello = lambda: "world" 
     46# pbs_drmaa.conf - Sample pbs_drmaa configuration file. 
     47wait_thread: 1, 
     48pbs_home: "/var/spool/pbs", 
     49pool_delay: 5, 
     50cache_job_state: 1, 
     51hello = lambda: "world" 
    5252  }}} 
    5353}}} 
     
    6262#!div style="font-size: 90%" 
    6363{{{#!sh 
    64  . $GLOBUS_LOCATION/etc/globus-user-env.sh  
    65  tar xzf smoa-core-latest.tar.gz  
    66  cd smoa-core-2.0.4 
    67  ./configure --prefix=/opt/QCG/smoa --with-globus-flavor=gcc64dbg 
    68  make 
    69  sudo make install 
    70   }}} 
     64. $GLOBUS_LOCATION/etc/globus-user-env.sh  
     65tar xzf smoa-core-latest.tar.gz  
     66cd smoa-core-2.0.4 
     67./configure --prefix=/opt/QCG/smoa --with-globus-flavor=gcc64dbg 
     68make 
     69sudo make install 
     70}}} 
    7171}}} 
    7272 
     
    189189#!div style="font-size: 90%" 
    190190{{{#!default 
    191  [smoa_comp] 
    192  Description         = SMOA Computing database 
    193  Driver              = /usr/local/lib/libodbcpsql.so 
    194  Setup               = /usr/local/lib/libodbcpsqlS.so 
    195  Database            = smoa_comp 
    196  Servername          = localhost 
    197  Port                = 5432 
    198  ReadOnly            = No 
     191[smoa_comp] 
     192Description         = SMOA Computing database 
     193Driver              = /usr/local/lib/libodbcpsql.so 
     194Setup               = /usr/local/lib/libodbcpsqlS.so 
     195Database            = smoa_comp 
     196Servername          = localhost 
     197Port                = 5432 
     198ReadOnly            = No 
    199199}}} 
    200200}}} 
     
    209209{{{#!sh 
    210210isql -v smoa_comp smoa_comp <password> 
    211  +---------------------------------------+ 
    212  | Connected!                            | 
    213  |                                       | 
    214  | sql-statement                         | 
    215  | help [tablename]                      | 
    216  | quit                                  | 
    217  |                                       | 
    218  +---------------------------------------+ 
    219  SQL>quit 
     211+---------------------------------------+ 
     212| Connected!                            | 
     213|                                       | 
     214| sql-statement                         | 
     215| help [tablename]                      | 
     216| quit                                  | 
     217|                                       | 
     218+---------------------------------------+ 
     219SQL>quit 
    220220}}} 
    221221}}} 
     
    230230#!div style="font-size: 90%" 
    231231{{{#!xml 
    232  
    233  <?xml version="1.0" encoding="UTF-8"?> 
    234  <sm:SMOACore 
    235         xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
    236         xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
    237         xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
    238         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    239    
    240         <Configuration> 
    241                 <sm:ModuleManager> 
    242                         <sm:Directory>/opt/QCG/smoa//lib/smoa-core/modules/</sm:Directory> 
    243                         <sm:Directory>/opt/QCG/smoa//lib/smoa-comp/modules/</sm:Directory> 
    244                 </sm:ModuleManager> 
    245    
    246                 <sm:Service xsi:type="smoa-compd" description="SMOA Computing"> 
    247                         <sm:Logger> 
    248                                 <sm:Filename>/opt/QCG/smoa//var/log/smoa-comp/smoa-comp.log</sm:Filename> 
    249                                 <sm:Level>INFO</sm:Level> 
    250                         </sm:Logger> 
    251    
    252                         <sm:Transport> 
    253                                 <sm:Module xsi:type="sm:ecm_gsoap.service"> 
    254                                         <sm:Host>frontend.example.com</sm:Host> 
    255                                         <sm:Port>19000</sm:Port> 
    256                                         <sm:KeepAlive>false</sm:KeepAlive> 
    257                                         <sm:Authentication> 
    258                                                 <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
    259                                                         <sm:X509CertFile>/opt/QCG/smoa/certs/smoacert.pem</sm:X509CertFile> 
    260                                                         <sm:X509KeyFile>/opt/QCG/smoa/certs/smoakey.pem</sm:X509KeyFile> 
    261                                                 </sm:Module> 
    262                                         </sm:Authentication> 
    263                                         <sm:Authorization> 
    264                                                 <sm:Module xsi:type="sm:atz_mapfile"> 
    265                                                         <sm:Mapfile>/etc/grid-security/grid-mapfile</sm:Mapfile> 
    266                                                 </sm:Module> 
    267                                         </sm:Authorization> 
     232<?xml version="1.0" encoding="UTF-8"?> 
     233<sm:SMOACore 
     234       xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
     235       xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
     236       xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
     237       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
     238  
     239       <Configuration> 
     240               <sm:ModuleManager> 
     241                       <sm:Directory>/opt/QCG/smoa//lib/smoa-core/modules/</sm:Directory> 
     242                       <sm:Directory>/opt/QCG/smoa//lib/smoa-comp/modules/</sm:Directory> 
     243               </sm:ModuleManager> 
     244  
     245               <sm:Service xsi:type="smoa-compd" description="SMOA Computing"> 
     246                       <sm:Logger> 
     247                               <sm:Filename>/opt/QCG/smoa//var/log/smoa-comp/smoa-comp.log</sm:Filename> 
     248                               <sm:Level>INFO</sm:Level> 
     249                       </sm:Logger> 
     250  
     251                       <sm:Transport> 
     252                               <sm:Module xsi:type="sm:ecm_gsoap.service"> 
     253                                       <sm:Host>frontend.example.com</sm:Host> 
     254                                       <sm:Port>19000</sm:Port> 
     255                                       <sm:KeepAlive>false</sm:KeepAlive> 
     256                                       <sm:Authentication> 
     257                                               <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
     258                                                       <sm:X509CertFile>/opt/QCG/smoa/certs/smoacert.pem</sm:X509CertFile> 
     259                                                       <sm:X509KeyFile>/opt/QCG/smoa/certs/smoakey.pem</sm:X509KeyFile> 
     260                                               </sm:Module> 
     261                                       </sm:Authentication> 
     262                                       <sm:Authorization> 
     263                                               <sm:Module xsi:type="sm:atz_mapfile"> 
     264                                                       <sm:Mapfile>/etc/grid-security/grid-mapfile</sm:Mapfile> 
     265                                               </sm:Module> 
     266                                       </sm:Authorization> 
     267                               </sm:Module> 
     268                               <sm:Module xsi:type="smc:smoa-comp-service"/> 
     269                       </sm:Transport> 
     270  
     271                       <sm:Module xsi:type="submission_drmaa" path="/opt/QCG/LSF/lsf7.0.3/7.0/linux2.6-glibc2.3-x86/lib/libdrmaa.so"/> 
     272                       <sm:Module xsi:type="reservation_ares" path="/opt/QCG/smoa/lib/libares.so"/> 
     273  
     274                       <sm:Module xsi:type="lsf_jsdl_filter"/> 
     275                       <sm:Module xsi:type="smc:notification_wsn"> 
     276                               <sm:Module xsi:type="sm:ecm_gsoap.client" > 
     277                                     <sm:ServiceURL>http://frontend.example.com:19005/</sm:ServiceURL> 
     278                                     <sm:Authentication> 
     279                                           <sm:Module xsi:type="sm:atc_transport_http.client"/> 
     280                                     </sm:Authentication> 
     281                                           <sm:Module xsi:type="sm:ntf_client"/> 
     282                               </sm:Module> 
     283                       </sm:Module> 
     284     
     285                       <sm:Module xsi:type="atz_ardl_filter"/> 
     286 
     287                       <sm:Module xsi:type="application_mapper"> 
     288                               <ApplicationMapFile>/opt/QCG/smoa/etc/application_mapfile</ApplicationMapFile> 
     289                       </sm:Module> 
     290 
     291                       <Database> 
     292                               <DSN>smoa_comp</DSN> 
     293                               <User>smoa_comp</User> 
     294                               <Password>smoa_comp</Password> 
     295                       </Database> 
     296  
     297                       <UnprivilegedUser>smoa_comp</UnprivilegedUser> 
     298                       <ReservationsAdministrator>lsfadmin</ReservationsAdministrator> 
     299                       <FactoryAttributes> 
     300                               <CommonName>IT cluster</CommonName> 
     301                               <LongDescription>IT department cluster for public use</LongDescription> 
     302                               <LocalResourceManagerType>http://example.com/LSF</LocalResourceManagerType> 
     303                               <ContainedResources xmlns:bes-factory="http://schemas.ggf.org/bes/2006/08/bes-factory" xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"> 
     304                                       <ContainedResource> 
     305                                               <bes-factory:ResourceName>worker.example.com</bes-factory:ResourceName> 
     306                                               <bes-factory:CPUArchitecture> 
     307                                                       <jsdl:CPUArchitectureName>x86_32</jsdl:CPUArchitectureName> 
     308                                               </bes-factory:CPUArchitecture> 
     309                                               <bes-factory:CPUCount>4</bes-factory:CPUCount> 
     310                                               <bes-factory:PhysicalMemory>1073741824</bes-factory:PhysicalMemory> 
     311                                       </ContainedResource> 
     312                               </ContainedResources> 
     313                       </FactoryAttributes> 
     314               </sm:Service> 
     315       </Configuration> 
     316</sm:SMOACore> 
     317}}} 
     318}}} 
     319 
     320=== Template configuration  for the SMOA Computing service deployed on the top of Sun Grid Engine === 
     321{{{ 
     322#!div style="font-size: 90%" 
     323{{{#!xml 
     324<?xml version="1.0" encoding="UTF-8"?> 
     325<sm:SMOACore 
     326       xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
     327       xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
     328       xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
     329       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
     330  
     331       <Configuration> 
     332               <sm:ModuleManager> 
     333                       <sm:Directory>/opt/QCG/smoa/lib/smoa-core/modules/</sm:Directory> 
     334                       <sm:Directory>/opt/QCG/smoa/lib/smoa-comp/modules/</sm:Directory> 
     335               </sm:ModuleManager> 
     336  
     337               <sm:Service xsi:type="smoa-compd" description="SMOA Computing"> 
     338                       <sm:Logger> 
     339                               <sm:Filename>/opt/QCG/smoa/var/log/smoa-comp/smoa-comp.log</sm:Filename> 
     340                               <sm:Level>INFO</sm:Level> 
     341                       </sm:Logger> 
     342  
     343                       <sm:Transport> 
     344                               <sm:Module xsi:type="sm:ecm_gsoap.service"> 
     345                                       <sm:Host>frontend.example.com</sm:Host> 
     346                                       <sm:Port>19000</sm:Port> 
     347                                       <sm:KeepAlive>false</sm:KeepAlive> 
     348                                       <sm:Authentication> 
     349                                               <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
     350                                                       <sm:X509CertFile>/opt/QCG/smoa/etc/certs/smoacert.pem</sm:X509CertFile> 
     351                                                       <sm:X509KeyFile>/opt/QCG/smoa/etc/certs/smoakey.pem</sm:X509KeyFile> 
     352                                               </sm:Module> 
     353                                       </sm:Authentication> 
     354                                       <sm:Authorization> 
     355                                               <sm:Module xsi:type="sm:atz_mapfile"> 
     356                                                       <sm:Mapfile>/etc/grid-security/grid-mapfile</sm:Mapfile> 
     357                                               </sm:Module> 
     358                                       </sm:Authorization> 
     359                               </sm:Module> 
     360                               <sm:Module xsi:type="smc:smoa-comp-service"/> 
     361                       </sm:Transport> 
     362   
     363                       <sm:Module xsi:type="submission_drmaa" path="/opt/sge/lib/lx24-x86/libdrmaa.so"/> 
     364                       <sm:Module xsi:type="reservation_python" path="/opt/QCG/smoa/lib/smoa-comp/modules/python/reservation_sge.py"/> 
     365                         
     366                       <sm:Module xsi:type="sge_jsdl_filter"/> 
     367                       <sm:Module xsi:type="atz_ardl_filter"/> 
     368 
     369                       <sm:Module xsi:type="application_mapper"> 
     370                               <ApplicationMapFile>/opt/QCG/smoa/etc/application_mapfile</ApplicationMapFile> 
     371                       </sm:Module> 
     372   
     373                       <sm:Module xsi:type="smc:notification_wsn"> 
     374                               <sm:Module xsi:type="sm:ecm_gsoap.client" > 
     375                                     <sm:ServiceURL>http://frontend.example.com:19005/</sm:ServiceURL> 
     376                                     <sm:Authentication> 
     377                                           <sm:Module xsi:type="sm:atc_transport_http.client"/> 
     378                                     </sm:Authentication> 
     379                                           <sm:Module xsi:type="sm:ntf_client"/> 
    268380                                </sm:Module> 
    269                                 <sm:Module xsi:type="smc:smoa-comp-service"/> 
    270                         </sm:Transport> 
    271    
    272                         <sm:Module xsi:type="submission_drmaa" path="/opt/QCG/LSF/lsf7.0.3/7.0/linux2.6-glibc2.3-x86/lib/libdrmaa.so"/> 
    273                         <sm:Module xsi:type="reservation_ares" path="/opt/QCG/smoa/lib/libares.so"/> 
    274    
    275                         <sm:Module xsi:type="lsf_jsdl_filter"/> 
    276                         <sm:Module xsi:type="smc:notification_wsn"> 
    277                                 <sm:Module xsi:type="sm:ecm_gsoap.client" > 
    278                                       <sm:ServiceURL>http://frontend.example.com:19005/</sm:ServiceURL> 
    279                                       <sm:Authentication> 
    280                                             <sm:Module xsi:type="sm:atc_transport_http.client"/> 
    281                                       </sm:Authentication> 
    282                                             <sm:Module xsi:type="sm:ntf_client"/> 
    283                                  </sm:Module> 
    284                         </sm:Module> 
    285      
    286                         <sm:Module xsi:type="atz_ardl_filter"/> 
    287   
    288                         <sm:Module xsi:type="application_mapper"> 
    289                                 <ApplicationMapFile>/opt/QCG/smoa/etc/application_mapfile</ApplicationMapFile> 
    290                         </sm:Module> 
    291   
    292                         <Database> 
    293                                 <DSN>smoa_comp</DSN> 
    294                                 <User>smoa_comp</User> 
    295                                 <Password>smoa_comp</Password> 
    296                         </Database> 
    297    
    298                         <UnprivilegedUser>smoa_comp</UnprivilegedUser> 
    299                         <ReservationsAdministrator>lsfadmin</ReservationsAdministrator> 
    300                         <FactoryAttributes> 
    301                                 <CommonName>IT cluster</CommonName> 
    302                                 <LongDescription>IT department cluster for public use</LongDescription> 
    303                                 <LocalResourceManagerType>http://example.com/LSF</LocalResourceManagerType> 
    304                                 <ContainedResources xmlns:bes-factory="http://schemas.ggf.org/bes/2006/08/bes-factory" xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"> 
    305                                         <ContainedResource> 
    306                                                 <bes-factory:ResourceName>worker.example.com</bes-factory:ResourceName> 
    307                                                 <bes-factory:CPUArchitecture> 
    308                                                         <jsdl:CPUArchitectureName>x86_32</jsdl:CPUArchitectureName> 
    309                                                 </bes-factory:CPUArchitecture> 
    310                                                 <bes-factory:CPUCount>4</bes-factory:CPUCount> 
    311                                                 <bes-factory:PhysicalMemory>1073741824</bes-factory:PhysicalMemory> 
    312                                         </ContainedResource> 
    313                                 </ContainedResources> 
    314                         </FactoryAttributes> 
    315                 </sm:Service> 
    316         </Configuration> 
    317  </sm:SMOACore> 
    318 }}} 
    319 }}} 
    320  
    321 === Template configuration  for the SMOA Computing service deployed on the top of Sun Grid Engine === 
     381                       </sm:Module> 
     382  
     383                       <Database> 
     384                               <DSN>smoa_comp</DSN> 
     385                               <User>smoa_comp</User> 
     386                               <Password>smoa_comp</Password> 
     387                       </Database> 
     388  
     389                       <UnprivilegedUser>smoa_comp</UnprivilegedUser> 
     390                       <OnlyOwnerCanGetStatus>false</OnlyOwnerCanGetStatus> 
     391                       <OnlyOwnerCanGetDocument>false</OnlyOwnerCanGetDocument> 
     392                       <ReservationsAdministrator>sgeadmin</ReservationsAdministrator> 
     393   
     394                       <FactoryAttributes> 
     395                               <CommonName>IT cluster</CommonName> 
     396                               <LongDescription>IT department cluster for public use</LongDescription> 
     397                               <LocalResourceManagerType>http://example.com/SunGridEngine</LocalResourceManagerType> 
     398                               <ContainedResources xmlns:bes-factory="http://schemas.ggf.org/bes/2006/08/bes-factory" xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"> 
     399                                       <ContainedResource> 
     400                                               <bes-factory:ResourceName>worker.example.com</bes-factory:ResourceName> 
     401                                               <bes-factory:CPUArchitecture> 
     402                                                       <jsdl:CPUArchitectureName>x86_32</jsdl:CPUArchitectureName> 
     403                                               </bes-factory:CPUArchitecture> 
     404                                               <bes-factory:CPUCount>4</bes-factory:CPUCount> 
     405                                               <bes-factory:PhysicalMemory>1073741824</bes-factory:PhysicalMemory> 
     406                                       </ContainedResource> 
     407                               </ContainedResources> 
     408                       </FactoryAttributes> 
     409               </sm:Service> 
     410       </Configuration> 
     411</sm:SMOACore> 
     412}}} 
     413}}} 
     414 
     415=== Template configuration  for the SMOA Computing service deployed on the top of Torque (using Maui scheduler) === 
    322416{{{ 
    323417#!div style="font-size: 90%" 
    324418{{{#!xml 
    325  
    326  <?xml version="1.0" encoding="UTF-8"?> 
    327  <sm:SMOACore 
    328         xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
    329         xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
    330         xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
    331         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    332    
    333         <Configuration> 
    334                 <sm:ModuleManager> 
    335                         <sm:Directory>/opt/QCG/smoa/lib/smoa-core/modules/</sm:Directory> 
    336                         <sm:Directory>/opt/QCG/smoa/lib/smoa-comp/modules/</sm:Directory> 
    337                 </sm:ModuleManager> 
    338    
    339                 <sm:Service xsi:type="smoa-compd" description="SMOA Computing"> 
    340                         <sm:Logger> 
    341                                 <sm:Filename>/opt/QCG/smoa/var/log/smoa-comp/smoa-comp.log</sm:Filename> 
    342                                 <sm:Level>INFO</sm:Level> 
    343                         </sm:Logger> 
    344    
    345                         <sm:Transport> 
    346                                 <sm:Module xsi:type="sm:ecm_gsoap.service"> 
    347                                         <sm:Host>frontend.example.com</sm:Host> 
    348                                         <sm:Port>19000</sm:Port> 
    349                                         <sm:KeepAlive>false</sm:KeepAlive> 
    350                                         <sm:Authentication> 
    351                                                 <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
    352                                                         <sm:X509CertFile>/opt/QCG/smoa/etc/certs/smoacert.pem</sm:X509CertFile> 
    353                                                         <sm:X509KeyFile>/opt/QCG/smoa/etc/certs/smoakey.pem</sm:X509KeyFile> 
    354                                                 </sm:Module> 
    355                                         </sm:Authentication> 
    356                                         <sm:Authorization> 
    357                                                 <sm:Module xsi:type="sm:atz_mapfile"> 
    358                                                         <sm:Mapfile>/etc/grid-security/grid-mapfile</sm:Mapfile> 
    359                                                 </sm:Module> 
    360                                         </sm:Authorization> 
     419<?xml version="1.0" encoding="UTF-8"?> 
     420<sm:SMOACore 
     421       xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
     422       xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
     423       xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
     424       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
     425  
     426       <Configuration> 
     427               <sm:ModuleManager> 
     428                       <sm:Directory>/opt/QCG/smoa/lib/smoa-core/modules/</sm:Directory> 
     429                       <sm:Directory>/opt/QCG/smoa/lib/smoa-comp/modules/</sm:Directory> 
     430               </sm:ModuleManager> 
     431  
     432               <sm:Service xsi:type="smoa-compd" description="SMOA Computing"> 
     433                       <sm:Logger> 
     434                               <sm:Filename>/opt/QCG/smoa/var/log/smoa-comp/smoa-comp.log</sm:Filename> 
     435                               <sm:Level>INFO</sm:Level> 
     436                       </sm:Logger> 
     437  
     438                       <sm:Transport> 
     439                               <sm:Module xsi:type="sm:ecm_gsoap.service"> 
     440                                       <sm:Host>frontend.example.com</sm:Host> 
     441                                       <sm:Port>19000</sm:Port> 
     442                                       <sm:KeepAlive>false</sm:KeepAlive> 
     443                                       <sm:Authentication> 
     444                                               <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
     445                                                       <sm:X509CertFile>/opt/QCG/smoa/etc/certs/smoacert.pem</sm:X509CertFile> 
     446                                                       <sm:X509KeyFile>/opt/QCG/smoa/etc/certs/smoakey.pem</sm:X509KeyFile> 
     447                                               </sm:Module> 
     448                                       </sm:Authentication> 
     449                                       <sm:Authorization> 
     450                                               <sm:Module xsi:type="sm:atz_mapfile"> 
     451                                                       <sm:Mapfile>/etc/grid-security/grid-mapfile</sm:Mapfile> 
     452                                               </sm:Module> 
     453                                       </sm:Authorization> 
     454                               </sm:Module> 
     455                               <sm:Module xsi:type="smc:smoa-comp-service"/> 
     456                       </sm:Transport> 
     457   
     458                       <sm:Module xsi:type="submission_drmaa" path="/opt/QCG/smoa/lib/libdrmaa.so"/> 
     459                       <sm:Module xsi:type="reservation_python" path="/opt/QCG/smoa/lib/smoa-comp/modules/python/reservation_maui.py"/> 
     460                         
     461                       <sm:Module xsi:type="pbs_jsdl_filter"/> 
     462                       <sm:Module xsi:type="atz_ardl_filter"/> 
     463  
     464                       <sm:Module xsi:type="application_mapper"> 
     465                               <ApplicationMapFile>/opt/QCG/smoa/etc/application_mapfile</ApplicationMapFile> 
     466                       </sm:Module> 
     467  
     468                       <sm:Module xsi:type="smc:notification_wsn"> 
     469                               <sm:Module xsi:type="sm:ecm_gsoap.client" > 
     470                                     <sm:ServiceURL>http://frontend.example.com:19005/</sm:ServiceURL> 
     471                                     <sm:Authentication> 
     472                                           <sm:Module xsi:type="sm:atc_transport_http.client"/> 
     473                                     </sm:Authentication> 
     474                                           <sm:Module xsi:type="sm:ntf_client"/> 
    361475                                </sm:Module> 
    362                                 <sm:Module xsi:type="smc:smoa-comp-service"/> 
    363                         </sm:Transport> 
    364    
    365                         <sm:Module xsi:type="submission_drmaa" path="/opt/sge/lib/lx24-x86/libdrmaa.so"/> 
    366                         <sm:Module xsi:type="reservation_python" path="/opt/QCG/smoa/lib/smoa-comp/modules/python/reservation_sge.py"/> 
    367                          
    368                         <sm:Module xsi:type="sge_jsdl_filter"/> 
    369                         <sm:Module xsi:type="atz_ardl_filter"/> 
    370   
    371                         <sm:Module xsi:type="application_mapper"> 
    372                                 <ApplicationMapFile>/opt/QCG/smoa/etc/application_mapfile</ApplicationMapFile> 
    373                         </sm:Module> 
    374    
    375                         <sm:Module xsi:type="smc:notification_wsn"> 
    376                                 <sm:Module xsi:type="sm:ecm_gsoap.client" > 
    377                                       <sm:ServiceURL>http://frontend.example.com:19005/</sm:ServiceURL> 
    378                                       <sm:Authentication> 
    379                                             <sm:Module xsi:type="sm:atc_transport_http.client"/> 
    380                                       </sm:Authentication> 
    381                                             <sm:Module xsi:type="sm:ntf_client"/> 
    382                                  </sm:Module> 
    383                         </sm:Module> 
    384    
    385                         <Database> 
    386                                 <DSN>smoa_comp</DSN> 
    387                                 <User>smoa_comp</User> 
    388                                 <Password>smoa_comp</Password> 
    389                         </Database> 
    390    
    391                         <UnprivilegedUser>smoa_comp</UnprivilegedUser> 
    392                         <OnlyOwnerCanGetStatus>false</OnlyOwnerCanGetStatus> 
    393                         <OnlyOwnerCanGetDocument>false</OnlyOwnerCanGetDocument> 
    394                         <ReservationsAdministrator>sgeadmin</ReservationsAdministrator> 
    395    
    396                         <FactoryAttributes> 
    397                                 <CommonName>IT cluster</CommonName> 
    398                                 <LongDescription>IT department cluster for public use</LongDescription> 
    399                                 <LocalResourceManagerType>http://example.com/SunGridEngine</LocalResourceManagerType> 
    400                                 <ContainedResources xmlns:bes-factory="http://schemas.ggf.org/bes/2006/08/bes-factory" xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl"> 
    401                                         <ContainedResource> 
    402                                                 <bes-factory:ResourceName>worker.example.com</bes-factory:ResourceName> 
    403                                                 <bes-factory:CPUArchitecture> 
    404                                                         <jsdl:CPUArchitectureName>x86_32</jsdl:CPUArchitectureName> 
    405                                                 </bes-factory:CPUArchitecture> 
    406                                                 <bes-factory:CPUCount>4</bes-factory:CPUCount> 
    407                                                 <bes-factory:PhysicalMemory>1073741824</bes-factory:PhysicalMemory> 
    408                                         </ContainedResource> 
    409                                 </ContainedResources> 
    410                         </FactoryAttributes> 
    411                 </sm:Service> 
    412         </Configuration> 
    413  </sm:SMOACore> 
    414 }}} 
    415 }}} 
    416  
    417 === Template configuration  for the SMOA Computing service deployed on the top of Torque (using Maui scheduler) === 
    418 {{{ 
    419 #!div style="font-size: 90%" 
    420 {{{#!xml 
    421  
    422  <?xml version="1.0" encoding="UTF-8"?> 
    423  <sm:SMOACore 
    424         xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
    425         xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
    426         xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
    427         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    428    
    429         <Configuration> 
    430                 <sm:ModuleManager> 
    431                         <sm:Directory>/opt/QCG/smoa/lib/smoa-core/modules/</sm:Directory> 
    432                         <sm:Directory>/opt/QCG/smoa/lib/smoa-comp/modules/</sm:Directory> 
    433                 </sm:ModuleManager> 
    434    
    435                 <sm:Service xsi:type="smoa-compd" description="SMOA Computing"> 
    436                         <sm:Logger> 
    437                                 <sm:Filename>/opt/QCG/smoa/var/log/smoa-comp/smoa-comp.log</sm:Filename> 
    438                                 <sm:Level>INFO</sm:Level> 
    439                         </sm:Logger> 
    440    
    441                         <sm:Transport> 
    442                                 <sm:Module xsi:type="sm:ecm_gsoap.service"> 
    443                                         <sm:Host>frontend.example.com</sm:Host> 
    444                                         <sm:Port>19000</sm:Port> 
    445                                         <sm:KeepAlive>false</sm:KeepAlive> 
    446                                         <sm:Authentication> 
    447                                                 <sm:Module xsi:type="sm:atc_transport_gsi.service"> 
    448                                                         <sm:X509CertFile>/opt/QCG/smoa/etc/certs/smoacert.pem</sm:X509CertFile> 
    449                                                         <sm:X509KeyFile>/opt/QCG/smoa/etc/certs/smoakey.pem</sm:X509KeyFile> 
    450                                                 </sm:Module> 
    451                                         </sm:Authentication> 
    452                                         <sm:Authorization> 
    453                                                 <sm:Module xsi:type="sm:atz_mapfile"> 
    454                                                         <sm:Mapfile>/etc/grid-security/grid-mapfile</sm:Mapfile> 
    455                                                 </sm:Module> 
    456                                         </sm:Authorization> 
    457                                 </sm:Module> 
    458                                 <sm:Module xsi:type="smc:smoa-comp-service"/> 
    459                         </sm:Transport> 
    460    
    461                         <sm:Module xsi:type="submission_drmaa" path="/opt/QCG/smoa/lib/libdrmaa.so"/> 
    462                         <sm:Module xsi:type="reservation_python" path="/opt/QCG/smoa/lib/smoa-comp/modules/python/reservation_maui.py"/> 
    463                          
    464                         <sm:Module xsi:type="pbs_jsdl_filter"/> 
    465                         <sm:Module xsi:type="atz_ardl_filter"/> 
    466   
    467                         <sm:Module xsi:type="application_mapper"> 
    468                                 <ApplicationMapFile>/opt/QCG/smoa/etc/application_mapfile</ApplicationMapFile> 
    469                         </sm:Module> 
    470    
    471                         <sm:Module xsi:type="smc:notification_wsn"> 
    472                                 <sm:Module xsi:type="sm:ecm_gsoap.client" > 
    473                                       <sm:ServiceURL>http://frontend.example.com:19005/</sm:ServiceURL> 
    474                                       <sm:Authentication> 
    475                                             <sm:Module xsi:type="sm:atc_transport_http.client"/> 
    476                                       </sm:Authentication> 
    477                                             <sm:Module xsi:type="sm:ntf_client"/> 
    478                                  </sm:Module> 
    479                         </sm:Module> 
    480    
    481                         <sm:Module xsi:type="sm:general_python" path="/opt/QCG/smoa/lib/smoa-comp/modules/python/monitoring.py"/> 
    482    
    483                         <Database> 
    484                                 <DSN>smoa_comp</DSN> 
    485                                 <User>smoa_comp</User> 
    486                                 <Password>smoa_comp</Password> 
    487                         </Database> 
    488    
    489                         <UnprivilegedUser>smoa_comp</UnprivilegedUser> 
    490                         <ReservationsAdministrator>maui</ReservationsAdministrator>   
    491                         <FactoryAttributes> 
    492                                 <CommonName>frontend.example.com</CommonName> 
    493                                 <LongDescription>IT department cluster for public use</LongDescription> 
    494                         </FactoryAttributes> 
    495                 </sm:Service> 
    496         </Configuration> 
    497  </sm:SMOACore> 
     476                       </sm:Module> 
     477  
     478                       <sm:Module xsi:type="sm:general_python" path="/opt/QCG/smoa/lib/smoa-comp/modules/python/monitoring.py"/> 
     479   
     480                       <Database> 
     481                               <DSN>smoa_comp</DSN> 
     482                               <User>smoa_comp</User> 
     483                               <Password>smoa_comp</Password> 
     484                       </Database> 
     485   
     486                       <UnprivilegedUser>smoa_comp</UnprivilegedUser> 
     487                       <ReservationsAdministrator>maui</ReservationsAdministrator>   
     488                       <FactoryAttributes> 
     489                               <CommonName>frontend.example.com</CommonName> 
     490                               <LongDescription>IT department cluster for public use</LongDescription> 
     491                       </FactoryAttributes> 
     492               </sm:Service> 
     493       </Configuration> 
     494</sm:SMOACore> 
    498495}}} 
    499496}}} 
     
    536533#!div style="font-size: 90%" 
    537534{{{#!xml 
    538  <sm:Module xsi:type="bat_updater"> 
    539         <BATServiceURL>tcp://acct.grid.cyf-kr.edu.pl:61616</BATServiceURL> 
    540         <SiteName>psnc-smoa-plgrid</SiteName> 
    541         <QueueName>test-jobs</QueueName> 
    542  </sm:Module> 
     535<sm:Module xsi:type="bat_updater"> 
     536       <BATServiceURL>tcp://acct.grid.cyf-kr.edu.pl:61616</BATServiceURL> 
     537       <SiteName>psnc-smoa-plgrid</SiteName> 
     538       <QueueName>test-jobs</QueueName> 
     539</sm:Module> 
    543540}}} 
    544541}}} 
     
    599596#!div style="font-size: 90%" 
    600597{{{#!xml 
    601  <?xml version="1.0" encoding="UTF-8"?> 
    602  <sm:SMOACore 
    603         xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
    604         xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
    605         xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
    606         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
    607    
    608         <Configuration> 
    609                 <sm:ModuleManager> 
    610                         <sm:Directory>/opt/QCG/smoa/lib/smoa-core/modules/</sm:Directory> 
    611                         <sm:Directory>/opt/QCG/smoa//lib/smoa-comp/modules/</sm:Directory> 
    612                 </sm:ModuleManager> 
    613    
    614                 <sm:Client xsi:type="smoa-comp" description="SMOA Computing client"> 
    615                         <sm:Transport> 
    616                                 <sm:Module xsi:type="sm:ecm_gsoap.client"> 
    617                                         <sm:ServiceURL>httpg://frontend.example.com:19000/</sm:ServiceURL> 
    618                                         <sm:Authentication> 
    619                                                 <sm:Module xsi:type="sm:atc_transport_gsi.client"/> 
    620                                         </sm:Authentication> 
    621                                         <sm:Module xsi:type="smc:smoa-comp-client"/> 
    622                                 </sm:Module> 
    623                         </sm:Transport> 
    624                 </sm:Client> 
    625         </Configuration> 
    626  </sm:SMOACore> 
     598<?xml version="1.0" encoding="UTF-8"?> 
     599<sm:SMOACore 
     600       xmlns:sm="http://schemas.smoa-project.com/core/2009/01/config" 
     601       xmlns="http://schemas.smoa-project.com/comp/2009/01/config" 
     602       xmlns:smc="http://schemas.smoa-project.com/comp/2009/01/config" 
     603       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> 
     604   
     605       <Configuration> 
     606               <sm:ModuleManager> 
     607                       <sm:Directory>/opt/QCG/smoa/lib/smoa-core/modules/</sm:Directory> 
     608                       <sm:Directory>/opt/QCG/smoa//lib/smoa-comp/modules/</sm:Directory> 
     609               </sm:ModuleManager> 
     610   
     611               <sm:Client xsi:type="smoa-comp" description="SMOA Computing client"> 
     612                       <sm:Transport> 
     613                               <sm:Module xsi:type="sm:ecm_gsoap.client"> 
     614                                       <sm:ServiceURL>httpg://frontend.example.com:19000/</sm:ServiceURL> 
     615                                       <sm:Authentication> 
     616                                               <sm:Module xsi:type="sm:atc_transport_gsi.client"/> 
     617                                       </sm:Authentication> 
     618                                       <sm:Module xsi:type="smc:smoa-comp-client"/> 
     619                               </sm:Module> 
     620                       </sm:Transport> 
     621               </sm:Client> 
     622       </Configuration> 
     623</sm:SMOACore> 
    627624}}} 
    628625}}} 
     
    647644smoa-comp -G | xmllint --format - # the xmllint is used only to present the result in more pleasant way 
    648645   
    649   <bes-factory:FactoryResourceAttributesDocument xmlns:bes-factory="http://schemas.ggf.org/bes/2006/08/bes-factory"> 
    650     <bes-factory:IsAcceptingNewActivities>true</bes-factory:IsAcceptingNewActivities> 
    651     <bes-factory:CommonName>IT cluster</bes-factory:CommonName> 
    652     <bes-factory:LongDescription>IT department cluster for public   use</bes-factory:LongDescription> 
    653     <bes-factory:TotalNumberOfActivities>0</bes-factory:TotalNumberOfActivities> 
    654     <bes-factory:TotalNumberOfContainedResources>1</bes-factory:TotalNumberOfContainedResources> 
    655     <bes-factory:ContainedResource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="bes-factory:BasicResourceAttributesDocumentType"> 
    656         <bes-factory:ResourceName>worker.example.com</bes-factory:ResourceName> 
    657         <bes-factory:CPUArchitecture> 
    658             <jsdl:CPUArchitectureName xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl">x86_32</jsdl:CPUArchitectureName> 
    659         </bes-factory:CPUArchitecture> 
    660         <bes-factory:CPUCount>4</bes-factory:CPUCount><bes-factory:PhysicalMemory>1073741824</bes-factory:PhysicalMemory> 
    661     </bes-factory:ContainedResource> 
    662     <bes-factory:NamingProfile>http://schemas.ggf.org/bes/2006/08/bes/naming/BasicWSAddressing</bes-factory:NamingProfile>  
    663     <bes-factory:BESExtension>http://schemas.ogf.org/hpcp/2007/01/bp/BasicFilter</bes-  factory:BESExtension> 
    664     <bes-factory:BESExtension>http://schemas.smoa-project.com/comp/2009/01</bes-factory:BESExtension> 
    665     <bes-factory:LocalResourceManagerType>http://example.com/SunGridEngine</bes-factory:LocalResourceManagerType> 
    666     <smcf:NotificationProviderURL xmlns:smcf="http://schemas.smoa-project.com/comp/2009/01/factory">http://localhost:2211/</smcf:NotificationProviderURL> 
     646 <bes-factory:FactoryResourceAttributesDocument xmlns:bes-factory="http://schemas.ggf.org/bes/2006/08/bes-factory"> 
     647   <bes-factory:IsAcceptingNewActivities>true</bes-factory:IsAcceptingNewActivities> 
     648   <bes-factory:CommonName>IT cluster</bes-factory:CommonName> 
     649   <bes-factory:LongDescription>IT department cluster for public   use</bes-factory:LongDescription> 
     650   <bes-factory:TotalNumberOfActivities>0</bes-factory:TotalNumberOfActivities> 
     651   <bes-factory:TotalNumberOfContainedResources>1</bes-factory:TotalNumberOfContainedResources> 
     652   <bes-factory:ContainedResource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="bes-factory:BasicResourceAttributesDocumentType"> 
     653       <bes-factory:ResourceName>worker.example.com</bes-factory:ResourceName> 
     654       <bes-factory:CPUArchitecture> 
     655           <jsdl:CPUArchitectureName xmlns:jsdl="http://schemas.ggf.org/jsdl/2005/11/jsdl">x86_32</jsdl:CPUArchitectureName> 
     656       </bes-factory:CPUArchitecture> 
     657       <bes-factory:CPUCount>4</bes-factory:CPUCount><bes-factory:PhysicalMemory>1073741824</bes-factory:PhysicalMemory> 
     658   </bes-factory:ContainedResource> 
     659   <bes-factory:NamingProfile>http://schemas.ggf.org/bes/2006/08/bes/naming/BasicWSAddressing</bes-factory:NamingProfile>  
     660   <bes-factory:BESExtension>http://schemas.ogf.org/hpcp/2007/01/bp/BasicFilter</bes-  factory:BESExtension> 
     661   <bes-factory:BESExtension>http://schemas.smoa-project.com/comp/2009/01</bes-factory:BESExtension> 
     662   <bes-factory:LocalResourceManagerType>http://example.com/SunGridEngine</bes-factory:LocalResourceManagerType> 
     663   <smcf:NotificationProviderURL xmlns:smcf="http://schemas.smoa-project.com/comp/2009/01/factory">http://localhost:2211/</smcf:NotificationProviderURL> 
    667664 </bes-factory:FactoryResourceAttributesDocument> 
    668665}}}