sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From build...@apache.org
Subject svn commit: r879962 - in /websites/staging/sling/trunk/content: ./ documentation/bundles/sling-health-check-tool.html
Date Thu, 26 Sep 2013 09:31:02 GMT
Author: buildbot
Date: Thu Sep 26 09:31:02 2013
New Revision: 879962

Log:
Staging update by buildbot for sling

Modified:
    websites/staging/sling/trunk/content/   (props changed)
    websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html

Propchange: websites/staging/sling/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Thu Sep 26 09:31:02 2013
@@ -1 +1 @@
-1526427
+1526428

Modified: websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
==============================================================================
--- websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
(original)
+++ websites/staging/sling/trunk/content/documentation/bundles/sling-health-check-tool.html
Thu Sep 26 09:31:02 2013
@@ -91,22 +91,20 @@ information, Sling requests status, etc.
 <p>Health checks are easily extensible either by configuring the supplied default <code>HealthCheck</code>
services, by
 supplying MBeans that expose the required attributes, or by implementing your own <code>HealthCheck</code>
services.  </p>
 <p>See also:</p>
-<div class="codehilite"><pre><span class="o">*</span> <span class="n">Source</span>
<span class="n">code</span> <span class="n">at</span>  <span class="p">[</span><span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">svn</span><span class="p">.</span><span class="n">apache</span><span
class="p">.</span><span class="n">org</span><span class="o">/</span><span
class="n">repos</span><span class="o">/</span><span class="n">asf</span><span
class="o">/</span><span class="n">sling</span><span class="o">/</span><span
class="n">trunk</span><span class="o">/</span><span class="n">contrib</span><span
class="o">/</span><span class="n">extensions</span><span class="o">/</span><span
class="n">healthcheck</span><span class="p">](</span><span class="n">http</span><span
class="p">:</span><span class="o">//</span><span class="n">svn</span><span
class="p">.</span><span class="n">apache</span><span class="p">.</span><span
class="n">org</span><span class="o">/</span>
 <span class="n">repos</span><span class="o">/</span><span class="n">asf</span><span
class="o">/</span><span class="n">sling</span><span class="o">/</span><span
class="n">trunk</span><span class="o">/</span><span class="n">contrib</span><span
class="o">/</span><span class="n">extensions</span><span class="o">/</span><span
class="n">healthcheck</span><span class="p">).</span>
-<span class="o">*</span> <span class="n">adaptTo</span> 2013 <span
class="n">slides</span> <span class="n">about</span> <span class="n">Health</span>
<span class="n">Checks</span> <span class="n">at</span> <span class="p">[</span><span
class="n">http</span><span class="p">:</span><span class="o">//</span><span
class="n">www</span><span class="p">.</span><span class="n">slideshare</span><span
class="p">.</span><span class="n">net</span><span class="o">/</span><span
class="n">bdelacretaz</span><span class="o">/</span><span class="n">slinghc</span><span
class="o">-</span><span class="n">bdelacretazadaptto2013</span><span
class="p">](</span><span class="n">http</span><span class="p">:</span><span
class="o">//</span><span class="n">www</span><span class="p">.</span><span
class="n">slideshare</span><span class="p">.</span><span class="n">net</span><span
class="o">/</span><span class="n">bdelacretaz</span><span class="o">/</span><span
class="n">slinghc</span><span class="o">-</span><span c
 lass="n">bdelacretazadaptto2013</span><span class="p">)</span>
-</pre></div>
-
-
+<ul>
+<li>Source code at  <a href="http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck">http://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/healthcheck</a>.</li>
+<li>adaptTo 2013 slides about Health Checks at <a href="http://www.slideshare.net/bdelacretaz/slinghc-bdelacretazadaptto2013">http://www.slideshare.net/bdelacretaz/slinghc-bdelacretazadaptto2013</a></li>
+</ul>
 <h2 id="use-cases">Use cases</h2>
 <p>Health checks can be used for various purposes, for example:</p>
-<div class="codehilite"><pre><span class="o">*</span> <span class="n">Verify</span>
<span class="n">that</span> <span class="n">performance</span> <span
class="n">counters</span> <span class="n">are</span> <span class="n">in</span>
<span class="n">range</span><span class="p">.</span>
-<span class="o">*</span> <span class="n">Run</span> <span class="n">smoke</span>
<span class="n">tests</span> <span class="n">at</span> <span class="n">system</span>
<span class="n">startup</span> <span class="n">and</span> <span
class="n">emit</span> <span class="n">warnings</span> <span class="n">or</span>
<span class="n">disable</span> <span class="n">the</span> <span
class="n">instance</span> <span class="k">if</span> <span class="n">they</span>
<span class="n">fail</span><span class="p">.</span>
-<span class="o">*</span> <span class="n">Check</span> <span class="n">that</span>
<span class="n">all</span> <span class="n">OSGi</span> <span class="n">bundles</span>
<span class="n">are</span> <span class="n">up</span> <span class="n">and</span>
<span class="n">running</span>
-<span class="o">*</span> <span class="n">Check</span> <span class="n">that</span>
<span class="n">demo</span> <span class="n">content</span> <span
class="n">has</span> <span class="n">been</span> <span class="n">removed</span>
<span class="n">from</span> <span class="n">a</span> <span class="n">production</span>
<span class="n">system</span>
-<span class="o">*</span> <span class="n">Check</span> <span class="n">that</span>
<span class="n">demo</span> <span class="n">accounts</span> <span
class="n">are</span> <span class="n">disabled</span>
-<span class="o">*</span> <span class="n">Ping</span> <span class="n">external</span>
<span class="n">systems</span> <span class="n">and</span> <span
class="n">raise</span> <span class="n">alarms</span> <span class="k">if</span>
<span class="n">they</span> <span class="n">are</span> <span class="n">down</span>
-</pre></div>
-
-
+<ul>
+<li>Verify that performance counters are in range.</li>
+<li>Run smoke tests at system startup and emit warnings or disable the instance if
they fail.</li>
+<li>Check that all OSGi bundles are up and running</li>
+<li>Check that demo content has been removed from a production system</li>
+<li>Check that demo accounts are disabled</li>
+<li>Ping external systems and raise alarms if they are down</li>
+</ul>
 <p>The health check subsystem uses tags to execute groups of health checks for specific
purposes.</p>
 <h2 id="whats-a-healthcheck">What's a <code>HealthCheck</code> ?</h2>
 <p>A <code>HealthCheck</code> is just an OSGi service that returns a <code>Result</code>.</p>
@@ -203,7 +201,7 @@ domain <code>org.apache.sling.healthchec
 <p>See the example configurations of the <code>org.apache.sling.hc.samples</code>
for more details.</p>
 <p><img src="jconsole-hc.jpg" style="max-width:700px" alt="JConsole showing Sling
Health Check MBeans"/></p>
       <div class="timestamp" style="margin-top: 30px; font-size: 80%; text-align: right;">
-        Rev. 1526427 by bdelacretaz on Thu, 26 Sep 2013 09:29:49 +0000
+        Rev. 1526428 by bdelacretaz on Thu, 26 Sep 2013 09:30:56 +0000
       </div>
       <div class="trademarkFooter"> 
         Apache Sling, Sling, Apache, the Apache feather logo, and the Apache Sling project



Mime
View raw message