You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by jt...@apache.org on 2013/08/09 06:49:43 UTC

git commit: updated refs/heads/4.2 to 8bdd692

Updated Branches:
  refs/heads/4.2 1786f1d70 -> 8bdd69251


CLOUDSTACK-816. DOC. Document health checks for load balanced instances.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8bdd6925
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8bdd6925
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8bdd6925

Branch: refs/heads/4.2
Commit: 8bdd69251b64a32b7eb6612ccd8023b8330ff91e
Parents: 1786f1d
Author: Jessica <je...@citrix.com>
Authored: Thu Aug 8 21:49:18 2013 -0700
Committer: Jessica <je...@citrix.com>
Committed: Thu Aug 8 21:49:18 2013 -0700

----------------------------------------------------------------------
 docs/en-US/add-load-balancer-rule.xml     | 16 +++++++++
 docs/en-US/health-checks-for-lb-rules.xml | 48 ++++++++++++++++++++++++++
 docs/en-US/load-balancer-rules.xml        |  1 +
 3 files changed, 65 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8bdd6925/docs/en-US/add-load-balancer-rule.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/add-load-balancer-rule.xml b/docs/en-US/add-load-balancer-rule.xml
index 2d911fe..01bf13d 100644
--- a/docs/en-US/add-load-balancer-rule.xml
+++ b/docs/en-US/add-load-balancer-rule.xml
@@ -74,6 +74,22 @@
           <para><emphasis role="bold">AutoScale</emphasis>: Click Configure and complete the
             AutoScale configuration as explained in <xref linkend="autoscale"/>.</para>
         </listitem>
+        <listitem><para><emphasis role="bold">Health Check</emphasis>: (Optional; NetScaler load balancers only)
+          Click Configure and fill in the characteristics of the health check policy.
+          See <xref linkend="health-checks-for-lb-rules"/>.</para>		
+          <itemizedlist>
+            <listitem><para><emphasis role="bold">Ping path (Optional)</emphasis>: Sequence of destinations to which to send health check queries.
+              Default: / (all).</para></listitem>			
+            <listitem><para><emphasis role="bold">Response time (Optional)</emphasis>: How long to wait for a response from the health check (2 - 60 seconds).
+              Default: 5 seconds.</para></listitem>
+            <listitem><para><emphasis role="bold">Interval time (Optional)</emphasis>: Amount of time between health checks (1 second - 5 minutes).
+              Default value is set in the global configuration parameter lbrule_health check_time_interval.</para></listitem>
+            <listitem><para><emphasis role="bold">Healthy threshold (Optional)</emphasis>: Number of consecutive health check successes
+              that are required before declaring an instance healthy.
+              Default: 2.</para></listitem>
+            <listitem><para><emphasis role="bold">Unhealthy threshold (Optional)</emphasis>: Number of consecutive health check failures that are required before declaring an instance unhealthy. 
+              Default: 10.</para></listitem>     
+          </itemizedlist></listitem>
       </itemizedlist>
     </listitem>
     <listitem>

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8bdd6925/docs/en-US/health-checks-for-lb-rules.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/health-checks-for-lb-rules.xml b/docs/en-US/health-checks-for-lb-rules.xml
new file mode 100644
index 0000000..5c955f9
--- /dev/null
+++ b/docs/en-US/health-checks-for-lb-rules.xml
@@ -0,0 +1,48 @@
+<?xml version='1.0' encoding='utf-8' ?>
+<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
+<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
+%BOOK_ENTITIES;
+]>
+
+<!-- Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+ 
+   http://www.apache.org/licenses/LICENSE-2.0
+ 
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+<section id="health-checks-for-lb-rules">
+  <!-- CLOUDSTACK-443 -->
+  <title>Health Checks for Load Balancer Rules</title>
+  <para>(NetScaler load balancer only)
+  </para>
+  <para>Health checks are used in load-balanced applications to ensure that requests are forwarded
+    only to running, available services.
+    When creating a load balancer rule, you can specify a health check policy.
+    This is in addition to specifying the
+    stickiness policy, algorithm, and other load balancer rule options.
+    You can configure one health check policy per load balancer rule.</para>
+  <para>Any load balancer rule defined on a NetScaler load balancer in &PRODUCT; can have a health check policy.
+    The policy consists of a ping path, thresholds to define "healthy" and "unhealthy" states,
+    health check frequency, and timeout wait interval.</para>
+  <para>When a health check policy is in effect,
+    the load balancer will stop forwarding requests to any resources that are found to be unhealthy.
+    If the resource later becomes available again, the periodic health check
+    will discover it, and the resource will once again be added to the pool of resources that can
+    receive requests from the load balancer.</para>
+  <para>You can delete or modify existing health check policies.</para>
+  <para>To configure how often the health check is performed by default, use the global
+    configuration setting lbrule_health check_time_interval.
+    You can override this value for an individual health check policy.</para>
+  <para>For details on how to set a health check policy using the UI, see <xref linkend="add-load-balancer-rule"/>.</para>
+</section>
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8bdd6925/docs/en-US/load-balancer-rules.xml
----------------------------------------------------------------------
diff --git a/docs/en-US/load-balancer-rules.xml b/docs/en-US/load-balancer-rules.xml
index 7773900..884647c 100644
--- a/docs/en-US/load-balancer-rules.xml
+++ b/docs/en-US/load-balancer-rules.xml
@@ -37,4 +37,5 @@
   <xi:include href="add-load-balancer-rule.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
   <xi:include href="sticky-session-policies-for-lb-rules.xml"
     xmlns:xi="http://www.w3.org/2001/XInclude"/>
+  <xi:include href="health-checks-for-lb-rules.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
 </section>