Print Download PDF Send Feedback

Previous

Next

Upgrading Multi-Domain Servers in High Availability from R80.10 and lower with Migration

In a migration and upgrade scenario, you perform the procedure on the source Multi-Domain Servers and the different target Multi-Domain Servers.

Note - To upgrade from R80.20.M1, see Upgrading Multi-Domain Servers in High Availability from R80.20.M1 with Migration.

Important - Before you upgrade:

Step

Description

1

Back up your current configuration.

2

See the Upgrade Options and Prerequisites.

3

In R80 and above, examine the SmartConsole sessions:

  1. Connect with the SmartConsole to each Domain Management Server.
  2. From the left navigation panel, click Manage & Settings > Sessions > View Sessions.
  3. You must publish or discard all sessions, for which the Changes column shows a number greater than zero.

    Right-click on such session and select Publish or Discard.

 

4

In Multi-Domain Server R80 or R80.10 with enabled vSEC Controller:

  1. Connect with SmartConsole to the Global Domain.
  2. Delete all global Data Centers objects.
  3. Assign the modified Global Policies.

 

5

You must close all GUI clients (SmartConsole applications) connected to the source Multi-Domain Servers.

Workflow:

  1. If the Primary Multi-Domain Server is not available, promote the Secondary Multi-Domain Server to be the Primary
  2. Get the R80.20 installation image
  3. On the current Primary Multi-Domain Server, run the Pre-Upgrade Verifier and export the entire management database
  4. Install another Primary R80.20 Multi-Domain Server
  5. On the Primary R80.20 Multi-Domain Server, import the entire management database
  6. Install the R80.20 SmartConsole
  7. On the Primary R80.20 Multi-Domain Server, install the management database
  8. On the current Secondary Multi-Domain Server, run the Pre-Upgrade Verifier and export the entire management database
  9. Install another Secondary R80.20 Multi-Domain Server
  10. On the Secondary R80.20 Multi-Domain Server, import the entire management database
  11. On the Secondary R80.20 Multi-Domain Server, install the management database
  12. Upgrade the Multi-Domain Log Server, dedicated Log Servers, and dedicated SmartEvent Servers
  13. On every Multi-Domain Server with Active Domain Management Servers, upgrade the attributes of all managed objects in all Domain Management Servers
  14. Test the functionality
  15. Disconnect the old Multi-Domain Servers from the network
  16. Connect the new Multi-Domain Servers to the network

Step 1 of 16: If the Primary Multi-Domain Server is not available, promote the Secondary Multi-Domain Server to be the Primary

For instructions, see the R80.20 Multi-Domain Security Management Administration Guide - Chapter Working with High Availability - Section Failure Recovery - Subsection Promoting the Secondary Multi-Domain Server to Primary.

Step 2 of 16: Get the R80.20 installation image

Step

Description

1

Download the R80.20 Clean Install ISO file from the R80.20 Home Page SK.

2

Transfer the R80.20 ISO file to the current Multi-Domain Server to some directory (for example, /var/log/path_to_iso/).

Note - Make sure to transfer the file in the binary mode.

Step 3 of 16: On the current Primary Multi-Domain Server, run the Pre-Upgrade Verifier and export the entire management database

Step

Description

1

Connect to the command line the current Primary Multi-Domain Server.

2

Log in with the superuser credentials.

3

Log in to the Expert mode.

4

Stop all Check Point services:

[Expert@PrimaryMDS:0]# mdsstop

5

Go to the main MDS context:

[Expert@PrimaryMDS:0]# mdsenv

6

Mount the R80.20 ISO file:

[Expert@PrimaryMDS:0]# mount -o loop /var/log/path_to_iso/<R80.20_Gaia>.iso /mnt/cdrom

7

Go to the installation folder in the ISO:

[Expert@PrimaryMDS:0]# cd /mnt/cdrom/linux/p1_install/

8

Run the installation script:

[Expert@PrimaryMDS:0]# ./mds_setup

This menu shows:

