4 Upgrade Database
4 Upgrade Database
This module provides an overview of preparing and upgrading the IBM Tivoli Storage
Manager database from version 5 to version 6.1.
upgrade_database.ppt Page 1 of 41
IBM Software Group | Tivoli software
Objectives
Upon completion of this module, you will be able to:
�Prepare the Tivoli Storage Manager version 5 database
for upgrade
�Upgrade the version 5 database to Tivoli Storage
Manager 6.1
2
Upgrade from a version 5 database © 2009 IBM Corporation
Upon completion of this module, you will be able to prepare the Tivoli Storage Manager
version 5 database for upgrade. You will also be able to upgrade the version 5 database to
Tivoli Storage Manager 6.1.
upgrade_database.ppt Page 2 of 41
IBM Software Group | Tivoli software
3
Upgrade from a version 5 database © 2009 IBM Corporation
Follow these basic steps when preparing to upgrade from version 5 to version 6.1:
[Link] the prerequisites for the upgrade.
[Link] space for the upgrade process.
[Link] server settings for the upgrade.
[Link] up storage pools and the server database.
[Link] up configuration information.
[Link] all server processes before installing the upgrade.
upgrade_database.ppt Page 3 of 41
IBM Software Group | Tivoli software
4
Upgrade from a version 5 database © 2009 IBM Corporation
A version 5.3, version 5.4, or version 5.5 server can be upgraded to version 6.1.
For a version 5.3 or version 5.4 server, check whether the operating system must be upgraded before
beginning the upgrade procedure.
The system requirements for the upgrade utility are the same as the system requirements for a version 5.5
server.
The upgrade utility is based on the version 5.5 server code.
The upgrade utility package must be installed on the system where the version 5 database is located.
Tip: The version 5.3 or version 5.4 server itself does not have to be upgraded to version 5.5 before you
upgrade to version 6.1. Instead, the system where that server is located must meet the operating system
requirements for running a version 5.5 server.
Client nodes and storage agents must be version 5.4 or later to connect to a version 6.1 server.
You cannot upgrade your server to run on an operating system that is different from the operating system it
currently runs on.
Some platforms that were supported for earlier versions of the server are not supported for version 6.1.
These include the following platforms:
•HP-UX running on a PA-RISC system
•Linux® running on an Intel® Itanium® system (IA64)
•Linux running on a 32-bit x86 system
•Microsoft® Windows® running on an Intel Itanium system (IA64)
•Solaris SPARC 9
Refer to the Server Upgrade Guide for more details.
upgrade_database.ppt Page 4 of 41
IBM Software Group | Tivoli software
Upgrade options
� There are four scenarios for performing an
upgrade:
�Scenario 1: Same system, media method
�Scenario 2: Same system, network method
�Scenario 3: New system, media method
�Scenario 4: New system, network method
5
Upgrade from a version 5 database © 2009 IBM Corporation
All upgrade tasks are performed on the same system. The database
is extracted to media and later inserted into the version 6.1 database.
6
Upgrade from a version 5 database © 2009 IBM Corporation
With scenario 1, all upgrade tasks are performed on the same system. The database is
extracted to media and later inserted into the version 6.1 database.
Follow these steps to perform the upgrade:
1. Back up the version 5 database to media.
2. Install Tivoli Storage Manager 6.1 server code.
3. Install DSMUPGRD utilities for the version 5 database.
4. Prepare the version 5 database.
5. Format an empty database for version 6.1 to receive the data.
6. Start the database insertion from media for the new server.
7. Start the database extraction from media for the version 5 database.
upgrade_database.ppt Page 6 of 41
IBM Software Group | Tivoli software
All upgrade tasks are performed on the same system. The data is
extracted from the original server database and inserted into the new server
database at the same time.
7
Upgrade from a version 5 database © 2009 IBM Corporation
The process for upgrading with scenario 2 is similar to scenario 1. The data is extracted
from the original server database and inserted into the new server database at the same
time over the network..
Follow these steps to perform the upgrade:
1. Back up the version 5 database.
2. Install Tivoli Storage Manager 6.1 server code.
3. Install DSMUPGRD utilities for the version 5 database.
4. Prepare the version 5 database.
5. Format an empty database for version 6.1 to receive the data.
6. Start the database insertion process for the new server.
7. Start the database extraction process of the version 5 database.
upgrade_database.ppt Page 7 of 41
IBM Software Group | Tivoli software
Some upgrade tasks are performed on the original system and some are
performed on the new system. The database is extracted to media and later
inserted into the version 6.1 database.
8
Upgrade from a version 5 database © 2009 IBM Corporation
With scenario 3, some upgrade tasks are performed on the original system and some are
performed on the new system. The database is extracted to media and later inserted into
the version 6.1 database.
Follow these steps to perform the upgrade:
1. Back up the version 5 database to media.
2. Install Tivoli Storage Manager 6.1 server code on the new system.
3. Install DSMUPGRD utilities for the database on the version 5 system.
4. Prepare the database on the version 5 system.
5. Format an empty database on the new system for version 6.1 to receive the
data.
6. Start the database insertion from media on the new server.
7. Start the database extraction from media on the version 5 system.
upgrade_database.ppt Page 8 of 41
IBM Software Group | Tivoli software
Some upgrade tasks are performed on the original system and some are
performed on the new system. The data is extracted from the original
server database and sent over the network connection to be inserted into
the new server database.
9
Upgrade from a version 5 database © 2009 IBM Corporation
The process for upgrading with scenario 4 is similar to scenario 3. The data is extracted
from the original server database and sent over the network connection to be inserted into
the new server database.
Follow these steps to perform the upgrade:
1. Back up the version 5 database.
2. Install Tivoli Storage Manager 6.1 server code.
3. Install DSMUPGRD utilities for the version 5 database.
4. Prepare the version 5 database.
5. Format an empty database for version 6.1 to receive the data.
6. Start the database insertion process for the new server.
7. Start the database extraction process of the version 5 database.
upgrade_database.ppt Page 9 of 41
IBM Software Group | Tivoli software
10
Upgrade from a version 5 database © 2009 IBM Corporation
If you are moving the server to a new system, ensure that the new system can access the
storage devices that are used on the original system. These storage devices include disk
and tape devices that are used to store client data.
If you are moving the database using the media method, you might need to leave a
storage device attached to the original system.
upgrade_database.ppt Page 10 of 41
IBM Software Group | Tivoli software
11
Upgrade from a version 5 database © 2009 IBM Corporation
If you plan to upgrade the server on the same system, you can take one of two
approaches:
[Link] that the system has enough disk storage for storing database and
recovery logs for both the original server and the new version 6.1 server. Both will
be stored on disk storage during the upgrade process.
[Link] you back up the version 5 database and extract the data in the database to
media, reconfigure the disk subsystem used for the database storage. Then insert
the data to the new database from the media.
You must take this approach if you do not have enough disk space for both the
original server and the new server.
If you plan to upgrade the server on the same system and use the network method for
moving the database, ensure that the system memory is sufficient to run two servers
simultaneously.
When you run the process that extracts the database from the existing server and inserts
the database for the new server, the net effect is that two servers are running at the same
time on the system. System memory must be large enough to handle these processes.
upgrade_database.ppt Page 11 of 41
IBM Software Group | Tivoli software
12
Upgrade from a version 5 database © 2009 IBM Corporation
You can extract data from the original database to media, and later load the data into the
new database.
The new database can be located on either the same system or a different system.
Use this method if you are upgrading to a new physical system and you cannot have both
your old and new machines available at the same time or you cannot connect the systems
with a high-speed network.
Use this method if you want the version 6.1 server to use the same disk storage space
that is used by the version 5 server on the same system.
If you plan to extract the original server’s database to media to load into the new database
later, ensure that you have space available for storing the database and the manifest file
that the extraction process creates.
upgrade_database.ppt Page 12 of 41
IBM Software Group | Tivoli software
13
Upgrade from a version 5 database © 2009 IBM Corporation
The network method for the data movement overlaps the extraction time with the insertion
time. Using the network method for the database extraction and insertion and database
directories that are spread across different physical devices, you can attain a rate of 5 –
10 GB per hour.
upgrade_database.ppt Page 13 of 41
IBM Software Group | Tivoli software
14
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 14 of 41
IBM Software Group | Tivoli software
15
Upgrade from a version 5 database © 2009 IBM Corporation
The upgrade utilities package is available to download from an IBM FTP site.
[Link] to the IBM FTP site listed on the slide.
[Link] to the directory that names the platform that your version 5 server
runs on.
[Link] that directory, open the [Link] directory.
[Link] the .tar or .exe file to a convenient location on the server system.
Use the upgrade utilities to prepare and extract the database from the original server. The
upgrade utilities package is required even if you use the upgrade wizard.
upgrade_database.ppt Page 15 of 41
IBM Software Group | Tivoli software
16
Upgrade from a version 5 database © 2009 IBM Corporation
If you are going to upgrade the database manually, follow these steps:
[Link] the version 5 database.
Use the utility DSMUPGRD PREPAREDB.
[Link] the version 5 database to external media.
Use the utility DSMUPGRD EXTRACTDB.
[Link] an empty database to receive the data.
Use the utility DSMSERV LOADFORMAT.
[Link] the data from the media to which it was extracted. You must have the
manifest file.
Use the utility DSMSERV INSERTDB.
Detailed instructions for the supported platforms are in the IBM Tivoli Storage Manager
Version 6.1 Server Upgrade Guide.
upgrade_database.ppt Page 16 of 41
IBM Software Group | Tivoli software
17
Upgrade from a version 5 database © 2009 IBM Corporation
If you are going to upgrade the database with the wizard, follow these steps:
[Link] the upgrade utilities package on the version 5 system.
[Link] the [Link] file in the Tivoli Storage Manager version 6.1 server
directory.
[Link] on as administrator.
[Link] the executable package for the upgrade utilities.
[Link] the utilities package in its own directory.
Do not install the utilities in the installation directory for the original server that is
to be upgraded.
Detailed instructions for the supported platforms are in the IBM Tivoli Storage Manager
Version 6.1 Server Upgrade Guide.
upgrade_database.ppt Page 17 of 41
IBM Software Group | Tivoli software
18
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 18 of 41
IBM Software Group | Tivoli software
Welcome screen
19
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 19 of 41
IBM Software Group | Tivoli software
Scenarios 1 and 2
Scenarios 3 and 4
20
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 20 of 41
IBM Software Group | Tivoli software
Select upgrade
21
Upgrade from a version 5 database © 2009 IBM Corporation
Select Begin a new upgrade process for an existing server database and click Next.
If you are restarting the upgrade after correcting an error, select Continue the upgrade
process for an existing server database and click Next.
upgrade_database.ppt Page 21 of 41
IBM Software Group | Tivoli software
22
Upgrade from a version 5 database © 2009 IBM Corporation
The five steps are shown in this screen. The steps are selected by the wizard. Click Next
to continue.
upgrade_database.ppt Page 22 of 41
IBM Software Group | Tivoli software
Select server
23
Upgrade from a version 5 database © 2009 IBM Corporation
Ensure that the version 5 server to be upgraded is correct and click Next.
upgrade_database.ppt Page 23 of 41
IBM Software Group | Tivoli software
24
Upgrade from a version 5 database © 2009 IBM Corporation
Verify that the version 5 database and log files are listed. Click Next to continue.
upgrade_database.ppt Page 24 of 41
IBM Software Group | Tivoli software
Prepare database
25
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 25 of 41
IBM Software Group | Tivoli software
26
Upgrade from a version 5 database © 2009 IBM Corporation
Select the upgrade method to use (media or network) is selected. Click Next to
continue.
upgrade_database.ppt Page 26 of 41
IBM Software Group | Tivoli software
Scenarios 1 and 3
Scenarios 2 and 4
27
Upgrade from a version 5 database © 2009 IBM Corporation
Select Use media if you are using scenario 1 or 3. Select Use the network if you are
using scenario 2 or 4. Scenario 2 is used in this example. Click Next to continue.
upgrade_database.ppt Page 27 of 41
IBM Software Group | Tivoli software
28
Upgrade from a version 5 database © 2009 IBM Corporation
Because this example is for scenario 2, the Extract the existing database to media step
is skipped. The Configure the new server instance step is selected. Click Next to
continue.
upgrade_database.ppt Page 28 of 41
IBM Software Group | Tivoli software
29
Upgrade from a version 5 database © 2009 IBM Corporation
The extraction is complete. Click Next to begin the creation of the new server instance.
upgrade_database.ppt Page 29 of 41
IBM Software Group | Tivoli software
Instance user ID
30
Upgrade from a version 5 database © 2009 IBM Corporation
Enter the system root or administrator user ID and password. Click Next to continue.
upgrade_database.ppt Page 30 of 41
IBM Software Group | Tivoli software
Instance directory
31
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 31 of 41
IBM Software Group | Tivoli software
Database directories
32
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 32 of 41
IBM Software Group | Tivoli software
33
Upgrade from a version 5 database © 2009 IBM Corporation
Specify the names of the new log files you previously created:
• Active log
• Primary archive log
• Active log mirror
• Secondary archive log
Click Next to continue.
upgrade_database.ppt Page 33 of 41
IBM Software Group | Tivoli software
Configuration summary
34
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 34 of 41
IBM Software Group | Tivoli software
Configure instance
35
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 35 of 41
IBM Software Group | Tivoli software
36
Upgrade from a version 5 database © 2009 IBM Corporation
Click Next to insert the data into the new server instance.
upgrade_database.ppt Page 36 of 41
IBM Software Group | Tivoli software
37
Upgrade from a version 5 database © 2009 IBM Corporation
The size of the database determines the amount of time it takes to load the new database.
Click Next to finish.
If the insertion process return code is 0, the upgrade was successful and you are done. If
the load failed, you can restart the wizard.
upgrade_database.ppt Page 37 of 41
IBM Software Group | Tivoli software
38
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 38 of 41
IBM Software Group | Tivoli software
Summary
You should now be able to:
�Prepare the Tivoli Storage Manager version 5 database
for upgrade
�Upgrade the version 5 database to Tivoli Storage
Manager 6.1
39
Upgrade from a version 5 database © 2009 IBM Corporation
This concludes the IBM Education Assistant training module for Tivoli Storage Manager
6.1 upgrade from a version 5 database.
You should now be able to prepare the Tivoli Storage Manager version 5 database for
upgrade and upgrade the version 5 database to Tivoli Storage Manager 6.1.
upgrade_database.ppt Page 39 of 41
IBM Software Group | Tivoli software
Feedback
Your feedback is valuable
You can help improve the quality of IBM Education Assistant content to better
meet your needs by providing feedback.
� Did you find this module useful?
� Did it help you solve a problem or answer a question?
� Do you have suggestions for improvements?
40
Upgrade from a version 5 database © 2009 IBM Corporation
You can help improve the quality of IBM Education Assistant content by providing
feedback.
upgrade_database.ppt Page 40 of 41
IBM Software Group | Tivoli software
41
Upgrade from a version 5 database © 2009 IBM Corporation
upgrade_database.ppt Page 41 of 41