The upgrade of DSG is performed by installing the v3.3.0.0 patch. It is pertinent to note that direct upgrade to v3.3.0.0 is possible only from v.3.2.0.0. The following versions must be upgraded to v3.2.0.0 before upgrading to v3.3.0.0.
- 3.0.0.0
- 3.1.0.1
- 3.1.0.2
- 3.1.0.3
- 3.1.0.4
- 3.1.0.5
Upgrading DSG and ESA
The DSG patch in ESA is added to extend the DSG functionality on ESA. It allows ESA to deploy configurations to other DSG nodes. The following figure illustrates DSG component upgrade on ESA.
The following figure illustrates the DSG upgrade.
Upgrade process
Upgrading the DSG version involves a series of steps that must be performed on ESA and DSG. The following order illustrates the upgrade process.
Before you begin
- Ensure that ESA is on v9.2.0.0.
- If the ESA is on a version prior to 9.2.0.0, upgrade the ESA to v.9.2.0.0.
- Extend the DSG on ESA by installing the v3.2.0.0 patch on ESA.
- Ensure that DSGs is on v3.2.0.0. If the DSG is on a version prior to v3.2.0.0, upgrade the DSG to v3.2.0.0
- Ensure that the 3.2.0.0 HF-1 patch is installed on all the DSGs and ESA.
- Ensure that communication is established between the ESA and DSG.
- Ensure that DSGs and ESA are in a cluster. All the DSGs in the cluster are healthy.
- Ensure that ESAs and DSGs are accessible through their hostnames. If not, run the following steps to update the host details of the ESA and all the DSGs.
Upgrade Procedure
The following figure illustrates a sample setup that will be upgraded to v.3.3.0.0.
- Run the following commands on any one DSG in the cluster. These commands gather and store the details of all DSGs in the cluster. The details are then used to create a cluster of DSGs.
tar zxvfp DSG_PAP-ALL-64_x86-64_3.3.*UP.pty --strip-components=1 -C . installer/alliance_gateway_migration_scripts_v3.9.2.tgz
tar zxvfp alliance_gateway_migration_scripts_v3.*.tgz ./create_tac_nodes.pyc
python create_tac_nodes.pyc --save-dsg-details -f FILE
In reference to the figure, run these commands on node A.
- Install the
v3.3.0.0
patch sequentially on all the DSGs in the cluster. - Run the following command on the DSG to create a cluster. This must be only run on a DSG where step 1 was performed.In reference to the figure, run this command only on node A.
python create_tac_nodes.pyc --create-dsg-tac -f FILE
- Run the set communication process between an upgraded DSG and ESA. Ensure that only Upgrade host settings for DSG is selected. For more information about set ESA communcication, refer to set communication process
- Install
v10.0.0
patch to upgrade the ESA. - Install
v3.3.0.0
patch on ESA to extend the DSG capabilities on ESA.
Canary Upgrade
In a canary upgrade, the DSG nodes are re-imaged to v.3.3.0.0. The DSG image is installed afresh on an existing or a new system.
Before proceeding with the upgrade, back up the PEP server configuration from the DSG nodes. Run the following steps.
- Login to the DSG Web UI.
- Navigate to Settings > System.
- Under the Files tab, download the
pepserver.cfg
file. - Repeat step 1 to step 3 on each DSG node in the cluster.
Consider the following figure.
Run the following steps on ESA A.
- Remove the ESA A from the cluster.
- Upgrade the ESA A to v10.0.0.
- If the ESA is not accessible through host name, add the following host details:
- Host details of ESA B.
- Host details of node A, node B, node C, and node D.
- Create a cluster.
Run the following steps on node A.
- Remove node A from the cluster.
- Re-image the node A to v3.3.0.0.
- If the ESA is not accessible through host name, add the following host details:
- Host details of ESA A and B.
- Host details of node B, node C, and node D.
- Run the set communication for node A to communicate with the upgraded ESA A.
- Restore the
pepserver.cfg
file that was backed up for node A. - Create a cluster on the node.
Run the following steps on node B.
- Remove node B from the cluster.
- Re-image node B to v 3.3.0.0.
- If the ESA is not accessible through host name, add the following host details:
- Host details of ESA A and B.
- Host details of node A, node C, and node D.
- Restore the
pepserver.cfg
file backed up for node B. - Join node B to the cluster created on node A.
Run the following steps on node C.
- Remove node C from the cluster.
- Re-image node C to v 3.3.0.0.
- If the ESA is not accessible through host name, add the following host details.
- Host details of ESA A and B.
- Host details of node A, node B, and node D.
- Restore the
pepserver.cfg
file backed up for node C. - Join node C to the cluster created on node A.
Run the following steps on node D.
- Remove node D from the cluster.
- Re-image node D to v 3.3.0.0.
- If the ESA is not accessible through host name, add the following host details.
- Host details of ESA A and B
- Host details of node A, node B, and node C.
- Restore the
pepserver.cfg
file that was backed up for node D. - Join node D to the cluster created on node A.
Run the following steps on ESA B.
- Remove node D from the cluster.
- Upgrade ESA B to v10.0.0.
- If the ESA is not accessible through host name, add the following host details:
- Host details of ESA A.
- Host details of node A, node B, node C, and node D.
- Join ESA B to the cluster created on ESA A.
The following figure illustrates the upgraded setup.