Changes between Version 2 and Version 3 of installation_QCG_Notification

Show
Ignore:
Timestamp:
05/17/11 11:24:31 (13 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_QCG_Notification

    v2 v3  
     1[[PageOutline]]  
     2 
    13= QCG Notification Installation = 
    24Within !QosCosGrid the QCG Notification service is used for brokering notification messages about the job state changes. All instances of the QCG BES/AR services acts as the information ''Producers'' while the QCG Broker as the ''Consumer''. In most cases it is enough that only one instance of the QCG Notification is deployed per Administrative Domain (i.e.: not necessary one per Cluster). 
     
    57 
    68= Installation = 
    7 Similar to the Smoa Computing (QCG BES/AR) service the [[http://fury.man.poznan.pl/smoa-downloads/smoa-ntf/smoa-ntf-latest.tar.gz|Smoa Notification]] requires the [[installation_QCG_BES_AR#SMOACorelibrary|Smoa Core library]] to be installed. If this prerequisite is fulfilled the Smoa Notification installation can be done in a  few simple steps: 
     9Similar to the Smoa Computing (QCG BES/AR) service the [[http://fury.man.poznan.pl/smoa-downloads/smoa-ntf/smoa-ntf-latest.tar.gz|Smoa Notification]] requires the [[installation_QCG_BES_AR#SMOACorelibrary|Smoa Core library to be installed]]. If this prerequisite is fulfilled the Smoa Notification installation can be done in a  few simple steps: 
    810{{{ 
    911#!div style="font-size: 90%" 
     
    1618}}} 
    1719}}} 
     20 
     21In order to verify later the installation, it is recommended to provide an additional option to `./configure`: `--with-consumer` 
     22 
    1823= Configuration = 
    1924Before you start you need to create a new system user (e.g. `smoa_ntf`) that will be used to start the service: 
     
    5964}}} 
    6065}}} 
     66 
    6167= Verifying the installation = 
     68If the service was configured with the option `--with-consumer` attached to `./configure`, the basic verification scenario may be proceeded in a following way: 
     69 
     701. Set the `Host` and `Port` parameters in the configuration files of the Smoa Notification service and sample consumer, respectivetly in `/opt/QCG/etc/smoa-ntfd.xml` and `/opt/QCG/etc/smoa-ntf-consumer.xml`. For example, the key part of the smoa-ntfd.xml file may looks as foolows: 
     71{{{ 
     72#!div style="font-size: 90%" 
     73{{{#!xml 
     74<sm:Module xsi:type="sm:ecm_gsoap.service"> 
     75    <sm:Host>0.0.0.0</sm:Host> 
     76    <sm:Port>2211</sm:Port> 
     77    ... 
     78</sm:Module> 
     79}}} 
     80}}} 
     81Similarly the part of smoa-ntf-consumer.xml may have a following form: 
     82{{{ 
     83#!div style="font-size: 90%" 
     84{{{#!xml 
     85<sm:Module xsi:type="sm:ecm_gsoap.service"> 
     86    <sm:Host>0.0.0.0</sm:Host> 
     87    <sm:Port>2212</sm:Port> 
     88    ... 
     89</sm:Module> 
     90}}} 
     91}}} 
     92 
     93 
     941. Start the smoa-ntfd service on the selected port: 
     95{{{ 
     96#!div style="font-size: 90%" 
     97{{{#!sh 
     98$ /opt/QCG/smoa/sbin/smoa-ntfd -d 
     99}}} 
     100}}} 
     1012.    
     102 
    62103 
    63104= Smoa Computing (QCG BES/AR) configuration =