Use the Optimal Service Upgrade feature to upgrade a Security Gateway or VSX cluster from R75.40VS to R77 and future major releases. This feature upgrades the cluster with a minimum loss of connectivity.
When you upgrade the cluster, two cluster members are used to process the network traffic. New connections that are opened during the upgrade procedure are maintained after the upgrade is finished. Connections that were opened on the old version are discarded after the upgrade.
You can also use the Optimal Service Upgrade feature to upgrade a VSX cluster from R67.10 to R77. When you use this feature to upgrade from VSX R67.10, download the R67.10 upgrade Hotfix and install it on one VSX cluster member. For more about upgrading to R67.10, see the R67.10 Release Notes.
For more about the Optimal Service Upgrade and to download the R67.10 upgrade Hotfix, go to sk74300.
Use the Optimal Service Upgrade to upgrade a cluster from R75.40VS to a later version, without loss of connectivity.
Note - Do not use this workflow to upgrade a VSX cluster from R67.10. |
||||
Diagram of Cluster Members |
Summary |
Step |
||
|
|
|
||
|
1
2 |
|||
|
3 4
|
|||
|
5
7 |
|||
|
|
8 |
||
|
|
9
10 |
||
|
|
11 |
||
|
|
12 13
|
Two cluster members are used to maintain connectivity, while you upgrade all the other cluster members.
To use the Optimal Service Upgrade to upgrade the cluster members:
Make sure that the management interfaces are not connected to the network.
Run: cphaconf cluster_id get
Make sure all cluster members have the same cluster ID. If the cluster ID value is different on a cluster member, run this command to configure the correct value: cphaconf cluster_id set
<value>
Make sure all cluster members use the same value for the fwha_mac_magic
parameter. Run: fw ctl get int fwha_mac_magic
The default value for the fwha_mac_magic
parameter is 254
. If your configuration uses a different value, on each member, run: fw ctl set int fwha_mac_magic
<value>
For more about the cluster_id
and fwha_mac_magic
parameters, see the R77ClusterXL Administration Guide and sk25977.
cphaconf cluster_id get
cphaconf cluster_id set
<value>fw ctl get int fwha_mac_magic
fw ctl set int fwha_mac_magic
<value> fwaccel off -a
cphaosu start
cphaosu start
cphaosu stat
The network traffic statistics are shown.
cphaosu finish
cphaosu finish
cphastop
cphastart
Use the Optimal Service Upgrade to upgrade a VSX cluster from R67.10 to a later version, without loss of connectivity. When you upgrade the cluster, use two cluster members to process the network traffic.
Diagram of Cluster Members |
Summary |
|
---|---|---|
|
|
|
|
|
1 |
|
2
3 |
|
|
4 5 |
|
|
6 7
8 |
|
|
|
9 |
|
|
10
11 |
|
|
12 |
|
|
13 14 15 |
Two cluster members are used to maintain connectivity, while you upgrade all the other cluster members.
To use the Optimal Service Upgrade to upgrade the R67.10 VSX cluster members:
Make sure that the management interfaces are not connected to the network.
Run: cphaconf cluster_id get
If the cluster ID value is not as expected, run: cphaconf cluster_id set
<value>
Make sure all cluster members have the same cluster ID. If a member has a different ID, run this set
command to configure the correct value.
Make sure all cluster members use the same value for the fwha_mac_magic
parameter. Run: fw ctl get int fwha_mac_magic
The default value for the fwha_mac_magic
parameter is 254
. If your configuration uses a different value, on each member, run: fw ctl set int fwha_mac_magic
<value>
For more about the cluster_id
and fwha_mac_magic
parameters, see the
R77 ClusterXL Administration Guide
and sk25977.
fwaccel off -a
cphaosu start
cphaosu start
cphaosu stat
The network traffic statistics are shown.
cphaosu finish
cphaosu finish
cphastop
cphastart
Use these cphaosu
commands if there are problems during the upgrade process.
cphaosu cancel
on the new member. The old member processes all the traffic.cpshaosu finish
on the old member, you can continue to process the old traffic on the old member and the new traffic on the new member. Run cphaosu restart
on the old member.
|
|
Before you run Connectivity Upgrade, please see:
Check Point Connectivity Upgrade synchronizes existing connections to maintain connectivity during a cluster upgrade to R77.20 and later R77 versions from these versions:
Upgrades to R77.30 from these versions are also supported:
During Connectivity Upgrade, some connection flow information is synchronized to maintain connectivity.
Notes -
|
Before you upgrade:
To check the cluster member's status and to get its IP address and the cluster member ID:
Run the cphaprob stat command on each of the gateways. For more information about the cphaprob stat command, see the R77 Command Line Interface (CLI) Reference Guide.
To upgrade the cluster:
cphaprob stat
Make sure the status is Ready.
cphacu start <Sync IP of Active_GW> <Member ID of Active_GW>
The Connectivity Upgrade runs, and shows this message when it finishes: Connectivity upgrade status: Ready for Failover
cphaprob stat
Make sure the local member is in Active or Active Attention state, and the upgraded member is in Down state.
fwaccel off -a
Turns off fwaccel
on all Virtual Systems so that the delayed connections are synchronized to the upgraded member that is now in Ready state.
cpstop
The connections fail over to the upgraded member.
cphaprob stat
Make sure that it is now in Active state.
cphacu stat
Make sure that it handles the traffic. See cphacu stat.
Make sure to reboot the gateway after the upgrade.
To make sure all cluster members are up and in VSX High Availability mode:
On each cluster member, run: cphaprob stat
If the state of a cluster member is HA not started, run cphastart
on it. For more information about the cphastart
and the cphaprob
commands, see the R77 Command Line Interface (CLI) Reference Guide.
Before you upgrade:
To check the cluster member's state and to get its IP address and the cluster member ID:
Run the cphaprob stat command on the cluster member. For more information about the cphaprob stat command, see the R77 Command Line Interface (CLI) Reference Guide.
To upgrade the cluster:
Make sure to reboot the gateway after the upgrade.
Note - The policy successfully installs on the standby cluster member and fails to install on the Active cluster member. This is expected. Ignore the warning.
cphaprob stat
Make sure the status is Active or Active Attention, and record the Sync IP and the Member ID of the cluster member.
cphaprob stat
Make sure that the cluster member is in Ready state
cphacu start <Sync IP of Active_member> <Member ID of Active_member>
The Connectivity Upgrade runs and shows this message when it finishes: Connectivity upgrade status: Ready for Failover
cphacu stat
Make sure that the Active cluster member handles the traffic.
cphaprob stat
Make sure the local member is in Active or Active Attention state, and the upgraded member is in Down state.
fwaccel off -a
Turns off fwaccel
on all Virtual Systems so that the delayed connections are synchronized to the upgraded member that is now in Ready state.
cpstop
The connections fail over to the upgraded cluster member.
cphaprob stat
Make sure that it is now in the Active state.
cphacu stat
Make sure it handles the traffic.
Make sure to reboot it after the upgrade.
After the cluster upgrade is complete, the Cluster Control Protocol is in the broadcast mode. To return it to the multicast mode, on all cluster members, run: cphaconf set_ccp multicast
Description Runs Connectivity Upgrade on a cluster member with a specified IP address and a cluster member ID.
Note - To get the IP address and the member ID of a cluster member, run the cphaprob stat command on it. For more information about the cphaprob stat command, see the R77 Command Line Interface (CLI) Reference Guide. |
Syntax
cphacu start <IP Address> <Member ID>
Output
cphacu start
command outputs this information:
Example 1 - VSX High Availability
[Expert@HostName]# cphacu start 192.0.2.1 1 Starting Connectivity Upgrade...
Performing Full Sync ==================== Performing Full Sync on VSID 0 Performing Full Sync on VSID 1 Performing Full Sync on VSID 2 Performing Full Sync on VSID 3 Performing Full Sync on VSID 4 Performing Full Sync on VSID 5 Performing Full Sync on VSID 6
=============================================================== Full Sync ended (Delta Sync is enabled) For delayed connections (Templates) to be synchronized it is recommended to turn on the old member before doing a failover. Run: 'fwaccel off' on the old member. ===============================================================
Connectivity upgrade status: Enabled, ready for failover ========================================================
The peer member is handling the traffic ======================================= Version of the local member: 2907 Version of the peer member : 2502
Connection table ================ VS HOST NAME ID #VALS #PEAK #SLINKS 0 localhost connections 8158 39 39 45 1 localhost connections 8158 0 2 0 2 localhost connections 8158 0 0 0 3 localhost connections 8158 0 0 0 4 localhost connections 8158 0 0 0 5 localhost connections 8158 0 0 0 |
Example 2 - ClusterXL High Availability
[Expert@HostName]# cphacu start 192.0.2.1 1 Starting Connectivity Upgrade...
Performing Full Sync ==================== Performing Full Sync
=========================================================================== Full Sync ended (Delta Sync is enabled) For delayed connections (Templates) to be synchronized it is recommended to turn on the old member before doing a failover. Run: 'fwaccel off' on the old member. ===========================================================================
Connectivity upgrade status: Enabled, ready for failover ========================================================
The peer member is handling the traffic ======================================= Version of the local member: 2907 Version of the peer member : 2502
Connection table ================ HOST NAME ID #VALS #PEAK #SLINKS localhost connections 8158 39 39 45
|
Description Shows the status of Connectivity Upgrade.
Syntax
cphacu stat
Example 1 - VSX High Availability
[Expert@HostName]# cphacu stat
Connectivity upgrade status: Disabled =====================================
The peer member is handling the traffic ======================================= Version of the local member: 2907 Version of the peer member : 2502
Connection table ================ VS HOST NAME ID #VALS #PEAK #SLINKS 0 localhost connections 8158 16 56 16 1 localhost connections 8158 0 3 0 2 localhost connections 8158 0 0 0 3 localhost connections 8158 0 0 0 4 localhost connections 8158 0 0 0 5 localhost connections 8158 0 0 0
|
Example 2 - ClusterXL High Availability
[Expert@HostName]# cphacu stat
Connectivity upgrade status: Disabled =====================================
The peer member is handling the traffic ======================================= Version of the local member: 2907 Version of the peer member : 2502
Connection table ================ HOST NAME ID #VALS #PEAK #SLINKS localhost connections 8158 16 56 16
|