(1) Run Pre-upgrade verification only [recommended before upgrade]
(2) Backup current Multi-Domain Server
(3) Export current Multi-Domain Server
Or 'Q' to quit.

9

Enter 1 to run the Pre-upgrade verification.

Note - The Pre-Upgrade Verifier analyzes compatibility of the currently installed configuration with the version, to which you upgrade. A detailed report shows the steps to do before and after the upgrade.

10

Read the Pre-Upgrade Verifier output.

If you need to fix errors:

  1. Start all Check Point services:

    [Expert@PrimaryMDS:0]# mdsstart

  2. Follow the instructions in the report.
  3. Connect with SmartConsole to the Global Domain that is currently in the Active state.
  4. Reassign the Global Policy on all Domains.
  5. In a Management High Availability environment R77.30 and lower, if you made changes, synchronize the Domain Management Servers immediately after these changes (in R80 and above, this synchronization occurs automatically).
  6. Stop all Check Point services again:

    [Expert@PrimaryMDS:0]# mdsstop

  7. Run the installation script again:

    [Expert@PrimaryMDS:0]# ./mds_setup

    This menu shows:

    (1) Run Pre-upgrade verification only [recommended before upgrade]
    (2) Backup current Multi-Domain Server
    (3) Export current Multi-Domain Server
    Or 'Q' to quit.

11

Enter 3 to export the current Primary Multi-Domain Server configuration.

12

Answer the interactive questions:

Would you like to proceed with the export now [yes/no] ? yes

Please enter target directory for your Multi-Domain Server export (or 'Q' to quit): /var/log

Do you plan to import to a version newer than R80.20 [yes/no] ? no

Using migrate_tools from disk.

Do you wish to export the log database [yes/no] ? yes (or no)

Note - If you enter no in the question "Do you wish to export the log database", the configuration is still exported.

13

Make sure the export file is created in the specified directory:

[Expert@PrimaryMDS:0]# ls -l /var/log/exported_mds.<DDMMYYYY-HHMMSS>.tgz

14

Calculate the MD5 for the exported file:

[Expert@PrimaryMDS:0]# md5sum /var/log/exported_mds.<DDMMYYYY-HHMMSS>.tgz

15

Rename the exported file:

[Expert@PrimaryMDS:0]# mv -v /var/log/{,Primary_}exported_mds.<DDMMYYYY-HHMMSS>.tgz

16

Transfer the exported database from the current Primary Multi-Domain Server to an external storage:

/var/log/Primary_exported_mds.<DDMMYYYY-HHMMSS>.tgz

Note - Make sure to transfer the file in the binary mode.

Step 4 of 16: Install another Primary R80.20 Multi-Domain Server

Perform a clean install of the R80.20 Multi-Domain Server on another computer (do not perform initial configuration in SmartConsole).

Important:

The IP addresses of the source and target Multi-Domain Servers must be the same. If you need to have a different IP address on the R80.20 Multi-Domain Server, you can change it only after the upgrade procedure. Note that you have to issue licenses for the new IP address. For applicable procedure, see sk74020.

Step 5 of 16: On the Primary R80.20 Multi-Domain Server, import the entire management database

Step

Description

1

Connect to the command line on the Primary R80.20 Multi-Domain Server.

2

Log in with the superuser credentials.

3

Log in to the Expert mode.

4

Make sure a valid license is installed:

mdsenv

cplic print

If it is not already installed, then install a valid license now.

5

Transfer the exported database from an external storage to the Primary R80.20 Multi-Domain Server, to some directory.

Note - Make sure to transfer the file in the binary mode.

6

Make sure the transferred file is not corrupted.

Calculate the MD5 for the transferred file and compare it to the MD5 that you calculated on the original Primary Multi-Domain Server:

[Expert@PrimaryMDS:0]# md5sum /<Full Path>/Primary_exported_mds.<DDMMYYYY-HHMMSS>.tgz

7

Import the configuration:

[Expert@PrimaryMDS:0]# yes | nohup $MDSDIR/scripts/mds_import.sh /<Full Path>/Primary_exported_mds.<DDMMYYYY-HHMMSS>.tgz &

