Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Danny
Champion Champion
Champion

Which CLI command shows if active SmartCenter is HA?

Below commands are returning 1 on SmartCenter Servers (Non-HA) and primary active SmartCenter HA-Servers.

cpprod_util FwIsActiveManagement
cpprod_util FwIsHAManagement
cpprod_util FwIsFirewallMgmt
cpprod_util FwIsPrimary

However, cpview is able to differentiate between both.

sk148112 assumes the commands are executed on a SmartCenter HA server but doesn't provide a hint how to differentiate between a single active SmartCenter and a Primary Active SmartCenter HA.

Which command shows if I'm actually on an primary active SmartCenter-HA?

 

6 Replies
Danny
Champion Champion
Champion

Working with this now:

if [[ -e $MDS_FWDIR/conf/peers.C ]]; then echo "SmartCenter HA"; fi
Ziegelsambach
Contributor
Contributor

Would be interesting to know how cpview gets the info.

mgmt-ha.png

Tal_Paz-Fridman
Employee
Employee

You can also run cpstat mg:

cpstat mg.jpg

0 Kudos
Ziegelsambach
Contributor
Contributor

Thanks @Tal_Paz-Fridman,

unfortunately cpstat mg cannot differentiate if the management is HA or not.

On single managements cpview and cpstat show:

MGMT_cpview.pngMGMT_cpstat_mg.png

On Management-HA:

Prim_HA_cpview.pngPrim_HA_cpstat_mg.png

0 Kudos
Tal_Paz-Fridman
Employee
Employee

But it will tell you if it is Active or Standby so perhaps that might help?

0 Kudos
Ziegelsambach
Contributor
Contributor

Thanks @Tal_Paz-Fridman,

we want to know if the management is HA or not.

It doesn't matter at this stage if it's active or standby.

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events