Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
130 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<?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="vr-monitor"> | ||
<title>Service Monitoring Tool for Virtual Router</title> | ||
<para>Various services running on the &PRODUCT; virtual routers can be monitored by using a | ||
Service Monitoring tool. The tool ensures that services are successfully running until &PRODUCT; | ||
deliberately disables them. If a service goes down, the tool automatically restarts the VR, and | ||
if that does not bring up the VR, an alert as well as an event is generated indicating the | ||
failure.</para> | ||
<para>Monitoring tool can help to start a VR service, which is crashed due to an unexpected | ||
reason. For example:</para> | ||
<itemizedlist> | ||
<listitem> | ||
<para>The services crashed due to defects in the source code.</para> | ||
</listitem> | ||
<listitem> | ||
<para>The services that are terminated by the OS when memory or CPU is not sufficiently | ||
available for the service.</para> | ||
</listitem> | ||
</itemizedlist> | ||
<note> | ||
<para>Only those services with daemons are monitored. The services that are failed due to errors in the service/daemon configuration file cannot | ||
be restarted by the Monitoring tool.</para> | ||
</note> | ||
<para>The following services are monitored in a VR:</para> | ||
<itemizedlist> | ||
<listitem> | ||
<para>DNS</para> | ||
</listitem> | ||
<listitem> | ||
<para>HA Proxy</para> | ||
</listitem> | ||
<listitem> | ||
<para>SSH</para> | ||
</listitem> | ||
<listitem> | ||
<para>Apache Web Server</para> | ||
</listitem> | ||
</itemizedlist> | ||
<para>The following networks are supported:</para> | ||
<itemizedlist> | ||
<listitem> | ||
<para>Isolated Networks</para> | ||
</listitem> | ||
<listitem> | ||
<para>Shared Networks in both Advanced and Basic zone</para> | ||
</listitem> | ||
</itemizedlist> | ||
<para>The following table lists down various scenarios for virtual router and corresponding | ||
actions taken by &PRODUCT;.</para> | ||
<informaltable> | ||
<tgroup cols="2" align="left" colsep="1" rowsep="1"> | ||
<colspec colwidth="1.0*" colname="1" colnum="1"/> | ||
<colspec colwidth="9.87*" colname="2" colnum="2"/> | ||
<thead> | ||
<row> | ||
<entry><para>Scenarios</para></entry> | ||
<entry><para>Action Taken by &PRODUCT;</para></entry> | ||
</row> | ||
</thead> | ||
<tbody> | ||
<row> | ||
<entry><para>VR is shutdown externally.</para></entry> | ||
<entry><para>&PRODUCT; brings it up into running state.</para></entry> | ||
</row> | ||
<row> | ||
<entry><para>VR is shutdown internally.</para></entry> | ||
<entry><para>VR continues to stay in stopped state. &PRODUCT;will not automatically change | ||
the VR state into running.</para></entry> | ||
</row> | ||
<row> | ||
<entry><para>VR is stopped and VM is deployed in that network.</para></entry> | ||
<entry><para>VR state is automatically changed into running state during the VM deployment | ||
process.</para></entry> | ||
</row> | ||
<row> | ||
<entry><para>VR is destroyed internally.</para></entry> | ||
<entry><para>&PRODUCT; will not automatically spin up a new router.</para></entry> | ||
</row> | ||
<row> | ||
<entry><para>Deploy a VM in a network where router is destroyed by | ||
&PRODUCT;.</para></entry> | ||
<entry><para>&PRODUCT; spins up a new router.</para></entry> | ||
</row> | ||
<row> | ||
<entry><para>Running VR is destroyed externally.</para></entry> | ||
<entry><para>&PRODUCT; shows that the VR is stopped. The router will not be brought back | ||
to running state.</para></entry> | ||
</row> | ||
</tbody> | ||
</tgroup> | ||
</informaltable> | ||
<para>This feature is supported on the following hypervisors: XenServer, VMware, and KVM.</para> | ||
</section> |