Changes between Version 8 and Version 9 of installation_QCG_BES_AR

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

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_QCG_BES_AR

    v8 v9  
    544544 BATServiceURL:: 
    545545  URL of the BAT accounting service 
    546  SiteName:: 
     546 !SiteName:: 
    547547  local site name as reported to the BAT service 
    548  QueueName:: 
     548 !QueueName:: 
    549549  queue name to which report usage data 
    550550 
     
    552552The 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.: 
    553553* authentication is provided on basics of ''httpg'' protocol 
    554 * authorization is based on the local <code>grid-mapfile</code> mapfile (see [[GridFTP#Users_configuration|  Users configuration]]). 
    555  
    556 =Starting the service= 
     554* authorization is based on the local `grid-mapfile` mapfile (see [[GridFTP#Users_configuration|  Users configuration]]). 
     555 
     556= Starting the service = 
     557 
    557558As root type: 
    558   
     559{{{ 
     560#!div style="font-size: 90%" 
     561{{{#!sh  
    559562 # /opt/QCG/smoa/sbin/smoa-compd 
     563}}} 
     564}}} 
    560565 
    561566or if you want the service not to daemonize and print all logs to console type: 
    562567 
     568{{{ 
     569#!div style="font-size: 90%" 
     570{{{#!sh 
    563571 # /opt/QCG/smoa/sbin/smoa-compd -d 
    564  
    565 otherwise the logs can be found in <code>/opt/QCG/smoa/var/log/smoa-comp/smoa-comp.log</code>. 
    566  
    567 {{Note}} Before starting the <code>smoa-compd</code> service make sure that all environment variables needed to contact the LRMS system are set (i.e. the <code>SGE_ROOT</code>  for SGE or the whole <code>profile.lsf</code> file sourced in case of LSF) 
    568  
    569 =Stopping the service= 
     572}}} 
     573}}} 
     574otherwise the logs can be found in `/opt/QCG/smoa/var/log/smoa-comp/smoa-comp.log`. 
     575 
     576'''Note:''' Before starting the `smoa-compd` service make sure that all environment variables needed to contact the LRMS system are set (i.e. the `SGE_ROOT`  for SGE or the whole `profile.lsf` file sourced in case of LSF) 
     577 
     578= Stopping the service = 
     579 
    570580The service is stopped by sending SIGTERM signal, e.g.: 
     581 
     582{{{ 
     583#!div style="font-size: 90%" 
     584{{{#!sh 
    571585  # pkill smoa-compd 
    572  
    573 =Verifying the installation= 
    574  
    575 *  For convenience you can add the <code>/opt/QCG/smoa/bin</code> to your <code>PATH</code> variable. 
    576 *  Edit the SMOA Computing client configuration file (<code>PREFIX/etc/smoa-comp.xml</code>): 
    577 **  set the ''Host'' and ''Port''  to reflects the changes in the service configuration file (<code>smoa-compd.xml</code>), 
    578 **  change the authentication module type from <code>sm:atc_transport_http.client</code> to <code>sm:atc_transport_gsi.client</code>, 
    579  
     586}}} 
     587}}} 
     588 
     589= Verifying the installation = 
     590 
     591*  For convenience you can add the `/opt/QCG/smoa/bin` to your `PATH` variable. 
     592*  Edit the SMOA Computing client configuration file (`PREFIX/etc/smoa-comp.xml`): 
     593 *  set the ''Host'' and ''Port''  to reflects the changes in the service configuration file (`smoa-compd.xml`), 
     594 *  change the authentication module type from `sm:atc_transport_http.client` to `sm:atc_transport_gsi.client`, 
     595 
     596{{{ 
     597#!div style="font-size: 90%" 
     598{{{#!xml 
    580599 <?xml version="1.0" encoding="UTF-8"?> 
    581600 <sm:SMOACore 
     
    604623        </Configuration> 
    605624 </sm:SMOACore> 
     625}}} 
     626}}} 
    606627 
    607628* Initialize your credentials: 
    608629 
     630{{{ 
     631#!div style="font-size: 90%" 
     632{{{#!sh 
    609633 $ grid-proxy-init  
    610634 Your identity: /O=Grid/OU=QosCosGrid/OU=PSNC/CN=Mariusz Mamonski 
     
    612636 Creating proxy .................................................................. Done 
    613637 Your proxy is valid until: Wed Sep 16 05:01:02 2009 
     638}}} 
    614639   
    615640* Query the SMOA Computing service: 
     641 
     642{{{ 
     643#!div style="font-size: 90%" 
     644{{{#!sh 
    616645  $ smoa-comp -G | xmllint --format - # the xmllint is used only to present the result in more pleasant way 
    617646   
     
    635664    <smcf:NotificationProviderURL xmlns:smcf="http://schemas.smoa-project.com/comp/2009/01/factory">http://localhost:2211/</smcf:NotificationProviderURL> 
    636665 </bes-factory:FactoryResourceAttributesDocument> 
     666}}} 
     667}}} 
    637668 
    638669* Submit a sample job: 
     670{{{ 
     671#!div style="font-size: 90%" 
     672{{{#!sh 
    639673  $ smoa-comp -c -J /opt/QCG/smoa/share/smoa-comp/doc/examples/jsdl/sleep.xml 
    640674  Activity Id: ccb6b04a-887b-4027-633f-412375559d73 
     675}}} 
     676}}} 
    641677 
    642678* Query it status: 
     679{{{ 
     680#!div style="font-size: 90%" 
     681{{{#!sh 
    643682  $ smoa-comp -s -a ccb6b04a-887b-4027-633f-412375559d73 
    644683  status = Executing 
     
    648687  status = Finished 
    649688  exit status = 0 
    650  
     689}}} 
     690}}} 
    651691* Create an advance reservation: 
    652692:* copy the provided sample reservation description file (expressed in ARDL - Advance Reservation Description Language) 
    653693 $ cp /opt/QCG/smoa/share/smoa-comp/doc/examples/ardl/oneslot.xml oneslot.xml 
    654  
    655694:* Edit the <code>oneslot.xml</code> and modify the ''StartTime'' and ''EndTime'' to dates that are in the near future, 
    656695:* Create a new reservation: