Create the server instance and format files for an empty V7.1.1 database. Later, you can migrate data from the V5 server database to the new V7.1.1 database.
Enter the following command on one line. For the instance name, specify the user ID that you created to own the instance:
/opt/tivoli/tsm/db2/instance/db2icrt -a server -s ese -u
user_id 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
Ensure that 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
setenv LD_LIBRARY_PATH /usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
For
the instance_directory/sqllib/userprofile file,
add the following lines:LD_LIBRARY_PATH=/usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
Verify
the library path settings and ensure that the GSKit version is 8.0.14.43
or later. Issue the following commands from the instance home directory,
for example, /home/tsminst1:echo $LD_LIBRARY_PATH
gsk8capicmd_64 -version
gsk8ver_64
If the GSKit version is not 8.0.14.43 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 or 16384 MB, which is 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
For more information about creating and formatting a database, see DSMSERV LOADFORMAT (Format a database).