Follow these instructions to install a fix pack on top
of an existing DB2® installation
in a Microsoft Cluster
Server (MSCS) environment.
Before you begin
- Ensure that you meet all of the necessary tasks before installing
a fix pack. Refer to Preparing to install a fix pack.
- Ensure that you have the appropriate installation user accounts.
In general, the user account must belong to the Administrators group
on the machine where you will perform the installation.
About this task
To
illustrate how to install a fix pack in an MSCS environment, a simple
example configuration must be understood. In this example, the initial
configuration is a DB2 instance
that is composed of two database partitions. In addition, there are
two Cluster Groups:
- DB2 Group 0: contains Partition
0 active on Machine A. The DB2 Administration
Server (DAS) is also located here.
- DB2 Group 1: contains Partition
1 active on Machine B.
This is the initial configuration.
Procedure
To install a fix pack on top of an existing DB2 installation in an MSCS environment:
- Set automatic failback to off.
During the
installation process you might have to restart your machine. When
this happens the cluster service restarts automatically. Therefore
the automatic failback must be set off so none of the groups automatically
failback.
For example, to disable automatic failback in DB2 Group 0:
- From the Cluster Administrator window, right-click DB2
Group 0.
- Select Properties. The DB2
Group 0 Properties window opens.
- On the Failback tab, select the Prevent
failback radio button.
- Click OK.
Repeat these steps to disable automatic failback in DB2 Group 1.
- Decide which machine you will install the fix pack on first.
In this example, Machine B will be upgraded first.
- Move the DB2 Group
off Machine B.
For example, to move DB2 Group 1 from Machine B to Machine A:
- From the Cluster Administrator window,
click DB2 Group 1.
- Right-click, select Move Group.
The Owner column changes to Machine A.
- Stop the cluster server on Machine B.
For
example:
- From the Component Services window,
right-click Cluster Service.
- Click Stop.
- If there are multiple DB2 database
products installed at the same location (in the same DB2 copy) on Machine B, install the fix pack
for multiple database products. Otherwise, install the fix pack for
a single database product. Refer to Installing a fix pack for multiple database products (Windows) or Installing a fix pack for a single database product (Windows), as appropriate.
Note: - DB2 is still running and
available on Machine A.
- As part of the installation process, you might have to restart
your computer.
- The silent mode installation process can optionally be used to
install the fix pack using a response file. Refer to Installing a fix pack using a response file (Windows).
- If db2systray.exe attempts to access an offline instance, then
you might receive error message SQL5005C near the end of installation.
This does not indicate an installation failure.
- Take the DB2 resources
offline.
In the example, Partition 0, Partition 1, and
the DAS are on Machine A at this point. These must be taken offline
one at a time. For example:
- From the Cluster Administrator window,
in the left window panel, select Groups.
- Select DB2 Group 0. The resources
for the group display in the right window panel.
For DB2 Group 0, the DB2 resources include Partition 0 and the DAS.
- In the right window panel, right-click one of the resources.
Select Take Offline.
Repeat this
step for each of the DB2 resources
in DB2 Group 0.
- Select DB2 Group 1. The resources
for the group display in the right window panel.
For DB2 Group 1, the DB2 resources include Partition 1.
- In the right window panel, right-click the resource
(Partition 1). Select Take Offline.
- (Optional) Restart the cluster service on Machine B.
If the fix pack installation required that you restart your
computer, and if the Restart Type for the cluster
service is set to automatic, skip this step because the cluster service
is already started.
To start the cluster service:
- From the Component Services window,
right-click Cluster Service.
- Click Start.
- Move the DB2 Groups
to Machine B.
For example, to move DB2 Group 0 and DB2 Group
1 to Machine B:
- From the Cluster Administrator window,
click DB2 Group 0.
- Right-click, select Move Group.
The Owner column changes to Machine B.
- Click on DB2 Group 1.
- Right-click, select Move Group.
The Owner column changes to Machine B.
- Bring the DB2 resources
online.
In the example, Partition 0, Partition 1, and
the DAS are on Machine B at this point. These must be brought back
online one at a time. For example:
- From the Cluster Administrator window,
in the left window panel, select Groups.
- Select DB2 Group 0. The resources
for the group display in the right window panel.
For DB2 Group 0, the DB2 resources include Partition 0 and the DAS.
- In the right window panel, right-click one of the resources.
Select Bring Online.
Repeat this
step for each of the DB2 resources
in DB2 Group 0.
- Select DB2 Group 1. The resources
for the group display in the right window panel.
For DB2 Group 1, the DB2 resources include Partition 1.
- In the right window panel, right-click the resource
(Partition 1). Select Bring Online.
- Stop the cluster service on Machine A.
For
example:
- From the Component Services window,
right-click Cluster Service.
- Click Stop.
- If there are multiple DB2 database
products installed at the same location (in the same DB2 copy) on Machine A, install the fix pack
for multiple database products. Otherwise, install the fix pack for
a single database product. Refer to Installing a fix pack for multiple database products (Windows) or Installing a fix pack for a single database product (Windows),
as appropriate.
Note: - DB2 is still running and
available on Machine B.
- As part of the installation process, you might have to restart
your computer.
- The silent mode installation process can optionally be used to
install the fix pack using a response file. Refer to Installing a fix pack using a response file (Windows).
- If db2systray.exe attempts to access an offline instance, then
you might receive error message SQL5005C near the end of installation.
This does not indicate an installation failure.
- (Optional) Restart the cluster service on Machine A.
If the fix pack installation required that you restart your
computer, and if the Restart Type for the cluster
service is set to automatic, skip this step because the cluster service
is already started.
To start the cluster service:
- From the Component Services window,
right-click Cluster Service.
- Click Start.
- Move the DB2 Groups
back to the appropriate machines.
For example, to move DB2 Group 0 back to Machine A:
- From the Cluster Administrator window,
click DB2 Group 0.
- Right-click, select Move Group.
The Owners column changes to Machine A.
This brings the MSCS environment back to the initial configuration.
- If automatic failback was turned off in Step 1, turn it
back on.
For example, to start automatic failback in DB2 Group 0:
- From the Cluster Administrator window,
right-click DB2 Group 0.
- Select Properties. The DB2
Group 0 Properties window opens.
- On the Failback tab, select the Allow
failback radio button.
- Click OK.
Repeat these steps to start automatic failback in DB2 Group 1.
What to do next
To
complete the installation, perform the necessary post-installation
tasks for fix packs. Refer to
Post-installation tasks for fix packs (Windows).