Note: yes | nohup ... & - are mandatory parts of the syntax.

8

Make sure that on all Domain Management Servers, none of the required daemons (FWM, FWD, CPD, and CPCA) are in the state "down" (the "pnd" state is acceptable):

[Expert@PrimaryMDS:0]# mdsstat

If some of the required daemons on a Domain Management Server are in the state "down", wait for 5-10 minutes, restart that Domain Management Server and check again. Run these three commands:

[Expert@PrimaryMDS:0]# mdsstop_customer <IP Address or Name of Domain Management Server>

[Expert@PrimaryMDS:0]# mdsstart_customer <IP Address or Name of Domain Management Server>

[Expert@PrimaryMDS:0]# mdsstat

Step 6 of 16: Install the R80.20 SmartConsole

See Installing SmartConsole.

Step 7 of 16: On the Primary R80.20 Multi-Domain Server, install the management database

Step

Description

1

Connect with SmartConsole to each Domain Management Server.

2

In the top left corner, click Menu > Install database.

3

Select all objects.

4

Click Install.

5

Click OK.

Step 8 of 16: On the current Secondary Multi-Domain Server, run the Pre-Upgrade Verifier and export the entire management database

Step

Description

1

Connect to the command line the current Secondary Multi-Domain Server.

2

Log in with the superuser credentials.

3

Log in to the Expert mode.

4

Stop all Check Point services:

[Expert@SecondaryMDS:0]# mdsstop

5

Go to the main MDS context:

[Expert@SecondaryMDS:0]# mdsenv

6

Mount the R80.20 ISO file:

[Expert@SecondaryMDS:0]# mount -o loop /var/log/path_to_iso/<R80.20_Gaia>.iso /mnt/cdrom

7

Go to the installation folder in the ISO:

[Expert@SecondaryMDS:0]# cd /mnt/cdrom/linux/p1_install/

8

Run the installation script:

[Expert@SecondaryMDS:0]# ./mds_setup

This menu shows:

(1) Run Pre-upgrade verification only [recommended before upgrade]
(2) Backup current Multi-Domain Server
(3) Export current Multi-Domain Server
Or 'Q' to quit.

9

Enter 1 to run the Pre-upgrade verification.

Note - The Pre-Upgrade Verifier analyzes compatibility of the currently installed configuration with the version, to which you upgrade. A detailed report shows the steps to do before and after the upgrade.

10

Read the Pre-Upgrade Verifier output.

If you need to fix errors:

  1. Start all Check Point services:

    [Expert@SecondaryMDS:0]# mdsstart

  2. Follow the instructions in the report.
  3. Connect with SmartConsole to the Global Domain that is currently in the Active state.
  4. Reassign the Global Policy on all Domains.
  5. In a Management High Availability environment R77.30 and lower, if you made changes, synchronize the Domain Management Servers immediately after these changes (in R80 and above, this synchronization occurs automatically).
  6. Stop all Check Point services again:

    [Expert@SecondaryMDS:0]# mdsstop

  7. Run the installation script again:

    [Expert@SecondaryMDS:0]# ./mds_setup

    This menu shows:

    (1) Run Pre-upgrade verification only [recommended before upgrade]
    (2) Backup current Multi-Domain Server
    (3) Export current Multi-Domain Server
    Or 'Q' to quit.

11

Enter 3 to export the current Secondary Multi-Domain Server configuration.

12

Answer the interactive questions:

Would you like to proceed with the export now [yes/no] ? yes

Please enter target directory for your Multi-Domain Server export (or 'Q' to quit): /var/log

Do you plan to import to a version newer than R80.20 [yes/no] ? no

Using migrate_tools from disk.

Do you wish to export the log database [yes/no] ? yes (or no)

Note - If you enter no in the question "Do you wish to export the log database", the configuration is still exported.

13

Make sure the export file is created in the specified directory:

[Expert@SecondaryMDS:0]# ls -l /var/log/exported_mds.<DDMMYYYY-HHMMSS>.tgz

