Wednesday, December 14, 2011

How to tell if a Proventia M is in HA mode via SSH

If you need to check if an ISS / IBM Proventia M is in High Availability mode or which firewall is primary or secondary check the following via ssh:

cat /etc/sysconfig/ham

The output will be, no such file, primary, or secondary.

[root@proventiaM root]# cat /etc/sysconfig/ham
cat: /etc/sysconfig/ham: No such file or directory <-------- Means NOT part of an HA cluster

[root@proventiaM root]# cat /etc/sysconfig/ham
HAOASTATE=primary <-------------Means this devices is currently the primary firewall in cluster

[root@proventiaM root]# cat /etc/sysconfig/ham
HAOASTATE=secondary <-------------Means this devices is currently the secondary firewall in cluster

No comments:

Post a Comment