![]() |
![]() | |
Copyright © 2000-2006 by ShaoLin Microsystems Limited
2006-07-24
ShaoLin Microsystems Ltd. reserves all the rights of this document.
All trademarks are owned by the corresponding trademark owner.
The Service Monitoring Agent is designed to manage applications such as database, web server, mail server etc. Agents manages applications through a number of entry points including "online", "offline" and "monitor". The "online" entry point will start the application. The "offline" entry point will stop the applications. Other entry points such as "init", "clean" and "shutdown" will also be performed depending on the applications managed. The Agent integrate seamlessly with SIC and offer much flexibility in monitoring the managed applications. An agent can communicate in SMTP with a mail server or query a database server using SQL. SMAs allow precise efficient application availability control and monitor with vendor level certification. The use of SMA can maximize the availability of the target application and thus miminize unplanned downtime.
The SMA Apache will monitor Apache by checking process or if a MonitorURL is given will check the URL for response. The URL can be multiple which means more than one instance can be monitored at one time.
1. Obtain the SMA package for your platform, in the case of SuSe on Power, "ShaoLin_InfiniCluster_SMA_apache-2.0-1.ppc.rpm" Install by running
Or obtain the installation CD, insert the CD in the drive and run "install.sh"
#rpm -ivh ShaoLin_InfiniCluster_SMA_apache-2.0-1.ppc.rpm |
2. Restart Cluster Manager
# /etc/init.d/slicmgr restart |
3. Check available resource type for added resource type
# /opt/slic/bin/sliccli listrestype ....... 8 APACHE Server |
4. Define a resource group with a resource of this type and configure the resource using either the SAS(Shaolin Administration System) or Commandline
5. Define values for these attributes (HTTPDBinary, ServerRoot, PIDFile are mandatory) :
Total number of accepted key(s): 10 HTTPDBinary: Apache Daemon binary file(string) ServerRoot: Apache Server Root(string) PIDFile: Apache Daemon (string) HTTPDArgs: Optional Apache Daemon arguments(string) UserAgent: The user agent string(string) MonitorURL: Monitor URL(string) MatchHTTPCode: Check HTTP Code(integer) StopSignal: Signal to stop apache(string) ReloadSignal: Signal to trigger httpd to reload configuration(string) SMATimeout: Excute sma command timeout(integer) |
6. Test by enabling the Resource Group
SuSe Linux 8.1, 8.2, 9.0 for x86
SuSe Linux Enterprise Server 9 for x86
SuSe Linux Enterprise Server 9 for ia64
SuSe Linux Enterprise Server 9 for x86_64
SuSe Linux Enterprise Server 9 for Power
Redhat 8.0, 9 for x86
Redhat Enterprise Linux 3 for x86
Redhat Enterprise Linux 3 for x86_64
Redhat Enterprise Linux 4 for x86
Redhat Enterprise Linux 4 for ia64
Redhat Enterprise Linux 4 for x86_64
Redhat Enterprise Linux 4 for Power
Asianux 1.0 for x86
Centos 3.0 for x86
Neoshine server 1.0 for x86
TurboLinux 7.1, 10 for x86
Please contact ShaoLin Microsystems if you cannot find your OS in the above list, or please check for the latest information.