Thursday, November 25, 2021

CHECKPOINT - NEW SMARTCENTER UPGRADE (FROM R80.20 ONWARDS)

Checkpoint has introduced a new mechanism to export smartcenter database ( from old migrate_export tool)

the script is in $MDS_FWDIR/scripts directory and is called migrate_server

see sk135172 for a complete reference 

here is a brief list of commands to verify upgrade feasibility, export and import

First you may want to check you have the script (in later versions you have it by default)

Run in the Expert mode:

cpprod_util CPPROD_GetValue CPupgrade-tools-<Version> BuildNumber 1

<Version> is the target version, to which you upgrade. One of these: R80.20, R80.20.M2, R80.30, R80.40, R81, R81.10

Example:
cpprod_util CPPROD_GetValue CPupgrade-tools-R80.40 BuildNumber 1

VERIFY
  • The Verify command should be:

    [Expert@HostName:0]# $MDS_FWDIR/scripts/migrate_server verify -skip_upgrade_tools_check -v <Target Version>

    <Target Version> is the target version, to which you upgrade. One of these: R80.20, R80.20.M2, R80.30, R80.40, R81, R81.10

    Example:
    [Expert@HostName:0]# $MDS_FWDIR/scripts/migrate_server verify -skip_upgrade_tools_check -v R80.40

EXPORT
  • The Export command should be:

    [Expert@HostName:0]# $MDS_FWDIR/scripts/migrate_server export -skip_upgrade_tools_check -v <Target Version> <Path and Name of the Export TGZ file>

    Example:
    [Expert@HostName:0]# $MDS_FWDIR/scripts/migrate_server export -skip_upgrade_tools_check -v R80.40 /var/log/Export_for_Upgrade_from_R8020_to_R8040.tgz

IMPORT
  • The Import command should be:

    [Expert@HostName:0]# $MDS_FWDIR/scripts/migrate_server import -skip_upgrade_tools_check -v <Target Version> <Path and Name of the Exported TGZ file>

    Example:
    [Expert@HostName:0]# $MDS_FWDIR/scripts/migrate_server import -skip_upgrade_tools_check -v R80.40 /var/log/Export_for_Upgrade_from_R8020_to_R8040.tgz

Monday, November 22, 2021

 CHECKPOINT - CPUSE install latest agent version    

Here is a procedure to manually upgrade CPUSE agent

First check agent build:


  • Connect to command line on Gaia machine.
  • Log in to Expert mode.
  • Run this command:[Expert@HostName:0]# cpvinfo $DADIR/bin/DAService | grep -E " Build|Minor "

Example output:

Build Number = 1523
Minor Release = knockout_ms1_ga


Then we need to download the latest DeploymentAgent_<build>.tgz  package to the machine (see sk92449)

  • Transfer the CPUSE Agent package (DeploymentAgent_<build>.tgz) to the machine (into some directory – e.g., /some_path_to_CPUSE/).
  • Unpack the CPUSE Agent package:

    [Expert@HostName:0]# cd /some_path_to_CPUSE/
    [Expert@HostName:0]# tar -zxvf DeploymentAgent_<build>.tgz

  • Install the CPUSE Agent RPM:

    [Expert@HostName:0]# rpm -Uhv –-force CPda-00-00.i386.rpm


After these operations check again the Build number with above command