uCosminexus Application Server, Operation, Monitoring, and Linkage Guide

[Contents][Glossary][Index][Back][Next]

20.3.4 Cluster settings

Specify the following settings for a cluster:

Organization of this subsection
(1) Creating a script file
(2) Cluster software environment settings

(1) Creating a script file

Create script files for starting and stopping Management Server, Administration Agent, and Application Server. You must also determine the cluster monitoring method in the script file. For details on creating the script files, see the OS manual in use.

This subsection describes the monitoring targets and monitoring methods of node switching for the host management model.

(a) Monitoring targets

#
The node is switched when the logical server status becomes "abnormal termination" (the automatic restart frequency is exceeded or when 0 is specified as the automatic restart frequency and a failure is detected). Specify the following key in mserver.properties (Management Server environment setup file):
com.cosminexus.mngsvr.logical_server_abnormal_stop.exit = true
If automatic restart is specified for Management Server, node switching is not executed during this time. For executing the node switching during this time, do not specify automatic restart for Management Server.
(b) Monitoring methods

This subsection describes the monitoring methods to be implemented in node switching for the host management model.

Use one of the following methods according to the operation or environment used:

To monitor a logical server, see the notes described in (a) Monitoring targets.

Process monitoring

This method monitors the existence of Management Server processes. The following table describes the names of the monitored processes:

Table 20-3 Monitored processes

Monitoring target Process name
In Windows In UNIX
Management Server mngsvr.exe cjstartsv#1, #2
Administration Agent adminagent.exe adminagent
Logical server mngsvr.exe cjstartsv#1

#1
The cjstartsv process has the same name as the process name of the J2EE server. You identify the process of Management Server by the server name.

#2
The command line name of Management Server begins with the following character string:
/opt/Cosminexus/CC/server/bin/cjstartsv cosmi_m
cosmi_m is the default server name. If Management Server is set up with a server name other than cosmi_m, change the server name.

Health check

This method monitors the existence of Management Server processes and whether the existing processes are running. Confirm by executing the following commands in Management Server:

(2) Cluster software environment settings

For details on the cluster software environment settings, see the cluster software documentation in use.