CPUG

The Check Point User Group

A Resource For The Check Point Community.  Fast.  Useful.  Independent.

1. Come to CPUG CON 2008 EUROPE in Switzerland on September 8th - 9th!
    Two days full of technical content for Check Point administrators in the beautiful Swiss Alps!
    We already have sign-ups from twelve different countries!
2. CCSA/CCSE One-Week Dual-Certification Training Course with CPUG in San Francisco!
    Courses Starting 7/14, 8/25, 10/6, 11/3, 12/8, (2009) 1/19, 2/9, 3/9, 4/6, 5/4, 6/8.
3. Corrent S3500 SecureXL Turbocards For Sale - Last Six Remaining - Get Your Spares!
4. Join Us On LinkedIn - We now have a CPUG group.


Go Back   CPUG: The Check Point User Group > Check Point Firewall-1/VPN-1 And Related Products > Miscellaneous
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2008-01-02
cciesec2006 cciesec2006 is offline
Senior Member
 
Join Date: 2006-09-26
Posts: 596
Rep Power: 2
cciesec2006 has an average reputation (10+)
Default backup/restore of Checkpoint Enforcement Module

Hi All,

How does one go about backing up checkpoint Secureplatform Enforcement
Modules? Since upgrade_export does not work on Enforcement Module.
What is the best practice in backing up Enforcement module?

with "backup" command?

Thanks.
Reply With Quote
  #2 (permalink)  
Old 2008-01-02
manrag manrag is offline
Member
 
Join Date: 2007-05-31
Posts: 52
Rep Power: 2
manrag has an average reputation (10+)
Default Re: backup/restore of Checkpoint Enforcement Module

Hi, you can use the backup command that will take all of the OS (routes, ip addresses....) information and the Checkpoint configuration.

You can also use the snapshot command that will take a complete image of the system, but taking this Snapshot will take your enforcement module out of service for some time.

PD: The upgrade_export should work on an enforcement module, but that will only take you the Checkpoint info (SIC, Security Policy...) not any OS info.
Reply With Quote
  #3 (permalink)  
Old 2008-01-02
cciesec2006 cciesec2006 is offline
Senior Member
 
Join Date: 2006-09-26
Posts: 596
Rep Power: 2
cciesec2006 has an average reputation (10+)
Default Re: backup/restore of Checkpoint Enforcement Module

Are you sure that upgrade_export works on enforcement modules? See
below:

[Expert@splat]# cd /var/tmp
[Expert@splat]# fw ver
This is Check Point VPN-1(TM) & FireWall-1(R) NGX (R65) HFA_02, Hotfix 602 - Build 006
[Expert@splat]# find / -name upgrade_export
/opt/CPsuite-R65/fw1/bin/upgrade_tools/upgrade_export
/sysimg/CPwrapper/linux/linux22/upgrade_export
/sysimg/CPwrapper/linux/Actions/upgrade_export
[Expert@splat]# /opt/CPsuite-R65/fw1/bin/upgrade_tools/upgrade_export test


You are required to close all Check Point clients before the Export operation begins.
If the export fails, stop Check Point services and run the upgrade_export command again.
Press ENTER when ready..

Checking the existence of necessary files...
Copying files to temp dir...
Building configuration file...
Error: Failed to read local configuration info
[Expert@splat]#

How do you explain that?

Thanks
Reply With Quote
  #4 (permalink)  
Old 2008-01-02
melipla melipla is offline
Senior Member
 
Join Date: 2006-01-25
Posts: 724
Rep Power: 3
melipla has an average reputation (10+)
Default Re: backup/restore of Checkpoint Enforcement Module

Quote:
Originally Posted by cciesec2006 View Post
How do you explain that?
There's a couple bugs in R65 HFA 2 / HFA 1, a broken upgrade_export was one of them. See sk33878, which links you to a Hotfix for the Hotfix ;)

HTH
__________________
Its all in the documentation.
Reply With Quote
  #5 (permalink)  
Old 2008-01-02
cciesec2006 cciesec2006 is offline
Senior Member
 
Join Date: 2006-09-26
Posts: 596
Rep Power: 2
cciesec2006 has an average reputation (10+)
Default Re: backup/restore of Checkpoint Enforcement Module

HotFix applied and the problem is fixed. Thanks.
Reply With Quote
  #6 (permalink)  
Old 2008-01-02
cciesec2006 cciesec2006 is offline
Senior Member
 
Join Date: 2006-09-26
Posts: 596
Rep Power: 2
cciesec2006 has an average reputation (10+)
Default Re: backup/restore of Checkpoint Enforcement Module

I spoke too soon. On the SmartCenter with hfa_02 and NO patch, I can
perform upgrade_export fine without issue, as seen below:

[root@FiremonRCC-lab tmp]# fw ver
This is Check Point VPN-1(TM) & FireWall-1(R) NGX (R65) HFA_02, Hotfix 602 - Build 006
[root@FiremonRCC-lab tmp]# /opt/CPsuite-R65/fw1/bin/upgrade_tools/upgrade_export xxx


You are required to close all Check Point clients before the Export operation begins.
If the export fails, stop Check Point services and run the upgrade_export command again.
Press ENTER when ready..

Checking the existence of necessary files...
Copying files to temp dir...
Building configuration file...
Compressing the files...


The export operation finished successfully.

Note: /var/tmp/tmp/xxx.tgz contains your Security configuration, it is highly recommended to delete it after completing the process.
[root@FiremonRCC-lab tmp]#

I get error on Enforcement Modules with upgrade_export without the patch.

What the hell....
Reply With Quote
  #7 (permalink)  
Old 2008-01-03
manrag manrag is offline
Member
 
Join Date: 2007-05-31
Posts: 52
Rep Power: 2
manrag has an average reputation (10+)
Default Re: backup/restore of Checkpoint Enforcement Module

One explanation can be that you applied different HFA 02 for R65 on the management and module.
The first HFA_02 that checkpoint released had the bug, few days after that they released another HFA_02 that had the bug fixed.

That could be why it failed on the Module and not on the SCS.
Reply With Quote
  #8 (permalink)  
Old 2008-01-03
RayPesek RayPesek is offline
Senior Member
 
Join Date: 2006-03-19
Location: Northern Ohio
Posts: 861
Rep Power: 3
RayPesek has an average reputation (10+)
Default Re: backup/restore of Checkpoint Enforcement Module

"Error: Failed to read local configuration info"

The other thing that will cause the above error is running the commands with the NIC disconnected, for whatever reason.

Ray
Reply With Quote
  #9 (permalink)  
Old 2008-01-07
melipla melipla is offline
Senior Member
 
Join Date: 2006-01-25
Posts: 724
Rep Power: 3
melipla has an average reputation (10+)
Default Re: backup/restore of Checkpoint Enforcement Module

Quote:
Originally Posted by cciesec2006 View Post
I get error on Enforcement Modules with upgrade_export without the patch.
...that's what the patch is for, to fix upgrade_export. While the patch claims its for all R65 HFA 02 installations, I'm not surprised that your smartcenter server works without the patch. SCS contains a lot more datafiles than enforcement modules, Check Point probably wrote a hook in upgrade_export for a SCS only datafile--by mistake of course. Maybe that's why they didn't catch it during the QA process, after all no one does upgrade_exports for enforcement modules ;)
__________________
Its all in the documentation.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 15:30.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.0.0