![]() |
![]() | |
Copyright © 2000-2007 by ShaoLin Microsystems Limited
2007-05-18
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.
1. Obtain the SMA package for your platform, take the example of SuSe on Power, "ShaoLin_InfiniCluster_SMA_postgresql-2.0-1.ppc64.rpm" Install by running
Or obtain the installation CD, insert the CD in the drive and run "install.sh"
#rpm -ivh ShaoLin_InfiniCluster_SMA_postgresql-2.0-1.ppc64.rpm |
2. Restart Cluster Manager
# /etc/init.d/slicmgr restart |
3. Check available resource type for added resource type
# /opt/slic/bin/sliccli listrestype ....... 58 PostgreSql Database |
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 :
Total number of accepted key(s): 13 DataDir: The full path to the default database files(string) PostmasterPath: The full path to the Postmaster binary(string) Port: The Port to listen to(string) PGUser: PostgreSql user ID(string) LogFile: The full path to the log file(string) PostgresqldArgs: Extra arguments pass to Postmaster(string) DBSQL: The SQL string to test with(string) DBHost: PostgreSQL server hostname(string) DBName: The DB to monitor and connect to(string) DBUser: The DB user ID(string) DBPassword: The DB user password(string) SMATimeout: Execute 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
Redhat 7.3, 8.0, 9 for x86
Redhat Enterprise Linux 3 for x86
Redhat Enterprise Linux 3 for x86_64
Redhat Enterprise Linux 4 for Power
Redhat Enterprise Linux 4 for x86
Redhat Enterprise Linux 4 for x86_64
Redhat Enterprise Linux 4 for IA64
Asianux 1.0 for x86
CentOS 3 for x86
Neoshine server 1.0 for x86
Thiz server 6.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.