In This Section: |
Use the monitoring commands to make sure that the cluster and the cluster members work properly, and to define Critical Devices. A Critical Device (also known as a Problem Notification, or pnote) is a special software device on each cluster member, through which the critical aspects for cluster operation are monitored. When the critical monitored component on a cluster member fails to report its state on time, or when its state is reported as problematic, the state of that member is immediately changed to 'Down'.
These commands can be run automatically by including them in scripts. The meaning of each of these commands is explained in the next sections. You can run the commands both in Expert mode:
Monitoring Commands:
cphaprob [-vs <vsid>] state
cphaprob [-l] [-ia] [-e] list
cphaprob [-a][-m] if
cphaprob [-reset] syncstat
cphaprob igmp
cphaprob [-reset] ldstat
cphaprob tablestat
Configuration Commands:
cphaprob -d <device> -t <timeout(sec)> -s {ok|init|problem} [-p] [-g] register
cphaprob -d <device> [-p] [-g] unregister
cphaprob -f <file> [-g] register
cphaprob -a [-g] unregister
cphaprob -d <device> -s {ok|init|problem} [-g] report
Description
Run this command after you set up the cluster, and whenever you want to monitor the cluster status.
Syntax in Expert mode
cphaprob [-vs
<VSID>] state
Example
|
When examining the state of the cluster member, you need to consider whether it is forwarding packets, and whether it has a problem that is preventing it from forwarding packets. Each state reflects the result of a test on critical devices. This is a list that explains the possible cluster states, and whether or not they represent a problem.
State |
Meaning |
Forwarding |
Is this |
---|---|---|---|
Active |
Everything is OK. |
Yes |
No |
Active attention |
A problem has been detected, but the cluster member is still forwarding packets because it is the only member in the cluster or there are no other active members in the cluster. In any other situation the state of the member would be down. |
Yes |
Yes |
Down |
One of the critical devices is down. |
No |
Yes |
Ready |
See sk42096 for a solution. |
No |
No |
Standby |
Applies only to a High Availability configuration, and means the member is waiting for an active member to fail in order to start packet forwarding. |
No |
No |
Initializing |
An initial and transient state of the cluster member. The cluster member is booting up, and ClusterXL product is already running, but the Security Gateway is not yet ready. |
No |
No |
ClusterXL inactive or member is down |
Local member cannot hear anything coming from this cluster member. |
Unknown |
Yes |
When a critical device fails, the cluster member is considered to have failed. To see the list of critical devices on a cluster member, and of all the other members in the cluster, run the cphaprob
command listed below on the cluster member.
There are a number of built-in Critical Devices, and the Administrator can define additional critical devices.
The Critical Devices are:
Critical Device |
Description |
Meaning of "OK" state |
Meaning of "problem" state |
---|---|---|---|
|
Monitors all the Critical Devices. |
None of the Critical Devices on this cluster member reports its state as |
At least one of the Critical Devices on this cluster member reports its state as |
|
Monitors if "HA module" was initialized successfully. See sk36372. |
This cluster member receives cluster state information from peer cluster members. |
|
|
Monitors the state of cluster interfaces. |
All cluster interfaces on this cluster member are up (CCP packets are sent and received on all cluster interfaces). |
At least one of the cluster interfaces on this cluster member is down (CCP packets are not sent and/or received on time). |
|
Pnote is currently not used (see sk36373). |
|
|
|
Monitors the state of a Virtual System (see sk92353). |
State of a Virtual System can be changed on this cluster member. |
State of a Virtual System cannot be changed yet on this cluster member. |
|
Monitors if Full Sync on this cluster member completed successfully. |
This cluster member completed Full Sync successfully. |
This cluster member was not able to complete Full Sync. |
|
Monitors if the Security Policy is installed. |
This cluster member successfully installed Security Policy. |
Security Policy is not currently installed on this cluster member. |
|
Monitors the Security Gateway process called |
|
|
|
Monitors the ClusterXL process called |
|
|
|
Monitors the Gaia process called |
|
|
|
Monitors the Mobile Access back-end process called |
|
|
|
Monitors the Threat Emulation process called |
|
|
|
Monitors all Virtual Systems in VSX cluster. |
On VS0, means that states of all Virtual Systems are not On other Virtual Systems, means that VS0 is alive on this cluster member. |
Minimum of blocking states of all Virtual Systems is not "active" (the VSIDs will be printed on the line |
|
This pnote appears in VSX HA mode (not VSLS) cluster. |
The number of CoreXL FW instances in the received CCP packet matches the number of loaded CoreXL FW instances on this VSX cluster member or this Virtual System. |
There is a mismatch between the number of CoreXL FW instances in the received CCP packet and the number of loaded CoreXL FW instances on this VSX cluster member or this Virtual System (see sk106912). |
|
Monitors the Critical Device |
|
User ran the |
|
Monitors the Critical Device User executed the |
All monitored IP addresses on this cluster member replied to pings. |
At least one of the monitored IP addresses on this cluster member did not reply to at least one ping. |
a name of a user space process (except |
User executed the |
All monitored user space processes on this cluster member are running. |
At least one of the monitored user space on this cluster member processes is not running. |
Syntax in Expert mode
cphaprob [-l] [-ia] [-e] list
Where:
Command |
Description |
---|---|
|
Prints the list of all the "Built-in Devices" and the "Registered Devices" |
|
When there are no issues on the cluster member, shows: When a critical device reports a problem, prints only the critical device that reports its state as "problem". |
|
When there are no issues on the cluster member, shows: When a critical device reports a problem, prints the device "Problem Notification" and the critical device that reports its state as "problem" |
|
When there are no issues on the cluster member, shows: When a critical device reports a problem, prints only the critical device that reports its state as "problem" |
Example
The following example output shows that the fwd process is down:
|
Description
This command lets you see the state of the cluster member interfaces and the virtual cluster interfaces. Interfaces are ClusterXL critical devices. ClusterXL makes sure that interfaces can send and receive CCP packets. It also sets the required minimum number of functional interfaces to the largest number of functional interfaces seen since the last reboot. If the number of functional interfaces is less than the required number, ClusterXL starts a failover. The same applies to secured interfaces, where only good synchronization interfaces are counted.
When an interface is DOWN, it means that the interface cannot receive or transmit CCP packets, or both. This happens when an interface malfunctions, is connected to an incorrect subnet, is unable to pick up Multicast Ethernet packets and so on. The interface may also be able to receive but not transmit CCP packets, in which case the status field is read. The displayed time is the number of seconds that elapsed since the interface was last able to receive or transmit a CCP packet.
See Defining Disconnected Interfaces for additional information.
Syntax in Expert mode
cphaprob [-a][-m] if
Where:
Command |
Description |
---|---|
|
Shows only cluster interfaces (Cluster and Sync) and their states:
|
|
Shows full list of cluster interfaces and their states:
|
|
Shows full list of all cluster interfaces and their states:
|
Output
The output of this command must be identical to the configuration in the cluster object Topology page.
For example:
|
An interface can be:
cphaconf set_ccp {multicast|broadcast}
. See sk20576.Description
Shows the configuration of bond interfaces and their slave interfaces.
Syntax in Expert mode
cphaconf show_bond {-a |
<bond_name>}
Where:
Command |
Description |
---|---|
|
Shows configuration of all configured bond interfaces |
|
Shows configuration of the specified bond interface |
Example
Bond name: bond0 Bond mode: Load Sharing Bond status: UP Balancing mode: 802.3ad Layer3+4 Load Balancing Configured slave interfaces: 4 In use slave interfaces: 4 Required slave interfaces: 2 Slave name | Status | Link ----------------+-----------------+------- eth2 | Active | Yes eth3 | Active | Yes eth4 | Active | Yes eth5 | Active | Yes |
The output shows:
Active
- This slave interface is currently handling traffic.Backup
- (Bond High Availability only) This slave interface is ready and can support internal bond failover.Not Available
- (Bond High Availability only) The physical link on this slave interface is broken, or the Cluster member is in status down. The bond cannot failover in this state.Yes
or No
).
|
It is possible to add a user defined critical device to the default list of critical devices. Use this command to register <device> as a critical process, and add it to the list of devices that must be running for the cluster member to be considered active. If <device> fails, then the cluster member is considered to have failed.
If <device> fails to contact the cluster member in <timeout> seconds, <device> will be considered to have failed. For no timeout, use the value 0.
Define the status of the <device> that will be reported to ClusterXL upon registration. This initial status can be one of:
The -p
flag makes these changes permanent. After performing a reboot or after removing the Security Gateway (on Linux or IPSO for example) and re-attaching it, the status of critical devices that were registered with this flag will be saved.
Restrictions:
|
Register all the user defined critical devices listed in <file>. <file> must be an ASCII file, with each device on a separate line. Each line must list three parameters, which must be separated by at least a space or a tab, as follows:
|
|
Unregistering a user defined <device> as a critical process. This means that this device is no longer considered critical. If a critical device (and hence a cluster member) was registered as "problem" before running this command, then after running this command the status of the cluster will depend only on the remaining critical devices.
The -p
flag makes these changes permanent. This means that after performing a reboot or after removing the kernel (on Linux or IPSO for example) and re-attaching it, these critical devices remain unregistered.
|
Use this command to report the status of a user defined critical device to ClusterXL.
<device> is the device that must be running for the cluster member to be considered active. If <device> fails, then the cluster member is considered to have failed.
The status to be reported. The status can be one of:
ok — <device> is alive
init — <device> is initializing. The member is down. This state prevents the member from becoming active.
problem — <device> has failed. If this status is reported to ClusterXL, the cluster member will immediately failover to another cluster member.
If <device> fails to contact the cluster member within the timeout that was defined when the it was registered, <device> and hence the cluster member, will be considered to have failed. This is true only for critical devices with timeouts. If a critical device is registered with the -t 0 parameter, there will be no timeout, and until the device reports otherwise, the status is considered to be the last reported status.