Description
Shows information about Check Point computers in High Availability configuration and their states.
Note - The fw hastat
command is outdated:
show cluster state
, or the Expert mode command cphaprob state
.cpstat
command.Syntax
fw hastat [<Target1>] [<Target2>] ... [<TargetN>] |
Parameters
Parameter |
Description |
---|---|
<Target1> <Target2> ... <TargetN> |
Specifies the Check Point computers to query. If you run this command on the Management Server, you can enter the applicable IP address, or the resolvable HostName of the managed Security Gateway or Cluster Member. If you do not specify the target, the command queries the local computer. |
Example 1 - Querying the local Management Server
[Expert@MGMT:0]# fw hastat
HOST NUMBER HIGH AVAILABILITY STATE MACHINE STATUS localhost active OK [Expert@MGMT:0]# |
Example 2 - Querying the cluster members from the Management Server
[Expert@MGMT:0]# fw hastat 192.168.3.52 HOST NUMBER HIGH AVAILABILITY STATE MACHINE STATUS 192.168.3.52 1 active OK [Expert@MGMT:0]#
[Expert@MGMT:0]# fw hastat 192.168.3.53 HOST NUMBER HIGH AVAILABILITY STATE MACHINE STATUS 192.168.3.53 2 stand-by OK [Expert@MGMT:0]#
[Expert@MGMT:0]# fw hastat 192.168.3.52 192.168.3.53 HOST NUMBER HIGH AVAILABILITY STATE MACHINE STATUS 192.168.3.52 1 active OK 192.168.3.53 2 stand-by OK [Expert@MGMT:0]# |
Example 3 - Querying the local Cluster Member
[Expert@Member1:0]# fw hastat HOST NUMBER HIGH AVAILABILITY STATE MACHINE STATUS 192.168.3.52 1 active OK [Expert@Member1:0]# |