Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Vladimir
Champion
Champion
Jump to solution

Removing orphaned Management HA dependencies

Can someone give me a pointer of how to remove the dependencies for the lost Management HA secondary server from configuration?

I've removed the object from the policies and the destinations for logging, but am seeing:

As well as some errors in SmartConsole.

It would be nice to have an option "Remove Server" under "Actions..." button in the "High Availability Status".

1 Solution

Accepted Solutions
Vladimir
Champion
Champion

False alarm: It was a layer 9 error Smiley Happy

Long story short, to clear the record and, in case someone will run into same or similar issue:

At some point, the working version of SMS was cloned on VMWare vSphere and shutdown.

Clone was powered-up. upgraded to Take103 and was in use for the duration of "Missing" time-frame.

The power management configuration in vSphere, retained the name of the original VM to be automatically powered-up when hosts are rebooted.

After reboot of the ESXi, OLD VM running Take91 was powered-up.

This is how the Bermuda Triangle of missing time, logs and versions was formed.

Apologies for the confusion this may have caused.

Vladimir

View solution in original post

14 Replies
G_W_Albrecht
Legend
Legend

Did you perform a database install after deleting the secondary SMS object ? Maybe you should also erase the content (not the directory itself) of the $FWDIR/conf/mgha/ directory. Another possible solution would be a migrate export (including logs) and import in a fresh install. Or ask TAC how to resolve that...

CCSE CCTE CCSM SMB Specialist
0 Kudos
Vladimir
Champion
Champion

Gunther,

I've performed the database install and have cleaned-up remaining references to the secondary management.

The message depicted above have disappeared, but something really weird is going on now:

While the Log Indexing on primary SMS is enabled, (SmartEvent and Correlation unit are not).

And upon reboot of the SMS, in "LOGS & MONITOR" I am stuck on "Loading SmartView" after receiving an error popup:

Ant to top it all off, the policy package that was active during removal of the secondary HA SMS is no longer present, the rest of them are.

Thankfully, this is a lab environment, but it is a bit disconcerting.

Connecting to the primary SMS via SSH resulted in the prompt calling to attention changed fingerprint (?).

I am going to try emptying the $FWDIR/conf/mgha/  , reboot, retry the tests and will report my results.

Thank you for your suggestions,

Vladimir

0 Kudos
Vladimir
Champion
Champion

Removal and installation of the new SmartConsole seemed to remedy the issue with incorrectly reported SmartLog absence and the widget error.

However, the case of missing policy package remains.

Looking here:

We can see the gap between 4/17/2018 and 5/29/2018. During this time other policy package was installed on selected gateway and there is no trace of it:

> show packages limit 50 offset 0 details-level "standard"

packages:
- uid: "d2797930-9864-4420-b663-62fc308788a4"
name: "Cluster01_Access_Contro_Policy"
type: "package"
domain:
uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
name: "SMC User"
domain-type: "domain"
- uid: "5bc4f4ac-61f6-43b3-aee9-5d2e754157b0"
name: "XXX-Intra-VPC"
type: "package"
domain:
uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
name: "SMC User"
domain-type: "domain"
- uid: "2423e123-b989-463c-8ac1-a478a6b5bf06"
name: "MobileAccess_for_GW8010"
type: "package"
domain:
uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
name: "SMC User"
domain-type: "domain"
- uid: "219dc77c-ea2a-42a7-80a3-cd7da7a2e8bb"
name: "XXXXXXXXX_Simple01_Policy"
type: "package"
domain:
uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
name: "SMC User"
domain-type: "domain"
- uid: "bb62b9a4-021d-435c-81c5-c95767e76e8e"
name: "Standard"
type: "package"
domain:
uid: "41e821a0-3720-11e3-aa6e-0800200c9fde"
name: "SMC User"
domain-type: "domain"
from: 1
to: 5
total: 5

Just to assure everyone that I am not delirious, I have this screenshot with the policy name beginning in GW8010, in a dated filename: 2018-04-25 14_43_31-SmartConsole (192.168.7.30).png

The situation that led to this development:

