Create the server instance and format files for an empty V7.1 database.
/opt/tivoli/tsm/db2/instance/db2icrt -a server -s ese -u
instance_name instance_name
For example,
if the user ID for this instance is tsminst1, use the following command
to create the instance:
/opt/tivoli/tsm/db2/instance/db2icrt -a server -s ese -u
tsminst1 tsminst1
db2icrt -s ese -u user_account instance_name
For example,
if the user account is tsminst1 and the server
instance is Server1, enter the following command:db2icrt -s ese -u tsminst1 server1
The
database service for the server instance logs on to the user account
that is specified in this command. Use the registry key name of the V5 server as the instance name for the V7.1 server. You are prompted to enter the password for the user account.
The instance name that you specify on this db2icrt command is the name that you later specify with the -k option on the DSMSERV LOADFORMAT command, when you create and format the database and recovery log.
/tsminst1
d:\tsm\server1Ensure that the user ID that owns the V7.1 server (the instance user ID) has ownership or read/write permission to the files that you copied.
db2 update dbm cfg using dftdbpath instance_directory
For example: db2 update dbm cfg using dftdbpath /tsminst1
A window with a command prompt opens, with the environment correctly set up to successfully issue the commands in the next steps.
set db2instance=instance_name
The instance_name is
the same as the instance name that you specified when you issued the db2icrt command. For example,
to set the environment variable for the Server1 server instance, issue
the following command:set db2instance=server1
db2 update dbm cfg using dftdbpath instance_location
For example,
if the instance directory is d:\tsm\server1,
the instance location is drive d:. Enter the
command:db2 update dbm cfg using dftdbpath d:
Issue the following command:export LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
You must update the following files
to set the library path when DB2 or
the Tivoli Storage
Manager server
is started:
setenv LIBPATH /usr/opt/ibm/gsk8_64/lib64:$LIBPATH
setenv LD_LIBRARY_PATH /opt/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
setenv LD_LIBRARY_PATH /usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
export LIBPATH
LD_LIBRARY_PATH=/opt/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
LD_LIBRARY_PATH=/usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
echo $LIBPATH
gsk8capicmd_64 -version
gsk8ver_64
echo $LD_LIBRARY_PATH
gsk8capicmd_64 -version
gsk8ver_64
If the GSKit version is not 8.0.14.14 or later, you must reinstall the Tivoli Storage Manager server. The reinstallation ensures that the correct GSKit version is available.
For example, to get an active log size of 16 GB (16384 MB, the default size), issue the following command, on one line:
/opt/tivoli/tsm/server/bin/dsmserv loadformat \
dbdir=/tsmdb001,/tsmdb002,/tsmdb003,/tsmdb004 \
activelogsize=16384 activelogdirectory=/tsmlog \
mirrorlogdirectory=/tsmlogmirror archlogdirectory=/tsmarchlog
"c:\Program Files\Tivoli\TSM\server\dsmserv" loadformat
dbdir=d:\tsm\db001,e:\tsm\db002,f:\tsm\db003,g:\tsm\db004
activelogsize=16384 activelogdirectory=h:\tsm\log
mirrorlogdirectory=j:\tsm\logmirror archlogdirectory=i:\tsm\archlog
"c:\Program Files\Tivoli\TSM\server\dsmserv" -k server2
loadformat dbdir=d:\tsm\db001,e:\tsm\db002,f:\tsm\db003,g:\tsm\db004
activelogsize=16384 activelogdirectory=h:\tsm\log
mirrorlogdirectory=j:\tsm\logmirror archlogdirectory=i:\tsm\archlog