Keep in mind, as LOTS of people always confuse these things. You canNOT promote secondary to be primary or demote primary into secondary. Primary mgmt will ALWAYS be primary and SECONDARY will ALWAYS be secondary, UNLESS rebuilt. Standby can become active and active can be set as backup.
Anyway, please send send commands @AkosBakos mentioned:
cphaprob state
cphaprob -a if
cphaprob -i list
cphaprob -l list
cphaprob syncstat
cpstat mg
Andy
Though, seems you could do this to promote secondary to primary:
To promote a Secondary server to become the Primary server:
- On the Secondary Server that you will promote, run:
#$FWDIR/bin/promote_util
#cpstop
- Remove the
$FWDIR/conf/mgha*
files. They contain information about the current Secondary settings. These files will be recreated when you start the Check Point services.
- Make sure you have a
mgmtha
license on the newly promoted server.
Note - All licenses must have the IP address of the promoted Security Management Server.
- Run
cpstart
on the promoted server.
- Open SmartConsole, and:
- Make the secondary server active.
- Remove all instances of the old Primary Management object. To see all of the instances, right-click the object and select .
Note - When you remove the old Primary server, all previous licenses are revoked.
- Install database.
https://sc1.checkpoint.com/documents/R80.30/WebAdminGuides/EN/CP_R80.30_SecurityManagement_AdminGuid...
My primary mgmt lab (does NOT matter if its active or standby)
[Expert@CP-MANAGEMENT:0]# grep Primary $CPDIR//registry/HKLM_registry.data
:Primary ("[4]1")
[Expert@CP-MANAGEMENT:0]#
secondary:
[Expert@CP-MANAGEMENT-HA:0]# grep Primary $CPDIR//registry/HKLM_registry.data
:Primary ("[4]0")
[Expert@CP-MANAGEMENT-HA:0]#