cphaprob
In the R81.10.X releases, this command is available starting from the R81.10.00 version.
Description
Defines and manages the critical cluster member properties of the appliance. When a critical process fails, the appliance is considered to have failed.
Syntax
|
Parameters
Parameter |
Description |
---|---|
|
Registers <appliance> as a critical process. |
|
Lists all devices in the cluster. |
|
The name of the device as it appears in the output of the cphaprob list. |
|
The configuration change is permanent and applies after the appliance reboots. |
|
If <device> fails to contact ClusterXL in <timeout> seconds, <device> is considered to have failed. To disable this parameter, enter the value 0. |
|
Status to be reported. ok - <appliance> is alive init - <appliance> is initializing problem - <appliance> has failed |
|
Option to automatically register several appliances. The file defined in the <file> field should contain the list of appliances with these parameters:
|
|
Unregisters <device> as a critical process. |
|
Reports the status of the <device> to the gateway. |
|
Displays that state of: -i - Internal (as well as external) devices, such as interface check and High Availability initialization. -e - External devices, such as devices registered by the user or outside the kernel. For example, fwd, sync, filter. -ia - All devices, including those used for internal purposes, such as note initialization and load-balance configuration. |
|
Displays the state of all the gateways in the High Availability configuration. |
|
Displays the state of interfaces. |
Example Command
|
Example Output
Success prints OK. Failure shows an appropriate error message.
These are some typical scenarios for the cphaprob command.
Argument |
Description |
|
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. |
|
Register all the user defined critical devices listed in <file>. |
|
Unregister a user defined <device> as a critical process. This means that this device is no longer considered critical. |
|
Unregister all the user defined <device>. |
|
Report the status of a user defined critical device to ClusterXL. |
|
View the list of critical devices on a cluster member, and of all the other machines in the cluster. |
|
View the status of a cluster member, and of all the other members of the cluster. |
|
View the state of the cluster member interfaces and the virtual cluster interfaces. |
Examples
|