https://wiki.egi.eu/w/index.php?title=FAQ_VO_Service_Availability_Monitoring&feed=atom&action=historyFAQ VO Service Availability Monitoring - Revision history2024-03-29T00:12:46ZRevision history for this page on the wikiMediaWiki 1.37.1https://wiki.egi.eu/w/index.php?title=FAQ_VO_Service_Availability_Monitoring&diff=106762&oldid=previmported>Krakow: Protected "FAQ VO Service Availability Monitoring" ([edit=sysop] (indefinite) [move=sysop] (indefinite))2013-05-14T08:56:39Z<p>Protected "<a href="/wiki/FAQ_VO_Service_Availability_Monitoring" title="FAQ VO Service Availability Monitoring">FAQ VO Service Availability Monitoring</a>" ([edit=sysop] (indefinite) [move=sysop] (indefinite))</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:56, 14 May 2013</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>imported>Krakowhttps://wiki.egi.eu/w/index.php?title=FAQ_VO_Service_Availability_Monitoring&diff=55271&oldid=prevKrakow: Protected "FAQ VO Service Availability Monitoring" ([edit=sysop] (indefinite) [move=sysop] (indefinite))2013-05-14T08:56:39Z<p>Protected "<a href="/wiki/FAQ_VO_Service_Availability_Monitoring" title="FAQ VO Service Availability Monitoring">FAQ VO Service Availability Monitoring</a>" ([edit=sysop] (indefinite) [move=sysop] (indefinite))</p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<tr class="diff-title" lang="en">
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="1" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 09:56, 14 May 2013</td>
</tr><tr><td colspan="2" class="diff-notice" lang="en"><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Krakowhttps://wiki.egi.eu/w/index.php?title=FAQ_VO_Service_Availability_Monitoring&diff=46091&oldid=prevKrakow at 09:36, 23 November 20122012-11-23T09:36:03Z<p></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:36, 23 November 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l1">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Template:Op menubar}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Template:Op menubar}}</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Template:Doc_menubar}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{Template:Doc_menubar}}</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>[[Category:<del style="font-weight: bold; text-decoration: none;">User Documentation</del>]]</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>[[Category:<ins style="font-weight: bold; text-decoration: none;">Operations Manuals</ins>]]</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{TOC_right}}</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>{{TOC_right}}</div></td></tr>
</table>Krakowhttps://wiki.egi.eu/w/index.php?title=FAQ_VO_Service_Availability_Monitoring&diff=46081&oldid=prevKrakow: /* General */2012-11-23T09:29:07Z<p><span dir="auto"><span class="autocomment">General</span></span></p>
<table style="background-color: #fff; color: #202122;" data-mw="interface">
<col class="diff-marker" />
<col class="diff-content" />
<col class="diff-marker" />
<col class="diff-content" />
<tr class="diff-title" lang="en">
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">← Older revision</td>
<td colspan="2" style="background-color: #fff; color: #202122; text-align: center;">Revision as of 10:29, 23 November 2012</td>
</tr><tr><td colspan="2" class="diff-lineno" id="mw-diff-left-l8">Line 8:</td>
<td colspan="2" class="diff-lineno">Line 8:</td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== General ==</div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>== General ==</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Before proceeding, check if your question is not already answered in </div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div>Before proceeding, check if your question is not already answered in </div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [https://tomtools.cern.ch/confluence/display/SAMDOC/<del style="font-weight: bold; text-decoration: none;">Troubleshooting </del>'''<big>SAM Administrator FAQs</big>'''].</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [https://tomtools.cern.ch/confluence/display/SAMDOC/<ins style="font-weight: bold; text-decoration: none;">FAQs </ins>'''<big>SAM Administrator FAQs</big>'''].</div></td></tr>
<tr><td class="diff-marker" data-marker="−"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>* [https://tomtools.cern.ch/confluence/display/SAMDOC/<del style="font-weight: bold; text-decoration: none;">FAQs </del>'''<big>SAM Troubleshooting</big>'''].</div></td><td class="diff-marker" data-marker="+"></td><td style="color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>* [https://tomtools.cern.ch/confluence/display/SAMDOC/<ins style="font-weight: bold; text-decoration: none;">Troubleshooting </ins>'''<big>SAM Troubleshooting</big>'''].</div></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><br/></td></tr>
<tr><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td><td class="diff-marker"></td><td style="background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;"><div><br /></div></td></tr>
</table>Krakowhttps://wiki.egi.eu/w/index.php?title=FAQ_VO_Service_Availability_Monitoring&diff=46080&oldid=prevKrakow: Created page with "{{Template:Op menubar}} {{Template:Doc_menubar}} Category:User Documentation {{TOC_right}} = Frequently Asked Questions & Troubleshooting = == General == Before proceeding,..."2012-11-23T09:28:39Z<p>Created page with "{{Template:Op menubar}} {{Template:Doc_menubar}} <a href="/w/index.php?title=Category:User_Documentation&action=edit&redlink=1" class="new" title="Category:User Documentation (page does not exist)">Category:User Documentation</a> {{TOC_right}} = Frequently Asked Questions & Troubleshooting = == General == Before proceeding,..."</p>
<p><b>New page</b></p><div>{{Template:Op menubar}}<br />
{{Template:Doc_menubar}}<br />
[[Category:User Documentation]]<br />
<br />
{{TOC_right}}<br />
<br />
= Frequently Asked Questions & Troubleshooting =<br />
== General ==<br />
Before proceeding, check if your question is not already answered in <br />
* [https://tomtools.cern.ch/confluence/display/SAMDOC/Troubleshooting '''<big>SAM Administrator FAQs</big>'''].<br />
* [https://tomtools.cern.ch/confluence/display/SAMDOC/FAQs '''<big>SAM Troubleshooting</big>'''].<br />
<br />
<br /><br />
<br />
== Instalation ==<br />
=== perl-DBD-MySQL dependency problems? ===<br />
For installation problems related with perl-DBD-MySQL package, check that you have the repository priorities set as explained in the release notes. The proper package should be fetched from RPM FORGE EXTRA repository: [http://rpmforge.sw.be/redhat/el5/en/x86_64/extras/RPMS/ RPM FORGE repository]<br />
<br />
<br /><br />
<br />
=== perl-SOAP-Lite dependency problems? ===<br />
Fri Mar 11 13:13:54 CET 2011 : Can't locate Class/Inspector.pm in @INC <br />
(@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl <br />
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl/5.8.5 <br />
/usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 435.<br />
Fri Mar 11 13:13:54 CET 2011 : BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.8/SOAP/Lite.pm line 435.<br />
Fri Mar 11 13:13:54 CET 2011 : Compilation failed in require at /usr/bin/voms2htpasswd line 12.<br />
Fri Mar 11 13:13:54 CET 2011 : BEGIN failed--compilation aborted at /usr/bin/voms2htpasswd line 12.<br />
<br />
Please check if you have "perl-Class-Inspector" installed. <br />
$yum install 'perl(Class::Inspector)<br />
<br />
<br /><br />
<br />
== Configuration ==<br />
=== How to monitor more than one VO ===<br />
Include a white space separated VO list in your YAIM configuration file for<br />
VO="vo1 vo2"<br />
NCG_VO="vo1 vo2"<br />
<br />
and the VOMS_SERVERS, VOMSES, VOMS_CA:DN and WMS_HOSTS for each VO<br />
# VOMS server definition for vo1<br />
VO_<vo1>_VOMS_SERVERS="'vomss://voms.your.domain:8443/voms/vo1?/vo1/'"<br />
# VOMSES server definition for vo1<br />
VO_<vo1>_VOMSES="'vo1 voms.your.domain 15000 /C=PT/O=LIPCA/O=LIP/OU=Lisboa/CN=voms.your.domain vo1'"<br />
# DN of the CA which issued the VOMS Certificate<br />
VO_<vo1>_VOMS_CA_DN="/C=PT/O=LIPCA/CN=LIP Certification Authority"<br />
# WMS used to submit jobs to vo1<br />
VO_<vo1>_EU_WMS_HOSTS="wms.your.domain"<br />
<br />
# VOMS server definition for vo1<br />
VO_<vo2>_VOMS_SERVERS="'vomss://voms.your.domain:8443/voms/vo2?/vo2/'"<br />
# VOMSES server definition for vo1<br />
VO_<vo2>_VOMSES="'vo2 voms.your.domain 15001 /C=PT/O=LIPCA/O=LIP/OU=Lisboa/CN=voms.your.domain vo2'"<br />
# DN of the CA which issued the VOMS Certificate<br />
VO_<vo2>_VOMS_CA_DN="/C=PT/O=LIPCA/CN=LIP Certification Authority"<br />
# WMS used to submit jobs to vo2<br />
VO_<vo2>_EU_WMS_HOSTS="wms.your.domain"<br />
<br />
<br /><br />
<br />
===Can I start 2 different proxies to submit jobs to the different VOs?===<br />
Yes. You can have different proxy for each VO. Just use different user certificate when creating MyProxy credential. For example:<br />
# For vo1<br />
$ export X509_USER_CERT=~/.globus/usercert-vo1.pem<br />
$ export X509_USER_KEY=~/.globus/userkey-vo1.pem<br />
$ myproxy-init -l nagios -s $PX_HOST -k NagiosRetrieve-NAGIOS_HOSTNAME-vo1 -c 1000 -x -Z "NAGIOS_HOSTNAME_DN"<br />
<br />
# For vo2<br />
$ export X509_USER_CERT=~/.globus/usercert-vo2.pem<br />
$ export X509_USER_KEY=~/.globus/userkey-vo2.pem<br />
$ myproxy-init -l nagios -s $PX_HOST -k NagiosRetrieve-NAGIOS_HOSTNAME-vo2 -c 1000 -x -Z "NAGIOS_HOSTNAME_DN"<br />
<br />
Same principle applies to any other VO supported by that instance. Of course you can use the same user cert if it is member of multiple VOs. Easier solution would be to use robot certificates.<br />
<br />
<br /><br />
<br />
=== Can a catch-all VO SAM provide a dedicated VO view? ===<br />
Nagios web interface was never about obvious presentation. However, there is the service group view where NCG generates service group aggregating all VO dependent checks for each VO. For example:<br />
*[https://nagios01.ncg.ingrid.pt/nagios/cgi-bin/status.cgi?servicegroup=phys.vo.ibergrid.eu&style=detail <big>'''phys.vo.ibergrid.eu view in nagios01.ncg.ingrid.pt'''</big>]<br />
<br />
<br /><br />
<br />
=== Can I configure VO SAM to use a unique LFC and central SE for all VOs? === <br />
Yes. Include the following definitions in your YAIM configuration variables. Implicitly there is the assumption that the unique LFC and central SE do support all monitored VOs.<br />
# LFC and SE definitions<br />
JOBSUBMIT_WN_LFC=lfc-allvos.my.domain<br />
JOBSUBMIT_WN_SE_REP=se-allvos.my.domain<br />
<br />
<br /><br />
<br />
=== Can I configure VO dependent LFCs and central SEs in a VO SAM? ===<br />
There is a way to do this, though slightly more complicated. Make sure that you don't have line like anywhere in localdb:<br />
/etc/ncg/ncg-localdb.d/jobsubmit:MODIFY_METRIC_PARAMETER!org.sam.CREAMCE-JobState!--wn-lfc!lfc.my.domain<br />
/etc/ncg/ncg-localdb.d/jobsubmit:MODIFY_METRIC_PARAMETER!org.sam.CE-JobState!--wn-lfc!lfc.my.domain<br />
/etc/ncg/ncg-localdb.d/jobsubmit:MODIFY_METRIC_PARAMETER!org.sam.CREAMCE-JobState!--wn-se-rep!se.my.domain<br />
/etc/ncg/ncg-localdb.d/jobsubmit:MODIFY_METRIC_PARAMETER!org.sam.CE-JobState!--wn-se-rep!se.my.domain<br />
anywhere in /etc/ncg/*localdb*, and put the following instead:<br />
VO_ATTRIBUTE!vo1!WN_SE_REP!se-vo1.my.domain<br />
VO_ATTRIBUTE!vo2!WN_SE_REP!se-vo2.my.domain<br />
MODIFY_METRIC_ATTRIBUTE!org.sam.CE-JobState!WN_SE_REP!--wn-se-rep<br />
VO_ATTRIBUTE!vo1!WN_LFC!lfc-vo1.my.domain<br />
VO_ATTRIBUTE!vo2!WN_LFC!lfc-vo2.my.domain<br />
MODIFY_METRIC_ATTRIBUTE!org.sam.CE-JobState!WN_LFC!--wn-lfc<br />
<br />
<br /><br />
<br />
=== How can I provide access to non-allowed member? ===<br />
At configuration time, and dependending of the NCG_ROLE selected, different users may not have the same permissions to access to the VO SAM services. To enable permission of a given user, one can add the user DN to /etc/voms2htpasswd-static.d/YAIM-ops-monitor.conf<br />
<br />
<br /><br />
<br />
=== How to switch off importing admin DNs ? ===<br />
# switch off importing admin DNs (see SAM-1434) (optional variable)<br />
NCG_CONTACTS_USE_GOCDB=false<br />
<br />
=== How do I run VO SAM tests with a specific FQAN ?===<br />
You can set <br />
VO_ENMR_EU_NCG_DEFAULT_VO_FQAN="YOUR FQAN"<br />
in your yaim configuration file, and start your proxy as normal<br />
$ export X509_USER_CERT=~/.globus/usercert-vo1.pem<br />
$ export X509_USER_KEY=~/.globus/userkey-vo1.pem<br />
$ myproxy-init -l nagios -s $PX_HOST -k NagiosRetrieve-NAGIOS_HOSTNAME-vo1 -c 1000 -x -Z "NAGIOS_HOSTNAME_DN"<br />
<br /><br />
<br />
=== How to change the email notification header? ===<br />
# optional - change of notification header (SAM-1130):<br />
NCG_NOTIFICATION_HEADER="YOUR HEADER"<br />
<br />
<br /><br />
<br />
=== How to enable the use of ROBOT certificates? ===<br />
# optional - use of robot certificates (SAM-1180):<br />
NCG_USE_ROBOT_CERT=true<br />
# Robot cert and key can be different for each VO<br />
# and standard Yaim VO notation is used<br />
VO_OPS_ROBOT_CERT=/etc/nagios/globus/robot-cert.pem<br />
VO_OPS_ROBOT_KEY=/etc/nagios/globus/robot-key.pem<br />
<br />
<br /><br />
<br />
=== How to monitor uncertified sites? === <br />
To monitor uncertified sites, you will need to use a dedicated TopBDII (with the information of those sites) and a dedicated WMS. The list of uncertified sites to be monitored should also be listed:<br />
# optional - add uncertified gLite sites (SAM-1143)<br />
UNCERTIFIED_SITES="SiteA SiteB SiteC"<br />
UNCERTIFIED_WMS=wms.uncert.org<br />
UNCERTIFIED_BDII=bdii.uncert.org<br />
<br />
<br /><br />
<br />
=== How to check host checks off/on? === <br />
# switch host checks off/on (see SAM-1173) (optional variable)<br />
NCG_CHECK_HOSTS=1<br />
<br />
<br /><br />
<br />
=== My VO is global, do I still have to define a list of NGIs for my VO instance? === <br />
No. You can define<br />
NCG_GOCDB_ROC_NAME=ALL<br />
However this approach is not perfect since it bootstraps all hosts and not only the ones interesting for VO. However, the feature to bootstrap only hosts relevant to VO is still not implemented. This will be done by Update-12 (sometimes in June).<br />
<br />
<br /><br />
<br />
== Run-Time ==<br />
=== ATP syncronization fails while running YAIM ===<br />
Check the ATP log files (/var/log/atp.log) to know the cause of the problem. This can happen because of high latency values incompatible with ATP synchronization timeouts. Change ATP_SYNC_TIMEOUT to a higher value (ex: ATP_SYNC_TIMEOUT=1200; only in use for SAM 10 or higher). For previous versions you need to directly change the YAIM ATP function file: /opt/glite/yaim/functions/config_atp<br />
<br />
<br /><br />
<br />
=== NCG configuration fails while running YAIM ===<br />
Check ncg log files (/var/log/ncg.log) to know the cause of the problem. This can arise due to a bad configuration file (/etc/ncg/ncg.conf), generated by YAIM incorrect configuration variables. Double check your YAIM configuration file.<br />
<br />
<br /><br />
<br />
== A working example ==<br />
* [https://nagios01.ncg.ingrid.pt/nagios <big>'''phys.vo.ibergrid.eu NAGIOS instance'''</big>]<br />
<br />
<br /><br />
<br />
== Future improvements ==<br />
* In the next SAM release, ncg will automatically go over the whole infrastructure and look for nodes which support defined VOs.<br />
* Define a VO profile with VO dependent only metrics. Please check [https://tomtools.cern.ch/jira/browse/SAM-1178 SAM-1178]<br />
<br /></div>Krakow