14

Calculate the MD5 for the exported file:

[Expert@SecondaryMDS:0]# md5sum /var/log/exported_mds.<DDMMYYYY-HHMMSS>.tgz

15

Rename the exported file:

[Expert@SecondaryMDS:0]# mv -v /var/log/{,Secondary_}exported_mds.<DDMMYYYY-HHMMSS>.tgz

16

Transfer the exported database from the current Secondary Multi-Domain Server to an external storage:

/var/log/Secondary_exported_mds.<DDMMYYYY-HHMMSS>.tgz

Note - Make sure to transfer the file in the binary mode.

Step 9 of 16: Install another Secondary R80.20 Multi-Domain Server

Perform a clean install of the R80.20 Multi-Domain Server on another computer (do not perform initial configuration in SmartConsole).

Important:

The IP addresses of the source and target Multi-Domain Servers must be the same. If you need to have a different IP address on the R80.20 Multi-Domain Server, you can change it only after the upgrade procedure. Note that you have to issue licenses for the new IP address. For applicable procedure, see sk74020.

Step 10 of 16: On the Secondary R80.20 Multi-Domain Server, import the entire management database

Notes:

These preliminary steps apply to a Multi-Site setup, in which some of the Domain Management Servers are Active on the Primary Multi-Domain Server, and some of the Domain Management Servers are Active on the Secondary Multi-Domain Servers.

Note - This example assumes that you already upgraded the Primary Multi-Domain Server and one of the Secondary Multi-Domain Servers with Active Domain Management Servers on it.

  1. Before you can import the entire management database on the second Secondary Multi-Domain Server:
    1. Connect with SmartConsole to each of the upgraded Multi-Domain Servers:

      The Primary Multi-Domain Server

      The first Secondary Multi-Domain Server

    2. Make sure the High Availability status for each Multi-Domain Server with the other upgraded Multi-Domain Servers is OK.

      In case of a failure, you must resolve it before you can import the database.

    3. Import the entire management database on the second Secondary Multi-Domain Server.
  2. Before you can import the entire management database on the third Secondary Multi-Domain Server:
    1. Connect with SmartConsole to each of the upgraded Multi-Domain Servers:

      The Primary Multi-Domain Server

      The first Secondary Multi-Domain Server

      The second Secondary Multi-Domain Server

    2. Make sure the High Availability status for each Multi-Domain Server with the other upgraded Multi-Domain Servers is OK.

      In case of a failure, you must resolve it before you can import the database.

    3. Import the entire management database on the third Secondary Multi-Domain Server.

Repeat the above test on all other Secondary Multi-Domain Servers before you import the entire management database on them.

Procedure:

Step

Description

1

Connect to the command line the Secondary R80.20 Multi-Domain Server.

2

Log in with the superuser credentials.

3

Log in to the Expert mode.

4

Make sure a valid license is installed:

mdsenv

cplic print

If it is not already installed, then install a valid license now.

5

Transfer the exported database from an external storage to the Secondary R80.20 Multi-Domain Server, to some directory.

Note - Make sure to transfer the file in the binary mode.

6

Make sure the transferred file is not corrupted.

Calculate the MD5 for the transferred file and compare it to the MD5 that you calculated on the original Multi-Domain Server:

[Expert@SecondaryMDS:0]# md5sum /<Full Path>/Secondary_exported_mds.<DDMMYYYY-HHMMSS>.tgz

7

Import the configuration:

[Expert@SecondaryMDS:0]# yes | nohup $MDSDIR/scripts/mds_import.sh -secondary -primaryip

<IP Address of Primary Multi-Domain Server> /<Full Path>/Secondary_exported_mds.<DDMMYYYY-HHMMSS>.tgz &

Note: yes | nohup ... & - are mandatory parts of the syntax.

8

Make sure that on all Domain Management Servers, none of the required daemons (FWM, FWD, CPD, and CPCA) are in the state "down" (the "pnd" state is acceptable):

[Expert@SecondaryMDS:0]# mdsstat