1. Original licensed SMS was supplemented with Management HA and a dedicated log/SmartEvent/Correlation Unit in trial mode.

2. Upon expiration of the licenses and completion of the PoC, both objects with trial licenses were removed.

3. Problems described above ensued.

I have pored over the R80+ Change Control: A Visual Guide to see if I can find anything in it that could help to solve the mystery, but nothing quite describes the situation when policy packages changes are concerned.

The Audit Log shows similar gap:

and the only entry that could have shed some light on this situation, dated 2018-04-25, when opened, describes the logswitch on 2018-04-19:

While this does not affect me dramatically, it is quite unnerving to see the policy disappear without a trace.

The SMS8010 is a VM with no snapshots or backups dating anywhere near the days depicted in the logs, so there is no likelihood of it reverting to the state it is in due to unexplained rollback.

Any ideas?  

0 Kudos
Simon_Taylor
Contributor

hi @Vladimir , would you share how you cleaned up the files? I've got a similar issue. 

0 Kudos
Vladimir
Champion
Champion

Hi @Simon_Taylor , In this case, it was a user error that resulted in this issue. I have just labeled my explanation as "Accepted Solution" in this thread. There was no remediation option.

0 Kudos
Tomer_Sole
Mentor
Mentor

Hey, I hope that you managed to take a Gaia snapshot before emptying $FWDIR/conf/mgha/  as this is quite the drastic move... did you manage to see what Check Point Support have to say about this case?

0 Kudos
Vladimir
Champion
Champion

No dice on the snapshot: I've figured the management server's integrity is a suspect anyway and it is a lab, so no production impact even if I'll have to rebuild.

One of these days I'll just script the migrate export to external repository on daily basis.

Same thing with TAC, as this is a NFR licensed environment that was provided to a VAR that does not hold active CP contracts, I have no chance of getting CP Support involved.

0 Kudos
G_W_Albrecht
Legend
Legend

After all, i would think that in a VM, Management HA is causing much trouble with nothing in return ! I have found that except in very special topologies / deployments, VM snapshots (together with regular migrate export) and clones are the prefered security measures for SMS. It also reminds of the Dreaded Full Management HA monster !

CCSE CCTE CCSM SMB Specialist
Vladimir
Champion
Champion

Update: The missing policy package was traced to the spontaneously uninstalled JHFA Take_103 and reversion to Take_91.

I've just been working on other systems and wanted to export CPUSE package from my management server when I've noticed that Take_103 is no longer among the installed packages.

Incidentally, after upgrade to Take_103, one of the policy packages went missing.

When system auto-downgraded, it re-appeared, but I've lost the policy package created under the Take_103.

I do not want to alarm anyone, but keep an eye out for mysterious disappearances.

0 Kudos
Vladimir
Champion
Champion

False alarm: It was a layer 9 error Smiley Happy

Long story short, to clear the record and, in case someone will run into same or similar issue:

At some point, the working version of SMS was cloned on VMWare vSphere and shutdown.

Clone was powered-up. upgraded to Take103 and was in use for the duration of "Missing" time-frame.

The power management configuration in vSphere, retained the name of the original VM to be automatically powered-up when hosts are rebooted.

After reboot of the ESXi, OLD VM running Take91 was powered-up.

This is how the Bermuda Triangle of missing time, logs and versions was formed.

Apologies for the confusion this may have caused.

Vladimir

Adiel_Ashrov
Employee Alumnus
Employee Alumnus

Hello Valdimir,

Did you remove the secondary server from the Gateways and Servers view?

Regards,

Adiel

0 Kudos
Vladimir
Champion
Champion

Yep:

0 Kudos
Adiel_Ashrov
Employee Alumnus
Employee Alumnus

Hey Valdimir,

So did you remove the links and objects pointing to the secondary before removing the secondary?

Adiel

Asif Klar

0 Kudos
Vladimir
Champion
Champion

Yes, otherwise you are informed that the object cannot be removed and you are presented with the "used in" lookup option.

I have no problem in removing it by gradually cleaning-up dependencies. The results are what is of concern, if you have read to the end of the thread.

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events