Skip to main content

Useful command for Checkpoint Cluster troubleshooting

Cluster related:

To check on Firewall cluster status:

cphaprob stat

expected output:

Cluster Mode:   Load Sharing (Multicast/SDF)
Number     Unique Address  Assigned Load   State
1                10.1.1.2     25%             Active
2                10.1.1.3     25%             Active
3 (local)    10.1.1.4     25%             Active
4                10.1.1.5     25%             Active

combine the command "watch -n "1" cphaprob stat" it will give you a refresh output in 1 seconds interval.


To check on cluster interfaces IP and interface status:

cphaprob -a if

expected output:

Required secured interfaces: 2
eth1       UP                    sync(secured), multicast
eth2       UP                    sync(secured), multicast
eth3       UP                    non sync(non secured), multicast
eth4       UP                    non sync(non secured), multicast

Virtual cluster interfaces: 2
eth3            xx.xx.xx.xx
eth4            xx.xx.xx.xx

To check on cluster processes:

cphaprob -i list

expected output

Built-in Devices:
Device Name: Interface Active Check
Current state: OK

Device Name: HA Initialization
Current state: OK

Device Name: Load Balancing Configuration
Current state: OK

Registered Devices:
Device Name: Synchronization
Registration number: 0
Timeout: none
Current state: OK
Time since last report: 543206 sec

Device Name: Filter
Registration number: 1
Timeout: none
Current state: OK
Time since last report: 543200 sec

Device Name: cphad
Registration number: 2
Timeout: 2 sec
Current state: OK
Time since last report: 1 sec

Device Name: fwd
Registration number: 3
Timeout: 2 sec
Current state: OK
Time since last report: 0.4 sec

Device Name: FIB
Registration number: 4
Timeout: none
Current state: OK
Time since last report: 607166 sec

Comments

Popular posts from this blog

Install Google Playstore on Pendo Pad 4.0 and rooting the device.

Coles selling the Pendo 7" Android Pad running Ice Cream Sandwich 4.03, however by default it does not come with Google Play Store. Rather it has the China "store" GetJar, which only have limited Apps available. In order to get the  Google Play store install on device. Firstly you have to root the device to gain root access. 1. Download unlockroot from : www.unlockroot.com/ 2. Connect the device to a windows PC, install and run the program. Make sure window machine has the necessary driver to access android pad.  If device driver is not available. Download and install the driver from: http://developer.android.com/tools/extras/oem-usb.html Make sure set the android device to USB Debugging mode to allow the unlockroot to root the device: Enable the USB debugging mode from : Setting -> Developer Options -> USB debugging Click on Root to root the device. After that, install the google play store by downloading it and transfer it to

Linux command to install software for various Distro

Ubuntu (*buntu, Mint linux) Apt-get install apt-get update apt-get remove apt-get dist-upgrade apt-get purge Fedora/RHEL/CentOS yum install yum update yum remove Opensuse yast2 --install yast2 --remove zypper update Freebsd  pkg_add pkg_delete Gentoo emerge package # Install emerge -C package # Remove a package emerge -s keyword # Search for packages (package names only) emerge -u package # update the package Arch pacman -U package.pkg.tar.xz # Local package install pacman -Syy # Refresh package databases pacman -Syu # Update installed packages pacman -S package # Install package pacman -R package # Remove package