130 Getting Started with IBM Tivoli Workload Scheduler V8.3
4.4.5 Importing the object data
This section describes how to import object data from a previous Tivoli Workload
Scheduler version into the Tivoli Workload Scheduler V8.3 database. The
method you use to import object data by steps depends on whether you are
performing one of the following methods:
򐂰 “Importing object data from dumped data files in steps”, as shown in the
following section
򐂰 “Importing object data as a block” on page 138
The data that you import is created by the composer81 create command before
or during the upgrade. See 4.4.1, “Dumping existing objects from the database”
on page 121.
Importing object data from dumped data files in steps
To import data from dumped data files in steps, perform the following tasks:
1. As root user, create a symbolic link in the /usr/lib directory, as shown in
Example 4-14.
Example 4-14 Creating a symbolic link in the /usr/lib directory
# cd /usr/lib
# ln -s /Tivoli/tws83/bin/libicudata34.a libicudata34.a
# ln -s /Tivoli/tws83/bin/libicuuc.a libicuuc.a
# ln -s /Tivoli/tws83/bin/libHTTPChannel.a libHTTPChannel.a
# ln -s /Tivoli/tws83/bin/libHTTPSSLChannel.a libHTTPSSLChannel.a
# ln -s /Tivoli/tws83/bin/libHTTPTransport.a libHTTPTransport.a
# ln -s /Tivoli/tws83/bin/libtwscompilerjni.a libtwscompilerjni.a
# ln -s /Tivoli/tws83/bin/libtwsplanjni.a libtwsplanjni.a
# ln -s /Tivoli/tws83/bin/libtwssecurityjni.a libtwssecurityjni.a
Note: output_security_file is the file you obtained when you run the procedure
described in 4.4.2, “Extracting Tivoli Framework user data from the security
file” on page 123.
Note: The user who runs the datamigrate command must have full access to
the database of the previous Tivoli Workload Scheduler environment.
Chapter 4. Tivoli Workload Scheduler V8.3: Migration 131
2. As root user, copy /Tivoli/tws83/bin/libHTTP*.a to the /Tivoli/tws81/bin
directory, as shown in Example 4-15.
Example 4-15 Copying /Tivoli/tws83/bin/libHTTP*.a to /Tivoli/tws81/bin directory
# cp /Tivoli/tws83/bin/libHTTP*.a /Tivoli/tws81/bin
3. As root user, change the group permission of all the files in the
/Tivoli/tws81/mozart directory to read, as shown in Example 4-16.
Example 4-16 Changing group permission of all files in /Tivoli/tws81/mozart to read
# cd /Tivoli/tws81/mozart
# chmod g+r *
4. As tws83 user, run the optman miggrunnb command to import the installation
run number into DB2 database, as shown in Example 4-17.
$ optman miggrunnb TWS_8.x.x_main_dir
Example 4-17 Running the optman miggrunnb command
# su - tws83
$ optman miggrunnb /Tivoli/tws81
Tivoli Workload Scheduler (UNIX)/OPTMAN V8.3 (1.0) Licensed Materials -
Property of IBM(R)5698-WSH
(C) Copyright IBM Corp 1998, 2006 All rights reserved.
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
IBM is a registered trademark of International Business Machines
Corporation in the United States, other countries, or both.
Installed for user "tws83".
Locale LANG set to the following: "en"
Importing 'run number' and 'confirm run number' from
/Tivoli/tws81/mozart/runmsgno
Loading property runNumber
AWSJCL050I Command "chg" completed successfully.
Loading property confirnRunNumber
AWSJCL050I Command "chg" completed successfully.
In Example 4-17, TWS_8.x.x_main_dir indicates the root directory of the
previous Tivoli Workload Scheduler version.
132 Getting Started with IBM Tivoli Workload Scheduler V8.3
5. As tws83 user, run the optman miggopts command to import the global
options into DB2 database, as shown in Example 4-18.
$ optman miggopts TWS_8.x.x_main_dir
Example 4-18 Running the optman miggopts command
# su - tws83
$ optman miggopts /Tivoli/tws81
Tivoli Workload Scheduler (UNIX)/OPTMAN V8.3 (1.0) Licensed Materials -
Property of IBM(R)5698-WSH
(C) Copyright IBM Corp 1998, 2006 All rights reserved.
US Government User Restricted Rights
Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
IBM is a registered trademark of International Business Machines
Corporation in the United States, other countries, or both.
Installed for user "tws83".
Locale LANG set to the following: "en"
AWSBEH117I Updating the database global options from data in the file
"/Tivoli/tws81/mozart/globalopts".
Converting globalopts property 'company' to optman property
'companyName'...
AWSJCL050I Command "chg" completed successfully.
Converting globalopts property 'automaticallygrantlogonasbatch' to
optman property 'cnLogonBatch'...
AWSJCL050I Command "chg" completed successfully.
Converting globalopts property 'ignorecalendars' to optman property
'ignoreCals'...
AWSJCL050I Command "chg" completed successfully.
Converting globalopts property 'planauditlevel' to optman property
'cnPlanAudit'...
AWSJCL050I Command "chg" completed successfully.
Converting globalopts property 'databaseauditlevel' to optman property
'enDbAudit'...
AWSJCL050I Command "chg" completed successfully.
Converting globalopts property 'timezoneenable' to optman property
'cnTimeZone'...
AWSJCL050I Command "chg" completed successfully.
Converting globalopts property 'carryforward' to optman property
'enCarryForward'...
AWSJCL050I Command "chg" completed successfully.
Converting globalopts property 'start' to optman property
'startOfDay'...
AWSJCL050I Command "chg" completed successfully.

Get Getting Started with IBM Tivoli Workload Scheduler V8.3 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.