If some of the required daemons on a Domain Management Server are in the state "down", wait for 5-10 minutes, restart that Domain Management Server and check again. Run these three commands:

[Expert@SecondaryMDS:0]# mdsstop_customer <IP Address or Name of Domain Management Server>

[Expert@SecondaryMDS:0]# mdsstart_customer <IP Address or Name of Domain Management Server>

[Expert@SecondaryMDS:0]# mdsstat

Step 11 of 16: On the Secondary R80.20 Multi-Domain Server, install the management database

Step

Description

1

Connect with SmartConsole to each Domain Management Server.

2

In the top left corner, click Menu > Install database.

3

Select all objects.

4

Click Install.

5

Click OK.

Step 12 of 16: Upgrade the Multi-Domain Log Server, dedicated Log Servers, and dedicated SmartEvent Servers

If your Multi-Domain Servers manages Multi-Domain Log Servers, dedicated Log Servers, or dedicated SmartEvent Servers, you must upgrade these dedicated servers to the same version as the Multi-Domain Server:

Step 13 of 16: On every Multi-Domain Server with Active Domain Management Servers, upgrade the attributes of all managed objects in all Domain Management Servers

Step

Description

1

Connect to the command line on the R80.20 Multi-Domain Server.

2

Log in with the superuser credentials.

3

Log in to the Expert mode.

4

Make sure that on all Domain Management Servers, none of the required daemons (FWM, FWD, CPD, and CPCA) are in the state "down" (the "pnd" state is acceptable):

[Expert@MDS:0]# mdsstat

If some of the required daemons on a Domain Management Server are in the state "down", wait for 5-10 minutes, restart that Domain Management Server and check again. Run these three commands:

[Expert@MDS:0]# mdsstop_customer <IP Address or Name of Domain Management Server>

[Expert@MDS:0]# mdsstart_customer <IP Address or Name of Domain Management Server>

[Expert@MDS:0]# mdsstat

5

Go to the main MDS context:

[Expert@MDS:0]# mdsenv

6

Upgrade the attributes of all managed objects in all Domain Management Servers at once:

[Expert@MDS:0]# $MDSDIR/scripts/mds_fix_cmas_clms_version -c ALL

Notes:

  • Because the command prompts you for a 'yes/no' for each Domain and each object in the Domain, you can explicitly provide the 'yes' answer to all questions with this command:

    [Expert@MDS:0]# yes | $MDSDIR/scripts/mds_fix_cmas_clms_version -c ALL

  • You can perform this action on one Multi-Domain Server at a time with this command:

    [Expert@MDS:0]# $MDSDIR/scripts/mds_fix_cmas_clms_version -c ALL -n <Name of Multi-Domain Server>

7

Allow the database synchronization to run:

[Expert@MDS:0]# $CPDIR/bin/cpprod_util CPPROD_SetValue "FW1/6.0" AfterUpgradeDbsyncIndication 1 1 0

Restart the Check Point services:

[Expert@MDS:0]# mdsstop

[Expert@MDS:0]# mdsstart

For more information, see sk121718.

8

Make sure that on all Domain Management Servers, none of the required daemons (FWM, FWD, CPD, and CPCA) are in the state "down" (the "pnd" state is acceptable):

[Expert@MDS:0]# mdsstat

If some of the required daemons on a Domain Management Server are in the state "down", wait for 5-10 minutes, restart that Domain Management Server and check again. Run these three commands:

[Expert@MDS:0]# mdsstop_customer <IP Address or Name of Domain Management Server>

[Expert@MDS:0]# mdsstart_customer <IP Address or Name of Domain Management Server>

[Expert@MDS:0]# mdsstat

Step 14 of 16: Test the functionality

Step

Description

1

Connect with the SmartConsole to the R80.20 Multi-Domain Server.

2

Make sure the management database and configuration were imported correctly.

3

Test the Management High Availability functionality.

Step 15 of 16: Disconnect the old Multi-Domain Servers from the network

Step 16 of 16: Connect the new Multi-Domain Servers to the networks