Master and Slave Responsibilities

The master and slave processes have different responsibilities for tasks that they can perform. There are also some tasks that are common across master and slave processes.

Common Process Sentinel Tasks

The following operations are performed by both the master and slave Process Sentinels:

Starting and stopping processes on the local computer
Detecting the failure of processes on the local computer and restarting them
Maintaining the process_config table to store the status of processes.
Check that there is enough disk space using the SWDIR\fspart file (you can configure which partitions to check). In case of lack of space, a work item is sent to the administrator informing them of the situation.
Control the sequence of processes during a system start-up or shutdown.
Check for SWDIR\logs\sw_error and sw_warn files. If any files are detected, a work item is sent to the system administrator.

Master Process Sentinel Tasks

The master Process Sentinels can perform all the above tasks but the following task is only performed by the master Process Sentinels.

Reporting the status of the node or node cluster by publishing an event. For example, if the server processes are running or have been stopped.
Note: The startup and shutdown requests for server processes are broadcast by the SWDIR\util\swsvrmgr utility. The master Process Sentinels record the new system status when the shutdown or startup is complete.