The db2iupdt command can be used to update an instance other than a
Db2
pureScale
instance to a Db2
pureScale instance.
Before you begin
To run some of these steps, you need root authority.
Ensure the instance and all processes are stopped.
About this task
If you have the Db2
pureScale Feature product installed,
the db2iupdt command or the db2isetup command can be used to
change an existing instance other than a Db2
pureScale instance to a
Db2
pureScale
instance (dsf-type instance). In this case, the existing Db2 instance must be at
the same release
level.
Procedure
-
Verify that a range of six contiguous Db2 Fast Communications
Manager ports are available in the /etc/services file as shown in the following
example:
DB2_db2inst1 60000/tcp
DB2_db2inst1_1 60001/tcp
DB2_db2inst1_2 60002/tcp
DB2_db2inst1_3 60003/tcp
DB2_db2inst1_4 60004/tcp
DB2_db2inst1_END 60005/tcp
where
db2inst1 is the instance name.
- As root, you can use the db2iupdt command or the
db2isetup command:
- Using the db2isetup command:
- Type the db2isetup command to launch the Db2 Instance Setup
wizard.
- Proceed to the
Set up a Db2 instance
panel.
Select the Configure new function for an existing Db2 instance
option. Click Next.
- On the Set up a Db2 Cluster File System
panel, the shared disk partition device path and the tiebreaker device path are already
complete.
Note: When you are creating a Db2
pureScale instance in a virtual machine (VM),
you do not need to specify a tiebreaker disk. If you do not want to specify a tiebreaker disk, you
must use input
as the tiebreaker disk option value.
- On the Host List panel, add hosts to the Db2
pureScale instance
configuration. Hosts are validated as they are added to the list. After you add the hosts you want,
click Next.
- Click Finish to perform the action.
- Using the db2iupdt command:
Run the
db2iupdt command as
follows:
/opt/ibm/db2/V11.5/instance/db2iupdt -d -instance_shared_dir /db2sd_20141111022832 -tbdev /dev/sdl -cf vminstlnx64test11 -cfnet vminstlnx64test11 -m vminstlnx64test12 -mnet vminstlnx64test12 poc2
What to do next
Perform the post-conversion tasks for a Db2
pureScale environment.