Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Ziegelsambach
Contributor

cpview Management HA

How does cpview gets the information if a Management is configured as HA or not?

mgmt-ha.png

 

Greedings.

0 Kudos
5 Replies
G_W_Albrecht
Legend
Legend

By running

# cpprod_util FwIsHAManagement

😎

CCSE CCTE CCSM SMB Specialist
Ziegelsambach
Contributor

When I try this command on my non-HA Management it also returns 1 instead 0.

 

0 Kudos
G_W_Albrecht
Legend
Legend

Yes, true:

[Expert@SMS:0]# cpprod_util FwIsHAManagement

1 

[Expert@SMS:0]# cpprod_util FwIsHighAvail 

0 

[Expert@SMS:0]# cpprod_util FwIsFullHA   

0 

[Expert@SMS:0]# cpprod_util FwIsFirewallMgmt

1 

[Expert@SMS:0]# cpprod_util FwIsPrimary     

1 

[Expert@SMS:0]# cpprod_util FwIsActiveManagement

1 

---

The best command for this is (sk148112):

cpstat mg

In order to check if the local machine is the primary or the secondary management server run:

 

grep Primary $CPDIR//registry/HKLM_registry.data

 

:Primary ("[4]1") means this is the primary

 

:Primary ("[4]0") means this is the secondary

 

CCSE CCTE CCSM SMB Specialist
0 Kudos
Daniel_Schlifka
Contributor

If i'm not wrong there is no option to install a Management-Server as standalone. It's basically always a primary.
For multiple smartcenters you would determine the role of the smartcenter with cpprod_util <FwIsActiveManagement|FwIsPrimary>  if i'm not mistaken.

0 Kudos
G_W_Albrecht
Legend
Legend

Correct:

Primary Server vs. Secondary Server 

The sequence in which you install management servers defines them as Primary or Secondary. The first management server installed becomes the Primary active server. When you install more Security Management Servers, you define them as Secondary. Secondary servers are Standby servers by default. 

In the SmartConsole connected to the Primary server, create a network object to show the Secondary Security Management Server. After you publish, synchronize starts between the primary and secondary servers. 

CCSE CCTE CCSM SMB Specialist
0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events