TSM Server Upgrade
TSM Server Upgrade
Version 7.1
IBM Tivoli Storage Manager
Version 7.1
Note:
Before using this information and the product it supports, read the information in “Notices” on page 559.
iv IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Scenario 2: Upgrading the server manually by Scenario 3: Loading the extracted data into the
using utilities . . . . . . . . . . . . . 164 new database . . . . . . . . . . . . 216
Scenario 2: Creating and formatting the new Scenario 3: Creating a Windows service for the
database . . . . . . . . . . . . . . 164 server instance . . . . . . . . . . . . 218
Scenario 2: Moving the server database over a Scenario 3: Configuring the system for database
network . . . . . . . . . . . . . . 169 backup . . . . . . . . . . . . . . 219
Scenario 2: Creating a Windows service for the
server instance . . . . . . . . . . . . 170 Chapter 7. Scenario 4: New system,
Scenario 2: Configuring the system for database network method . . . . . . . . . . 225
backup . . . . . . . . . . . . . . 171
Scenario 4: Preparing for the upgrade . . . . . 225
Scenario 4: Checking the prerequisites for the
Chapter 6. Scenario 3: New system, upgrade . . . . . . . . . . . . . . 226
media method . . . . . . . . . . . 177 Scenario 4: Preparing space for the upgrade
Scenario 3: Preparing for the upgrade . . . . . 177 process . . . . . . . . . . . . . . 229
Scenario 3: Checking the prerequisites for the Scenario 4: Modifying the server before the
upgrade . . . . . . . . . . . . . . 178 upgrade . . . . . . . . . . . . . . 229
Scenario 3: Preparing space for the upgrade Scenario 4: Disabling sessions . . . . . . . 230
process . . . . . . . . . . . . . . 181 Scenario 4: Backing up storage pools and the
Scenario 3: Modifying the server before the server database . . . . . . . . . . . . 231
upgrade . . . . . . . . . . . . . . 182 Scenario 4: Moving the NODELOCK file . . . 232
Scenario 3: Disabling sessions . . . . . . . 183 Scenario 4: Backing up configuration
Scenario 3: Backing up storage pools and the information . . . . . . . . . . . . . 232
server database . . . . . . . . . . . . 184 Scenario 4: Creating a summary of database
Scenario 3: Moving the NODELOCK file . . . 184 contents . . . . . . . . . . . . . . 233
Scenario 3: Backing up configuration Scenario 4: Stopping the server before installing
information . . . . . . . . . . . . . 185 the upgrade . . . . . . . . . . . . . 233
Scenario 3: Creating a summary of database Scenario 4: Installing the upgrade utilities . . . . 233
contents . . . . . . . . . . . . . . 185 Scenario 4: Installing the upgrade utilities on
Scenario 3: Stopping the server before installing AIX systems . . . . . . . . . . . . . 234
the upgrade . . . . . . . . . . . . . 186 Scenario 4: Installing the upgrade utilities on
Scenario 3: Installing the upgrade utilities . . . . 186 HP-UX systems. . . . . . . . . . . . 236
Scenario 3: Installing the upgrade utilities on Scenario 4: Installing the upgrade utilities on
AIX systems . . . . . . . . . . . . . 187 Linux systems . . . . . . . . . . . . 237
Scenario 3: Installing the upgrade utilities on Scenario 4: Installing the upgrade utilities on
HP-UX systems. . . . . . . . . . . . 188 Oracle Solaris systems . . . . . . . . . 238
Scenario 3: Installing the upgrade utilities on Scenario 4: Setting environment variables for the
Linux systems . . . . . . . . . . . . 189 upgrade utilities on AIX, HP-UX, Linux, and
Scenario 3: Installing the upgrade utilities on Oracle Solaris systems . . . . . . . . . 239
Oracle Solaris systems . . . . . . . . . 191 Scenario 4: Installing the upgrade utilities on
Scenario 3: Setting environment variables for the Microsoft Windows systems . . . . . . . 240
upgrade utilities on AIX, HP-UX, Linux, and Scenario 4: Upgrading the server by using the
Oracle Solaris systems . . . . . . . . . 192 upgrade wizard . . . . . . . . . . . . 241
Scenario 3: Installing the upgrade utilities on Scenario 4, wizard: Installing the V7.1 server 241
Microsoft Windows systems . . . . . . . 193 Scenario 4, wizard: Creating the directories and
Scenario 3: Upgrading the server by using the the user ID for the upgraded server instance . . 245
upgrade wizard . . . . . . . . . . . . 194 Scenario 4: Starting the upgrade wizard . . . 248
Scenario 3, wizard: Installing the V7.1 server 194 Scenario 4: Upgrading the server manually by
Scenario 3, wizard: Creating the directories and using utilities . . . . . . . . . . . . . 250
the user ID for the upgraded server instance . . 198 Scenario 4: Preparing the database of a V5
Scenario 3: Starting the upgrade wizard . . . 201 server for upgrade . . . . . . . . . . 250
Scenario 3: Upgrading the server manually by Scenario 4, manual: Installing the V7.1 server 252
using utilities . . . . . . . . . . . . . 202 Scenario 4, manual: Creating the directories and
Scenario 3: Preparing the database of a V5 the user ID for the upgraded server instance . . 256
server for upgrade . . . . . . . . . . 203 Scenario 4: Creating and formatting the new
Scenario 3: Extracting the data to media . . . 204 database . . . . . . . . . . . . . . 259
Scenario 3, manual: Installing the V7.1 server 205 Scenario 4: Moving the server database over a
Scenario 3, manual: Creating the directories and network . . . . . . . . . . . . . . 263
the user ID for the upgraded server instance . . 209 Scenario 4: Creating a Windows service for the
Scenario 3: Creating and formatting the new server instance . . . . . . . . . . . . 265
database . . . . . . . . . . . . . . 212 Scenario 4: Configuring the system for database
backup . . . . . . . . . . . . . . 265
Contents v
Chapter 8. Clustered environments: Chapter 10. Taking the first steps after
Upgrade procedures . . . . . . . . 271 upgrade. . . . . . . . . . . . . . 323
Upgrading the server to V7.1 in an AIX clustered Verifying access to storage pools on disk . . . . 323
environment. . . . . . . . . . . . . . 271 Setting up Solaris services for the server instance 324
Upgrading the server to V7.1 in a Windows Configuring server options for server database
clustered environment . . . . . . . . . . 273 maintenance . . . . . . . . . . . . . . 324
Planning the upgrade and preparing the system 273 Starting the server instance after the upgrade. . . 325
Installing the V7.1 server and running the Starting the server on AIX, HP-UX, Linux, and
upgrade wizard . . . . . . . . . . . 274 Oracle Solaris systems . . . . . . . . . 325
Starting the server on Windows systems . . . 331
Chapter 9. General procedures for Registering licenses . . . . . . . . . . . 334
upgrading a server to V7.1 . . . . . 277 Backing up the database after upgrading the server 335
Verifying the upgraded server . . . . . . . . 336
Preparing for the upgrade . . . . . . . . . 277
Changing the host name for the Tivoli Storage
Checking the prerequisites for the upgrade . . 278
Manager server. . . . . . . . . . . . . 336
Preparing space for the upgrade process . . . 281
Changing the host name for a server running on
Modifying the server before the upgrade . . . 282
AIX, HP-UX, Linux, or Solaris systems . . . . 337
Disabling sessions . . . . . . . . . . . 284
Changing the host name for a server running on
Backing up storage pools and the server
Windows . . . . . . . . . . . . . . 337
database . . . . . . . . . . . . . . 284
Updating automation. . . . . . . . . . . 338
Moving the NODELOCK file . . . . . . . 285
Monitoring the upgraded server . . . . . . . 339
Backing up configuration information . . . . 285
Removing GSKit Version 7 after upgrading to
Creating a summary of database contents . . . 286
Tivoli Storage Manager V7.1 . . . . . . . . 340
Stopping the server before installing the
upgrade . . . . . . . . . . . . . . 286
Installing the upgrade utilities on the original Chapter 11. Troubleshooting the
server . . . . . . . . . . . . . . . . 287 database upgrade . . . . . . . . . 343
Installing the upgrade utilities on AIX systems 287 Server upgrade phase: warnings about
Installing the upgrade utilities on HP-UX unsupported server options . . . . . . . . 343
systems . . . . . . . . . . . . . . 289 Database extraction phase: connection refusal
Installing the upgrade utilities on Linux systems 290 message . . . . . . . . . . . . . . . 343
Installing the upgrade utilities on Oracle Solaris Database formatting phase: failure with rc=499 . . 344
systems . . . . . . . . . . . . . . 291 Database insertion phase: ANR1338E messages
Setting environment variables for the upgrade from the upgrade utility . . . . . . . . . . 345
utilities on AIX, HP-UX, Linux, and Oracle Database insertion phase: ANR1525I messages with
Solaris systems . . . . . . . . . . . . 292 no apparent progress . . . . . . . . . . . 346
Installing the upgrade utilities on Microsoft Database insertion phase: problems with restarting
Windows systems . . . . . . . . . . . 293 the upgrade process . . . . . . . . . . . 347
Preparing the database of a V5 server for upgrade 294 Server startup phase: error ANR0162W . . . . . 349
Uninstalling the V5 program before installing V7.1 295 Server startup phase: warnings about unsupported
Uninstalling the V5 program on AIX systems 295 server options . . . . . . . . . . . . . 350
Uninstalling the V5 program on HP-UX systems 296 Postupgrade phase: dsmserv.dsk file no longer
Uninstalling the V5 program on Linux systems 296 available . . . . . . . . . . . . . . . 351
Uninstalling the V5 program on Oracle Solaris Postupgrade phase: VARY command fails . . . . 351
systems . . . . . . . . . . . . . . 297 Reverting from V7.1 to the previous V5 server
Uninstalling the V5 program on Microsoft version . . . . . . . . . . . . . . . 351
Windows systems . . . . . . . . . . . 297 Steps for reverting to the previous server
Installing the V7.1 server . . . . . . . . . 297 version . . . . . . . . . . . . . . 352
Creating the directories and the user ID for the Additional recovery steps if you created new
upgraded server instance . . . . . . . . . 302 storage pools or enabled data deduplication . . 353
Upgrading the server by using the upgrade wizard 305
Upgrading the server manually by using utilities 307
Part 2. Migrating Tivoli Storage
Creating and formatting the new database . . 308
Moving the server database using media . . . 312 Manager V5 servers on AIX,
Moving the server database over a network . . 316 HP-UX, or Solaris systems to V7.1
Creating a Windows service for the server on Linux . . . . . . . . . . . . . 355
instance . . . . . . . . . . . . . . 318
Configuring the system for database backup 318
Chapter 12. Migration overview. . . . 357
Migration roadmap . . . . . . . . . . . 357
Scenarios for migrating a server from an AIX,
HP-UX, or Solaris system to V7.1 on Linux . . . 358
vi IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
The migration process . . . . . . . . . . 363 Migration scenario 2: Extracting the data to
Utilities and commands for data migration . . 363 media . . . . . . . . . . . . . . . 393
Data movement . . . . . . . . . . . 363 Migration scenario 2: Installing the V7.1 server 393
Device availability . . . . . . . . . . . 364 Migration scenario 2: Setting up devices . . . 396
Protection for client data and the server during Migration scenario 2: Configuring devices . . . 397
the process . . . . . . . . . . . . . 364 Migration scenario 2: Creating the user ID and
directories for the server instance. . . . . . 398
Chapter 13. Planning the migration 365 Migration scenario 2: Creating the server
Hardware and software requirements for the V5 instance and database . . . . . . . . . 400
and V7.1 servers . . . . . . . . . . . . 366 Migration scenario 2: Loading the extracted data
Estimating database and recovery log requirements 366 into the V7.1 database . . . . . . . . . 402
Estimating the time required for migration . . . 367 Migration scenario 2: Configuring the system
Planning data movement . . . . . . . . . 368 for database backup . . . . . . . . . . 404
Planning for upgrading multiple servers and Migration scenario 3: Using the network method
components . . . . . . . . . . . . . . 368 and the upgrade wizard . . . . . . . . . . 406
Preparing for operational changes . . . . . . 368 Migration scenario 3: Installing the V7.1 server 406
Estimating storage and device requirements . . . 369 Migration scenario 3: Setting up devices . . . 409
Performance tips for the V5 database extraction Migration scenario 3: Creating the user ID and
process . . . . . . . . . . . . . . . 369 directories for the server instance. . . . . . 410
Performance tips for inserting data into the V7.1 Migration scenario 3: Running the upgrade
database . . . . . . . . . . . . . . . 370 wizard. . . . . . . . . . . . . . . 411
Reference information for planning the migration 371 Migration scenario 4: Using the network method
and the command line . . . . . . . . . . 412
Migration scenario 4: Preparing the database of
Chapter 14. Preparing for the
the V5 server . . . . . . . . . . . . 412
migration . . . . . . . . . . . . . 373 Migration scenario 4: Installing the V7.1 server 413
Preparing space for the migration process . . . . 373 Migration scenario 4: Setting up devices . . . 416
Upgrading the V5 server to V5.5.6 or later. . . . 373 Migration scenario 4: Creating the user ID and
Disabling sessions . . . . . . . . . . . . 374 directories for the server instance. . . . . . 417
Backing up or migrating data stored on DISK and Migration scenario 4: Creating the server
FILE devices. . . . . . . . . . . . . . 375 instance and database . . . . . . . . . 418
Migrating data that is stored on GENERICTAPE Migration scenario 4: Moving the server
devices . . . . . . . . . . . . . . . 376 database over a network . . . . . . . . 420
Moving backup sets that are stored on FILE Migration scenario 4: Configuring the system
devices . . . . . . . . . . . . . . . 376 for database backup . . . . . . . . . . 422
Backing up the server database . . . . . . . 377
Creating a summary of database contents . . . . 377
Chapter 16. Taking the first steps after
Modifying the server to prevent potential issues 378
Stopping the server before the migration . . . . 379 migration . . . . . . . . . . . . . 425
Installing the upgrade utilities . . . . . . . . 380 Configuring server options for server database
Installing the upgrade utilities on AIX systems 380 maintenance . . . . . . . . . . . . . . 425
Installing the upgrade utilities on HP-UX Starting the server . . . . . . . . . . . . 426
systems . . . . . . . . . . . . . . 381 Verifying the migration results . . . . . . . 426
Installing the upgrade utilities on Oracle Solaris Registering licenses . . . . . . . . . . . 427
systems . . . . . . . . . . . . . . 382 Updating device path information . . . . . . 428
Backing up the database. . . . . . . . . . 428
Changing the host name for the Tivoli Storage
Chapter 15. Migrating the server
Manager server. . . . . . . . . . . . . 429
database to the V7.1 server . . . . . 385 Updating the tcpserveraddress option . . . . . 430
Migration scenario 1: Using the media method and Setting the IP address of the server . . . . . . 430
the upgrade wizard . . . . . . . . . . . 385 Migrating data from tape to DISK or FILE devices 431
Migration scenario 1: Installing the V7.1 server 386 Restoring backup sets . . . . . . . . . . 432
Migration scenario 1: Setting up devices . . . 388 Updating automation. . . . . . . . . . . 433
Migration scenario 1: Creating the user ID and Beginning operations and monitoring the server 433
directories for the server instance. . . . . . 389
Migration scenario 1: Running the upgrade
Chapter 17. Troubleshooting the
wizard . . . . . . . . . . . . . . 390
Migration scenario 2: Using the media method and migration of a V5 server from AIX,
the command line . . . . . . . . . . . . 391 HP-UX, or Solaris. . . . . . . . . . 435
Migration scenario 2: Preparing the database of Reverting from V7.1 to the previous V5 server
the V5 server . . . . . . . . . . . . 392 version . . . . . . . . . . . . . . . 435
Contents vii
Part 3. Migrating Tivoli Storage Installing Tivoli Storage Manager for z/OS
Media . . . . . . . . . . . . . . . 481
Manager V5 servers on z/OS Defining a server that corresponds to the z/OS
systems to V7.1 on AIX or Linux media server . . . . . . . . . . . . 481
on System z . . . . . . . . . . . 437 Disabling sessions . . . . . . . . . . . 482
Analyzing the Tivoli Storage Manager server by
using ZMSPREPARE . . . . . . . . . . 482
Chapter 18. Migration overview. . . . 439
Removing volumes of disk-based copy storage
Migration road map . . . . . . . . . . . 439
pools . . . . . . . . . . . . . . . 484
Scenarios for migrating a server from a z/OS
Backing up data from disk-based primary
system to AIX or Linux on System z. . . . . . 439
storage pools . . . . . . . . . . . . 485
Tivoli Storage Manager for z/OS Media overview 443
Identifying and deleting FILE backup sets . . . 486
The migration process . . . . . . . . . . 443
Creating the Tivoli Storage Manager server
Migration process overview . . . . . . . 444
options file . . . . . . . . . . . . . 486
Key tasks in the migration process . . . . . 446
Running the ZMSPREPARE command again to
Utilities and commands for data migration . . 447
verify prerequisites . . . . . . . . . . 486
Device migration . . . . . . . . . . . 448
Backing up the server database . . . . . . 488
Backup sets . . . . . . . . . . . . . 450
Stopping the server before the migration . . . 488
Effects of migration on storage agents . . . . 451
Preparing the database of a V5 server for
Protection for client data and the server during
migration. . . . . . . . . . . . . . 489
the process . . . . . . . . . . . . . 452
Comparison of database migration methods . . 452
Operational changes and requirements . . . . . 453 Chapter 21. Migrating the z/OS server
Automated message response systems . . . . 453 database to the V7.1 server . . . . . 491
Performance considerations. . . . . . . . 453 Migrating a V5 z/OS server by using the media
method . . . . . . . . . . . . . . . 491
Chapter 19. Planning the migration 455 Creating and formatting the new database . . 491
Hardware and software requirements for the V5 Extracting the data to media . . . . . . . 492
and V7.1 servers . . . . . . . . . . . . 455 Moving tape to another tape library . . . . . 492
Compatibility with other components and versions 456 Loading the extracted data into the new
Estimating database and recovery log requirements 457 database . . . . . . . . . . . . . . 493
Planning data movement from FILE and DISK Migrating a V5 z/OS server by using the network
devices . . . . . . . . . . . . . . . 458 method . . . . . . . . . . . . . . . 494
Estimating storage and device requirements . . . 458 Creating and formatting the new database . . 494
Estimating the time required for migration . . . 458 Moving the server database over a network . . 494
Example: Estimating the migration time based
on the database size . . . . . . . . . . 459 Chapter 22. Configuring the z/OS
Performance tips for the V5 database extraction media server devices on the new
process . . . . . . . . . . . . . . 461 server . . . . . . . . . . . . . . 497
Performance tips for inserting data into the V7.1
database . . . . . . . . . . . . . . 461
Chapter 23. Taking the first steps after
Planning for upgrading multiple servers and
components . . . . . . . . . . . . . . 462 the migration . . . . . . . . . . . 499
Planning for changes to storage agents . . . . . 462 Configuring server options for the migrated server 499
Preparing for operational changes . . . . . . 463 Starting the server . . . . . . . . . . . . 501
Reference information for planning . . . . . . 463 Verifying the migration results . . . . . . . 501
Migration of device and library attributes . . . 464 Recreating disk-based storage pools that were
Migration of server options. . . . . . . . 469 moved to tape . . . . . . . . . . . . . 502
Recreating deleted storage pools . . . . . . 502
Recreating storage pool volumes marked as
Chapter 20. Preparing for the
destroyed. . . . . . . . . . . . . . 502
migration . . . . . . . . . . . . . 473 Restoring data from backed-up storage pools 502
Preparing space for the migration process . . . . 473 Cleaning up by deleting z/OS DISK and FILE
Backing up configuration information . . . . . 474 volumes that were marked as destroyed . . . 503
Installing and configuring the V7.1 server . . . . 474 Registering licenses . . . . . . . . . . . 503
Installing the V7.1 server on AIX or Linux Backing up the database. . . . . . . . . . 504
systems . . . . . . . . . . . . . . 474 Updating automation. . . . . . . . . . . 504
Creating the directories and the user ID for the Updating configuration of storage agents . . . . 505
server instance . . . . . . . . . . . . 477 Beginning operations and monitoring the servers 505
Preparing the V5 server on z/OS for migration . . 479 Migrating data from z/OS media volumes to other
Modifying the server before the migration. . . 479 devices . . . . . . . . . . . . . . . 507
Upgrading the V5 server to V5.5.6 . . . . . 480
viii IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 24. Troubleshooting the DSMUPGRD EXTEND DB (Extend the size of the
migration of a V5 server from a z/OS database) . . . . . . . . . . . . . . . 533
DSMUPGRD EXTEND LOG (Extend the size of the
system to AIX or Linux on System z . 509
recovery log) . . . . . . . . . . . . . 534
Reverting to the V5 server running on z/OS after a
DSMUPGRD UPDATE (Create backup registry
migration. . . . . . . . . . . . . . . 509
entries for a V5 server instance) . . . . . . . 535
Reverting to the V5 server before data is moved
DSMSERV LOADFORMAT (Format a database) 536
to the V7.1 server . . . . . . . . . . . 509
DSMSERV INSERTDB (Move a server database
Reverting to the V5 server before volumes are
into an empty database) . . . . . . . . . . 538
deleted . . . . . . . . . . . . . . 509
ZMSPREPARE (Prepare a server on a z/OS system
Reverting to the V5 server after the V5 database
for migration) . . . . . . . . . . . . . 541
is deleted. . . . . . . . . . . . . . 510
Server startup script: rc.dsmserv . . . . . . . 544
Server startup script: dsmserv.rc . . . . . . . 545
Part 4. Appendixes . . . . . . . . 513 Sample commands to run for validation of the
database upgrade . . . . . . . . . . . . 546
Appendix A. Tivoli support
information . . . . . . . . . . . . 515 Appendix C. Installing server
Communities and other learning resources . . . 515 language packages . . . . . . . . . 547
Searching knowledge bases . . . . . . . . . 517 Server language locales . . . . . . . . . . 547
Searching the Internet . . . . . . . . . 517 Configuring a language package . . . . . . . 551
Using IBM Support Assistant . . . . . . . 517
Finding product fixes. . . . . . . . . . 518 Appendix D. HP-UX system resource
Receiving notification of product fixes . . . . 518 requirements . . . . . . . . . . . 553
Contacting IBM Software Support . . . . . . 518 Estimating required semaphore resources . . . . 553
Setting up and managing support contracts . . 519 Estimating required process resources . . . . . 553
Determining the business impact . . . . . . 519 Estimating required number of threads per process 554
Describing the problem and gathering Viewing and modifying the kernel configuration 554
background information . . . . . . . . . 519
Submitting the problem to IBM Software
Support . . . . . . . . . . . . . . 520
Appendix E. Services associated with
the Tivoli Storage Manager server . . 555
Appendix B. Utilities, scripts, and
commands for server upgrade and Appendix F. Accessibility features for
migration . . . . . . . . . . . . . 521 the Tivoli Storage Manager product
DSMUPGRD QUERYDB (Display information family. . . . . . . . . . . . . . . 557
about a V5 database) . . . . . . . . . . . 522
DSMUPGRD PREPAREDB (Prepare a V5 database Notices . . . . . . . . . . . . . . 559
for upgrade). . . . . . . . . . . . . . 523 Trademarks . . . . . . . . . . . . . . 561
DELETE VOLHISTORY (Delete sequential volume Privacy policy considerations . . . . . . . . 561
history information) . . . . . . . . . . . 524
DSMUPGRD EXTRACTDB (Extract data from a V5 Glossary . . . . . . . . . . . . . 563
server database) . . . . . . . . . . . . 529
The manifest file for the data extraction to
media . . . . . . . . . . . . . . . 531
Index . . . . . . . . . . . . . . . 565
Contents ix
x IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Preface
This publication provides information about upgrading IBM® Tivoli® Storage
Manager servers from one of the supported Version 5 levels to Version 7.1.
Tip: For information about upgrading the server from V6 to V7.1, see the upgrade
procedures in the Installation Guide.
If you are upgrading the server from V5 to V7.1 on the same operating system,
follow this sequence:
1. Read the overview information about the updates to the server: Chapter 1,
“Server database updates overview,” on page 3.
2. Read the planning information, and the descriptions of the scenarios:
a. Chapter 2, “Planning the upgrade of the server,” on page 11
b. Chapter 3, “Upgrade scenarios overview,” on page 73
3. Select the scenario to use, and plan for the hardware, software, and storage
space requirements for your server and environment. A worksheet can be used
for space planning: “Worksheet for planning space for the V7.1 server” on page
42.
4. Run a test of the upgrade process: “Testing the upgrade process for a server”
on page 47. Use the results of the test to refine plans, such as the estimated
amount of time that a server will be unavailable because of the upgrade
process.
5. Upgrade the server, following the steps in the scenario that you selected:
v Chapter 4, “Scenario 1: Same system, media method,” on page 91
v Chapter 5, “Scenario 2: Same system, network method,” on page 135
v Chapter 6, “Scenario 3: New system, media method,” on page 177
v Chapter 7, “Scenario 4: New system, network method,” on page 225
6. Complete the upgrade process by following the steps in the section:
v Chapter 10, “Taking the first steps after upgrade,” on page 323
Publications
Publications for the Tivoli Storage Manager family of products are available online.
The Tivoli Storage Manager product family includes IBM Tivoli Storage
FlashCopy® Manager, IBM Tivoli Storage Manager for Space Management, IBM
Tivoli Storage Manager for Databases, and several other storage management
products from IBM Tivoli.
You also can find the Tivoli Storage Manager product family information centers
and other information centers that contain official product documentation for
current and previous versions of Tivoli products at Tivoli Documentation Central.
Tivoli Documentation Central is available at http://www.ibm.com/
developerworks/community/wikis/home/wiki/Tivoli Documentation Central.
xii IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
New for Tivoli Storage Manager Version 7.1
Many features in Tivoli Storage Manager Version 7.1 are new for Tivoli Storage
Manager users.
New features are available in Tivoli Storage Manager Operations Center Version
7.1 to help you manage your storage environment.
You can now do the following additional administrative tasks through the
Operations Center:
v Customize the settings for servers and clients by editing the server and client
properties.
v View or cancel the sessions and processes that are in progress by using the
Active Tasks view for servers.
v View the sessions and processes that succeeded or failed by using the
Completed Tasks view for servers.
v View activity log messages that are related to specific alerts, sessions, and
processes. These activity log messages are available on the Alerts page and in
the Active Tasks and Completed Tasks views.
v Manually back up clients, storage pools, and the server database.
v View the replication server configuration for a client.
v Register clients, and configure basic backup settings.
v Suppress risk warnings for specific clients.
v View the authority level of the administrator ID that is used to log in to the
Operations Center.
To use automatic failover when node replication is in use, both the source and
target replication servers and the client must be at V7.1. You can use only one
failover server for each replicating node at any time. The failover server is the last
server that a node successfully replicated to. The client can recover data from the
target replication server, but it cannot store data during failover processing.
The previous Tivoli Storage Manager server release, V6.3, was packaged with a
DB2 V9.7 database.
If you are upgrading the server, you must ensure that the correct version of DB2 is
installed. If you are using a Tivoli Storage Manager V6.1 server, and you want to
upgrade to V7.1, you must upgrade the V6.1 server to V6.2 or V6.3. Then, upgrade
the server from V6.2 or V6.3 to V7.1. The Tivoli Storage Manager V6.1 server was
packaged with a DB2 V9.5 database, which cannot be upgraded to V10.5. The
Tivoli Storage Manager V6.2 and V6.3 servers were packaged with a DB2 V9.7
database, which can be upgraded to V10.5.
The following device types are deprecated. While you can use these device types
with Tivoli Storage Manager Version 7.1, plan to migrate data to new devices
before you upgrade to a later release of Tivoli Storage Manager.
v 3490
v 3570
v CARTRIDGE
v OPTICAL
v WORM
v QIC
v DTF
For a list of devices and valid device class formats, see the Tivoli Storage Manager
Supported Devices website for your operating system:
http://www.ibm.com/software/sysmgmt/products/support/
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html
Linux
http://www.ibm.com/software/sysmgmt/products/support/
IBM_TSM_Supported_Devices_for_Linux.html
xiv IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
File-space level collocation groups
File-space level collocation groups are introduced in Tivoli Storage Manager
Version 7.1.
You can group file spaces that belong to a single node, which allows data for these
file spaces to be collocated efficiently without requiring separate volumes for each
file space. When you use file-space level collocation groups, you can group data
for a limited set of file systems, for example, virtual machines. Fewer volumes are
required for the data and placement can be coordinated in the server storage
hierarchy.
For more information about collocation, see Keeping client files together using
collocation in the Administrator's Guide.
For detailed information about the DEFINE COLLOCMEMBER command, see the
Administrator's Reference.
For updated information about how collocation settings affect data processing and
how the server migrates files, see How the server selects files to migrate in the
Administrator's Guide.
You can manually configure a Tivoli Storage Manager server, or use the instance
configuration wizard, to use shared memory with DB2.
You can add directories to the database by using the EXTEND DBSPACE command. In
Version 7.1, the updates for this operation include distributing data across all
database directories and then reclaiming unused space and returning it to the
system. Because redistribution operations take considerable system resources, plan
ahead when you want to add space to the database. You must complete the
process while the server is not handling a heavy load.
For detailed requirements, see the EXTEND DBSPACE command in the Administrator’s
Reference.
xvi IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Part 1. Upgrading the server from V5 to V7.1
You can upgrade the IBM Tivoli Storage Manager server directly from Version 5 to
Version 7.1.
Procedure
Review the information about upgrading the server from V5 to V7.1. Here is the
suggested sequence for using this information:
1. Read the overview information about the updates to the server: Chapter 1,
“Server database updates overview,” on page 3.
2. Read the planning information, and the descriptions of the scenarios:
a. Chapter 2, “Planning the upgrade of the server,” on page 11
b. Chapter 3, “Upgrade scenarios overview,” on page 73
3. Select the scenario to use, and plan for the hardware, software, and storage
space requirements for your server and environment. A worksheet can be used
for space planning: “Worksheet for planning space for the V7.1 server” on page
42.
4. Run a test of the upgrade process: “Testing the upgrade process for a server”
on page 47. Use the results of the test to refine plans, such as the estimated
amount of time that a server will be unavailable because of the upgrade
process.
5. Upgrade the server, following the steps in the scenario that you selected:
v Chapter 4, “Scenario 1: Same system, media method,” on page 91
v Chapter 5, “Scenario 2: Same system, network method,” on page 135
v Chapter 6, “Scenario 3: New system, media method,” on page 177
v Chapter 7, “Scenario 4: New system, network method,” on page 225
6. Complete the upgrade process by following the steps in the section:
2 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 1. Server database updates overview
Tivoli Storage Manager V7.1 uses a relational database that is based on IBM DB2
technology. Versions of Tivoli Storage Manager earlier than V6.1 did not use the
DB2 technology. Before you upgrade the server to V7.1, learn more about DB2.
With V7.1, you do not create or track database volumes for the server database.
Instead you create and designate directories that the server can use for the
database. The database manager that is part of the server automatically manages
the space available to the directories as database space.
The database can be distributed across as many as 128 directories. Place the
database directories on fast, reliable disks that are configured for random access
I/O. Locating each directory on a different file system provides the best
performance because the data is striped across the directories. Enable read cache
for the database file systems, and enable write cache if the disk subsystem
supports it.
A practical size for the database might be limited in your environment by the time
that is available to complete operations such as database backup, client backups,
and data deduplication (if used).
Recovery log
The recovery log helps to ensure that a failure (for example, a system power
outage) does not leave the database in an inconsistent state. The recovery log is
also essential when you must restore the database.
For details, see the recovery log section in the Administrator's Guide.
Operation changes
The server delivers significant improvements in operations, including more
automated database management.
For details about operations with a V7.1 server, see the Administrator's Guide
section about managing the database and recovery log.
Database operations
The database manager controls operations for the database by running automatic
tasks that can help keep the database in good condition.
The database manager controls the storage space for the database. The server can
use all of the space that is available to the directories that you specify for the
database. In V7, you do not manage individual volumes for the database, which
was necessary in V5. When the database needs more space, instead of adding
volumes and extending the database, you add more directories (preferably on
different physical volumes) to the database space.
4 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Server database updates overview
Monitor the space that is used by the server and the space that is available in the
file systems where the directories are located. Ensure that space is always
available. You can obtain information about database space usage and recovery log
usage by reviewing data in the Operations Center or by issuing administrative
commands.
Tivoli Storage Manager V7.1 is installed with the DB2 database application. Users
who are experienced DB2 administrators can choose to perform advanced SQL
queries and use DB2 tools to monitor the database. However, do not use DB2 tools
to change DB2 configuration settings from those settings that are preset by Tivoli
Storage Manager. Do not alter the DB2 environment for Tivoli Storage Manager in
other ways, such as with other products. The Tivoli Storage Manager server was
built and tested with the data definition language (DDL) and database
configuration that Tivoli Storage Manager deploys.
are no longer needed. The archive log files that are included in a backup
are automatically pruned after two more full database backups are
completed.
If space for the recovery log is limited, more frequent full backups of the
database might be required so that space is recovered through the
automatic pruning operation.
An incremental backup of the database includes all changes to the database
since the last full backup. In earlier versions of the server, an incremental
backup included changes since the last full or incremental backup, and
multiple incremental backups might have been needed to restore the
database. With V7.1, when you must restore a database, you must use the
last full backup and only the last incremental backup.
Automatic backups are performed by the database manager based on
active log space usage since the last database backup and the ratio of space
that is used to total space for the active log. To configure automatic
database backups, during initial configuration of the server you specify a
device class that is to be used for these backups. The database backups
that are performed by the database manager are either full or incremental
backups.
Database mirroring
The database cannot be mirrored through Tivoli Storage Manager in V7.1.
Use hardware mirroring instead.
Recovery log mode
The V7.1 server always runs in a mode that is equivalent to the
roll-forward mode.
Changes to the database are recorded in the recovery log to maintain a
consistent database image. Active and archive log files, which are included
in database backups, make it possible to restore the server to the latest
time possible. You can also restore the database to a specific point in time.
To help ensure that the required log information is available for restoring
the database, you can specify that the active log is mirrored to another file
system location. For the best availability, locate the active log mirror on a
different physical device.
Files that are required to restore the database
Both the volume history file and the device configuration file are required
to restore the database.
Before V6.1, the volume history file was optional for restoring the database,
and if a device configuration file was not available, you could re-create the
file. Starting with the V6.1 server, both the volume history file and the
device configuration file must be available; the device configuration file
cannot be re-created.
Important: Ensure that the server options file includes the following
options:
v At least one VOLUMEHISTORY option with the name of a file to be
automatically updated when volume history information changes.
v At least one DEVCONFIG option with the name of a file in which to store a
backup copy of device configuration information.
Disaster recovery manager
The disaster recovery manager works with the new database and database
6 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Server database updates overview
backup operations. Some of the stanzas in the recovery plan are new or
changed to accommodate the changes to the database operations.
Database restoration
The database can be restored to the latest possible time, or to a specific
point in time. The volume history file and the device configuration file are
required for restoring the database.
You can restore the database to a location that is different from the original
location. Using database restore is one way to move a server.
On AIX®, HP-UX, Linux, and Solaris systems, each server instance requires a
unique user ID that is the instance owner. On Windows systems, the server
instances can be owned by the same or different user accounts.
The files for each instance are stored separately from the server program files. As
part of server configuration, you create a directory to store the files for the server
instance. The following files are stored in the instance directory:
v The server options file, dsmserv.opt
v The device configuration file, if the DEVCONFIG server option does not specify a
fully qualified name
v The volume history file, if the VOLUMEHISTORY server option does not specify a
fully qualified name
v Volumes for DEVTYPE=FILE storage pools, if the directory for the device class
is not fully specified, or not fully qualified
v The dsmserv.V6lock file
v User exits
v Trace output (if not fully qualified)
Database and recovery log files are stored in separate directories, not in the
instance directory.
To manage the system memory that is used by each server on a system, use the
DBMEMPERCENT server option to limit the percentage of system memory that can be
used by the database manager of each server. If all servers are equally important,
use the same value for each server. If one server is a production server and other
servers are test servers, set the value for the production server to a higher value
than the test servers.
You can automatically start multiple instances of the Tivoli Storage Manager server
at system startup (for example, from /etc/inittab on an AIX system) without the
need for user-configured scripts. Two DSMSERV options and a script make it possible
to start server instances in this way.
The preferred way to start the server is by using the instance user ID. By using the
instance user ID, you simplify the setup process and avoid potential issues.
However, in some cases, it might be necessary to start the server with the root user
ID. For example, you might want to use the root user ID to ensure that the server
can access specific devices. To start the server, the root user ID must meet the
following requirements:
v Have authority to issue the start command for the server and database manager
v Belong to the group that is specified by the database manager SYSADM_GROUP
setting
v Have database administration authority (DBADM) granted by the instance user
ID
v Have authority to access the server database
v Have authority to use all files, directories, and devices that are required by the
server
Before you start the server with the root user ID, explicitly grant server database
authority to the root user ID and verify all other authorities for the root user ID.
Tip: Solaris If you are running a Tivoli Storage Manager server on a Solaris
system, you can use the Solaris Service Management Facility (SMF) to set up and
control the Tivoli Storage Manager server as a service. For more information, see
Technote 7021102 (http://www.ibm.com/support/docview.wss?uid=swg27021102).
Switching user IDs
The -u userID option for DSMSERV makes it possible for the server to switch
user IDs at invocation. This option is primarily intended to be used in
/etc/inittab for AIX systems, or similar methods on other platforms.
Configuration is easier if you can switch to the user ID that is the instance
owner at startup.
Changing the current working directory
The -i instance_dir option for DSMSERV makes it possible for the server to
change its current working directory at invocation. This option is primarily
intended to ensure that multiple instances of the Tivoli Storage Manager
server can be launched from /etc/inittab without the need for
user-configured scripts.
Setting up the environment by using a script
A script, /opt/tivoli/tsm/server/bin/rc.dsmserv, is provided for use on
AIX, HP-UX, Linux, and Solaris systems. The script sets up environment
variables and changes the library path to resolve libraries that are required
by Tivoli Storage Manager. The library path is the variable:
AIX LIBPATH
8 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Server database updates overview
Linux LD_LIBRARY_PATH
Invoke the script from the system startup location, for example,
/etc/inittab on an AIX system.
Related tasks:
“Starting the server on AIX, HP-UX, Linux, and Oracle Solaris systems” on page
325
You can automatically start multiple instances of the Tivoli Storage Manager server
at system startup by configuring the options for the server as a service.
You can set the start mode and options for the server service so that the server
starts at system startup.
When the server is started as a service, the service for the corresponding database
manager is also automatically started. The service for the database manager is
named as a DB2 service, and its name includes the name of the server instance. For
example, the database-manager service for the Server1 server instance has the
name: DB2 - DB2TSM1 - SERVER1
When you stop the service for the server, the service for the database manager is
not automatically stopped. If you intend to stop both the server and its database
manager, you must stop the service for the database manager separately.
Related concepts:
Appendix E, “Services associated with the Tivoli Storage Manager server,” on page
555
Related tasks:
“Starting the server on Windows systems” on page 331
10 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 2. Planning the upgrade of the server
Planning the upgrade to Tivoli Storage Manager V7.1 is important because, in
addition to installing the new software, you must move the contents of the V5
server database into the V7.1 database.
When you move data from a V5 server database to a V7.1 database, a large
amount of system processing capacity is used. The move also requires a large
amount of I/O activity.
Procedure
As you start to plan the upgrade process, consider the following options:
v You can test the upgrade on nonproduction systems. Testing gives you
information about how long the upgrade of the server database takes, which
will help you to plan for the time that the server will be unavailable. Some
databases might take much longer than others to upgrade. Testing also gives
you more information about the size of the new database compared to the
original, giving you more precise information about database storage
requirements.
v If you have multiple servers, you can upgrade one server first, to determine how
the upgrade process will work for your data. Use the results of the first upgrade
to plan for upgrading the remaining servers.
Related tasks:
“Estimating the upgrade time” on page 42
Except for the database extraction and insertion steps, the server upgrade process
is similar to the disaster recovery process. Critical server files, such as the option
and device configuration files, must be available, and storage pool devices must be
made available to the upgraded server.
The major steps in the upgrade process from V5 to V7.1 are as follows:
1. Plan system hardware and software, and estimate the upgrade time.
Use information about the Tivoli Storage Manager upgrade process together
with operational requirements for your existing servers to decide how and
when to perform the upgrade.
Tip: If you are introducing new hardware or changes in the storage system
infrastructure, plan the zoning for the storage area network (SAN). Allow time
to create device statements and paths, and to check in tape volumes following
the upgrade. For IBM tape devices, no multipathing driver is available for tape
drives that are distributed over more than one adapter. Use zoning and device
definitions to balance the workload.
2. Back up the Tivoli Storage Manager server database and configuration files.
Ensure that at least one full database backup is available onsite.
Tip: If you must restore the database after a failed upgrade, having an onsite
backup database saves time.
3. Install the server code. Installation tasks include the following:
v Installing the new server code, which includes the server and its database
manager program. Configure a user ID for the new server instance.
v Installing the upgrade utilities package on the system where the existing V5
server is located.
4. Upgrade the database. This task includes preparing the database, and then
moving the database. Use the upgrade utilities or the upgrade wizard to
complete these tasks.
The upgrade utilities or upgrade wizard extracts data from an existing database
and inserts the data into a new V7.1 database. Media or the network can be
used for the data movement.
As a database is moved into the new database structure, the validity of the data
is checked against constraints that are enforced in the new database. The
upgrade tools automatically correct some errors in the database. Other errors
might require manual correction.
If you use the wizard, you are guided to complete the upgrade steps in the
correct order. If you are performing the upgrade manually by using utilities
from a command line, follow the procedure carefully.
5. Verify the upgrade by running basic operations and querying information
about the system to confirm that all information transferred correctly.
To help you decide how to perform the upgrade process, review the information
that compares upgrade methods, and the descriptions of upgrade scenarios.
Related tasks:
12 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
The following table lists items to consider when you decide how to upgrade the
server.
Table 1. Considerations for selecting a server upgrade scenario
Item Upgrade on an existing system Upgrade on a new system
System hardware More resources (disk space, memory, A new system that meets requirements,
and possibly processor capacity) are in addition to the existing system, is
required on the existing system. required.
The V7.1 server cannot coexist with Software on the original V5 system must
other versions on the same system. meet requirements for the upgrade
utilities (upgrade utilities requirements
are the same as for a V5.5 server).
14 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Related concepts:
“Hardware and software requirements for the upgraded server” on page 19
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Related reference:
“Hardware and software requirements for the V5 server system that is being
upgraded” on page 17
To move the database, you must install the upgrade utilities package on the system
where the original server database is located. The utilities package is available
from the FTP downloads site for the Tivoli Storage Manager product. Installing the
upgrade utilities package is a separate task from installing the V7.1 server.
With either method, the original server cannot be running in production mode
while the data is being extracted.
Related concepts:
“DSMUPGRD upgrade utilities”
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
The DSMUPGRD PREPAREDB utility upgrades a server database version to V5.5, and
performs some cleanup to prepare for the extraction process.
Important: After a V5.3 or V5.4 server database is upgraded to V5.5, the database
can no longer be used by a V5.3 or V5.4 server. If you do not want the database on
your production server to be upgraded, you can restore the database backup on
another system. Then, upgrade that copy of the database.
The DSMUPGRD EXTRACTDB utility extracts the data from a server database. You can
use the utility to simultaneously extract and insert the data into a new database
over a network. Alternatively, you can use the utility to extract the data to media
for later insertion into a new database. The data extraction operation can be run
with multiple processes.
16 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
For the latest information about hardware and software requirements, see the
Tivoli Storage Manager Supported Operating Systems technote at
http://www.ibm.com/support/docview.wss?uid=swg21243309.
Restrictions: AIX HPUX Linux Solaris You can install and run the
V7.1 server on a system that already has DB2 installed on it, whether DB2 was
installed by itself or as part of another application, with restrictions. For details,
see the section about compatibility of the Tivoli Storage Manager server with other
DB2 products on the system in the Installation Guide.
Restriction: Windows You cannot install and run the V7.1 server on a system that
already has DB2 installed on it, whether DB2 was installed by itself or as part of
another application. The V7.1 server requires the installation and use of the DB2
version that is packaged with the V7.1 server. No other version of DB2 can exist on
the system.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
V5.3 or V5.4 servers might be running on operating systems that are not supported
by the upgrade utilities. Therefore, you might need to update your system before
you begin the upgrade procedure. Use the information in Table 2 on page 18 to
determine whether you are using one of the operating system versions that must
be upgraded.
When you prepare to upgrade a system, you must ensure that the source server is
at V5.3.6 or later, and that the latest interim fix for the selected level is installed.
To optimize the upgrade process and avoid potential issues, consider upgrading
the V5 server to the latest available level and installing the latest interim fix for
that level. Follow the guidelines in “Determining the appropriate level for a V5
server before an upgrade” on page 36. To download the latest fix pack and interim
fix, go to the IBM Support Portal at http://www.ibm.com/support/entry/portal/
Downloads. Locate the appropriate version of Tivoli Storage Manager.
If your operating system is listed in the second column of the following table, you
must upgrade the system to the required minimum level in the third column, or to
a later level.
Table 2. Operating system versions that must be upgraded to run the upgrade utilities
Operating
system Version that must be upgraded Required minimum level
AIX v IBM AIX 5L™ V5.1 (32 or 64 bit) v AIX V5.3 (64 bit only)
v AIX V5.2 (32 or 64 bit) v AIX V7.1 (64 bit only)
HP-UX v PA-RISC: v PA-RISC:
HP-UX 11i V1.0 (32 or 64 bit) HP-UX 11i v2 (64 bit)
HP-UX 11i v3 (64 bit)
Linux on v Red Hat® Enterprise Linux 3 v Red Hat Enterprise Linux 4
Power® (supported on POWER5 processors v Red Hat Enterprise Linux 5
only)
v SUSE Linux Enterprise Server 9
v SUSE Linux Enterprise Server and 10
8/UnitedLinux 1.0 (supported only
v Asianux 2.0 - Red Flag DC 5.0 and
on processors earlier to POWER5)
Haansoft Linux 2006 or Asianux 3.0
v Miracle Linux 4.0 or Asianux 2.0
v V2.3.3 or later of the GNU C
v GNU C libraries 2.2.5-108 libraries that are installed on the
target system
Linux x86 v Red Hat Enterprise Linux 3 (AS, v Red Hat Enterprise Linux 4
WS, ES) v Red Hat Enterprise Linux 5
v SUSE Linux Enterprise Server v SUSE Linux Enterprise Server 9
(SLES) 8 / UnitedLinux 1.0 and 10
v V2.2.5-213 of the GNU C libraries v Asianux 2.0 - Red Flag DC 5.0,
Miracle Linux 4.0, and Haansoft
Linux 2006 or Asianux 3.0
v V2.3.3 or later of the GNU C
libraries that are installed on the
target system
Linux v Red Hat Enterprise Linux 3 v Red Hat Enterprise Linux 4
x86_64
v Red Flag Advanced Server 4.1 v Red Hat Enterprise Linux 5
v SUSE Linux Enterprise Server 8 v SUSE Linux Enterprise Server 9
v V2.2.5-213 of the GNU C libraries and 10
v Asianux 2.0 - Red Flag DC 5.0,
Miracle Linux 4.0, and Haansoft
Linux 2006 or Asianux 3.0
v V2.3.3 or later of the GNU C
libraries that are installed on the
target computer
Linux on v SUSE Linux Enterprise Server 8 / v Red Hat® Enterprise Linux 4
System z UnitedLinux 1.0 v Red Hat® Enterprise Linux 5
v Version 2.2.5-108 of the GNU C v SUSE Linux Enterprise Server 9
libraries and 10
v V2.3.3 or later of the GNU C
libraries that are installed on the
target system
Oracle v Oracle Solaris 8 (64 bit) v SPARC 64 bit:
Solaris
Oracle Solaris 9
Oracle Solaris 10
v x86_64:
Oracle Solaris 10
18 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Table 2. Operating system versions that must be upgraded to run the upgrade
utilities (continued)
Operating
system Version that must be upgraded Required minimum level
Microsoft v Windows 2000 Professional v Windows Server 2003 (Standard,
Windows Enterprise, or Datacenter) Edition
v Windows 2000 Server
v Windows 2000 Advanced Server v Windows Server 2003 (Standard,
Enterprise, or Datacenter) x64
v Windows 2000 Datacenter Server
Edition
v Windows Server 2008 (Standard,
Enterprise, or Datacenter) Edition
v Windows Server 2008 (Standard,
Enterprise, or Datacenter) x64
Edition
Tip: The system requirements for the upgrade utility are the same as the system
requirements for a V5.5 server because the upgrade utility is based on the V5.5
server code. See system requirements for a V5.5 server at one of the following
websites. Compare the system on which your V5.3 or V5.4 server is running with
the system requirements for a V5.5 server.
AIX http://www.ibm.com/support/docview.wss?uid=swg21052220
HP-UX
http://www.ibm.com/support/docview.wss?uid=swg21052219
Linux
Linux on Power Systems™ Servers: http://www.ibm.com/support/
docview.wss?uid=swg21108042
Linux x86: http://www.ibm.com/support/
docview.wss?uid=swg21107360
Linux x86_64: http://www.ibm.com/support/
docview.wss?uid=swg21204361
Linux on System z: http://www.ibm.com/support/
docview.wss?uid=swg21108040
Solaris
http://www.ibm.com/support/docview.wss?uid=swg21053216
Windows
http://www.ibm.com/support/docview.wss?uid=swg21064234
AIX, HP-UX, or Solaris operating system, see Part 2, “Migrating Tivoli Storage
Manager V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux,” on page
355.
Some platforms that were supported for earlier versions of the server are not
supported for V7.1. If the server that you want to upgrade is running on one of
these platforms, you cannot upgrade your server to V7.1 on the same platform.
You must install your V7.1 server on a system that is a specific supported
platform, depending on the original platform. For required platforms, see the
following table.
Table 3. Required platforms for upgrading from V5 to V7.1
Platform for V5 server Required platform for upgrade to V7.1
HP-UX running on a PA-RISC system HP-UX running on an Intel Itanium system
Linux running on an Itanium system (IA64) Linux running on an x86_64 system
Linux running on an x86_32 system Linux running on an x86_64 system
Solaris running on an x86_64 system Linux running on an x86_64 system
Windows running on an Itanium system Windows running on an x86_64 system
(IA64)
If you are upgrading from Tivoli Storage Manager V5 to V7.1 on a new system,
restrictions apply. Ensure that you install the V7.1 server in a compatible hardware
and software environment, as described in the following table.
Table 4. Requirements for upgrading from V5 to V7.1 on a new system
V5 server V7.1 server Comments
AIX running on an IBM AIX running on an IBM
POWER® system POWER system
HP-UX running on an HP-UX running on an
Itanium system Itanium system
HP-UX running on a HP-UX running on an HP-UX running on PA-RISC
PA-RISC system Itanium system is not supported for V7.1
servers.
Linux running on an IBM Linux running on an IBM
POWER system POWER system
Linux running on an Itanium Linux running on an x86_64 Linux running on Itanium is
system (IA64) system not supported for V7.1
servers.
Linux running on an x86_32 Linux running on an x86_64 Linux running on x86_32 is
system system not supported for V7.1
servers.
Linux on System z® Linux on System z
20 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Hardware requirements
For information about estimating the total disk space that is required, see
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39.
Significant additional disk space is required for database and log files. The
size of the database depends on the number of client files to be stored and
the method by which the server manages them. The default active log
space is 16 GB, the minimum that is needed for most workloads and
configurations. Allocate at least three times the active log space for the
archive log (48 GB). Ensure that you have sufficient resources if you are
using data deduplication or expect a heavy client workload.
For optimal performance and to facilitate I/O, specify at least two equally
sized containers or Logical Unit Numbers (LUNs) for the database. See
Optimizing Performance for more information about the configuration of
directories for the database. In addition, each active log and archive log
should have its own container or LUN.
Ensure that you see the capacity planning section for more details about
disk space.
Memory The following minimum values for memory:
v 12 GB.
v 16 GB if you are using data deduplication.
v At least 32 GB for heavily used servers. Using 32 GB or more of memory
enhances performance of the Tivoli Storage Manager server database
inventory.
v If you plan to run multiple instances, each instance requires the memory
listed for one server. Multiply the memory for one server by the number
of instances planned for the system.
v Node replication processing requires additional memory. Use a minimum
of 32 GB of memory for node replication without data deduplication.
Node replication with data deduplication requires a minimum of 64 GB
of memory.
v When you create the active log, you need at least 64 GB of memory to
run replication. If replication and deduplication are both being used,
create an active log of 128 GB in size.
22 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Software requirements
For the IBM 3590, 3592, or the Ultrium tape library or drives, the IBM
device drivers are required. Install the most current device drivers. You
can locate IBM driver packages at the Fix Central website:
http://www.ibm.com/support/fixcentral/.
Configure the device drivers before you use the Tivoli Storage Manager
server with tape devices.
Gunzip utility The gunzip utility must be available on your system before you install or
upgrade the Tivoli Storage Manager Version 7 server. Ensure that the
gunzip utility is installed and the path to it is set in the PATH
environment variable.
Other software Korn Shell (ksh)
You must have the I/O completion ports (IOCP) configured on the
operating system.
You cannot run a V7.1 server on a PA-RISC system that is running an HP-UX
operating system. If the server that you want to upgrade is running on this
operating system, you cannot upgrade your server to V7.1 on the same operating
system. You must install your V7.1 server on an Itanium system that is running the
HP-UX operating system, and then use the network or media method to upgrade
your V5 server to that system.
The following tables list the minimum hardware and software requirements for the
installation of a Tivoli Storage Manager server. Use these requirements as a starting
point. You can find the most current information about system requirements at
Tivoli Storage Manager Supported Operating Systems.
Hardware requirements
For information about estimating the total disk space that is required, see
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39.
Table 7. Hardware requirements
Type of
hardware Hardware requirements
Hardware A 64-bit Intel Itanium system.
Disk space The following minimum values for disk space:
v 512 MB for the /var directory
v 6 GB in the installation directory
v 2 GB for the /opt directory if you do not create mount points
v 2 GB for the /tmp directory
v 300 MB for the /usr directory
v 2 GB in the home directory
Tip: Expect to use more space for problem determination.
v 2 GB for the shared resources area
Significant additional disk space is required for database and log files. The
size of the database depends on the number of client files to be stored and
the method by which the server manages them. The default active log
space is 16 GB, the minimum that is needed for most workloads and
configurations. Allocate at least three times the active log space for the
archive log (48 GB). Ensure that you have sufficient resources if you are
using data deduplication or expect a heavy client workload.
For optimal performance and to facilitate I/O, specify at least two equally
sized containers or Logical Unit Numbers (LUNs) for the database. See
Optimizing Performance for more information about the configuration of
directories for the database. In addition, each active log and archive log
should have its own container or LUN.
Ensure that you see the capacity planning section for more details about
disk space.
24 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Software requirements
System resources such as semaphores and kernel values might require special
configuration and tuning. See the information in Appendix D, “HP-UX system
resource requirements,” on page 553.
Table 8. Software requirements
Type of
software Minimum software requirements
Operating The HP Itanium system must have operating system 11i v3 (11.31) with
system the most current maintenance levels installed.
11i v3 with:
v PHCO_38658 - libc cumulative patch
v PHSS_37202
v PHKL_41481
v PHKL_42035
v PHKL_42335
v PHKL_41588
v PHSS_41496
The latest available service patches for the operating system must be
applied. Older levels without patches do not work with the device
drivers that Tivoli Storage Manager uses.
Communication A communication method that is installed and activated (shared memory
protocol is the default).
For the IBM 3590, 3592, or the Ultrium tape library or drives, the IBM
device drivers are required. Install the most current device drivers. You
can locate IBM driver packages at the Fix Central website:
http://www.ibm.com/support/fixcentral/
Configure the device drivers before you use the Tivoli Storage Manager
server with tape devices.
Gunzip utility The gunzip utility must be available on your system before you install or
upgrade the Tivoli Storage Manager Version 7 server. Ensure that the
gunzip utility is installed and the path to it is set in the PATH
environment variable.
Other software Korn Shell (ksh)
Some platforms that were supported for earlier versions of the server are not
supported for V7.1:
v Linux running on an Itanium system (IA64)
v Linux running on a 32-bit x86 system
If the server that you want to upgrade is running on one of these platforms, you
cannot upgrade your server to V7.1 on the same platform. You must install your
V7.1 server on an x86_64 system that is running the Linux operating system, and
then use the network or media method to upgrade your V5 server to that system.
The Tivoli Storage Manager server has minimum requirements for hardware and
software.
Hardware requirements
For information about estimating the total disk space that is required, see
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39.
If you have an IBM 3592 or Ultrium tape library or drive, install the most current
device driver before you install Tivoli Storage Manager. You can locate the device
drivers at http://www.ibm.com/support/fixcentral/.
26 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Significant additional disk space is required for database and log files. The
size of the database depends on the number of client files to be stored and
the method by which the server manages them. The default active log
space is 16 GB, the minimum that is needed for most workloads and
configurations. Allocate at least three times the active log space for the
archive log (48 GB). Ensure that you have sufficient resources if you are
using data deduplication or expect a heavy client workload.
For optimal performance and to facilitate I/O, specify at least two equally
sized containers or Logical Unit Numbers (LUNs) for the database. See
Optimizing Performance for more information about the configuration of
directories for the database. In addition, each active log and archive log
should have its own container or LUN.
Ensure that you see the capacity planning section for more details about
disk space.
Memory The following minimum values for memory:
v 12 GB.
v 16 GB if you are using data deduplication.
v At least 32 GB for heavily used servers. Using 32 GB or more of memory
enhances performance of the Tivoli Storage Manager server database
inventory.
v If you plan to run multiple instances, each instance requires the memory
listed for one server. Multiply the memory for one server by the number
of instances planned for the system.
v Node replication processing requires additional memory. Use a minimum
of 32 GB of memory for node replication without data deduplication.
Node replication with data deduplication requires a minimum of 64 GB
of memory.
v When you create the active log, you need at least 64 GB of memory to
run replication. If replication and deduplication are both being used,
create an active log of 128 GB in size.
Software requirements
For the IBM 3590, 3592, or the Ultrium tape library or drives, the IBM
device drivers are required. Install the most current device drivers. You
can locate IBM driver packages at the Fix Central website:
http://www.ibm.com/support/fixcentral/.
Configure the device drivers before you use the Tivoli Storage Manager
server with tape devices.
Other software Korn Shell (ksh)
28 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
The Tivoli Storage Manager server has minimum requirements for hardware and
software.
Hardware requirements
For information about estimating the total disk space that is required, see
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39.
If you have an IBM 3592 or Ultrium tape library or drive, install the most current
device driver before you install Tivoli Storage Manager. You can locate the device
drivers at http://www.ibm.com/support/fixcentral/.
Table 11. Hardware requirements
Type of
hardware Hardware requirements
Hardware An IBM zSeries, IBM System z9®, IBM System z10®, or IBM zEnterprise®
System (z114 and z196) 64-bit native logical partition (LPAR) or z/VM®
guest.
Disk space The following minimum values for disk space:
v 512 MB for the /var directory
v 3 GB for the installation directory
v 2 GB for the /tmp directory
v 300 MB for the /usr directory
v 2 GB in the home directory
Tip: Expect to use more space for problem determination.
v 2 GB for the shared resources area
Significant additional disk space is required for database and log files. The
size of the database depends on the number of client files to be stored and
the method by which the server manages them. The default active log
space is 16 GB, the minimum that is needed for most workloads and
configurations. Allocate at least three times the active log space for the
archive log (48 GB). Ensure that you have sufficient resources if you are
using data deduplication or expect a heavy client workload.
For optimal performance and to facilitate I/O, specify at least two equally
sized containers or Logical Unit Numbers (LUNs) for the database. See
Optimizing Performance for more information about the configuration of
directories for the database. In addition, each active log and archive log
should have its own container or LUN.
Ensure that you see the capacity planning section for more details about
disk space.
Software requirements
30 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Hardware requirements
For information about estimating the total disk space that is required, see
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39.
Table 13. Hardware requirements
Type of
hardware Hardware requirements
Hardware One of the following processors is required:
v Ultra SPARC-based processors (sun4u architecture)
v Ultra SPARC-based processors (sun4v architecture)
Disk space The following list is the minimum values for disk space for Ultra
SPARC-based processors (sun4u and sun4v architecture) for the respective
directories and logs:
v 512 MB for the /var directory
v 4 GB for the installation directory
v 2 GB for the /tmp directory
v 300 MB for the /usr directory
v 2 GB in the home directory
Tip: Expect to use more space for problem determination.
v 2 GB for the shared resources area
Significant additional disk space is required for database and log files. The
size of the database depends on the number of client files to be stored and
the method by which the server manages them. The default active log
space is 16 GB, the minimum that is needed for most workloads and
configurations. Allocate at least three times the active log space for the
archive log (48 GB). Ensure that you have sufficient resources if you are
using data deduplication or expect a heavy client workload.
For optimal performance and to facilitate I/O, specify at least two equally
sized containers or Logical Unit Numbers (LUNs) for the database. See
Optimizing Performance for more information about the configuration of
directories for the database. In addition, each active log and archive log
should have its own container or LUN.
Ensure that you see the capacity planning section for more details about
disk space.
Software requirements
For the IBM 3590, 3592, or the Ultrium tape library or drives, the IBM
device drivers are required. Install the most current device drivers. You
can locate IBM driver packages at the Fix Central website:
http://www.ibm.com/support/fixcentral/.
Configure the device drivers before you use the Tivoli Storage Manager
server with tape devices.
Gunzip utility The gunzip utility must be available on your system before you install or
upgrade the Tivoli Storage Manager Version 7 server. Ensure that the
gunzip utility is installed and the path to it is set in the PATH
environment variable.
Other software Korn Shell (ksh)
32 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
You cannot run a V7.1 server on an Itanium system (IA64) that is running the
Windows operating system. If the server that you want to upgrade is running on
this platform, you cannot upgrade your server to V7.1 on the same platform. You
must install your V7.1 server on an x86_64 system that is running the Windows
operating system, and then use the network or media method to upgrade your V5
server to that system.
Hardware requirements
For information about estimating the total disk space that is required, see
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39.
Table 15. Hardware requirements
Type of
hardware Hardware requirements
Hardware An AMD64 or Intel EMT-64 processor
Disk Space The following minimum values for disk space:
v At least 5 GB of free disk storage (for a typical installation)
v 60 MB in the temporary directory space
v 2 GB partition size in the C:\ drive
v 300 MB in the instance directory
v 2 GB in the shared resources area
Significant additional disk space is required for database and log files. The
size of the database depends on the number of client files to be stored and
the method by which the server manages them. The default active log
space is 16 GB, the minimum that is needed for most workloads and
configurations. Allocate at least three times the active log space for the
archive log (48 GB). Ensure that you have sufficient resources if you are
using data deduplication or expect a heavy client workload.
For optimal performance and to facilitate I/O, specify at least two equally
sized containers or Logical Unit Numbers (LUNs) for the database. See
Optimizing Performance for more information about the configuration of
directories for the database. In addition, each active log and archive log
should have its own container or LUN.
Ensure that you see the capacity planning section for more details about
disk space.
Software requirements
For the IBM 3590, 3592, or the Ultrium tape library or drives, the IBM
device drivers are required. Install the most current device drivers. You
can locate IBM driver packages at the Fix Central website:
http://www.ibm.com/support/fixcentral/.
Configure the device drivers before you use the Tivoli Storage Manager
server with tape devices.
34 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
You can install other products that deploy and use DB2 products on the same
system as the Tivoli Storage Manager Version 7.1 server on AIX, HP-UX, Linux,
and Oracle Solaris platforms, with some limitations.
To install and use other products that use a DB2 product on the same system as
the Tivoli Storage Manager server, ensure that the following criteria are met:
Table 17. Compatibility of the Tivoli Storage Manager server with other DB2 products on the
system
Criterion Instructions
Version level The other products that use a DB2 product
must use DB2 version 9 or later. DB2
products include product encapsulation and
segregation support beginning with Version
9. Starting with this version, you can run
multiple copies of DB2 products, at different
code levels, on the same system. For details,
see the information about multiple DB2
copies: http://pic.dhe.ibm.com/infocenter/
db2luw/v10r5.
User IDs and directories Ensure that the user IDs, fence user IDs,
installation location, other directories, and
related information are not shared across
DB2 installations. Your specifications must
be different from the IDs and locations that
you used for the Tivoli Storage Manager
server installation and configuration. If you
used the dsmicfgx wizard or dsmupgdx
wizard to configure Version 7.1, or upgrade
the server from Version 5.5, these are values
that you entered when running the wizard.
If you used the manual configuration for
Version 7.1 or upgrade from Version 5.5
procedures, review the procedures that you
used if necessary to recall the values that
were used for the server.
Table 17. Compatibility of the Tivoli Storage Manager server with other DB2 products on the
system (continued)
Criterion Instructions
Resource allocation Consider the resources and capability of the
system compared to the requirements for
both the Tivoli Storage Manager server and
the other applications that use the DB2
product. To provide sufficient resources for
the other DB2 applications, you might have
to change the Tivoli Storage Manager server
settings so that the server uses less system
memory and resources. Similarly, if the
workloads for the other DB2 applications
compete with the Tivoli Storage Manager
server for processor or memory resources,
the performance of the server in handling
the expected client workload or other server
operations might be adversely affected.
Procedure
You can upgrade the server from V5.3.6 or later to any level of V7. However, to
determine the most appropriate level for a V5 server, review the following
guidelines:
v The preferred method is to upgrade the server to the latest level of V5. In this
way, you can use the latest upgrade utilities to extract information from a source
server database and to insert the information into a target server database.
v For the selected server level, ensure that the latest interim fix is installed. In this
way, you can reduce the risk of upgrade issues.
v Because upgrade utilities are provided in a separate package, you can install the
latest version of the utilities without upgrading the server. If you are installing
only the upgrade utilities without upgrading the server, the following
restrictions apply:
36 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
– The upgrade utilities must be at the same level as the V5 server or at a later
level.
– To avoid a potential issue with data extraction, the upgrade utilities must be
at V5.5.4 or later.
– If you plan to extract the server database to media, the preferred method is to
upgrade the source server to V5.5.6 or later.
To find the latest level of the V5 server and the latest interim fixes, go to the FTP
downloads site at ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/.
Planning space for the upgrade process and the upgraded server
Plan for the space requirements for the upgrade process, and for the server
database and recovery log for the upgraded server. Consider the disk storage
currently in use for the server, and whether changes in hardware can be timed to
coincide with the upgrade of the server.
The backup of the server database requires as much space as is used by your V5
database. Store the backup on the form of sequential media that is convenient for
you, either tape or disk.
Additional space requirements depend on the method that you choose for moving
the data from the V5 database:
Media method
You need media to store the data that will be extracted from the V5
database. The media can be tape, or disk space that is defined as a
sequential-access disk device class. The space required for the extracted
data is the same as the used space in your database. If your database is
safely backed up, and you are certain that you no longer need to run the
V5 server, after you extract the data you can optionally release the space
used by the V5 database and recovery log.
Network method
You must have the working copy of the V5 database and recovery log on
the V5 system. If you are working with a copy of the database that was
created for testing the upgrade process, you need enough space to hold the
total allocated size of the database; you can use the minimum size for a V5
recovery log.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
You need unique, empty directories for the following items for the upgraded
server:
v The database
v The recovery log
– Active log
– Archive log
– Optional: Active log mirror
– Optional: Secondary archive log (archive failover log)
v The instance directory for the server, which is a directory that will contain files
specifically for this server instance (the server options file and other
server-specific files)
Locate the database and the active log on fast, reliable storage, with high
availability characteristics. Ideally, use multiple directories for database space and
locate them across as many physical devices or logical unit numbers (LUNs) as
there are directories.
Place the database and recovery log directories on separate physical volumes or
file systems.
To maintain database integrity, ensure that the storage hardware can withstand
failures such as power outages and controller failure. You can improve database
performance by using hardware that provides a fast, nonvolatile write cache for
both the database and logs.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Related information:
Tivoli Storage Manager support site
The amount of storage space for the database is managed automatically. The
database space can be spread across up to 128 directories. After you specify the
directories for the database, the server uses the disk space available to those
directories as required.
Plan for 33 - 50% more than the space that is used by the V5 database. (Do not
include allocated but unused space for the V5 database in the estimate.) Some
databases can grow temporarily during the upgrade process; consider providing
up to 80% more than the space that is used by the V5 database.
Estimate the amount of space that the database will require by completing the
following steps:
38 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
When the server is operating normally, after the upgrade process, some operations
might cause occasional large, temporary increases in the amount of space used by
the database. Continue to monitor the usage of database space to determine
whether the server needs more database space.
For the best efficiency in database operations, anticipate future growth when you
set up space for the database. If you underestimate the amount of space that is
needed for the database and must add directories later, the database manager
might need to perform more database reorganization, which can consume
resources on the system. Estimate the requirements for database growth based on
the predicted number of additional objects to be stored in server storage. For more
information about estimating database space requirements, see the Administrator's
Guide.
Restriction: You cannot use raw logical volumes for the database. If you want to
reuse space on the disk where raw logical volumes were located for an earlier
version of the server, you must create file systems on the disk first.
For the latest information and recommendations, see the Tivoli Storage Manager
support website at http://www.ibm.com/support/entry/portal/Overview/
Software/Tivoli/Tivoli_Storage_Manager.
For details, see the section that describes recovery log space requirements in the
Installation Guide.
For the latest information and updates, go to the Tivoli Storage Manager support
site: http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager
The space requirements for the upgraded, V7.1 server depend on the size of the V5
database and other factors. For details, see “Database space requirements” on page
38 and “Recovery log space requirements.”
The space requirements for the upgrade process depend on how you move the
data from the V5 database to the new database. You can move the data to the new
database by using the media method or the network method, with the following
requirements:
v The media method requires sequential media. The sequential media can be tape
or sequential disk device class (FILE device type).
v The network method requires a network connection between systems, if you are
upgrading on a new system.
Table 18 shows basic tips for estimating each item, for each of the main scenarios.
For details about sizing the V7.1 database and recovery log, see “Space
requirements for the V7 server system” on page 38.
Table 18. Tips for estimating space requirements. Select the scenario. Then, read down the column.
Item that Type of Scenario 1: Scenario 2: Scenario 3: Scenario 4:
requires space space v Same system as v Same system as v New system v New system
V5 server V5 server v Media method v Network method
v Media method v Network method
V5 database: Disk Space that is Space that is 0 0
space allocated allocated for the V5 allocated for the V5
for the original database database
database
V5 database: final Sequential Space that is used Space that is used Space that is used Space that is used
backup copy media by the V5 database by the V5 database by the V5 database by the V5 database
(based on % (based on % (based on % (based on %
utilization) utilization) utilization) utilization)
V5 database: Sequential Space that is used 0 Space that is used 0
extracted data media by the V5 database by the V5 database
(based on % (based on %
utilization) utilization)
V5 recovery log Disk The amount of The amount of 0 0
space that is space that is
allocated for the V5 allocated for the V5
recovery log recovery log
V7.1 database: Disk Space that is used Space that is used Space that is used Space that is used
estimated size by the V5 database by the V5 database by the V5 database by the V5 database
plus 33 - 50% more plus 33 - 50% more plus 33 - 50% more plus 33 - 50% more
V7.1 database: Sequential Same as estimated Same as estimated Same as estimated Same as estimated
first backup media database size database size database size database size
V7.1 active log Disk 16 GB during the 16 GB during the 16 GB during the 16 GB during the
directory upgrade process. A upgrade process. A upgrade process. A upgrade process. A
higher value might higher value might higher value might higher value might
be needed for be needed for be needed for be needed for
normal use. normal use. normal use. normal use.
V7.1 active log Disk If used, same size If used, same size If used, same size If used, same size
mirror (optional) as active log as active log as active log as active log
V7.1 archive log Disk Estimate based on Estimate based on Estimate based on Estimate based on
directory client activity and client activity and client activity and client activity and
database backup database backup database backup database backup
frequency frequency frequency frequency
40 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Related concepts:
“Space requirements for the V5 server system” on page 37
“Space requirements for the V7 server system” on page 38
Related tasks:
Chapter 3, “Upgrade scenarios overview,” on page 73
Procedure
When you estimate the time it might take to migrate the system, consider the
results that were obtained in labs. For example, in benchmark environments in
IBM labs, upgrade operations achieved 5 - 10 GB per hour by using the network
method. This rate is based on the amount of space that is used by the V5 database,
42 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
not the allocated space for the database. Your environment might produce different
results. Results are dependent on system configuration. If you use the media
method, the rate is decreased.
Estimate the time that is required to migrate your system based on the amount of
data in the server database.
Results
Your estimate might be higher than the actual time that is required. Because of the
way that databases are structured, the amount of data that the extraction utility
extracts might be much less than the total amount of space that is used by the
database.
What to do next
Test upgrade operations for Tivoli Storage Manager servers that are used by
essential systems.
Procedure
1. Issue a command to obtain details about the V5 database.
v If the V5 server is running, issue the command:
query db format=detailed
v If the V5 server is not running and you have installed the upgrade utilities,
use the upgrade utility:
dsmupgrd querydb
An example of results:
Available Space (MB): 16,384
Assigned Capacity (MB): 16,364
Maximum Extension (MB): 20
Maximum Reduction (MB): 772
Page Size (bytes): 4,096
Total Usable Pages: 4,189,184
Used Pages: 3,214,880
Pct Util: 76.7
Max. Pct Util: 76.7
Physical Volumes: 8
Buffer Pool Pages: 8,192
Total Buffer Requests: 4,510
Cache Hit Pct.: 94.15
Cache Wait Pct.: 0.00
Backup in Progress?: No
Type of Backup In Progress:
Incrementals Since Last Full: 0
Changed Since Last Backup (MB): 12,558.12
Percentage Changed: 100.00
Last Complete Backup Date/Time: 07/02/2008 02:24:16 AM
Estimate of Recoverable Space (MB):
Last Estimate of Recoverable Space (MB):
Pages Available for Temp Objects: 197,632
Pages Allocated for Temp Objects: 0
Pages Used for Temp Objects: 0
2. Use the results of the query command to calculate the amount of data in the
database. Multiply the number of used pages by the page size.
Using the results in the example, you can calculate the amount of data in this
database:
3,214,880 used pages × 4096 bytes/page = 13,168,148,480 bytes, or 12.26 GB
3. Estimate the time that is required for the upgrade operation by dividing the
amount of data by the expected rate.
For example, by using rates of 5 GB/hour and 10 GB/hour:
12.26 GB ÷ 5 GB/hour = 2.5 hours
12.26 GB ÷ 10 GB/hour = 1.2 hours
The speed of the extraction process is typically limited by the speed of I/O to the
destination for the extracted data. The length of time that the process runs also
depends on the size of the database. The time will be approximately as long as the
time required for a full backup of the database.
Do not reorganize the Tivoli Storage Manager V5 database before the upgrade. The
extraction process can achieve faster throughput when the source database does
not contain long sequences of pages that are allocated to a single database table.
This tip applies to both the media method and the network method.
The following performance tips depend on the method that you choose for moving
the data from the V5 database.
Media method
If you are using the media method, consider the following tips:
v If you are extracting the data to tape, use a high-speed tape device. For
example, select a device with a transfer rate of at least 1000 MB per
second.
v If you are extracting the data to disk, use a disk device or LUN that is
different from the device that is used for the V5 database and recovery
log.
v If both the V5 database and the destination for the extracted data are on
a virtualization device (high-end storage controller, or a SAN
virtualization device), ensure that the two virtual LUNs are not on the
same physical disk drive. Ensure that the space for the V5 database and
the destination for the extracted data are on different physical disk
drives within the virtualization device.
v If it is not possible to provide different LUNs for the V5 database and
the extraction destination, the extraction process will take more time.
The slower speed of extraction might be acceptable, depending on the
size of the database and your requirements for the upgrade.
Network method
If you are using the network method, consider the following tips:
v Use a high-speed link if you are extracting the data to a different system.
If you are upgrading a database that is larger than 2 - 3 GB, use at least
a 1-gigabit (Gb) Ethernet network.
44 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
On a system that meets only the minimum requirements, the insertion process will
run, but performance might be slow. For better performance, set up the system as
described in the following tips:
Processors
The insertion process is designed to use multiple processors or cores. The
insertion process typically performs better on a system with a relatively
small number of fast processors. If the system has many slow processors,
you might experience reduced performance levels.
Disk storage
The insertion process is designed to use high-bandwidth disk storage
subsystems. The speed of the process is dependent on the disk storage that
is used.
For best performance, use multiple LUNs that map to multiple
independent disks, or that map to redundant arrays of independent disks
(RAIDs) with a large stripe size (for example, 128 KB). Use a different file
system on each LUN.
The following table shows an example of good usage of LUNs.
Table 20. Example of LUN use
LUN Usage
1 Active log
2 Archive log
3, 4, 5 Database directories
6 Extracted V5 database, which is required only if the media method
is used to extract the V5 database to a sequential disk device class
To use the new functions that are available in Tivoli Storage Manager V7.1, install
the latest version of the IBM Tivoli Storage Manager Operations Center.
If the upgraded servers are to remain on the same system, all server instances
must be upgraded at the same time. After the point in the upgrade process when
you install the V7.1 server program on the system, a V5 server cannot be started
on that system. Each V5 server must be upgraded separately before you can start
that server again.
If the upgraded servers are to be moved to a new system as part of the upgrade
process, you can upgrade the servers independently of one another.
You can use the upgrade wizard, or manually use the upgrade utilities to upgrade
the servers:
Procedure
v If you use the upgrade wizard, run the wizard once for each server instance.
You can upgrade multiple servers at the same time. Each time that you start the
upgrade wizard, you work with a single server, but you can start the wizard in
multiple windows at the same time.
v If you use the upgrade utilities manually from a command line, repeat the
procedure for upgrading each server instance.
What to do next
You can begin running one upgraded server instance while other server instances
are still being upgraded.
Related concepts:
“Comparison of upgrading on an existing system and a new system” on page 13
46 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
If library client servers are at V5.3 or earlier, you must upgrade the library client
servers to at least V5.4 before upgrading the library manager server to V7.1. If
library client servers are at V5.4 or later, you can upgrade the server that is the
library manager to V7.1 first, and then upgrade the library client servers later.
If you are moving a library manager or library clients to new systems for the
upgrade to V7.1, consider moving the servers to the new systems before upgrading
the servers. By moving the servers first, you can reestablish connectivity to all
servers and devices before the upgrade. Then upgrade the library manager,
followed by upgrading the library clients.
For the most recent information about supported levels of library clients, see the
following website: http://www.ibm.com/support/docview.wss?uid=swg21302789
Procedure
If you have storage agents at earlier versions, upgrade them to V7.1 before you
upgrade the server to V7.1. Verify that LAN-free data movement works as
expected before you upgrade the server.
What to do next
For the most recent information about supported levels of storage agents, go to the
following website: http://www.ibm.com/support/docview.wss?uid=swg21302789
The original server and the V7.1 server cannot both be installed on a system at the
same time. To evaluate the V7.1 server, you can install the program on a new
system.
To test with a copy of production data, or to test the upgrade process, you can use
the upgrade utilities to create a test server. Follow the normal upgrade procedure,
but consider these tips:
Important: When you run the DSMUPGRD PREPAREDB utility, the utility
upgrades the database version to a V5.5 fix pack level. If you do not want
the database on your production server to be upgraded to the V5.5 fix
pack level, back up the database and use the backup on another system to
test the upgrade.
You can extract the production database for the test by using either media
or the network. The advantage of extracting the database to media is that
you can repeatedly load the test database without stopping your
production server each time.
Detecting problems in the database
A PREVIEW parameter is available for the DSMSERV INSERTDB utility. When
you use the PREVIEW=YES parameter, the operation includes all the steps
of the process, except for the actual insertion of data into the new
database.
When you preview the insertion operation, you can quickly verify that the
source database is readable. You can also identify any data constraint
violations before you run the actual upgrade process for your server.
Investigate any data constraint violations that are discovered during the
preview so that you can avoid delays when you run the actual upgrade
process.
Protecting storage and stored data
Ensure that the storage devices for your production server are not available
to the test server. If the test server can detect the devices that your
production server uses, it might start operations such as issuing resets on
tape drives or unloading tapes.
For example, if your tape drives are connected in a storage area network
(SAN), you might need to change the zones in your SAN to prevent the
test server from detecting the devices.
For testing, you can use one of the following methods to use a backup copy of the
database. The methods are given in outline form. See the detailed procedures for
instructions for each step.
Related tasks:
Chapter 9, “General procedures for upgrading a server to V7.1,” on page 277
48 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
1. Prepare a test system. This system is a different system than the production
server, where you must install a separate copy of the V5.3, V5.4, or V5.5 server
(the same version as your production server).
2. Back up the database of the production server.
3. Restore the database backup on the test system. Start the server to verify that
the restore operation worked.
Tip: If you are upgrading the server by using media, ensure that the device
class is valid on the test system. For example, if you are using a FILE device
class for the extraction step, ensure that the path for the device class is valid on
the test system. The path that is in the server database for the device class must
be correct. If necessary, start the server and update the path.
If you are using a tape device class for the extraction step, ensure that the
device names for the library and drives are correct.
4. From this point, you can use the detailed procedures in one of the following
sections to complete your test:
Chapter 4, “Scenario 1: Same system, media method,” on page 91
Chapter 5, “Scenario 2: Same system, network method,” on page 135
You follow the steps in the procedures for Chapter 6, “Scenario 3: New system,
media method,” on page 177, with just a few changes.
With this process, the production server is unavailable for at least the amount of
time that is required to prepare and extract the database. The time is
approximately as much as the time required for a full backup of the database.
Procedure
1. Prepare for the test by backing up the database of the production server.
Consider making a second copy of the database backup. For details, see
“Scenario 3: Preparing for the upgrade” on page 177.
2. Install the DSMUPGRD utilities on the same system as the production server. For
details, see “Installing the upgrade utilities on the original server” on page 287.
3. Prepare the database and extract the data from the database of the production
server to media by using either the upgrade wizard or commands. For details,
see:
v “Scenario 3: Upgrading the server by using the upgrade wizard” on page 194
a. “Scenario 3, wizard: Installing the V7.1 server” on page 194
b. “Scenario 3, wizard: Creating the directories and the user ID for the
upgraded server instance” on page 198
c. “Scenario 3: Starting the upgrade wizard” on page 201
After the database extraction is completed, you can pause the process by
exiting the wizard while you complete step 4 to restore and restart the
production server.
v “Scenario 3: Upgrading the server manually by using utilities” on page 202
a. “Scenario 3: Preparing the database of a V5 server for upgrade” on page
203
b. “Scenario 3: Extracting the data to media” on page 204
4. After the data is extracted from the production server, resume normal
operations by restoring the database backup that you made in step 1 on page
49 to the production server. You can then restart the production server.
5. From this point, continue your test by using the detailed procedures for
Scenario 3, using the test system as the new system.
v If you are using the wizard, restart the wizard if necessary, and continue at
the step after the extraction.
v If you are using commands, follow these steps:
a. Scenario 3: Installing the V7.1 server
b. Scenario 3: Creating the directories and the user ID for the upgraded
server instance
c. “Scenario 3: Creating and formatting the new database” on page 212
d. “Scenario 3: Loading the extracted data into the new database” on page
216
As part of your testing, you can use the PREVIEW=YES parameter on
the DSMSERV INSERTDB utility to test the insertion. When you preview the
insertion operation, you can quickly verify that the source database is
readable. You can also identify any data constraint violations that might
prevent an upgraded database from being put into production. When you
use this parameter, the operation includes all steps of the process, except
for the actual insertion of data into the new database.
e. “Scenario 3: Configuring the system for database backup” on page 219
Procedure
Verify the operating procedures, scripts, and administrative schedules that you use
for server operations:
v Plan to back up the server database regularly by using administrative schedules,
a maintenance script, or your own scripts. Back up the server database at least
once per day. For best results, consider scheduling more frequent backups for
the V7.1 database than you did for the V5 database. To ensure that archive log
space is pruned, consider scheduling more full database backups and fewer
incremental backups.
Review information about how database backups are performed automatically
for the V7.1 server. For details, see the Administrator's Guide.
v Understand how database and recovery log space is used, and how monitoring
will change.
v Verify scripts and administrative schedules. The V7.1 server adds new
commands, changes some commands, and deletes some commands that are no
50 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
longer needed. These changes will affect your automated operations. For
information about new and changed commands, see “Command and option
changes.”
v Verify the SELECT commands that you use regularly. Some parameters and
syntax that were previously allowed are not accepted by the database manager
program. For information about SELECT command updates, see “Changes to the
SELECT command” on page 68. To resolve problems that are related to SELECT
commands, see Technote 1380830 (http://www.ibm.com/support/
docview.wss?uid=swg21380830).
v If you use products from independent software vendors to interface with the
server, ensure that the products are compatible with the V7.1 server.
What to do next
To use the new functions that are available in Tivoli Storage Manager V7.1, install
the latest version of the IBM Tivoli Storage Manager Operations Center.
Related concepts:
“Database protection and recovery” on page 5
“Recovery log” on page 4
“Database operations” on page 4
Related reference:
“Command and option changes”
“Changes to the SELECT command” on page 68
New commands
Table 21. New commands
Comparable commands
Command Function in previous versions
AUDIT LDAPDIRECTORY Audits a namespace that is controlled by Tivoli Storage None
Manager on a Lightweight Directory Access Protocol
(LDAP) server.
CANCEL REPLICATION Cancels all node replication processes. None
DEFINE ALERTTRIGGER Triggers an alert in the Operations Center whenever a None
server issues a specified error message.
AIX Linux
DEFINE Defines a device class for a type of storage device. A None
DEVCLASS - z/OS media limited set of device class types is available for devices
server that are accessed through the z/OS media server.
AIX Linux
DEFINE Defines a library that represents a TAPE or FILE None
LIBRARY (Define a ZOSMEDIA storage resource that is maintained by Tivoli Storage
library type) Manager for z/OS Media.
AIX LinuxDEFINE Defines a path to a ZOSMEDIA library. You must first None
PATH (Define a path when the define the z/OS media server in your configuration
destination is a ZOSMEDIA with the DEFINE SERVER command.
library)
DEFINE STATUSTHRESHOLD Defines a status monitoring threshold. None
DELETE STATUSTHRESHOLD Deletes a status monitoring threshold. None
EXTEND DBSPACE Makes more storage space available for the server to DEFINE DBVOLUME
use for its database.
EXTEND DB
You can have multiple locations for database storage
space. After you install and use the DSMSERV FORMAT or
DSMSERV LOADFORMAT utility, you can add more storage
locations.
IDENTIFY DUPLICATES Starts or stops processes that identify duplicate data in None
a storage pool.
PERFORM LIBACTION Defines or deletes all drives and their paths for a None
single library in one step.
QUERY ALERTSTATUS Displays information about alerts that are issued on None
the Tivoli Storage Manager server.
QUERY ALERTTRIGGER Displays which server messages are defined as alerts. None
QUERY DBSPACE Displays information about the directories that are QUERY DBVOLUME
used by a database to store data.
QUERY MONITORSETTINGS Displays information about the configuration settings None
for monitoring alerts and server status.
QUERY MONITORSTATUS Displays monitoring messages that are within a None
defined status retention period.
QUERY PVUESTIMATE Generates an estimate of the client devices and server None
devices that are managed by a Tivoli Storage Manager
server. In addition, this command provides an estimate
of the processor value unit (PVU) totals for server
devices.
QUERY REPLICATION Displays information about running and completed None
node-replication processes.
QUERY REPLNODE Displays the number of client node files that are stored None
on source and target replication servers.
QUERY REPLRULE Displays information about replication rules. None
QUERY SSLKEYRINGPW Displays the Secure Sockets Layer (SSL) key database None
file password.
QUERY STATUSTHRESHOLD Displays information about thresholds for status None
monitoring.
REMOVE REPLNODE Removes a client node from replication. None
52 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
AIX Linux
UPDATE Updates a device class. A limited set of device class None
DEVCLASS - z/OS media types is available for devices that are accessed through
server a z/OS media server.
z/OS ZMSPREPARE Analyzes the V5 server and generates a report that None
describes the steps that you must take before data
migration can begin.
New utilities
Table 22. New utilities
Comparable commands
Command Function in previous versions
DSMSERV DISPLAY DBSPACE Offline utility to view the current locations for DSMSERV DISPLAY
database storage. DBVOLUMES
DSMSERV DISPLAY LOG Offline utility to view information about recovery logs, DSMSERV DISPLAY
including active logs and archive logs. LOGVOLUMES
DSMSERV INSERTDB Offline utility that is used only for inserting data that None
was extracted from a V5 server database into an empty
V7.1 database.
DSMSERV REMOVEDB Offline utility that is used only when you are sure that None
you no longer need a server database and recovery
logs. Use with caution.
DSMUPGRD EXTEND DB Offline utility that is used only on a V5 server to None
extend the database when database space is
insufficient to complete the upgrade process.
54 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
REDUCE LOG
ALLOWREORGINDEX Specifies whether server-initiated index reorganization None
is enabled.
ARCHFAILOVERLOGDIRECTORY The directory in which the server stores archive log None
files if they cannot be stored in the archive log
location.
ARCHLOGDIRECTORY The directory in which the server stores the archive None
log.
CLIENTDEDUPTXNLIMIT The maximum size of a transaction when client-side None
deduplicated data is backed up or archived.
DBDIAGPATHFSTHRESHOLD The threshold for free space on the file system or disk None
that contains the db2diag.log file. When the amount
of free space is equal to or less than the specified
threshold, the ANR1545W error message is shown.
DBMEMPERCENT The limit on the percentage of the system memory None
that is used for the database.
DBMTCPPORT The port number on which the TCP/IP None
communication driver for the database manager waits
for requests for client sessions.
Table 23. New server options (continued). For some options, changes have no effect until the server is restarted.
Comparable
commands or options
New server option Function in previous versions
DEDUPTIER2FILESIZE Specifies at what file size Tivoli Storage Manager None
begins to use Tier 2 data deduplication.
DEDUPTIER3FILESIZE Specifies at what file size Tivoli Storage Manager None
begins to use Tier 3 data deduplication.
ENABLENASDEDUP Specifies whether a server deduplicates data that is None
stored by a network-attached storage (NAS) file server.
This option applies only to NetApp file servers.
FFDCLOGNAME The name of the first failure data capture (FFDC) log. None
FFDCMAXLOGSIZE The size of the FFDC log. None
LDAPCACHEDURATION The length of time that the Tivoli Storage Manager None
server caches LDAP password authentication
information.
LDAPURL The location of an LDAP directory server. None
MIRRORLOGDIRECTORY The directory where the log mirror for the active log is DEFINE LOGCOPY
stored.
NDMPENABLEKEEPALIVE Specifies whether the server enables the Transmission None
Control Protocol (TCP) keepalive function on network
data-management protocol (NDMP) control
connections to NAS devices.
NDMPKEEPIDLEMINUTES The amount of time, in minutes, before an operating None
system transmits the first TCP keepalive packet on an
NDMP control connection.
REORGBEGINTIME The earliest time that the Tivoli Storage Manager None
server can start table or index reorganization.
REORGDURATION The interval during which server-initiated table or None
index reorganization can start.
AIX Linux Solaris The amount of time that is allowed for host bus None
adapters to respond when they are queried by the
Windows
SAN discovery process.
SANDISCOVERYTIMEOUT
SERVERDEDUPTXNLIMIT The maximum size of objects that can be deduplicated None
on a server.
SSLFIPSMODE Specifies whether the Federal Information Processing None
Standards (FIPS) mode is in effect for SSL.
SSLTLS12 Controls Transport Layer Security (TLS) 1.2, an SSL None
protocol that is available for use with Tivoli Storage
Manager V6.3 or later. TLS 1.2 can be used only with
V6.3 or later clients.
56 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Updated commands
Table 24. Updated commands
Command Changes
BACKUP DB You must run the SET DBRECOVERY command
before the BACKUP DB command. By running
the SET DBRECOVERY command, you set the
device class for the database backup.
58 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
60 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
62 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
AIX Linux UPDATE PATH You can use this command to update a path
to a ZOSMEDIA library.
UPDATE SERVER You can use this command to specify
whether to use SSL during server-to-server
communications.
Updated utilities
Table 25. Updated utilities
Utility Changes
DSMSERV You can specify the owning user ID for the
server instance on startup. You can also
specify the user ID for other DSMSERV
utilities.
DSMSERV FORMAT Obsolete parameters are removed. New
parameters are available to specify the
directories for database space, and the
maximum size and locations of the recovery
log.
DSMSERV INSERTDB The CONFIGINFO parameter specifies the
device configuration information that is used
by the DSMSERV INSERTDB utility to load a
database.
64 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Deleted commands
Table 27. Deleted commands
Deleted command Comments
CONVERT ARCHIVE The operation that this command performed
is no longer needed.
DEFINE DBBACKUPTRIGGER Ensure that you schedule backups of the
DELETE DBBACKUPTRIGGER database to occur at least once per day.
QUERY DBBACKUPTRIGGER
UPDATE DBBACKUPTRIGGER
DEFINE DBCOPY Database volumes are no longer used.
DEFINE DBVOLUME Space allocation is done automatically in the
QUERY DBVOLUME directory locations specified for the database.
DEFINE LOGCOPY Instead of log volume copies, you can
specify a log mirror to have the active log
protected by a mirror copy.
DEFINE LOGVOLUME The database manager automatically
DELETE LOGVOLUME manages space in the recovery log
QUERY LOGVOLUME directories.
Deleted utilities
Table 28. Deleted utilities
Deleted utility Comments
DSMFMT Space allocation is done automatically in the
directory locations specified for the database.
DSMSERV AUDITDB Offline database audits are no longer
required.
66 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
When you start the server, you might receive warning messages about server
options that are not supported, but that cannot be found in this list of deleted
options. V5 releases tolerated the presence of some server options that were not
supported by the server. The V7.1 server flags such options by issuing warning
messages. You can ignore the error, or update the server options file and restart the
server.
Table 29. Deleted server options
Deleted option Comments
BUFPOOLSIZE The server adjusts the value of buffer pool
size dynamically.
DBPAGESHADOW The option is no longer needed.
DBPAGESHADOWFILE The option is no longer needed.
LOGPOOLSIZE The server uses its own fixed-size recovery
log buffer pool.
LOGWARNFULLPERCENT The option is no longer needed.
MIRRORREAD Mirroring of the active log is supported, but
MIRRORWRITE not of the database. Provide availability
protection for the database by locating the
database on devices that have high
availability characteristics.
SELFTUNEBUFPOOLSIZE The server adjusts the buffer pool size
dynamically.
You cannot use the LIKE predicate for a nested SELECT statement. For example, you
receive an error if you use the LIKE predicate as in this statement:
select * from volumeusage where volume_name like (select distinct volume_name
from volumeusage where node_name=’node1’)
To list the activity log entries for the last 60 seconds, use a statement similar to this
one:
select * from actlog where
TIMESTAMPDIFF(2,CHAR(current_timestamp-date_time)) <= 60
To list the activity log entries for the last 60 minutes, use a statement similar to this
one:
select * from actlog where
TIMESTAMPDIFF(4,CHAR(current_timestamp-date_time)) <= 60
68 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
The database objects that can be accessed by using the SELECT command are the
same as for earlier versions of the server, with some additions for new functions.
To retrieve information from more than one table, use a join process. Many types
of join processes can be used.
For example, the following command, which worked with earlier versions of the
server, no longer works:
select entity,activity,sum(bytes),sum(end_time-start_time),sum(affected),sum(failed),sum(mediaw)
from summary where entity in (select node_name from nodes) and
cast((current_timestamp-start_time)hours as decimal)<24 group by entity,activity
You can declare names for columns that are retrieved from multiple tables so that a
conditional statement can be run with the results that you want from the SELECT
command. For example:
select entity,activity,sum(bytes),sum(end_time-start_time),sum(affected),sum(failed),sum(mediaw)
from summary su, nodes nd where su.entity=nd.node_name and
cast((current_timestamp-start_time)hours as decimal)<24 group by entity,activity
Results when you use the SELECT command to get information from the DEVCLASSES
table have changed slightly for the DISK device class.
In previous releases, the SHARED field was blank (null) for the DISK device class.
Now, the SHARED field contains the value NO. The SHARED field does not apply to the
DISK device class, and the value NO can be ignored.
If the output includes trailing spaces, such as in the following tabschema output
example, you can use the RTRIM scalar function to remove them.
dsmadmc -errorlogn=errorlog -id=admin -pa=admin -comma -dataonly=y
’select tabschema,tabname from tables’
SYSCAT ,ATTRIBUTES
SYSCAT ,AUDITPOLICIES
SYSCAT ,AUDITUSE
For example, if you are writing scripts for automation and must strip out the
additional spaces, you can use the RTRIM scalar function:
select rtrim(tabschema) as tabschema, tabname from syscat.tables
Changes in how data types for arithmetic operations are handled might require
changes to SELECT commands that worked in earlier versions of the server.
For example, the following command causes an arithmetic overflow error because
of the SUM statement:
select node_name,sum(capacity) as capacity,
sum(capacity * (pct_util/100)) as used from filespaces group by node_name
To make the command compatible with V7.1, add the CAST function to convert the
items in the SUM statement to decimal data types:
select node_name,sum(capacity) as capacity,
sum(cast(capacity as decimal) * cast((pct_util/100) as decimal)) as used from
filespaces group by node_name
http://pic.dhe.ibm.com/infocenter/tsminfo/v7r1
Instance user ID
The instance user ID is used as the basis for other names that are related to the
server instance. The instance user ID is also called the instance owner.
The instance user ID is the user ID that must have ownership or read/write access
authority to all directories that you create for the database and the recovery log.
The standard way to run the server is under the instance user ID. That user ID
must also have read/write access to the directories that are used for any FILE
device classes.
70 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Windows
The database instance name is the name of the server instance as it is listed
in the registry.
For example: Server1
Instance directory
The instance directory is a directory that contains files specifically for a server
instance (the server options file and other server-specific files). It can have any
name that you want. For easier identification, use a name that ties the directory to
the instance name.
AIX HPUX Linux Solaris
You can create the instance directory as a subdirectory of the home
directory for the instance user ID. For example: /home/instance_user_ID/
instance_user_ID
The following example places the instance directory in the home directory
for user ID tsminst1: /home/tsminst1/tsminst1
You can also create the directory in another location, for example:
/tsmserver/tsminst1
The instance directory stores the following files for the server instance:
v The server options file, dsmserv.opt
v The server key database file, cert.kdb, and the .arm files (used by clients
and other servers to import the Secure Sockets Layer certificates of the
server)
v Device configuration file, if the DEVCONFIG server option does not specify
a fully qualified name
v Volume history file, if the VOLUMEHISTORY server option does not specify a
fully qualified name
v Volumes for DEVTYPE=FILE storage pools, if the directory for the
device class is not fully specified, or not fully qualified
v User exits
v Trace output (if not fully qualified)
Windows
You can use a name that includes the name of the server instance as it is
listed (or will be listed) in the registry. Default server instance names have
the form Serverx.
For example: C:\tsm\server1
The instance directory stores the following files for the server instance:
v The server options file, dsmserv.opt
v The server key database file, cert.kdb, and the .arm files (used by clients
and other servers to import the Secure Sockets Layer certificates of the
server)
v Device configuration file, if the DEVCONFIG server option does not specify
a fully qualified name
v Volume history file, if the VOLUMEHISTORY server option does not specify a
fully qualified name
v Volumes for DEVTYPE=FILE storage pools, if the directory for the
device class is not fully specified, or not fully qualified
v User exits
v Trace output (if not fully qualified)
Database name
The database name is always TSMDB1, for every server instance. This name cannot
be changed.
Server name
The server name is an internal name for Tivoli Storage Manager, and is used for
operations that involve communication among multiple Tivoli Storage Manager
servers. Examples include server-to-server communication and library sharing.
AIX Linux The server name is also used when you add the
Windows
server to the Operations Center so that it can be managed by using that interface.
Use a unique name for each server. For easy identification in the Operations Center
(or from a QUERY SERVER command), use a name that reflects the location or
purpose of the server.
Do not change the name of a Tivoli Storage Manager server after it is configured as
a hub or spoke server.
HPUX Use a unique name for each server. For easy identification from a QUERY
SERVER command, use a name that reflects the location or purpose of the server.
If you use the wizard, the default name that is suggested is the host name of the
system that you are using. You can use a different name that is meaningful in your
environment. If you have more than one server on the system and you use the
wizard, you can use the default name for only one of the servers. You must enter a
unique name for each server.
For example:
AIX HPUX Linux Solaris
PAYROLL
SALES
Windows
TUCSON_SERVER1
TUCSON_SERVER2
For more information about server names, see the Administrator's Guide.
The directories can be named according to local practices. For easier identification,
consider using names that tie the directories to the server instance.
72 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 3. Upgrade scenarios overview
You can upgrade the IBM Tivoli Storage Manager server on the same system or a
new system. You can use either a media method or a network method to move
data from the original server database to the upgraded server database.
Descriptions of the scenarios illustrate the order of steps for the different
approaches.
Select the scenario that you are interested in from the following table. The
scenarios are presented in overview form in this section, to summarize the steps
that are required in each case. To complete the procedure, follow the link from the
scenario overview to the detailed procedures.
Table 30. Links to scenario overviews
Scenario Location of upgraded server Method for moving data
“Scenario 1 for upgrading Same system as original Media method
the server: same system, server
media method”
“Scenario 2 for upgrading Same system as original Network method
the server: same system, server
network method” on page 78
“Scenario 3 for upgrading New system Media method
the server: new system,
media method” on page 82
“Scenario 4 for upgrading New system Network method
the server: New system,
network method” on page 86
Related concepts:
“Comparison of upgrading on an existing system and a new system” on page 13
“Comparison of methods for moving data to the V7.1 database” on page 15
You can use the wizard, or upgrade the server manually by using the utilities. The
wizard offers a guided approach to the upgrade of a server. By using the wizard,
you can avoid some configuration steps that are complex when done manually.
Related concepts:
“Comparison of upgrading on an existing system and a new system” on page 13
“Comparison of methods for moving data to the V7.1 database” on page 15
Related tasks:
Chapter 4, “Scenario 1: Same system, media method,” on page 91
74 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
V5 database tasks
Version 5 Tivoli
Storage Manager
server
Figure 1. Scenario 1
The following steps are a summary of the procedure for this scenario. If this
scenario matches your environment, see the details for the procedure: Chapter 4,
“Scenario 1: Same system, media method,” on page 91.
Procedure
1. Complete all preparation tasks, which include backing up the database.
2. Install the upgrade utilities package (DSMUPGRD) on the system. The utilities
package must be installed whether you are using the upgrade wizard or
performing the upgrade with utilities.
3. Prepare the V5 database by using the DSMUPGRD PREPAREDB utility.
4. Uninstall the V5 server code.
5. Install the V7.1 server code on the system.
6. Create the directories for the V7.1 database and logs, and the user ID that will
own the server instance.
7. Start the upgrade wizard to configure the new server and upgrade the V5
database. With the wizard, you complete the following tasks:
a. Extract the V5 database to external media.
b. Create and format an empty database to receive the data.
c. Insert the data from the media to which it was extracted.
d. Configure the system for database backup.
8. Complete the post-installation tasks, including backing up the database and
verifying the database contents.
76 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Version 5 Tivoli
Storage Manager
server
Figure 2. Scenario 1
The following steps are a summary of the procedure for this scenario. If this
scenario matches your environment, see the details for the procedure: Chapter 4,
“Scenario 1: Same system, media method,” on page 91.
Procedure
1. Complete all preparation tasks, which include backing up the database.
2. Install the upgrade utilities package (DSMUPGRD) on the system. The utilities
package must be installed whether you are using the upgrade wizard or
performing the upgrade with utilities.
3. Prepare the V5 database by using the DSMUPGRD PREPAREDB utility.
4. Uninstall the V5 server code.
5. Install the V7.1 server code on the system.
6. Create the directories for the V7.1 database and logs, and the user ID that will
own the server instance.
7. Extract the V5 database to external media by using the DSMUPGRD EXTRACTDB
utility.
8. Create and format an empty database to receive the data. The database is
created with the db2icrt command. The database is formatted by using the
DSMSERV LOADFORMAT utility.
9. Insert the data from the media to which it was extracted. You must have the
manifest file that was created as part of the extraction process. Use the
DSMSERV INSERTDB utility.
10. Configure the system for database backup.
11. Complete the post-installation tasks, including backing up the database and
verifying the database contents.
You can use the wizard, or upgrade the server manually by using the utilities. The
wizard offers a guided approach to the upgrade of a server. By using the wizard,
you can avoid some configuration steps that are complex when done manually.
Related concepts:
“Comparison of upgrading on an existing system and a new system” on page 13
“Comparison of methods for moving data to the V7.1 database” on page 15
Related tasks:
Chapter 5, “Scenario 2: Same system, network method,” on page 135
78 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
V5 database tasks
V7 database tasks
1. Preparation tasks. Back up the V5 database.
Figure 3. Scenario 2
The following steps are a summary of the procedure for this scenario. If this
scenario matches your environment, see the details for the procedure: Chapter 5,
“Scenario 2: Same system, network method,” on page 135.
Procedure
1. Complete all preparation tasks, which include backing up the database.
2. Install the upgrade utilities package (DSMUPGRD) on the system. The utilities
package must be installed whether you are using the upgrade wizard or
performing the upgrade with utilities.
3. Prepare the V5 database by using the DSMUPGRD PREPAREDB utility.
4. Uninstall the V5 server code.
5. Install the V7.1 server code on the system.
6. Create the directories for the V7.1 database and logs, and the user ID that will
own the server instance.
7. Start the upgrade wizard to configure the new server and upgrade the V5
database. With the wizard, you complete the following tasks:
a. Create and format an empty database to receive the data.
b. Move the data from the V5 database to the V7.1 database.
c. Configure the system for database backup.
8. Complete the post-installation tasks, including backing up the database and
verifying the database contents.
80 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Version 5 Tivoli
Storage Manager
server
Figure 4. Scenario 2
The following steps are a summary of the procedure for this scenario. If this
scenario matches your environment, see the details for the procedure: Chapter 5,
“Scenario 2: Same system, network method,” on page 135.
Procedure
1. Complete all preparation tasks, which include backing up the database.
2. Install the upgrade utilities package (DSMUPGRD) on the system. The utilities
package must be installed whether you are using the upgrade wizard or
performing the upgrade with utilities.
3. Prepare the V5 database by using the DSMUPGRD PREPAREDB utility.
4. Uninstall the V5 server code.
5. Install the V7.1 server code on the system.
6. Create the directories for the V7.1 database and logs, and the user ID that will
own the server instance.
7. Create and format an empty database to receive the data. The database is
created with the db2icrt command. The database is formatted by using the
DSMSERV LOADFORMAT utility.
8. Start the insertion process for the new server by using the DSMSERV INSERTDB
utility.
9. Start the extraction process from the V5 database by using the DSMUPGRD
EXTRACTDB utility.
10. Configure the system for database backup.
11. Complete the post-installation tasks, including backing up the database and
verifying the database contents.
You can use the wizard, or upgrade the server manually by using the utilities. The
wizard offers a guided approach to the upgrade of a server. By using the wizard,
you can avoid some configuration steps that are complex when done manually.
Related concepts:
“Comparison of upgrading on an existing system and a new system” on page 13
“Comparison of methods for moving data to the V7.1 database” on page 15
Related tasks:
Chapter 6, “Scenario 3: New system, media method,” on page 177
82 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
1. Preparation
database.
tasks. Back up the V5
Figure 5. Scenario 3
The following steps are a summary of the procedure for this scenario. If this
scenario matches your environment, see the details for the procedure: Chapter 6,
“Scenario 3: New system, media method,” on page 177.
Procedure
1. Complete all preparation tasks on the original system. Preparation includes
performing a database backup.
2. Install the DSMUPGRD utilities package on the original system. The utilities
package must be installed whether you are using the upgrade wizard or are
upgrading the server manually by using utilities.
84 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
2. Install
system.
DSMUPGRD utilities on the V5
4. Extract the V5 database to external 8. Insert data from media into the new
database. Run the DSMSERV
media. Run the DSMUPGRD INSERTDB utility.
EXTRACTDB utility.
Figure 6. Scenario 3
The following steps are a summary of the procedure for this scenario. If this
scenario matches your environment, see the details for the procedure: Chapter 6,
“Scenario 3: New system, media method,” on page 177.
Procedure
1. Complete all preparation tasks on the original system. Preparation includes
performing a database backup.
2. Install the DSMUPGRD utilities package on the original system. The utilities
package must be installed whether you are using the upgrade wizard or are
upgrading the server manually by using utilities.
3. On the original system, prepare the V5 database by using the DSMUPGRD
PREPAREDB utility.
4. On the original system, extract the V5 database to external media by using the
DSMUPGRD EXTRACTDB utility.
5. Install the V7.1 server code on the new system.
6. Create the directories for the V7.1 database and logs, and the user ID that will
own the server instance.
7. On the new system, create and format an empty database to receive the data.
The database is created with the db2icrt command. The database is formatted
by using the DSMSERV LOADFORMAT utility.
8. On the new system, insert the data from the media to which it was extracted.
You must have the manifest file that was created as part of the extraction
process. Use the DSMSERV INSERTDB utility.
9. Configure the system for database backup.
10. Complete the post-installation tasks, including backing up the database and
verifying the database contents.
You can use the wizard, or upgrade the server manually by using the utilities. The
wizard offers a guided approach to the upgrade of a server. By using the wizard,
you can avoid some configuration steps that are complex when done manually.
Related concepts:
“Comparison of upgrading on an existing system and a new system” on page 13
“Comparison of methods for moving data to the V7.1 database” on page 15
Related tasks:
Chapter 7, “Scenario 4: New system, network method,” on page 225
86 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
1. Preparation
database.
tasks. Back up the V5
Figure 7. Scenario 4
The following steps are a summary of the procedure for this scenario. If this
scenario matches your environment, see the details for the procedure: Chapter 7,
“Scenario 4: New system, network method,” on page 225.
Procedure
1. Complete all preparation tasks on the original system. Preparation includes
performing a database backup.
2. Install the DSMUPGRD utilities package on the original system. The utilities
package must be installed whether you are using the upgrade wizard or are
upgrading the server manually by using utilities.
3. Install the V7.1 server code on the new system.
4. Create the directories for the V7.1 database and logs, and the user ID that will
own the server instance.
5. Start the upgrade wizard to configure the new server and upgrade the V5
database. With the wizard, you complete the following tasks:
a. On the original system, prepare the V5 database.
b. On the new system, create and format an empty database to receive the
data.
c. Move the data from the V5 database to the V7.1 database.
d. Configure the new system for database backup.
6. Complete the post-installation tasks, including backing up the database and
verifying the database contents.
88 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Figure 8. Scenario 4
The following steps are a summary of the procedure for this scenario. If this
scenario matches your environment, see the details for the procedure: Chapter 7,
“Scenario 4: New system, network method,” on page 225.
Procedure
1. Complete all preparation tasks on the original system. Preparation includes
performing a database backup.
2. Install the DSMUPGRD utilities package on the original system. The utilities
package must be installed whether you are using the upgrade wizard or are
upgrading the server manually by using utilities.
3. On the original system, prepare the V5 database by using the DSMUPGRD
PREPAREDB utility.
4. Install the V7.1 server code on the new system.
5. Create the directories for the V7.1 database and logs, and the user ID that will
own the server instance.
6. On the new system, create and format an empty database to receive the data.
The database is created with the db2icrt command. The database is formatted
by using the DSMSERV LOADFORMAT utility.
7. On the new system, start the insertion process for the new server. Use the
DSMSERV INSERTDB utility.
8. On the original system, start the extraction process for the V5 database by
using the DSMUPGRD EXTRACTDB utility.
9. Configure the system for database backup.
10. Complete the post-installation tasks, including backing up the database and
verifying the database contents.
90 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 4. Scenario 1: Same system, media method
Use this procedure if you are upgrading the Tivoli Storage Manager server on the
same system as the V5 server, and you are using the media method to move the
data.
Procedure
The procedure for upgrading the server includes the following tasks:
1. “Scenario 1: Preparing for the upgrade”
2. “Scenario 1: Installing the upgrade utilities” on page 100
3. “Scenario 1: Preparing the database of a V5 server for upgrade” on page 107
4. “Scenario 1: Uninstalling the V5 program before installing V7.1” on page 109
5. “Scenario 1: Installing the V7.1 server” on page 111
6. “Scenario 1: Creating the directories and the user ID for the upgraded server
instance” on page 115
7. Upgrading the server, by using one of the following methods:
v “Scenario 1: Upgrading the server by using the upgrade wizard” on page 118
v “Scenario 1: Upgrading the server manually by using utilities” on page 120
8. The following tasks are completed after the upgrade:
a. “Verifying access to storage pools on disk” on page 323
b. “Setting up Solaris services for the server instance” on page 324
c. “Configuring server options for server database maintenance” on page 324
d. “Starting the server instance after the upgrade” on page 325
e. “Registering licenses” on page 334
f. “Backing up the database after upgrading the server” on page 335
g. “Verifying the upgraded server” on page 336
h. “Changing the host name for the Tivoli Storage Manager server” on page
336
i. “Updating automation” on page 338
j. “Monitoring the upgraded server” on page 339
k. “Removing GSKit Version 7 after upgrading to Tivoli Storage Manager
V7.1” on page 340
Follow the preparation steps carefully to protect your server and its data.
Procedure
1. “Scenario 1: Checking the prerequisites for the upgrade”
2. “Scenario 1: Preparing space for the upgrade process” on page 95
3. “Scenario 1: Modifying the server before the upgrade” on page 96
4. “Scenario 1: Disabling sessions” on page 97
5. “Scenario 1: Backing up storage pools and the server database” on page 98
6. “Scenario 1: Moving the NODELOCK file” on page 98
7. “Scenario 1: Backing up configuration information” on page 99
8. “Scenario 1: Creating a summary of database contents” on page 99
9. “Scenario 1: Stopping the server before installing the upgrade” on page 100
Related tasks:
“Reverting from V7.1 to the previous V5 server version” on page 351
Requirement: If you are upgrading the Tivoli Storage Manager server on the same
system, the system must meet the minimum requirements for both the V5 and V7.1
servers.
Procedure
1. Ensure that the server that you plan to upgrade is at the V5.5 release level, and
that the latest interim fix is installed. For example, if the server is at V5.5.6,
install the latest interim fix for V5.5.6. Take the following actions:
a. Select the appropriate server level. For detailed guidelines, see
“Determining the appropriate level for a V5 server before an upgrade” on
page 36. If the server is at an appropriate level, no action is required.
b. If the server is not at an appropriate level, download the appropriate server
fix pack and the latest interim fix from the FTP downloads site at
ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server/. Locate the appropriate version of Tivoli Storage
Manager and install it.
2. Ensure that the system where the V5 server is located meets the minimum
requirements. Review the information in “Hardware and software requirements
for the V5 server system that is being upgraded” on page 17 to determine
whether you must update your system before you continue.
3. Ensure that the system where you plan to install the V7.1 server meets
requirements for the operating system type and level. For the latest information
about system requirements, see Tivoli Storage Manager Supported Operating
Systems (http://www.ibm.com/support/docview.wss?uid=swg21243309).
If you are upgrading Tivoli Storage Manager to a different operating system, a
limited set of migration paths is available. For instructions about migrating a
server that is running on a z/OS operating system, see Part 3, “Migrating Tivoli
Storage Manager V5 servers on z/OS systems to V7.1 on AIX or Linux on
System z,” on page 437. For instructions about migrating a server that is
92 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
If you are upgrading from Tivoli Storage Manager V5 to V7.1 on a new system,
restrictions apply. Ensure that you install the V7.1 server in a compatible
hardware and software environment, as described in the following table.
Table 32. Requirements for upgrading from V5 to V7.1 on a new system
V5 server V7.1 server Comments
AIX running on an IBM AIX running on an IBM
POWER system POWER system
HP-UX running on an HP-UX running on an
Itanium system Itanium system
HP-UX running on a HP-UX running on an HP-UX running on PA-RISC
PA-RISC system Itanium system is not supported for V7.1
servers.
Linux running on an IBM Linux running on an IBM
POWER system POWER system
Linux running on an Itanium Linux running on an x86_64 Linux running on Itanium is
system (IA64) system not supported for V7.1
servers.
Linux running on an x86_32 Linux running on an x86_64 Linux running on x86_32 is
system system not supported for V7.1
servers.
Linux on System z Linux on System z
Table 32. Requirements for upgrading from V5 to V7.1 on a new system (continued)
V5 server V7.1 server Comments
Solaris running on an x86_64 Operating system depends A V7.1 server cannot be
system on the migration method installed on a Solaris x86_64
system. However, you can
migrate a V5 server that is
running on a Solaris x86_64
operating system to V7.1 on
a Linux x86_64 operating
system. For instructions, see
Part 2, “Migrating Tivoli
Storage Manager V5 servers
on AIX, HP-UX, or Solaris
systems to V7.1 on Linux,”
on page 355.
4. Verify that the system memory meets the server requirements. If you plan to
run multiple instances of the V7.1 server on the system, each instance requires
the memory that is listed for one server. Multiply the memory for one server by
the number of instances that are planned for the system.
For specific information about memory requirements, see the section for your
operating system:
Table 33. Memory requirements for the V7.1 system
Operating system Memory requirements
AIX “Server requirements on AIX systems” on
page 21
HP-UX “Server requirements on HP-UX systems” on
page 24
Linux “Server requirements on Linux systems” on
page 26
Solaris “Server requirements on Solaris systems” on
page 31
94 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
5. Ensure that the system has enough disk storage for the database and recovery
logs. Review the planning information for requirements and guidance.
You can take one of two approaches:
v Ensure that the system has enough disk storage for storing database and
recovery logs for both the original server and the new V7.1 server. Both are
stored on disk storage during the upgrade process.
v After you back up the V5 database and extract the data to media, reconfigure
the disk subsystem that is 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 servers.
If you are adding new hardware for the server, such as new disk storage for
the database, ensure that the hardware is installed and running.
Related concepts:
“Hardware and software requirements for upgrading to the V7.1 server” on page
17
Procedure
1. Verify that the system has the amount of space that was estimated in the
planning step. Use the planning worksheet that you completed with your
information. See “Worksheet for planning space for the V7.1 server” on page
42.
2. Ensure that you have space available for storing the database and the manifest
file that the extraction process creates.
a. Identify the device class to which you will extract the original database. The
definition must exist in the server database, not just in the device
configuration file. View information about devices classes by issuing the
command:
query devclass format=detailed
The device class must be a sequential device class that has volumes or space
available. Define a new device class if necessary. The device class type
cannot be NAS or CENTERA.
Important: You must confirm now that the definition that is in the server
database for the device class is correct. After you prepare the database for
upgrade (by completing the Prepare Database phase in the upgrade wizard,
or by using the DSMUPGRD PREPAREDB utility), you cannot update this device
class definition. For example, check the path for a FILE device class. If you
copied the original server to a different system to extract the data, the path
might be different on the current system.
b. Ensure that space or volumes are available in the selected device class. The
amount of space that you need is about the same as the current size of the
original database.
For example, if the device class is FILE, ensure that the directory has
sufficient space for your environment. If the device class is TAPE, ensure
that sufficient scratch volumes are available for your environment.
Ensure that the instance user ID that you create for the upgraded server has
access permission to the location of the extracted data.
c. Check that the access permissions are correct for the location that you plan
to specify for the manifest file.
The user ID that will run the database preparation and extraction utilities
(DSMUPGRD PREPAREDB and DSMUPGRD EXTRACTDB) must have write access to
this file. This is typically the root user ID.
When the data is later inserted into the V7.1 database, the instance user ID
that you use for the upgraded server must have access permission for the
manifest file.
The manifest file is typically less than 1 KB.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Procedure
1. From a Tivoli Storage Manager administrative command line, issue the
command:
convert ussfilespace
This command fixes a problem that might exist in older Tivoli Storage Manager
databases. If the problem does not exist in your database, the command is
completed and you might see error ANR2034E. This error can be ignored. For
more information, see Technote 1408895 (http://www.ibm.com/support/
docview.wss?uid=swg21408895). If the problem exists in your database, the
command might take some time to run.
Important: Do not skip this step. If your database has the problem and you do
not run this command now, the DSMUPGRD PREPAREDB utility fails when you run
it. You must then restart the V5 server and run the CONVERT USSFILESPACE
command before you continue the upgrade process.
2. Review the steps for reverting to the earlier version of the server in the section,
“Reverting from V7.1 to the previous V5 server version” on page 351.
If you must revert to the earlier version after the upgrade to V7.1, the results of
the reversion will be better if you understand the steps and prepare for the
possibility now.
3. Make the following adjustments to settings on your server and clients. These
adjustments must be done to make it possible for you to revert to the original
server after the upgrade, if problems occur.
a. For each sequential-access storage pool, set the REUSEDELAY parameter to the
number of days during which you want to be able to revert to the original
server, if necessary.
96 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
For example, if you want to be able to revert to the original server for up to
30 days after the upgrade to V7.1, set the REUSEDELAY parameter to 31 days.
Issue the following administrative command:
update stgpool sequential_access_storage_pool reusedelay=31
b. For each copy storage pool, set the RECLAIM parameter to 100 (meaning
100%). Issue the following administrative command:
update stgpool copy_storage_pool reclaim=100
c. If you typically use a DELETE VOLHISTORY command to delete database
backups, ensure that the command does not delete database backups too
frequently. The interval between backups should be at least the same
number of days that you set for the REUSEDELAY period for sequential-access
storage pools. For example, to delete database backups every 45 days, issue
the following administrative command:
delete volhist type=dbbackup todate=-45
d. For important clients that use the server, verify that the value for the
schedlogretention client option is set to retain the client schedule log for a
sufficient time. Update the option for clients if needed.
The entries in the client schedule log might be useful if the server must
revert to the original version. If the retention period for the schedule log is
too short, the schedule log information might be deleted too soon.
For example, to prune the log every 45 days and save the log entries, add
the following option:
schedlogretention 45 S
AIX HPUX Linux Solaris Add the option to the dsm.sys file
within a server stanza.
Windows Add the option to the client options file, dsm.opt.
Procedure
1. Prevent all clients, storage agents, and other servers from starting new sessions
with the server. Use the commands:
disable sessions client
disable sessions server
For more information about these commands and other Tivoli Storage Manager
administrative commands, see the Administrator's Reference.
2. Verify whether any sessions exist, and notify the users that the server is going
to be stopped. To check for existing sessions, use the command:
query session
3. Cancel sessions that are still running. Use the command:
cancel session all
Back up storage pools and the server database by using Tivoli Storage Manager
administrative commands:
Procedure
1. Back up primary storage pools to copy storage pools by using the BACKUP
STGPOOL command:
backup stgpool primary_pool copy_stg
where primary_pool specifies the primary storage pool and copy_stg specifies the
copy storage pool. If you have been performing regular backups of the storage
pools, this step backs up only the data that was added to the primary storage
pools since they were last backed up.
2. Back up the database. The preferred method is to use a snapshot backup. A
snapshot backup is a full database backup that does not interrupt any
scheduled database backups. Issue the command:
backup db type=dbsnapshot devclass=device_class_name
The device class that you specify must exist and have volumes that are
available to it. For example, to perform a snapshot backup of your database to
the TAPECLASS device class by using scratch volumes, enter:
backup db type=dbsnapshot devclass=tapeclass
To use specific volumes instead of scratch volumes, specify the volume names
in the command.
Tip: Consider making two copies of the backup to protect the backup from
media failures. Ensure that at least one full database backup is available onsite.
If you must restore the database after a failed upgrade, having an onsite
backup database saves time.
The NODELOCK file contains the licensing information from the previous Tivoli
Storage Manager installation. This licensing information is replaced when the
upgrade is complete.
Procedure
1. In the server instance directory of your installation, locate the NODELOCK file.
2. Move the NODELOCK file to another directory. For example, you can save it to a
directory where you are saving configuration files from the previous release.
98 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
1. Back up device configuration information to another directory by using the
following Tivoli Storage Manager administrative command:
backup devconfig filenames=file_name
where file_name specifies the file in which to store volume history information.
Ensure that the volume history includes information about the database backup
that you completed in the preceding steps. For example, issue the following
command:
query volhistory type=dbsnapshot
Review the query output to verify that the time stamp for the database backup
matches the actual time of the backup.
3. Save copies of the following files, which are in the server instance directory:
v Server options file, typically named dsmserv.opt
v dsmserv.dsk
Procedure
Run commands that give a summary of information about your database contents.
For example, issue commands that summarize the file spaces that are being
protected, and save the results. For a list of commands, see “Sample commands to
run for validation of the database upgrade” on page 546.
Related reference:
“Sample commands to run for validation of the database upgrade” on page 546
Procedure
Allow time for the processes to be stopped. Some processes, such as storage
pool migration, might take some time to stop.
For more information about the QUERY PROCESS and CANCEL PROCESS commands
and other Tivoli Storage Manager administrative commands, see the
Administrator's Reference.
2. After all sessions and processes are stopped, determine whether any tapes are
mounted. Unmount any tapes that are mounted. Use the following commands:
query mount
dismount volume volume_name
3. Stop the server. Use the following command:
halt
The preferred method is to install the latest available version of the upgrade
utilities. For more information about selecting the version, see “Determining the
appropriate level for a V5 server before an upgrade” on page 36.
Procedure
100 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The
5.5.x.x number must be the same as or later than the level of the V5
server that you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-AIX.tar.gz
The numbers at the beginning of the package name identify the release
level of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Ensure that the system has the following file sets installed:
xlC.rte 8.0.0.5, or later
gsksa.rte 7.0.4.11
You can use the following commands to check for these file sets:
lslpp -L xlC.rte
lslpp -L gsksa.rte
If needed, you can obtain the gsksa.rte file set from any of the regular V5.5
maintenance packages for the AIX server. The maintenance packages are
available on the FTP downloads site: ftp://public.dhe.ibm.com/storage/tivoli-
storage-management/maintenance/server/v5r5/AIX/
4. Extract the contents of the upgrade utilities package. If you downloaded a
language package, also extract the contents of that package.
5. Navigate to the directory that corresponds to the processor architecture of the
operating system.
6. Access the System Management Interface Tool (SMIT).
a. Enter smitty install_update
b. Select Install and Update Software > Install and Update from ALL
Available Software.
7. Select the INPUT device. Specify the directory location of the upgrade utilities
package on the system.
8. Select Software to Install. Press F4 or Esc+4 for the list of available file sets in
the directory.
9. Select the file sets for the upgrade utilities, the device driver, and optionally
the language package. The file set for the upgrade utilities is
tivoli.tsmupg.server. Optional language packages include messages for
languages other than US English.
10. Set COMMIT software updates to Yes. Press F4 or Esc+4.
11. Set SAVE replaced files to No.
12. Ensure that the default settings for the options in the window for all the
selected file sets show success.
13. Press Enter, and respond to the ARE YOU SURE? question by pressing Enter
again. The installation begins.
14. When the installation is complete, exit the SMIT program.
15. Optional: If you installed a language package, ensure that the locale
environment variable is set to use it. Enter the following command to set the
locale environment variable for messages:
export LC_MESSAGES=xxxx
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
16. After the upgrade utilities are installed, continue at “Scenario 1: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 106.
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.gz
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
102 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
7. After the upgrade utilities are installed, continue at “Scenario 1: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 106.
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Open the directory for your operating system and download the package.
The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.bz2
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the commands:
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
4. Navigate to the directory that corresponds to the processor architecture of the
operating system, for example, x86_64.
5. Install the upgrade utilities and the device driver. Use the following command:
rpm -ivh package_name.rpm
The utilities are installed in the directory /opt/tivoli/tsm/upgrade/bin by
default.
6. Optional: Install the language package.
a. Extract the contents of the downloaded package.
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
b. Install the package for the language that you want to use.
rpm -ivh package_name.rpm
c. Enter the following command to set the locale environment variable for
messages:
export LC_MESSAGES=xxxx
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
7. After the upgrade utilities are installed, continue at “Scenario 1: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 106.
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
104 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Restriction: Do not install the utilities in the installation directory of the server that
must be upgraded. Install the utilities package in its own directory.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.Z
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Change to the directory where the upgrade utilities package was downloaded.
4. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
uncompress -c package_name.tar.Z | tar -xvf -
5. Navigate to the directory that corresponds to the processor architecture of the
operating system.
6. Install the upgrade utilities and the device driver. Use the source argument (-d)
to specify the directory where the package was extracted. For example, if the
directory is /tmp/TSM, issue the command:
pkgadd -d . /tmp/TSM package_name
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
After installing the upgrade utility package, you must set environment variables in
the shell from which you will run the utilities. An environment variable describes
the operating environment of a process, such as the home directory or terminal in
use.
The DSMSERV_DIR variable specifies the installed location of the upgrade utilities. By
default, the location is the following directory:
AIX
/usr/tivoli/tsm/upgrade/bin
/opt/tivoli/tsm/upgrade/bin
Procedure
Use the appropriate command for your system to set the environment variable for
running the utilities. If the shell is in the ksh or bash family, enter the following
command to set the DSMSERV_DIR variable:
export DSMSERV_DIR=upgrade_utilities_directory
What to do next
After you set the environment variables, continue at “Scenario 1: Preparing the
database of a V5 server for upgrade” on page 107.
106 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/WIN
b. Open the 5.5.x.x directory. The 5.5.x.x number must be the same as or
later than the level of the V5 server that you are upgrading.
c. Select the package and download it to a convenient location on the server
system. The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-Windows.exe
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, install the
language package that your installation requires.
2. Log on with an administrator ID.
3. Run the executable package for the upgrade utilities.
The default location for the installation of the utilities is based on the location
where the V5 server was last installed. For example, if the V5 server was
installed using the default path, C:\Program Files\Tivoli\TSM\server, the
upgrade utilities are installed in C:\Program Files\Tivoli\TSM\upgrade.
What to do next
After the upgrade utilities are installed, continue at “Scenario 1: Preparing the
database of a V5 server for upgrade.”
Tip: When you use the upgrade utilities, if you have multiple servers running on
the system, you must use the -k option to specify the name of the Windows
registry key from which to retrieve information about the server being upgraded.
The default value for the option is SERVER1.
Procedure
1. Ensure that you have completed all preparation steps.
2. Log in using the root user ID on the system that has the original server. Log on
with the administrator ID on a Windows system.
3. Change to the instance directory for the server that you are upgrading. The
instance directory is the directory that contains the files such as dsmserv.dsk for
the server.
Windows
From the instance directory for the server that you are upgrading, issue
the following command to run the process and direct the output to the
file called prepare.out:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd"
preparedb 1>>prepare.out 2>&1
If multiple servers exist on the system, issue the command from the
instance directory for the server that you want to prepare. Specify the
registry key for that server. For example, if the server is SERVER2:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd" -k server2
preparedb 1>>prepare.out 2>&1
5. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation. From the instance directory for the
server that you are upgrading, issue the following command to monitor the
process:
tail -f prepare.out
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
6. Ensure that the prepare operation is completed successfully before you continue
to the next step. If the prepare operation fails, you might need to restart the V5
server to fix the problem and run the prepare operation again. If the server that
is being upgraded is a V5.3 or V5.4 server, you might need to restore the
database by using a backup before you can restart the server to correct the
problem.
Related reference:
“DSMUPGRD PREPAREDB (Prepare a V5 database for upgrade)” on page 523
108 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
v For a V5.4 or V5.5 server, issue the following commands:
/usr/sbin/installp -ug tivoli.tsm.license.aix5.rte64
/usr/sbin/installp -ug tivoli.tsm.devices.aix5.rte
/usr/sbin/installp -ug tivoli.tsm.server.aix5.rte64
v For a V5.3 server, issue the following commands:
/usr/sbin/installp -ug tivoli.tsm.license
/usr/sbin/installp -ug tivoli.tsm.devices
/usr/sbin/installp -ug tivoli.tsm.server
What to do next
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
v For a V5.4 or V5.5 server, issue the following commands:
swremove TIVsmS64IA.server
swremove TIVsmS64IA.license
swremove TIVsmDD64_IA11_23.tsmscsi
What to do next
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
1. To determine the Tivoli Storage Manager packages that are installed, issue the
following command:
rpm -qa | grep TIVsm
2. Remove the server, server license, and device driver packages. Issue the
following commands:
rpm -e TIVsm-server
rpm -e TIVsm-license
rpm -e TIVsm-tsmscsi
What to do next
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
What to do next
110 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Uninstall the V5 server and server license. Do not remove the database, recovery
log, or any other related files or directories, such as the server options file.
Procedure
1. Click Start > Control Panel > Add or Remove Programs.
2. Select the Tivoli Storage Manager server component, and click Remove.
For this step and all remaining steps, if you see any messages that suggest that
you restart the system, ignore them until the selected Tivoli Storage Manager
component is removed.
3. Select the Tivoli Storage Manager license, and click Remove.
4. Determine whether the device driver must be uninstalled.
Do not uninstall the device driver if the following conditions are true:
v You are migrating the server database to a tape device.
v The tape drive or tape changer uses the Tivoli Storage Manager device
driver.
If the conditions are not true, uninstall the device driver.
5. To uninstall the device driver, select the Tivoli Storage Manager device driver,
and click Remove.
What to do next
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage® or the Tivoli Storage Manager support
site.
AIX HPUX LinuxIf you plan to download the files, set the
Solaris
system user limit for maximum file size to unlimited to ensure that the files can be
downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
Procedure
1. Log on to the system.
AIX HPUX Linux Solaris Log in by using the root user ID.
Log on as an administrator. You must be logged on to the system
Windows
with the administrative user ID that was used to install the V5 server.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
AIX HPUX Linux Solaris
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035635
v System Storage® Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
Also, ensure that you have executable permission for the package
file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
112 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
AIX
7.1.0.000-TIV-TSMSRV-AIX.bin
HPUX
7.1.0.000-TIV-TSMSRV-HP-UX.bin
Linux
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
7.1.0.000-TIV-TSMSRV-Linuxs390x.bin
Solaris
7.1.0.000-TIV-TSMSRV-SolarisSPARC.bin
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035121
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035636
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035638
b. Change to the directory where you placed the executable file.
In the next step, the files are extracted to the current directory. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
c. To extract the installation files, double-click the executable file:
package_name.exe
where package_name is like this example:
7.1.0.000-TIV-TSMSRV-Windows.exe
The package is large. Therefore, the extraction takes some time.
4. AIX HPUX Solaris To ensure that the Tivoli Storage Manager
wizards work correctly, verify that the following command is enabled:
AIX lsuser
HPUX Solaris logins
By default, the command is enabled.
5. If you plan to install the server by using the graphical wizard of IBM
Installation Manager, review the following information and verify that your
system meets the requirements:
v AIX Verify that all required RPM files are installed. For a list of
required RPM files and instructions about installing RPM files, see the
section about installing Tivoli Storage Manager by using the installation
wizard in the Installation Guide.
v Verify that the operating system is set to the language that you require. By
default, the language of the operating system is the language of the
installation wizard.
v Windows The user ID that you use during installation must be a user with
local Administrator authority.
v Solaris Ensure that the LD_LIBRARY_PATH_64 environment variable is not
set.
Windows
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Windows Or, in the directory where the
installation files were extracted,
double-click the install.bat file.
114 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
7. If you are installing the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
8. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
9. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
10. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
11. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
12. HPUX Linux Solaris To prevent server failures during interaction
with DB2, tune the kernel parameters.
For instructions, see the section about tuning kernel parameters in the
Installation Guide.
13. Optional: To install an additional language package, use the modify function
of the IBM Installation Manager.
14. Optional: To upgrade to a newer version of a language package, use the
update function of the IBM Installation Manager.
Related concepts:
Appendix E, “Services associated with the Tivoli Storage Manager server,” on page
555
Scenario 1: Creating the directories and the user ID for the upgraded
server instance
Create the directories that the server instance needs for database and recovery logs,
and create the user ID that will own the server instance.
Review the information about planning space for the server before you complete
this task. See “Worksheet for planning space for the V7.1 server” on page 42.
Procedure
1. Create the user ID that will own the server instance. You use this user ID when
you create the server instance in a later step.
AIX HPUX Linux Solaris
Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance.
Chapter 4. Scenario 1: Same system, media method 115
Upgrading the server from V5 to V7.1
HPUX
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
Linux
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
Solaris
# groupadd tsmsrvrs
# useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
b. Log out and then log in to your system by using the new user ID
and password. Use an interactive login program, such as telnet, so
that you are prompted for the password and can change it if
necessary.
c. If a configuration profile does not exist for the user ID, create the
file. For example, create a .profile file if you are using the Korn
shell (ksh).
Windows
Identify the user account that will own the Tivoli Storage Manager
server instance. When the server is started as a Windows service, this is
the account that the service will log on to. The user account must have
administrative authority on the system. One user account can own
more than one server instance.
You can create a user account, or use an existing account.
If you have multiple servers on one system and want to run each
server with a different user account, create a user account in this step.
a. Create the user ID.
116 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
You are prompted to create and verify a password for the new user
ID.
b. Issue the following operating system commands to add the new
user ID to the Administrators groups:
net localgroup Administrators user_ID /add
net localgroup DB2ADMNS user_ID /add
c. Log in to your system, by using the new user ID and password.
d. For all directories that were created for the server instance, ensure
that the user ID for the server instance has read/write access. The
directories to check include the instance directory and all database
and log directories.
2. Create the directories that the server requires. Ensure that you are logged in
under the new user ID that you created.
You need a unique, empty directory for each item in the following table. Create
the database directories, the active log directory, and the archive log directory
on different physical volumes. For space requirements, see “Worksheet for
planning space for the V7.1 server” on page 42.
AIX HPUX Linux Solaris
Windows
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
3. Create additional logical volumes and mount the volumes on the directories
that were created in the previous step.
What to do next
You must complete all preceding steps to prepare for the upgrade, to install the
upgrade utilities, to install the V7.1 server program, and to create the directories
and user ID for the server instance.
118 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
1. Ensure that the following requirements are met.
AIX HPUX Linux Solaris
v The system must have the X Window client. You must also be
running an X Window server on your desktop.
v The system must have one of the following protocols enabled. Ensure
that the port that the protocol uses is not blocked by a firewall.
– Secure Shell (SSH). Ensure that the port is set to the default value,
22. Also, ensure that the SSH daemon service has access rights for
connecting to the system by using localhost.
– Remote shell (rsh).
– Remote Execution Protocol (REXEC).
v You must be able to log in to the system with the user ID that you
created for the server instance, by using the SSH, rsh, or REXEC
protocol. When you use the wizard, you must provide this user ID
and password to access that system.
Windows
v The system where you installed the V7.1 server program must have
the Windows server message block (SMB) protocol enabled. SMB is
the interface that is used by File and Print Sharing (also known as
CIFS). To use the SMB protocol, you must ensure that File and Print
Sharing is enabled, and that port 445 is not blocked by your firewall.
v If the V5 server is on a different system than the V7.1 server, that
system must also have SMB enabled.
v You must be able to log on to the system that has SMB enabled by
using either the user ID that you created for the server instance, or
another user ID that exists on the system. When you use the wizard,
you must provide the user ID and password to access the system.
2. Windows If the system is running on Windows Server 2008, complete the
following steps to disable User Account Control:
a. Ensure that the Remote Registry in Windows Services is started, and ports
445, 137, and 139 are unblocked in the firewall.
b. Configure both the framework server and the targets as members of a
Windows domain. Use a user account in that domain, or in a trusted
domain, when you connect to the target.
c. Connect to the target workstation by enabling and using the built-in
administrator account. To enable the built-in administrator account, click
Control Panel > Administrative Tools > Local Security Policy > Security
Settings > Local Policies > Security Options. Double-click the Accounts:
Administrator account status section. Select Enable and click OK.
d. Click Control Panel > Administrative Tools > Local Security Policy >
Security Settings > Local Policies > Security Options. Double-click the
User Account Control: Run all administrators in Admin Approval Mode
section. Select Disable and click OK.
3. Start the upgrade wizard, dsmupgdx, from the V7.1 server installation directory.
AIX HPUX Linux Solaris
Log in using the root user ID. Issue the command:
/opt/tivoli/tsm/server/bin/dsmupgdx
Windows
Open a new Command Prompt window, and issue the command:
"c:\Program Files\Tivoli\TSM\server\dsmupgdx.exe"
4. Follow the instructions to complete the upgrade. The upgrade wizard can be
stopped and restarted, but the server will not be operational until the entire
upgrade process is complete.
In the message display area within the wizard, read all messages that are
displayed for each phase of the upgrade process. Informational messages might
show actions that occurred during the process that are important to you.
Windows If you are moving the server database to a tape device, and the tape
drive or tape changer uses a Tivoli Storage Manager device driver, you might
see a message about a drive or tape library error. In this case, you must
complete Step 5.
5. Windows If you see a message about a drive or tape library error, complete the
following actions:
a. Uninstall the Tivoli Storage Manager V5 device driver by clicking Start >
Control Panel > Add or Remove Programs. Select the Tivoli Storage
Manager device driver, and then click Remove.
b. Install the V7.1 Tivoli Storage Manager device driver.
Follow the instructions for installing a Tivoli Storage Manager device driver
in the Administrator's Guide.
c. Restart the upgrade wizard as described in Step 3 on page 119. Step through
the wizard, but skip the step for extracting the server database.
What to do next
To complete the upgrade, perform the steps described in Chapter 10, “Taking the
first steps after upgrade,” on page 323.
Complete all preceding steps to prepare for the upgrade. Ensure that you have
installed the upgrade utilities, installed the V7.1 server program, and created the
directories and user ID for the server instance.
Procedure
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
120 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Related concepts:
“The manifest file for the data extraction to media” on page 531
“DSMUPGRD upgrade utilities” on page 16
Procedure
1. Log in using the root user ID on the system that has the original server. Log on
with the administrator ID on a Windows system.
2. Ensure that the device that you want to use to store the extracted data is
available. The server database and the device configuration file must contain a
valid device class definition for the device.
3. From the instance directory for the server that you are upgrading, issue the
command to start the extraction. Direct the output of the process to a file for
monitoring. For example, issue the following command on one line:
AIX
Windows
Tip: Messages that are issued during the extract operation are not saved in the
server activity log. Direct the output of the utility to a file, as shown in the
examples, to record the messages.
4. Monitor the process for errors and warning messages, and for items that you
might need to take action on. A message near the end of the process output
indicates success or failure of the operation:
Success message: ANR1382I EXTRACTDB: Process 1, database extract, has
completed.
Failure message: ANR1396E EXTRACTDB: Process 1, database extract, has
completed with errors.
For example, from the instance directory for the server that you are upgrading,
issue the following command to monitor the process:
tail -f extract.out
The length of time that the process runs depends on the size of the database.
The time will be approximately as much as the time required for a full backup
of the database.
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
Related concepts:
Chapter 4. Scenario 1: Same system, media method 121
Upgrading the server from V5 to V7.1
“The manifest file for the data extraction to media” on page 531
Related tasks:
“Scenario 1: Preparing space for the upgrade process” on page 95
Related reference:
“DSMUPGRD EXTRACTDB (Extract data from a V5 server database)” on page 529
Procedure
1. Log on to the system where you installed the V7.1 program.
AIX HPUX Linux Solaris
Log in by using the root user ID. Verify the following items:
v The home directory for the user, /home/tsminst1, exists. If there is
no home directory, you must create it.
The instance directory stores the following core files that are
generated by the Tivoli Storage Manager server:
– The server options file, dsmserv.opt
– The server key database file, cert.kdb, and the .arm files, which
are used by clients and other servers to import the Secure
Sockets Layer certificates of the server
– Device configuration file, if the DEVCONFIG server option does not
specify a fully qualified name
– Volume history file, if the VOLUMEHISTORY server option does not
specify a fully qualified name
– Volumes for DEVTYPE=FILE storage pools, if the directory for
the device class is not fully specified, or not fully qualified
– User exits
– Trace output, if it is not fully qualified
v A shell configuration file, for example, .profile, exists in the home
directory. The root user and instance user ID must have write
permission to this file. For more information, go to the DB2
Information Center (http://pic.dhe.ibm.com/infocenter/db2luw/
v10r5), and search for information about Linux and UNIX
environment variable settings.
Windows
Log on as an administrator.
2. Create a Tivoli Storage Manager instance by using the db2icrt command.
AIX HPUX Linux Solaris
Enter the following command on one line. For the instance name,
specify the user ID that you created to own the instance:
AIX HPUX Linux Solaris
For example, if the user ID for this instance is tsminst1, use the
following command to create the instance:
122 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Remember: From this point on, use this new user ID when you
configure the Tivoli Storage Manager server. Log out of the root user
ID, and log in using the user ID that is the instance owner.
Windows
Enter the following command on one line. The user account that you
specify becomes the user ID that owns the V7.1 server; this ID is the
instance user ID.
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.
3. Log on to the system by using the user ID that owns the V7.1 server instance
(the instance user ID).
4. Copy the configuration files to the instance directory that you created for the
new server. The files are the configuration files that you saved from the
original V5 server:
v Device configuration
v Server options file, which is typically named dsmserv.opt
For example, if you created the instance directory that is shown in the
example in the step to create directories for the V7.1 server, copy the files into
the following directory:
AIX HPUX Linux Solaris /tsminst1
Windows d:\tsm\server1
Ensure 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.
5. Edit the server options file.
a. Remove any options that are not supported for V7.1. For the list of deleted
options, see Table 29 on page 67.
b. Verify that the server options file contains at least one VOLUMEHISTORY
option and at least one DEVCONFIG option. By specifying these options, you
ensure that a volume history file and a device configuration file are
generated and updated automatically. If you must restore the database,
these files are required.
c. Check whether the server options file includes the TXNGROUPMAX option
with a value, and if it does, what the value is. You might want to change
the current value because the default value for this option changed from
256 to 4096, starting in V6. The increased value can improve the
performance for data movement operations such as storage pool migration
and storage pool backup.
v If the server options file does not include this option, the server
automatically uses the new default value of 4096.
v If the server options file includes a value for this option, the server uses
that specified value. If the specified value is less than 4096, consider
increasing the value, or removing the option so that the new default
value is applied.
6. Change the default path for the database.
AIX HPUX Linux Solaris
Change the default path for the database to be the same as the
instance directory for the server. Issue the command:
db2 update dbm cfg using dftdbpath instance_directory
For example:
db2 update dbm cfg using dftdbpath /tsminst1
Windows
Change the default path for the database to be the drive where the
instance directory for the server is located. Complete the following
steps:
a. Click Start > Programs > IBM DB2 > DB2TSM1 > Command
Line Tools > Command Line Processor.
b. Enter quit to exit the command line processor.
A window with a command prompt opens, with the environment
correctly set up to successfully issue the commands in the next
steps.
c. From the command prompt in that window, issue the following
command to set the environment variable for the server instance
that you are working with:
set db2instance=instance_name
124 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
AIX HPUX Linux Solaris You must update the following files
to set the library path when DB2 or the Tivoli Storage Manager server is
started:
v instance_directory/sqllib/usercshrc
v instance_directory/sqllib/userprofile
For the instance_directory/sqllib/usercshrc file, add the following lines:
v AIX
LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
export LIBPATH
v HPUX Solaris
LD_LIBRARY_PATH=/opt/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
v Linux
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.14
or later. Issue the following commands:
v AIX
echo $LIBPATH
gsk8capicmd_64 -version
gsk8ver_64
v HPUX Linux Solaris
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.
8. Change to the instance directory that you created for the server.
9. Create and format the database and recovery logs. In the command, specify
the directories that you created for the database and logs. The directories must
be empty.
AIX HPUX Linux Solaris
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
Windows
For example, to get an active log size of 16 GB (16384 MB, the default
size) for the Server1 server instance, issue the following command, on
one line:
"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
If the server that you are upgrading is not Server1, you must use the
-k option. The -k option specifies the instance name for running this
utility. For example, if the system has more than one server instance
and the instance that you are upgrading is Server2, issue the
command:
"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
Important: The server instance that you specify must have already
been through all preceding steps for the upgrade process, including
the creation of the database instance (db2icrt command).
10. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Related reference:
DSMSERV LOADFORMAT (Format a database)
“Deleted server commands, utilities, and options” on page 65
Ensure that the following requirements are met before you begin to load the data:
v The manifest file from the DSMUPGRD EXTRACTDB operation must be available.
v The server options file must contain an entry for the device configuration file.
v The device configuration file must have information about the device class that
is specified in the manifest file.
v The media that contains the extracted database must be available to the V7.1
server. The device must be physically attached to the system. The permissions
must be set to grant access to the media for the user ID that owns the V7.1
server instance.
Procedure
1. Verify that the V7.1 server can access the extracted data.
v If the extracted data is on tape, the tape drive must be physically attached to
the system.
v If the extracted data was stored by using a FILE or DISK device class,
complete the following steps:
a. Log on to the system by using the root user ID.
126 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
b. Ensure that the user ID that owns the V7.1 server (the instance user ID)
has ownership or read/write permission for the extracted files.
2. For the manifest file that was created by the extraction process, ensure that the
instance user ID has ownership or read/write permission.
3. Log on with the instance user ID.
4. On the V7.1 server, complete the following steps:
a. Verify that the server options file from the V5 server includes the DEVCONFIG
option, and that the option specifies the full path of the device
configuration file.
b. Verify that the device configuration file from the V5 server is available in
the location that is specified by the DEVCONFIG option.
c. Verify that the permissions on the device configuration file allow read
access for the instance user ID.
5. Verify that the contents of the device configuration file are correct. The device
class that was used for the extraction step is recorded in the manifest file, and
that device class must exist and be valid on the V7.1 system.
a. Verify entries for FILE device classes. For example, paths might be different
on the system.
b. Verify entries for tape and other devices. For example, the device names
might have changed.
6. Verify the contents of the manifest file and edit the file if necessary:
a. Ensure that the device names in the manifest file are valid for the V7.1
system. Device names for the same device might be different on V5 and V7
systems.
b. Ensure that the manifest file contains a list of volumes to be used when the
extracted data is loaded into the new database. For example, if the manifest
file contains a list of volumes that belong to a FILE device class, ensure that
the fully qualified path to the volumes is correct for the system.
7. Issue the DSMSERV INSERTDB command to load an extracted server database into
the prepared, empty V7.1 database. Direct the output of the process to a file for
monitoring. For example, enter the following command on one line:
AIX HPUX Linux Solaris
Windows
A Windows service is created for the Tivoli Storage Manager V7.1 server
automatically if you use the upgrade wizard (dsmupgdx). If you do not use the
wizard, you must create the Windows service for the Tivoli Storage Manager
server manually.
Procedure
1. Change to the installation directory for the server program. By default, the
directory is C:\Program Files\Tivoli\TSM\console. If you installed the server
in a different directory, change to the console subdirectory of the server
installation directory.
2. Install the Windows service by using the Tivoli Storage Manager server
instance name and password in the service name. Issue the following
command:
install "TSM server_instance_name"
"C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
instance_owner instance_owner_password
where:
"TSM server_instance_name" is the name of the service that is being
installed.
server_instance_name is the instance name that was specified when you
issued the db2icrt command.
instance_owner is the instance owner account; this account will own the
service.
instance_owner_password is the password for the instance owner account.
Example
To install the Windows service for the server1 server instance, enter the
128 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
following command on one line. The example uses rudy as the instance
owner and s21ret as the password for the instance owner account.
install "TSM server1" "C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
rudy s21ret
3. Optional: Manually change the service to an automatic startup type by using
Windows administrative tools (Administrative Tools > Services).
Related tasks:
“Starting the server on Windows systems” on page 331
Procedure
v “Scenario 1: Configuring the system for database backup on AIX, HP-UX, Linux,
and Oracle Solaris systems”
v “Scenario 1: Configuring the system for database backup on Microsoft Windows
systems” on page 131
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Starting with Tivoli Storage Manager V7.1, it is no longer necessary to set the API
password during a manual configuration of the server. If you set the API password
during the manual configuration process, attempts to back up the database might
fail.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, replace the example values with your actual values.
The examples use tsminst1 for the server instance user ID, /tsminst1 for the Tivoli
Storage Manager server instance directory, and /home/tsminst1 as the home
directory of the server instance user.
Procedure
1. Set the Tivoli Storage Manager API environment-variable configuration for the
database instance:
a. Log in by using the tsminst1 user ID.
b. When user tsminst1 is logged in, ensure that the DB2 environment is
correctly initialized. The DB2 environment is initialized by running the
/home/tsminst1/sqllib/db2profile script, which normally runs
automatically from the profile of the user ID. Ensure that the .profile file
exists in the home directory of the instance user, for example,
/home/tsminst1/.profile. If .profile does not run the db2profile script,
add the following lines:
if [ -f /home/tsminst1/sqllib/db2profile ]; then
. /home/tsminst1/sqllib/db2profile
fi
c. In the instance_directory/sqllib/userprofile file, add the following lines:
DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
DSMI_DIR=server_bin_directory/dbbkapi
DSMI_LOG=server_instance_directory
export DSMI_CONFIG DSMI_DIR DSMI_LOG
d. In the instance_directory/sqllib/usercshrc file, add the following lines:
setenv DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
setenv DSMI_DIR=server_bin_directory/dbbkapi
setenv DSMI_LOG=server_instance_directory
2. Log out and log in again as tsminst1, or issue this command:
. ~/.profile
Ensure that you enter a space after the initial dot (.) character.
3. Create a file that is named tsmdbmgr.opt in the server instance directory, which
is in the /tsminst1 directory in this example, and add the following line:
SERVERNAME TSMDBMGR_TSMINST1
The value for SERVERNAME must be consistent in the tsmdbmgr.opt and dsm.sys
files.
4. Locate the Tivoli Storage Manager API dsm.sys configuration file. By default,
the dsm.sys file is in the following location:
server_bin_directory/dbbkapi/dsm.sys
5. As root user, add the following lines to the dsm.sys configuration file:
servername TSMDBMGR_TSMINST1
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
errorlogname /tsminst1
nodename $$_TSMDBMGR_$$
where
v servername matches the servername value in the tsmdbmgr.opt file.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 6 on page 131.
v tcpserveraddr specifies the server address that the client API uses to contact
the server for database backup. To ensure that the database can be backed
up, this value must be localhost.
130 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
v tcpport specifies the port number that the client API uses to contact the
server for database backup. Ensure that you enter the same tcpport value
that is specified in the dsmserv.opt server options file.
v errorlogname specifies the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where the
instance user ID has write-permission.
v nodename specifies the node name that the client API uses to connect to the
server during a database backup. To ensure that the database can be backed
up, this value must be $$_TSMDBMGR_$$.
Linux Do not add the PASSWORDACCESS generate option to the dsm.sys
configuration file. This option can cause the database backup to fail.
6. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
where port_number specifies the port that you use for shared memory.
b. In the dsm.sys configuration file, locate the following lines:
commmethod tcpip
tcpserveraddr localhost
tcpport port_number
where port_number specifies the port that you use for shared memory.
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, the examples use server1 for the database instance
and d:\tsmserver1 for the Tivoli Storage Manager server directory. When you
issue the commands, replace these values with your actual values.
Procedure
1. Create a file that is named tsmdbmgr.env in the d:\tsmserver1 directory with
the following contents:
DSMI_CONFIG=server_instance_directory\tsmdbmgr.opt
DSMI_LOG=server_instance_directory
2. Set the DSMI_ api environment-variable configuration for the database instance:
a. Open a DB2 command window. One method is to go to the C:\Program
Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage
Manager in a different location, go to the db2\bin subdirectory in your main
installation directory. Then, issue the following command:
db2cmd
b. Issue the following command:
db2set -i server1 DB2_VENDOR_INI=d:\tsmserver1\tsmdbmgr.env
c. Create a file that is named tsmdbmgr.opt in the d:\tsmserver1 directory
with the following contents:
*************************************************
nodename $$_TSMDBMGR_$$
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
passwordaccess generate
errorlogname d:\tsmserver1
where
v nodename specifies the node name that the client API uses to connect to
the server during a database backup. To ensure that the database can be
backed up, this value must be $$_TSMDBMGR_$$.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 3.
v tcpserveraddr specifies the server address that the client API uses to
contact the server for database backup. To ensure that the database can be
backed up, this value must be localhost.
v tcpport is the port number that the client API uses to contact the server
for database backup. Ensure that you enter the same tcpport value that is
specified in the dsmserv.opt server options file.
v passwordaccess is required to ensure that the backup node can connect to
the server.
v errorlogname is the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where
the instance user ID has write-permission.
3. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
132 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
Procedure
The procedure for upgrading the server includes the following tasks:
1. “Scenario 2: Preparing for the upgrade”
2. “Scenario 2: Installing the upgrade utilities” on page 144
3. “Scenario 2: Preparing the database of a V5 server for upgrade” on page 151
4. “Scenario 2: Uninstalling the V5 program before installing V7.1” on page 152
5. “Scenario 2: Installing the V7.1 server” on page 155
6. “Scenario 2: Creating the directories and the user ID for the upgraded server
instance” on page 159
7. Upgrading the server, by using one of the following methods:
v “Scenario 2: Upgrading the server by using the upgrade wizard” on page 162
v “Scenario 2: Upgrading the server manually by using utilities” on page 164
8. The following tasks are completed after the upgrade:
a. “Verifying access to storage pools on disk” on page 323
b. “Setting up Solaris services for the server instance” on page 324
c. “Configuring server options for server database maintenance” on page 324
d. “Starting the server instance after the upgrade” on page 325
e. “Registering licenses” on page 334
f. “Backing up the database after upgrading the server” on page 335
g. “Verifying the upgraded server” on page 336
h. “Changing the host name for the Tivoli Storage Manager server” on page
336
i. “Updating automation” on page 338
j. “Monitoring the upgraded server” on page 339
k. “Removing GSKit Version 7 after upgrading to Tivoli Storage Manager
V7.1” on page 340
Follow the preparation steps carefully to protect your server and its data.
Procedure
1. “Scenario 2: Checking the prerequisites for the upgrade”
2. “Scenario 2: Preparing space for the upgrade process” on page 139
3. “Scenario 2: Modifying the server before the upgrade” on page 139
4. “Scenario 2: Disabling sessions” on page 141
5. “Scenario 2: Backing up storage pools and the server database” on page 141
6. “Scenario 2: Moving the NODELOCK file” on page 142
7. “Scenario 2: Backing up configuration information” on page 142
8. “Scenario 2: Creating a summary of database contents” on page 143
9. “Scenario 2: Stopping the server before installing the upgrade” on page 143
Related tasks:
“Reverting from V7.1 to the previous V5 server version” on page 351
Requirement: If you are upgrading the Tivoli Storage Manager server on the same
system, the system must meet the minimum requirements for both the V5 and V7.1
servers.
Procedure
1. Ensure that the server that you plan to upgrade is at the V5.5 release level, and
that the latest interim fix is installed. For example, if the server is at V5.5.6,
install the latest interim fix for V5.5.6. Take the following actions:
a. Select the appropriate server level. For detailed guidelines, see
“Determining the appropriate level for a V5 server before an upgrade” on
page 36. If the server is at an appropriate level, no action is required.
b. If the server is not at an appropriate level, download the appropriate server
fix pack and the latest interim fix from the FTP downloads site at
ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server/. Locate the appropriate version of Tivoli Storage
Manager and install it.
2. Ensure that the system where the V5 server is located meets the minimum
requirements. Review the information in “Hardware and software requirements
for the V5 server system that is being upgraded” on page 17 to determine
whether you must update your system before you continue.
3. Ensure that the system where you plan to install the V7.1 server meets
requirements for the operating system type and level. For the latest information
about system requirements, see Tivoli Storage Manager Supported Operating
Systems (http://www.ibm.com/support/docview.wss?uid=swg21243309).
If you are upgrading Tivoli Storage Manager to a different operating system, a
limited set of migration paths is available. For instructions about migrating a
server that is running on a z/OS operating system, see Part 3, “Migrating Tivoli
Storage Manager V5 servers on z/OS systems to V7.1 on AIX or Linux on
System z,” on page 437. For instructions about migrating a server that is
136 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
If you are upgrading from Tivoli Storage Manager V5 to V7.1 on a new system,
restrictions apply. Ensure that you install the V7.1 server in a compatible
hardware and software environment, as described in the following table.
Table 37. Requirements for upgrading from V5 to V7.1 on a new system
V5 server V7.1 server Comments
AIX running on an IBM AIX running on an IBM
POWER system POWER system
HP-UX running on an HP-UX running on an
Itanium system Itanium system
HP-UX running on a HP-UX running on an HP-UX running on PA-RISC
PA-RISC system Itanium system is not supported for V7.1
servers.
Linux running on an IBM Linux running on an IBM
POWER system POWER system
Linux running on an Itanium Linux running on an x86_64 Linux running on Itanium is
system (IA64) system not supported for V7.1
servers.
Linux running on an x86_32 Linux running on an x86_64 Linux running on x86_32 is
system system not supported for V7.1
servers.
Linux on System z Linux on System z
Table 37. Requirements for upgrading from V5 to V7.1 on a new system (continued)
V5 server V7.1 server Comments
Solaris running on an x86_64 Operating system depends A V7.1 server cannot be
system on the migration method installed on a Solaris x86_64
system. However, you can
migrate a V5 server that is
running on a Solaris x86_64
operating system to V7.1 on
a Linux x86_64 operating
system. For instructions, see
Part 2, “Migrating Tivoli
Storage Manager V5 servers
on AIX, HP-UX, or Solaris
systems to V7.1 on Linux,”
on page 355.
138 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
5. Ensure that the system has enough disk storage for the database and recovery
logs. Review the planning information for requirements and guidance.
Ensure that the system has enough disk storage for storing database and
recovery logs for both the original server and the new V7.1 server. Both are
stored on disk storage during the upgrade process.
If you are adding new hardware for the server, such as new disk storage for
the database, ensure that the hardware is installed and running.
Related concepts:
“Hardware and software requirements for upgrading to the V7.1 server” on page
17
Procedure
Verify that the system has the amount of space that was estimated in the planning
step. Use the planning worksheet that you completed with your information. See
“Worksheet for planning space for the V7.1 server” on page 42.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Procedure
1. From a Tivoli Storage Manager administrative command line, issue the
command:
convert ussfilespace
This command fixes a problem that might exist in older Tivoli Storage Manager
databases. If the problem does not exist in your database, the command is
completed and you might see error ANR2034E. This error can be ignored. For
more information, see Technote 1408895 (http://www.ibm.com/support/
docview.wss?uid=swg21408895). If the problem exists in your database, the
command might take some time to run.
Important: Do not skip this step. If your database has the problem and you do
not run this command now, the DSMUPGRD PREPAREDB utility fails when you run
it. You must then restart the V5 server and run the CONVERT USSFILESPACE
command before you continue the upgrade process.
2. Review the steps for reverting to the earlier version of the server in the section,
“Reverting from V7.1 to the previous V5 server version” on page 351.
If you must revert to the earlier version after the upgrade to V7.1, the results of
the reversion will be better if you understand the steps and prepare for the
possibility now.
3. Make the following adjustments to settings on your server and clients. These
adjustments must be done to make it possible for you to revert to the original
server after the upgrade, if problems occur.
a. For each sequential-access storage pool, set the REUSEDELAY parameter to the
number of days during which you want to be able to revert to the original
server, if necessary.
For example, if you want to be able to revert to the original server for up to
30 days after the upgrade to V7.1, set the REUSEDELAY parameter to 31 days.
Issue the following administrative command:
update stgpool sequential_access_storage_pool reusedelay=31
b. For each copy storage pool, set the RECLAIM parameter to 100 (meaning
100%). Issue the following administrative command:
update stgpool copy_storage_pool reclaim=100
c. If you typically use a DELETE VOLHISTORY command to delete database
backups, ensure that the command does not delete database backups too
frequently. The interval between backups should be at least the same
number of days that you set for the REUSEDELAY period for sequential-access
storage pools. For example, to delete database backups every 45 days, issue
the following administrative command:
delete volhist type=dbbackup todate=-45
d. For important clients that use the server, verify that the value for the
schedlogretention client option is set to retain the client schedule log for a
sufficient time. Update the option for clients if needed.
The entries in the client schedule log might be useful if the server must
revert to the original version. If the retention period for the schedule log is
too short, the schedule log information might be deleted too soon.
For example, to prune the log every 45 days and save the log entries, add
the following option:
schedlogretention 45 S
AIX HPUX Linux Solaris Add the option to the dsm.sys file
within a server stanza.
Windows Add the option to the client options file, dsm.opt.
140 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
1. Prevent all clients, storage agents, and other servers from starting new sessions
with the server. Use the commands:
disable sessions client
disable sessions server
For more information about these commands and other Tivoli Storage Manager
administrative commands, see the Administrator's Reference.
2. Verify whether any sessions exist, and notify the users that the server is going
to be stopped. To check for existing sessions, use the command:
query session
3. Cancel sessions that are still running. Use the command:
cancel session all
Back up storage pools and the server database by using Tivoli Storage Manager
administrative commands:
Procedure
1. Back up primary storage pools to copy storage pools by using the BACKUP
STGPOOL command:
backup stgpool primary_pool copy_stg
where primary_pool specifies the primary storage pool and copy_stg specifies the
copy storage pool. If you have been performing regular backups of the storage
pools, this step backs up only the data that was added to the primary storage
pools since they were last backed up.
2. Back up the database. The preferred method is to use a snapshot backup. A
snapshot backup is a full database backup that does not interrupt any
scheduled database backups. Issue the command:
backup db type=dbsnapshot devclass=device_class_name
The device class that you specify must exist and have volumes that are
available to it. For example, to perform a snapshot backup of your database to
the TAPECLASS device class by using scratch volumes, enter:
backup db type=dbsnapshot devclass=tapeclass
To use specific volumes instead of scratch volumes, specify the volume names
in the command.
Tip: Consider making two copies of the backup to protect the backup from
media failures. Ensure that at least one full database backup is available onsite.
If you must restore the database after a failed upgrade, having an onsite
backup database saves time.
The NODELOCK file contains the licensing information from the previous Tivoli
Storage Manager installation. This licensing information is replaced when the
upgrade is complete.
Procedure
1. In the server instance directory of your installation, locate the NODELOCK file.
2. Move the NODELOCK file to another directory. For example, you can save it to a
directory where you are saving configuration files from the previous release.
Procedure
1. Back up device configuration information to another directory by using the
following Tivoli Storage Manager administrative command:
backup devconfig filenames=file_name
where file_name specifies the file in which to store volume history information.
Ensure that the volume history includes information about the database backup
that you completed in the preceding steps. For example, issue the following
command:
query volhistory type=dbsnapshot
Review the query output to verify that the time stamp for the database backup
matches the actual time of the backup.
3. Save copies of the following files, which are in the server instance directory:
v Server options file, typically named dsmserv.opt
v dsmserv.dsk
142 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
4. In the server instance directory, look for the accounting log file, dsmaccnt.log.
If the file exists, save a copy.
5. Back up any scripts that were used to complete daily housekeeping for the
server. Examine the scripts for changes that are needed after the upgrade.
6. Store the device configuration file, the volume history file, the server options
file, and the other files in a safe place. Ensure that the files are stored on a
different system from the system that is being upgraded, or on offline media.
Procedure
Run commands that give a summary of information about your database contents.
For example, issue commands that summarize the file spaces that are being
protected, and save the results. For a list of commands, see “Sample commands to
run for validation of the database upgrade” on page 546.
Related reference:
“Sample commands to run for validation of the database upgrade” on page 546
Procedure
Allow time for the processes to be stopped. Some processes, such as storage
pool migration, might take some time to stop.
For more information about the QUERY PROCESS and CANCEL PROCESS commands
and other Tivoli Storage Manager administrative commands, see the
Administrator's Reference.
2. After all sessions and processes are stopped, determine whether any tapes are
mounted. Unmount any tapes that are mounted. Use the following commands:
query mount
dismount volume volume_name
3. Stop the server. Use the following command:
halt
The preferred method is to install the latest available version of the upgrade
utilities. For more information about selecting the version, see “Determining the
appropriate level for a V5 server before an upgrade” on page 36.
Procedure
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The
5.5.x.x number must be the same as or later than the level of the V5
server that you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-AIX.tar.gz
The numbers at the beginning of the package name identify the release
level of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
144 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
lslpp -L gsksa.rte
If needed, you can obtain the gsksa.rte file set from any of the regular V5.5
maintenance packages for the AIX server. The maintenance packages are
available on the FTP downloads site: ftp://public.dhe.ibm.com/storage/tivoli-
storage-management/maintenance/server/v5r5/AIX/
4. Extract the contents of the upgrade utilities package. If you downloaded a
language package, also extract the contents of that package.
5. Navigate to the directory that corresponds to the processor architecture of the
operating system.
6. Access the System Management Interface Tool (SMIT).
a. Enter smitty install_update
b. Select Install and Update Software > Install and Update from ALL
Available Software.
7. Select the INPUT device. Specify the directory location of the upgrade utilities
package on the system.
8. Select Software to Install. Press F4 or Esc+4 for the list of available file sets in
the directory.
9. Select the file sets for the upgrade utilities, the device driver, and optionally
the language package. The file set for the upgrade utilities is
tivoli.tsmupg.server. Optional language packages include messages for
languages other than US English.
10. Set COMMIT software updates to Yes. Press F4 or Esc+4.
11. Set SAVE replaced files to No.
12. Ensure that the default settings for the options in the window for all the
selected file sets show success.
13. Press Enter, and respond to the ARE YOU SURE? question by pressing Enter
again. The installation begins.
14. When the installation is complete, exit the SMIT program.
15. Optional: If you installed a language package, ensure that the locale
environment variable is set to use it. Enter the following command to set the
locale environment variable for messages:
export LC_MESSAGES=xxxx
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
16. After the upgrade utilities are installed, continue at “Scenario 2: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 149.
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.gz
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
gzip -dc package_name.tar.gz | tar -xvf -
4. Navigate to the directory that corresponds to the processor architecture of the
operating system.
5. Install the upgrade utilities and the device driver. Use the source argument (-s)
to specify the directory where the package was extracted. For example, if the
directory is /tmp/TSM, issue the command:
swinstall -s /tmp/TSM package_name
146 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
7. After the upgrade utilities are installed, continue at “Scenario 2: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 149.
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Open the directory for your operating system and download the package.
The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.bz2
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the commands:
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
4. Navigate to the directory that corresponds to the processor architecture of the
operating system, for example, x86_64.
5. Install the upgrade utilities and the device driver. Use the following command:
rpm -ivh package_name.rpm
The utilities are installed in the directory /opt/tivoli/tsm/upgrade/bin by
default.
6. Optional: Install the language package.
a. Extract the contents of the downloaded package.
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
b. Install the package for the language that you want to use.
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
7. After the upgrade utilities are installed, continue at “Scenario 2: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 149.
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Restriction: Do not install the utilities in the installation directory of the server that
must be upgraded. Install the utilities package in its own directory.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.Z
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Change to the directory where the upgrade utilities package was downloaded.
4. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
uncompress -c package_name.tar.Z | tar -xvf -
148 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
8. After the upgrade utilities are installed, continue at “Scenario 2: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems.”
After installing the upgrade utility package, you must set environment variables in
the shell from which you will run the utilities. An environment variable describes
the operating environment of a process, such as the home directory or terminal in
use.
The DSMSERV_DIR variable specifies the installed location of the upgrade utilities. By
default, the location is the following directory:
AIX
/usr/tivoli/tsm/upgrade/bin
/opt/tivoli/tsm/upgrade/bin
Procedure
Use the appropriate command for your system to set the environment variable for
running the utilities. If the shell is in the ksh or bash family, enter the following
command to set the DSMSERV_DIR variable:
export DSMSERV_DIR=upgrade_utilities_directory
What to do next
After you set the environment variables, continue at “Scenario 2: Preparing the
database of a V5 server for upgrade” on page 151.
Install the upgrade utilities on the system. The package to install is available for
download from the FTP downloads site. The upgrade utilities are used to prepare
and extract the database from the original server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/WIN
b. Open the 5.5.x.x directory. The 5.5.x.x number must be the same as or
later than the level of the V5 server that you are upgrading.
c. Select the package and download it to a convenient location on the server
system. The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-Windows.exe
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, install the
language package that your installation requires.
2. Log on with an administrator ID.
3. Run the executable package for the upgrade utilities.
The default location for the installation of the utilities is based on the location
where the V5 server was last installed. For example, if the V5 server was
installed using the default path, C:\Program Files\Tivoli\TSM\server, the
upgrade utilities are installed in C:\Program Files\Tivoli\TSM\upgrade.
What to do next
After the upgrade utilities are installed, continue at “Scenario 2: Preparing the
database of a V5 server for upgrade” on page 151.
150 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Tip: When you use the upgrade utilities, if you have multiple servers running on
the system, you must use the -k option to specify the name of the Windows
registry key from which to retrieve information about the server being upgraded.
The default value for the option is SERVER1. Use the -o option with the DSMUPGRD
command to specify the location of the server options file.
Procedure
1. Ensure that you have completed all preparation steps.
2. Log in using the root user ID on the system that has the original server. Log on
with the administrator ID on a Windows system.
3. Change to the instance directory for the server that you are upgrading. The
instance directory is the directory that contains the files such as dsmserv.dsk for
the server.
Windows
From the instance directory for the server that you are upgrading, issue
the following command to run the process and direct the output to the
file called prepare.out:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd"
preparedb 1>>prepare.out 2>&1
If multiple servers exist on the system, issue the command from the
instance directory for the server that you want to prepare. Specify the
registry key for that server. For example, if the server is SERVER2:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd" -k server2
preparedb 1>>prepare.out 2>&1
5. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation. From the instance directory for the
server that you are upgrading, issue the following command to monitor the
process:
tail -f prepare.out
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
6. Ensure that the prepare operation is completed successfully before you continue
to the next step. If the prepare operation fails, you might need to restart the V5
server to fix the problem and run the prepare operation again. If the server that
is being upgraded is a V5.3 or V5.4 server, you might need to restore the
database by using a backup before you can restart the server to correct the
problem.
Related reference:
“DSMUPGRD PREPAREDB (Prepare a V5 database for upgrade)” on page 523
Procedure
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
v For a V5.4 or V5.5 server, issue the following commands:
/usr/sbin/installp -ug tivoli.tsm.license.aix5.rte64
/usr/sbin/installp -ug tivoli.tsm.devices.aix5.rte
/usr/sbin/installp -ug tivoli.tsm.server.aix5.rte64
v For a V5.3 server, issue the following commands:
/usr/sbin/installp -ug tivoli.tsm.license
/usr/sbin/installp -ug tivoli.tsm.devices
/usr/sbin/installp -ug tivoli.tsm.server
152 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
What to do next
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
v For a V5.4 or V5.5 server, issue the following commands:
swremove TIVsmS64IA.server
swremove TIVsmS64IA.license
swremove TIVsmDD64_IA11_23.tsmscsi
v For a V5.3 server, issue the following commands:
swremove TIVsmS64.server
swremove TIVsmS64.license
swremove TIVsmDD64_HP11_11.tsmscsi
What to do next
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
1. To determine the Tivoli Storage Manager packages that are installed, issue the
following command:
rpm -qa | grep TIVsm
2. Remove the server, server license, and device driver packages. Issue the
following commands:
rpm -e TIVsm-server
rpm -e TIVsm-license
rpm -e TIVsm-tsmscsi
What to do next
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
What to do next
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
1. Click Start > Control Panel > Add or Remove Programs.
2. Select the Tivoli Storage Manager server component, and click Remove. Repeat
for the license and the device driver.
If you see any messages that suggest that you restart the system, ignore them
until the selected Tivoli Storage Manager components are removed.
What to do next
154 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
AIX HPUX Linux Solaris If you plan to download the files, set the
system user limit for maximum file size to unlimited to ensure that the files can be
downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
Procedure
1. Log on to the system.
AIX HPUX Linux Solaris Log in by using the root user ID.
Windows Log on as an administrator. You must be logged on to the system
with the administrative user ID that was used to install the V5 server.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
AIX HPUX Linux Solaris
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
AIX
7.1.0.000-TIV-TSMSRV-AIX.bin
HPUX
7.1.0.000-TIV-TSMSRV-HP-UX.bin
Linux
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
7.1.0.000-TIV-TSMSRV-Linuxs390x.bin
Solaris
7.1.0.000-TIV-TSMSRV-SolarisSPARC.bin
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035121
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035636
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035638
b. Change to the directory where you placed the executable file.
In the next step, the files are extracted to the current directory. The
path must contain no more than 128 characters. Ensure that you
156 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Windows
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Windows Or, in the directory where the
installation files were extracted,
double-click the install.bat file.
7. If you are installing the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
8. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
9. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
10. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
11. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
158 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Scenario 2: Creating the directories and the user ID for the upgraded
server instance
Create the directories that the server instance needs for database and recovery logs,
and create the user ID that will own the server instance.
Review the information about planning space for the server before you complete
this task. See “Worksheet for planning space for the V7.1 server” on page 42.
Procedure
1. Create the user ID that will own the server instance. You use this user ID when
you create the server instance in a later step.
AIX HPUX Linux Solaris
Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance.
a. Create the user ID and group.
HPUX
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
Linux
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
Solaris
# groupadd tsmsrvrs
# useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
b. Log out and then log in to your system by using the new user ID
and password. Use an interactive login program, such as telnet, so
that you are prompted for the password and can change it if
necessary.
c. If a configuration profile does not exist for the user ID, create the
file. For example, create a .profile file if you are using the Korn
shell (ksh).
Windows
Identify the user account that will own the Tivoli Storage Manager
server instance. When the server is started as a Windows service, this is
the account that the service will log on to. The user account must have
administrative authority on the system. One user account can own
more than one server instance.
You can create a user account, or use an existing account.
If you have multiple servers on one system and want to run each
server with a different user account, create a user account in this step.
a. Create the user ID.
You are prompted to create and verify a password for the new user
ID.
b. Issue the following operating system commands to add the new
user ID to the Administrators groups:
net localgroup Administrators user_ID /add
net localgroup DB2ADMNS user_ID /add
c. Log in to your system, by using the new user ID and password.
d. For all directories that were created for the server instance, ensure
that the user ID for the server instance has read/write access. The
directories to check include the instance directory and all database
and log directories.
160 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
2. Create the directories that the server requires. Ensure that you are logged in
under the new user ID that you created.
You need a unique, empty directory for each item in the following table. Create
the database directories, the active log directory, and the archive log directory
on different physical volumes. For space requirements, see “Worksheet for
planning space for the V7.1 server” on page 42.
AIX HPUX Linux Solaris
Windows
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
3. Create additional logical volumes and mount the volumes on the directories
that were created in the previous step.
What to do next
You must complete all preceding steps to prepare for the upgrade, to install the
upgrade utilities, to install the V7.1 server program, and to create the directories
and user ID for the server instance.
Procedure
1. Ensure that the following requirements are met.
AIX HPUX Linux Solaris
v The system must have the X Window client. You must also be
running an X Window server on your desktop.
v The system must have one of the following protocols enabled. Ensure
that the port that the protocol uses is not blocked by a firewall.
– Secure Shell (SSH). Ensure that the port is set to the default value,
22. Also, ensure that the SSH daemon service has access rights for
connecting to the system by using localhost.
– Remote shell (rsh).
– Remote Execution Protocol (REXEC).
162 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
v You must be able to log in to the system with the user ID that you
created for the server instance, by using the SSH, rsh, or REXEC
protocol. When you use the wizard, you must provide this user ID
and password to access that system.
Windows
v The system where you installed the V7.1 server program must have
the Windows server message block (SMB) protocol enabled. SMB is
the interface that is used by File and Print Sharing (also known as
CIFS). To use the SMB protocol, you must ensure that File and Print
Sharing is enabled, and that port 445 is not blocked by your firewall.
v If the V5 server is on a different system than the V7.1 server, that
system must also have SMB enabled.
v You must be able to log on to the system that has SMB enabled by
using either the user ID that you created for the server instance, or
another user ID that exists on the system. When you use the wizard,
you must provide the user ID and password to access the system.
2. Windows If the system is running on Windows Server 2008, complete the
following steps to disable User Account Control:
a. Ensure that the Remote Registry in Windows Services is started, and ports
445, 137, and 139 are unblocked in the firewall.
b. Configure both the framework server and the targets as members of a
Windows domain. Use a user account in that domain, or in a trusted
domain, when you connect to the target.
c. Connect to the target workstation by enabling and using the built-in
administrator account. To enable the built-in administrator account, click
Control Panel > Administrative Tools > Local Security Policy > Security
Settings > Local Policies > Security Options. Double-click the Accounts:
Administrator account status section. Select Enable and click OK.
d. Click Control Panel > Administrative Tools > Local Security Policy >
Security Settings > Local Policies > Security Options. Double-click the
User Account Control: Run all administrators in Admin Approval Mode
section. Select Disable and click OK.
3. Start the upgrade wizard, dsmupgdx, from the V7.1 server installation directory.
AIX HPUX Linux Solaris
Log in using the root user ID. Issue the command:
/opt/tivoli/tsm/server/bin/dsmupgdx
Windows
Open a new Command Prompt window, and issue the command:
"c:\Program Files\Tivoli\TSM\server\dsmupgdx.exe"
4. Follow the instructions to complete the upgrade. The upgrade wizard can be
stopped and restarted, but the server will not be operational until the entire
upgrade process is complete.
Important: Read all messages that appear for each phase of the upgrade
process, in the message display area within the wizard. Informational messages
might show actions that occurred during the process that are important to you.
What to do next
To complete the upgrade, perform the steps described in Chapter 10, “Taking the
first steps after upgrade,” on page 323.
Complete all preceding steps to prepare for the upgrade. Ensure that you have
installed the upgrade utilities, installed the V7.1 server program, and created the
directories and user ID for the server instance.
Procedure
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
Related concepts:
“DSMUPGRD upgrade utilities” on page 16
Procedure
1. Log on to the system where you installed the V7.1 program.
AIX HPUX Linux Solaris
Log in by using the root user ID. Verify the following items:
v The home directory for the user, /home/tsminst1, exists. If there is
no home directory, you must create it.
The instance directory stores the following core files that are
generated by the Tivoli Storage Manager server:
– The server options file, dsmserv.opt
– The server key database file, cert.kdb, and the .arm files, which
are used by clients and other servers to import the Secure
Sockets Layer certificates of the server
– Device configuration file, if the DEVCONFIG server option does not
specify a fully qualified name
– Volume history file, if the VOLUMEHISTORY server option does not
specify a fully qualified name
– Volumes for DEVTYPE=FILE storage pools, if the directory for
the device class is not fully specified, or not fully qualified
– User exits
– Trace output, if it is not fully qualified
v A shell configuration file, for example, .profile, exists in the home
directory. The root user and instance user ID must have write
164 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
For example, if the user ID for this instance is tsminst1, use the
following command to create the instance:
Remember: From this point on, use this new user ID when you
configure the Tivoli Storage Manager server. Log out of the root user
ID, and log in using the user ID that is the instance owner.
Windows
Enter the following command on one line. The user account that you
specify becomes the user ID that owns the V7.1 server; this ID is the
instance user ID.
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.
3. Log on to the system by using the user ID that owns the V7.1 server instance
(the instance user ID).
4. Copy the configuration files to the instance directory that you created for the
new server. The files are the configuration files that you saved from the
original V5 server:
v Device configuration
v Server options file, which is typically named dsmserv.opt
For example, if you created the instance directory that is shown in the
example in the step to create directories for the V7.1 server, copy the files into
the following directory:
AIX HPUX Linux Solaris /tsminst1
Windowsd:\tsm\server1
Ensure 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.
5. Edit the server options file.
a. Remove any options that are not supported for V7.1. For the list of deleted
options, see Table 29 on page 67.
b. Verify that the server options file contains at least one VOLUMEHISTORY
option and at least one DEVCONFIG option. By specifying these options, you
ensure that a volume history file and a device configuration file are
generated and updated automatically. If you must restore the database,
these files are required.
c. Check whether the server options file includes the TXNGROUPMAX option
with a value, and if it does, what the value is. You might want to change
the current value because the default value for this option changed from
256 to 4096, starting in V6. The increased value can improve the
performance for data movement operations such as storage pool migration
and storage pool backup.
v If the server options file does not include this option, the server
automatically uses the new default value of 4096.
v If the server options file includes a value for this option, the server uses
that specified value. If the specified value is less than 4096, consider
increasing the value, or removing the option so that the new default
value is applied.
6. Change the default path for the database.
AIX HPUX Linux Solaris
Change the default path for the database to be the same as the
instance directory for the server. Issue the command:
db2 update dbm cfg using dftdbpath instance_directory
For example:
db2 update dbm cfg using dftdbpath /tsminst1
Windows
Change the default path for the database to be the drive where the
instance directory for the server is located. Complete the following
steps:
a. Click Start > Programs > IBM DB2 > DB2TSM1 > Command
Line Tools > Command Line Processor.
b. Enter quit to exit the command line processor.
A window with a command prompt opens, with the environment
correctly set up to successfully issue the commands in the next
steps.
c. From the command prompt in that window, issue the following
command to set the environment variable for the server instance
that you are working with:
set db2instance=instance_name
166 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
export LIBPATH
v HPUX Solaris
LD_LIBRARY_PATH=/opt/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
v Linux
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.14
or later. Issue the following commands:
v AIX
echo $LIBPATH
gsk8capicmd_64 -version
gsk8ver_64
v HPUX Linux Solaris
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.
8. Change to the instance directory that you created for the server.
9. Create and format the database and recovery logs. In the command, specify
the directories that you created for the database and logs. The directories must
be empty.
AIX HPUX Linux Solaris
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
Windows
For example, to get an active log size of 16 GB (16384 MB, the default
size) for the Server1 server instance, issue the following command, on
one line:
"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
If the server that you are upgrading is not Server1, you must use the
-k option. The -k option specifies the instance name for running this
utility. For example, if the system has more than one server instance
and the instance that you are upgrading is Server2, issue the
command:
"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
Important: The server instance that you specify must have already
been through all preceding steps for the upgrade process, including
the creation of the database instance (db2icrt command).
10. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Related reference:
DSMSERV LOADFORMAT (Format a database)
“Deleted server commands, utilities, and options” on page 65
168 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Ensure that the V5 server and the V7.1 server are not running.
Procedure
1. Start the insertion process on the V7.1 server to accept the database. To monitor
the process, direct the output of the process to a file. For example, start the
server, allowing 60 minutes (the default time) for the other server to contact the
V7.1 server and directing the process output to insert.out, by using this
command:
AIX HPUX Linux Solaris
Windows
Issue the following command to monitor the process output in the insert.out
file:
tail -f insert.out
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
3. Start the extraction from the original server. Specify the TCP/IP address and
port for the V7.1 server. Direct the output of the process to a file for
monitoring. For example, enter the following command on one line:
AIX
Windows
The length of time that the process runs depends on the size of the database,
the hardware being used, and the network.
5. Examine the process outputs for the extraction and insertion processes to find
the messages that indicate the success or failure of the operations.
Related reference:
“DSMUPGRD EXTRACTDB (Extract data from a V5 server database)” on page 529
A Windows service is created for the Tivoli Storage Manager V7.1 server
automatically if you use the upgrade wizard (dsmupgdx). If you do not use the
wizard, you must create the Windows service for the Tivoli Storage Manager
server manually.
Procedure
1. Change to the installation directory for the server program. By default, the
directory is C:\Program Files\Tivoli\TSM\console. If you installed the server
in a different directory, change to the console subdirectory of the server
installation directory.
2. Install the Windows service by using the Tivoli Storage Manager server
instance name and password in the service name. Issue the following
command:
install "TSM server_instance_name"
"C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
instance_owner instance_owner_password
where:
"TSM server_instance_name" is the name of the service that is being
installed.
server_instance_name is the instance name that was specified when you
issued the db2icrt command.
170 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
instance_owner is the instance owner account; this account will own the
service.
instance_owner_password is the password for the instance owner account.
Example
To install the Windows service for the server1 server instance, enter the
following command on one line. The example uses rudy as the instance
owner and s21ret as the password for the instance owner account.
install "TSM server1" "C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
rudy s21ret
3. Optional: Manually change the service to an automatic startup type by using
Windows administrative tools (Administrative Tools > Services).
Related tasks:
“Starting the server on Windows systems” on page 331
Procedure
v “Scenario 2: Configuring the system for database backup on AIX, HP-UX, Linux,
and Oracle Solaris systems”
v “Scenario 2: Configuring the system for database backup on Microsoft Windows
systems” on page 173
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Starting with Tivoli Storage Manager V7.1, it is no longer necessary to set the API
password during a manual configuration of the server. If you set the API password
during the manual configuration process, attempts to back up the database might
fail.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, replace the example values with your actual values.
The examples use tsminst1 for the server instance user ID, /tsminst1 for the Tivoli
Storage Manager server instance directory, and /home/tsminst1 as the home
directory of the server instance user.
Procedure
1. Set the Tivoli Storage Manager API environment-variable configuration for the
database instance:
a. Log in by using the tsminst1 user ID.
b. When user tsminst1 is logged in, ensure that the DB2 environment is
correctly initialized. The DB2 environment is initialized by running the
/home/tsminst1/sqllib/db2profile script, which normally runs
automatically from the profile of the user ID. Ensure that the .profile file
exists in the home directory of the instance user, for example,
/home/tsminst1/.profile. If .profile does not run the db2profile script,
add the following lines:
if [ -f /home/tsminst1/sqllib/db2profile ]; then
. /home/tsminst1/sqllib/db2profile
fi
c. In the instance_directory/sqllib/userprofile file, add the following lines:
DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
DSMI_DIR=server_bin_directory/dbbkapi
DSMI_LOG=server_instance_directory
export DSMI_CONFIG DSMI_DIR DSMI_LOG
d. In the instance_directory/sqllib/usercshrc file, add the following lines:
setenv DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
setenv DSMI_DIR=server_bin_directory/dbbkapi
setenv DSMI_LOG=server_instance_directory
2. Log out and log in again as tsminst1, or issue this command:
. ~/.profile
Ensure that you enter a space after the initial dot (.) character.
3. Create a file that is named tsmdbmgr.opt in the server instance directory, which
is in the /tsminst1 directory in this example, and add the following line:
SERVERNAME TSMDBMGR_TSMINST1
The value for SERVERNAME must be consistent in the tsmdbmgr.opt and dsm.sys
files.
4. Locate the Tivoli Storage Manager API dsm.sys configuration file. By default,
the dsm.sys file is in the following location:
server_bin_directory/dbbkapi/dsm.sys
5. As root user, add the following lines to the dsm.sys configuration file:
servername TSMDBMGR_TSMINST1
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
errorlogname /tsminst1
nodename $$_TSMDBMGR_$$
where
v servername matches the servername value in the tsmdbmgr.opt file.
172 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 6.
v tcpserveraddr specifies the server address that the client API uses to contact
the server for database backup. To ensure that the database can be backed
up, this value must be localhost.
v tcpport specifies the port number that the client API uses to contact the
server for database backup. Ensure that you enter the same tcpport value
that is specified in the dsmserv.opt server options file.
v errorlogname specifies the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where the
instance user ID has write-permission.
v nodename specifies the node name that the client API uses to connect to the
server during a database backup. To ensure that the database can be backed
up, this value must be $$_TSMDBMGR_$$.
Linux Do not add the PASSWORDACCESS generate option to the dsm.sys
configuration file. This option can cause the database backup to fail.
6. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
where port_number specifies the port that you use for shared memory.
b. In the dsm.sys configuration file, locate the following lines:
commmethod tcpip
tcpserveraddr localhost
tcpport port_number
where port_number specifies the port that you use for shared memory.
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, the examples use server1 for the database instance
and d:\tsmserver1 for the Tivoli Storage Manager server directory. When you
issue the commands, replace these values with your actual values.
Procedure
1. Create a file that is named tsmdbmgr.env in the d:\tsmserver1 directory with
the following contents:
DSMI_CONFIG=server_instance_directory\tsmdbmgr.opt
DSMI_LOG=server_instance_directory
2. Set the DSMI_ api environment-variable configuration for the database instance:
a. Open a DB2 command window. One method is to go to the C:\Program
Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage
Manager in a different location, go to the db2\bin subdirectory in your main
installation directory. Then, issue the following command:
db2cmd
b. Issue the following command:
db2set -i server1 DB2_VENDOR_INI=d:\tsmserver1\tsmdbmgr.env
c. Create a file that is named tsmdbmgr.opt in the d:\tsmserver1 directory
with the following contents:
*************************************************
nodename $$_TSMDBMGR_$$
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
passwordaccess generate
errorlogname d:\tsmserver1
where
v nodename specifies the node name that the client API uses to connect to
the server during a database backup. To ensure that the database can be
backed up, this value must be $$_TSMDBMGR_$$.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 3.
v tcpserveraddr specifies the server address that the client API uses to
contact the server for database backup. To ensure that the database can be
backed up, this value must be localhost.
v tcpport is the port number that the client API uses to contact the server
for database backup. Ensure that you enter the same tcpport value that is
specified in the dsmserv.opt server options file.
v passwordaccess is required to ensure that the backup node can connect to
the server.
v errorlogname is the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where
the instance user ID has write-permission.
3. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
174 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
Procedure
The procedure for upgrading the server includes the following tasks:
1. “Scenario 3: Preparing for the upgrade”
2. “Scenario 3: Installing the upgrade utilities” on page 186
3. Upgrading the server, by using one of the following methods:
v “Scenario 3: Upgrading the server by using the upgrade wizard” on page 194
v “Scenario 3: Upgrading the server manually by using utilities” on page 202
4. The following tasks are completed after the upgrade:
a. “Verifying access to storage pools on disk” on page 323
b. “Setting up Solaris services for the server instance” on page 324
c. “Configuring server options for server database maintenance” on page 324
d. “Starting the server instance after the upgrade” on page 325
e. “Registering licenses” on page 334
f. “Backing up the database after upgrading the server” on page 335
g. “Verifying the upgraded server” on page 336
h. “Changing the host name for the Tivoli Storage Manager server” on page
336
i. “Updating automation” on page 338
j. “Monitoring the upgraded server” on page 339
k. “Removing GSKit Version 7 after upgrading to Tivoli Storage Manager
V7.1” on page 340
Follow the preparation steps carefully to protect your server and its data.
Procedure
1. “Scenario 3: Checking the prerequisites for the upgrade” on page 178
2. “Scenario 3: Preparing space for the upgrade process” on page 181
Procedure
1. Ensure that the server that you plan to upgrade is at the V5.5 release level, and
that the latest interim fix is installed. For example, if the server is at V5.5.6,
install the latest interim fix for V5.5.6. Take the following actions:
a. Select the appropriate server level. For detailed guidelines, see
“Determining the appropriate level for a V5 server before an upgrade” on
page 36. If the server is at an appropriate level, no action is required.
b. If the server is not at an appropriate level, download the appropriate server
fix pack and the latest interim fix from the FTP downloads site at
ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server/. Locate the appropriate version of Tivoli Storage
Manager and install it.
2. Ensure that the system where the V5 server is located meets the minimum
requirements. Review the information in “Hardware and software requirements
for the V5 server system that is being upgraded” on page 17 to determine
whether you must update your system before you continue.
3. Ensure that the system where you plan to install the V7.1 server meets
requirements for the operating system type and level. For the latest information
about system requirements, see Tivoli Storage Manager Supported Operating
Systems (http://www.ibm.com/support/docview.wss?uid=swg21243309).
If you are upgrading Tivoli Storage Manager to a different operating system, a
limited set of migration paths is available. For instructions about migrating a
server that is running on a z/OS operating system, see Part 3, “Migrating Tivoli
Storage Manager V5 servers on z/OS systems to V7.1 on AIX or Linux on
System z,” on page 437. For instructions about migrating a server that is
running on an AIX, HP-UX, or Solaris operating system, see Part 2, “Migrating
Tivoli Storage Manager V5 servers on AIX, HP-UX, or Solaris systems to V7.1
on Linux,” on page 355.
Some platforms that were supported for earlier versions of the server are not
supported for V7.1. If the server that you want to upgrade is running on one of
these platforms, you cannot upgrade your server to V7.1 on the same platform.
You must install your V7.1 server on a system that is a specific supported
platform, depending on the original platform. For required platforms, see the
following table.
Table 41. Required platforms for upgrading from V5 to V7.1
Platform for V5 server Required platform for upgrade to V7.1
HP-UX running on a PA-RISC system HP-UX running on an Intel Itanium system
178 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
If you are upgrading from Tivoli Storage Manager V5 to V7.1 on a new system,
restrictions apply. Ensure that you install the V7.1 server in a compatible
hardware and software environment, as described in the following table.
Table 42. Requirements for upgrading from V5 to V7.1 on a new system
V5 server V7.1 server Comments
AIX running on an IBM AIX running on an IBM
POWER system POWER system
HP-UX running on an HP-UX running on an
Itanium system Itanium system
HP-UX running on a HP-UX running on an HP-UX running on PA-RISC
PA-RISC system Itanium system is not supported for V7.1
servers.
Linux running on an IBM Linux running on an IBM
POWER system POWER system
Linux running on an Itanium Linux running on an x86_64 Linux running on Itanium is
system (IA64) system not supported for V7.1
servers.
Linux running on an x86_32 Linux running on an x86_64 Linux running on x86_32 is
system system not supported for V7.1
servers.
Linux on System z Linux on System z
Table 42. Requirements for upgrading from V5 to V7.1 on a new system (continued)
V5 server V7.1 server Comments
Solaris running on an x86_64 Operating system depends A V7.1 server cannot be
system on the migration method installed on a Solaris x86_64
system. However, you can
migrate a V5 server that is
running on a Solaris x86_64
operating system to V7.1 on
a Linux x86_64 operating
system. For instructions, see
Part 2, “Migrating Tivoli
Storage Manager V5 servers
on AIX, HP-UX, or Solaris
systems to V7.1 on Linux,”
on page 355.
4. Verify that the system memory meets the server requirements. If you plan to
run multiple instances of the V7.1 server on the system, each instance requires
the memory that is listed for one server. Multiply the memory for one server by
the number of instances that are planned for the system.
For specific information about memory requirements, see the section for your
operating system:
Table 43. Memory requirements for the V7.1 system
Operating system Memory requirements
AIX “Server requirements on AIX systems” on
page 21
HP-UX “Server requirements on HP-UX systems” on
page 24
Linux “Server requirements on Linux systems” on
page 26
Solaris “Server requirements on Solaris systems” on
page 31
180 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
5. Ensure that the system has enough disk storage for the database and recovery
logs. Review the planning information for requirements and guidance.
If you are adding new hardware for the server, such as new disk storage for
the database, ensure that the hardware is installed and running.
6. Ensure that the new system can access the storage devices that are used on the
original system. This includes disk and tape devices that are used to store client
data.
You might need to leave a storage device attached to the original system to
perform the database extraction. Then move the storage device to the new
system.
Related concepts:
“Hardware and software requirements for upgrading to the V7.1 server” on page
17
Procedure
1. Verify that the system has the amount of space that was estimated in the
planning step. Use the planning worksheet that you completed with your
information. See “Worksheet for planning space for the V7.1 server” on page
42.
2. Ensure that you have space available for storing the database and the manifest
file that the extraction process creates.
a. Identify the device class to which you will extract the original database. The
definition must exist in the server database, not just in the device
configuration file. View information about devices classes by issuing the
command:
query devclass format=detailed
The device class must be a sequential device class that has volumes or space
available. Define a new device class if necessary. The device class type
cannot be NAS or CENTERA.
Important: You must confirm now that the definition that is in the server
database for the device class is correct. After you prepare the database for
upgrade (by completing the Prepare Database phase in the upgrade wizard,
or by using the DSMUPGRD PREPAREDB utility), you cannot update this device
class definition. For example, check the path for a FILE device class. If you
copied the original server to a different system to extract the data, the path
might be different on the current system.
b. Ensure that space or volumes are available in the selected device class. The
amount of space that you need is about the same as the current size of the
original database.
For example, if the device class is FILE, ensure that the directory has
sufficient space for your environment. If the device class is TAPE, ensure
that sufficient scratch volumes are available for your environment.
Ensure that the instance user ID that you create for the upgraded server has
access permission to the location of the extracted data.
c. Check that the access permissions are correct for the location that you plan
to specify for the manifest file.
The user ID that will run the database preparation and extraction utilities
(DSMUPGRD PREPAREDB and DSMUPGRD EXTRACTDB) must have write access to
this file. This is typically the root user ID.
When the data is later inserted into the V7.1 database, the instance user ID
that you use for the upgraded server must have access permission for the
manifest file.
The manifest file is typically less than 1 KB.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Procedure
1. From a Tivoli Storage Manager administrative command line, issue the
command:
convert ussfilespace
This command fixes a problem that might exist in older Tivoli Storage Manager
databases. If the problem does not exist in your database, the command is
completed and you might see error ANR2034E. This error can be ignored. For
more information, see Technote 1408895 (http://www.ibm.com/support/
docview.wss?uid=swg21408895). If the problem exists in your database, the
command might take some time to run.
Important: Do not skip this step. If your database has the problem and you do
not run this command now, the DSMUPGRD PREPAREDB utility fails when you run
it. You must then restart the V5 server and run the CONVERT USSFILESPACE
command before you continue the upgrade process.
2. Review the steps for reverting to the earlier version of the server in the section,
“Reverting from V7.1 to the previous V5 server version” on page 351.
If you must revert to the earlier version after the upgrade to V7.1, the results of
the reversion will be better if you understand the steps and prepare for the
possibility now.
3. Make the following adjustments to settings on your server and clients. These
adjustments must be done to make it possible for you to revert to the original
server after the upgrade, if problems occur.
a. For each sequential-access storage pool, set the REUSEDELAY parameter to the
number of days during which you want to be able to revert to the original
server, if necessary.
For example, if you want to be able to revert to the original server for up to
30 days after the upgrade to V7.1, set the REUSEDELAY parameter to 31 days.
Issue the following administrative command:
update stgpool sequential_access_storage_pool reusedelay=31
182 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
b. For each copy storage pool, set the RECLAIM parameter to 100 (meaning
100%). Issue the following administrative command:
update stgpool copy_storage_pool reclaim=100
c. If you typically use a DELETE VOLHISTORY command to delete database
backups, ensure that the command does not delete database backups too
frequently. The interval between backups should be at least the same
number of days that you set for the REUSEDELAY period for sequential-access
storage pools. For example, to delete database backups every 45 days, issue
the following administrative command:
delete volhist type=dbbackup todate=-45
d. For important clients that use the server, verify that the value for the
schedlogretention client option is set to retain the client schedule log for a
sufficient time. Update the option for clients if needed.
The entries in the client schedule log might be useful if the server must
revert to the original version. If the retention period for the schedule log is
too short, the schedule log information might be deleted too soon.
For example, to prune the log every 45 days and save the log entries, add
the following option:
schedlogretention 45 S
AIX HPUX Linux Solaris Add the option to the dsm.sys file
within a server stanza.
Windows Add the option to the client options file, dsm.opt.
Procedure
1. Prevent all clients, storage agents, and other servers from starting new sessions
with the server. Use the commands:
disable sessions client
disable sessions server
For more information about these commands and other Tivoli Storage Manager
administrative commands, see the Administrator's Reference.
2. Verify whether any sessions exist, and notify the users that the server is going
to be stopped. To check for existing sessions, use the command:
query session
3. Cancel sessions that are still running. Use the command:
cancel session all
Back up storage pools and the server database by using Tivoli Storage Manager
administrative commands:
Procedure
1. Back up primary storage pools to copy storage pools by using the BACKUP
STGPOOL command:
backup stgpool primary_pool copy_stg
where primary_pool specifies the primary storage pool and copy_stg specifies the
copy storage pool. If you have been performing regular backups of the storage
pools, this step backs up only the data that was added to the primary storage
pools since they were last backed up.
2. Back up the database. The preferred method is to use a snapshot backup. A
snapshot backup is a full database backup that does not interrupt any
scheduled database backups. Issue the command:
backup db type=dbsnapshot devclass=device_class_name
The device class that you specify must exist and have volumes that are
available to it. For example, to perform a snapshot backup of your database to
the TAPECLASS device class by using scratch volumes, enter:
backup db type=dbsnapshot devclass=tapeclass
To use specific volumes instead of scratch volumes, specify the volume names
in the command.
Tip: Consider making two copies of the backup to protect the backup from
media failures. Ensure that at least one full database backup is available onsite.
If you must restore the database after a failed upgrade, having an onsite
backup database saves time.
The NODELOCK file contains the licensing information from the previous Tivoli
Storage Manager installation. This licensing information is replaced when the
upgrade is complete.
Procedure
1. In the server instance directory of your installation, locate the NODELOCK file.
2. Move the NODELOCK file to another directory. For example, you can save it to a
directory where you are saving configuration files from the previous release.
184 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
1. Back up device configuration information to another directory by using the
following Tivoli Storage Manager administrative command:
backup devconfig filenames=file_name
where file_name specifies the file in which to store volume history information.
Ensure that the volume history includes information about the database backup
that you completed in the preceding steps. For example, issue the following
command:
query volhistory type=dbsnapshot
Review the query output to verify that the time stamp for the database backup
matches the actual time of the backup.
3. Save copies of the following files, which are in the server instance directory:
v Server options file, typically named dsmserv.opt
v dsmserv.dsk
Procedure
Run commands that give a summary of information about your database contents.
For example, issue commands that summarize the file spaces that are being
protected, and save the results. For a list of commands, see “Sample commands to
run for validation of the database upgrade” on page 546.
Related reference:
“Sample commands to run for validation of the database upgrade” on page 546
Procedure
Allow time for the processes to be stopped. Some processes, such as storage
pool migration, might take some time to stop.
For more information about the QUERY PROCESS and CANCEL PROCESS commands
and other Tivoli Storage Manager administrative commands, see the
Administrator's Reference.
2. After all sessions and processes are stopped, determine whether any tapes are
mounted. Unmount any tapes that are mounted. Use the following commands:
query mount
dismount volume volume_name
3. Stop the server. Use the following command:
halt
The preferred method is to install the latest available version of the upgrade
utilities. For more information about selecting the version, see “Determining the
appropriate level for a V5 server before an upgrade” on page 36.
Procedure
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The
5.5.x.x number must be the same as or later than the level of the V5
server that you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-AIX.tar.gz
The numbers at the beginning of the package name identify the release
level of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Ensure that the system has the following file sets installed:
xlC.rte 8.0.0.5, or later
gsksa.rte 7.0.4.11
You can use the following commands to check for these file sets:
lslpp -L xlC.rte
lslpp -L gsksa.rte
If needed, you can obtain the gsksa.rte file set from any of the regular V5.5
maintenance packages for the AIX server. The maintenance packages are
available on the FTP downloads site: ftp://public.dhe.ibm.com/storage/tivoli-
storage-management/maintenance/server/v5r5/AIX/
4. Extract the contents of the upgrade utilities package. If you downloaded a
language package, also extract the contents of that package.
5. Navigate to the directory that corresponds to the processor architecture of the
operating system.
6. Access the System Management Interface Tool (SMIT).
a. Enter smitty install_update
b. Select Install and Update Software > Install and Update from ALL
Available Software.
7. Select the INPUT device. Specify the directory location of the upgrade utilities
package on the system.
8. Select Software to Install. Press F4 or Esc+4 for the list of available file sets in
the directory.
9. Select the file sets for the upgrade utilities, the device driver, and optionally
the language package. The file set for the upgrade utilities is
tivoli.tsmupg.server. Optional language packages include messages for
languages other than US English.
10. Set COMMIT software updates to Yes. Press F4 or Esc+4.
11. Set SAVE replaced files to No.
12. Ensure that the default settings for the options in the window for all the
selected file sets show success.
13. Press Enter, and respond to the ARE YOU SURE? question by pressing Enter
again. The installation begins.
14. When the installation is complete, exit the SMIT program.
15. Optional: If you installed a language package, ensure that the locale
environment variable is set to use it. Enter the following command to set the
locale environment variable for messages:
export LC_MESSAGES=xxxx
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
16. After the upgrade utilities are installed, continue at “Scenario 3: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 192
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.gz
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
188 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
7. After the upgrade utilities are installed, continue at “Scenario 3: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 192
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Open the directory for your operating system and download the package.
The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.bz2
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the commands:
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
4. Navigate to the directory that corresponds to the processor architecture of the
operating system, for example, x86_64.
5. Install the upgrade utilities and the device driver. Use the following command:
rpm -ivh package_name.rpm
The utilities are installed in the directory /opt/tivoli/tsm/upgrade/bin by
default.
6. Optional: Install the language package.
a. Extract the contents of the downloaded package.
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
b. Install the package for the language that you want to use.
rpm -ivh package_name.rpm
c. Enter the following command to set the locale environment variable for
messages:
export LC_MESSAGES=xxxx
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
7. After the upgrade utilities are installed, continue at “Scenario 3: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 192
190 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Restriction: Do not install the utilities in the installation directory of the server that
must be upgraded. Install the utilities package in its own directory.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.Z
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Change to the directory where the upgrade utilities package was downloaded.
4. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
uncompress -c package_name.tar.Z | tar -xvf -
5. Navigate to the directory that corresponds to the processor architecture of the
operating system.
6. Install the upgrade utilities and the device driver. Use the source argument (-d)
to specify the directory where the package was extracted. For example, if the
directory is /tmp/TSM, issue the command:
pkgadd -d . /tmp/TSM package_name
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
8. After the upgrade utilities are installed, continue at “Scenario 3: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems”
After installing the upgrade utility package, you must set environment variables in
the shell from which you will run the utilities. An environment variable describes
the operating environment of a process, such as the home directory or terminal in
use.
The DSMSERV_DIR variable specifies the installed location of the upgrade utilities. By
default, the location is the following directory:
AIX
/usr/tivoli/tsm/upgrade/bin
/opt/tivoli/tsm/upgrade/bin
Procedure
Use the appropriate command for your system to set the environment variable for
running the utilities. If the shell is in the ksh or bash family, enter the following
command to set the DSMSERV_DIR variable:
export DSMSERV_DIR=upgrade_utilities_directory
192 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
What to do next
After you set the environment variables, continue the upgrade process using one of
the following topics:
v “Scenario 3: Upgrading the server by using the upgrade wizard” on page 194
v “Scenario 3: Upgrading the server manually by using utilities” on page 202
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/WIN
b. Open the 5.5.x.x directory. The 5.5.x.x number must be the same as or
later than the level of the V5 server that you are upgrading.
c. Select the package and download it to a convenient location on the server
system. The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-Windows.exe
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, install the
language package that your installation requires.
2. Log on with an administrator ID.
3. Run the executable package for the upgrade utilities.
The default location for the installation of the utilities is based on the location
where the V5 server was last installed. For example, if the V5 server was
installed using the default path, C:\Program Files\Tivoli\TSM\server, the
upgrade utilities are installed in C:\Program Files\Tivoli\TSM\upgrade.
Restriction: Do not install the utilities in the same directory as the original
server that must be upgraded. Install the utilities package in its own directory.
What to do next
After the upgrade utilities are installed, continue the upgrade process using one of
the following topics:
v “Scenario 3: Upgrading the server by using the upgrade wizard” on page 194
v “Scenario 3: Upgrading the server manually by using utilities” on page 202
Tip: When you use the upgrade utilities, if you have multiple servers running
on the system, you must use the -k option to specify the name of the Windows
registry key from which to retrieve information about the server being
upgraded. The default value for the option is SERVER1.
You must complete all preceding steps to prepare for the upgrade and to install the
upgrade utilities. The V7.1 server must be installed, and directories and the user ID
must be created before you start the upgrade wizard.
Procedure
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
AIX HPUX Linux If you plan to download the files, set the
Solaris
system user limit for maximum file size to unlimited to ensure that the files can be
downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
Procedure
1. Log on to the system.
AIX HPUX Linux Solaris Log in by using the root user ID.
Windows Log on as an administrator. You must be logged on to the system
with the administrative user ID that was used to install the V5 server.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
194 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
3. If you are downloading the package from one of the download sites, complete
the following steps:
AIX HPUX Linux Solaris
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
Also, ensure that you have executable permission for the package
file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
AIX
7.1.0.000-TIV-TSMSRV-AIX.bin
HPUX
7.1.0.000-TIV-TSMSRV-HP-UX.bin
Linux
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
7.1.0.000-TIV-TSMSRV-Linuxs390x.bin
Solaris
7.1.0.000-TIV-TSMSRV-SolarisSPARC.bin
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035121
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035636
Windows
196 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Windows Or, in the directory where the
installation files were extracted,
double-click the install.bat file.
7. If you are installing the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
8. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
9. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
10. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
11. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
Review the information about planning space for the server before you complete
this task. See “Worksheet for planning space for the V7.1 server” on page 42.
Procedure
1. Create the user ID that will own the server instance. You use this user ID when
you create the server instance in a later step.
AIX HPUX Linux Solaris
Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance.
a. Create the user ID and group.
HPUX
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
198 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Linux
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
Solaris
# groupadd tsmsrvrs
# useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
b. Log out and then log in to your system by using the new user ID
and password. Use an interactive login program, such as telnet, so
that you are prompted for the password and can change it if
necessary.
c. If a configuration profile does not exist for the user ID, create the
file. For example, create a .profile file if you are using the Korn
shell (ksh).
Windows
Identify the user account that will own the Tivoli Storage Manager
server instance. When the server is started as a Windows service, this is
the account that the service will log on to. The user account must have
administrative authority on the system. One user account can own
more than one server instance.
You can create a user account, or use an existing account.
If you have multiple servers on one system and want to run each
server with a different user account, create a user account in this step.
a. Create the user ID.
You are prompted to create and verify a password for the new user
ID.
b. Issue the following operating system commands to add the new
user ID to the Administrators groups:
net localgroup Administrators user_ID /add
net localgroup DB2ADMNS user_ID /add
c. Log in to your system, by using the new user ID and password.
d. For all directories that were created for the server instance, ensure
that the user ID for the server instance has read/write access. The
directories to check include the instance directory and all database
and log directories.
2. Create the directories that the server requires. Ensure that you are logged in
under the new user ID that you created.
You need a unique, empty directory for each item in the following table. Create
the database directories, the active log directory, and the archive log directory
Windows
200 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
3. Create additional logical volumes and mount the volumes on the directories
that were created in the previous step.
Related tasks:
“Planning space for the upgrade process and the upgraded server” on page 37
Related reference:
“Server naming best practices” on page 70
You must complete all preceding steps to prepare for the upgrade, to install the
upgrade utilities, to install the V7.1 server program, and to create the directories
and user ID for the server instance.
Procedure
1. Ensure that the following requirements are met.
AIX HPUX Linux Solaris
v The system where you installed the V7.1 server program must have
the X Window client. You must also be running an X Window server
on your desktop.
v The systems must have one of the following protocols enabled.
Ensure that the port that the protocol uses is not blocked by a
firewall.
– Secure Shell (SSH). Ensure that the port is set to the default value,
22. Also, ensure that the SSH daemon service has access rights for
connecting to the system by using localhost.
– Remote shell (rsh).
– Remote Execution Protocol (REXEC).
v You must be able to log in to the V7.1 system with the user ID that
you created for the server instance, using the SSH, RSH, or REXEC
protocol. When using the wizard, you must provide this user ID and
password to access that system.
Windows
v The system where you installed the V7.1 server program must have
the Windows server message block (SMB) protocol enabled. SMB is
the interface that is used by File and Print Sharing (also known as
CIFS). To use the SMB protocol, you must ensure that File and Print
Sharing is enabled, and that port 445 is not blocked by your firewall.
v If the V5 server is on a different system than the V7.1 server, that
system must also have SMB enabled.
v You must be able to log on to the system that has SMB enabled by
using either the user ID that you created for the server instance, or
another user ID that exists on the system. When you use the wizard,
you must provide the user ID and password to access the system.
2. WindowsIf the system is running on Windows Server 2008, complete the
following steps to disable User Account Control:
a. Ensure that the Remote Registry in Windows Services is started, and ports
445, 137, and 139 are unblocked in the firewall.
b. Configure both the framework server and the targets as members of a
Windows domain. Use a user account in that domain, or in a trusted
domain, when you connect to the target.
c. Connect to the target workstation by enabling and using the built-in
administrator account. To enable the built-in administrator account, click
Control Panel > Administrative Tools > Local Security Policy > Security
Settings > Local Policies > Security Options. Double-click the Accounts:
Administrator account status section. Select Enable and click OK.
d. Click Control Panel > Administrative Tools > Local Security Policy >
Security Settings > Local Policies > Security Options. Double-click the
User Account Control: Run all administrators in Admin Approval Mode
section. Select Disable and click OK.
3. Start the upgrade wizard, dsmupgdx, from the V7.1 server installation directory.
AIX HPUX Linux Solaris
Log in using the root user ID. Issue the command:
/opt/tivoli/tsm/server/bin/dsmupgdx
Windows
Open a new Command Prompt window, and issue the command:
"c:\Program Files\Tivoli\TSM\server\dsmupgdx.exe"
4. Follow the instructions to complete the upgrade. The upgrade wizard can be
stopped and restarted, but the server will not be operational until the entire
upgrade process is complete.
Important: Read all messages that appear for each phase of the upgrade
process, in the message display area within the wizard. Informational messages
might show actions that occurred during the process that are important to you.
What to do next
To complete the upgrade, perform the steps described in Chapter 10, “Taking the
first steps after upgrade,” on page 323.
Complete all preceding steps to prepare for the upgrade and to install the upgrade
utilities.
Procedure
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
Related concepts:
“The manifest file for the data extraction to media” on page 531
“DSMUPGRD upgrade utilities” on page 16
Procedure
1. Ensure that you have completed all preparation steps.
2. Log in using the root user ID on the system that has the original server. Log on
with the administrator ID on a Windows system.
3. Change to the instance directory for the server that you are upgrading. The
instance directory is the directory that contains the files such as dsmserv.dsk for
the server.
Windows
From the instance directory for the server that you are upgrading, issue
the following command to run the process and direct the output to the
file called prepare.out:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd"
preparedb 1>>prepare.out 2>&1
If multiple servers exist on the system, issue the command from the
instance directory for the server that you want to prepare. Specify the
registry key for that server. For example, if the server is SERVER2:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd" -k server2
preparedb 1>>prepare.out 2>&1
5. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation. From the instance directory for the
server that you are upgrading, issue the following command to monitor the
process:
tail -f prepare.out
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
6. Ensure that the prepare operation is completed successfully before you continue
to the next step. If the prepare operation fails, you might need to restart the V5
server to fix the problem and run the prepare operation again. If the server that
is being upgraded is a V5.3 or V5.4 server, you might need to restore the
database by using a backup before you can restart the server to correct the
problem.
Related reference:
“DSMUPGRD PREPAREDB (Prepare a V5 database for upgrade)” on page 523
Procedure
1. Log in using the root user ID on the system that has the original server. Log on
with the administrator ID on a Windows system.
2. Ensure that the device that you want to use to store the extracted data is
available. The server database and the device configuration file must contain a
valid device class definition for the device.
3. From the instance directory for the server that you are upgrading, issue the
command to start the extraction. Direct the output of the process to a file for
monitoring. For example, issue the following command on one line:
AIX
Windows
Tip: Messages that are issued during the extract operation are not saved in the
server activity log. Direct the output of the utility to a file, as shown in the
examples, to record the messages.
204 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
4. Monitor the process for errors and warning messages, and for items that you
might need to take action on. A message near the end of the process output
indicates success or failure of the operation:
Success message: ANR1382I EXTRACTDB: Process 1, database extract, has
completed.
Failure message: ANR1396E EXTRACTDB: Process 1, database extract, has
completed with errors.
For example, from the instance directory for the server that you are upgrading,
issue the following command to monitor the process:
tail -f extract.out
The length of time that the process runs depends on the size of the database.
The time will be approximately as much as the time required for a full backup
of the database.
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
Related concepts:
“The manifest file for the data extraction to media” on page 531
Related tasks:
“Scenario 3: Preparing space for the upgrade process” on page 181
Related reference:
“DSMUPGRD EXTRACTDB (Extract data from a V5 server database)” on page 529
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
AIX HPUX Linux Solaris If you plan to download the files, set the
system user limit for maximum file size to unlimited to ensure that the files can be
downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
Procedure
1. Log on to the system.
AIX HPUX Linux Solaris Log in by using the root user ID.
Windows Log on as an administrator. You must be logged on to the system
with the administrative user ID that was used to install the V5 server.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
AIX HPUX Linux Solaris
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
Also, ensure that you have executable permission for the package
file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
AIX
7.1.0.000-TIV-TSMSRV-AIX.bin
HPUX
7.1.0.000-TIV-TSMSRV-HP-UX.bin
Linux
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
7.1.0.000-TIV-TSMSRV-Linuxs390x.bin
Solaris
7.1.0.000-TIV-TSMSRV-SolarisSPARC.bin
206 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Windows
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035121
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035636
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035638
b. Change to the directory where you placed the executable file.
In the next step, the files are extracted to the current directory. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
c. To extract the installation files, double-click the executable file:
package_name.exe
where package_name is like this example:
7.1.0.000-TIV-TSMSRV-Windows.exe
The package is large. Therefore, the extraction takes some time.
4. AIX HPUX Solaris To ensure that the Tivoli Storage Manager
wizards work correctly, verify that the following command is enabled:
AIX lsuser
HPUX Solaris logins
By default, the command is enabled.
5. If you plan to install the server by using the graphical wizard of IBM
Installation Manager, review the following information and verify that your
system meets the requirements:
v Verify that all required RPM files are installed. For a list of
AIX
required RPM files and instructions about installing RPM files, see the
section about installing Tivoli Storage Manager by using the installation
wizard in the Installation Guide.
v Verify that the operating system is set to the language that you require. By
default, the language of the operating system is the language of the
installation wizard.
v The user ID that you use during installation must be a user with
Windows
local Administrator authority.
v Solaris Ensure that the LD_LIBRARY_PATH_64 environment variable is not
set.
Windows
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Windows Or, in the directory where the
installation files were extracted,
double-click the install.bat file.
7. If you are installing the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
8. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
9. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
10. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
208 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Review the information about planning space for the server before you complete
this task. See “Worksheet for planning space for the V7.1 server” on page 42.
Procedure
1. Create the user ID that will own the server instance. You use this user ID when
you create the server instance in a later step.
AIX HPUX Linux Solaris
Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance.
a. Create the user ID and group.
HPUX
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
Linux
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
Solaris
# groupadd tsmsrvrs
# useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
b. Log out and then log in to your system by using the new user ID
and password. Use an interactive login program, such as telnet, so
that you are prompted for the password and can change it if
necessary.
c. If a configuration profile does not exist for the user ID, create the
file. For example, create a .profile file if you are using the Korn
shell (ksh).
Windows
Identify the user account that will own the Tivoli Storage Manager
server instance. When the server is started as a Windows service, this is
the account that the service will log on to. The user account must have
administrative authority on the system. One user account can own
more than one server instance.
You can create a user account, or use an existing account.
If you have multiple servers on one system and want to run each
server with a different user account, create a user account in this step.
a. Create the user ID.
You are prompted to create and verify a password for the new user
ID.
b. Issue the following operating system commands to add the new
user ID to the Administrators groups:
net localgroup Administrators user_ID /add
net localgroup DB2ADMNS user_ID /add
c. Log in to your system, by using the new user ID and password.
210 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
d. For all directories that were created for the server instance, ensure
that the user ID for the server instance has read/write access. The
directories to check include the instance directory and all database
and log directories.
2. Create the directories that the server requires. Ensure that you are logged in
under the new user ID that you created.
You need a unique, empty directory for each item in the following table. Create
the database directories, the active log directory, and the archive log directory
on different physical volumes. For space requirements, see “Worksheet for
planning space for the V7.1 server” on page 42.
AIX HPUX Linux Solaris
Windows
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
3. Create additional logical volumes and mount the volumes on the directories
that were created in the previous step.
Related tasks:
“Planning space for the upgrade process and the upgraded server” on page 37
Related reference:
“Server naming best practices” on page 70
Procedure
1. Log on to the system where you installed the V7.1 program.
AIX HPUX Linux Solaris
Log in by using the root user ID. Verify the following items:
v The home directory for the user, /home/tsminst1, exists. If there is
no home directory, you must create it.
The instance directory stores the following core files that are
generated by the Tivoli Storage Manager server:
– The server options file, dsmserv.opt
– The server key database file, cert.kdb, and the .arm files, which
are used by clients and other servers to import the Secure
Sockets Layer certificates of the server
– Device configuration file, if the DEVCONFIG server option does not
specify a fully qualified name
– Volume history file, if the VOLUMEHISTORY server option does not
specify a fully qualified name
– Volumes for DEVTYPE=FILE storage pools, if the directory for
the device class is not fully specified, or not fully qualified
– User exits
– Trace output, if it is not fully qualified
v A shell configuration file, for example, .profile, exists in the home
directory. The root user and instance user ID must have write
permission to this file. For more information, go to the DB2
212 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
For example, if the user ID for this instance is tsminst1, use the
following command to create the instance:
Remember: From this point on, use this new user ID when you
configure the Tivoli Storage Manager server. Log out of the root user
ID, and log in using the user ID that is the instance owner.
Windows
Enter the following command on one line. The user account that you
specify becomes the user ID that owns the V7.1 server; this ID is the
instance user ID.
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.
3. Log on to the system by using the user ID that owns the V7.1 server instance
(the instance user ID).
4. Copy the configuration files to the instance directory that you created for the
new server. The files are the configuration files that you saved from the
original V5 server:
v Device configuration
v Server options file, which is typically named dsmserv.opt
For example, if you created the instance directory that is shown in the
example in the step to create directories for the V7.1 server, copy the files into
the following directory:
AIX HPUX Linux Solaris /tsminst1
Windowsd:\tsm\server1
Ensure 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.
5. Edit the server options file.
a. Remove any options that are not supported for V7.1. For the list of deleted
options, see Table 29 on page 67.
b. Verify that the server options file contains at least one VOLUMEHISTORY
option and at least one DEVCONFIG option. By specifying these options, you
ensure that a volume history file and a device configuration file are
generated and updated automatically. If you must restore the database,
these files are required.
c. Check whether the server options file includes the TXNGROUPMAX option
with a value, and if it does, what the value is. You might want to change
the current value because the default value for this option changed from
256 to 4096, starting in V6. The increased value can improve the
performance for data movement operations such as storage pool migration
and storage pool backup.
v If the server options file does not include this option, the server
automatically uses the new default value of 4096.
v If the server options file includes a value for this option, the server uses
that specified value. If the specified value is less than 4096, consider
increasing the value, or removing the option so that the new default
value is applied.
6. Change the default path for the database.
AIX HPUX Linux Solaris
Change the default path for the database to be the same as the
instance directory for the server. Issue the command:
db2 update dbm cfg using dftdbpath instance_directory
For example:
db2 update dbm cfg using dftdbpath /tsminst1
Windows
Change the default path for the database to be the drive where the
instance directory for the server is located. Complete the following
steps:
a. Click Start > Programs > IBM DB2 > DB2TSM1 > Command
Line Tools > Command Line Processor.
b. Enter quit to exit the command line processor.
A window with a command prompt opens, with the environment
correctly set up to successfully issue the commands in the next
steps.
c. From the command prompt in that window, issue the following
command to set the environment variable for the server instance
that you are working with:
set db2instance=instance_name
214 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
export LIBPATH
v HPUX Solaris
LD_LIBRARY_PATH=/opt/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
v Linux
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.14
or later. Issue the following commands:
v AIX
echo $LIBPATH
gsk8capicmd_64 -version
gsk8ver_64
v HPUX Linux Solaris
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.
8. Change to the instance directory that you created for the server.
9. Create and format the database and recovery logs. In the command, specify
the directories that you created for the database and logs. The directories must
be empty.
AIX HPUX Linux Solaris
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
Windows
For example, to get an active log size of 16 GB (16384 MB, the default
size) for the Server1 server instance, issue the following command, on
one line:
"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
If you have already created the first server instance on the system
(server1) and are creating more, then you must use the -k option. The
-k option specifies the instance name for running this utility. For
example, if the instance name for the server is server2, issue the
command:
"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
10. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Related reference:
DSMSERV LOADFORMAT (Format a database)
“Deleted server commands, utilities, and options” on page 65
Ensure that the following requirements are met before you begin to load the data:
v The manifest file from the DSMUPGRD EXTRACTDB operation must be available.
v The server options file must contain an entry for the device configuration file.
v The device configuration file must have information about the device class that
is specified in the manifest file.
216 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
v The media that contains the extracted database must be available to the V7.1
server. The device must be physically attached to the system. The permissions
must be set to grant access to the media for the user ID that owns the V7.1
server instance.
Procedure
1. Verify that the V7.1 server can access the extracted data.
v If the extracted data is on tape, the tape drive must be physically attached to
the system.
v If the extracted data was stored by using a FILE or DISK device class,
complete the following steps:
a. Log on to the system by using the root user ID.
b. Ensure that the user ID that owns the V7.1 server (the instance user ID)
has ownership or read/write permission for the extracted files.
2. Log on with the instance user ID on the system where you installed the V7.1
server.
3. Copy the manifest file that was created by the extraction process to the V7.1
system. Ensure that the instance user ID has ownership or read/write
permission for the manifest file.
4. On the V7.1 server, complete the following steps:
a. Verify that the server options file from the V5 server includes the DEVCONFIG
option, and that the option specifies the full path of the device
configuration file.
b. Verify that the device configuration file from the V5 server is available in
the location that is specified by the DEVCONFIG option.
c. Verify that the permissions on the device configuration file allow read
access for the instance user ID.
5. Verify that the contents of the device configuration file are correct. The device
class that was used for the extraction step is recorded in the manifest file, and
that device class must exist and be valid on the V7.1 system.
a. Verify entries for FILE device classes. For example, paths might be different
on the system.
b. Verify entries for tape and other devices. For example, the device names
might have changed.
6. Verify the contents of the manifest file and edit the file if necessary:
a. Ensure that the device names in the manifest file are valid for the V7.1
system. Device names for the same device might be different on V5 and V7
systems.
b. Ensure that the manifest file contains a list of volumes to be used when the
extracted data is loaded into the new database. For example, if the manifest
file contains a list of volumes that belong to a FILE device class, ensure that
the fully qualified path to the volumes is correct for the system.
7. Issue the DSMSERV INSERTDB command to load an extracted server database into
the prepared, empty V7.1 database. Direct the output of the process to a file for
monitoring. For example, enter the following command on one line:
AIX HPUX Linux Solaris
Windows
A Windows service is created for the Tivoli Storage Manager V7.1 server
automatically if you use the upgrade wizard (dsmupgdx). If you do not use the
wizard, you must create the Windows service for the Tivoli Storage Manager
server manually.
Procedure
1. Change to the installation directory for the server program. By default, the
directory is C:\Program Files\Tivoli\TSM\console. If you installed the server
in a different directory, change to the console subdirectory of the server
installation directory.
2. Install the Windows service by using the Tivoli Storage Manager server
instance name and password in the service name. Issue the following
command:
218 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
where:
"TSM server_instance_name" is the name of the service that is being
installed.
server_instance_name is the instance name that was specified when you
issued the db2icrt command.
instance_owner is the instance owner account; this account will own the
service.
instance_owner_password is the password for the instance owner account.
Example
To install the Windows service for the server1 server instance, enter the
following command on one line. The example uses rudy as the instance
owner and s21ret as the password for the instance owner account.
install "TSM server1" "C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
rudy s21ret
3. Optional: Manually change the service to an automatic startup type by using
Windows administrative tools (Administrative Tools > Services).
Related tasks:
“Starting the server on Windows systems” on page 331
Procedure
v “Scenario 3: Configuring the system for database backup on AIX, HP-UX, Linux,
and Oracle Solaris systems”
v “Scenario 3: Configuring the system for database backup on Microsoft Windows
systems” on page 222
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Starting with Tivoli Storage Manager V7.1, it is no longer necessary to set the API
password during a manual configuration of the server. If you set the API password
during the manual configuration process, attempts to back up the database might
fail.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, replace the example values with your actual values.
The examples use tsminst1 for the server instance user ID, /tsminst1 for the Tivoli
Storage Manager server instance directory, and /home/tsminst1 as the home
directory of the server instance user.
Procedure
1. Set the Tivoli Storage Manager API environment-variable configuration for the
database instance:
a. Log in by using the tsminst1 user ID.
b. When user tsminst1 is logged in, ensure that the DB2 environment is
correctly initialized. The DB2 environment is initialized by running the
/home/tsminst1/sqllib/db2profile script, which normally runs
automatically from the profile of the user ID. Ensure that the .profile file
exists in the home directory of the instance user, for example,
/home/tsminst1/.profile. If .profile does not run the db2profile script,
add the following lines:
if [ -f /home/tsminst1/sqllib/db2profile ]; then
. /home/tsminst1/sqllib/db2profile
fi
c. In the instance_directory/sqllib/userprofile file, add the following lines:
DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
DSMI_DIR=server_bin_directory/dbbkapi
DSMI_LOG=server_instance_directory
export DSMI_CONFIG DSMI_DIR DSMI_LOG
d. In the instance_directory/sqllib/usercshrc file, add the following lines:
setenv DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
setenv DSMI_DIR=server_bin_directory/dbbkapi
setenv DSMI_LOG=server_instance_directory
2. Log out and log in again as tsminst1, or issue this command:
. ~/.profile
Ensure that you enter a space after the initial dot (.) character.
3. Create a file that is named tsmdbmgr.opt in the server instance directory, which
is in the /tsminst1 directory in this example, and add the following line:
SERVERNAME TSMDBMGR_TSMINST1
The value for SERVERNAME must be consistent in the tsmdbmgr.opt and dsm.sys
files.
4. Locate the Tivoli Storage Manager API dsm.sys configuration file. By default,
the dsm.sys file is in the following location:
server_bin_directory/dbbkapi/dsm.sys
5. As root user, add the following lines to the dsm.sys configuration file:
220 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
servername TSMDBMGR_TSMINST1
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
errorlogname /tsminst1
nodename $$_TSMDBMGR_$$
where
v servername matches the servername value in the tsmdbmgr.opt file.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 6.
v tcpserveraddr specifies the server address that the client API uses to contact
the server for database backup. To ensure that the database can be backed
up, this value must be localhost.
v tcpport specifies the port number that the client API uses to contact the
server for database backup. Ensure that you enter the same tcpport value
that is specified in the dsmserv.opt server options file.
v errorlogname specifies the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where the
instance user ID has write-permission.
v nodename specifies the node name that the client API uses to connect to the
server during a database backup. To ensure that the database can be backed
up, this value must be $$_TSMDBMGR_$$.
Linux Do not add the PASSWORDACCESS generate option to the dsm.sys
configuration file. This option can cause the database backup to fail.
6. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
where port_number specifies the port that you use for shared memory.
b. In the dsm.sys configuration file, locate the following lines:
commmethod tcpip
tcpserveraddr localhost
tcpport port_number
where port_number specifies the port that you use for shared memory.
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, the examples use server1 for the database instance
and d:\tsmserver1 for the Tivoli Storage Manager server directory. When you
issue the commands, replace these values with your actual values.
Procedure
1. Create a file that is named tsmdbmgr.env in the d:\tsmserver1 directory with
the following contents:
DSMI_CONFIG=server_instance_directory\tsmdbmgr.opt
DSMI_LOG=server_instance_directory
2. Set the DSMI_ api environment-variable configuration for the database instance:
a. Open a DB2 command window. One method is to go to the C:\Program
Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage
Manager in a different location, go to the db2\bin subdirectory in your main
installation directory. Then, issue the following command:
db2cmd
b. Issue the following command:
db2set -i server1 DB2_VENDOR_INI=d:\tsmserver1\tsmdbmgr.env
c. Create a file that is named tsmdbmgr.opt in the d:\tsmserver1 directory
with the following contents:
*************************************************
nodename $$_TSMDBMGR_$$
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
passwordaccess generate
errorlogname d:\tsmserver1
where
v nodename specifies the node name that the client API uses to connect to
the server during a database backup. To ensure that the database can be
backed up, this value must be $$_TSMDBMGR_$$.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 3 on page 223.
v tcpserveraddr specifies the server address that the client API uses to
contact the server for database backup. To ensure that the database can be
backed up, this value must be localhost.
222 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
v tcpport is the port number that the client API uses to contact the server
for database backup. Ensure that you enter the same tcpport value that is
specified in the dsmserv.opt server options file.
v passwordaccess is required to ensure that the backup node can connect to
the server.
v errorlogname is the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where
the instance user ID has write-permission.
3. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
Procedure
The procedure for upgrading the server includes the following tasks:
1. “Scenario 4: Preparing for the upgrade”
2. “Scenario 4: Installing the upgrade utilities” on page 233
3. Upgrading the server, by using one of the following methods:
v “Scenario 4: Upgrading the server by using the upgrade wizard” on page 241
v “Scenario 4: Upgrading the server manually by using utilities” on page 250
4. The following tasks are completed after the upgrade:
a. “Verifying access to storage pools on disk” on page 323
b. “Setting up Solaris services for the server instance” on page 324
c. “Configuring server options for server database maintenance” on page 324
d. “Starting the server instance after the upgrade” on page 325
e. “Registering licenses” on page 334
f. “Backing up the database after upgrading the server” on page 335
g. “Verifying the upgraded server” on page 336
h. “Changing the host name for the Tivoli Storage Manager server” on page
336
i. “Updating automation” on page 338
j. “Monitoring the upgraded server” on page 339
k. “Removing GSKit Version 7 after upgrading to Tivoli Storage Manager
V7.1” on page 340
Follow the preparation steps carefully to protect your server and its data.
Procedure
1. “Scenario 4: Checking the prerequisites for the upgrade” on page 226
2. “Scenario 4: Preparing space for the upgrade process” on page 229
Procedure
1. Ensure that the server that you plan to upgrade is at the V5.5 release level, and
that the latest interim fix is installed. For example, if the server is at V5.5.6,
install the latest interim fix for V5.5.6. Take the following actions:
a. Select the appropriate server level. For detailed guidelines, see
“Determining the appropriate level for a V5 server before an upgrade” on
page 36. If the server is at an appropriate level, no action is required.
b. If the server is not at an appropriate level, download the appropriate server
fix pack and the latest interim fix from the FTP downloads site at
ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server/. Locate the appropriate version of Tivoli Storage
Manager and install it.
2. Ensure that the system where the V5 server is located meets the minimum
requirements. Review the information in “Hardware and software requirements
for the V5 server system that is being upgraded” on page 17 to determine
whether you must update your system before you continue.
3. Ensure that the system where you plan to install the V7.1 server meets
requirements for the operating system type and level. For the latest information
about system requirements, see Tivoli Storage Manager Supported Operating
Systems (http://www.ibm.com/support/docview.wss?uid=swg21243309).
If you are upgrading Tivoli Storage Manager to a different operating system, a
limited set of migration paths is available. For instructions about migrating a
server that is running on a z/OS operating system, see Part 3, “Migrating Tivoli
Storage Manager V5 servers on z/OS systems to V7.1 on AIX or Linux on
System z,” on page 437. For instructions about migrating a server that is
running on an AIX, HP-UX, or Solaris operating system, see Part 2, “Migrating
Tivoli Storage Manager V5 servers on AIX, HP-UX, or Solaris systems to V7.1
on Linux,” on page 355.
Some platforms that were supported for earlier versions of the server are not
supported for V7.1. If the server that you want to upgrade is running on one of
these platforms, you cannot upgrade your server to V7.1 on the same platform.
You must install your V7.1 server on a system that is a specific supported
platform, depending on the original platform. For required platforms, see the
following table.
Table 48. Required platforms for upgrading from V5 to V7.1
Platform for V5 server Required platform for upgrade to V7.1
HP-UX running on a PA-RISC system HP-UX running on an Intel Itanium system
226 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
If you are upgrading from Tivoli Storage Manager V5 to V7.1 on a new system,
restrictions apply. Ensure that you install the V7.1 server in a compatible
hardware and software environment, as described in the following table.
Table 49. Requirements for upgrading from V5 to V7.1 on a new system
V5 server V7.1 server Comments
AIX running on an IBM AIX running on an IBM
POWER system POWER system
HP-UX running on an HP-UX running on an
Itanium system Itanium system
HP-UX running on a HP-UX running on an HP-UX running on PA-RISC
PA-RISC system Itanium system is not supported for V7.1
servers.
Linux running on an IBM Linux running on an IBM
POWER system POWER system
Linux running on an Itanium Linux running on an x86_64 Linux running on Itanium is
system (IA64) system not supported for V7.1
servers.
Linux running on an x86_32 Linux running on an x86_64 Linux running on x86_32 is
system system not supported for V7.1
servers.
Linux on System z Linux on System z
Table 49. Requirements for upgrading from V5 to V7.1 on a new system (continued)
V5 server V7.1 server Comments
Solaris running on an x86_64 Operating system depends A V7.1 server cannot be
system on the migration method installed on a Solaris x86_64
system. However, you can
migrate a V5 server that is
running on a Solaris x86_64
operating system to V7.1 on
a Linux x86_64 operating
system. For instructions, see
Part 2, “Migrating Tivoli
Storage Manager V5 servers
on AIX, HP-UX, or Solaris
systems to V7.1 on Linux,”
on page 355.
4. Verify that the system memory meets the server requirements. If you plan to
run multiple instances of the V7.1 server on the system, each instance requires
the memory that is listed for one server. Multiply the memory for one server by
the number of instances that are planned for the system.
For specific information about memory requirements, see the section for your
operating system:
Table 50. Memory requirements for the V7.1 system
Operating system Memory requirements
AIX “Server requirements on AIX systems” on
page 21
HP-UX “Server requirements on HP-UX systems” on
page 24
Linux “Server requirements on Linux systems” on
page 26
Solaris “Server requirements on Solaris systems” on
page 31
228 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
5. Ensure that the system has enough disk storage for the database and recovery
logs. Review the planning information for requirements and guidance.
If you are adding new hardware for the server, such as new disk storage for
the database, ensure that the hardware is installed and running.
6. Ensure that the new system can access the storage devices that are used on the
original system. This includes disk and tape devices that are used to store client
data.
Related concepts:
“Hardware and software requirements for upgrading to the V7.1 server” on page
17
Procedure
Verify that the system has the amount of space that was estimated in the planning
step. Use the planning worksheet that you completed with your information. See
“Worksheet for planning space for the V7.1 server” on page 42.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Procedure
1. From a Tivoli Storage Manager administrative command line, issue the
command:
convert ussfilespace
This command fixes a problem that might exist in older Tivoli Storage Manager
databases. If the problem does not exist in your database, the command is
completed and you might see error ANR2034E. This error can be ignored. For
more information, see Technote 1408895 (http://www.ibm.com/support/
docview.wss?uid=swg21408895). If the problem exists in your database, the
command might take some time to run.
Important: Do not skip this step. If your database has the problem and you do
not run this command now, the DSMUPGRD PREPAREDB utility fails when you run
it. You must then restart the V5 server and run the CONVERT USSFILESPACE
command before you continue the upgrade process.
2. Review the steps for reverting to the earlier version of the server in the section,
“Reverting from V7.1 to the previous V5 server version” on page 351.
If you must revert to the earlier version after the upgrade to V7.1, the results of
the reversion will be better if you understand the steps and prepare for the
possibility now.
3. Make the following adjustments to settings on your server and clients. These
adjustments must be done to make it possible for you to revert to the original
server after the upgrade, if problems occur.
a. For each sequential-access storage pool, set the REUSEDELAY parameter to the
number of days during which you want to be able to revert to the original
server, if necessary.
For example, if you want to be able to revert to the original server for up to
30 days after the upgrade to V7.1, set the REUSEDELAY parameter to 31 days.
Issue the following administrative command:
update stgpool sequential_access_storage_pool reusedelay=31
b. For each copy storage pool, set the RECLAIM parameter to 100 (meaning
100%). Issue the following administrative command:
update stgpool copy_storage_pool reclaim=100
c. If you typically use a DELETE VOLHISTORY command to delete database
backups, ensure that the command does not delete database backups too
frequently. The interval between backups should be at least the same
number of days that you set for the REUSEDELAY period for sequential-access
storage pools. For example, to delete database backups every 45 days, issue
the following administrative command:
delete volhist type=dbbackup todate=-45
d. For important clients that use the server, verify that the value for the
schedlogretention client option is set to retain the client schedule log for a
sufficient time. Update the option for clients if needed.
The entries in the client schedule log might be useful if the server must
revert to the original version. If the retention period for the schedule log is
too short, the schedule log information might be deleted too soon.
For example, to prune the log every 45 days and save the log entries, add
the following option:
schedlogretention 45 S
AIX HPUX Linux Solaris Add the option to the dsm.sys file
within a server stanza.
Windows Add the option to the client options file, dsm.opt.
Procedure
1. Prevent all clients, storage agents, and other servers from starting new sessions
with the server. Use the commands:
disable sessions client
disable sessions server
230 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
For more information about these commands and other Tivoli Storage Manager
administrative commands, see the Administrator's Reference.
2. Verify whether any sessions exist, and notify the users that the server is going
to be stopped. To check for existing sessions, use the command:
query session
3. Cancel sessions that are still running. Use the command:
cancel session all
Back up storage pools and the server database by using Tivoli Storage Manager
administrative commands:
Procedure
1. Back up primary storage pools to copy storage pools by using the BACKUP
STGPOOL command:
backup stgpool primary_pool copy_stg
where primary_pool specifies the primary storage pool and copy_stg specifies the
copy storage pool. If you have been performing regular backups of the storage
pools, this step backs up only the data that was added to the primary storage
pools since they were last backed up.
2. Back up the database. The preferred method is to use a snapshot backup. A
snapshot backup is a full database backup that does not interrupt any
scheduled database backups. Issue the command:
backup db type=dbsnapshot devclass=device_class_name
The device class that you specify must exist and have volumes that are
available to it. For example, to perform a snapshot backup of your database to
the TAPECLASS device class by using scratch volumes, enter:
backup db type=dbsnapshot devclass=tapeclass
To use specific volumes instead of scratch volumes, specify the volume names
in the command.
Tip: Consider making two copies of the backup to protect the backup from
media failures. Ensure that at least one full database backup is available onsite.
If you must restore the database after a failed upgrade, having an onsite
backup database saves time.
The NODELOCK file contains the licensing information from the previous Tivoli
Storage Manager installation. This licensing information is replaced when the
upgrade is complete.
Procedure
1. In the server instance directory of your installation, locate the NODELOCK file.
2. Move the NODELOCK file to another directory. For example, you can save it to a
directory where you are saving configuration files from the previous release.
Procedure
1. Back up device configuration information to another directory by using the
following Tivoli Storage Manager administrative command:
backup devconfig filenames=file_name
where file_name specifies the file in which to store volume history information.
Ensure that the volume history includes information about the database backup
that you completed in the preceding steps. For example, issue the following
command:
query volhistory type=dbsnapshot
Review the query output to verify that the time stamp for the database backup
matches the actual time of the backup.
3. Save copies of the following files, which are in the server instance directory:
v Server options file, typically named dsmserv.opt
v dsmserv.dsk
232 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
6. Store the device configuration file, the volume history file, the server options
file, and the other files in a safe place. Ensure that the files are stored on a
different system from the system that is being upgraded, or on offline media.
Procedure
Run commands that give a summary of information about your database contents.
For example, issue commands that summarize the file spaces that are being
protected, and save the results. For a list of commands, see “Sample commands to
run for validation of the database upgrade” on page 546.
Related reference:
“Sample commands to run for validation of the database upgrade” on page 546
Procedure
Allow time for the processes to be stopped. Some processes, such as storage
pool migration, might take some time to stop.
For more information about the QUERY PROCESS and CANCEL PROCESS commands
and other Tivoli Storage Manager administrative commands, see the
Administrator's Reference.
2. After all sessions and processes are stopped, determine whether any tapes are
mounted. Unmount any tapes that are mounted. Use the following commands:
query mount
dismount volume volume_name
3. Stop the server. Use the following command:
halt
The preferred method is to install the latest available version of the upgrade
utilities. For more information about selecting the version, see “Determining the
appropriate level for a V5 server before an upgrade” on page 36.
Procedure
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The
5.5.x.x number must be the same as or later than the level of the V5
server that you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-AIX.tar.gz
The numbers at the beginning of the package name identify the release
level of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Ensure that the system has the following file sets installed:
xlC.rte 8.0.0.5, or later
gsksa.rte 7.0.4.11
You can use the following commands to check for these file sets:
lslpp -L xlC.rte
lslpp -L gsksa.rte
234 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
If needed, you can obtain the gsksa.rte file set from any of the regular V5.5
maintenance packages for the AIX server. The maintenance packages are
available on the FTP downloads site: ftp://public.dhe.ibm.com/storage/tivoli-
storage-management/maintenance/server/v5r5/AIX/
4. Extract the contents of the upgrade utilities package. If you downloaded a
language package, also extract the contents of that package.
5. Navigate to the directory that corresponds to the processor architecture of the
operating system.
6. Access the System Management Interface Tool (SMIT).
a. Enter smitty install_update
b. Select Install and Update Software > Install and Update from ALL
Available Software.
7. Select the INPUT device. Specify the directory location of the upgrade utilities
package on the system.
8. Select Software to Install. Press F4 or Esc+4 for the list of available file sets in
the directory.
9. Select the file sets for the upgrade utilities, the device driver, and optionally
the language package. The file set for the upgrade utilities is
tivoli.tsmupg.server. Optional language packages include messages for
languages other than US English.
10. Set COMMIT software updates to Yes. Press F4 or Esc+4.
11. Set SAVE replaced files to No.
12. Ensure that the default settings for the options in the window for all the
selected file sets show success.
13. Press Enter, and respond to the ARE YOU SURE? question by pressing Enter
again. The installation begins.
14. When the installation is complete, exit the SMIT program.
15. Optional: If you installed a language package, ensure that the locale
environment variable is set to use it. Enter the following command to set the
locale environment variable for messages:
export LC_MESSAGES=xxxx
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
16. After the upgrade utilities are installed, continue at “Scenario 4: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 239.
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.gz
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
gzip -dc package_name.tar.gz | tar -xvf -
4. Navigate to the directory that corresponds to the processor architecture of the
operating system.
5. Install the upgrade utilities and the device driver. Use the source argument (-s)
to specify the directory where the package was extracted. For example, if the
directory is /tmp/TSM, issue the command:
swinstall -s /tmp/TSM package_name
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
236 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Open the directory for your operating system and download the package.
The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.bz2
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the commands:
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
4. Navigate to the directory that corresponds to the processor architecture of the
operating system, for example, x86_64.
5. Install the upgrade utilities and the device driver. Use the following command:
rpm -ivh package_name.rpm
The utilities are installed in the directory /opt/tivoli/tsm/upgrade/bin by
default.
6. Optional: Install the language package.
a. Extract the contents of the downloaded package.
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
b. Install the package for the language that you want to use.
rpm -ivh package_name.rpm
c. Enter the following command to set the locale environment variable for
messages:
export LC_MESSAGES=xxxx
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
7. After the upgrade utilities are installed, continue at “Scenario 4: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems” on page 239.
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Restriction: Do not install the utilities in the installation directory of the server that
must be upgraded. Install the utilities package in its own directory.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.Z
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Change to the directory where the upgrade utilities package was downloaded.
4. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
uncompress -c package_name.tar.Z | tar -xvf -
238 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
8. After the upgrade utilities are installed, continue at “Scenario 4: Setting
environment variables for the upgrade utilities on AIX, HP-UX, Linux, and
Oracle Solaris systems.”
After installing the upgrade utility package, you must set environment variables in
the shell from which you will run the utilities. An environment variable describes
the operating environment of a process, such as the home directory or terminal in
use.
The DSMSERV_DIR variable specifies the installed location of the upgrade utilities. By
default, the location is the following directory:
AIX
/usr/tivoli/tsm/upgrade/bin
/opt/tivoli/tsm/upgrade/bin
Procedure
Use the appropriate command for your system to set the environment variable for
running the utilities. If the shell is in the ksh or bash family, enter the following
command to set the DSMSERV_DIR variable:
export DSMSERV_DIR=upgrade_utilities_directory
What to do next
After you set the environment variables, continue the upgrade process using one of
the following topics:
v “Scenario 4: Upgrading the server by using the upgrade wizard” on page 241
v “Scenario 4: Upgrading the server manually by using utilities” on page 250
Install the upgrade utilities on the system where the V5 server is located. The
package to install is available for download from the FTP downloads site. The
upgrade utilities are used to prepare and extract the database from the original
server.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/WIN
b. Open the 5.5.x.x directory. The 5.5.x.x number must be the same as or
later than the level of the V5 server that you are upgrading.
c. Select the package and download it to a convenient location on the server
system. The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-Windows.exe
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, install the
language package that your installation requires.
2. Log on with an administrator ID.
3. Run the executable package for the upgrade utilities.
The default location for the installation of the utilities is based on the location
where the V5 server was last installed. For example, if the V5 server was
installed using the default path, C:\Program Files\Tivoli\TSM\server, the
upgrade utilities are installed in C:\Program Files\Tivoli\TSM\upgrade.
Restriction: Do not install the utilities in the same directory as the original
server that must be upgraded. Install the utilities package in its own directory.
240 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
What to do next
After the upgrade utilities are installed, continue the upgrade process using one of
the following topics:
v “Scenario 4: Upgrading the server by using the upgrade wizard”
v “Scenario 4: Upgrading the server manually by using utilities” on page 250
Tip: When you use the upgrade utilities, if you have multiple servers running
on the system, you must use the -k option to specify the name of the Windows
registry key from which to retrieve information about the server being
upgraded. The default value for the option is SERVER1.
You must complete all preceding steps to prepare for the upgrade and to install the
upgrade utilities. The V7.1 server must be installed, and directories and the user ID
must be created before you start the upgrade wizard.
Procedure
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
AIX HPUX Linux Solaris If you plan to download the files, set the
system user limit for maximum file size to unlimited to ensure that the files can be
downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
Procedure
1. Log on to the system.
AIX HPUX Linux Solaris Log in by using the root user ID.
Windows Log on as an administrator. You must be logged on to the system
with the administrative user ID that was used to install the V5 server.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
AIX HPUX Linux Solaris
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
Also, ensure that you have executable permission for the package
file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
AIX
7.1.0.000-TIV-TSMSRV-AIX.bin
HPUX
7.1.0.000-TIV-TSMSRV-HP-UX.bin
Linux
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
7.1.0.000-TIV-TSMSRV-Linuxs390x.bin
Solaris
7.1.0.000-TIV-TSMSRV-SolarisSPARC.bin
242 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035121
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035636
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035638
b. Change to the directory where you placed the executable file.
In the next step, the files are extracted to the current directory. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
c. To extract the installation files, double-click the executable file:
package_name.exe
where package_name is like this example:
7.1.0.000-TIV-TSMSRV-Windows.exe
The package is large. Therefore, the extraction takes some time.
4. AIX HPUX To ensure that the Tivoli Storage Manager
Solaris
wizards work correctly, verify that the following command is enabled:
AIX lsuser
HPUX Solaris logins
By default, the command is enabled.
5. If you plan to install the server by using the graphical wizard of IBM
Installation Manager, review the following information and verify that your
system meets the requirements:
v AIX Verify that all required RPM files are installed. For a list of
required RPM files and instructions about installing RPM files, see the
section about installing Tivoli Storage Manager by using the installation
wizard in the Installation Guide.
v Verify that the operating system is set to the language that you require. By
default, the language of the operating system is the language of the
installation wizard.
v The user ID that you use during installation must be a user with
Windows
local Administrator authority.
v Solaris Ensure that the LD_LIBRARY_PATH_64 environment variable is not
set.
Windows
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Windows Or, in the directory where the
installation files were extracted,
double-click the install.bat file.
7. If you are installing the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
8. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
244 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
9. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
10. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
11. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
12. HPUX Linux Solaris To prevent server failures during interaction
with DB2, tune the kernel parameters.
For instructions, see the section about tuning kernel parameters in the
Installation Guide.
13. Optional: To install an additional language package, use the modify function
of the IBM Installation Manager.
14. Optional: To upgrade to a newer version of a language package, use the
update function of the IBM Installation Manager.
Related concepts:
Appendix E, “Services associated with the Tivoli Storage Manager server,” on page
555
Review the information about planning space for the server before completing this
task. See “Worksheet for planning space for the V7.1 server” on page 42.
Procedure
1. Create the user ID that will own the server instance. You use this user ID when
you create the server instance in a later step.
AIX HPUX Linux Solaris
Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance.
a. Create the user ID and group.
HPUX
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
Linux
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
Solaris
# groupadd tsmsrvrs
# useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
b. Log out and then log in to your system by using the new user ID
and password. Use an interactive login program, such as telnet, so
that you are prompted for the password and can change it if
necessary.
c. If a configuration profile does not exist for the user ID, create the
file. For example, create a .profile file if you are using the Korn
shell (ksh).
Windows
Identify the user account that will own the Tivoli Storage Manager
server instance. When the server is started as a Windows service, this is
the account that the service will log on to. The user account must have
administrative authority on the system. One user account can own
more than one server instance.
You can create a user account, or use an existing account.
If you have multiple servers on one system and want to run each
server with a different user account, create a user account in this step.
a. Create the user ID.
You are prompted to create and verify a password for the new user
ID.
246 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Windows
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
3. Create additional logical volumes and mount the volumes on the directories
that were created in the previous step.
Related tasks:
“Planning space for the upgrade process and the upgraded server” on page 37
Related reference:
“Server naming best practices” on page 70
You must complete all preceding steps to prepare for the upgrade, to install the
upgrade utilities, to install the V7.1 server program, and to create the directories
and user ID for the server instance.
Procedure
1. Ensure that the following requirements are met.
AIX HPUX Linux Solaris
v The system where you installed the V7.1 server program must have
the X Window client. You must also be running an X Window server
on your desktop.
v The systems must have one of the following protocols enabled.
Ensure that the port that the protocol uses is not blocked by a
firewall.
248 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
– Secure Shell (SSH). Ensure that the port is set to the default value,
22. Also, ensure that the SSH daemon service has access rights for
connecting to the system by using localhost.
– Remote shell (rsh).
– Remote Execution Protocol (REXEC).
v You must be able to log in to the V7.1 system with the user ID that
you created for the server instance, using the SSH, RSH, or REXEC
protocol. When using the wizard, you must provide this user ID and
password to access that system.
Windows
v The system where you installed the V7.1 server program must have
the Windows server message block (SMB) protocol enabled. SMB is
the interface that is used by File and Print Sharing (also known as
CIFS). To use the SMB protocol, you must ensure that File and Print
Sharing is enabled, and that port 445 is not blocked by your firewall.
v If the V5 server is on a different system than the V7.1 server, that
system must also have SMB enabled.
v You must be able to log on to the system that has SMB enabled by
using either the user ID that you created for the server instance, or
another user ID that exists on the system. When you use the wizard,
you must provide the user ID and password to access the system.
2. Windows If the system is running on Windows Server 2008, complete the
following steps to disable User Account Control:
a. Ensure that the Remote Registry in Windows Services is started, and ports
445, 137, and 139 are unblocked in the firewall.
b. Configure both the framework server and the targets as members of a
Windows domain. Use a user account in that domain, or in a trusted
domain, when you connect to the target.
c. Connect to the target workstation by enabling and using the built-in
administrator account. To enable the built-in administrator account, click
Control Panel > Administrative Tools > Local Security Policy > Security
Settings > Local Policies > Security Options. Double-click the Accounts:
Administrator account status section. Select Enable and click OK.
d. Click Control Panel > Administrative Tools > Local Security Policy >
Security Settings > Local Policies > Security Options. Double-click the
User Account Control: Run all administrators in Admin Approval Mode
section. Select Disable and click OK.
3. Start the upgrade wizard, dsmupgdx, from the V7.1 server installation directory.
AIX HPUX Linux Solaris
Log in using the root user ID. Issue the command:
/opt/tivoli/tsm/server/bin/dsmupgdx
Windows
Open a new Command Prompt window, and issue the command:
"c:\Program Files\Tivoli\TSM\server\dsmupgdx.exe"
4. Follow the instructions to complete the upgrade. The upgrade wizard can be
stopped and restarted, but the server will not be operational until the entire
upgrade process is complete.
Important: Read all messages that appear for each phase of the upgrade
process, in the message display area within the wizard. Informational messages
might show actions that occurred during the process that are important to you.
What to do next
To complete the upgrade, perform the steps described in Chapter 10, “Taking the
first steps after upgrade,” on page 323.
Complete all preceding steps to prepare for the upgrade and to install the upgrade
utilities.
Procedure
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
Related concepts:
“DSMUPGRD upgrade utilities” on page 16
Procedure
1. Ensure that you have completed all preparation steps.
2. Log in using the root user ID on the system that has the original server. Log on
with the administrator ID on a Windows system.
3. Change to the instance directory for the server that you are upgrading. The
instance directory is the directory that contains the files such as dsmserv.dsk for
the server.
250 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
4. Prepare the database. Direct the output of the process to a file for monitoring.
AIX
From the instance directory for the server that you are upgrading, issue
the following command to run the process in the background and
direct the output to the file called prepare.out:
nohup /usr/tivoli/tsm/upgrade/bin/dsmupgrd preparedb >prepare.out 2>&1 &
Windows
From the instance directory for the server that you are upgrading, issue
the following command to run the process and direct the output to the
file called prepare.out:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd"
preparedb 1>>prepare.out 2>&1
If multiple servers exist on the system, issue the command from the
instance directory for the server that you want to prepare. Specify the
registry key for that server. For example, if the server is SERVER2:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd" -k server2
preparedb 1>>prepare.out 2>&1
5. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation. From the instance directory for the
server that you are upgrading, issue the following command to monitor the
process:
tail -f prepare.out
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
6. Ensure that the prepare operation is completed successfully before you continue
to the next step. If the prepare operation fails, you might need to restart the V5
server to fix the problem and run the prepare operation again. If the server that
is being upgraded is a V5.3 or V5.4 server, you might need to restore the
database by using a backup before you can restart the server to correct the
problem.
Related reference:
“DSMUPGRD PREPAREDB (Prepare a V5 database for upgrade)” on page 523
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
AIX HPUX Linux Solaris If you plan to download the files, set the
system user limit for maximum file size to unlimited to ensure that the files can be
downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
Procedure
1. Log on to the system.
AIX HPUX Linux Solaris Log in by using the root user ID.
Windows Log on as an administrator. You must be logged on to the system
with the administrative user ID that was used to install the V5 server.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
AIX HPUX Linux Solaris
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
252 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Also, ensure that you have executable permission for the package
file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
AIX
7.1.0.000-TIV-TSMSRV-AIX.bin
HPUX
7.1.0.000-TIV-TSMSRV-HP-UX.bin
Linux
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
7.1.0.000-TIV-TSMSRV-Linuxs390x.bin
Solaris
7.1.0.000-TIV-TSMSRV-SolarisSPARC.bin
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035121
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035636
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035638
b. Change to the directory where you placed the executable file.
In the next step, the files are extracted to the current directory. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
c. To extract the installation files, double-click the executable file:
package_name.exe
where package_name is like this example:
7.1.0.000-TIV-TSMSRV-Windows.exe
The package is large. Therefore, the extraction takes some time.
4. AIX HPUX Solaris To ensure that the Tivoli Storage Manager
wizards work correctly, verify that the following command is enabled:
AIX lsuser
Windows
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
254 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Option Description
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Windows Or, in the directory where the
installation files were extracted,
double-click the install.bat file.
7. If you are installing the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
8. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
9. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
10. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
11. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
12. HPUX Linux Solaris To prevent server failures during interaction
with DB2, tune the kernel parameters.
For instructions, see the section about tuning kernel parameters in the
Installation Guide.
13. Optional: To install an additional language package, use the modify function
of the IBM Installation Manager.
14. Optional: To upgrade to a newer version of a language package, use the
update function of the IBM Installation Manager.
Related concepts:
Appendix E, “Services associated with the Tivoli Storage Manager server,” on page
555
Review the information about planning space for the server before you complete
this task. See “Worksheet for planning space for the V7.1 server” on page 42.
Procedure
1. Create the user ID that will own the server instance. You use this user ID when
you create the server instance in a later step.
AIX HPUX Linux Solaris
Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance.
a. Create the user ID and group.
HPUX
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
Linux
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
Solaris
# groupadd tsmsrvrs
# useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
256 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
b. Log out and then log in to your system by using the new user ID
and password. Use an interactive login program, such as telnet, so
that you are prompted for the password and can change it if
necessary.
c. If a configuration profile does not exist for the user ID, create the
file. For example, create a .profile file if you are using the Korn
shell (ksh).
Windows
Identify the user account that will own the Tivoli Storage Manager
server instance. When the server is started as a Windows service, this is
the account that the service will log on to. The user account must have
administrative authority on the system. One user account can own
more than one server instance.
You can create a user account, or use an existing account.
If you have multiple servers on one system and want to run each
server with a different user account, create a user account in this step.
a. Create the user ID.
You are prompted to create and verify a password for the new user
ID.
b. Issue the following operating system commands to add the new
user ID to the Administrators groups:
net localgroup Administrators user_ID /add
net localgroup DB2ADMNS user_ID /add
c. Log in to your system, by using the new user ID and password.
d. For all directories that were created for the server instance, ensure
that the user ID for the server instance has read/write access. The
directories to check include the instance directory and all database
and log directories.
2. Create the directories that the server requires. Ensure that you are logged in
under the new user ID that you created.
You need a unique, empty directory for each item in the following table. Create
the database directories, the active log directory, and the archive log directory
on different physical volumes. For space requirements, see “Worksheet for
planning space for the V7.1 server” on page 42.
AIX HPUX Linux Solaris
Windows
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
258 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
3. Create additional logical volumes and mount the volumes on the directories
that were created in the previous step.
Related tasks:
“Planning space for the upgrade process and the upgraded server” on page 37
Related reference:
“Server naming best practices” on page 70
Procedure
1. Log on to the system where you installed the V7.1 program.
AIX HPUX Linux Solaris
Log in by using the root user ID. Verify the following items:
v The home directory for the user, /home/tsminst1, exists. If there is
no home directory, you must create it.
The instance directory stores the following core files that are
generated by the Tivoli Storage Manager server:
– The server options file, dsmserv.opt
– The server key database file, cert.kdb, and the .arm files, which
are used by clients and other servers to import the Secure
Sockets Layer certificates of the server
– Device configuration file, if the DEVCONFIG server option does not
specify a fully qualified name
– Volume history file, if the VOLUMEHISTORY server option does not
specify a fully qualified name
– Volumes for DEVTYPE=FILE storage pools, if the directory for
the device class is not fully specified, or not fully qualified
– User exits
– Trace output, if it is not fully qualified
v A shell configuration file, for example, .profile, exists in the home
directory. The root user and instance user ID must have write
permission to this file. For more information, go to the DB2
Information Center (http://pic.dhe.ibm.com/infocenter/db2luw/
v10r5), and search for information about Linux and UNIX
environment variable settings.
Windows
Log on as an administrator.
2. Create a Tivoli Storage Manager instance by using the db2icrt command.
AIX HPUX Linux Solaris
Enter the following command on one line. For the instance name,
specify the user ID that you created to own the instance:
AIX HPUX Linux Solaris
For example, if the user ID for this instance is tsminst1, use the
following command to create the instance:
Remember: From this point on, use this new user ID when you
configure the Tivoli Storage Manager server. Log out of the root user
ID, and log in using the user ID that is the instance owner.
Windows
Enter the following command on one line. The user account that you
specify becomes the user ID that owns the V7.1 server; this ID is the
instance user ID.
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.
3. Log on to the system by using the user ID that owns the V7.1 server instance
(the instance user ID).
4. Copy the configuration files to the instance directory that you created for the
new server. The files are the configuration files that you saved from the
original V5 server:
v Device configuration
v Server options file, which is typically named dsmserv.opt
For example, if you created the instance directory that is shown in the
example in the step to create directories for the V7.1 server, copy the files into
the following directory:
AIX HPUX Linux Solaris /tsminst1
Windowsd:\tsm\server1
Ensure 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.
5. Edit the server options file.
a. Remove any options that are not supported for V7.1. For the list of deleted
options, see Table 29 on page 67.
b. Verify that the server options file contains at least one VOLUMEHISTORY
option and at least one DEVCONFIG option. By specifying these options, you
ensure that a volume history file and a device configuration file are
generated and updated automatically. If you must restore the database,
these files are required.
260 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
c. Check whether the server options file includes the TXNGROUPMAX option
with a value, and if it does, what the value is. You might want to change
the current value because the default value for this option changed from
256 to 4096, starting in V6. The increased value can improve the
performance for data movement operations such as storage pool migration
and storage pool backup.
v If the server options file does not include this option, the server
automatically uses the new default value of 4096.
v If the server options file includes a value for this option, the server uses
that specified value. If the specified value is less than 4096, consider
increasing the value, or removing the option so that the new default
value is applied.
6. Change the default path for the database.
AIX HPUX Linux Solaris
Change the default path for the database to be the same as the
instance directory for the server. Issue the command:
db2 update dbm cfg using dftdbpath instance_directory
For example:
db2 update dbm cfg using dftdbpath /tsminst1
Windows
Change the default path for the database to be the drive where the
instance directory for the server is located. Complete the following
steps:
a. Click Start > Programs > IBM DB2 > DB2TSM1 > Command
Line Tools > Command Line Processor.
b. Enter quit to exit the command line processor.
A window with a command prompt opens, with the environment
correctly set up to successfully issue the commands in the next
steps.
c. From the command prompt in that window, issue the following
command to set the environment variable for the server instance
that you are working with:
set db2instance=instance_name
AIX HPUX Linux Solaris You must update the following files
to set the library path when DB2 or the Tivoli Storage Manager server is
started:
v instance_directory/sqllib/usercshrc
v instance_directory/sqllib/userprofile
For the instance_directory/sqllib/usercshrc file, add the following lines:
v AIX
LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
export LIBPATH
v HPUX Solaris
LD_LIBRARY_PATH=/opt/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
v Linux
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.14
or later. Issue the following commands:
v AIX
echo $LIBPATH
gsk8capicmd_64 -version
gsk8ver_64
v HPUX Linux Solaris
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.
8. Change to the instance directory that you created for the server.
9. Create and format the database and recovery logs. In the command, specify
the directories that you created for the database and logs. The directories must
be empty.
AIX HPUX Linux Solaris
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
Windows
262 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
For example, to get an active log size of 16 GB (16384 MB, the default
size) for the Server1 server instance, issue the following command, on
one line:
"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
If you have already created the first server instance on the system
(server1) and are creating more, then you must use the -k option. The
-k option specifies the instance name for running this utility. For
example, if the instance name for the server is server2, issue the
command:
"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
10. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Related reference:
DSMSERV LOADFORMAT (Format a database)
“Deleted server commands, utilities, and options” on page 65
Ensure that the V5 server and the V7.1 server are not running.
Procedure
1. Verify that there is a good network connection between the two systems.
2. Start the insertion process on the V7.1 server to accept the database. To monitor
the process, direct the output of the process to a file. For example, start the
server, allowing 60 minutes (the default time) for the other server to contact the
V7.1 server and directing the process output to insert.out, by using this
command:
AIX HPUX Linux Solaris
Windows
that operations are continuing as expected, monitor the CPU and I/O usage for
the server process and the corresponding DB2 process.
3. Monitor the output of the DSMSERV INSERTDB process. Verify that the DSMSERV
INSERTDB process has issued the following message before continuing to the
next step:
ANR1336I INSERTDB: Ready for connections from the source server
Issue the following command to monitor the process output in the insert.out
file:
tail -f insert.out
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
4. Start the extraction from the original server. Specify the TCP/IP address and
port for the V7.1 server. Direct the output of the process to a file for
monitoring. For example, enter the following command on one line:
AIX
Windows
The length of time that the process runs depends on the size of the database,
the hardware being used, and the network.
6. Examine the process outputs for the extraction and insertion processes to find
the messages that indicate the success or failure of the operations.
Related reference:
“DSMUPGRD EXTRACTDB (Extract data from a V5 server database)” on page 529
264 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
A Windows service is created for the Tivoli Storage Manager V7.1 server
automatically if you use the upgrade wizard (dsmupgdx). If you do not use the
wizard, you must create the Windows service for the Tivoli Storage Manager
server manually.
Procedure
1. Change to the installation directory for the server program. By default, the
directory is C:\Program Files\Tivoli\TSM\console. If you installed the server
in a different directory, change to the console subdirectory of the server
installation directory.
2. Install the Windows service by using the Tivoli Storage Manager server
instance name and password in the service name. Issue the following
command:
install "TSM server_instance_name"
"C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
instance_owner instance_owner_password
where:
"TSM server_instance_name" is the name of the service that is being
installed.
server_instance_name is the instance name that was specified when you
issued the db2icrt command.
instance_owner is the instance owner account; this account will own the
service.
instance_owner_password is the password for the instance owner account.
Example
To install the Windows service for the server1 server instance, enter the
following command on one line. The example uses rudy as the instance
owner and s21ret as the password for the instance owner account.
install "TSM server1" "C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
rudy s21ret
3. Optional: Manually change the service to an automatic startup type by using
Windows administrative tools (Administrative Tools > Services).
Related tasks:
“Starting the server on Windows systems” on page 331
Procedure
v “Scenario 4: Configuring the system for database backup on AIX, HP-UX, Linux,
and Oracle Solaris systems” on page 266
v “Scenario 4: Configuring the system for database backup on Microsoft Windows
systems” on page 268
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Starting with Tivoli Storage Manager V7.1, it is no longer necessary to set the API
password during a manual configuration of the server. If you set the API password
during the manual configuration process, attempts to back up the database might
fail.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, replace the example values with your actual values.
The examples use tsminst1 for the server instance user ID, /tsminst1 for the Tivoli
Storage Manager server instance directory, and /home/tsminst1 as the home
directory of the server instance user.
Procedure
1. Set the Tivoli Storage Manager API environment-variable configuration for the
database instance:
a. Log in by using the tsminst1 user ID.
b. When user tsminst1 is logged in, ensure that the DB2 environment is
correctly initialized. The DB2 environment is initialized by running the
/home/tsminst1/sqllib/db2profile script, which normally runs
automatically from the profile of the user ID. Ensure that the .profile file
exists in the home directory of the instance user, for example,
/home/tsminst1/.profile. If .profile does not run the db2profile script,
add the following lines:
if [ -f /home/tsminst1/sqllib/db2profile ]; then
. /home/tsminst1/sqllib/db2profile
fi
c. In the instance_directory/sqllib/userprofile file, add the following lines:
DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
DSMI_DIR=server_bin_directory/dbbkapi
DSMI_LOG=server_instance_directory
export DSMI_CONFIG DSMI_DIR DSMI_LOG
d. In the instance_directory/sqllib/usercshrc file, add the following lines:
setenv DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
setenv DSMI_DIR=server_bin_directory/dbbkapi
setenv DSMI_LOG=server_instance_directory
266 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Ensure that you enter a space after the initial dot (.) character.
3. Create a file that is named tsmdbmgr.opt in the server instance directory, which
is in the /tsminst1 directory in this example, and add the following line:
SERVERNAME TSMDBMGR_TSMINST1
The value for SERVERNAME must be consistent in the tsmdbmgr.opt and dsm.sys
files.
4. Locate the Tivoli Storage Manager API dsm.sys configuration file. By default,
the dsm.sys file is in the following location:
server_bin_directory/dbbkapi/dsm.sys
5. As root user, add the following lines to the dsm.sys configuration file:
servername TSMDBMGR_TSMINST1
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
errorlogname /tsminst1
nodename $$_TSMDBMGR_$$
where
v servername matches the servername value in the tsmdbmgr.opt file.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 6.
v tcpserveraddr specifies the server address that the client API uses to contact
the server for database backup. To ensure that the database can be backed
up, this value must be localhost.
v tcpport specifies the port number that the client API uses to contact the
server for database backup. Ensure that you enter the same tcpport value
that is specified in the dsmserv.opt server options file.
v errorlogname specifies the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where the
instance user ID has write-permission.
v nodename specifies the node name that the client API uses to connect to the
server during a database backup. To ensure that the database can be backed
up, this value must be $$_TSMDBMGR_$$.
Linux Do not add the PASSWORDACCESS generate option to the dsm.sys
configuration file. This option can cause the database backup to fail.
6. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
where port_number specifies the port that you use for shared memory.
b. In the dsm.sys configuration file, locate the following lines:
commmethod tcpip
tcpserveraddr localhost
tcpport port_number
where port_number specifies the port that you use for shared memory.
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, the examples use server1 for the database instance
and d:\tsmserver1 for the Tivoli Storage Manager server directory. When you
issue the commands, replace these values with your actual values.
Procedure
1. Create a file that is named tsmdbmgr.env in the d:\tsmserver1 directory with
the following contents:
DSMI_CONFIG=server_instance_directory\tsmdbmgr.opt
DSMI_LOG=server_instance_directory
2. Set the DSMI_ api environment-variable configuration for the database instance:
a. Open a DB2 command window. One method is to go to the C:\Program
Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage
Manager in a different location, go to the db2\bin subdirectory in your main
installation directory. Then, issue the following command:
db2cmd
b. Issue the following command:
db2set -i server1 DB2_VENDOR_INI=d:\tsmserver1\tsmdbmgr.env
c. Create a file that is named tsmdbmgr.opt in the d:\tsmserver1 directory
with the following contents:
*************************************************
nodename $$_TSMDBMGR_$$
commmethod tcpip
268 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
tcpserveraddr localhost
tcpport 1500
passwordaccess generate
errorlogname d:\tsmserver1
where
v nodename specifies the node name that the client API uses to connect to
the server during a database backup. To ensure that the database can be
backed up, this value must be $$_TSMDBMGR_$$.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 3.
v tcpserveraddr specifies the server address that the client API uses to
contact the server for database backup. To ensure that the database can be
backed up, this value must be localhost.
v tcpport is the port number that the client API uses to contact the server
for database backup. Ensure that you enter the same tcpport value that is
specified in the dsmserv.opt server options file.
v passwordaccess is required to ensure that the backup node can connect to
the server.
v errorlogname is the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where
the instance user ID has write-permission.
3. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you are planning an in-place upgrade on the same system, ensure that you retain
the installation media from the base release of the installed V5 server. If you
installed Tivoli Storage Manager from a DVD, ensure that the DVD is available. If
you installed Tivoli Storage Manager from a downloaded package, ensure that the
downloaded files are available. If the upgrade fails, and the server license module
is uninstalled, the installation media from the V5 server base release are required
to reinstall the license.
Procedure
1. Mount all shared resources on the primary node. If your environment includes
multiple instances of Tivoli Storage Manager, shared resources for all instances
must be accessible to the primary node during the upgrade.
2. Select a scenario for upgrading the server:
v Chapter 4, “Scenario 1: Same system, media method,” on page 91
v Chapter 5, “Scenario 2: Same system, network method,” on page 135
v Chapter 6, “Scenario 3: New system, media method,” on page 177
v Chapter 7, “Scenario 4: New system, network method,” on page 225
3. On the primary node, for each instance, prepare the system for the upgrade.
Complete the steps for your scenario:
v “Scenario 1: Preparing for the upgrade” on page 91
v “Scenario 2: Preparing for the upgrade” on page 135
v “Scenario 3: Preparing for the upgrade” on page 177
272 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
node of a cluster. By selecting this box, you create the required database
instances and catalog the database in each instance.
d. Test the start and stop scripts to ensure that they work as expected.
e. Complete the verification and configuration steps, as described in
Chapter 10, “Taking the first steps after upgrade,” on page 323.
To upgrade the Tivoli Storage Manager server from V5.5 to V7.1 in a clustered
environment on a Windows system, plan the upgrade. Then, install the V7.1 server
on all nodes in the cluster. Finally, run the upgrade wizard, which inserts the new
database and configures the system.
If you are planning an in-place upgrade on the same system, ensure that you retain
the installation media from the base release of the installed V5 server. If you
installed Tivoli Storage Manager from a DVD, ensure that the DVD is available. If
you installed Tivoli Storage Manager from a downloaded package, ensure that the
downloaded files are available. If the upgrade fails, and the server license module
is uninstalled, the installation media from the V5 server base release are required
to reinstall the license.
Procedure
1. Plan the upgrade and prepare the system, as described in “Planning the
upgrade and preparing the system.”
2. Run the upgrade wizard, as described in “Installing the V7.1 server and
running the upgrade wizard” on page 274.
Before you upgrade the server from V5.5 to V7.1 in a clustered environment on a
Windows system, select an upgrade scenario and prepare the system.
Procedure
1. Select a scenario for upgrading the server:
v Chapter 4, “Scenario 1: Same system, media method,” on page 91
v Chapter 5, “Scenario 2: Same system, network method,” on page 135
v Chapter 6, “Scenario 3: New system, media method,” on page 177
v Chapter 7, “Scenario 4: New system, network method,” on page 225
2. If the Tivoli Storage Manager server is installed on a Windows Server 2012
operating system, install the failover cluster automation server and the failover
cluster command interface. To install these components, issue the following
commands from Windows 2.0 PowerShell on each node in the cluster:
Install-WindowsFeature -Name RSAT-Clustering-AutomationServer
Install-WindowsFeature -Name RSAT-Clustering-CmdInterface
3. If you are upgrading on a new system, set up the nodes for the cluster and
create a resource group.
What to do next
After you plan the upgrade and prepare the system, complete the steps in
“Installing the V7.1 server and running the upgrade wizard.”
To complete the upgrade, you must install the V7.1 server on all nodes in the
cluster. Then, run the upgrade wizard, which inserts the new database and
configures the system.
Procedure
1. Install the Tivoli Storage Manager V7.1 server on all nodes. For instructions, see
“Installing the V7.1 server” on page 297.
274 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
2. On the primary node, create the user ID for the upgraded server instance. The
user ID for the instance must be defined to the domain controller. For
instructions, see “Creating the directories and the user ID for the upgraded
server instance” on page 302.
3. On the primary node, create the directories for the upgraded server instance.
Ensure that all database and recovery log directories are on a shared disk in the
resource group. For instructions, see “Creating the directories and the user ID
for the upgraded server instance” on page 302. Create the directories that the
server instance requires for database and recovery logs, as identified in the
table in that section.
4. On the primary node, start the upgrade wizard by clicking Start > All
Programs > Tivoli Storage Manager > Upgrade Wizard.
Follow the steps in the upgrade wizard:
a. When you are prompted to enter the instance name, enter the name of the
instance that you are reclustering.
b. When you are prompted to enter the instance user ID, enter the user ID in
this format: domain\userid.
c. When you are prompted to select the nodes for the cluster, select the
primary node and any other nodes that you want to include.
d. When you are prompted to specify directories for the instance, database,
and logs, specify directories that are on a shared disk.
e. When you are prompted to specify cluster network information, select a
public network connection.
f. Review the selections in the Summary panel. If they are correct, click Next
to format and insert the database.
5. If the system includes more than one server instance to be upgraded, run the
upgrade wizard for each instance.
After you have followed the steps in the upgrade wizard, the upgrade is
complete and the system is configured.
6. Optional: If the upgrade was done on the existing system, delete the Tivoli
Storage Manager V5.5 database files.
What to do next
If a native device driver is available on Windows for the tape drives or medium
changers that you plan to use, use the native device driver. If a native device
driver is not available on Windows for the tape drives or medium changers that
you plan to use, install the Tivoli Storage Manager device driver by issuing the
dpinst.exe /a command. The dpinst.exe file is in the device driver directory. The
default directory is C:\Program Files\Tivoli\TSM\device\drivers.
Procedure
The procedure for upgrading the server includes the following tasks:
1. “Preparing for the upgrade”
2. “Installing the upgrade utilities on the original server” on page 287
3. “Preparing the database of a V5 server for upgrade” on page 294
4. Same-system upgrade only: “Uninstalling the V5 program before installing
V7.1” on page 295
5. “Installing the V7.1 server” on page 297
6. “Creating the directories and the user ID for the upgraded server instance” on
page 302
7. Upgrading the server by using one of the following methods:
v “Upgrading the server by using the upgrade wizard” on page 305
v “Upgrading the server manually by using utilities” on page 307
8. The following tasks are completed after the upgrade:
a. “Verifying access to storage pools on disk” on page 323
b. “Setting up Solaris services for the server instance” on page 324
c. “Configuring server options for server database maintenance” on page 324
d. “Starting the server instance after the upgrade” on page 325
e. “Registering licenses” on page 334
f. “Backing up the database after upgrading the server” on page 335
g. “Verifying the upgraded server” on page 336
h. “Changing the host name for the Tivoli Storage Manager server” on page
336
i. “Updating automation” on page 338
j. “Monitoring the upgraded server” on page 339
k. “Removing GSKit Version 7 after upgrading to Tivoli Storage Manager
V7.1” on page 340
Follow the preparation steps carefully to protect your server and its data.
Procedure
Requirement: If you are upgrading the Tivoli Storage Manager server on the same
system, the system must meet the minimum requirements for both the V5 and V7.1
servers.
Procedure
1. Ensure that the server that you plan to upgrade is at the V5.5 release level, and
that the latest interim fix is installed. For example, if the server is at V5.5.6,
install the latest interim fix for V5.5.6. Take the following actions:
a. Select the appropriate server level. For detailed guidelines, see
“Determining the appropriate level for a V5 server before an upgrade” on
page 36. If the server is at an appropriate level, no action is required.
b. If the server is not at an appropriate level, download the appropriate server
fix pack and the latest interim fix from the FTP downloads site at
ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server/. Locate the appropriate version of Tivoli Storage
Manager and install it.
2. Ensure that the system where the V5 server is located meets the minimum
requirements. Review the information in “Hardware and software requirements
for the V5 server system that is being upgraded” on page 17 to determine
whether you must update your system before you continue.
3. Ensure that the system where you plan to install the V7.1 server meets
requirements for the operating system type and level. For the latest information
about system requirements, see Tivoli Storage Manager Supported Operating
Systems (http://www.ibm.com/support/docview.wss?uid=swg21243309).
If you are upgrading Tivoli Storage Manager to a different operating system, a
limited set of migration paths is available. For instructions about migrating a
server that is running on a z/OS operating system, see Part 3, “Migrating Tivoli
278 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
If you are upgrading from Tivoli Storage Manager V5 to V7.1 on a new system,
restrictions apply. Ensure that you install the V7.1 server in a compatible
hardware and software environment, as described in the following table.
Table 56. Requirements for upgrading from V5 to V7.1 on a new system
V5 server V7.1 server Comments
AIX running on an IBM AIX running on an IBM
POWER system POWER system
HP-UX running on an HP-UX running on an
Itanium system Itanium system
HP-UX running on a HP-UX running on an HP-UX running on PA-RISC
PA-RISC system Itanium system is not supported for V7.1
servers.
Linux running on an IBM Linux running on an IBM
POWER system POWER system
Linux running on an Itanium Linux running on an x86_64 Linux running on Itanium is
system (IA64) system not supported for V7.1
servers.
Linux running on an x86_32 Linux running on an x86_64 Linux running on x86_32 is
system system not supported for V7.1
servers.
Linux on System z Linux on System z
Table 56. Requirements for upgrading from V5 to V7.1 on a new system (continued)
V5 server V7.1 server Comments
Solaris running on an x86_64 Operating system depends A V7.1 server cannot be
system on the migration method installed on a Solaris x86_64
system. However, you can
migrate a V5 server that is
running on a Solaris x86_64
operating system to V7.1 on
a Linux x86_64 operating
system. For instructions, see
Part 2, “Migrating Tivoli
Storage Manager V5 servers
on AIX, HP-UX, or Solaris
systems to V7.1 on Linux,”
on page 355.
280 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
5. Ensure that the system has enough disk storage for the database and recovery
logs. Review the planning information for requirements and guidance.
If you are adding new hardware for the server, such as new disk storage for
the database, ensure that the hardware is installed and running.
If you plan to upgrade the server on the same system, you can take one of two
approaches:
v Ensure that the system has enough disk storage for storing database and
recovery logs for both the original server and the new V7.1 server. Both are
stored on disk storage during the upgrade process.
v After you back up the V5 database and extract the data to media, reconfigure
the disk subsystem that is 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 servers.
6. 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 the disk and tape devices that are used to store client data.
If you are moving the database by using the media method, it might be
necessary to leave a storage device attached to the original system to extract the
database. Then, move the storage device to the new system.
Related concepts:
“Hardware and software requirements for upgrading to the V7.1 server” on page
17
Procedure
1. Verify that the system has the amount of space that was estimated in the
planning step. Use the planning worksheet that you completed with your
information. See “Worksheet for planning space for the V7.1 server” on page
42.
2. If you plan to extract the original server database to media for later insertion
into the new database, ensure that you have space available for storing the
database and the manifest file that the extraction process creates.
a. Identify the device class to which you will extract the original database. The
definition must exist in the server database, not just in the device
configuration file. View information about devices classes by issuing the
command:
query devclass format=detailed
The device class must be a sequential device class that has volumes or space
available. Define a new device class if necessary. The device class type
cannot be NAS or CENTERA.
Important: You must confirm now that the definition that is in the server
database for the device class is correct. After you prepare the database for
upgrade (by completing the Prepare Database phase in the upgrade wizard,
or by using the DSMUPGRD PREPAREDB utility), you cannot update this device
class definition. For example, check the path for a FILE device class. If you
copied the original server to a different system to extract the data, the path
might be different on the current system.
b. Ensure that space or volumes are available in the selected device class. The
amount of space that you need is about the same as the current size of the
original database.
For example, if the device class is FILE, ensure that the directory has
sufficient space for your environment. If the device class is TAPE, ensure
that sufficient scratch volumes are available for your environment.
Ensure that the instance user ID that you create for the upgraded server has
access permission to the location of the extracted data.
c. Check that the access permissions are correct for the location that you plan
to specify for the manifest file.
The user ID that will run the database preparation and extraction utilities
(DSMUPGRD PREPAREDB and DSMUPGRD EXTRACTDB) must have write access to
this file. This is typically the root user ID.
When the data is later inserted into the V7.1 database, the instance user ID
that you use for the upgraded server must have access permission for the
manifest file.
The manifest file is typically less than 1 KB.
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Procedure
1. From a Tivoli Storage Manager administrative command line, issue the
command:
convert ussfilespace
This command fixes a problem that might exist in older Tivoli Storage Manager
databases. If the problem does not exist in your database, the command is
completed and you might see error ANR2034E. This error can be ignored. For
282 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Important: Do not skip this step. If your database has the problem and you do
not run this command now, the DSMUPGRD PREPAREDB utility fails when you run
it. You must then restart the V5 server and run the CONVERT USSFILESPACE
command before you continue the upgrade process.
2. Review the steps for reverting to the earlier version of the server in the section,
“Reverting from V7.1 to the previous V5 server version” on page 351.
If you must revert to the earlier version after the upgrade to V7.1, the results of
the reversion will be better if you understand the steps and prepare for the
possibility now.
3. Make the following adjustments to settings on your server and clients. These
adjustments must be done to make it possible for you to revert to the original
server after the upgrade, if problems occur.
a. For each sequential-access storage pool, set the REUSEDELAY parameter to the
number of days during which you want to be able to revert to the original
server, if necessary.
For example, if you want to be able to revert to the original server for up to
30 days after the upgrade to V7.1, set the REUSEDELAY parameter to 31 days.
Issue the following administrative command:
update stgpool sequential_access_storage_pool reusedelay=31
b. For each copy storage pool, set the RECLAIM parameter to 100 (meaning
100%). Issue the following administrative command:
update stgpool copy_storage_pool reclaim=100
c. If you typically use a DELETE VOLHISTORY command to delete database
backups, ensure that the command does not delete database backups too
frequently. The interval between backups should be at least the same
number of days that you set for the REUSEDELAY period for sequential-access
storage pools. For example, to delete database backups every 45 days, issue
the following administrative command:
delete volhist type=dbbackup todate=-45
d. For important clients that use the server, verify that the value for the
schedlogretention client option is set to retain the client schedule log for a
sufficient time. Update the option for clients if needed.
The entries in the client schedule log might be useful if the server must
revert to the original version. If the retention period for the schedule log is
too short, the schedule log information might be deleted too soon.
For example, to prune the log every 45 days and save the log entries, add
the following option:
schedlogretention 45 S
AIX HPUX Linux Solaris Add the option to the dsm.sys file
within a server stanza.
Windows Add the option to the client options file, dsm.opt.
Disabling sessions
In preparation for the upgrade, prevent activity on the server by disabling new
sessions. Cancel any existing sessions.
Procedure
1. Prevent all clients, storage agents, and other servers from starting new sessions
with the server. Use the commands:
disable sessions client
disable sessions server
For more information about these commands and other Tivoli Storage Manager
administrative commands, see the Administrator's Reference.
2. Verify whether any sessions exist, and notify the users that the server is going
to be stopped. To check for existing sessions, use the command:
query session
3. Cancel sessions that are still running. Use the command:
cancel session all
Back up storage pools and the server database by using Tivoli Storage Manager
administrative commands:
Procedure
1. Back up primary storage pools to copy storage pools by using the BACKUP
STGPOOL command:
backup stgpool primary_pool copy_stg
where primary_pool specifies the primary storage pool and copy_stg specifies the
copy storage pool. If you have been performing regular backups of the storage
pools, this step backs up only the data that was added to the primary storage
pools since they were last backed up.
2. Back up the database. The preferred method is to use a snapshot backup. A
snapshot backup is a full database backup that does not interrupt any
scheduled database backups. Issue the command:
backup db type=dbsnapshot devclass=device_class_name
The device class that you specify must exist and have volumes that are
available to it. For example, to perform a snapshot backup of your database to
the TAPECLASS device class by using scratch volumes, enter:
backup db type=dbsnapshot devclass=tapeclass
To use specific volumes instead of scratch volumes, specify the volume names
in the command.
284 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Tip: Consider making two copies of the backup to protect the backup from
media failures. Ensure that at least one full database backup is available onsite.
If you must restore the database after a failed upgrade, having an onsite
backup database saves time.
The NODELOCK file contains the licensing information from the previous Tivoli
Storage Manager installation. This licensing information is replaced when the
upgrade is complete.
Procedure
1. In the server instance directory of your installation, locate the NODELOCK file.
2. Move the NODELOCK file to another directory. For example, you can save it to a
directory where you are saving configuration files from the previous release.
Procedure
1. Back up device configuration information to another directory by using the
following Tivoli Storage Manager administrative command:
backup devconfig filenames=file_name
where file_name specifies the file in which to store volume history information.
Ensure that the volume history includes information about the database backup
that you completed in the preceding steps. For example, issue the command:
query volhistory type=dbsnapshot
Review the query output to verify that the time stamp for the database backup
matches the actual time of the backup.
3. Save copies of the following files, which are in the server instance directory:
v Server options file, typically named dsmserv.opt
v dsmserv.dsk
4. In the server instance directory, look for the accounting log file, dsmaccnt.log.
If the file exists, save a copy.
5. Back up any scripts that were used to complete daily housekeeping for the
server. Examine the scripts for changes that are needed after the upgrade.
6. Store the device configuration file, the volume history file, the server options
file, and the other files in a safe place. Ensure that the files are stored on a
different system from the system that is being upgraded, or on offline media.
Procedure
Run commands that give a summary of information about your database contents.
For example, issue commands that summarize the file spaces that are being
protected, and save the results. For a list of commands, see “Sample commands to
run for validation of the database upgrade” on page 546.
Related reference:
“Sample commands to run for validation of the database upgrade” on page 546
Procedure
Allow time for the processes to be stopped. Some processes, such as storage
pool migration, might take some time to stop.
For more information about the QUERY PROCESS and CANCEL PROCESS commands
and other Tivoli Storage Manager administrative commands, see the
Administrator's Reference.
2. After all sessions and processes are stopped, determine whether any tapes are
mounted. Unmount any tapes that are mounted. Use the following commands:
query mount
dismount volume volume_name
3. Stop the server. Use the following command:
halt
286 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
The preferred method is to install the latest available version of the upgrade
utilities. For more information about selecting the version, see “Determining the
appropriate level for a V5 server before an upgrade” on page 36.
Procedure
You must install the upgrade utilities on the system that has the original server
and its database. The package to install is available for download from the FTP
downloads site.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The
5.5.x.x number must be the same as or later than the level of the V5
server that you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-AIX.tar.gz
The numbers at the beginning of the package name identify the release
level of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Ensure that the system has the following file sets installed:
xlC.rte 8.0.0.5, or later
gsksa.rte 7.0.4.11
You can use the following commands to check for these file sets:
lslpp -L xlC.rte
lslpp -L gsksa.rte
If needed, you can obtain the gsksa.rte file set from any of the regular V5.5
maintenance packages for the AIX server. The maintenance packages are
available on the FTP downloads site: ftp://public.dhe.ibm.com/storage/tivoli-
storage-management/maintenance/server/v5r5/AIX/
4. Extract the contents of the upgrade utilities package. If you downloaded a
language package, also extract the contents of that package.
5. Navigate to the directory that corresponds to the processor architecture of the
operating system.
6. Access the System Management Interface Tool (SMIT).
a. Enter smitty install_update
b. Select Install and Update Software > Install and Update from ALL
Available Software.
7. Select the INPUT device. Specify the directory location of the upgrade utilities
package on the system.
8. Select Software to Install. Press F4 or Esc+4 for the list of available file sets in
the directory.
9. Select the file sets for the upgrade utilities, the device driver, and optionally
the language package. The file set for the upgrade utilities is
tivoli.tsmupg.server. Optional language packages include messages for
languages other than US English.
10. Set COMMIT software updates to Yes. Press F4 or Esc+4.
11. Set SAVE replaced files to No.
12. Ensure that the default settings for the options in the window for all the
selected file sets show success.
13. Press Enter, and respond to the ARE YOU SURE? question by pressing Enter
again. The installation begins.
14. When the installation is complete, exit the SMIT program.
15. Optional: If you installed a language package, ensure that the locale
environment variable is set to use it. Enter the following command to set the
locale environment variable for messages:
export LC_MESSAGES=xxxx
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
16. After the upgrade utilities are installed, continue at “Setting environment
variables for the upgrade utilities on AIX, HP-UX, Linux, and Oracle Solaris
systems” on page 292.
288 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
You must install the upgrade utilities on the system that has the original server
and its database. The package to install is available for download from the FTP
downloads site.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.gz
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
gzip -dc package_name.tar.gz | tar -xvf -
4. Navigate to the directory that corresponds to the processor architecture of the
operating system.
5. Install the upgrade utilities and the device driver. Use the source argument (-s)
to specify the directory where the package was extracted. For example, if the
directory is /tmp/TSM, issue the command:
swinstall -s /tmp/TSM package_name
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
You must install the upgrade utilities on the system that has the original server
and its database. The package to install is available for download from the FTP
downloads site.
Restriction: Do not install the utilities in the installation directory for the original
server that must be upgraded. Install the utilities package in its own directory.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Open the directory for your operating system and download the package.
The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.bz2
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the commands:
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
4. Navigate to the directory that corresponds to the processor architecture of the
operating system, for example, x86_64.
5. Install the upgrade utilities and the device driver. Use the following command:
rpm -ivh package_name.rpm
The utilities are installed in the directory /opt/tivoli/tsm/upgrade/bin by
default.
6. Optional: Install the language package.
a. Extract the contents of the downloaded package.
bunzip2 package_name.tar.bz2
tar xvf package_name.tar
b. Install the package for the language that you want to use.
290 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
7. After the upgrade utilities are installed, continue at “Setting environment
variables for the upgrade utilities on AIX, HP-UX, Linux, and Oracle Solaris
systems” on page 292.
You must install the upgrade utilities on the system that has the original server
and its database. The package to install is available for download from the FTP
downloads site.
Restriction: Do not install the utilities in the installation directory of the server that
must be upgraded. Install the utilities package in its own directory.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the directory that names the operating system that your V5
server runs on. From that directory, open the 5.5.x.x directory. The 5.5.x.x
number must be the same as or later than the level of the V5 server that
you are upgrading.
c. Select the package that matches your operating system, and download it to
a convenient location on the server system. The name of the package has
the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.Z
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Change to the directory where the upgrade utilities package was downloaded.
4. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
uncompress -c package_name.tar.Z | tar -xvf -
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
8. After the upgrade utilities are installed, continue at “Setting environment
variables for the upgrade utilities on AIX, HP-UX, Linux, and Oracle Solaris
systems.”
After installing the upgrade utility package, you must set environment variables in
the shell from which you will run the utilities. An environment variable describes
the operating environment of a process, such as the home directory or terminal in
use.
The DSMSERV_DIR variable specifies the installed location of the upgrade utilities. By
default, the location is the following directory:
AIX
/usr/tivoli/tsm/upgrade/bin
/opt/tivoli/tsm/upgrade/bin
292 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
Use the appropriate command for your system to set the environment variable for
running the utilities. If the shell is in the ksh or bash family, enter the following
command to set the DSMSERV_DIR variable:
export DSMSERV_DIR=upgrade_utilities_directory
What to do next
After you set the environment variable, continue at “Preparing the database of a
V5 server for upgrade” on page 294.
You must install the upgrade utilities on the system that has the original server
and its database. The package to install is available for download from the FTP
downloads site.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/WIN
b. Open the 5.5.x.x directory. The 5.5.x.x number must be the same as or
later than the level of the V5 server that you are upgrading.
c. Select the package and download it to a convenient location on the server
system. The name of the package has the following form:
5.5.x.x-TIV-TSMUPG-Windows.exe
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, install the
language package that your installation requires.
2. Log on with an administrator ID.
3. Run the executable package for the upgrade utilities.
The default location for the installation of the utilities is based on the location
where the V5 server was last installed. For example, if the V5 server was
installed using the default path, C:\Program Files\Tivoli\TSM\server, the
upgrade utilities are installed in C:\Program Files\Tivoli\TSM\upgrade.
Restriction: Do not install the utilities in the same directory as the original
server that must be upgraded. Install the utilities package in its own directory.
What to do next
After the upgrade utilities are installed, continue at “Preparing the database of a
V5 server for upgrade” on page 294.
Tip: When you use the upgrade utilities, if you have multiple servers running on
the system, you must use the -k option to specify the name of the Windows
registry key from which to retrieve information about the server being upgraded.
The default value for the option is SERVER1.
If you are upgrading the server on the same system as the earlier version, and
using the network method to extract and insert the data into the V7.1 database, use
the -o option with the DSMUPGRD command to specify the location of the server
options file.
The upgrade utilities must be installed on the system where the database is
located.
Important: After you prepare a V5.3 or V5.4 database by using the DSMUPGRD
PREPAREDB utility, the version of the server database is V5.5. You can no longer use
that database to run with a V5.3 or V5.4 server program. After you upgrade the
server to V7.1, if you decide to revert to the earlier version, you must reinstall the
earlier version of the server code. Then, you must restore the backed-up server
database that matches that version.
Procedure
1. Ensure that you have completed all preparation steps.
2. Log in using the root user ID on the system that has the original server. Log on
with the administrator ID on a Windows system.
3. Change to the instance directory for the server that you are upgrading. The
instance directory is the directory that contains the files such as dsmserv.dsk for
the server.
294 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Windows
From the instance directory for the server that you are upgrading, issue
the following command to run the process and direct the output to the
file called prepare.out:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd"
preparedb 1>>prepare.out 2>&1
If multiple servers exist on the system, issue the command from the
instance directory for the server that you want to prepare. Specify the
registry key for that server. For example, if the server is SERVER2:
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd" -k server2
preparedb 1>>prepare.out 2>&1
5. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation. From the instance directory for the
server that you are upgrading, issue the following command to monitor the
process:
tail -f prepare.out
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
6. Ensure that the prepare operation is completed successfully before you continue
to the next step. If the prepare operation fails, you might need to restart the V5
server to fix the problem and run the prepare operation again. If the server that
is being upgraded is a V5.3 or V5.4 server, you might need to restore the
database by using a backup before you can restart the server to correct the
problem.
Related reference:
“DSMUPGRD PREPAREDB (Prepare a V5 database for upgrade)” on page 523
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
v For a V5.4 or V5.5 server, issue the following commands:
/usr/sbin/installp -ug tivoli.tsm.license.aix5.rte64
/usr/sbin/installp -ug tivoli.tsm.devices.aix5.rte
/usr/sbin/installp -ug tivoli.tsm.server.aix5.rte64
v For a V5.3 server, issue the following commands:
/usr/sbin/installp -ug tivoli.tsm.license
/usr/sbin/installp -ug tivoli.tsm.devices
/usr/sbin/installp -ug tivoli.tsm.server
What to do next
After the V5 server program is uninstalled, continue at “Installing the V7.1 server”
on page 297.
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
v For a V5.4 or V5.5 server, issue the following commands:
swremove TIVsmS64IA.server
swremove TIVsmS64IA.license
swremove TIVsmDD64_IA11_23.tsmscsi
v For a V5.3 server, issue the following commands:
swremove TIVsmS64.server
swremove TIVsmS64.license
swremove TIVsmDD64_HP11_11.tsmscsi
What to do next
After the V5 server program is uninstalled, continue at “Installing the V7.1 server”
on page 297.
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
1. To determine the Tivoli Storage Manager packages that are installed, issue the
following command:
rpm -qa | grep TIVsm
2. Remove the server, server license, and device driver packages. Issue the
following commands:
rpm -e TIVsm-server
rpm -e TIVsm-license
rpm -e TIVsm-tsmscsi
What to do next
After the V5 server program is uninstalled, continue at “Installing the V7.1 server”
on page 297.
296 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
What to do next
After the V5 server program is uninstalled, continue at “Installing the V7.1 server.”
Uninstall the V5 server, server license, and device driver, if available. Do not
remove the database, recovery log, or any other related files or directories, such as
the server options file.
Procedure
1. Click Start > Control Panel > Add or Remove Programs.
2. Select the Tivoli Storage Manager server component, and click Remove. Repeat
for the license and the device driver.
If you see any messages that suggest that you restart the system, ignore them
until the selected Tivoli Storage Manager components are removed.
What to do next
After the V5 server program is uninstalled, continue at “Installing the V7.1 server.”
If you are installing the V7.1 server on the same system as the V5 server, take the
following actions:
v Ensure that you have completed all upgrade preparation steps, including the
database backup. The server that you are upgrading will not be available until
after the installation and upgrade steps are completed.
v Ensure that you retain the installation media from the V5 base release of the
installed server. If you installed Tivoli Storage Manager from a DVD, ensure that
the DVD is available. If you installed Tivoli Storage Manager from a
downloaded package, ensure that the downloaded files are available. If the
upgrade fails, and the server license module is uninstalled, the installation
media from the server base release are required to reinstall the license.
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
By using the Tivoli Storage Manager installation software, you can install the
following Tivoli Storage Manager components:
v server
v server languages
v license
v devices
v Operations Center
v storage agent
Tip: The database (DB2) and the Global Security Kit are automatically installed
when you select the Tivoli Storage Manager server component.
For more information about storage agents, see the Storage Agent User's Guide.
Procedure
1. Log on to the system.
AIX HPUX Linux Solaris Log in by using the root user ID.
Log on as an administrator. You must be logged on to the system
Windows
with the administrative user ID that was used to install the V5 server.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
298 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The
path must contain no more than 128 characters. Ensure that you
extract the installation files to an empty directory. Do not extract to
a directory that contains previously extracted files, or any other
files.
Also, ensure that you have executable permission for the package
file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
AIX
7.1.0.000-TIV-TSMSRV-AIX.bin
HPUX
7.1.0.000-TIV-TSMSRV-HP-UX.bin
Linux
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
7.1.0.000-TIV-TSMSRV-Linuxs390x.bin
Solaris
7.1.0.000-TIV-TSMSRV-SolarisSPARC.bin
a. Verify that you have enough space to store the installation files
when they are extracted from the product package. For space
requirements, see the download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035121
v Tivoli Storage Manager Extended Edition: http://
www.ibm.com/support/docview.wss?uid=swg24035636
v System Storage Archive Manager: http://www.ibm.com/
support/docview.wss?uid=swg24035638
Windows
300 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
AIX HPUX Linux
Solaris
./install.sh
Windows
install.bat
Windows Or, in the directory where the
installation files were extracted,
double-click the install.bat file.
7. If you are installing the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
8. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
9. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
10. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
11. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
Windows
What to do next
If a native device driver is available on Windows for the tape drives or medium
changers that you plan to use, use the native device driver. If a native device
driver is not available on Windows for the tape drives or medium changers that
you plan to use, install the Tivoli Storage Manager device driver by issuing the
dpinst.exe /a command. The dpinst.exe file is in the device driver directory. The
default directory is C:\Program Files\Tivoli\TSM\device\drivers.
Related concepts:
Appendix E, “Services associated with the Tivoli Storage Manager server,” on page
555
Creating the directories and the user ID for the upgraded server
instance
Create the directories that the server instance needs for database and recovery logs,
and create the user ID that will own the server instance.
Review the information about planning space for the server before you complete
this task. See “Worksheet for planning space for the V7.1 server” on page 42.
Procedure
1. Create the user ID that will own the server instance. You use this user ID when
you create the server instance in a later step.
AIX HPUX Linux Solaris
Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance.
a. Create the user ID and group.
302 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
HPUX
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
Linux
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
Solaris
# groupadd tsmsrvrs
# useradd -d /export/home/tsminst1 -m -g tsmsrvrs
-s /bin/ksh tsminst1
# passwd tsminst1
b. Log out and then log in to your system by using the new user ID
and password. Use an interactive login program, such as telnet, so
that you are prompted for the password and can change it if
necessary.
c. If a configuration profile does not exist for the user ID, create the
file. For example, create a .profile file if you are using the Korn
shell (ksh).
Windows
Identify the user account that will own the Tivoli Storage Manager
server instance. When the server is started as a Windows service, this is
the account that the service will log on to. The user account must have
administrative authority on the system. One user account can own
more than one server instance.
You can create a user account, or use an existing account.
If you have multiple servers on one system and want to run each
server with a different user account, create a user account in this step.
a. Create the user ID.
You are prompted to create and verify a password for the new user
ID.
Windows
304 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
3. Create additional logical volumes and mount the volumes on the directories
that were created in the previous step.
What to do next
You must complete all preceding steps to prepare for the upgrade, to install the
upgrade utilities, to install the V7.1 server program, and to create the directories
and user ID for the server instance.
Procedure
1. Ensure that the following requirements are met:
AIX HPUX Linux Solaris
v The system where you installed the V7.1 server program must have
the X Window client. You must also be running an X Window server
on your desktop.
v The system must have one of the following protocols enabled. Ensure
that the port that the protocol uses is not blocked by a firewall.
– Secure Shell (SSH). Ensure that the port is set to the default value,
22. Also, ensure that the SSH daemon service has access rights for
connecting to the system by using localhost.
– Remote shell (rsh).
– Remote Execution Protocol (REXEC).
If the V5 server is on a different system than the V7.1 server, that
system must also have one of the protocols enabled.
v You must be able to log in to the V7.1 system with the user ID that
you created for the server instance, by using the SSH, rsh, or REXEC
protocol. When you use the wizard, you must provide this user ID
and password to access that system.
Windows
v The system where you installed the V7.1 server program must have
the Windows server message block (SMB) protocol enabled. SMB is
the interface that is used by File and Print Sharing (also known as
CIFS). To use the SMB protocol, you must ensure that File and Print
Sharing is enabled, and that port 445 is not blocked by your firewall.
v If the V5 server is on a different system than the V7.1 server, that
system must also have SMB enabled.
v You must be able to log on to the system that has SMB enabled by
using either the user ID that you created for the server instance, or
another user ID that exists on the system. When you use the wizard,
you must provide the user ID and password to access the system.
2. Windows If the system is running on Windows Server 2008, complete the
following steps to disable User Account Control:
a. Ensure that the Remote Registry in Windows Services is started, and ports
445, 137, and 139 are unblocked in the firewall.
b. Configure both the framework server and the targets as members of a
Windows domain. Use a user account in that domain, or in a trusted
domain, when you connect to the target.
c. Connect to the target workstation by enabling and using the built-in
administrator account. To enable the built-in administrator account, click
Control Panel > Administrative Tools > Local Security Policy > Security
Settings > Local Policies > Security Options. Double-click the Accounts:
Administrator account status section. Select Enable and click OK.
d. Click Control Panel > Administrative Tools > Local Security Policy >
Security Settings > Local Policies > Security Options. Double-click the
User Account Control: Run all administrators in Admin Approval Mode
section. Select Disable and click OK.
3. Start the upgrade wizard, dsmupgdx, from the V7.1 server installation directory.
AIX HPUX Linux Solaris
Log in using the root user ID. Issue the command:
/opt/tivoli/tsm/server/bin/dsmupgdx
Windows
Open a new Command Prompt window, and issue the command:
306 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
"c:\Program Files\Tivoli\TSM\server\dsmupgdx.exe"
4. Follow the instructions to complete the upgrade. The upgrade wizard can be
stopped and restarted, but the server will not be operational until the entire
upgrade process is complete.
Important: Read all messages that appear for each phase of the upgrade
process, in the message display area within the wizard. Informational messages
might show actions that occurred during the process that are important to you.
What to do next
To complete the upgrade, perform the steps described in Chapter 10, “Taking the
first steps after upgrade,” on page 323.
Related tasks:
“Upgrading the server manually by using utilities”
Complete all preceding steps to prepare for the upgrade. Ensure that you have
installed the upgrade utilities, installed the V7.1 server program, and created the
directories and user ID for the server instance.
Procedure
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
Related concepts:
“DSMUPGRD upgrade utilities” on page 16
Procedure
1. Log on to the system where you installed the V7.1 program.
AIX HPUX Linux Solaris
Log in by using the root user ID. Verify the following items:
v The home directory for the user, /home/tsminst1, exists. If there is
no home directory, you must create it.
The instance directory stores the following core files that are
generated by the Tivoli Storage Manager server:
– The server options file, dsmserv.opt
– The server key database file, cert.kdb, and the .arm files, which
are used by clients and other servers to import the Secure
Sockets Layer certificates of the server
– Device configuration file, if the DEVCONFIG server option does not
specify a fully qualified name
– Volume history file, if the VOLUMEHISTORY server option does not
specify a fully qualified name
– Volumes for DEVTYPE=FILE storage pools, if the directory for
the device class is not fully specified, or not fully qualified
– User exits
– Trace output, if it is not fully qualified
v A shell configuration file, for example, .profile, exists in the home
directory. The root user and instance user ID must have write
permission to this file. For more information, go to the DB2
Information Center (http://pic.dhe.ibm.com/infocenter/db2luw/
v10r5), and search for information about Linux and UNIX
environment variable settings.
Windows
Log on as an administrator.
2. Create a Tivoli Storage Manager instance by using the db2icrt command.
AIX HPUX Linux Solaris
Enter the following command on one line. For the instance name,
specify the user ID that you created to own the instance:
AIX HPUX Linux Solaris
For example, if the user ID for this instance is tsminst1, use the
following command to create the instance:
Remember: From this point on, use this new user ID when you
configure the Tivoli Storage Manager server. Log out of the root user
ID, and log in using the user ID that is the instance owner.
308 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Windows
Enter the following command on one line. The user account that you
specify becomes the user ID that owns the V7.1 server; this ID is the
instance user ID.
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.
3. Log on to the system by using the user ID that owns the V7.1 server instance
(the instance user ID).
4. Copy the configuration files to the instance directory that you created for the
new server. The files are the configuration files that you saved from the
original V5 server:
v Device configuration
v Server options file, which is typically named dsmserv.opt
For example, if you created the instance directory that is shown in the
example in the step to create directories for the V7.1 server, copy the files into
the following directory:
AIX HPUX Linux Solaris /tsminst1
Windows d:\tsm\server1
Ensure 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.
5. Edit the server options file.
a. Remove any options that are not supported for V7.1. For the list of deleted
options, see Table 29 on page 67.
b. Verify that the server options file contains at least one VOLUMEHISTORY
option and at least one DEVCONFIG option. By specifying these options, you
ensure that a volume history file and a device configuration file are
generated and updated automatically. If you must restore the database,
these files are required.
c. Check whether the server options file includes the TXNGROUPMAX option
with a value, and if it does, what the value is. You might want to change
the current value because the default value for this option changed from
256 to 4096, starting in V6. The increased value can improve the
performance for data movement operations such as storage pool migration
and storage pool backup.
v If the server options file does not include this option, the server
automatically uses the new default value of 4096.
v If the server options file includes a value for this option, the server uses
that specified value. If the specified value is less than 4096, consider
increasing the value, or removing the option so that the new default
value is applied.
6. Change the default path for the database.
AIX HPUX Linux Solaris
Change the default path for the database to be the same as the
instance directory for the server. Issue the command:
db2 update dbm cfg using dftdbpath instance_directory
For example:
db2 update dbm cfg using dftdbpath /tsminst1
Windows
Change the default path for the database to be the drive where the
instance directory for the server is located. Complete the following
steps:
a. Click Start > Programs > IBM DB2 > DB2TSM1 > Command
Line Tools > Command Line Processor.
b. Enter quit to exit the command line processor.
A window with a command prompt opens, with the environment
correctly set up to successfully issue the commands in the next
steps.
c. From the command prompt in that window, issue the following
command to set the environment variable for the server instance
that you are working with:
set db2instance=instance_name
310 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
LIBPATH=/usr/opt/ibm/gsk8_64/lib64:$LIBPATH
export LIBPATH
v HPUX Solaris
LD_LIBRARY_PATH=/opt/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
v Linux
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.14
or later. Issue the following commands:
v AIX
echo $LIBPATH
gsk8capicmd_64 -version
gsk8ver_64
v HPUX Linux Solaris
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.
8. Change to the instance directory that you created for the server.
9. Create and format the database and recovery logs. In the command, specify
the directories that you created for the database and logs. The directories must
be empty.
AIX HPUX Linux Solaris
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
Windows
For example, to get an active log size of 16 GB (16384 MB, the default
size) for the Server1 server instance, issue the following command, on
one line:
"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
If the server that you are upgrading is not Server1, you must use the
-k option. The -k option specifies the instance name for running this
utility. For example, if the system has more than one server instance
and the instance that you are upgrading is Server2, issue the
command:
"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
Important: The server instance that you specify must have already
been through all preceding steps for the upgrade process, including
the creation of the database instance (db2icrt command).
10. Monitor the process for errors and warning messages. The final message
indicates success or failure of the operation.
What to do next
Continue the upgrade process by following the instructions in one of the following
topics:
“Moving the server database using media”
“Moving the server database over a network” on page 316
Related tasks:
“Estimating total space requirements for the upgrade process and upgraded
server” on page 39
Related reference:
DSMSERV LOADFORMAT (Format a database)
“Deleted server commands, utilities, and options” on page 65
The process creates a manifest file during the data extraction, which contains
information about the media that is used to store the data. The process requires the
manifest file for loading the data into the new database.
Procedure
1. “Extracting the data to media” on page 313
2. “Loading the extracted data into the new database” on page 314
Related concepts:
“The manifest file for the data extraction to media” on page 531
312 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
1. Log in using the root user ID on the system that has the original server. Log on
with the administrator ID on a Windows system.
2. Ensure that the device that you want to use to store the extracted data is
available. The server database and the device configuration file must contain a
valid device class definition for the device.
3. From the instance directory for the server that you are upgrading, issue the
command to start the extraction. Direct the output of the process to a file for
monitoring. For example, issue the following command on one line:
AIX
Windows
Tip: Messages that are issued during the extract operation are not saved in the
server activity log. Direct the output of the utility to a file, as shown in the
examples, to record the messages.
4. Monitor the process for errors and warning messages, and for items that you
might need to take action on. A message near the end of the process output
indicates success or failure of the operation:
Success message: ANR1382I EXTRACTDB: Process 1, database extract, has
completed.
Failure message: ANR1396E EXTRACTDB: Process 1, database extract, has
completed with errors.
For example, from the instance directory for the server that you are upgrading,
issue the following command to monitor the process:
tail -f extract.out
The length of time that the process runs depends on the size of the database.
The time will be approximately as much as the time required for a full backup
of the database.
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
Related concepts:
“The manifest file for the data extraction to media” on page 531
Related tasks:
“Preparing space for the upgrade process” on page 281
Related reference:
“DSMUPGRD EXTRACTDB (Extract data from a V5 server database)” on page 529
Ensure that the following requirements are met before you begin to load the data:
v The manifest file from the DSMUPGRD EXTRACTDB operation must be available.
v The server options file must contain an entry for the device configuration file.
v The device configuration file must have information about the device class that
is specified in the manifest file.
v The media that contains the extracted database must be available to the V7.1
server. The device must be physically attached to the system. The permissions
must be set to grant access to the media for the user ID that owns the V7.1
server instance.
Procedure
314 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
b. Verify entries for tape and other devices. For example, the device names
might have changed.
7. Verify the contents of the manifest file and edit the file if necessary:
a. Ensure that the device names in the manifest file are valid for the V7.1
system. Device names for the same device might be different on V5 and
V7 systems.
b. Ensure that the manifest file contains a list of volumes to be used when
the extracted data is loaded into the new database. For example, if the
manifest file contains a list of volumes that belong to a FILE device class,
ensure that the fully qualified path to the volumes is correct for the
system.
8. Issue the DSMSERV INSERTDB command to load an extracted server database
into the prepared, empty V7.1 database. Direct the output of the process to a
file for monitoring. For example, enter the following command on one line:
AIX HPUX Linux Solaris
Windows
What to do next
Ensure that the V5 server and the V7.1 server are not running.
Procedure
1. Verify that there is a good network connection between the two systems.
2. On the V7.1 server, complete the following steps:
a. Verify that the server options file from the V5 server includes the DEVCONFIG
option, and that the option specifies the full path of the device
configuration file.
b. Verify that the device configuration file from the V5 server is available in
the location that is specified by the DEVCONFIG option.
c. Verify that the permissions on the device configuration file allow read
access for the instance user ID.
3. Start the insertion process on the V7.1 server to accept the database. To monitor
the process, direct the output of the process to a file. For example, start the
server, allowing 60 minutes (the default time) for the other server to contact the
V7.1 server and directing the process output to insert.out, by using this
command:
AIX HPUX Linux Solaris
Windows
316 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Issue the following command to monitor the process output in the insert.out
file:
tail -f insert.out
Tip: On Windows systems, use the tail command or an equivalent utility with
which you can monitor the contents of a file as it changes. For example, the
Windows Server 2003 Resource Kit Tools includes the tail command, which
can be used as shown in the preceding example.
5. Start the extraction from the original server. Specify the TCP/IP address and
port for the V7.1 server. Direct the output of the process to a file for
monitoring. For example, enter the following command on one line:
AIX
Windows
The length of time that the process runs depends on the size of the database,
the hardware being used, and the network.
7. Examine the process outputs for the extraction and insertion processes to find
the messages that indicate the success or failure of the operations.
Related reference:
“DSMUPGRD EXTRACTDB (Extract data from a V5 server database)” on page 529
A Windows service is created for the Tivoli Storage Manager V7.1 server
automatically if you use the upgrade wizard (dsmupgdx). If you do not use the
wizard, you must create the Windows service for the Tivoli Storage Manager
server manually.
Procedure
1. Change to the installation directory for the server program. By default, the
directory is C:\Program Files\Tivoli\TSM\console. If you installed the server
in a different directory, change to the console subdirectory of the server
installation directory.
2. Install the Windows service by using the Tivoli Storage Manager server
instance name and password in the service name. Issue the following
command:
install "TSM server_instance_name"
"C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
instance_owner instance_owner_password
where:
"TSM server_instance_name" is the name of the service that is being
installed.
server_instance_name is the instance name that was specified when you
issued the db2icrt command.
instance_owner is the instance owner account; this account will own the
service.
instance_owner_password is the password for the instance owner account.
Example
To install the Windows service for the server1 server instance, enter the
following command on one line. The example uses rudy as the instance
owner and s21ret as the password for the instance owner account.
install "TSM server1" "C:\Program Files\Tivoli\TSM\server\dsmsvc.exe"
rudy s21ret
3. Optional: Manually change the service to an automatic startup type by using
Windows administrative tools (Administrative Tools > Services).
Related tasks:
“Starting the server on Windows systems” on page 331
Procedure
v “Configuring the system for database backup on AIX, HP-UX, Linux, and Oracle
Solaris systems” on page 319
v “Configuring the system for database backup on Microsoft Windows systems”
on page 321
318 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Starting with Tivoli Storage Manager V7.1, it is no longer necessary to set the API
password during a manual configuration of the server. If you set the API password
during the manual configuration process, attempts to back up the database might
fail.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, replace the example values with your actual values.
The examples use tsminst1 for the server instance user ID, /tsminst1 for the Tivoli
Storage Manager server instance directory, and /home/tsminst1 as the home
directory of the server instance user.
Procedure
1. Set the Tivoli Storage Manager API environment-variable configuration for the
database instance:
a. Log in by using the tsminst1 user ID.
b. When user tsminst1 is logged in, ensure that the DB2 environment is
correctly initialized. The DB2 environment is initialized by running the
/home/tsminst1/sqllib/db2profile script, which normally runs
automatically from the profile of the user ID. Ensure that the .profile file
exists in the home directory of the instance user, for example,
/home/tsminst1/.profile. If .profile does not run the db2profile script,
add the following lines:
if [ -f /home/tsminst1/sqllib/db2profile ]; then
. /home/tsminst1/sqllib/db2profile
fi
c. In the instance_directory/sqllib/userprofile file, add the following lines:
DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
DSMI_DIR=server_bin_directory/dbbkapi
DSMI_LOG=server_instance_directory
export DSMI_CONFIG DSMI_DIR DSMI_LOG
d. In the instance_directory/sqllib/usercshrc file, add the following lines:
setenv DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
setenv DSMI_DIR=server_bin_directory/dbbkapi
setenv DSMI_LOG=server_instance_directory
Ensure that you enter a space after the initial dot (.) character.
3. Create a file that is named tsmdbmgr.opt in the server instance directory, which
is in the /tsminst1 directory in this example, and add the following line:
SERVERNAME TSMDBMGR_TSMINST1
The value for SERVERNAME must be consistent in the tsmdbmgr.opt and dsm.sys
files.
4. Locate the Tivoli Storage Manager API dsm.sys configuration file. By default,
the dsm.sys file is in the following location:
server_bin_directory/dbbkapi/dsm.sys
5. As root user, add the following lines to the dsm.sys configuration file:
servername TSMDBMGR_TSMINST1
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
errorlogname /tsminst1
nodename $$_TSMDBMGR_$$
where
v servername matches the servername value in the tsmdbmgr.opt file.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 6.
v tcpserveraddr specifies the server address that the client API uses to contact
the server for database backup. To ensure that the database can be backed
up, this value must be localhost.
v tcpport specifies the port number that the client API uses to contact the
server for database backup. Ensure that you enter the same tcpport value
that is specified in the dsmserv.opt server options file.
v errorlogname specifies the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where the
instance user ID has write-permission.
v nodename specifies the node name that the client API uses to connect to the
server during a database backup. To ensure that the database can be backed
up, this value must be $$_TSMDBMGR_$$.
Linux Do not add the PASSWORDACCESS generate option to the dsm.sys
configuration file. This option can cause the database backup to fail.
6. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
where port_number specifies the port that you use for shared memory.
b. In the dsm.sys configuration file, locate the following lines:
320 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
commmethod tcpip
tcpserveraddr localhost
tcpport port_number
where port_number specifies the port that you use for shared memory.
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
If you did not use the upgrade wizard, you must complete the configuration for
the database backup manually.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, the examples use server1 for the database instance
and d:\tsmserver1 for the Tivoli Storage Manager server directory. When you
issue the commands, replace these values with your actual values.
Procedure
1. Create a file that is named tsmdbmgr.env in the d:\tsmserver1 directory with
the following contents:
DSMI_CONFIG=server_instance_directory\tsmdbmgr.opt
DSMI_LOG=server_instance_directory
2. Set the DSMI_ api environment-variable configuration for the database instance:
a. Open a DB2 command window. One method is to go to the C:\Program
Files\Tivoli\TSM\db2\bin directory, or if you installed Tivoli Storage
Manager in a different location, go to the db2\bin subdirectory in your main
installation directory. Then, issue the following command:
db2cmd
b. Issue the following command:
db2set -i server1 DB2_VENDOR_INI=d:\tsmserver1\tsmdbmgr.env
c. Create a file that is named tsmdbmgr.opt in the d:\tsmserver1 directory
with the following contents:
*************************************************
nodename $$_TSMDBMGR_$$
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
passwordaccess generate
errorlogname d:\tsmserver1
where
v nodename specifies the node name that the client API uses to connect to
the server during a database backup. To ensure that the database can be
backed up, this value must be $$_TSMDBMGR_$$.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 3.
v tcpserveraddr specifies the server address that the client API uses to
contact the server for database backup. To ensure that the database can be
backed up, this value must be localhost.
v tcpport is the port number that the client API uses to contact the server
for database backup. Ensure that you enter the same tcpport value that is
specified in the dsmserv.opt server options file.
v passwordaccess is required to ensure that the backup node can connect to
the server.
v errorlogname is the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where
the instance user ID has write-permission.
3. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
What to do next
After you configure the system for database backup, complete the upgrade. Follow
the instructions in Chapter 10, “Taking the first steps after upgrade,” on page 323.
322 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 10. Taking the first steps after upgrade
Verify that the server was upgraded successfully and can operate normally. The
verification steps include starting the server, registering licenses, and backing up
the database. Also, configure available server options.
Procedure
What to do next
After you upgrade the server to V7.1, you can authenticate passwords with the
LDAP directory server, or authenticate passwords with the IBM Tivoli Storage
Manager server. Passwords that are authenticated with the LDAP directory server
can provide enhanced system security. For details, see the section about managing
passwords and logon procedures in the Administrator's Guide.
Procedure
1. Display information about FILE device classes and DISK volumes.
AIX HPUX Linux Solaris In each path that is listed for the FILE
device class or DISK volume, run the following command:
ls -l
Windows In each directory that is listed for the FILE device class or DISK
volume, run the following command:
dir /Q
2. Verify that the owner of the FILE device class or DISK volume is the server
instance owner and that permissions are set to allow the owner to read and
write the files.
If you are running a Tivoli Storage Manager server on a Solaris system, you can
use the Solaris Service Management Facility (SMF) to set up and control the Tivoli
Storage Manager server as a service.
Table and index reorganization requires significant processor resources, active log
space, and archive log space. Because database backup takes precedence over
reorganization, select the time and duration for reorganization to ensure that the
processes do not overlap and reorganization can complete. For more information
about scheduling reorganization, see the Administrator's Guide.
If you update these server options while the server is running, you must stop and
restart the server before the updated values take effect.
Procedure
1. Modify the server options.
AIX HPUX Linux Solaris Edit the server options file,
dsmserv.opt, in the server instance directory. Follow these guidelines when you
edit the server options file:
v To activate an option, remove the asterisk at the beginning of the line.
v Create an option on any line.
v Enter only one option per line. The entire option with its value must be on
one line.
v If you have multiple entries for an option in the file, the server uses the last
entry.
v To view available server options, see the sample file, dsmserv.opt.smp, in the
/opt/tivoli/tsm/server/bin directory.
Windows Edit the server options file, dsmserv.opt, in the server instance
directory by using a text editor. Follow these guidelines when you edit the
server options file:
v To activate an option, remove the asterisk at the beginning of the line.
v Create an option on any line.
v Enter only one option per line. The entire option with its value must be on
one line.
324 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
v If you have multiple entries for an option in the file, the server uses the last
entry.
v To view available server options, see the sample file, dsmserv.opt.smp, in the
c:\Program Files\Tivoli\TSM directory.
2. If you plan to use data deduplication, enable the ALLOWREORGINDEX server
option. Add the following option and value to the server options file:
allowreorgindex yes
3. Set the REORGBEGINTIME and REORGDURATION server options to control when
reorganization starts and how long it runs. Select a time and duration so that
reorganization runs when you expect that the server is least busy. These server
options control both table and index reorganization processes.
a. Set the time for reorganization to start by using the REORGBEGINTIME server
option. Specify the time by using the 24-hour system. For example, to set
the start time for reorganization as 8:30 p.m., specify the following option
and value in the server options file:
reorgbegintime 20:30
b. Set the interval during which the server can start reorganization. For
example, to specify that the server can start reorganization for four hours
after the time set by the REORGBEGINTIME server option, specify the following
option and value in the server options file:
reorgduration 4
4. If the server was running while you updated the server options file, stop and
restart the server.
Procedure
You can start the Tivoli Storage Manager server by using the instance user ID or
the root user ID.
Procedure
2. Start the server as described in “Starting the server from the instance user
ID” on page 328.
v To start the server by using the root user ID, complete the following steps:
1. Ensure that you set access permissions and user limits correctly, as described
in “Verifying access rights and user limits.”
2. Authorize the root user ID and start the server, as described in “Starting the
server from the root user ID” on page 329.
v AIX HPUX To start the server automatically, follow the steps
Solaris
in “Automatically starting servers on AIX, HP-UX, or Solaris” on page 329.
v Linux To start the server automatically, follow the steps in “Automatically
starting servers on Linux systems” on page 330.
For information about other options for starting the server, see the Administrator's
Guide.
Related concepts:
“Startup of server instances (AIX, HP-UX, Linux, Solaris)” on page 8
Before you start the Tivoli Storage Manager server on an AIX, HP-UX, Linux, or
Solaris operating system, verify access rights and user limits.
If you do not verify user limits, also known as ulimits, you might experience server
instability or a failure of the server to respond. You must also verify the
system-wide limit for the maximum number of open files. The system-wide limit
must be greater than or equal to the user limit.
Procedure
1. Verify that the server instance user ID has permissions to start the server.
2. For the server instance that you plan to start, ensure that you have authority to
read and write files in the server instance directory. Verify that the dsmserv.opt
file exists in the server instance directory, and that the file includes parameters
for the server instance.
3. If the server is attached to a tape drive, medium changer, or removable media
device, and you plan to start the server by using the instance user ID, grant
read/write access to the instance user ID for these devices. To set permissions,
take one of the following actions:
v If the system is dedicated to Tivoli Storage Manager and only the Tivoli
Storage Manager administrator has access, make the device special file
world-writable:
chmod +w /dev/rmtX
v If the system has multiple users, you can restrict access by making the Tivoli
Storage Manager instance user ID the owner of the special device files:
chmod u+w /dev/rmtX
v If multiple user instances are running on the same system, change the group
name, for example TAPEUSERS, and add each Tivoli Storage Manager
instance user ID to that group. Then, change the ownership of the device
special files to belong to the group TAPEUSERS, and make them group
writable:
326 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
To modify user limits, follow the instructions in the documentation for your
operating system.
Tip: If you plan to start the server automatically by using a script, you can set
the user limits in the script.
7. Verify the system-wide value for the maximum number of open files. The
system-wide value must be equal to or greater than the user limit for the
maximum number of open files.
8. Ensure that the user limit of maximum user processes (nproc) is set to the
minimum suggested value of 16384.
a. To verify the current user limit, issue the following command by using the
instance user ID:
ulimit -Hu
For example:
[user@Machine ~]$ ulimit -Hu
16384
b. If the limit of maximum user processes is not set to 16384, set the value to
16384:
AIX Add a line to /etc/security/limits.
HPUX Linux Solaris Add a line to /etc/security/limits.conf.
Linux If the server is installed on the Red Hat Enterprise Linux 6
operating system, set the user limit by editing the /etc/security/limits.d/
90-nproc.conf file in the /etc/security/limits.d directory. This file
overrides the settings in the /etc/security/limits.conf file.
Tip: The default value for the user limit of maximum user processes has
changed on some distributions and versions of the Linux operating system.
The default value is 1024. If you do not change the value to the minimum
suggested value of 16384, the server might fail or hang.
To start the server from the instance user ID, log in with the instance user ID and
issue the appropriate command from the server instance directory.
Ensure that access rights and user limits are set correctly. For instructions, see
“Verifying access rights and user limits” on page 326.
Procedure
1. Log in to the system where Tivoli Storage Manager is installed by using the
instance user ID for the Tivoli Storage Manager server.
2. If you do not have a user profile that runs the db2profile script, issue the
following command:
. /home/tsminst1/sqllib/db2profile
Tip: For instructions about updating the user ID login script to run the
db2profile script automatically, see the DB2 documentation.
3. Start the server by issuing the following command from the server instance
directory:
/usr/bin/dsmserv
Tip: The command runs in the foreground so that you can set an administrator
ID and connect to the server instance.
For example, if the name of the Tivoli Storage Manager server instance is
tsminst1 and the server instance directory is /tsminst1, you can start the
instance by issuing the following commands:
cd /tsminst1
. ~/sqllib/db2profile
/usr/bin/dsmserv
Example
In this example, the name for the instance of the Tivoli Storage Manager server is
tsminst1 and the instance directory is /tsminst1. To start tsminst1, issue the
following commands:
cd /tsminst1
/opt/tivoli/tsm/server/bin/dsmserv
328 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
The standard way to start the server is by using the instance user ID. However, in
some cases, it might be necessary to use another user ID to start the server. For
example, you might want to use the root user ID to ensure that the server can
access specific devices.
For instructions about starting the server from the root user ID, see the
Administrator's Guide.
You can configure the server to start automatically at system startup. Use the
rc.dsmserv script, which is provided for this purpose.
Ensure that access rights and user limits are set correctly. Follow the instructions in
“Verifying access rights and user limits” on page 326.
The rc.dsmserv script is in the server installation directory, for example, in the
/opt/tivoli/tsm/server/bin directory.
Tip: AIX If you used either the upgrade wizard or the configuration wizard,
you might have chosen to start the server automatically when the system is
restarted. If you selected that choice, an entry for starting the server was added
automatically to the /etc/inittab file.
Procedure
If you did not use a wizard to configure the Tivoli Storage Manager server, add an
entry to the /etc/inittab file for each server that you want to automatically start:
v Set the run level to the value that corresponds to multiuser mode, with
networking enabled. Typically, the run level to use is 2, 3, or 5, depending on
the operating system and its configuration. For more information about
multiuser mode and run levels, see the documentation for your operating
system.
v On the rc.dsmserv command, specify the instance owner name with the -u
option, and the location of the server instance directory with the -i option.
Verify correct syntax for the entry by consulting documentation for your operating
system.
Example
Automatically starting a server instance
In this example, the instance user ID is tsminst1; the server instance
directory is /home/tsminst1/tsminst1; the run level is 3; and the process ID
is tsm1. The following entry is added to the /etc/inittab file, on one line:
tsm1:3:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst1
-i /home/tsminst1/tsminst1 -q >/dev/console 2>&1
Automatically starting several server instances
This example uses the following instance user IDs:
v tsminst1
v tsminst2
This example uses the following instance directories:
v /home/tsminst1/tsminst1
v /home/tsminst2/tsminst2
This example uses the following process IDs:
v tsm1
v tsm2
The run level is 3. In this example, the following entries are added to the
/etc/inittab file. Each entry is on one line.
tsm1:3:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst1
-i /home/tsminst1/tsminst1 -q >/dev/console 2>&1
tsm2:3:once:/opt/tivoli/tsm/server/bin/rc.dsmserv -u tsminst2
-i /home/tsminst2/tsminst2 -q >/dev/console 2>&1
Related reference:
“Server startup script: rc.dsmserv” on page 544
Ensure that kernel parameters are set correctly. For instructions, see the section
about tuning kernel parameters in the Installation Guide.
Ensure that the Tivoli Storage Manager server instance runs under the instance
owner user ID.
Ensure that access rights and user limits are set correctly. For instructions, see
“Verifying access rights and user limits” on page 326.
The dsmserv.rc script can be used either to start the server manually or to start the
server automatically by adding entries to the /etc/rc.d/init.d directory. The
script works with Linux utilities such as CHKCONFIG and SERVICE.
Procedure
For each server instance that you want to automatically start, complete the
following steps:
330 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
1. Place a copy of the dsmserv.rc script in the /init.d directory, for example,
/etc/rc.d/init.d.
Ensure that you make any changes in the copy of the script. Do not change the
original script.
2. Rename the script copy so that it matches the name of the server instance
owner, for example, tsminst1.
The script was created under the assumption that the server instance directory
is home_directory/tsminst1, for example: /home/tsminst1/tsminst1.
3. If the server instance directory is not home_directory/tsminst1, locate the
following line in the script copy:
instance_dir="${instance_home}/tsminst1"
Change the line so that it points to your server instance directory, for example:
instance_dir="/tsminst1"
4. Use tools such as the CHKCONFIG utility to configure the run level in which the
server automatically starts. Specify a value that corresponds to a multiuser
mode, with networking turned on. Typically, the run level to use is 3 or 5,
depending on the operating system and its configuration. For more information
about multiuser mode and run levels, see the documentation for your operating
system.
5. Optional: You can start or stop the server by issuing one of the following
commands:
v To start the server:
service tsminst1 start
v To stop the server:
service tsminst1 stop
Example
In this example, the instance owner is tsminst1 and the server instance directory is
/home/tsminst1/tsminst1. The dsmserv.rc script copy is named tsminst1, and the
CHKCONFIG utility is used to configure the script to start at run levels 3, 4, and 5.
cp /opt/tivoli/tsm/server/bin/dsmserv.rc /etc/rc.d/init.d/tsminst1
chkconfig --list tsminst1
service tsminst1 supports chkconfig, but is not referenced in
any runlevel (run ’chkconfig --add tsminst1’)
chkconfig --add tsminst1
chkconfig --list tsminst1
tsminst1 0:off 1:off 2:off 3:off 4:off 5:off 6:off
chkconfig --level 345 tsminst1 on
chkconfig --list tsminst1
tsminst1 0:off 1:off 2:off 3:on 4:on 5:on 6:off
You can start the Tivoli Storage Manager server as a Windows service, which is the
preferred method, or in the foreground.
On the Windows operating system, you must close all applications before you log
off. As a production server, Tivoli Storage Manager must be available to clients 24
hours a day. At many sites, it is a security exposure to leave an administrator ID
If you install a Tivoli Storage Manager server and run it in the foreground, you
must stop the server in the foreground before you start the server as a service.
Similarly, if you start the server as a Windows service, you must stop the server
before you can successfully start it in the foreground.
Procedure
If you are running Tivoli Storage Manager on a Windows operating system, you
can start the server as a service.
You must configure the options for starting the server as a service. Complete the
following steps:
1. From the Windows Start menu, click Run, type services.msc, and click OK.
2. In the Services window, select the server instance that you want to start as a
service, and click Properties. For example, select TSM INST1, and click
Properties.
3. To ensure that the server service starts automatically, click the General tab.
From the Startup type list, select Automatic.
4. To set the user for starting the server service, complete the following actions:
a. Click the Log On tab.
b. Select This account, and browse for the user ID that owns the server DB2
instance and has permissions for starting the server.
c. In the Select User window, in the Enter the object name to select field,
enter the user ID.
d. Click Check Names.
e. Click OK.
332 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
If the server service is configured to run under the Local System account, you must
explicitly grant the Local System account access to the Tivoli Storage Manager
database. To grant database access to the Local System account, complete the
following steps:
1. Log on with the user ID that was used to create the Tivoli Storage Manager
server database. This is the user ID that was used to run the DSMSERV FORMAT
utility to initialize the server database. Alternatively, if you configured the
server with the dsmicfgx configuration wizard, this is the user ID that was used
to create the instance.
2. Open a DB2 command window by taking one of the following actions:
v If the Tivoli Storage Manager server is installed on Windows Server 2008 or
Windows Server 2008 R2, click Start > All Programs > IBM DB2 DB2TSM1
> DB2 Command Window - Administrator.
v If the Tivoli Storage Manager server is installed on Windows Server 2012,
open the Start window, and click DB2 Command Window - Administrator.
3. In the DB2 command window, enter the following commands:
set DB2INSTANCE=server1
db2 connect to TSMDB1
db2 grant dbadm with dataaccess with accessctrl on database to user system
db2 grant secadm on database to user system
Tip: When the server service is configured to run under the Local System
account, the database can be accessed by any administrator on the system. In
addition, any administrator who can log on to the system can run the Tivoli
Storage Manager server.
Procedure
What to do next
Because the server service can issue requests that require action, it is important to
monitor server activity with the Operations Center or the administrative client.
To view start and stop completion messages that are logged in the Windows
application log, use the Event Viewer tool in the Administrative Tools folder.
To directly interact with a Tivoli Storage Manager server, start the server in the
foreground. For example, if you want to enter commands, start the server in the
foreground.
Procedure
1. Change to the directory where the server is installed. For example, change to
the c:\program files\tivoli\tsm\server directory.
2. Enter the following command:
dsmserv -k instance_name
Registering licenses
Immediately register any Tivoli Storage Manager licensed functions that you
purchased so that you do not lose data after you begin to use the server.
Verify that the server instance directory of your installation does not include a
NODELOCK file. The NODELOCK file contains the previous licensing information for
your installation. This licensing information is replaced when the upgrade is
complete. If the directory includes a NODELOCK file, move the file to another
directory.
Procedure
1. AIX HPUX Linux Register the licenses for the Tivoli
Solaris
Storage Manager server components that are installed on your system by
issuing the REGISTER LICENSE command:
register license file=installation_directory/server/bin/component_name.lic
For example, if you installed Tivoli Storage Manager Extended Edition in the
/opt/tivoli/tsm directory, issue the following command:
register license file=/opt/tivoli/tsm/server/bin/tsmee.lic
Restriction: You cannot register licenses for Tivoli Storage Manager for Mail,
Tivoli Storage Manager for Databases, Tivoli Storage Manager for ERP, and
Tivoli Storage Manager for Space Management.
2. Register the licenses for the Tivoli Storage Manager server
Windows
components that are installed on your system by issuing the REGISTER LICENSE
command:
register license file=installation_directory\server\component_name.lic
For example, if you installed the server in the default directory, c:\Program
Files\Tivoli\TSM, register the license by issuing the following command:
register license file=c:\Program Files\Tivoli\TSM\server\tsmbasic.lic
334 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
For example, if you installed Tivoli Storage Manager Extended Edition in the
c:\Program Files\Tivoli\TSM directory, issue the following command:
register license file=c:\Program Files\Tivoli\TSM\server\tsmee.lic
Restriction: You cannot register licenses for Tivoli Storage Manager for Mail,
Tivoli Storage Manager for Databases, Tivoli Storage Manager for ERP, and
Tivoli Storage Manager for Space Management.
Procedure
1. Complete the following steps:
a. If you did not use the upgrade wizard (dsmupgdx) to upgrade the server,
ensure that you have completed the steps to manually configure the system
for database backups.
b. If you used the media method for upgrade and used a tape device, remove
or check out from the library the tape that was used to hold the extracted
data. Prevent the tape from being reused until you are sure that the
upgraded server is running properly and you do not need to repeat the
database insertion step.
2. Select the device class to be used for automatic backups of the database. Issue
the following command from a IBM Tivoli Storage Manager administrative
command line.
set dbrecovery device_class_name
The device class that you specify is used by the database manager for all
automatic database backups.
3. Back up the database.
backup db devclass=device_class_name type=full
The device class can be the same as or different from the device class that you
specified with the SET DBRECOVERY command. If the device class is different, you
receive a warning message, but the backup operation continues.
Related tasks:
“Configuring the system for database backup” on page 318
Procedure
1. Monitor the messages that the server issues as it starts. Watch for error and
warning messages.
2. If the server is running on a new system as a result of the upgrade, check the
following items:
a. Ensure that all of the original server's storage devices are accessible to the
upgraded server.
b. Compare the device names on the new system with the names for the
devices on the original system. Update definitions for the devices on the
server if needed. For example, update path definitions.
c. Update the network address that is used by backup-archive clients, storage
agents, library client servers, and other servers for communicating with the
upgraded server.
Optionally, instead of making these updates, consider whether you can use
the network address of the original system as the address of the new
system. You might also be able to update domain name service (DNS) to
point to the new system instead of the original system. Consult your
network administrator.
3. Verify that you can connect to the server using an administrative client as you
did for the earlier version of the server.
4. Run commands to get a summary of information in the database. Compare the
summary with the results for the same commands before the upgrade.
5. Perform backups for typical client nodes and verify that the backups work as
expected.
6. Verify that operations such as LAN-free data movement and library sharing
work correctly.
7. After you are satisfied that the server is performing as expected and you will
not need to revert to the previous version of the server, remember to return any
settings that you changed to prepare for the upgrade back to the original
values.
Related reference:
“Sample commands to run for validation of the database upgrade” on page 546
Changing the host name for the Tivoli Storage Manager server
If you must change the host name of the Tivoli Storage Manager V7.1 server,
ensure that you also update the database configuration. If you fail to update the
database configuration, the Tivoli Storage Manager server might not start.
336 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
To change the host name of a Tivoli Storage Manager server running on an AIX,
HP-UX, Linux, or Solaris system, several steps are required.
Procedure
This command shows all configuration settings that are used by the database.
5. In the instance directory/sqllib directory, locate the db2nodes.cfg file. The
file contains an entry that shows the previous host name, for example:
0 tsmmon TSMMON 0
a. Update the entry with the new host name. The entry is similar to the
following entry:
0 tsmnew newhostname 0
b. Save and close the changed file.
Procedure
Use the following steps to change a host name when the Tivoli Storage Manager
server is installed.
1. Back up the Tivoli Storage Manager database.
2. Stop the Tivoli Storage Manager server.
3. Change the startup service of the Tivoli Storage Manager server to manual
startup:
a. In the Windows Services Management Console, select TSM Server service.
b. Right-click the service and click Properties.
c. In the Startup Type field, select Manual.
4. Issue the following commands from the DB2 command prompt window to
update the DB2SYSTEM registry variable, turn off extended security, and
verify the settings:
db2set -g DB2SYSTEM=new_host_name
db2set -g DB2_EXTSECURITY=NO
db2set -all
Tip: The DB2_EXTSECURITY parameter is reset to YES when you restart the
system.
5. Check for the presence of the db2nodes.cfg file. Depending on your version of
Windows, the db2nodes.cfg file might be in one of the following directories:
v Windows 2008 or later:
C:\ProgramData\IBM\DB2\DB2TSM1\<DB2 Instance name>
v Other versions of Windows:
C:\Documents and Settings\All Users\Application Data\IBM\DB2\DB2TSM1\
<DB2 Instance name>
Tip: The db2nodes.cfg file is a hidden file. Ensure that you show all files by
going to Windows Explorer and selecting Tools > Folder Options and
specifying to view hidden files.
If the db2nodes.cfg file does not exist on your system, proceed to the next
step. If the file does exist, issue the following command to update the host
name:
db2nchg /n:0 /i:<instance> /h:<new host name>
6. Change the Windows host name, as described in the documentation for the
Windows system that you are using.
7. Restart the server.
8. Update the security settings by running the following command:
db2extsec -a new_host_name\DB2ADMNS -u new_host_name\DB2USERS
9. Start the Tivoli Storage Manager server.
10. Reset the startup service for Tivoli Storage Manager server to be automatic:
a. In the Windows Services Management Console, select TSM Server service.
b. Right-click the service and click Properties.
c. In the Startup Type field, select Automatic.
Updating automation
After an upgrade, administrative schedules that were defined in V5 might not
work without modification because of changes in command syntax. Implement and
verify changes to any automation or scripts that were identified as needing
modification in the planning process.
Important: Ensure that automation includes a backup of the database. Back up the
database at least once per day.
338 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
Procedure
To monitor the V7.1 server and make any required adjustments, complete the
following steps:
1. Monitor the active log to ensure that the size is correct for the workload that is
handled by the server instance.
When the server workload reaches its typical expected level, the space that is
used by the active log is 80% - 90% of the space that is available to the active
log directory. At that point, you might need to increase the amount of space.
Whether you must increase the space depends on the types of transactions in
the server workload. Transaction characteristics affect how the active log space
is used.
The following transaction characteristics can affect the space usage in the active
log:
v The number and size of files in backup operations
– Clients such as file servers that back up large numbers of small files can
cause large numbers of transactions that are completed quickly. The
transactions might use a large amount of space in the active log, but for a
short time.
– Clients such as a mail server or a database server that back up large
chunks of data in a few transactions can cause small numbers of
transactions that take a long time. The transactions might use a small
amount of space in the active log, but for a long time.
v Network connection types
– Backup operations that occur over fast network connections cause
transactions that are completed more quickly. The transactions use space
in the active log for a shorter time.
– Backup operations that occur over relatively slower connections cause
transactions that take a longer time to be completed. The transactions use
space in the active log for a longer time.
If the server is handling transactions with a wide variety of characteristics, the
space that is used for the active log might increase and decrease significantly
over time. For such a server, you might need to ensure that the active log
typically has a smaller percentage of its space used. The extra space allows the
active log to grow for transactions that take a long time.
2. Monitor the archive log to ensure that space is always available.
Remember: If the archive log becomes full, and the archive failover log
becomes full, the active log can become full, and the server stops. The goal is to
make enough space available to the archive log so that it never uses all
available space.
You are likely to notice the following pattern:
a. Initially, the archive log grows rapidly as typical client-backup operations
occur.
b. Database backups occur regularly, either as scheduled or done manually.
c. After full database backups occur, log pruning occurs automatically. The
space that is used by the archive log decreases when the pruning occurs.
d. Normal client operations continue, and the archive log grows again.
e. Database backups occur regularly, and log pruning occurs as often as full
database backups occur.
With this pattern, the archive log grows initially, decreases, and then might
grow again. Over time, as normal operations continue, the amount of space
that is used by the archive log should reach a relatively constant level.
If the archive log continues to grow, consider taking one or both of these
actions:
v Add space to the archive log. You might need to move the archive log to a
different file system.
For information about moving the archive log, see the Administrator's Guide.
v Increase the frequency of full database backups so that log pruning occurs
more frequently.
3. If you defined a directory for the archive failover log, determine whether any
logs are stored in that directory during normal operations. If the failover log
space is being used, consider increasing the size of the archive log. The goal is
to use the archive failover log only under unusual conditions, not in normal
operation.
Related concepts:
“Recovery log space requirements” on page 39
“Database operations” on page 4
The Tivoli Storage Manager installation wizard upgrades GSKit Version 8 and later.
GSKit Version 7 is not removed or upgraded when you upgrade to Tivoli Storage
Manager Version 7.1, even if it was installed with an earlier version of Tivoli
Storage Manager.
If you no longer need GSKit Version 7 and want to free up space on your system,
you can remove it after the upgrade to Tivoli Storage Manager Version 7.1.
Procedure
1. Back up your registry.
a. Click Start, and then click Run.
b. Type Regedit. Click OK.
c. To save a copy of your registry, select File > Export.
d. If you must later restore the registry, select File > Import.
For additional details, see your Windows documentation.
340 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Upgrading the server from V5 to V7.1
2. Locate the directory where the GSKit is installed. The default directory is
C:\Program Files\IBM\gsk7\.
3. Remove the GSKit installation directory, gsk7, and all subfiles and directories.
Right-click the folder and click Delete.
4. Remove the GSKit Version 7 registry key and all subkeys and values.
Attention: Removing the wrong key can cause system problems such as not
being able to restart the workstation.
a. Click Start, and then click Run.
b. Type Regedit. Click OK.
c. The GSKit registry key is located in this directory: HKEY_LOCAL_MACHINE\
SOFTWARE\IBM. Right-click the registry key, HKEY_LOCAL_MACHINE\SOFTWARE\
IBM\GSK7, and click Delete.
342 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 11. Troubleshooting the database upgrade
Review this section for tips to troubleshoot common problems. A procedure that
explains how to return to the previous version of the server is also included.
For the latest information about issues that might occur during an upgrade and
how to resolve them, go to the IBM Tivoli Storage Manager support site:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
Symptoms
Warning messages about the server options appear, but the process continues.
Causes
The server options file includes options that are not valid for a V5.5 server. For
example, the options file might include some options that are valid only for a V5.4
or earlier server.
If you already updated the server options file to add options that are valid only for
a V7.1 server, you might also see warning messages during upgrade processes.
You can ignore the warning messages until after the upgrade process is complete.
After the upgrade process is complete, and before starting the V7.1 server, edit the
server options file and remove any options that are not valid for V7.1.
Symptoms
Causes
A connection refusal message usually means that the system is trying to connect to
a host or port where no process is listening for a connection.
Before trying the extraction process again, check the following items:
v Ensure that the TCP/IP communication method is enabled for the target server.
The communication method is set using the COMMMETHOD option in the server
options file. TCP/IP is the default setting for the server communication method,
but the server options file for the target server might have a different value.
Check whether the server options file for the target server has COMMMETHOD NONE,
or has only COMMMETHOD SHMEM specified. Remove COMMMETHOD NONE if it appears in
the server options file. Add COMMMETHOD TCPIP if it is not in the server options
file.
v Ensure that the values that you specified with the HLADDRESS and LLADDRESS
parameters on the DSMSERV EXTRACTDB command are correct. The LLADDRESS
parameter must match the value that is specified for the TCPPORT option in the
server options file for the target server.
v Before issuing the DSMSERV EXTRACTDB command again, ensure that you wait for
the DSMSERV INSERTDB process to issue the following message:
ANR1336I INSERTDB: Ready for connections from the source server
When the upgrade wizard is used to upgrade a Tivoli Storage Manager server on
Windows from V5 to V7.1, the system fails to format the new database.
Symptoms
The database formatting operation fails with the return code rc=499.
Causes
344 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Troubleshooting the database upgrade
If the dsmupgdx.trc file is not available, review the db2diaglog file to see whether
the following error is reported:
Invalid collation ID
The following sample db2diaglog file indicates a failure to format the database:
timestamp LEVEL: Severe
PID : 2304 TID : 2008 PROC : db2syscs.exe
INSTANCE: SERVER1 NODE : 000 DB : TSMDB1
APPHDL : 0-8 APPID: *LOCAL.SERVER1.121107195909
AUTHID : TSMINST1
EDUID : 2008 EDUNAME: db2agent (TSMDB1) 0
FUNCTION: DB2 UDB, relation data serv, sqlrr_dump_ffdc, probe:300
DATA #1 : SQLCA, PD_DB2_TYPE_SQLCA, 136 bytes
sqlcaid : SQLCA sqlcabc: 136 sqlcode: -901 sqlerrml: 20
sqlerrmc: Invalid collation ID
sqlerrp : SQLNQB6E
sqlerrd : (1) 0x00000000 (2) 0x00000000 (3) 0x00000000
(4) 0x00000000 (5) 0xFFFFFF9C (6) 0x00000000
sqlwarn : (1) (2) (3) (4) (5) (6)
(7) (8) (9) (10) (11)
sqlstate:
If you determine that the database was not correctly formatted, and if the Sophos
antivirus program is installed, complete the following steps:
1. To ensure that the antivirus program does not affect the database formatting
operation, complete one of the following steps:
v Configure the antivirus program to ensure that it does not scan the Tivoli
Storage Manager instance database or files.
v Disable the antivirus program for a limited time so that it does not affect the
database formatting process.
Symptoms
The messages about constraint violations appear, and processing continues. Data
that has a problem is not inserted into the V7 database.
Causes
The insertion process encountered one or more problems with values from the V5
database that were being inserted into the V7 database. The values did not meet
constraints for a data type or data format, or were not valid for some other reason.
Because some data was not inserted into the database, the database is in an
inconsistent state.
Attention: Do not start the server until the data problems are investigated. Data
damage might occur if you start the server. Contact IBM Support to get assistance
in determining the extent of the problem, and what action to take next.
The IBM Support team will require you to provide the constrnt.log file, which
contains details about the problems.
Symptoms
You might see messages such as the following set while the insertion process is
running.
ANR1524I INSERTDB: Beginning database update phase.
ANR1525I INSERTDB: Updated 0 of 25,185,883 database entries in 0:23:10.
ANR1525I INSERTDB: Updated 0 of 25,185,883 database entries in 0:53:13.
ANR1525I INSERTDB: Updated 0 of 25,185,883 database entries in 1:23:16.
ANR1525I INSERTDB: Updated 0 of 25,185,883 database entries in 1:53:19.
ANR1525I INSERTDB: Updated 0 of 25,185,883 database entries in 2:23:22.
The count of updated database entries might not increase for a long time.
Causes
In the database update phase of the DSMSERV INSERTDB utility, information from
multiple sets of source tables are merged into a smaller number of target tables.
Each operation that merges multiple source tables into one target table is a single,
long-running DB2 UPDATE operation. An UPDATE operation does not provide status
until it completes. Because the status is not updated until completion, the
ANR1525I message repeatedly shows an unchanging value for the number of
entries that have been updated.
After each set of tables is merged into one target table, the ANR1525I message
changes to reflect the progress up to that point. However, the merge operation for
each set of tables can take a considerable amount of time, during which the status
remains the same. This lack of change in status is not the sign of a problem. The
repeated issuance of the ANR1525I message is an indication that the DSMSERV
INSERTDB utility is still running, even if the statistics that the messages report do
not change.
346 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Troubleshooting the database upgrade
After the DSMSERV INSERTDB utility enters the database update phase, most of the
remaining work is done by DB2. You can use only indirect methods to determine if
the operation is progressing. One such method is to use a system monitor, such as
topas on AIX, to confirm that the DB2 db2sysc process is operating. The use of
processor resource and I/O to the database directories by the db2sysc process are
good indications that the update phase is progressing.
Symptoms
When you try to restart the process, by using either the upgrade wizard (dsmupgdx)
or commands, you receive messages that the database already exists, or that
directories are not empty.
Causes
The problem occurs because a database instance was already created, despite the
failure. Directories that you specified in the wizard or with the DSMSERV LOADFORMAT
command might no longer be empty because the failed process started to write
information in these directories. To do the formatting operation again, the
directories must be empty.
1. Ensure that you are logged in with the same user ID that you were
using when the insertion operation failed. This should be the user ID
that you created specifically for the server instance that you were
upgrading when the failure occurred.
Attention: Ensure that you are using the correct user ID. The database
that is owned by the user ID that you log in with now is the database
that will be destroyed in the following step. Do not take the following
steps when you are logged in with a user ID that owns a valid,
working V7 server instance.
2. Remove the database instance that was created.
dsmserv removedb TSMDB1
4. Restart the upgrade wizard for the server instance that you are
upgrading.
If you are using commands, restart at the step in which you issue the
DSMSERV LOADFORMAT command.
Windows
1. Remove the database instance that was created. Issue the command:
dsmserv removedb -k server_instance_name TSMDB1
The server_instance_name is the name of the registry key for the server
instance that you were upgrading when the failure occurred. For
example, if you were upgrading Server2, issue the command:
dsmserv removedb -k server2 TSMDB1
Attention: Ensure that you specify the name of the server instance for
which the process failed. The database for the specified server instance
is destroyed by issuing this command.
For example, to set the environment variable for the Server1 server
instance, issue the following command:
set db2instance=server1
d. Issue the command to drop the database:
db2 drop db tsmdb1
2. To reuse the database and log directories that you specified in the failed
attempt to create the server instance, verify that each directory is now
empty.
3. Restart the upgrade wizard for the server instance that you are
upgrading.
If you are using commands, restart at the step in which you issue the
DSMSERV LOADFORMAT command.
348 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Troubleshooting the database upgrade
After the Tivoli Storage Manager server is upgraded from V5 to V7.1 on Windows,
the server instance fails to start.
Symptoms
Causes
To diagnose the problem, attempt to start the server. To start the server from the
default directory, C:\Program Files\Tivoli\TSM\server, issue the following
command:
dsmserv -k server_instance
where server_instance is the name of the server instance. Server1 is the default for
the first instance of the Tivoli Storage Manager server.
If the server fails to start, the output includes message ANR0162W, as in the
following example:
C:\Program Files\Tivoli\TSM\server>dsmserv -k server1
ANR7800I DSMSERV generated at 02:08:06 on Jul 26 2012.
Tivoli Storage Manager for Windows
Version 7, Release 3, Level 2.000
Licensed Materials - Property of IBM
(C) Copyright IBM Corporation 1990, 2011.
All rights reserved.
U.S. Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corporation.
ANR0900I Processing options file c:\Program Files\Tivoli\TSM\server1\dsmserv.opt.
ANR4726I The ICC support module has been loaded.
ANR0990I Server restart-recovery in progress.
...
ANR0984I Process 1 for AUDIT LICENSE started in the BACKGROUND at 13:14:09.
ANR2820I Automatic license audit started as process 1.
ANR2560I Schedule manager started.
ANR0162W Supplemental database diagnostic information: -1:42884:-440
([IBM][CLI Driver][DB2/NT64] SQL0440N No authorized routine named "COLLATIONNAME"
of type "FUNCTION" having compatible arguments was found. SQLSTATE=42884).
ANR0162W Supplemental database diagnostic information: -1:42884:-440
([IBM][CLI Driver][DB2/NT64]
...
ANR0171I tbtbl.c(14146): Error detected on x:y, database in evaluation mode.
...
ANR9999D_3937368011 LmLcAuditThread(lmlcaud.c:864) Thread<31>: Error in committing
audit license transaction.
ANR9999D Thread<31> issued message 9999 from:
ANR9999D Thread<31> 000007FEE95CE599 OutDiagToCons()+159
ANR9999D Thread<31> 000007FEE95C7FFC outDiagfExt()+fc
ANR9999D Thread<31> 000007FEE91EC95B LmLcAuditThread()+13fb
If you determine that the server instance failed to start, and the Sophos antivirus
program is installed, complete the following steps:
1. To ensure that the antivirus program does not affect the startup of the server
instance, complete one of the following steps:
v Configure the antivirus program to ensure that it does not scan the Tivoli
Storage Manager instance database or files.
v Disable the antivirus program for a limited time so that the server instance
can be started.
Symptoms
ANR0902W messages about the server options appear, but the server starts.
Causes
V5 releases tolerated the presence of some server options that were not supported
by the server. The V7.1 server flags such options by issuing warning messages.
The list of server options that were deleted for V7.1 contains options that were
deleted since V5.5 was released. If the server option that causes a warning on your
system is not in the list of deleted server options, the option was likely deleted in
some earlier release, for example, V5.4.
You can ignore the error, or update the server options file and restart the server.
Related reference:
“Deleted server commands, utilities, and options” on page 65
350 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Troubleshooting the database upgrade
Symptoms
The dsmserv.dsk file is no longer in the default directory for the server.
Causes
No action is required. However, if you are planning to upgrade the server from V5
to V7.1, you might want to save the dsmserv.dsk file in case you need to revert to
Tivoli Storage Manager V5.
Symptoms
You are unable to use this command to bring a random access storage pool online
for the Tivoli Storage Manager server.
Causes
This issue can have various causes. One possible cause is that the user ID that is
running the server does not have write access to the server disks.
Ensure that the user ID that will be used to run the server has write access to the
server disks. Then, run the VARY command again.
You must have the following items from the earlier version of the server:
v Server database backup
v Volume history file
v Device configuration file
v Server options file
On the system where the V7.1 server is installed, complete the following steps:
1. Back up the V7.1 database and save the contents of the instance directory,
including the volume history file, the device configuration file, and server
options file. Keep these files in case you must return to the V7.1 server.
2. Remove the database from the database manager, then delete the database and
recovery log directories.
a. Manually remove the database. Issue the command:
dsmserv removedb tsmdb1
You can also use the following command to remove the database:
db2 drop db tsmdb1
b. If you must reuse the space that is occupied by the database and recovery
log directories, you can now delete these directories.
3. Use the installation program to uninstall the V7.1 server. Uninstallation
removes the server and the database manager software with their directories.
For instructions about uninstalling the server, see the Installation Guide.
4. Reinstall the version of the server program that you were using before the
upgrade to V7.1. This version must match the version that your server was
running when you created the database backup that you will restore in a later
step.
For example, if the server was at version 5.4.4.0 before the upgrade, and you
intend to use the database backup that was in use on this server, you must
install the V5.4.0.0 server program. After that, you must install the V5.4.4.0 fix
pack to be able to restore the database backup.
a. Reinstall the base version of the server that was in use before the upgrade
to V7.1.
b. Reinstall any fix packs that were installed on the base server version
before the upgrade to V7.1.
5. Copy the following files to the directory for server information:
v Device configuration file
v Volume history file
v The dsmserv.dsk file
v The server options file (typically, dsmserv.opt)
6. Format the database by using the DSMSERV FORMAT utility. For details, see the
information for the version of the server that you are reinstalling. Information
for V5.5 is available at this information center: http://
publib.boulder.ibm.com/infocenter/tivihelp/v1r1
Information for V5.4 and V5.3 is available in the same information center. In
the navigation pane, scroll down and expand Previous versions.
7. Restore the database by using the backup that was created in the preparation
steps before the upgrade.
352 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Troubleshooting the database upgrade
8. If you enabled data deduplication for any FILE-type storage pools that existed
before the upgrade, or if you moved data that existed before the upgrade into
new storage pools while using the V7.1 server, you must complete additional
recovery steps. See “Additional recovery steps if you created new storage
pools or enabled data deduplication.”
9. If the REUSEDELAY setting on storage pools is less than the age of the database
that you restored, restore volumes on any sequential-access storage pools that
were reclaimed after that database backup. Use the RESTORE VOLUME command.
If you do not have a backup of a storage pool, audit the reclaimed volumes
by using the AUDIT VOLUME command, and specifying the FIX=YES parameter
to resolve inconsistencies. Use the command:
audit volume volume_name fix=yes
10. If client backup or archive operations were performed by using the V7.1
server, you might need to audit the storage pool volumes on which the data
was stored.
11. If you were using active-data pools before upgrading to V7.1, recreate them.
The amount of time required to recreate the active-data pools might be
significant, depending on the number and size of the active-data pools to be
recreated.
Use this information if you did either or both of the following actions while your
server was running as a V7.1 server:
v You enabled the data deduplication function for any storage pools that existed
before the upgrade to V7.1. Data deduplication applies only to storage pools that
use a FILE device type.
v You created primary storage pools after the upgrade, and moved data that was
stored in other storage pools into the new storage pools.
Procedure
v For each storage pool for which you enabled the data deduplication function,
restore the entire storage pool by using the RESTORE STGPOOL command. To
complete this task, you must have a complete backup of the storage pool, which
must have been created before the upgrade to V7.1.
v For storage pools that you created after the upgrade, review the following
information to determine what action to take.
Data that was moved from existing V5 storage pools into the new storage pools
might be lost because the new storage pools no longer exist in your restored V5
server. Possible recovery depends on the type of storage pool:
– If data was moved from V5 DISK-type storage pools into a new storage pool,
space that was occupied by the data that was moved was probably reused.
Therefore, you must restore the original V5 storage pools by using the storage
pool backups that were created before the upgrade to V7.1.
If no data was moved from V5 DISK-type storage pools into a new storage
pool, audit the storage pool volumes in these DISK-type storage pools.
– If data was moved from V5 sequential-access storage pools into a new storage
pool, that data might exist and be usable in storage pool volumes on the
restored V5 server. The data might be usable if the REUSEDELAY parameter for
the storage pool was set to a value that prevented reclamation while the
server was running as a V7.1 server. If any volumes were reclaimed while the
server was running as a V7.1 server, restore those volumes from storage pool
backups that were created before the upgrade to V7.1.
354 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Part 2. Migrating Tivoli Storage Manager V5 servers on AIX,
HP-UX, or Solaris systems to V7.1 on Linux
An IBM Tivoli Storage Manager V5 server that runs on an AIX, HP-UX, or Solaris
operating system can be migrated to V7.1 on a Linux x86_64 operating system.
Migration roadmap
The migration roadmap provides links to information to help you plan, prepare,
and complete the migration process.
To prepare for the migration, see Chapter 14, “Preparing for the migration,” on
page 373.
To migrate the system, see Chapter 15, “Migrating the server database to the V7.1
server,” on page 385.
To prepare the system for operation, see Chapter 16, “Taking the first steps after
migration,” on page 425.
Review the scenarios so that you can select the one that works best in your
hardware and software environment.
To migrate the server database, you can use one of the following methods:
Media method
You extract data from the original database to media, and then load the
data into the new database.
Network method
You simultaneously extract data from the original database and load the
data into the new database over a network connection.
For information about when to use the media method and when to use the
network method, see “Comparison of methods for moving data to the V7.1
database” on page 15.
To migrate the server, you can use the upgrade wizard or the command line:
Upgrade wizard
The wizard guides you through the process. You can avoid some steps that
are complex when done manually.
Command line
You issue administrative commands to upgrade the system manually.
The following figure illustrates how to migrate a server by using the media
method and the upgrade wizard.
358 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
The following figure illustrates how to migrate a server by using the media
method and the command line.
3. Extract the V5 database to external 7. Insert data from media into the new
database. Run the DSMSERV
media. Run the DSMUPGRD INSERTDB utility.
EXTRACTDB utility.
360 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
The following figure illustrates how to migrate a server by using the network
method and the upgrade wizard.
The following figure illustrates how to migrate a server by using the network
method and the command line.
362 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Many of the utilities and commands that are used for server upgrade are also used
for server migration. For more information, see Appendix B, “Utilities, scripts, and
commands for server upgrade and migration,” on page 521.
You can run commands to validate the database upgrade. For more information,
see “Sample commands to run for validation of the database upgrade” on page
546.
Data movement
As part of the migration process, you must move data from the source system to
the target system. As you plan the data movement, be aware of the preferred
method for migrating data and the restrictions that apply.
The most reliable way to move data to the new system is to migrate the data to a
non-GENERICTAPE tape device. The tape device must be accessible to both V5
and V7.1 systems.
After the server migration, you are not required to maintain the data on tape
devices. You can move the data from tape devices to any DISK or FILE devices
that are compatible with the V7.1 system.
Device availability
Devices that are used on a V5 system might not be accessible to a V7.1 server
database.
If a device cannot be accessed, you must plan to migrate the data from the V5
device to a device that is accessible to a V7.1 server database.
For a list of devices and operating systems that you can use, see the following
websites:
AIX HPUX IBM Tivoli Storage Manager Supported Devices
Solaris
website for AIX, HP-UX, Solaris, and Windows systems (http://www.ibm.com/
software/sysmgmt/products/support/
IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html)
Linux IBM Tivoli Storage Manager Supported Devices website for Linux
systems (http://www.ibm.com/software/sysmgmt/products/support/
IBM_TSM_Supported_Devices_for_Linux.html)
Protection for client data and the server during the process
To protect client data and the server, you must complete several tasks during the
preparation phase. Plan to back up or migrate some types of data to
non-GENERICTAPE tape devices and back up the server database.
Backing up data is required to ensure that you can revert to the previous Tivoli
Storage Manager version if necessary.
Tip: When you back up the database, make two copies to protect the backup from
media failures. Ensure that at least one full database backup is available onsite. If
you must restore the database, you can save time by having a backup that is
immediately available.
Do not uninstall the V5 server until you verify that the migration to V7.1 was
successful.
For more information about protecting the database, see “Database protection and
recovery” on page 5.
364 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 13. Planning the migration
Plan the migration carefully to minimize the time during which the Tivoli Storage
Manager system will be unavailable. During the migration, you must install the
new software and move the contents of the V5 server database into the new V7.1
database.
When you move data from a V5 server database to a V7.1 database, a large
amount of system processing capacity is used. The move also requires a large
amount of I/O activity.
Testing also gives you more information about the size of the new database
compared to the original, giving you more precise information about database
storage needs.
If you have multiple servers, consider migrating one server first to determine how
the migration process will work for your data. Use the results of the first migration
process to plan for migrating the remaining servers.
Procedure
During the migration process, you must upgrade the V5 server to V5.5.6 or later.
To optimize the migration process and avert potential issues, consider upgrading
the V5 server to the latest available level and installing the latest interim fix for
that level. Follow the guidelines in “Determining the appropriate level for a V5
server before an upgrade” on page 36. For information about the V5.5 server, see
the Tivoli Storage Manager V5.5 Information Center at http://
publib.boulder.ibm.com/infocenter/tivihelp/v1r1.
For information about hardware and software requirements for a V7.1 server on
Linux x86_64, see “Server requirements for Linux on x86_64 systems” on page 26.
For the latest information about hardware and software requirements, see the
Tivoli Storage Manager Supported Operating Systems technote
(http://www.ibm.com/support/docview.wss?uid=swg21243309).
A manual tape drive or a tape library with at least one tape drive must be
installed. The tape device must be supported on both the source and target
operating systems.
Procedure
1. Estimate the space requirements for the V5 server system. For details, see
“Space requirements for the V5 server system” on page 37.
2. Estimate the space requirements for the V7.1 server system. For details, see
“Space requirements for the V7 server system” on page 38.
3. Estimate the total space for the migration process and the V7.1 server. For
details, see “Estimating total space requirements for the upgrade process and
upgraded server” on page 39.
4. Optional: Use a worksheet to plan the amount and location of space for the
V7.1 server. For details, see “Worksheet for planning space for the V7.1 server”
on page 42.
366 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Procedure
When you estimate the time it might take to migrate the system, consider the data
that is available for upgrade operations from Tivoli Storage Manager V5 to V6 on
the same operating system. This information might help you estimate the time that
is required for a cross-platform migration.
Estimate the time that is required to migrate your system based on the amount of
data in the server database.
Results
Your estimate might be higher than the actual time that is required. Because of the
way that databases are structured, the amount of data that the extraction utility
extracts might be much less than the total amount of space that is used by the
database.
What to do next
Test migration operations for Tivoli Storage Manager servers that are used by
essential systems.
As you plan the data movement, ensure that you have tape volumes available for
backing up and storing data:
v At a minimum, tape volumes must be available to back up the primary storage
pool.
v The tape devices must be accessible to both the V5 and the V7 system.
v The tape devices must be usable on both the V5 and the V7 system. For
information about the devices that can be used, see the website for your
operating system:
– AIX HPUX Solaris Supported Devices for AIX, HP-UX, Solaris,
and Windows systems (http://www.ibm.com/software/sysmgmt/products/
support/IBM_TSM_Supported_Devices_for_AIXHPSUNWIN.html)
– Linux Supported Devices for Linux systems (http://www.ibm.com/
software/sysmgmt/products/support/
IBM_TSM_Supported_Devices_for_Linux.html)
v To optimize the process, tape volumes should be available to create a second,
onsite backup of the primary storage pool. By creating one backup storage pool
offsite and another onsite, you fulfill disaster recovery requirements for offsite
storage. At the same time, volumes from the second pool are available onsite to
restore data immediately after migration.
For information about storage-agent and library client compatibility with Tivoli
Storage Manager V7.1 servers, see Technote 1302789 (http://www.ibm.com/
support/docview.wss?uid=swg21302789).
Procedure
Verify the operating procedures, scripts, and administrative schedules that you use
for server operations:
v Plan to back up the server database regularly by using administrative schedules,
a maintenance script, or your own scripts. Back up the server database at least
once per day. For best results, consider scheduling more frequent backups for
368 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
the V7.1 database than you did for the V5 database. To ensure that archive log
space is pruned, consider scheduling more full database backups and fewer
incremental backups.
For more information about scheduling database backups, see the section about
backing up the database in the Administrator's Guide.
v Understand how database and recovery log space is used, and how monitoring
will change.
v Verify scripts and administrative schedules. Starting with the Tivoli Storage
Manager V7 server, new commands were added, some commands were
changed, and some commands that were no longer needed were deleted. These
changes will affect your automated operations. For information about new and
changed commands, see “Command and option changes” on page 51.
v Verify the SELECT commands that you use regularly. Some parameters and
syntax that were previously allowed are not accepted by the database manager
program. For information about SELECT command updates, see “Changes to the
SELECT command” on page 68. To resolve problems that are related to SELECT
commands, see Technote 1380830 (http://www.ibm.com/support/
docview.wss?uid=swg21380830).
v If you use products from independent software vendors to interface with the
server, ensure that the products are compatible with the V7.1 server.
What to do next
To use the new functions that are available in Tivoli Storage Manager V7.1, install
the latest version of the IBM Tivoli Storage Manager Operations Center.
Procedure
The speed of the extraction process is typically limited by the speed of I/O to the
destination for the extracted data. The length of time that the process runs also
depends on the size of the database. The time is approximately as long as the time
required for a full backup of the database.
Do not reorganize the Tivoli Storage Manager V5 database before the migration.
The extraction process achieves faster throughput when the source database does
not contain long sequences of pages that are allocated to a single database table.
Follow this guideline for both the media method and the network method.
The following performance tips depend on the method that you choose for moving
the data from the V5 database:
Media method
If you are using the media method, and are extracting the data to tape, use
a high-speed tape device. For example, select a device with a transfer rate
of at least 1000 MB per second.
Network method
If you are using the network method, use a high-speed link. If you are
migrating a database that is larger than 2 - 3 GB, use at least a 1-gigabit
(Gb) Ethernet network.
On a system that meets only the minimum requirements, the insertion process
runs, but performance might be slow. For better performance, set up the system as
described in the following tips:
Processors
The insertion process is designed to use multiple processors or cores. The
insertion process typically performs better on a system with a relatively
small number of fast processors. If the system has many slow processors,
you might experience reduced performance levels.
Disk storage
The insertion process is designed to use high-bandwidth disk storage
subsystems. The speed of the process is dependent on the disk storage that
is used.
For best performance, use multiple LUNs that map to multiple
independent disks, or that map to redundant arrays of independent disks
(RAIDs) with a large stripe size (for example, 128 KB). Use a different file
system on each LUN.
The following table shows an example of good usage of LUNs.
Table 61. Example of LUN usage
LUN Usage
1 Active log
2 Archive log
3, 4, 5 Database directories
6 Extracted V5 database, which is required only if the media method
is used to extract the V5 database to a sequential device class
370 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
For more information, see “Reference information for planning” on page 51.
Procedure
1. Verify that the system has the amount of space that was estimated in the
planning step. If you used a worksheet to plan the space requirements, refer to
the worksheet. For more information, see “Worksheet for planning space for the
V7.1 server” on page 42.
2. If you plan to extract the original server database to media for later insertion
into the new database, ensure that you have enough storage space. Storage
space is required for the database and the manifest file that the extraction
process creates. Complete the following steps:
a. Identify the device class to which you will extract the original database. The
definition must exist in the server database, not only in the device
configuration file.
The device class must be sequential, and the device class type must be tape.
The tape device must be compatible with the V5 and the V7.1 system.
Define a new device class if necessary.
b. Ensure that space or volumes are available in the selected device class. The
amount of space that you need is about the same as the current size of the
original database.
Ensure that the instance user ID that you create for the upgraded server has
access permission to the location of the extracted data.
c. Verify that the access permissions are correct for the location that you plan
to specify for the manifest file.
When the data is later inserted into the V7.1 database, the instance user ID
that you use for the upgraded server must have access permission for the
manifest file.
The manifest file might be less than 1 KB. However, for a complex
configuration, it might exceed 1 KB.
The Tivoli Storage Manager server must not be running during installation of the
V5.5.6 or later fix pack.
To install a fix pack to the server, you must have the Tivoli Storage Manager
license package installed. The license package is provided when you purchase a
base release.
Ensure that you retain the installation media from the base release of the installed
server. If you installed Tivoli Storage Manager from a DVD, ensure that the DVD is
available. If you installed Tivoli Storage Manager from a downloaded package,
ensure that the downloaded files are available. If the upgrade fails, and the server
license module is uninstalled, the installation media from the server base release
are required to reinstall the license.
Procedure
1. Obtain the package file for the V5.5.6 or later fix pack from the Tivoli Storage
Manager FTP downloads site at ftp://public.dhe.ibm.com/storage/tivoli-
storage-management/maintenance/server/v5r5/MVS/LATEST.
2. For installation information, review the README.txt file, which is available in
the package file.
3. Install the fix pack.
What to do next
For more information about the Tivoli Storage Manager server V5.5 release, see the
Tivoli Storage Manager V5.5 information center at http://publib.boulder.ibm.com/
infocenter/tivihelp/v1r1/index.jsp.
Disabling sessions
In preparation for the migration, prevent activity on the server by disabling new
sessions. Cancel any existing sessions.
Procedure
where process_number specifies the number of the process. Allow time for the
processes to be stopped. Some processes, such as storage pool migration, might
require considerable time.
3. Verify whether sessions exist, and notify the users that the server will be
stopped. To detect existing sessions, use the command:
374 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
query session
4. Cancel sessions that are still running. Use the command:
cancel session all
Procedure
1. Create a copy storage pool for a tape device by issuing the DEFINE STGPOOL
command. For example, to create a copy storage pool named ltocopypool,
which is assigned to the LTOCLASS device class, issue the following command:
define stgpool ltocopypool ltoclass pooltype=copy
For more information about the DEFINE STGPOOL command and other Tivoli
Storage Manager administrative commands, see the Administrator's Reference.
2. Back up a primary storage pool on a DISK or FILE device by issuing the BACKUP
STGPOOL command. For example, to back up a primary storage pool named
primary_pool to a copy storage pool named ltocopypool, issue the following
command:
backup stgpool primary_pool ltocopypool
3. Vary any disk-based primary storage pool volumes offline by using the VARY
command. For example, to vary a storage pool named primary_disk_pool
offline, issue the following command:
vary offline primary_disk_pool
4. To mark the original volumes as destroyed, change the access mode of each
volume of primary storage pools to destroyed. Use the UPDATE VOLUME
command. For example, if the name of the primary storage pool is
primary_pool, mark the volumes in the pool as destroyed by issuing the
following command:
update volume * wherestgpool=primary_pool access=destroyed
Results
If you prefer to migrate the data, you can use the MIGRATE STGPOOL command, the
MOVE DATA command, or the MOVE NODEDATA command, depending on where the
data is stored and how you plan to move it.
What to do next
After the server is migrated to V7.1, you can move the data from tape back to a
storage pool that has faster access to data. For example, you can migrate the data
to a random-access storage pool that uses a DISK device class. You can also
migrate or restore the data to a storage pool that uses a FILE device class.
Procedure
1. Create a primary sequential-access storage pool on a non-GENERICTAPE tape
device by issuing the DEFINE STGPOOL command.
For example, to create a storage pool named ltopool that is assigned to the
LTOCLASS device class, issue the following command:
define stgpool ltopool ltoclass
For more information about creating storage pools, see the DEFINE STGPOOL
command in the Administrator's Reference.
2. To provide a location for the files that will be migrated, set up the next primary
storage pool. Use the UPDATE STGPOOL command.
For example, to update a primary storage pool named gentapepool by adding a
next storage pool named ltopool with a high migration threshold of 100, issue
the following command:
update stgpool gentapepool nextstgpool=ltopool highmig=100
For more information about setting up the next primary storage pool, see the
UPDATE STGPOOL command in the Administrator's Reference.
3. Migrate the data from the GENERICTAPE storage pool to the
non-GENERICTAPE storage pool by using the MIGRATE STGPOOL command. For
example, to migrate a storage pool named gentapepool to the next storage pool
and specify a low migration threshold of 0, issue the following command:
migrate stgpool gentapepool lowmig=0
For more information about migrating storage pools, see the section that
describes how to move data in the Administrator's Guide. Also, see the MIGRATE
STGPOOL command in the Administrator's Reference.
Procedure
1. Obtain a detailed list of the volumes that are associated with a backup set by
issuing the QUERY BACKUPSET command:
query backupset f=d
For more information about the QUERY BACKUPSET command and other Tivoli
Storage Manager administrative commands, see the Administrator's Reference.
2. Review the output to determine which backup sets are stored on FILE devices.
3. Copy the volumes that are associated with backup sets on FILE devices to the
target system. For example, copy the volumes to an FTP server on the target
system. The volumes must be copied to a location where they can be accessed
by the server instance user ID. If possible, retain the file structure that was
used on the source system. If it is not possible to retain the file structure from
the source system, copy the volumes to any location on the target system.
376 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Remember: If you cannot retain the file structure that was used on the source
system, you must complete more steps after the server migration. Use the
DELETE BACKUPSET command to remove the previous volume entries from the
database, and then the DEFINE BACKUPSET command to re-create the backup sets
by using the volumes in their new location.
Procedure
Run a snapshot backup, which provides a full backup of the database without
interrupting any scheduled backups. Use the following command:
backup db type=dbsnapshot devclass=device_class_name
where type specifies the type of database backup and device_class_name specifies the
name of the device class. The device class that you specify must exist and have
volumes that are available to it.
To use specific volumes instead of scratch volumes, specify the volume names in
the command.
Tip: To protect the backup from media failures, make two copies of the backup.
Ensure that at least one full database backup is available onsite. If you must restore
the original database, having an onsite backup saves time because it is
immediately available.
For more information about backing up databases, see the BACKUP DB command in
the Administrator's Reference.
Procedure
Run commands that give a summary of information about your database contents.
For example, issue commands that summarize the file spaces that are being
protected, and save the results. For a list of commands, see “Sample commands to
run for validation of the database upgrade” on page 546.
Before you modify the server, review the steps for reverting to the earlier version
of the server in the section, “Reverting from V7.1 to the previous V5 server
version” on page 435.
Procedure
1. To prevent an issue with UNIX System Services file spaces, from a Tivoli
Storage Manager administrative command line, issue the command:
convert ussfilespace
This command fixes a problem that might exist in older Tivoli Storage Manager
databases. If the problem does not exist in your database, the command is
completed and you might see error ANR2034E. This error can be ignored. For
more information, see Technote 1408895 (http://www.ibm.com/support/
docview.wss?uid=swg21408895). If the problem exists in your database, the
command might take some time to run.
Important: If you do not run this command, the DSMUPGRD PREPAREDB utility
might fail. You must then restart the V5 server and run the CONVERT
USSFILESPACE command before you continue the upgrade process.
2. Make the following adjustments to settings on your server and clients. These
adjustments must be done so that you can revert your system to the original
server after the migration, if a problem occurs.
a. For each sequential-access storage pool on tape, use the UPDATE STGPOOL
command to set the REUSEDELAY parameter. Set the parameter to the number
of days during which you want to be able to revert to the original server, if
necessary.
For example, if you want to be able to revert to the original server for up to
30 days after the migration, set the REUSEDELAY parameter to 31 days:
update stgpool sequential_access_storage_pool reusedelay=31
378 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
where 45 specifies the number of days and S specifies that the log entries
will be saved.
Add the schedlogretention client option to the dsm.sys file within a server
stanza.
For more information about pruning the log, see the schedlogretention
client option in the Backup-Archive Clients Installation and User's Guide.
Procedure
Allow time for the processes to be stopped. Some processes, such as storage
pool migration, might take some time to stop.
For more information about the QUERY PROCESS and CANCEL PROCESS commands
and other Tivoli Storage Manager administrative commands, see the
Administrator's Reference.
2. After all sessions and processes are stopped, determine whether any tapes are
mounted. Unmount any tapes that are mounted. Use the following commands:
query mount
dismount volume volume_name
3. Stop the server. Use the following command:
halt
Procedure
You must install the V5.5.6 or later upgrade utilities on the system that has the
original server and its database. The package to install is available for download
from the FTP downloads site.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the AIX directory. From that directory, open the V5.5.6 or later
directory. The level must be the same as or later than the level of the V5
server that you are upgrading.
c. Download the package to a convenient location on the server system. The
name of the package has the following form:
5.5.x.x-TIV-TSMUPG-AIX.tar.gz
The numbers at the beginning of the package name identify the release
level of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Ensure that the system has the following file sets installed:
xlC.rte 8.0.0.5, or later
gsksa.rte 7.0.4.11
You can use the following commands to check for these file sets:
lslpp -L xlC.rte
lslpp -L gsksa.rte
If needed, you can obtain the gsksa.rte file set from any of the regular V5.5
maintenance packages for the AIX server. The maintenance packages are
available on the FTP downloads site: ftp://public.dhe.ibm.com/storage/tivoli-
storage-management/maintenance/server/v5r5/AIX/
380 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
You must install the V5.5.6 or later upgrade utilities on the system that has the
original server and its database. The package to install is available for download
from the FTP downloads site.
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the HP-UX directory. From that directory, open the V5.5.6 or later
directory. The level must be the same as or later than the level of the V5
server that you are upgrading.
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
You must install the V5.5.6 or later upgrade utilities on the system that has the
original server and its database. The package to install is available for download
from the FTP downloads site.
Restriction: Do not install the utilities in the installation directory for the original
server that must be upgraded. Install the utilities package in its own directory.
382 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Procedure
1. Obtain the upgrade utilities package from the FTP downloads site.
a. Go to ftp://public.dhe.ibm.com/storage/tivoli-storage-management/
maintenance/server-upgrade/v5r5/
b. Navigate to the Solaris directory. From that directory, open the V5.5.6 or
later directory. The level must be the same as or later than the level of the
V5 server that you are upgrading.
c. Download the package to a convenient location on the server system. The
name of the package has the following form:
5.5.x.x-TIV-TSMUPG-platform.tar.Z
The numbers at the beginning of the package name identify the release level
of the upgrade utilities package.
d. Optional: To install messages in a language other than English, open the
LANG directory, and download a language package. Translated messages are
available in the usual set of languages for a V5 server.
2. Log in with the root user ID.
3. Change to the directory where the upgrade utilities package was downloaded.
4. Extract the contents of the upgrade utilities package. For example, from the
directory where you saved the download package, issue the command:
uncompress -c package_name.tar.Z | tar -xvf -
5. Navigate to the directory that corresponds to the processor architecture of the
operating system.
6. Install the upgrade utilities and the device driver. Use the source argument (-d)
to specify the directory where the package was extracted. For example, if the
directory is /tmp/TSM, issue the command:
pkgadd -d . /tmp/TSM package_name
where xxxx is the locale that you want to use. For example, use it_IT for
Italian. The upgrade utilities run with the locale that you specify if the
following statements are true:
v The locale is installed on the system.
v The upgrade utilities support the locale.
v The language package that you installed for the upgrade utilities matches
the locale.
For an overview of migration scenarios, see “Scenarios for migrating a server from
an AIX, HP-UX, or Solaris system to V7.1 on Linux” on page 358.
Migration scenario 1: Using the media method and the upgrade wizard
Use this procedure if you are upgrading the server by using the media method
and the upgrade wizard. By applying the media method, you extract data from the
original database to media, and then load the data into the new database. By using
the wizard, you simplify the configuration process.
Procedure
To migrate the system by using Migration scenario 1, complete the following steps:
1. Ensure that you have completed the planning tasks. See Chapter 13, “Planning
the migration,” on page 365.
2. Ensure that you have completed the preparation tasks. See Chapter 14,
“Preparing for the migration,” on page 373.
3. Complete the tasks that are described in the following topics:
a. “Migration scenario 1: Installing the V7.1 server” on page 386
b. “Migration scenario 1: Setting up devices” on page 388
c. “Migration scenario 1: Creating the user ID and directories for the server
instance” on page 389
d. “Migration scenario 1: Running the upgrade wizard” on page 390
What to do next
After you complete the planning, preparation, and migration steps, complete the
post migration tasks. See Chapter 16, “Taking the first steps after migration,” on
page 425.
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
If you plan to download the files, set the system user limit for maximum file size
to unlimited to ensure that the files can be downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
By using the Tivoli Storage Manager installation software, you can install the
following Tivoli Storage Manager components:
v server
v server languages
v license
v devices
v Operations Center
v storage agent
Tip: The database (DB2) and the Global Security Kit are automatically installed
when you select the Tivoli Storage Manager server component.
For more information about storage agents, see the Storage Agent User's Guide.
Procedure
1. Log in to the system by using the root user ID.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
a. Verify that you have enough space to store the installation files when they
are extracted from the product package. For space requirements, see the
download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
386 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
In the examples, 7.1.0.000 represents the product release level. The package
is large, so the download takes some time.
d. Extract the installation files by issuing the following command:
./package_name.bin
where package_name is like the following example:
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
./install.sh
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
./install.sh
Chapter 15. Migrating the server database to the V7.1 server 387
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
6. If you install the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
7. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
8. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
9. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
10. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
11. To prevent server failures during interaction with DB2, tune the kernel
parameters.
For instructions, see the section about tuning kernel parameters in the
Installation Guide.
12. Optional: To install an additional language package, use the modify function
of the IBM Installation Manager.
13. Optional: To upgrade to a newer version of a language package, use the
update function of the IBM Installation Manager.
Procedure
ownership of the device special files to belong to the group, and make the
device special files readable and writable to the group. Issue the following
command:
chmod g+rw /dev/IBMtapex
To review the information about planning space for the server, see “Estimating
database and recovery log requirements” on page 366.
Procedure
1. Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance. You will use this user ID when you create the server
instance in a later step.
Restriction: In the user ID, only lowercase letters (a-z), numerals (0-9), and the
underscore character (_) can be used. The user ID and group name must
comply with the following rules:
v The length must be 8 characters or less.
v The user ID and group name cannot start with ibm, sql, sys, or a numeral.
v The user ID and group name cannot be user, admin, guest, public, local, or
any SQL reserved word.
For example, create user ID tsminst1 in group tsmsrvrs. The following
examples show how to create this user ID and group by using operating
system commands:
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
2. Log out and log in to your system again by using the new user ID and
password. Use an interactive login program, such as telnet, so that you are
prompted for the password and can change it if necessary.
3. If a configuration profile does not exist for the user ID, create the file. For
example, create a .profile file if you are using the Korn shell (ksh).
Chapter 15. Migrating the server database to the V7.1 server 389
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
4. Ensure that you are logged in with the user ID that you created. Then, create
the directories that the server requires.
Unique, empty directories are required for each item that is shown in the
following table. Create the database directories, the active log directory, and the
archive log directory on different physical volumes. For space requirements, see
“Worksheet for planning space for the V7.1 server” on page 42.
Table 62. Worksheet for creating required directories
Example commands for
Item creating the directories Your directories
The instance directory mkdir /home/user_ID/tsminst1
for the server, which will
contain files for this
server instance, including
the server options file
The database directories mkdir /home/user_ID/tsmdb001
mkdir /home/user_ID/tsmdb002
mkdir /home/user_ID/tsmdb003
mkdir /home/user_ID/tsmdb004
Active log directory mkdir /home/user_ID/tsmlog
Archive log directory mkdir /home/user_ID/
tsmarchlog
Optional: Directory for mkdir /home/user_ID/
the log mirror for the tsmlogmirror
active log
Optional: Secondary mkdir /home/user_ID/
archive log directory, tsmarchlogfailover
which is the failover
location for the archive
log
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
5. Create more logical volumes and mount the volumes on the directories that
were created in the previous step.
Before you start the upgrade wizard, complete all preceding steps to prepare for
the upgrade. Ensure that you backed up the server database and configuration
files. Also, ensure that you installed the V7.1 server program, and created the
directories and user ID for the server instance.
Procedure
1. Verify that the following requirements are met:
v The system where you installed the V7.1 server program must have the X
Window client. You also must be running an X Window server on your
desktop.
390 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
v The system must have one of the following protocols enabled. Ensure that
the port that the protocol uses is not blocked by a firewall.
– Secure Shell (SSH). Ensure that the port is set to the default value, 22.
Also, ensure that the SSH daemon service has access rights for connecting
to the system by using localhost.
– Remote shell (rsh).
– Remote Execution Protocol (REXEC).
The V5 server also must have one of the protocols enabled.
v You must be able to log in to the V7.1 system with the user ID that you
created for the server instance by using the SSH, rsh, or REXEC protocol.
When you use the wizard, you must provide this user ID and password to
access that system.
2. Start the upgrade wizard, dsmupgdx, from the V7.1 server installation directory.
Log in by using the root user ID and issue this command:
/opt/tivoli/tsm/server/bin/dsmupgdx
3. Follow the instructions to complete the upgrade. The upgrade wizard can be
stopped and restarted, but the server will not be operational until the entire
upgrade process is complete. Read all messages that are displayed for each
phase of the upgrade process in the message display area within the wizard.
Informational messages might require your attention.
Migration scenario 2: Using the media method and the command line
Use this procedure if you are migrating the server database by using the media
method and the command line. By applying the media method, you extract data
from the original database to media and load the data into the new database. By
using the command line, you issue administrative commands to upgrade the
system manually.
Procedure
To migrate the system by using Migration scenario 2, complete the following steps:
1. Ensure that you have completed the planning tasks. See Chapter 13, “Planning
the migration,” on page 365.
2. Ensure that you have completed the preparation tasks. See Chapter 14,
“Preparing for the migration,” on page 373.
3. Complete the tasks that are described in the following topics:
a. “Migration scenario 2: Preparing the database of the V5 server” on page 392
b. “Migration scenario 2: Extracting the data to media” on page 393
c. “Migration scenario 2: Installing the V7.1 server” on page 393
d. “Migration scenario 2: Setting up devices” on page 396
e. “Migration scenario 2: Configuring devices” on page 397
f. “Migration scenario 2: Creating the user ID and directories for the server
instance” on page 398
g. “Migration scenario 2: Creating the server instance and database” on page
400
h. “Migration scenario 2: Loading the extracted data into the V7.1 database”
on page 402
i. “Migration scenario 2: Configuring the system for database backup” on page
404
Chapter 15. Migrating the server database to the V7.1 server 391
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
What to do next
After you complete the planning, preparation, and migration steps, complete the
post migration tasks. See Chapter 16, “Taking the first steps after migration,” on
page 425.
Procedure
1. Ensure that you completed the initial preparation steps. For instructions, see
Chapter 14, “Preparing for the migration,” on page 373.
2. Log in by using the root user ID on the V5 system.
3. Change to the instance directory for the server that you are upgrading. The
instance directory is the directory that contains the files such as dsmserv.dsk for
the server.
4. Prepare the database. Direct the output of the process to a file for monitoring.
From the instance directory for the server that you are upgrading, issue the
following command to run the process in the background and direct the output
to the file called prepare.out:
AIX
nohup /usr/tivoli/tsm/upgrade/bin/dsmupgrd preparedb >prepare.out 2>&1 &
HPUX Solaris
What to do next
Ensure that the prepare operation is completed successfully before you continue to
the next step. If the prepare operation fails, you might have to restart the V5 server
to fix the problem and run the prepare operation again. If the server that is being
upgraded is a V5.3 or V5.4 server, you might have to restore the database by using
a backup. Then, you can restart the server to correct the problem.
392 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Procedure
1. Log in by using the root user ID on the system that has the V5 server.
2. Ensure that the storage device is available. The server database and the device
configuration file must contain a valid device class definition for the device.
3. From the instance directory for the server that you are upgrading, issue the
command to start the extraction. Direct the output of the process to a file for
monitoring. For example, issue the following command on one line:
AIX
HPUX Solaris
Tip: Messages that are issued during the extract operation are not saved in the
server activity log. Direct the output of the utility to a file, as shown in the
examples, to record the messages.
4. Monitor the process for errors and warning messages, and for items that might
require attention. A message near the end of the process output indicates the
success or failure of the operation:
Success message: ANR1382I EXTRACTDB: Process 1, database extract, has
completed.
Failure message: ANR1396E EXTRACTDB: Process 1, database extract, has
completed with errors.
For example, from the instance directory for the server that you are upgrading,
issue the following command to monitor the process:
tail -f extract.out
The length of time that the process runs depends on the database size. The time
is approximately the length of time that is required for a full database backup.
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
If you plan to download the files, set the system user limit for maximum file size
to unlimited to ensure that the files can be downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
Chapter 15. Migrating the server database to the V7.1 server 393
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
By using the Tivoli Storage Manager installation software, you can install the
following Tivoli Storage Manager components:
v server
v server languages
v license
v devices
v Operations Center
v storage agent
Tip: The database (DB2) and the Global Security Kit are automatically installed
when you select the Tivoli Storage Manager server component.
For more information about storage agents, see the Storage Agent User's Guide.
Procedure
1. Log in to the system by using the root user ID.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
a. Verify that you have enough space to store the installation files when they
are extracted from the product package. For space requirements, see the
download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://www.ibm.com/
support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The path must
contain no more than 128 characters. Ensure that you extract the
installation files to an empty directory. Do not extract to a directory that
contains previously extracted files, or any other files. Also, ensure that you
have executable permission for the package file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
394 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
In the examples, 7.1.0.000 represents the product release level. The package
is large, so the download takes some time.
d. Extract the installation files by issuing the following command:
./package_name.bin
where package_name is like the following example:
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
./install.sh
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
./install.sh
6. If you install the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
7. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
8. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
Chapter 15. Migrating the server database to the V7.1 server 395
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
9. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
10. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
11. To prevent server failures during interaction with DB2, tune the kernel
parameters.
For instructions, see the section about tuning kernel parameters in the
Installation Guide.
12. Optional: To install an additional language package, use the modify function
of the IBM Installation Manager.
13. Optional: To upgrade to a newer version of a language package, use the
update function of the IBM Installation Manager.
Procedure
396 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
– To grant read and write access to only the group, issue the following
command:
/opt/tivoli/tsm/devices/bin/autoconf -g
For more information about setting up devices, see the section about attaching
devices to the server in the Administrator's Guide.
Procedure
Tip: The manifest file was created in an earlier step, “Migration scenario 2:
Extracting the data to media” on page 393.
The following example is from the manifest file on a V5 server:
DEFINE LIBRARY LTO_LIB LIBTYPE=SCSI WWN="500143800329CAD8"
SERIAL="DEC91503HW" SHARED=NO AUTOLABEL=NO RESETDRIVE=NO
In the sample output, the library serial number is DEC91503HW and the
index number is 000.
b. Use the index number to define the library name.
A library name has the following format:
/dev/tsmscsi/lbx
where x is the index number without leading zeros. If the index number
is 000, remove only the first two leading zeros. In this example, the index
number is 000. When the first two leading zeros are removed, the number
becomes 0, and the library name is defined as /dev/tsmscsi/lb0.
v If the devices are controlled by IBM tape device drivers, obtain library device
names by following the instructions in the IBM Tape Device Drivers Installation
and User's Guide:
http://www.ibm.com/support/docview.wss?uid=ssg1S7002972
The names of library devices that are controlled by an IBM device driver on
a Linux system have the following format:
/dev/IBMchangerx
Chapter 15. Migrating the server database to the V7.1 server 397
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
In the output, look for the device serial numbers that you identified in
Step 3.
The output is similar to the following example:
Index Minor Host CHN ID LUN Type Vendor_ID Device_Serial_Number Product_ID Rev.
000 005 001 000 003 000 001 HP HU171200NG Ultrium 4-SCSI H68W
where x is the index number without leading zeros. In this example, the
index number is 000. After you remove the leading zeros, the number is
0, and the name of the device drive is defined as /dev/tsmscsi/mt0.
v If the devices are controlled by IBM tape device drivers, obtain drive device
names by following the instructions in the IBM Tape Device Drivers Installation
and User's Guide:
http://www.ibm.com/support/docview.wss?uid=ssg1S7002972
Names of device drives that are controlled by IBM tape device drivers have
the following format:
/dev/IBMtapex
To review the information about planning space for the server, see “Estimating
database and recovery log requirements” on page 366.
398 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Procedure
1. Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance. You will use this user ID when you create the server
instance in a later step.
Restriction: In the user ID, only lowercase letters (a-z), numerals (0-9), and the
underscore character (_) can be used. The user ID and group name must
comply with the following rules:
v The length must be 8 characters or less.
v The user ID and group name cannot start with ibm, sql, sys, or a numeral.
v The user ID and group name cannot be user, admin, guest, public, local, or
any SQL reserved word.
For example, create user ID tsminst1 in group tsmsrvrs. The following
examples show how to create this user ID and group by using operating
system commands:
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
2. Log out and log in to your system again by using the new user ID and
password. Use an interactive login program, such as telnet, so that you are
prompted for the password and can change it if necessary.
3. If a configuration profile does not exist for the user ID, create the file. For
example, create a .profile file if you are using the Korn shell (ksh).
4. Ensure that you are logged in with the user ID that you created. Then, create
the directories that the server requires.
Unique, empty directories are required for each item that is shown in the
following table. Create the database directories, the active log directory, and the
archive log directory on different physical volumes. For space requirements, see
“Worksheet for planning space for the V7.1 server” on page 42.
Table 63. Worksheet for creating required directories
Example commands for
Item creating the directories Your directories
The instance directory mkdir /home/user_ID/tsminst1
for the server, which will
contain files for this
server instance, including
the server options file
The database directories mkdir /home/user_ID/tsmdb001
mkdir /home/user_ID/tsmdb002
mkdir /home/user_ID/tsmdb003
mkdir /home/user_ID/tsmdb004
Active log directory mkdir /home/user_ID/tsmlog
Archive log directory mkdir /home/user_ID/
tsmarchlog
Optional: Directory for mkdir /home/user_ID/
the log mirror for the tsmlogmirror
active log
Optional: Secondary mkdir /home/user_ID/
archive log directory, tsmarchlogfailover
which is the failover
location for the archive
log
Chapter 15. Migrating the server database to the V7.1 server 399
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
5. Create more logical volumes and mount the volumes on the directories that
were created in the previous step.
Procedure
1. Log in to the system where you installed the V7.1 program by using the root
user ID.
Verify the following items:
v The home directory for the user, /home/tsminst1, exists. If there is
no home directory, you must create it.
v The instance directory stores the following core files that are
generated by the Tivoli Storage Manager server:
– The server options file, dsmserv.opt
– The server key database file, cert.kdb, and the .arm files, which
are used by clients and other servers to import the Secure
Sockets Layer certificates of the server
– The device configuration file, if the DEVCONFIG server option does
not specify a fully qualified name
– The volume history file, if the VOLUMEHISTORY server option does
not specify a fully qualified name
– Volumes for storage pools of the FILE device type, if the
directory for the device class is not fully specified, or not fully
qualified
– User exits
– Trace output, if it is not fully qualified
v A shell configuration file, for example, a .profile file, exists in the
home directory. The root user and instance user ID must have write
permission to this file. For more information about the shell
configuration file, go to the DB2 information center at:
http://pic.dhe.ibm.com/infocenter/db2luw/v10r5. Search for
information about Linux and UNIX environment variable settings.
2. Create a Tivoli Storage Manager instance by using the db2icrt command.
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
400 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Remember: From this point on, use this new user ID when you configure the
Tivoli Storage Manager server. Log out of the root user ID, and log in by
using the user ID that is the instance owner.
3. Log in to the system by using the user ID that owns the V7.1 server instance
(the instance user ID).
4. Copy the configuration files to the instance directory that you created for the
new server. The files are the configuration files that you saved from the
original V5 server:
v The device configuration file
v The server options file, which is typically named dsmserv.opt
For example, if you created the instance directory that is shown in the
example in the step to create directories, copy the files into the following
directory:
/tsminst1
Ensure that the instance user ID has ownership or read/write permission to
the files that you copied.
5. Edit the server options file.
a. Remove any options that are not supported for V7.1. For the list of deleted
options, see Table 29 on page 67.
b. Verify that the server options file contains at least one VOLUMEHISTORY
option and at least one DEVCONFIG option. By specifying these options, you
ensure that a volume history file and a device configuration file are
generated and updated automatically. If you must restore the database,
these files are required.
c. Verify that the server options file includes the TXNGROUPMAX option with a
value, and if it does, what the value is. You might want to change the
current value because the default value for this option changed from 256
to 4096, starting in V6. The increased value can improve the performance
for data movement operations such as storage pool migration and storage
pool backup.
v If the server options file does not include this option, the server
automatically uses the new default value, 4096.
v If the specified value is less than 4096, consider increasing the value, or
removing the option so that, when the server is restarted, the new
default value is applied.
6. Change the default path for the database to be the same as the instance
directory for the server. Issue the command:
db2 update dbm cfg using dftdbpath instance_directory
For example:
db2 update dbm cfg using dftdbpath /tsminst1
7. Modify the library path to use the version of the IBM Global Security Kit
(GSKit) that is installed with the Tivoli Storage Manager server.
You must update the following files to set the library path when DB2 or the
Tivoli Storage Manager server is started:
v instance_directory/sqllib/usercshrc
v instance_directory/sqllib/userprofile
For the instance_directory/sqllib/usercshrc file, add the following line:
setenv LD_LIBRARY_PATH /usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
Chapter 15. Migrating the server database to the V7.1 server 401
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Verify the library path settings and ensure that the GSKit version is 8.0.14.14
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.14 or later, you must reinstall the Tivoli
Storage Manager server. The reinstallation ensures that the correct GSKit
version is available.
8. Change to the instance directory that you created for the server.
9. Create and format the database and recovery logs by using the DSMSERV
LOADFORMAT command. In the command, specify the directories that you
created for the database and logs. The directories must be empty.
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
Appendix B, “Utilities, scripts, and commands for server upgrade and
migration,” on page 521.
10. Monitor the process for errors and warning messages. The final message
indicates the success or failure of the operation.
Ensure that the following requirements are met before you begin to load the data:
v The manifest file from the DSMUPGRD EXTRACTDB operation must be available.
v The server options file must contain an entry for the device configuration file.
v The device configuration file must have information about the device class that
is specified in the manifest file.
v The media that contains the extracted database must be available to the V7.1
server. The device must be physically attached to the system. The permissions
must be set to grant access to the media for the user ID that owns the V7.1
server instance.
Procedure
402 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
3. Log in with the instance user ID on the system where you installed the V7.1
server.
4. Copy the manifest file that was created by the extraction process to the V7.1
system.
5. On the V7.1 server, complete the following steps:
a. Verify that the server options file from the V5 server includes the
DEVCONFIG option, and that the option specifies the full path of the device
configuration file.
b. Verify that the device configuration file from the V5 server is available in
the location that is specified by the DEVCONFIG option.
c. Verify that the permissions on the device configuration file allow read
access for the instance user ID.
6. Verify that the contents of the device configuration file are correct. The device
class that was used for the extraction step is recorded in the manifest file, and
that device class must exist and be valid on the V7.1 system. Verify entries for
tape. For example, the device names might have changed.
7. Verify the contents of the manifest file and edit the file if necessary:
a. Ensure that the device names in the manifest file are valid for the V7.1
system. Device names for the same device might be different on V5 and
V7.1 systems.
b. Ensure that the manifest file contains a list of volumes to be used when
the extracted data is loaded into the new database.
8. To load an extracted server database into the prepared, empty V7.1 database,
issue the DSMSERV INSERTDB command. Direct the output of the process to a
file for monitoring. For example, enter the following command on one line:
nohup /opt/tivoli/tsm/server/bin/dsmserv insertdb \
manifest=./manifest.txt >insert.out 2>&1 &
For more information about loading an extracted database into a new
database, see Appendix B, “Utilities, scripts, and commands for server
upgrade and migration,” on page 521.
9. Monitor the process for error messages, warning messages, and any items that
might require your attention. The system displays interim statistics about the
process of loading the database. However, there might be time periods when
no messages are issued. During this time, DB2 operations are running in the
background. The length of time that the process runs depends on the size of
the database. For more information, see “Example: Estimating the upgrade
time based on the database size” on page 43.
Optional: Verify that the database is being loaded by monitoring the processor
and I/O usage for the server process and the corresponding DB2 process. For
example, issue the following command to monitor the process:
tail -f insert.out
A message in the output of the DSMSERV INSERTDB command indicates the
status of the operation:
v Success message: ANR1395I INSERTDB: Process 1, database insert, has
completed.
v Failure message: ANR1396E INSERTDB: Process 1, database insert, has
completed with errors.
10. If you used the media method to upgrade the system, after the data is loaded
into the database, remove or check out from the library the tape that holds the
extracted data. Prevent the tape from being reused until you are sure that you
do not need to run the database-loading operation again.
Chapter 15. Migrating the server database to the V7.1 server 403
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Starting with Tivoli Storage Manager V7.1, it is no longer necessary to set the API
password during a manual configuration of the server. If you set the API password
during the manual configuration process, attempts to back up the database might
fail.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, replace the example values with your actual values.
The examples use tsminst1 for the server instance user ID, /tsminst1 for the Tivoli
Storage Manager server instance directory, and /home/tsminst1 as the home
directory of the server instance user.
Procedure
1. Set the Tivoli Storage Manager API environment-variable configuration for the
database instance:
a. Log in by using the tsminst1 user ID.
b. When user tsminst1 is logged in, ensure that the DB2 environment is
correctly initialized. The DB2 environment is initialized by running the
/home/tsminst1/sqllib/db2profile script, which normally runs
automatically from the profile of the user ID. Ensure that the .profile file
exists in the home directory of the instance user, for example,
/home/tsminst1/.profile. If .profile does not run the db2profile script,
add the following lines:
if [ -f /home/tsminst1/sqllib/db2profile ]; then
. /home/tsminst1/sqllib/db2profile
fi
c. In the instance_directory/sqllib/userprofile file, add the following lines:
DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
DSMI_DIR=server_bin_directory/dbbkapi
DSMI_LOG=server_instance_directory
export DSMI_CONFIG DSMI_DIR DSMI_LOG
d. In the instance_directory/sqllib/usercshrc file, add the following lines:
setenv DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
setenv DSMI_DIR=server_bin_directory/dbbkapi
setenv DSMI_LOG=server_instance_directory
2. Log out and log in again as tsminst1, or issue this command:
. ~/.profile
Ensure that you enter a space after the initial dot (.) character.
3. Create a file that is named tsmdbmgr.opt in the server instance directory, which
is in the /tsminst1 directory in this example, and add the following line:
404 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
SERVERNAME TSMDBMGR_TSMINST1
The value for SERVERNAME must be consistent in the tsmdbmgr.opt and dsm.sys
files.
4. Locate the Tivoli Storage Manager API dsm.sys configuration file. By default,
the dsm.sys file is in the following location:
server_bin_directory/dbbkapi/dsm.sys
5. As root user, add the following lines to the dsm.sys configuration file:
servername TSMDBMGR_TSMINST1
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
errorlogname /tsminst1
nodename $$_TSMDBMGR_$$
where
v servername matches the servername value in the tsmdbmgr.opt file.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 6.
v tcpserveraddr specifies the server address that the client API uses to contact
the server for database backup. To ensure that the database can be backed
up, this value must be localhost.
v tcpport specifies the port number that the client API uses to contact the
server for database backup. Ensure that you enter the same tcpport value
that is specified in the dsmserv.opt server options file.
v errorlogname specifies the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where the
instance user ID has write-permission.
v nodename specifies the node name that the client API uses to connect to the
server during a database backup. To ensure that the database can be backed
up, this value must be $$_TSMDBMGR_$$.
Do not add the PASSWORDACCESS generate option to the dsm.sys configuration
file. This option can cause the database backup to fail.
6. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
Chapter 15. Migrating the server database to the V7.1 server 405
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Procedure
To migrate the system by using Migration scenario 3, complete the following steps:
1. Ensure that you have completed the planning tasks. See Chapter 13, “Planning
the migration,” on page 365.
2. Ensure that you have completed the preparation tasks. See Chapter 14,
“Preparing for the migration,” on page 373.
3. Complete the tasks that are described in the following topics:
a. “Migration scenario 3: Installing the V7.1 server”
b. “Migration scenario 3: Setting up devices” on page 409
c. “Migration scenario 3: Creating the user ID and directories for the server
instance” on page 410
d. “Migration scenario 3: Running the upgrade wizard” on page 411
What to do next
After you complete the planning, preparation, and migration steps, complete the
post migration tasks. See Chapter 16, “Taking the first steps after migration,” on
page 425.
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
If you plan to download the files, set the system user limit for maximum file size
to unlimited to ensure that the files can be downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
By using the Tivoli Storage Manager installation software, you can install the
following Tivoli Storage Manager components:
406 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
v server
v server languages
v license
v devices
v Operations Center
v storage agent
Tip: The database (DB2) and the Global Security Kit are automatically installed
when you select the Tivoli Storage Manager server component.
For more information about storage agents, see the Storage Agent User's Guide.
Procedure
1. Log in to the system by using the root user ID.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
a. Verify that you have enough space to store the installation files when they
are extracted from the product package. For space requirements, see the
download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://www.ibm.com/
support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The path must
contain no more than 128 characters. Ensure that you extract the
installation files to an empty directory. Do not extract to a directory that
contains previously extracted files, or any other files. Also, ensure that you
have executable permission for the package file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
In the examples, 7.1.0.000 represents the product release level. The package
is large, so the download takes some time.
d. Extract the installation files by issuing the following command:
./package_name.bin
where package_name is like the following example:
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
Chapter 15. Migrating the server database to the V7.1 server 407
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
./install.sh
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
./install.sh
6. If you install the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
7. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
8. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
9. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
10. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
408 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
11. To prevent server failures during interaction with DB2, tune the kernel
parameters.
For instructions, see the section about tuning kernel parameters in the
Installation Guide.
12. Optional: To install an additional language package, use the modify function
of the IBM Installation Manager.
13. Optional: To upgrade to a newer version of a language package, use the
update function of the IBM Installation Manager.
Procedure
Chapter 15. Migrating the server database to the V7.1 server 409
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
To review the information about planning space for the server, see “Estimating
database and recovery log requirements” on page 366.
Procedure
1. Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance. You will use this user ID when you create the server
instance in a later step.
Restriction: In the user ID, only lowercase letters (a-z), numerals (0-9), and the
underscore character (_) can be used. The user ID and group name must
comply with the following rules:
v The length must be 8 characters or less.
v The user ID and group name cannot start with ibm, sql, sys, or a numeral.
v The user ID and group name cannot be user, admin, guest, public, local, or
any SQL reserved word.
For example, create user ID tsminst1 in group tsmsrvrs. The following
examples show how to create this user ID and group by using operating
system commands:
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
2. Log out and log in to your system again by using the new user ID and
password. Use an interactive login program, such as telnet, so that you are
prompted for the password and can change it if necessary.
3. If a configuration profile does not exist for the user ID, create the file. For
example, create a .profile file if you are using the Korn shell (ksh).
4. Ensure that you are logged in with the user ID that you created. Then, create
the directories that the server requires.
Unique, empty directories are required for each item that is shown in the
following table. Create the database directories, the active log directory, and the
archive log directory on different physical volumes. For space requirements, see
“Worksheet for planning space for the V7.1 server” on page 42.
Table 64. Worksheet for creating required directories
Example commands for
Item creating the directories Your directories
The instance directory mkdir /home/user_ID/tsminst1
for the server, which will
contain files for this
server instance, including
the server options file
The database directories mkdir /home/user_ID/tsmdb001
mkdir /home/user_ID/tsmdb002
mkdir /home/user_ID/tsmdb003
mkdir /home/user_ID/tsmdb004
410 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
5. Create more logical volumes and mount the volumes on the directories that
were created in the previous step.
Before you start the upgrade wizard, complete all preceding steps to prepare for
the upgrade. Ensure that you backed up the server database and configuration
files. Also, ensure that you installed the V7.1 server program, and created the
directories and user ID for the server instance.
Procedure
1. Verify that the following requirements are met:
v The system where you installed the V7.1 server program must have the X
Window client. You also must be running an X Window server on your
desktop.
v The system must have one of the following protocols enabled. Ensure that
the port that the protocol uses is not blocked by a firewall.
– Secure Shell (SSH). Ensure that the port is set to the default value, 22.
Also, ensure that the SSH daemon service has access rights for connecting
to the system by using localhost.
– Remote shell (rsh).
– Remote Execution Protocol (REXEC).
The V5 server also must have one of the protocols enabled.
v You must be able to log in to the V7.1 system with the user ID that you
created for the server instance by using the SSH, rsh, or REXEC protocol.
When you use the wizard, you must provide this user ID and password to
access that system.
2. Start the upgrade wizard, dsmupgdx, from the V7.1 server installation directory.
Log in by using the root user ID and issue this command:
Chapter 15. Migrating the server database to the V7.1 server 411
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
/opt/tivoli/tsm/server/bin/dsmupgdx
3. Follow the instructions to complete the upgrade. The upgrade wizard can be
stopped and restarted, but the server will not be operational until the entire
upgrade process is complete. Read all messages that are displayed for each
phase of the upgrade process in the message display area within the wizard.
Informational messages might require your attention.
Migration scenario 4: Using the network method and the command line
Use this procedure if you are migrating the server database by using the network
method and the command line. By applying the network method, you
simultaneously extract data from the original database and load the data into the
new database over a network connection. By using administrative commands, you
migrate the system manually.
Procedure
To migrate the system by using Migration scenario 4, complete the following steps:
1. Ensure that you have completed the planning tasks. See Chapter 13, “Planning
the migration,” on page 365.
2. Ensure that you have completed the preparation tasks. See Chapter 14,
“Preparing for the migration,” on page 373.
3. Complete the tasks that are described in the following topics:
a. “Migration scenario 4: Preparing the database of the V5 server”
b. “Migration scenario 4: Installing the V7.1 server” on page 413
c. “Migration scenario 4: Setting up devices” on page 416
d. “Migration scenario 4: Creating the user ID and directories for the server
instance” on page 417
e. “Migration scenario 4: Creating the server instance and database” on page
418
f. “Migration scenario 4: Moving the server database over a network” on page
420
g. “Migration scenario 4: Configuring the system for database backup” on
page 422
What to do next
After you complete the planning, preparation, and migration steps, complete the
post migration tasks. See Chapter 16, “Taking the first steps after migration,” on
page 425.
412 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Procedure
1. Ensure that you completed the initial preparation steps. For instructions, see
Chapter 14, “Preparing for the migration,” on page 373.
2. Log in by using the root user ID on the V5 system.
3. Change to the instance directory for the server that you are upgrading. The
instance directory is the directory that contains the files such as dsmserv.dsk for
the server.
4. Prepare the database. Direct the output of the process to a file for monitoring.
From the instance directory for the server that you are upgrading, issue the
following command to run the process in the background and direct the output
to the file called prepare.out:
AIX
nohup /usr/tivoli/tsm/upgrade/bin/dsmupgrd preparedb >prepare.out 2>&1 &
HPUX Solaris
What to do next
Ensure that the prepare operation is completed successfully before you continue to
the next step. If the prepare operation fails, you might have to restart the V5 server
to fix the problem and run the prepare operation again. If the server that is being
upgraded is a V5.3 or V5.4 server, you might have to restore the database by using
a backup. Then, you can restart the server to correct the problem.
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
If you plan to download the files, set the system user limit for maximum file size
to unlimited to ensure that the files can be downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
By using the Tivoli Storage Manager installation software, you can install the
following Tivoli Storage Manager components:
v server
Chapter 15. Migrating the server database to the V7.1 server 413
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
v server languages
v license
v devices
v Operations Center
v storage agent
Tip: The database (DB2) and the Global Security Kit are automatically installed
when you select the Tivoli Storage Manager server component.
For more information about storage agents, see the Storage Agent User's Guide.
Procedure
1. Log in to the system by using the root user ID.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
a. Verify that you have enough space to store the installation files when they
are extracted from the product package. For space requirements, see the
download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://www.ibm.com/
support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The path must
contain no more than 128 characters. Ensure that you extract the
installation files to an empty directory. Do not extract to a directory that
contains previously extracted files, or any other files. Also, ensure that you
have executable permission for the package file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
In the examples, 7.1.0.000 represents the product release level. The package
is large, so the download takes some time.
d. Extract the installation files by issuing the following command:
./package_name.bin
where package_name is like the following example:
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
414 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
4. If you plan to install the server by using the graphical interface of the IBM
Installation Manager, verify that the operating system is set to the language
that you require. By default, the language of the operating system is the
language of the installation wizard.
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
./install.sh
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
./install.sh
6. If you install the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
7. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
8. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
9. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
10. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
11. To prevent server failures during interaction with DB2, tune the kernel
parameters.
Chapter 15. Migrating the server database to the V7.1 server 415
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
For instructions, see the section about tuning kernel parameters in the
Installation Guide.
12. Optional: To install an additional language package, use the modify function
of the IBM Installation Manager.
13. Optional: To upgrade to a newer version of a language package, use the
update function of the IBM Installation Manager.
Procedure
To set up storage devices, follow these instructions:
v If the devices that you plan to use are controlled by the IBM device driver,
complete the following steps:
1. Install the IBM device driver and configure devices. Follow the instructions
in the IBM Tape Device Drivers Installation and User's Guide at
http://www.ibm.com/support/docview.wss?uid=ssg1S7002972.
2. To set access permissions, complete one of the following actions:
– If the system is dedicated to Tivoli Storage Manager and only the Tivoli
Storage Manager administrator has access, make the device special files
readable and writable to all users. Issue the following command:
chmod a+rw /dev/IBMtapex
416 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
To review the information about planning space for the server, see “Estimating
database and recovery log requirements” on page 366.
Procedure
1. Create a user ID and group that will be the owner of the Tivoli Storage
Manager server instance. You will use this user ID when you create the server
instance in a later step.
Restriction: In the user ID, only lowercase letters (a-z), numerals (0-9), and the
underscore character (_) can be used. The user ID and group name must
comply with the following rules:
v The length must be 8 characters or less.
v The user ID and group name cannot start with ibm, sql, sys, or a numeral.
v The user ID and group name cannot be user, admin, guest, public, local, or
any SQL reserved word.
For example, create user ID tsminst1 in group tsmsrvrs. The following
examples show how to create this user ID and group by using operating
system commands:
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
2. Log out and log in to your system again by using the new user ID and
password. Use an interactive login program, such as telnet, so that you are
prompted for the password and can change it if necessary.
3. If a configuration profile does not exist for the user ID, create the file. For
example, create a .profile file if you are using the Korn shell (ksh).
4. Ensure that you are logged in with the user ID that you created. Then, create
the directories that the server requires.
Unique, empty directories are required for each item that is shown in the
following table. Create the database directories, the active log directory, and the
archive log directory on different physical volumes. For space requirements, see
“Worksheet for planning space for the V7.1 server” on page 42.
Table 65. Worksheet for creating required directories
Example commands for
Item creating the directories Your directories
The instance directory mkdir /home/user_ID/tsminst1
for the server, which will
contain files for this
server instance, including
the server options file
The database directories mkdir /home/user_ID/tsmdb001
mkdir /home/user_ID/tsmdb002
mkdir /home/user_ID/tsmdb003
mkdir /home/user_ID/tsmdb004
Chapter 15. Migrating the server database to the V7.1 server 417
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
5. Create more logical volumes and mount the volumes on the directories that
were created in the previous step.
Procedure
1. Log in to the system where you installed the V7.1 program by using the root
user ID.
Verify the following items:
v The home directory for the user, /home/tsminst1, exists. If there is
no home directory, you must create it.
v The instance directory stores the following core files that are
generated by the Tivoli Storage Manager server:
– The server options file, dsmserv.opt
– The server key database file, cert.kdb, and the .arm files, which
are used by clients and other servers to import the Secure
Sockets Layer certificates of the server
– The device configuration file, if the DEVCONFIG server option does
not specify a fully qualified name
– The volume history file, if the VOLUMEHISTORY server option does
not specify a fully qualified name
– Volumes for storage pools of the FILE device type, if the
directory for the device class is not fully specified, or not fully
qualified
– User exits
– Trace output, if it is not fully qualified
v A shell configuration file, for example, a .profile file, exists in the
home directory. The root user and instance user ID must have write
permission to this file. For more information about the shell
418 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
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
Remember: From this point on, use this new user ID when you configure the
Tivoli Storage Manager server. Log out of the root user ID, and log in by
using the user ID that is the instance owner.
3. Log in to the system by using the user ID that owns the V7.1 server instance
(the instance user ID).
4. Copy the server options file from the V5 server to the instance directory that
you created for the V7.1 server. The server options file is typically named
dsmserv.opt. For example, if you created the instance directory that is shown
in the example for creating directories, copy the file into the following
directory:
/tsminst1
Ensure that the instance user ID has ownership of or read/write permission
for the server options file.
5. Edit the server options file.
a. Remove any options that are not supported for V7.1. For the list of deleted
options, see Table 29 on page 67.
b. Verify that the server options file contains at least one VOLUMEHISTORY
option and at least one DEVCONFIG option. By specifying these options, you
ensure that a volume history file and a device configuration file are
generated and updated automatically. If you must restore the database,
these files are required.
c. Verify that the server options file includes the TXNGROUPMAX option with a
value, and if it does, what the value is. You might want to change the
current value because the default value for this option changed from 256
to 4096, starting in V6. The increased value can improve the performance
for data movement operations such as storage pool migration and storage
pool backup.
v If the server options file does not include this option, the server
automatically uses the new default value, 4096.
v If the specified value is less than 4096, consider increasing the value, or
removing the option so that, when the server is restarted, the new
default value is applied.
6. Change the default path for the database to be the same as the instance
directory for the server. Issue the command:
db2 update dbm cfg using dftdbpath instance_directory
For example:
db2 update dbm cfg using dftdbpath /tsminst1
Chapter 15. Migrating the server database to the V7.1 server 419
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
7. Modify the library path to use the version of the IBM Global Security Kit
(GSKit) that is installed with the Tivoli Storage Manager server.
You must update the following files to set the library path when DB2 or the
Tivoli Storage Manager server is started:
v instance_directory/sqllib/usercshrc
v instance_directory/sqllib/userprofile
For the instance_directory/sqllib/usercshrc file, add the following line:
setenv LD_LIBRARY_PATH /usr/local/ibm/gsk8_64/lib64:$LD_LIBRARY_PATH
Verify the library path settings and ensure that the GSKit version is 8.0.14.14
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.14 or later, you must reinstall the Tivoli
Storage Manager server. The reinstallation ensures that the correct GSKit
version is available.
8. Change to the instance directory that you created for the server.
9. Create and format the database and recovery logs by using the DSMSERV
LOADFORMAT command. In the command, specify the directories that you
created for the database and logs. The directories must be empty.
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
Appendix B, “Utilities, scripts, and commands for server upgrade and
migration,” on page 521.
10. Monitor the process for errors and warning messages. The final message
indicates the success or failure of the operation.
Ensure that the Tivoli Storage Manager V5 server and V7.1 server are not running.
Procedure
To move the server database over a network, complete the following steps:
1. Verify that there is a good network connection between the two systems.
420 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
2. Start the insertion process on the V7.1 server to accept the database. Use the
DSMSERV INSERTDB command. To monitor the process, direct the output of the
process to a file. For example, to start the server, allow the default time of 60
minutes for the V5 server to contact the V7.1 server, and direct the process
output to the insert.out file, use this command:
nohup /opt/tivoli/tsm/server/bin/dsmserv insertdb \
sesswait=60 >insert.out 2>&1 &
For more information about inserting data, see Appendix B, “Utilities, scripts,
and commands for server upgrade and migration,” on page 521.
Issue the following command to monitor the process output in the insert.out
file:
tail -f insert.out
4. Start the data extraction from the original server by using the DSMUPGRD
EXTRACTDB command. Issue the command from the V5 server directory. Specify
the TCP/IP address and port for the V7.1 server. Direct the output of the
process to a file for monitoring. For example, enter the following command on
one line:
AIX
HPUX Solaris
The length of time that the process runs depends on the size of the database,
the hardware, and the network.
6. Examine the process outputs for the extraction and insertion processes to find
the messages that indicate the success or failure of the operations.
Chapter 15. Migrating the server database to the V7.1 server 421
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Starting with Tivoli Storage Manager V7.1, it is no longer necessary to set the API
password during a manual configuration of the server. If you set the API password
during the manual configuration process, attempts to back up the database might
fail.
Complete the following steps before you issue either the BACKUP DB or the RESTORE
DB command.
Attention: If the database is unusable, the entire Tivoli Storage Manager server is
unavailable. If a database is lost and cannot be recovered, it might be difficult or
impossible to recover data that was managed by that server. Therefore, it is
critically important to back up the database.
In the following commands, replace the example values with your actual values.
The examples use tsminst1 for the server instance user ID, /tsminst1 for the Tivoli
Storage Manager server instance directory, and /home/tsminst1 as the home
directory of the server instance user.
Procedure
1. Set the Tivoli Storage Manager API environment-variable configuration for the
database instance:
a. Log in by using the tsminst1 user ID.
b. When user tsminst1 is logged in, ensure that the DB2 environment is
correctly initialized. The DB2 environment is initialized by running the
/home/tsminst1/sqllib/db2profile script, which normally runs
automatically from the profile of the user ID. Ensure that the .profile file
exists in the home directory of the instance user, for example,
/home/tsminst1/.profile. If .profile does not run the db2profile script,
add the following lines:
if [ -f /home/tsminst1/sqllib/db2profile ]; then
. /home/tsminst1/sqllib/db2profile
fi
c. In the instance_directory/sqllib/userprofile file, add the following lines:
DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
DSMI_DIR=server_bin_directory/dbbkapi
DSMI_LOG=server_instance_directory
export DSMI_CONFIG DSMI_DIR DSMI_LOG
d. In the instance_directory/sqllib/usercshrc file, add the following lines:
setenv DSMI_CONFIG=server_instance_directory/tsmdbmgr.opt
setenv DSMI_DIR=server_bin_directory/dbbkapi
setenv DSMI_LOG=server_instance_directory
422 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Ensure that you enter a space after the initial dot (.) character.
3. Create a file that is named tsmdbmgr.opt in the server instance directory, which
is in the /tsminst1 directory in this example, and add the following line:
SERVERNAME TSMDBMGR_TSMINST1
The value for SERVERNAME must be consistent in the tsmdbmgr.opt and dsm.sys
files.
4. Locate the Tivoli Storage Manager API dsm.sys configuration file. By default,
the dsm.sys file is in the following location:
server_bin_directory/dbbkapi/dsm.sys
5. As root user, add the following lines to the dsm.sys configuration file:
servername TSMDBMGR_TSMINST1
commmethod tcpip
tcpserveraddr localhost
tcpport 1500
errorlogname /tsminst1
nodename $$_TSMDBMGR_$$
where
v servername matches the servername value in the tsmdbmgr.opt file.
v commmethod specifies the client API that is used to contact the server for
database backup. This value can be tcpip or sharedmem. For more
information about shared memory, see Step 6.
v tcpserveraddr specifies the server address that the client API uses to contact
the server for database backup. To ensure that the database can be backed
up, this value must be localhost.
v tcpport specifies the port number that the client API uses to contact the
server for database backup. Ensure that you enter the same tcpport value
that is specified in the dsmserv.opt server options file.
v errorlogname specifies the error log where the client API logs errors that are
encountered during a database backup. This log is typically in the server
instance directory. However, this log can be placed in any location where the
instance user ID has write-permission.
v nodename specifies the node name that the client API uses to connect to the
server during a database backup. To ensure that the database can be backed
up, this value must be $$_TSMDBMGR_$$.
Do not add the PASSWORDACCESS generate option to the dsm.sys configuration
file. This option can cause the database backup to fail.
6. Optional: Configure the server to back up the database by using shared
memory. In this way, you might be able to reduce the processor load and
improve throughput. Complete the following steps:
a. Review the dsmserv.opt file. If the following lines are not in the file, add
them:
commmethod sharedmem
shmport port_number
Chapter 15. Migrating the server database to the V7.1 server 423
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
commmethod tcpip
tcpserveraddr localhost
tcpport port_number
424 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 16. Taking the first steps after migration
Verify that the server was migrated and can operate normally. The steps include
starting the server, registering licenses, and backing up the database. After you
complete those steps, you can begin operations and monitor the migrated server.
Procedure
What to do next
After you migrate the server to V7.1, you can authenticate passwords with the
LDAP directory server, or authenticate passwords with the Tivoli Storage Manager
server. Passwords that are authenticated with the LDAP directory server can
provide enhanced system security. For details, see the section about managing
passwords and logon procedures in the Administrator's Guide.
Table and index reorganization requires significant processor resources, active log
space, and archive log space. Because database backup takes precedence over
reorganization, select the time and duration for reorganization to ensure that the
processes do not overlap and reorganization can be completed. For more
information about scheduling reorganization, see the Administrator's Guide.
Procedure
1. Modify the server options.
Edit the server options file, dsmserv.opt, in the server instance directory. Follow
these guidelines when you edit the server options file:
v To activate an option, remove the asterisk at the beginning of the line.
v Begin entering an option on any line.
v Enter only one option per line. The entire option with its value must be on
one line.
v If you have multiple entries for an option in the file, the server uses the last
entry.
v To view available server options, see the sample file, dsmserv.opt.smp, in the
/opt/tivoli/tsm/server/bin directory.
2. If you plan to use data deduplication, enable the ALLOWREORGINDEX server
option. Add the following option and value to the server options file:
allowreorgindex yes
3. Set two server options that control when reorganization starts and how long it
runs. Select a time and duration so that reorganization runs when you expect
that the server is least busy. These server options control both table and index
reorganization processes.
a. Set the time for reorganization to start by using the REORGBEGINTIME server
option. Specify the time by using the 24-hour system. For example, to set
the start time for reorganization as 8:30 p.m., specify the following option
and value in the server options file:
reorgbegintime 20:30
b. Set the interval during which the server can start reorganization. For
example, to specify that the server can start reorganization for four hours
after the time set by the REORGBEGINTIME server option, specify the following
option and value in the server options file:
reorgduration 4
4. Optionally, enable the SAN discovery function:
sandiscovery on
Tip: By using SAN discovery, the server can automatically correct the special
file name for a device if it was changed for a specified tape device.
Procedure
To start the server, follow the instructions for Linux operating systems in “Starting
the server on AIX, HP-UX, Linux, and Oracle Solaris systems” on page 325.
Procedure
1. Monitor the messages that the server issues as it starts. Watch for error and
warning messages.
2. Verify the following items:
426 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
a. Ensure that the storage devices of the original server are accessible to the
upgraded server.
b. Compare the device names on the new system with the names for the
devices on the original system. Update definitions for the devices on the
server if needed. For example, update path definitions. For instructions, see
“Updating device path information” on page 428.
c. Update the network address that is used by backup-archive clients, storage
agents, library client servers, and other servers for communicating with the
upgraded server.
Optionally, instead of making these updates, consider whether you can use
the network address of the original system as the address of the new
system. You might also be able to update domain name service (DNS) to
point to the new system instead of the original system. Consult your
network administrator.
3. Verify that you can connect to the server by using an administrative client as
you did for the earlier version of the server.
4. Run commands to get a summary of information in the database. Compare the
summary with the results for the same commands before the database
migration.
Tip: For more information about the commands that are run before a database
migration, see “Creating a summary of database contents” on page 377.
5. Perform backups for typical client nodes and verify that the backups work as
expected.
6. Verify that operations such as LAN-free data movement and library sharing
work correctly.
What to do next
If the server is operating as expected and you must not revert to the previous
version, return any settings that you changed to prepare for the migration back to
the original values.
Registering licenses
Immediately register any Tivoli Storage Manager licensed functions that you
purchased so that you do not lose data after you begin to use the server.
Procedure
Register the licenses for the Tivoli Storage Manager server components that are
installed on your system by issuing the REGISTER LICENSE command:
register license file=installation_directory/server/bin/component_name.lic
For example, if you installed the server in the default directory, /opt/tivoli/tsm,
register the license by issuing the following command:
register license file=/opt/tivoli/tsm/server/bin/tsmbasic.lic
For example, if you installed Tivoli Storage Manager Extended Edition in the
/opt/tivoli/tsm directory, issue the following command:
register license file=/opt/tivoli/tsm/server/bin/tsmee.lic
Restriction: You cannot register licenses for Tivoli Storage Manager for Mail, Tivoli
Storage Manager for Databases, Tivoli Storage Manager for ERP, and Tivoli Storage
Manager for Space Management.
For instructions to update device path information, see the UPDATE PATH command
in the Administrator's Reference.
If the SANDISCOVERY server option is set to ON, device path information for drives
and libraries should be updated automatically when the V7.1 server is started.
Procedure
1. Complete the following steps:
a. If you did not use the instance configuration wizard to configure the server,
ensure that you have completed the steps to manually configure the system
for database backups.
b. If you used the media method for upgrade and used a tape device, remove
or check out from the library the tape that was used to hold the extracted
data. Prevent the tape from being reused until you are sure that the V7.1
server is operating correctly and you do not need to repeat the database
insertion step.
2. Select the device class to be used for automatic backups of the database. From
the Tivoli Storage Manager administrative command line, issue the following
command:
set dbrecovery device_class_name
428 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
where device_class_name is the name of the device class. You can specify the
device class to be the same as or different from the device class that you
specified with the SET DBRECOVERY command. If the device class is different, you
receive a warning message, but the backup operation continues.
For more information about backing up the database, see the BACKUP DB
command in the Administrator's Reference.
4. Back up the volume history by issuing the following command:
backup volhistory filenames=file_name
where file_name is the name of the file where volume history information will
be stored.
For more information about backing up volume history, see the BACKUP
VOLHISTORY command in the Administrator's Reference.
Changing the host name for the Tivoli Storage Manager server
If you must change the host name of the Tivoli Storage Manager V7.1 server,
ensure that you also update the database configuration. If you fail to update the
database configuration, the Tivoli Storage Manager server might not start.
Procedure
This command shows all configuration settings that are used by the database.
5. In the instance directory/sqllib directory, locate the db2nodes.cfg file. The
file contains an entry that shows the previous host name, for example:
0 tsmmon TSMMON 0
a. Update the entry with the new host name. The entry is similar to the
following entry:
0 tsmnew newhostname 0
b. Save and close the changed file.
Set the tcpserveraddress option for all Tivoli Storage Manager clients that access
the migrated server, and for all servers that communicate with the migrated server.
The tcpserveraddress option must be set to the TCP/IP address of the migrated
Tivoli Storage Manager server.
For instructions, see the Backup-Archive Clients Installation and User's Guide.
Procedure
In the following three substeps, you are required to define the V7.1 server
for the library manager server and delete the V5 server definition. As a
result, you will not be able to revert to the V5 system.
b. On the library client server, define the V7.1 server for the library manager
server. For example, to define a server with an IP address of 9.230.99.66 and
a low-level address of 1500, issue the following command:
define server new_server_name serverpass=new_server_pass
hla=9.230.99.66_address lla=1500
430 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
Procedure
1. If you are moving data to a FILE device, define a FILE device class by using
the Tivoli Storage Manager administrative command DEFINE DEVCLASS. For
example, to define a device class named FILECLASS with a FILE device type and
a maximum capacity of 50 MB, issue the following command:
define devclass fileclass devtype=file maxcapacity=50m
For more information about the DEFINE DEVCLASS command and other Tivoli
Storage Manager administrative commands, see the Administrator's Reference.
2. Define a storage pool by using the Tivoli Storage Manager administrative
command DEFINE STGPOOL.
v For example, if you are moving data to a DISK device, to define a primary
storage pool named BACKUPPOOL, issue the following command:
define stgpool backuppool disk cache=yes nextstgpool=prog2
In this example, PROG3 is specified as the primary storage pool to which files
are migrated.
3. Define a volume by using the administrative command DEFINE VOLUME. For
example, to define a volume of 4 MB named /home/tsminst1/jamesvol.dsm in a
storage pool named BACKUPPOOL, issue the following command:
define volume backuppool /home/tsminst1/jamesvol.dsm formatsize=4
4. To migrate data from tape to a DISK device, use the Tivoli Storage Manager
administrative commands MOVE DATA or MOVE NODEDATA, depending on where
the data is stored and how you want to move it. For example, to move files
from a storage pool volume named STGVOL.1 to storage pool BACKUPPOOL, issue
the following command:
move data stgvol.1 stgpool=backuppool
5. To migrate data from tape to a FILE device, use the Tivoli Storage Manager
administrative commands UPDATE STGPOOL and MIGRATE STGPOOL. For example,
to migrate data from the storage pool named LTOPOOL to the FILEPOOL storage
pool, issue the following commands:
update stgpool ltopool nextstgpool=filepool highmig=100
migrate stgpool ltopool lowmig=0
Procedure
1. Delete the backup set entries from the server database by issuing the Tivoli
Storage Manager administrative command DELETE BACKUPSET. For example, to
delete a backup set entry named PERS_DATA.3099, issue the following command:
delete backupset pers_data.3099
For more information about the DELETE BACKUPSET command and other Tivoli
Storage Manager administrative commands, see the Administrator's Reference.
2. Re-create a backup set by issuing the Tivoli Storage Manager administrative
command DEFINE BACKUPSET. For example, to define the PERS_DATA backup
set that belongs to client node JANE, issue the following command:
define backupset jane pers_data devclass=agadm
volumes=vol1,vol2 retention=50
description="sector 7 base image"
432 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on AIX, HP-UX, or Solaris systems to V7.1 on Linux
In this example, volumes VOL001 and VOL002 contain the data for the backup
set. The backup set is retained on the server for 50 days. The volumes are to be
read by a device that is assigned to the AGADM device class. A description,
sector 7 base image, is included.
Updating automation
After you migrate the data, you might need to modify administrative schedules
that were defined in V5 because of changes in command syntax. Implement and
verify changes to any automation or scripts that were identified as requiring
modification in the planning process.
Important: Ensure that automation includes a backup of the database. Back up the
database at least once per day.
Procedure
To monitor the V7.1 server and make any required adjustments, complete the
following steps:
1. Monitor the active log to ensure that the size is correct for the workload that is
handled by the server instance.
When the server workload reaches its typical expected level, the space that is
used by the active log is 80% - 90% of the space that is available to the active
log directory. At that point, you might need to increase the amount of space.
Whether you must increase the space depends on the types of transactions in
the server workload. Transaction characteristics affect how the active log space
is used.
The following transaction characteristics can affect the space usage in the active
log:
v The number and size of files in backup operations
– Clients such as file servers that back up large numbers of small files can
cause large numbers of transactions that are completed quickly. The
transactions might use a large amount of space in the active log, but for a
short time.
– Clients such as a mail server or a database server that back up large
chunks of data in a few transactions can cause small numbers of
transactions that take a long time. The transactions might use a small
amount of space in the active log, but for a long time.
v Network connection types
– Backup operations that occur over fast network connections cause
transactions that are completed more quickly. The transactions use space
in the active log for a shorter time.
– Backup operations that occur over relatively slower connections cause
transactions that take a longer time to be completed. The transactions use
space in the active log for a longer time.
Remember: If the archive log becomes full, and the archive failover log
becomes full, the active log can become full, and the server stops. The goal is to
make enough space available to the archive log so that it never uses all
available space.
You are likely to notice the following pattern:
a. Initially, the archive log grows rapidly as typical client-backup operations
occur.
b. Database backups occur regularly, either as scheduled or done manually.
c. After full database backups occur, log pruning occurs automatically. The
space that is used by the archive log decreases when the pruning occurs.
d. Normal client operations continue, and the archive log grows again.
e. Database backups occur regularly, and log pruning occurs as often as full
database backups occur.
With this pattern, the archive log grows initially, decreases, and then might
grow again. Over time, as normal operations continue, the amount of space
that is used by the archive log should reach a relatively constant level.
If the archive log continues to grow, consider taking one or both of these
actions:
v Add space to the archive log. You might need to move the archive log to a
different file system.
For information about moving the archive log, see the Administrator's Guide.
v Increase the frequency of full database backups so that log pruning occurs
more frequently.
3. If you defined a directory for the archive failover log, determine whether any
logs are stored in that directory during normal operations. If the failover log
space is being used, consider increasing the size of the archive log. The goal is
to use the archive failover log only under unusual conditions, not in normal
operation.
434 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 17. Troubleshooting the migration of a V5 server from
AIX, HP-UX, or Solaris
In case you encounter issues during or after the migration, instructions are
available for reverting the server to its previous version.
Procedure
where copy_storage_pool is the name of the copy storage pool and reclaim_value
is the reclamation value that was used before the migration.
4. Start the V5 server by issuing the following administrative command:
./dsmserv
The process for migrating the Tivoli Storage Manager server from a z/OS
operating system to AIX or Linux on System z is similar to the upgrade process
from Tivoli Storage Manager V5 to V7.1 on the same operating system. For the
cross-platform migration, you must complete additional steps to ensure that data
on z/OS systems can be accessed from the Tivoli Storage Manager V7.1 server.
To plan and prepare for the migration process, complete the following steps:
1. Review information about the Tivoli Storage Manager for z/OS Media product.
For details, see the Tivoli Storage Manager for z/OS Media Installation and
Configuration Guide.
2. Review the migration scenarios: Scenarios for migrating a server from a z/OS
system to AIX or Linux on System z.
3. Familiarize yourself with the major phases in the migration process: “The
migration process” on page 443.
4. Read about the changes that can be expected in the system following the
migration: “Operational changes and requirements” on page 453.
5. Review the guidelines for planning the migration: Chapter 19, “Planning the
migration,” on page 455.
6. Select the migration method to use, and plan for the hardware, software, and
storage space requirements for your server and environment.
7. Complete the preparation steps: Chapter 20, “Preparing for the migration,” on
page 473.
With the media method, you extract data from the original database to media, and
then load the data into the new database. The following figure illustrates the
media method.
440 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
With the network method, you simultaneously extract data from the original
database and load the data into the new database. The following figure illustrates
the network method.
4. Install
Media.
Tivoli Storage Manager for z/OS
442 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Expert users might want to use a third option, the hybrid upgrade-migration
method, for migrating the server. The hybrid upgrade-migration method uses a
combination of export and import operations along with standard V7 upgrade
methods. For information about the hybrid upgrade-migration method, and for a
comparison of all three options, see “Comparison of database migration methods”
on page 452.
After completing the cross-platform migration steps, you have more flexibility in
terms of data storage. You can select from the following main options:
v You can continue to use the z/OS system for data storage. In this case, the data
is stored on tape volumes, and the contents are accessed by using FICON
attached storage devices.
v You can gradually move the data from the z/OS storage system, and use the
V7.1 system on AIX or Linux on System z for data storage.
Related concepts:
“Migration process overview” on page 444
“Key tasks in the migration process” on page 446
“Comparison of database migration methods” on page 452
The Tivoli Storage Manager for z/OS Media server gives the Tivoli Storage
Manager server access to sequential storage media on the z/OS system. The z/OS
media server manages the tape storage that was used by the Tivoli Storage
Manager V5 server on the z/OS system.
Only Tivoli Storage Manager V7.1 servers that are running on AIX or Linux on
System z operating systems can work with Tivoli Storage Manager for z/OS
Media.
For more information, go to the Tivoli Storage Manager V6.3 Information Center at
http://pic.dhe.ibm.com/infocenter/tsminfo/v6r3 and see the section about
integrating storage from Tivoli Storage Manager for z/OS Media.
Related concepts:
“Migration process overview” on page 444
zSeries
z/OS LPAR
Tivoli Storage
Manager
server
LAN
z/OS FICON
attachment
Tivoli Storage
Manager backup-
archive client
After you migrate your system to a V7.1 server on AIX, the Tivoli Storage Manager
V7.1 server uses Tivoli Storage Manager for z/OS Media to access z/OS storage
media.
The following figure illustrates the system after migration to a V7.1 server on AIX.
444 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Tivoli Storage
Manager
server
Media
server
DB2
z/OS FICON
attachment
Tivoli Storage
Manager
backup-archive
client
After you migrate your system to a V7.1 server on Linux on System z, the Tivoli
Storage Manager V7.1 server uses Tivoli Storage Manager for z/OS Media to
access z/OS storage media.
The following figure illustrates the system after the migration to a V7.1 server on
Linux on System z.
zSeries
Hipersocket
Tivoli Storage
Manager
server
Media
server
DB2
z/OS FICON
attachment
Tivoli Storage
Manager
backup-archive
client
Related concepts:
“Key tasks in the migration process”
“Device migration” on page 448
“Comparison of database migration methods” on page 452
446 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Many of the utilities and commands that are used for server upgrade are also used
for server migration. For more information, see Appendix B, “Utilities, scripts, and
commands for server upgrade and migration,” on page 521.
Related reference:
“ZMSPREPARE (Prepare a server on a z/OS system for migration)” on page 541
Related information:
DSMUPGRD EXTRACTDB
DSMUPGRD PREPAREDB (Prepare a server database for upgrade)
Device migration
You must migrate devices to ensure that the Tivoli Storage Manager V7.1 server
running on AIX or Linux on System z can access files stored on a z/OS system. An
overview of device migration is provided.
The process for device migration varies, depending on the device type and the
type of data that is stored:
v Migrate tape devices by using utilities.
v Migrate data that is stored on disks and data that is written to FILE device
classes by completing manual steps. The manual steps include backing up data
and deleting the volumes and pools that are no longer required.
Ensure that you have tape volumes available for backing up data that is stored by
using DISK or FILE devices:
v At a minimum, tape volumes must be available for backing up the primary
storage pool.
v To optimize the process, create a second, onsite backup of the primary storage
pool. By creating one backup storage pool offsite and another onsite, you fulfill
disaster recovery requirements for offsite storage. At the same time, volumes
from the second pool are available onsite to restore data immediately after
migration.
After the disk primary storage pool volumes are backed up, mark them as
destroyed. By taking this step, you will make it possible to implement backup and
restore procedures that minimize migration time. In addition, it will be easier to
revert to the V5 system if necessary.
For copy storage pools and active-data storage pools that are written to FILE
device classes, you will back up or reassign the data to new storage pools. Then,
you will delete the data on disks.
For non-storage pool data that is written to FILE device classes, you will remove
the following types of data: database backups, database snapshots, database
memory dumps, recovery plan files, export volumes, and backup sets. You will not
remove sequential storage pool volumes.
As part of the migration process, the DSMSERV INSERTDB utility converts z/OS
device classes into AIX or Linux on System z device classes. The conversion of
device classes takes place in the following way:
v The DISK device class is mapped to the predefined DISK device class for the
AIX or Linux on System z server.
v All device classes with the device type SERVER are converted to the AIX or
Linux on System z equivalent.
v FILE device class attributes that are specific to the z/OS operating system are
discarded during migration because the newly installed z/OS media server does
not support the previously used FILE device type. Instead, new FILE device
classes must be defined after the migration to use sequential FILE storage via
the z/OS media server.
448 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
v Tape and FILE device classes are set up to use the z/OS media server in the
following way:
– Tape device classes that are not configured for LAN-free access are updated
to use the z/OS media server. The DSMSERV INSERTDB utility defines a new
library and path for each device class, and sets up the libraries to access the
z/OS media server.
– Tape device classes that are configured for LAN-free access do not remain
configured for LAN-free access. These tape device classes all have shared or
external libraries that are associated with them. The libraries are deleted and
replaced with libraries and paths that support access through the z/OS media
server. After the migration, tape device classes that were configured for
LAN-free access use the z/OS media server to communicate by using a LAN.
The Tivoli Storage Manager storage agent facilitates this communication.
– Device class attributes that are common across z/OS, AIX, and Linux on
System z platforms are preserved.
– Device class attributes that are used only for z/OS are carried over into new
device class attributes used by the z/OS media server.
– Device class attributes that are used on AIX and Linux on System z systems,
but that did not exist on the z/OS system, are set to usable default values.
After the migration, Tivoli Storage Manager for z/OS Media takes over the
management of tape data that was stored on the V5 server running on z/OS. For
this reason, you must install Tivoli Storage Manager for z/OS Media on the V5
server during the preparation phase. In addition, you must use the DEFINE SERVER
command to define a new server on the V5 server to correspond to the z/OS
media server. The new server is used during the migration phase to access
upgrade media. After the migration is complete, the server is used to access client
data stored on tape.
The following graphic illustrates how Tivoli Storage Manager uses the z/OS media
server to access z/OS storage media.
AIX or z/OS
Linux on System z
Tivoli Storage
Manager server Media
server
DB2
FICON
Fibre Channel Protocol attachment
attachment
The DSMSERV INSERTDB utility changes the status of all tape volumes whose status is
FILLING to FULL. This change is required because the z/OS media server cannot
append to tape volumes that were originally written by Tivoli Storage Manager
running on z/OS.
Backup sets
Review the backup set information to understand which backup sets defined on
the V5 server before the migration are usable after the migration.
Backup sets that use FILE device classes are not migrated. Backup sets that use
FILE device classes cannot be regenerated, moved, or accessed after the migration.
During the migration process, you can use the ZMSPREPARE command to generate a
list of backup sets that use FILE device classes. After that, you can use the DELETE
BACKUPSET command to delete each backup set that uses a FILE device class.
Related reference:
“ZMSPREPARE (Prepare a server on a z/OS system for migration)” on page 541
450 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
LAN-free data movement to and from z/OS storage devices is not possible.
Instead, the storage agent that is installed on the Tivoli Storage Manager client
communicates with the z/OS media server by using a LAN. Client data can be
read or written by using z/OS media server file or tape storage without the data
passing through the Tivoli Storage Manager server. The following figure illustrates
the communication channels.
Tivoli Storage
Manager
backup- z/OS
archive client media
DB2 server
Storage
agent
Tivoli Storage
Manager server
Client data
Metadata
FICON
LAN
Client data
Tape library
z/OS FICON
SAN channel-attached
tape drives
Figure 19. Storage agent communicating with the z/OS media server by using a LAN
Requirement: To connect to a V7.1 server in a system that uses the z/OS media
server, storage agents must be at V7.1. If you have storage agents at earlier
versions, upgrade them to V7.1 as part of the migration process.
For more information about data movement in a z/OS media server environment,
see the Storage Agent User's Guide.
Protection for client data and the server during the process
To protect client data and the server, ensure that you back up storage pools and
the server database before starting the migration process. You will need these files
if you must revert to the previous Tivoli Storage Manager version.
The server migration instructions provide detailed information about the backup
tasks that must be completed. The two main backup tasks are listed here:
v “Backing up configuration information” on page 474
v “Backing up the server database” on page 488
Tip: When you back up the database, make two copies to protect the backup from
media failures. Ensure that at least one full database backup is available onsite. If
you must restore the database after a failed upgrade, having an onsite backup
saves time.
For more information about protecting the database, see “Database protection and
recovery” on page 5.
Important: Do not uninstall the V5 server on the z/OS system until you verify
that the migration to V7.1 was successful.
The standard way to migrate the database is to use the media method or the
network method:
Media method
You must extract data from the original database to media, and later load
the data into the new database.
Use this method if you cannot connect the V5 system and the V7.1 system
by using a high speed network.
Network method
You must simultaneously extract data from the original database and load
the data into the new database.
Use this method if your system requires maximum performance from the
upgrade utility, and the systems are connected by a high speed network.
With either method, the original server cannot be running while the data is being
extracted. You can expect the Tivoli Storage Manager server to be unavailable for
hours or days. The downtime depends on several factors, including the size of the
database and the performance of the disk system that contains the previous
database and new database.
452 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Before you decide to employ the hybrid upgrade-migration method, estimate the
time that it takes to migrate the data by using one of the standard methods versus
the hybrid method. The standard method applicable to your situation might take
less time than the hybrid upgrade-migration method.
For a general description of the hybrid upgrade-migration method, see the white
paper in the Tivoli Storage Manager wiki at https://www.ibm.com/
developerworks/community/wikis/home/wiki/Tivoli Storage
Manager/page/Tivoli Storage Manager Version 6 Hybrid Upgrade Migration
Method.
Related concepts:
“Scenarios for migrating a server from a z/OS system to AIX or Linux on System
z” on page 439
For a list of ANZ messages, see the section that describes Tivoli Storage Manager
for z/OS Media messages in the Tivoli Storage Manager V6.3 Information Center
at http://pic.dhe.ibm.com/infocenter/tsminfo/v6r3.
Performance considerations
Migration to the Tivoli Storage Manager V7.1 server running on AIX or Linux on
System z can result in different network throughput requirements as compared to
the V5 system on z/OS. After the migration, you might see an increase in the
amount of data transferred over networks connected to the Tivoli Storage Manager
server. To optimize server performance, review the guidelines in this section and
plan the migration accordingly.
Before setting up a network connection between the Tivoli Storage Manager server
and the z/OS media server, consider the following points:
v For client connections used to back up, archive, restore, and retrieve data, the
V7.1 server generally requires the same network bandwidth as the V5 server
running on a z/OS system. This is based on the assumption that the migrated
V7.1 server protects the same clients as the V5 system.
v More network bandwidth is required for operations that store or retrieve data
by using the z/OS media server than for operations that use a local disk or tape.
v To optimize performance, use dedicated networks for connections between the
V7.1 server and the z/OS media server. Use technologies that optimize network
performance and efficiency, such as jumbo frames and HiperSockets™.
HiperSockets can be used for connections between Linux and z/OS logical
partitions located on the same System z central processor complex.
v To increase the network bandwidth between the V7.1 server and the z/OS media
server, consider setting up multiple interfaces specified on a single server
definition. You can use a comma-delimited expression for the TCP/IP address,
as in this example:
define server ...
hladdress=10.10.48.1,10.10.56.1
lladdress=1500...
If this method is used, data can be stored or retrieved by using any available
network interface. You are not required to distribute storage requirements over
several device classes. This method increases the available network bandwidth
and supports network connection failover and load balancing.
v To optimize network performance when using the z/OS media server, ensure
that both the z/OS and the Tivoli Storage Manager server systems can use a
large TCP/IP window size. On z/OS, this means that the TCPIP.PROFILE
TCPCONFIG statement includes the TCPMAXRCVBUFRSIZE parameter, which is set to
the default value of 256 K or greater. On AIX, this means that the network
tuning parameter rfc1323 is set to 1, which is not the default value. On Linux,
this means that the kernel parameter net.ipv4.tcp_window_scaling is set to the
default value of 1.
v To reduce network bandwidth requirements, store backup and archive data to a
V7.1 server local disk pool. Then use storage pool backup and storage pool
migration to copy and move the data to z/OS media server tape storage. This
method requires less network bandwidth than backing up or archiving the data
directly to the z/OS media server FILE device class storage, and then moving
the data to z/OS tape storage.
v If you store the data by using the z/OS media server, the single-session backup
throughput might be 80% of the throughput expected when storing the data by
using local storage devices. For example, assume that the throughput for
backing up a large amount of data is 30 MB per second for a V5 server running
on a z/OS system. Following the migration to the V7.1 server running on AIX or
Linux on System z with a z/OS media server, the throughput might be reduced
to 80%, or 24 MB per second.
v Consider using the Tivoli Storage Manager storage agent installed on the client
system with the LAN-free communication method to back up or archive data to
the z/OS media server directly. This method might reduce the network
bandwidth requirements on the V7.1 server and increase backup throughput.
454 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 19. Planning the migration
Planning for the migration to Tivoli Storage Manager V7.1 is important because, in
addition to installing the new software, you must move the contents of the V5
server database into the V7.1 server database.
When you move data from a V5 server database to a V7.1 database, a large
amount of system processing capacity is used. The move also requires a large
amount of I/O activity.
Testing also gives you more information about the size of the new database
compared to the original, giving you more precise information about database
storage needs.
If you have multiple servers, consider migrating one server first, to determine how
the migration process will work for your data. Use the results of the first migration
process to plan for migrating the remaining servers.
During the migration process, you must upgrade the V5 server on z/OS to V5.5.6
or later. Follow the guidelines in “Determining the appropriate level for a V5
server before an upgrade” on page 36. Tivoli Storage Manager V5.5 servers on
z/OS are supported at z/OS V1R7, z/OS V1R8, or later.
For information about hardware and software requirements for a V7.1 server that
is running on AIX, see “Server requirements on AIX systems” on page 21.
For information about hardware and software requirements for a V7.1 server that
is running on Linux on System z, see “Server requirements for Linux on System z
systems” on page 29.
For the latest information about hardware and software requirements, see the
Tivoli Storage Manager Supported Operating Systems technote at
http://www.ibm.com/support/docview.wss?uid=swg21243309.
To install and use other products that use a DB2 product on the same system as
the Tivoli Storage Manager server, ensure that the following criteria are met:
Table 66. Compatibility of the Tivoli Storage Manager server with other DB2 products on the
system
Criterion Instructions
Version level The other products that use a DB2 product
must use DB2 version 9 or later. DB2
products include product encapsulation and
segregation support beginning with Version
9. Starting with this version, you can run
multiple copies of DB2 products, at different
code levels, on the same system. For details,
see the information about multiple DB2
copies: http://pic.dhe.ibm.com/infocenter/
db2luw/v10r5.
User IDs and directories Ensure that the user IDs, fence user IDs,
installation location, other directories, and
related information are not shared across
DB2 installations. Your specifications must
be different from the IDs and locations that
you used for the Tivoli Storage Manager
server installation and configuration. If you
used the dsmicfgx wizard or dsmupgdx
wizard to configure Version 7.1, or upgrade
the server from Version 5.5, these are values
that you entered when running the wizard.
If you used the manual configuration for
Version 7.1 or upgrade from Version 5.5
procedures, review the procedures that you
used if necessary to recall the values that
were used for the server.
456 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Table 66. Compatibility of the Tivoli Storage Manager server with other DB2 products on the
system (continued)
Criterion Instructions
Resource allocation Consider the resources and capability of the
system compared to the requirements for
both the Tivoli Storage Manager server and
the other applications that use the DB2
product. To provide sufficient resources for
the other DB2 applications, you might have
to change the Tivoli Storage Manager server
settings so that the server uses less system
memory and resources. Similarly, if the
workloads for the other DB2 applications
compete with the Tivoli Storage Manager
server for processor or memory resources,
the performance of the server in handling
the expected client workload or other server
operations might be adversely affected.
Procedure
1. Estimate the space requirements for the V5 server system. For details, see
“Space requirements for the V5 server system” on page 37.
2. Estimate the space requirements for the V7.1 server system. For details, see
“Space requirements for the V7 server system” on page 38.
3. Estimate the total space for the migration process and the V7.1 server. For
details, see “Estimating total space requirements for the upgrade process and
upgraded server” on page 39. If you are planning to migrate the data by using
the media method, review the information under Chapter 6, “Scenario 3: New
system, media method,” on page 177. If you are planning to migrate the data
by using the network method, review the information under Chapter 7,
“Scenario 4: New system, network method,” on page 225.
4. Optional: Use a worksheet to plan the amount and location of space for the
V7.1 server. For details, see “Worksheet for planning space for the V7.1 server”
on page 42.
Ensure that you have tape volumes available for backing up data that is stored by
using DISK or FILE devices:
v At a minimum, tape volumes must be available for backing up the primary
storage pool.
v To optimize the process, tape volumes should be available to create a second,
onsite backup of the primary storage pool. By creating one backup storage pool
offsite and another onsite, you fulfill disaster recovery requirements for offsite
storage. At the same time, volumes from the second pool are available onsite to
restore data immediately after migration.
As the first step in the preparation process, you will run the ZMSPREPARE command.
The ZMSPREPARE command will be used to identify all DISK and FILE device type
storage pools and the volumes and amount of data that must be backed up to
tape.
Procedure
1. Estimate the storage requirements for the new Tivoli Storage Manager V7.1
system. For instructions, see the section that describes estimating space needs
for sequential-access storage pools in the Administrator's Guide.
2. Plan the device requirements for the new Tivoli Storage Manager V7.1 system.
For instructions, see the section about configuring and managing storage
devices in the Administrator's Guide.
458 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Procedure
When you estimate the time it might take to migrate the system, consider the data
that is available for upgrade operations from Tivoli Storage Manager V5 to V6 on
the same operating system. This information might help you estimate the time that
is required for a cross-platform migration.
Estimate the time that is required to migrate your system based on the amount of
data in the server database.
Results
Your estimate might be higher than the actual time that is required. Because of the
way that databases are structured, the amount of data that the extraction utility
extracts might be much less than the total amount of space that is used by the
database.
What to do next
Test migration operations for Tivoli Storage Manager servers that are used by
essential systems.
Procedure
1. To obtain details about the V5 database, issue a command.
v If the V5 server is running, issue the command:
query db format=detailed
v If the V5 server is not running, use the upgrade utility:
dsmupgrd querydb
Here is an example of the output obtained when the server is running, and the
query db format=detailed command is issued:
Available Space (MB): 39,960
Assigned Capacity (MB): 37,992
Maximum Extension (MB): 1,968
Maximum Reduction (MB): 8,360
Page Size (bytes): 4,096
Total Usable Pages: 9,725,952
Used Pages: 7,584,387
Pct Util: 78.0
Max. Pct Util: 78.0
Physical Volumes: 10
Buffer Pool Pages: 8,192
Total Buffer Requests: 180,003
Cache Hit Pct.: 99.81
Cache Wait Pct.: 0.00
Backup in Progress?: No
Type of Backup In Progress:
Incrementals Since Last Full: 0
Changed Since Last Backup (MB): 67.63
Percentage Changed: 0.23
Last Complete Backup Date/Time: 05/18/11 23:16:26
Estimate of Recoverable Space (MB):
Last Estimate of Recoverable Space (MB):
Here is an example of the output obtained when the server is not running, and
the dsmupgrd querydb utility is run:
Available Space (MB): 39,960
Assigned Capacity (MB): 37,992
Maximum Extension (MB): 1,968
Maximum Reduction (MB): 8,360
Page Size (bytes): 4,096
Total Usable Pages: 9,725,952
Used Pages: 7,584,383
Pct Util: 78.0
Max. Pct Util: 78.0
Physical Volumes: 10
Buffer Pool Pages: 8,192
Total Buffer Requests: 179,946
Cache Hit Pct.: 99.81
Cache Wait Pct.: 0.00
Backup in Progress?: No
Type of Backup In Progress:
Incrementals Since Last Full: 0
Changed Since Last Backup (MB): 67.63
Percentage Changed: 0.23
Last Complete Backup Date/Time: 05/19/11 06:16:26
Estimate of Recoverable Space (MB):
Last Estimate of Recoverable Space (MB):
2. To calculate the amount of data in the database, use the results of the query
command. Multiply the number of used pages by the page size.
Using the results in the example, you can calculate the amount of data in this
database:
7,584,383 used pages × 4096 bytes/page = 31,065,632,768 bytes, or 28.9 GB
3. Estimate the time required for the upgrade operation by dividing the amount
of data by the expected rate.
For example, by using rates of 5 GB/hour and 10 GB/hour:
28.9 GB ÷ 5 GB/hour = 5.8 hours
28.9 GB ÷ 10 GB/hour = 2.9 hours
Related reference:
“DSMUPGRD QUERYDB (Display information about a V5 database)” on page 522
460 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
The speed of the extraction process is typically limited by the speed of I/O to the
destination for the extracted data. The length of time that the process runs also
depends on the size of the database. The time will be approximately as long as the
time required for a full backup of the database.
Do not reorganize the Tivoli Storage Manager V5 database before the migration.
The extraction process can achieve faster throughput when the source database
does not contain long sequences of pages that are allocated to a single database
table. This tip applies to both the media method and the network method.
The following performance tips depend on the method that you choose for moving
the data from the V5 database.
Media method
If you are using the media method, consider the following tips:
v If you are extracting the data to tape, use a high-speed tape device. For
example, select a device with a transfer rate of at least 1000 MB per
second.
v If both the V5 database and the destination for the extracted data are on
a virtualization device (high-end storage controller, or a SAN
virtualization device), ensure that the two virtual LUNs are not on the
same physical disk drive. Ensure that the space for the V5 database and
the destination for the extracted data are on different physical disk
drives within the virtualization device.
v If it is not possible to provide different LUNs for the V5 database and
the extraction destination, the extraction process will take more time.
The slower speed of extraction might be acceptable, depending on the
size of the database and your requirements for the migration.
Network method
If you are using the network method, consider the following tip:
v Use a high-speed link. If you are migrating a database that is larger than
2 - 3 GB, use at least a 1-gigabit (Gb) Ethernet network.
Related concepts:
“Comparison of database migration methods” on page 452
On a system that meets only the minimum requirements, the insertion process will
run, but performance might be slow. For better performance, set up the system as
described in the following tips:
Processors
The insertion process is designed to use multiple processors or cores. The
insertion process typically performs better on a system with a relatively
small number of fast processors. If the system has many slow processors,
you might experience reduced performance levels.
Disk storage
The insertion process is designed to use high-bandwidth disk storage
subsystems. The speed of the process is dependent on the disk storage that
is used.
For best performance, use multiple LUNs that map to multiple
independent disks, or that map to redundant arrays of independent disks
(RAIDs) with a large stripe size (for example, 128 KB). Use a different file
system on each LUN.
The following table shows an example of good usage of LUNs.
Table 67. Example of LUN usage
LUN Usage
1 Active log
2 Archive log
3, 4, 5 Database directories
For information about storage-agent and library client compatibility with Tivoli
Storage Manager V7.1 servers, see Technote 1302789 (http://www.ibm.com/
support/docview.wss?uid=swg21302789).
Related tasks:
“Testing the upgrade process for a server” on page 47
Procedure
If you have storage agents at earlier versions, upgrade them to V7.1 before you
upgrade the server to V7.1. Verify that LAN-free data movement works as
expected before you upgrade the server.
For the most recent information about supported levels of storage agents, go to the
following website: http://www.ibm.com/support/docview.wss?uid=swg21302789
Related concepts:
“Effects of migration on storage agents” on page 451
462 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Procedure
Verify the operating procedures, scripts, and administrative schedules that you use
for server operations:
v Plan to back up the server database regularly by using administrative schedules,
a maintenance script, or your own scripts. Back up the server database at least
once per day. For best results, consider scheduling more frequent backups for
the V7.1 database than you did for the V5 database. To ensure that archive log
space is pruned, consider scheduling more full database backups and fewer
incremental backups.
Review information about how database backups are performed automatically
for the V7.1 server. For details, see the Administrator's Guide.
v Understand how database and recovery log space is used, and how monitoring
will change.
v Verify scripts and administrative schedules. The V7.1 server adds new
commands, changes some commands, and deletes some commands that are no
longer needed. These changes will affect your automated operations. For
information about new and changed commands, see “Command and option
changes” on page 51.
v Verify the SELECT commands that you use regularly. Some parameters and
syntax that were previously allowed are not accepted by the database manager
program. For information about SELECT command updates, see “Changes to the
SELECT command” on page 68. To resolve problems that are related to SELECT
commands, see Technote 1380830 (http://www.ibm.com/support/
docview.wss?uid=swg21380830).
v If you use products from independent software vendors to interface with the
server, ensure that the products are compatible with the V7.1 server.
For more information about the available utilities, scripts, and commands, see
Appendix B, “Utilities, scripts, and commands for server upgrade and migration,”
on page 521.
The following tables describe how each z/OS device type is mapped to its
equivalent on an AIX or Linux on System z system.
Table 68. 3590 device class attributes
Used on AIX and
Attribute Used on z/OS Linux on System z Notes
DEVTYPE Yes Yes The value is always
3590.
LIBRARY Yes (optional) Yes (required) The LIBRARY device
class is replaced with
a new library that
provides access
through the z/OS
media server. If no
library was specified
on the V5 system, a
new library is
defined to provide
access through the
z/OS media server.
ESTCAPACITY Yes Yes The value is
preserved.
MAXCAPACITY Yes No The value is
discarded.
FORMAT Yes Yes The value is
preserved.
PREFIX Yes Yes The value is
preserved.
MOUNTRETENTION Yes Yes The value is
preserved.
MOUNTWAIT Yes Yes The value is
preserved.
MOUNTLIMIT Yes Yes The value is
preserved.
COMPRESSION Yes New The value is
preserved.
EXPIRATION Yes New The value is
preserved.
RETENTION Yes New The value is
preserved.
PROTECTION Yes New The value is
preserved.
464 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
466 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
On the z/OS system, libraries and paths are used to enable LAN-free access of
media by using storage agents that run on AIX or Linux on System z systems.
Because LAN-free access is not supported for servers migrated from z/OS, all
libraries and paths are deleted during migration. Then, new libraries and paths are
created to allow access to media through the z/OS media server.
The DSMSERV INSERTDB utility defines new libraries and paths so that existing
device classes can use the z/OS media server. For each device class, one new
library is defined by using the same name as the device class:
DEFINE LIBRARY <devclass_name> LIBTYPE=ZOSMEDIA
468 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
470 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Related reference:
“Command and option changes” on page 51
472 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 20. Preparing for the migration
To prepare for the migration from IBM Tivoli Storage Manager V5 on z/OS to V7.1
on AIX or Linux on System z, you must complete several steps. Ensure that you
install and configure the V7.1 server and prepare the database of the V5 server for
migration.
Procedure
1. Verify that the system has the amount of space that was estimated in the
planning step. Use the planning work sheet that you filled in with your
information.
2. If you plan to extract the original server database to media for later insertion
into the new database, ensure that you have enough storage space. Storage
space is required for the database and the manifest file that the extraction
process creates.
a. Identify the device class to which you will extract the original database. The
definition must exist in the server database, not just in the device
configuration file.
The device class must be sequential, and the device class type must be tape.
Define a new device class if necessary.
b. Ensure that space or volumes are available in the selected device class. The
amount of space that you need is about the same as the current size of the
original database.
Ensure that the instance user ID that you create for the upgraded server has
access permission to the location of the extracted data.
c. Check that the access permissions are correct for the location that you plan
to specify for the manifest file.
The user ID that will run the database preparation and extraction utilities
(DSMUPGRD PREPAREDB and DSMUPGRD EXTRACTDB) must have write access to
this file.
When the data is later inserted into the V7.1 database, the instance user ID
that you use for the upgraded server must have access permission for the
manifest file.
The manifest file might be less than 1 KB. However, for a complex
configuration, it might exceed 1 KB.
Related tasks:
“Estimating database and recovery log requirements” on page 457
Procedure
1. Back up device configuration information to another directory by using the
following Tivoli Storage Manager administrative command:
backup devconfig filenames=file_name
You can obtain the installation package from the product DVD or from an IBM
download site such as Passport Advantage or the Tivoli Storage Manager support
site.
If you plan to download the files, set the system user limit for maximum file size
to unlimited to ensure that the files can be downloaded correctly.
1. To query the maximum file size value, issue the following command:
ulimit -Hf
2. If the system user limit for maximum file size is not set to unlimited, change it
to unlimited by following the instructions in the documentation for your
operating system.
By using the Tivoli Storage Manager installation software, you can install the
following Tivoli Storage Manager components:
474 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
v server
v server languages
v license
v devices
v Operations Center
v storage agent
Tip: The database (DB2) and the Global Security Kit are automatically installed
when you select the Tivoli Storage Manager server component.
For more information about storage agents, see the Storage Agent User's Guide.
Procedure
1. Log in to the system by using the root user ID.
2. If you are obtaining the package from an IBM download site, download the
appropriate package file from one of the following websites:
v For a new release, go to Passport Advantage at http://www.ibm.com/
software/lotus/passportadvantage/. Passport Advantage is the only
website from which you can download a licensed package file.
v For a maintenance fix, go to the Tivoli Storage Manager support site at
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager.
3. If you are downloading the package from one of the download sites, complete
the following steps:
a. Verify that you have enough space to store the installation files when they
are extracted from the product package. For space requirements, see the
download document for your product:
v Tivoli Storage Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035122
v Tivoli Storage Manager Extended Edition: http://www.ibm.com/
support/docview.wss?uid=swg24035635
v System Storage Archive Manager: http://www.ibm.com/support/
docview.wss?uid=swg24035637
b. Download the package file to the directory of your choice. The path must
contain no more than 128 characters. Ensure that you extract the
installation files to an empty directory. Do not extract to a directory that
contains previously extracted files, or any other files.
Also, ensure that you have executable permission for the package file.
c. If necessary, change the file permissions by issuing the following
command:
chmod a+x package_name.bin
where package_name is like the following example:
AIX
7.1.0.000-TIV-TSMSRV-AIX.bin
Linux
7.1.0.000-TIV-TSMSRV-Linuxx86_64.bin
7.1.0.000-TIV-TSMSRV-Linuxs390x.bin
Option Description
Installing from a downloaded package file: 1. Change to the directory where you
downloaded the package file.
2. Start the installation wizard by issuing
the following command:
./install.sh
Installing from DVD media: 1. Insert the DVD into the DVD drive.
Tip: Ensure that the installation files are
visible on the DVD drive.
2. Start the installation wizard by issuing
the following command:
./install.sh
7. If you are installing the server by using the wizard, follow these instructions:
a. In the IBM Installation Manager window, click the Install icon; do not
click the Update or Modify icon.
b. Select the components to install. You must install the license package. If
you select the storage agent, you must accept the Tivoli Storage Manager
for Storage Area Networks license.
476 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
8. Alternatively, install the server in console mode. Review the information about
installing the server in console mode and then complete the installation
procedure, as described in the Installation Guide.
9. Alternatively, to install the server in silent mode, follow the instructions for an
installation in silent mode in the Installation Guide. Review the information
about installing the server in silent mode. Then, complete Steps 1 and 2 of the
installation procedure.
10. Correct any errors that are detected during the installation process. To view
installation log files, from the Installation Manager tool, click File > View Log.
To collect log files, from the Installation Manager tool, click Help > Export
Data for Problem Analysis.
11. Obtain any applicable fixes by going to the following website:
http://www.ibm.com/support/entry/portal/Overview/Software/Tivoli/
Tivoli_Storage_Manager. Click Fixes (downloads) and apply any applicable
fixes.
12. To prevent server failures during interaction with DB2, tune the kernel
parameters. For instructions, see the section about tuning kernel parameters in
the Installation Guide.
13. Optional: To install an additional language package, use the modify function
of the IBM Installation Manager.
14. Optional: To upgrade to a newer version of a language package, use the
update function of the IBM Installation Manager.
Review the information about planning space for the server before completing this
task.
Procedure
1. Create the user ID that will own the server instance. You use this user ID when
you create the server instance in a later step.
a. Create the user ID and group.
Restriction: In the user ID, only lowercase letters (a-z), numerals (0-9), and
the underscore character (_) can be used. The user ID and group name must
comply with the following rules:
v The length must be 8 characters or less.
v The user ID and group name cannot start with ibm, sql, sys, or a numeral.
v The user ID and group name cannot be user, admin, guest, public, local, or
any SQL reserved word.
For example, create user ID tsminst1 in group tsmsrvrs. The following
examples show how to create this user ID and group by using operating
system commands:
AIX
Linux
# groupadd tsmsrvrs
# useradd -d /home/tsminst1 -m -g tsmsrvrs -s /bin/bash tsminst1
# passwd tsminst1
b. Log out and then log in to your system by using the new user ID and
password. Use an interactive login program, such as telnet, so that you are
prompted for the password and can change it if necessary.
c. If a configuration profile does not exist for the user ID, create the file. For
example, create a .profile file if you are using the Korn shell (ksh).
2. Create the directories that the server requires. Ensure that you are logged in
under the new user ID that you created.
You need a unique, empty directory for each item in the following table. Create
the database directories, the active log directory, and the archive log directory
on different physical volumes. For space requirements, see “Worksheet for
planning space for the V7.1 server” on page 42.
Table 74. Worksheet for creating required directories
Example commands for
Item creating the directories Your directories
The instance directory for mkdir /home/user_ID/tsminst1
the server, which will
contain files for this
server instance, including
the server options file
The database directories mkdir /home/user_ID/tsmdb001
mkdir /home/user_ID/tsmdb002
mkdir /home/user_ID/tsmdb003
mkdir /home/user_ID/tsmdb004
Active log directory mkdir /home/user_ID/tsmlog
Archive log directory mkdir /home/user_ID/
tsmarchlog
Optional: Directory for mkdir /home/user_ID/
the log mirror for the tsmlogmirror
active log
Optional: Secondary mkdir /home/user_ID/
archive log directory, tsmarchlogfailover
which is the failover
location for the archive
log
When a server is initially created by using the DSMSERV FORMAT utility or the
configuration wizard, a server database and recovery log are created. In
addition, files are created to hold database information that is used by the
database manager.
3. Create additional logical volumes and mount the volumes on the directories
that were created in the previous step.
Related tasks:
“Preparing space for the migration process” on page 473
Related reference:
“Server naming best practices” on page 70
478 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
To protect your server and its data, follow the preparation steps carefully.
Procedure
1. From a Tivoli Storage Manager administrative command line, issue the
command:
convert ussfilespace
This command fixes a problem that might exist in older Tivoli Storage Manager
databases. If the problem does not exist in your database, the command is
completed and you might see error ANR2034E. This error can be ignored. For
more information, see Technote 1408895 (http://www.ibm.com/support/
docview.wss?uid=swg21408895). If the problem exists in your database, the
command might take some time to run.
Important: Do not skip this step. If your database has the problem and you do
not run this command now, the DSMUPGRD PREPAREDB utility fails when you run
it. You must then restart the V5 server and run the CONVERT USSFILESPACE
command before you continue the upgrade process.
2. Review the steps for reverting to the earlier version of the server in the section,
“Reverting from V7.1 to the previous V5 server version” on page 351.
If you must revert to the earlier version after the upgrade to V7.1, the results of
the reversion will be better if you understand the steps and prepare for the
possibility now.
3. Make the following adjustments to settings on your server and clients. These
adjustments must be done to make it possible for you to revert to the original
server after the upgrade, if problems occur.
a. For each sequential-access storage pool, set the REUSEDELAY parameter to the
number of days during which you want to be able to revert to the original
server, if necessary.
For example, if you want to be able to revert to the original server for up to
30 days after the upgrade to V7.1, set the REUSEDELAY parameter to 31 days.
Issue the following administrative command:
update stgpool sequential_access_storage_pool reusedelay=31
b. For each copy storage pool, set the RECLAIM parameter to 100 (meaning
100%). Issue the following administrative command:
update stgpool copy_storage_pool reclaim=100
c. If you typically use a DELETE VOLHISTORY command to delete database
backups, ensure that the command does not delete database backups too
frequently. The interval between backups should be at least the same
number of days that you set for the REUSEDELAY period for sequential-access
storage pools. For example, to delete database backups every 45 days, issue
the following administrative command:
delete volhist type=dbbackup todate=-45
d. For important clients that use the server, verify that the value for the
schedlogretention client option is set to retain the client schedule log for a
sufficient time. Update the option for clients if needed.
The entries in the client schedule log might be useful if the server must
revert to the original version. If the retention period for the schedule log is
too short, the schedule log information might be deleted too soon.
For example, to prune the log every 45 days and save the log entries, add
the following option:
schedlogretention 45 S
Upgrade the V5 server to V5.5.6 or later so that you can use the ZMSPREPARE
command and other tools that help to prepare the system for the migration.
The Tivoli Storage Manager server must not be running during installation of the
fix pack.
To install a fix pack to the server, you must have the Tivoli Storage Manager
license package installed. The license package is provided when you purchase a
base release.
Ensure that you retain the installation media from the base release of the installed
server. If you installed Tivoli Storage Manager from a DVD, ensure that the DVD is
available. If you installed Tivoli Storage Manager from a downloaded package,
ensure that the downloaded files are available. If the upgrade fails, and the server
license module is uninstalled, the installation media from the server base release
are required to reinstall the license.
Procedure
1. Obtain the package file for the V5.5.6 or later fix pack from the Tivoli Storage
Manager FTP downloads site at ftp://public.dhe.ibm.com/storage/tivoli-
storage-management/maintenance/server/v5r5/MVS/LATEST.
2. For installation information, review the README.txt file, which is available in
the V5.5.6 or later package file.
3. Install the V5.5.6 or later fix pack.
480 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
What to do next
For more information about the Tivoli Storage Manager server V5.5 release, see the
Tivoli Storage Manager V5.5 information center at http://publib.boulder.ibm.com/
infocenter/tivihelp/v1r1/index.jsp.
Procedure
1. To install Tivoli Storage Manager for z/OS Media, go to the Tivoli Storage
Manager V6.3 Information Center at http://pic.dhe.ibm.com/infocenter/
tsminfo/v6r3. Follow the installation instructions in the IBM Tivoli Storage
Manager for z/OS Media Installation and Configuration Guide.
2. To configure Tivoli Storage Manager for z/OS Media, go to the Tivoli Storage
Manager V6.3 Information Center at http://pic.dhe.ibm.com/infocenter/
tsminfo/v6r3. Follow the configuration instructions in the IBM Tivoli Storage
Manager for z/OS Media Installation and Configuration Guide.
Related concepts:
“Tivoli Storage Manager for z/OS Media overview” on page 443
On the V5 server, issue the DEFINE SERVER command. Ensure that the following
parameters are set:
v The SERVER_NAME parameter must specify the user ID that is used to run the
Tivoli Storage Manager V5 server.
v The SERVERPASSWORD parameter must specify the password that is used to log on
to the z/OS media server.
v The HLADDRESS parameter must specify the IP address of the z/OS media server.
v The LLADDRESS parameter must specify the port number of the z/OS media
server.
Here is an example:
define server tsmserv serverpassword=yourlife hladdress=9.115.20.97 lladdress=1555
For details, see the DEFINE SERVER section in the Administrator's Reference.
Disabling sessions
In preparation for the migration, prevent activity on the server by disabling new
sessions. Cancel any existing sessions.
Procedure
1. Prevent all clients, storage agents, and other servers from starting new sessions
with the server. Use the commands:
disable sessions client
disable sessions server
2. Determine whether server processes are running. Either cancel processes, or
allow them to complete. Use the commands:
query process
cancel process process_number
Allow time for the processes to be stopped. Some processes, such as storage
pool migration, might take some time to stop.
3. Verify whether any sessions exist, and notify the users that the server is going
to be stopped. To check for existing sessions, use the command:
query session
4. Cancel sessions that are still running. Use the command:
cancel session all
Requirement: Run the ZMSPREPARE command to ensure that all prerequisites are
met before data migration begins.
482 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Procedure
1. On the V5 server, run the ZMSPREPARE command from the administrative client
command line. For more information about the ZMSPREPARE command, see
“ZMSPREPARE (Prepare a server on a z/OS system for migration)” on page
541. The output from the ZMSPREPARE command shows the following types of
information:
Disk-based storage pools.
**************************************************
FILE device type backup sets.
**************************************************
Sequential volumes with a device type of FILE.
**************************************************
Convert server options file.
( Yes/No/Consult documentation/ Unknown option )
TCOUNT
73 LICENSE No No
74 LICENSE No No
**************************************************
No unsupported device classes are found.
**************************************************
Last
Complete
Backup
Date/Time
---------
08/18/11
13:52:-
35
**************************************************
2. Make appropriate changes to your system environment by using the report
generated by the ZMSPREPARE command. Based on the report, you might need to
complete one or more of the following tasks:
v Back up the disk-based primary storage pools that are identified by the
ZMSPREPARE command to copy storage pools on tape. For details, see “Backing
up data from disk-based primary storage pools” on page 485. Update the
storage pool volumes so that ACCESS=DESTROYED and delete the volumes of
disk-based backup storage pools. For details, see “Removing volumes of
disk-based copy storage pools.” To view volume names in the storage pools
that require handling, use the ZMSPREPARE FORMAT=DETAILED command.
v Update identified server options. For details, see “Creating the Tivoli Storage
Manager server options file” on page 486.
v Remove or change invalid device classes.
v Remove sequential volumes with a device type of FILE such as database
backups, exports, and backup sets. For details, see “Identifying and deleting
FILE backup sets” on page 486.
Related reference:
“ZMSPREPARE (Prepare a server on a z/OS system for migration)” on page 541
You can mark volumes of primary storage pools as destroyed, but destroyed is not
a valid access mode for volumes of disk-based copy storage pools. For this reason,
you must delete volumes of disk-based copy storage pools before you migrate
your data.
Procedure
1. By using the output of the ZMSPREPARE command, determine if the copy storage
pool must be migrated from the V5.5 server to the V7.1 server or if it can be
recreated on the V7.1 server after the migration.
2. If you must migrate the copy storage pool to V7.1, recreate the copy storage
pool on the V5.5 system from the primary storage pool by using the BACKUP
484 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
STGPOOL command. The reason for taking this step is that copies of copy pools
are not permitted in Tivoli Storage Manager.
3. If the primary storage pool is also disk-based, back up the primary storage pool
to a tape-based copy storage pool as described in “Backing up data from
disk-based primary storage pools.”
4. Delete the volumes of the disk-based copy storage pools by using the DELETE
VOLUME command.
For details, see the DELETE VOLUME section in the Administrator's Reference.
Related reference:
“ZMSPREPARE (Prepare a server on a z/OS system for migration)” on page 541
Procedure
1. Create a tape copy storage pool. Issue the DEFINE STGPOOL command. Specify
the following parameters:
v The POOL_NAME parameter specifies the name of the storage pool to be
defined.
v The DEVICE_CLASS_NAME parameter specifies the name of the sequential access
device class to which this copy storage pool is assigned.
v The POOLTYPE=COPY parameter specifies that you want to define a storage
pool.
Here is an example:
define stgpool tapepool2 dc480 pooltype=copy
For details, see the DEFINE STGPOOL section in the Administrator's Reference.
2. Back up a primary storage pool. Issue the BACKUP STGPOOL command. For
example, to back up a primary storage pool named PRIMARY_POOL to a copy
storage pool named COPYSTG, issue the following command:
backup stgpool primary_pool copystg
For details, see the BACKUP STGPOOL section in the Administrator's Reference.
3. Change the access mode of each volume of disk-based primary storage pools to
destroyed so that no files can be written to or read from volumes in the storage
pool. Use the UPDATE VOLUME command. For more information about changing
the access mode of storage pools, see the Administrator's Guide. For more
information about the UPDATE VOLUME command, see the Administrator's
Reference.
Procedure
1. Determine which backup sets use FILE device classes. Review the report
generated by the ZMSPREPARE command.
2. Delete any backup sets that use FILE device classes. For details, see the section
on deleting backup sets in the Administrator's Guide.
Related tasks:
“Analyzing the Tivoli Storage Manager server by using ZMSPREPARE” on page
482
Procedure
1. Move the options file that is used by the Tivoli Storage Manager V5 server to
the Tivoli Storage Manager V7.1 server instance directory. Ensure that the file is
owned by the Tivoli Storage Manager server instance owner and that it has
valid permissions for that owner ID.
2. Determine whether changes are required in the options file and make the
required changes:
a. Review the report generated by the ZMSPREPARE command. The Convert
server options file section lists options that are in the V5 options file, but
that might not transfer to the V7.1 file.
b. Use the information in the Convert server options file section to
determine whether to include a server option in the V7.1 file.
Results
For general information about server options, see the Administrator's Reference. For
information about new and changed server options since V5, see “Command and
option changes” on page 51.
Related tasks:
“Analyzing the Tivoli Storage Manager server by using ZMSPREPARE” on page
482
486 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Procedure
1. On the V5 server, run the ZMSPREPARE command from the administrative client
command line. For more information about the ZMSPREPARE command, see
“ZMSPREPARE (Prepare a server on a z/OS system for migration)” on page
541.
2. Review the report generated by the ZMSPREPARE command to ensure that all
migration prerequisites are met. If all migration prerequisites are met, the
report is similar to the following one. Verify the following items:
v The Volumes are not marked destroyed value is 0 for all storage pools.
v For backup sets, this message is displayed: No FILE device type backup
sets are found.
v For sequential volumes, this message is displayed: No sequential volumes
with a device type of FILE were found.
v A value is displayed in the Last Complete Backup Date/Time column.
Preferably, the time is recent.
tsm: EZU11>zmsprepare
Disk-based storage pools.
**************************************************
No FILE device type backup sets are found.
**************************************************
No sequential volumes with a device type of FILE were found.
**************************************************
Convert server options file.
( Yes/No/Consult documentation/ Unknown option )
**************************************************
No unsupported device classes are found.
**************************************************
Last
Complete
Backup
Date/Time
---------
09/26/20-
11 09:5-
9:15
**************************************************
3. If any migration prerequisites are not met, make appropriate changes in your
system environment and run the ZMSPREPARE command again. Repeat this step
as required until all migration prerequisites are met.
Related reference:
“ZMSPREPARE (Prepare a server on a z/OS system for migration)” on page 541
Back up the database by using the following command. Run either a full or
snapshot backup.
backup db type=type devclass=device_class_name
The device class that you specify must exist and have volumes that are available to
it. For example, to perform a snapshot backup of your database to the TAPECLASS
device class by using scratch volumes, enter:
backup db type=dbsnapshot devclass=tapeclass
To use specific volumes instead of scratch volumes, specify the volume names in
the command.
Tip: To protect the backup from media failures, make two copies of the backup.
Ensure that at least one full database backup is available onsite. If you must restore
the database after a failed upgrade, having an onsite backup database saves time.
Procedure
Allow time for the processes to be stopped. Some processes, such as storage
pool migration, might take some time to stop.
For more information about the QUERY PROCESS and CANCEL PROCESS commands
and other Tivoli Storage Manager administrative commands, see the
Administrator's Reference.
2. After all sessions and processes are stopped, determine whether any tapes are
mounted. Unmount any tapes that are mounted. Use the following commands:
488 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
query mount
dismount volume volume_name
3. Stop the server. Use the following command:
halt
Procedure
1. Ensure that you have completed all preparation steps.
2. Log in as administrator to the V5 server system.
3. Prepare the database by using the DSMUPGRD PREPAREDB utility. To use the
DSMUPGRD PREPAREDB utility on z/OS, you must submit a batch job by using JCL,
as in the following example:
//PREPARE JOB ,REGION=256M,TIME=1440,CLASS=A,MSGCLASS=H
//* SETPROG APF,ADD,DSN=SVTSMS1.TSM556.LINKLIB,VOL=TS405B
//*
//TIVSMDB EXEC PGM=DSMUPGRD,
// PARM=’POSIX(ON)/PREPAREDB MEDIASERVER=TUCMVSTT’
//STEPLIB DD DSN=SVTSMS1.TSM556.LINKLIB,DISP=SHR
//OPT DD DSN=SVTSMS1.TSM556.OPTIONS,DISP=SHR
//DSMAMENG DD DSN=SVTSMS1.TSM556.MESSAGES(ANRMENU),DISP=SHR
//HLPAMENG DD DSN=SVTSMS1.TSM556.HELP(ANRHENU),DISP=SHR
//DSK DD DSN=SVTSMS1.TSM556.DISKLOG,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSTERM DD SYSOUT=*
4. Monitor the job output for errors and warning messages. The job output can be
found on the MVS™ console.
What to do next
Before you migrate the V5 server database, ensure that the prepare operation is
completed successfully. If the prepare operation fails, you might need to restart the
V5 server to fix the problem and run the prepare operation again.
Related reference:
“DSMUPGRD PREPAREDB (Prepare a V5 database for upgrade)” on page 523
490 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 21. Migrating the z/OS server database to the V7.1
server
Migrate the database of the IBM Tivoli Storage Manager V5 server that is running
on z/OS to the V7.1 server.
Decide on a method for moving the database: the media method or the network
method. For information about the advantages of each method, see “Comparison
of database migration methods” on page 452.
With either method, the original server cannot be running while the data is being
extracted.
To move the database by using the media method, follow the instructions in
“Migrating a V5 z/OS server by using the media method.”
To move the database by using the network method, follow the instructions in
“Migrating a V5 z/OS server by using the network method” on page 494.
Procedure
1. To define the database, run the DSMICFGX wizard, as you would when
installing Tivoli Storage Manager.
2. Using the Tivoli Storage Manager instance owner ID, run the following
command:
dsmserv removedb tsmdb1
3. To format the database, use the DSMSERV LOADFORMAT utility with appropriate
parameters.
Results
If you complete these steps, there is no need to configure the system for database
backup after the migration.
Procedure
1. Log in as administrator to the Tivoli Storage Manager V5 server system by
using the administrative console.
2. Ensure that the device that you want to use to store the extracted data is
available. The server database and the device configuration file must contain a
valid device class definition for the device.
3. To start the extraction, use the DSMUPGRD EXTRACTDB utility. To use the DSMUPGRD
EXTRACTDB utility on z/OS, you must submit a batch job by using JCL, as in the
following example:
//EXTRMED JOB ,REGION=256M,TIME=1440,CLASS=A,MSGCLASS=H
//* SETPROG APF,ADD,DSN=SVTSMS1.COLLIN.TSM556.LINKLIB,VOL=TS405B
//*
//TIVSMDB EXEC PGM=DSMUPGRD,
// PARM=’POSIX(ON)/EXTRACTDB DEVCLASS=ECARTRIDGE MAN=//SVTSMS1.MED.MFST’
//STEPLIB DD DSN=SVTSMS1.TSM556.LINKLIB,DISP=SHR
//OPT DD DSN=SVTSMS1.TSM556.OPTIONS,DISP=SHR
//DSMAMENG DD DSN=SVTSMS1.TSM556.MESSAGES(ANRMENU),DISP=SHR
//HLPAMENG DD DSN=SVTSMS1.TSM556.HELP(ANRHENU),DISP=SHR
//DSK DD DSN=SVTSMS1.TSM556.DISKLOG,DISP=SHR
//SYSPRINT DD SYSOUT=*
This step is required only if you plan to run the DSMSERV INSERTDB command to
transfer the V5 server data to tape devices that are directly attached to the V7.1
server. In this case, you might need to move the tapes to another tape library
before the data can be inserted into the DB2 database. For more information, see
the technical documentation for your tape library.
492 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Ensure that the following requirements are met before you begin to load the data:
v A new, empty database must be prepared on the V7.1 server by using the
DSMSERV LOADFORMAT command.
v The manifest file from the DSMUPGRD EXTRACTDB operation must be available.
v The server options file must contain an entry for the device configuration file.
v The media that contains the extracted database must be available to the V7.1
server. The permissions must be set to grant access to the media for the user ID
that owns the V7.1 server instance.
v The MANIFEST parameter must be specified to indicate that data will be read from
external media.
Procedure
1. On the V5 server, start the z/OS media server. The V7.1 server will access
extracted data volumes through the z/OS media server.
2. Log on by using the Tivoli Storage Manager server instance user ID to the
system where you installed the V7.1 server.
3. Copy the manifest file that was created by the extraction process on the V5
system to the V7.1 system. Ensure that the instance user ID has ownership or
read/write permission for the manifest file.
4. Verify the contents of the manifest file and edit the file if necessary:
a. Ensure that the device names are valid for the V7.1 system. In particular,
ensure that the definitions for accessing the media server are correct. If you
are not using a media server, ensure that device names for accessing devices
on the V7.1 system are correct.
b. Ensure that the manifest file contains a list of volumes to be used when the
extracted data is loaded into the new database.
5. To load an extracted server database into the empty V7.1 database, issue the
DSMSERV INSERTDB command. Direct the output of the process to a file for
monitoring. For example, enter the following command on one line:
AIX Linux
Chapter 21. Migrating the z/OS server database to the V7.1 server 493
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Procedure
1. To define the database, run the DSMICFGX wizard, as you would when
installing Tivoli Storage Manager.
2. Using the Tivoli Storage Manager instance owner ID, run the following
command:
dsmserv removedb tsmdb1
3. To format the database, use the DSMSERV LOADFORMAT utility with appropriate
parameters.
Results
If you complete these steps, there is no need to configure the system for database
backup after the migration.
Ensure that the Tivoli Storage Manager V5 server and V7.1 server are not running.
Procedure
1. Verify that there is a good network connection between the two systems.
2. Start the DSMSERV INSERTDB process on the V7.1 server to receive the database.
The process must be started by the Tivoli Storage Manager instance owner user
ID. To monitor the process, direct the output of the process to a file. For
494 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
example, start the server, allowing 60 minutes (the default time) for the other
server to contact the V7.1 server and directing the process output to
insert.out, by using this command:
nohup /opt/tivoli/tsm/server/bin/dsmserv insertdb \
sesswait=60 >insert.out 2>&1 &
Chapter 21. Migrating the z/OS server database to the V7.1 server 495
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
496 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 22. Configuring the z/OS media server devices on the
new server
On the IBM Tivoli Storage Manager V7.1 server, configure devices that you plan to
use with z/OS media server storage.
For details, see the section on configuring the Tivoli Storage Manager server to use
z/OS media server storage in the Administrator's Guide.
Procedure
What to do next
After you migrate the system to V7.1, you can authenticate passwords with the
LDAP directory server, or authenticate passwords with the IBM Tivoli Storage
Manager server. Passwords that are authenticated with the LDAP directory server
can provide enhanced system security. For details, see the section about managing
passwords and logon procedures in the Administrator's Guide.
Table and index reorganization requires significant processor resources, active log
space, and archive log space. Because database backup takes precedence over
reorganization, select the time and duration for reorganization to ensure that the
processes do not overlap and reorganization can complete. For more information
about scheduling reorganization, see the Administrator's Guide.
If you update these server options while the server is running, you must stop and
restart the server before the updated values take effect.
Procedure
1. Modify the server options.
Edit the server options file, dsmserv.opt, in the server instance directory. Follow
these guidelines when you edit the server options file:
v To activate an option, remove the asterisk at the beginning of the line.
v Enter an option on any line.
v Enter only one option per line. The entire option with its value must be on
one line.
v If you have multiple entries for an option in the file, the server uses the last
entry.
v To view available server options, see the sample file, dsmserv.opt.smp, in the
/opt/tivoli/tsm/server/bin directory.
2. If you plan to use data deduplication, enable the ALLOWREORGINDEX server
option. Add the following option and value to the server options file:
allowreorgindex yes
3. Set the REORGBEGINTIME and REORGDURATION server options to control when
reorganization starts and how long it runs. Select a time and duration so that
reorganization runs when you expect that the server is least busy. These server
options control both table and index reorganization processes.
a. Set the time for reorganization to start by using the REORGBEGINTIME server
option. Specify the time by using the 24-hour system. For example, to set
the start time for reorganization as 8:30 p.m., specify the following option
and value in the server options file:
reorgbegintime 20:30
b. Set the interval during which the server can start reorganization. For
example, to specify that the server can start reorganization for four hours
after the time set by the REORGBEGINTIME server option, specify the following
option and value in the server options file:
reorgduration 4
4. Verify the following server options.
5. If the server was running while you updated the server options file, stop and
restart the server.
500 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Procedure
To start the server instance, follow the instructions in “Starting the server on AIX,
HP-UX, Linux, and Oracle Solaris systems” on page 325.
Procedure
1. Monitor the messages that the server issues as it starts. Watch for error and
warning messages.
2. If the server is running on a new system as a result of the upgrade, check the
following items:
a. Ensure that all of the original server's storage devices are accessible to the
upgraded server.
b. Compare the device names on the new system with the names for the
devices on the original system. Update definitions for the devices on the
server if needed. For example, update path definitions.
c. Update the network address that is used by backup-archive clients, storage
agents, library client servers, and other servers for communicating with the
upgraded server.
Optionally, instead of making these updates, consider whether you can use
the network address of the original system as the address of the new
system. You might also be able to update domain name service (DNS) to
point to the new system instead of the original system. Consult your
network administrator.
3. Verify that you can connect to the server using an administrative client as you
did for the earlier version of the server.
4. Run commands to get a summary of information in the database. Compare the
summary with the results for the same commands before the upgrade.
5. Perform backups for typical client nodes and verify that the backups work as
expected.
6. Verify that operations such as LAN-free data movement and library sharing
work correctly.
7. After you are satisfied that the server is performing as expected and you will
not need to revert to the previous version of the server, remember to return any
settings that you changed to prepare for the upgrade back to the original
values.
Chapter 23. Taking the first steps after the migration 501
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Use the DEFINE STGPOOL command to define storage pools on the Tivoli Storage
Manager V7.1 server. Alternatively, define tape storage pools on the z/OS media
server. Complete one of the following steps:
v To define storage pools on the Tivoli Storage Manager V7.1 system, run the
DEFINE STGPOOL command.
For details, see the DEFINE STGPOOL command in the Administrator's Reference.
v Define storage pools on the z/OS media server.
For details, see the IBM Tivoli Storage Manager for z/OS Media Installation and
Configuration Guide.
Procedure
1. Update the definitions of FILE device classes that write to disk by running the
UPDATE DEVCLASS command. For device classes that were migrated from Tivoli
Storage Manager V5.5 on z/OS to Tivoli Storage Manager V7.1, update the
DIRECTORY parameter to indicate where storage pool volumes are to be written.
If required, update the MAXCAPACITY parameter. For more information about the
UPDATE DEVCLASS command, see the Administrator's Reference.
2. For all disk-based storage pools and FILE storage pools that do not
automatically allocate new volumes, define storage pool volumes. Use the
DEFINE VOLUME command. For more information about the DEFINE VOLUME
command, see the Administrator's Reference.
To restore data from backed-up storage pools, on the Tivoli Storage Manager V7.1
system, run the RESTORE STGPOOL command. To specify the name of the new
storage pool to which to restore the files, use the NEWSTGPOOL parameter.
For details, see the RESTORE STGPOOL command in the Administrator's Reference.
502 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
is that storage pool volumes with the ACCESS=DESTROYED attribute applied count
against the MAXSCR parameter. Do not delete storage pool volumes that are marked
as destroyed before you restore the data to the storage pool because the deletion
also deletes corresponding data in the copy pool backup.
Do not delete storage pool volumes that are marked as destroyed before restoring
the data to the storage pool because delete processing also deletes corresponding
data in the copy pool backup.
To delete storage pool volumes, run the DELETE VOLUME command. If you are
deleting several volumes, delete the volumes one at a time.
For details, see the DELETE VOLUME command in the Administrator's Reference.
Registering licenses
Immediately register any Tivoli Storage Manager licensed functions that you
purchased so that you do not lose data after you begin to use the server.
Verify that the server instance directory of your installation does not include a
NODELOCK file. The NODELOCK file contains the previous licensing information for
your installation. This licensing information is replaced when the upgrade is
complete. If the directory includes a NODELOCK file, move the file to another
directory.
Procedure
Register the licenses for the Tivoli Storage Manager server components that are
installed on your system by issuing the REGISTER LICENSE command:
register license file=installation_directory/server/bin/component_name.lic
For example, if you installed the server in the default directory, /opt/tivoli/tsm,
register the license by issuing the following command:
register license file=/opt/tivoli/tsm/server/bin/tsmbasic.lic
For example, if you installed Tivoli Storage Manager Extended Edition in the
/opt/tivoli/tsm directory, issue the following command:
register license file=/opt/tivoli/tsm/server/bin/tsmee.lic
Restriction: You cannot register licenses for Tivoli Storage Manager for Mail, Tivoli
Storage Manager for Databases, Tivoli Storage Manager for ERP, and Tivoli Storage
Manager for Space Management.
Procedure
1. Complete the following steps:
a. If you did not use the instance configuration wizard to configure the server,
ensure that you have completed the steps to manually configure the system
for database backups.
b. If you used the media method for upgrade and used a tape device, remove
or check out from the library the tape that was used to hold the extracted
data. Prevent the tape from being reused until you are sure that the V7.1
server is running properly and you do not need to repeat the database
insertion step.
2. Select the device class to be used for automatic backups of the database. From
the Tivoli Storage Manager administrative command line, issue the following
command:
set dbrecovery device_class_name
The device class that you specify is used by the database manager for all
automatic database backups.
3. Back up the database.
backup db devclass=device_class_name type=full
You can specify the device class to be the same as or different from the device
class that you specified with the SET DBRECOVERY command. If the device class
is different, you receive a warning message, but the backup operation
continues.
4. Back up the volume history.
backup volhistory filenames=file_name
Updating automation
After you migrate your data, you might need to modify administrative schedules
that were defined in V5 because of changes in command syntax. Implement and
verify changes to any automation or scripts that were identified as requiring
modification in the planning process.
Important: Ensure that automation includes a backup of the database. Back up the
database at least once per day.
504 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Storage agents are used to ensure that client systems can write data directly to, and
read data directly from, storage devices attached to the z/OS media server. A
storage agent that is installed on a client system must be set up to communicate
with the z/OS media server by using the LAN.
Procedure
1. Verify that data can be transferred from the storage agent to the z/OS media
server.
For information about how to verify the data transfer, see the Storage Agent
User's Guide.
2. If you detect an issue with data transfer, update the configuration of the
storage agent.
For information about how to configure a storage agent for z/OS media server
access, see the Storage Agent User's Guide.
Procedure
To monitor the V7.1 server and make any required adjustments, complete the
following steps:
1. Monitor the active log to ensure that the size is correct for the workload that is
handled by the server instance.
When the server workload reaches its typical expected level, the space that is
used by the active log is 80% - 90% of the space that is available to the active
log directory. At that point, you might need to increase the amount of space.
Whether you must increase the space depends on the types of transactions in
the server workload. Transaction characteristics affect how the active log space
is used.
The following transaction characteristics can affect the space usage in the active
log:
v The number and size of files in backup operations
– Clients such as file servers that back up large numbers of small files can
cause large numbers of transactions that are completed quickly. The
transactions might use a large amount of space in the active log, but for a
short time.
– Clients such as a mail server or a database server that back up large
chunks of data in a few transactions can cause small numbers of
transactions that take a long time. The transactions might use a small
amount of space in the active log, but for a long time.
Chapter 23. Taking the first steps after the migration 505
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
Remember: If the archive log becomes full, and the archive failover log
becomes full, the active log can become full, and the server stops. The goal is to
make enough space available to the archive log so that it never uses all
available space.
You are likely to notice the following pattern:
a. Initially, the archive log grows rapidly as typical client-backup operations
occur.
b. Database backups occur regularly, either as scheduled or done manually.
c. After full database backups occur, log pruning occurs automatically. The
space that is used by the archive log decreases when the pruning occurs.
d. Normal client operations continue, and the archive log grows again.
e. Database backups occur regularly, and log pruning occurs as often as full
database backups occur.
With this pattern, the archive log grows initially, decreases, and then might
grow again. Over time, as normal operations continue, the amount of space
that is used by the archive log should reach a relatively constant level.
If the archive log continues to grow, consider taking one or both of these
actions:
v Add space to the archive log. You might need to move the archive log to a
different file system.
For information about moving the archive log, see the Administrator's Guide.
v Increase the frequency of full database backups so that log pruning occurs
more frequently.
3. If you defined a directory for the archive failover log, determine whether any
logs are stored in that directory during normal operations. If the failover log
space is being used, consider increasing the size of the archive log. The goal is
to use the archive failover log only under unusual conditions, not in normal
operation.
What to do next
After the migration, you can continue to use z/OS tools to monitor activity on the
V5 system where the z/OS media server is running.
For information about monitoring activity on the V5 system, see the section on
monitoring the server in a system running on z/OS. This information can be found
in the Tivoli Storage Manager V5.5 information center at http://
publib.boulder.ibm.com/infocenter/tivihelp/v1r1/index.jsp.
506 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Migrating V5 servers on z/OS systems to V7 on AIX or Linux systems
If you are using the Tivoli Storage Manager V5 TSO administrative client, you
might want to change to a newer administrative client. You can adapt your z/OS
tools to use the z/OS UNIX System Services (USS) 6.1.4 administrative client. The
z/OS USS 6.1.4 administrative client is not available for download from the client
FTP site, but can be obtained by ordering the following fix packs:
v UK62472 for the USS Backup-Archive client
v UK62473 for the USS API client
To move data from z/OS media volumes to other devices, use one or both of the
following methods:
v Direct incoming new data to storage pools on the AIX or Linux on System z
system. Then, allow existing data that is stored on the z/OS system to naturally
expire.
v Actively move data from z/OS media volumes to storage pools on the AIX or
Linux on System z system. To move the data, use the MOVE DATA or MOVE
NODEDATA command.
For more information about the MOVE DATA and MOVE NODEDATA commands, see the
Administrator's Reference.
Chapter 23. Taking the first steps after the migration 507
508 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Chapter 24. Troubleshooting the migration of a V5 server from
a z/OS system to AIX or Linux on System z
Review this section for tips to troubleshoot common problems that might occur
after the migration. A procedure that explains how to return to the previous
version of the server is also included.
The V5 server running on z/OS can be put back into production at any point
along the migration path. Depending on the amount of progress made, different
actions are required to revert to the original server:
v To revert to the V5 server before data is moved to the V7.1 system, see
“Reverting to the V5 server before data is moved to the V7.1 server.”
v To revert to the V5 server before DISK or FILE volumes are deleted, see
“Reverting to the V5 server before volumes are deleted.”
v To revert to the V5 server after the original database is deleted, see “Reverting to
the V5 server after the V5 database is deleted” on page 510.
Procedure
1. Restart the V5 server running on the z/OS system.
2. Change the access state of DISK and FILE volumes from destroyed to
READWRITE.
Procedure
1. Restart the V5 server running on the z/OS system.
2. Change the access state of DISK and FILE volumes from destroyed to
READWRITE.
You must have the following items from the earlier version of the server:
v Server database backup
v Volume history file
v Device configuration file
v Server options file
Tip: The REUSEDELAY parameter can be used to extend the amount of time one can
wait before reverting to the original V5 server running on a z/OS system. To
extend the amount of time, specify the REUSEDELAY parameter for all sequential
storage pools during the preparation phase. Specify the parameter before the final
database backup is made and before the migration begins.
For more information about setting the REUSEDELAY parameter, see “Modifying the
server before the migration” on page 479.
Restriction: Files backed up or archived to the server after the server is migrated
to the V7.1 system will be lost if the server is reverted to V5. You cannot use
EXPORT or IMPORT commands to recover these files because V7.1 export data cannot
be imported by a V5 server.
Procedure
1. Back up the V7.1 database and save the contents of the instance directory,
including the volume history file, the device configuration file, and server
options file. Keep these files in case you must revert to the V7.1 server.
2. Remove the database from the database manager, and then delete the database
and recovery log directories.
a. Manually remove the database. Issue the command:
dsmserv removedb tsmdb1
You can also use the following command to remove the database:
db2 drop db tsmdb1
b. If you must reuse the space that is occupied by the database and recovery
log directories, you can now delete these directories.
3. Use the installation program to uninstall the V7.1 server. Uninstallation
removes the server and the database manager software with their directories.
For instructions about uninstalling the server, see the Installation Guide.
510 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Troubleshooting the migration
4. Reinstall the version of the server program that you were using before the
upgrade to V7.1. This version must match the version that your server was
running when you created the database backup that you will restore in a later
step.
For example, if the server was at version 5.5.6.0 before the upgrade, and you
intend to use the database backup that was in use on this server, you must
install the V5.5.0.0 server program and then the V5.5.6.0 fix pack to be able to
restore the database backup.
a. Reinstall the base version of the server that was in use before the upgrade
to V7.1.
b. Reinstall any fix packs that were installed on the base server version
before the upgrade to V7.1.
5. Copy the following files to the directory for server information:
v Device configuration file
v Volume history file
v Server options file
6. Format the database by using the DSMSERV FORMAT utility. For details, see
the information for the version of the server that you are reinstalling.
Information for V5.5 is available at this information center:
http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1
Information for V5.4 and V5.3 is available in the same information center. In
the navigation pane, scroll down and expand Previous versions.
7. Restore the database by using the backup that was created in the preparation
steps before the upgrade.
8. If you enabled data deduplication for any FILE-type storage pools that existed
before the upgrade, or if you moved data that existed before the upgrade into
new storage pools while using the V7.1 server, you must complete additional
recovery steps. See “Additional recovery steps if you created new storage
pools or enabled data deduplication” on page 512.
9. If the REUSEDELAY setting on storage pools is less than the age of the database
that you restored, restore volumes on any sequential-access storage pools that
were reclaimed after that database backup. Use the RESTORE VOLUME command.
If you do not have a backup of a storage pool, audit the reclaimed volumes
by using the AUDIT VOLUME command, specifying the FIX=YES parameter to
resolve inconsistencies. Use the command:
audit volume volume_name fix=yes
10. If client backup or archive operations were performed by using the V7.1
server, you might need to audit the storage pool volumes on which the data
was stored.
11. If you were using active-data pools before upgrading to V7.1, you must
recreate them.
The amount of time required to recreate the active-data pools might be
significant, depending on the number and size of the active-data pools to be
recreated.
Use this information if you did either or both of the following actions while your
server was running as a V7.1 server:
v You enabled data deduplication for any storage pools that existed before the
upgrade to V7.1. Data deduplication applies only to storage pools that use a
FILE device type.
v You created primary storage pools after the upgrade, and moved data that had
been stored in other storage pools into the new storage pools.
Procedure
v For each storage pool for which you enabled data deduplication, restore the
entire storage pool by using the RESTORE STGPOOL command. To complete this
task, you must have a complete backup of the storage pool, which must have
been created before the upgrade to V7.1.
v For storage pools that you created after the upgrade, review the following
information to determine what action to take.
Data that was moved from existing V5 storage pools into the new storage pools
might be lost because the new storage pools no longer exist in your restored V5
server. Possible recovery depends on the type of storage pool:
– If data was moved from V5 DISK-type storage pools into a new storage pool,
space that was occupied by the data that was moved was probably reused.
Therefore, you must restore the original, V5 storage pools by using the
storage pool backups that were created before the upgrade to V7.1.
If no data was moved from V5 DISK-type storage pools into a new storage
pool, audit the storage pool volumes in these DISK-type storage pools.
– If data was moved from V5 sequential-access storage pools into a new storage
pool, that data might exist and be usable in storage pool volumes on the
restored V5 server. The data might be usable if the REUSEDELAY parameter for
the storage pool was set to a value that prevented reclamation while the
server was running as a V7.1 server. If any volumes were reclaimed while the
server was running as a V7.1 server, restore those volumes from storage pool
backups that were created before the upgrade to V7.1.
512 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Part 4. Appendixes
You can use forums, wikis, and other social media tools to ask questions, talk to
experts, and learn from others.
User groups
Tivoli Global Storage Virtual User Group
Access this user group at http://www.tivoli-ug.org/storage.
This group makes it possible for individuals from many different industries
and types of organizations to share information and work directly with the
IBM product experts. Local chapters also exist where members meet in
person to share experiences and hear from guest speakers.
ADSM.ORG
Access this mailing list at http://adsm.org.
This independently managed Storage Management discussion forum
started when Tivoli Storage Manager was known as ADSTAR Distributed
Storage Manager (ADSM). The members of this forum have many years of
experience with Tivoli Storage Manager in almost every type of IT
environment.
To subscribe to the forum, send an email to [email protected]. The
body of the message must contain the following text: SUBSCRIBE ADSM-L
your_first_name your_family_name.
Find the latest best practices, white papers, and links to videos and other
resources. When you log on, you can comment on content, or contribute your own
content.
Learn from technical experts who share their knowledge and then answer your
questions. The sessions are designed to address specific technical issues and
provide in-depth but narrowly focused training.
Use these education resources to help you increase your Tivoli Storage Manager
skills:
Tivoli Education and Certification website
View available education at http://www.ibm.com/software/tivoli/
education.
Use the Search for Training link to find local and online offerings of
instructor-led courses for Tivoli Storage Manager.
Education Assistant
Access resources at http://publib.boulder.ibm.com/infocenter/ieduasst/
tivv1r0/index.jsp.
Scroll to view the list of available training videos. Recorded product
demonstrations are also available on a YouTube channel.
516 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Searching knowledge bases
If a problem occurs while you are using one of the Tivoli Storage Manager family
of products, you can search several knowledge bases.
Sign in using your IBM ID and password if you want to customize the site based
on your product usage and information needs. If you do not already have an IBM
ID and password, click Sign in at the top of the page and follow the instructions
to register.
IBM Support Assistant helps you gather support information when you must open
a problem management record (PMR), which you can then use to track the
problem. The product-specific plug-in modules provide you with the following
resources:
v Support links
v Education links
v Ability to submit problem management reports
You can find more information and download the IBM Support Assistant web page
at http://www.ibm.com/software/support/isa.
You can also install the stand-alone IBM Support Assistant application on any
workstation. You can then enhance the application by installing product-specific
plug-in modules for the IBM products that you use. Find add-ons for specific
products at http://www.ibm.com/support/docview.wss?uid=swg27012689.
Procedure
Determine what fixes are available by checking the IBM software support website
at http://www.ibm.com/support/entry/portal/.
If you previously customized the site based on your product usage:
1. Click the link for the product, or a component for which you want to
find a fix.
2. Click Downloads, and then click Search for recommended fixes.
If you have not previously customized the site:
Click Downloads and search for the product.
Procedure
1. From the support page at http://www.ibm.com/support/entry/portal/, click
Sign in and sign in using your IBM ID and password. If you do not have an
ID and password, click register now and complete the registration process.
2. Click Manage all my subscriptions in the Notifications pane.
3. Click the Subscribe tab, and then click Tivoli.
4. Select the products for which you want to receive notifications and click
Continue.
5. Specify your notification preferences and click Submit.
Procedure
1. Ensure that you have completed the following prerequisites:
a. Set up a subscription and support contract.
b. Determine the business impact of the problem.
c. Describe the problem and gather background information.
2. Follow the instructions in “Submitting the problem to IBM Software Support”
on page 520.
518 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Setting up and managing support contracts
You can set up and manage your Tivoli support contracts by enrolling in IBM
Passport Advantage. The type of support contract that you need depends on the
type of product you have.
Procedure
520 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Appendix B. Utilities, scripts, and commands for server
upgrade and migration
Utilities and commands are available to upgrade or migrate a V5 server to V7.1. A
script is available for starting multiple servers.
Syntax
-k Server1
DSMUPGRD QUERYDB
-quiet -o options_file -k key_name
Parameters
AIX HPUX Linux Solaris z/OS -quiet
Specifies that messages to the console are suppressed. This parameter is
optional.
-o options_file
Specifies an options file to use. This parameter is optional.
Windows -k key_name
Specifies the name of the Windows registry key from which to retrieve
information about the server. The default is SERVER1. This parameter is
optional.
Examples
522 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
DSMUPGRD PREPAREDB (Prepare a V5 database for upgrade)
Use the DSMUPGRD PREPAREDB utility to prepare a server database for upgrade to
V7.1. You must run this utility before using the DSMUPGRD EXTRACTDB utility.
Syntax
-k Server1
DSMUPGRD PREPAREDB
-quiet -o options_file -k key_name
MEDIASERVER-=-media_server_name
Parameters
AIX HPUX Linux Solaris-quietz/OS
Specifies that messages to the console are suppressed. This parameter is
optional.
-o options_file
Specifies an options file to use. This parameter is optional.
Windows -k key_name
Specifies the name of the Windows registry key from which to retrieve
information about the server. The default is SERVER1. This parameter is
optional.
z/OS MEDIASERVER
Specifies the name of the server to be used as the z/OS media server. The
server must have been defined by using the DEFINE SERVER command before
using the DSMUPGRD PREPAREDB utility.
Example
dsmupgrd preparedb
The DELETE VOLHISTORY command is used to delete volume history file records that
are no longer needed (for example, records for obsolete database backup volumes).
In a migration from z/OS to AIX or Linux on System z, issue this command on the
V5 server to specify the device class of volumes that must be deleted to prepare for
the migration.
When you delete records for volumes that are not in storage pools (for example,
database backup or export volumes), the volumes return to scratch status even if
IBM Tivoli Storage Manager acquired them as private volumes. Scratch volumes of
device type FILE are deleted. When you delete the records for storage pool
volumes, the volumes remain in the Tivoli Storage Manager database. When you
delete records for recovery plan file objects from a source server, the objects on the
target server are marked for deletion.
Use the DELETE BACKUPSET command to delete specified backup set volume
information in the volume history file. Do not use this DELETE VOLHISTORY
command to delete backup set volume information in the volume history file.
For users of DRM, the database backup expiration should be controlled with the
SET DRMDBBACKUPEXPIREDAYS command instead of this DELETE VOLHISTORY
command. Using the DELETE VOLHISTORY command removes the Tivoli Storage
Manager record of the volume. This can cause volumes to be lost that were
managed by the MOVE DRMEDIA command. The standard way to manage the
automatic expiration of DRM database backup volumes is by using the SET
DRMDBBACKUPEXPIREDAYS command.
The DELETE VOLHISTORY command can be used to specify the device class of
volumes that are to be deleted for migration purposes. The command can be used
before migration of a Tivoli Storage Manager V5 server running on z/OS to a V7
server running on AIX or Linux on System Z. The device class must have a device
type of FILE, and can be specified only if the ZMSPREPARE parameter is set to YES.
Notes:
1. Volumes for the most recent database backup series are not deleted.
2. Existing volume history files are not automatically updated with this command.
3. You can use the DEFINE SCHEDULE command to periodically delete volume
history records.
Privilege class
Syntax
TOTime = 23:59:59
DELete VOLHistory TODate = date
TOTime = time
524 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Type = All
DBBackup
DEVclass = class_name
DBSnapshot
DEVclass = class_name
DBDump
DBRpf
EXPort
DELETELatest = No
RPFile
DELETELatest = No
Yes
DELETELatest = No
RPFSnapshot
DELETELatest = No
Yes
STGNew
STGReuse
STGDelete
No
ZMSPREPARE = Yes DEVClass = class_name
Parameters
TODate (Required)
Specifies the date to use to select sequential volume history information to be
deleted. Tivoli Storage Manager deletes only those records with a date on or
before the date you specify. You can specify the date by using one of the
following values:
TOTime
Specifies that you want to delete records created on or before this time on the
specified date. This parameter is optional. The default is the end of the day
(23:59:59). You can specify the time by using one of the following values:
Type (Required)
Specifies the type of records, which also meet the date and time criteria, to
delete from the volume history file. Possible values are:
All
Specifies to delete all records.
Note: The DELETE VOLHISTORY command does not delete records of remote
volumes.
DBBackup
Specifies to delete only records that contain information about volumes
used for database full and incremental backups, that is, with volume types
of BACKUPFULL and BACKUPINCR, and that meet the specified date and
time criteria. The latest database full and incremental backup series will
not be deleted.
DEVclass=class_name
Specifies the device class name that was used to create the database
backups. This optional parameter can be used to delete database
backups created by using a server-to-server virtual volume device
class. The type of the device class must be SERVER. This parameter
can be used only to delete volume history entries of type
BACKUPFULL, BACKUPINCR, or DBSNAPSHOT.
A full, incremental, or snapshot database backup volume is eligible to
be deleted if all of the following conditions are met:
v The device class that was used to create the database backup volume
matches the specified device class.
v The volume was created on or before the specified date and time.
v The volume is not part of the latest full plus incremental database
backup series if the specified volume type is DBBackup, or snapshot
database backup series if the volume type is DBSnapshot.
DBSnapshot
Specifies to delete only records that contain information about volumes
used for snapshot database backups, and that meet the specified date and
time criteria. The latest snapshot database backup will not be deleted.
526 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
DEVclass=classname
Specifies the device class name that was used to create the database
backups. This optional parameter can be used to delete database
backups created by using a server-to-server virtual volume device
class. The type of the device class must be SERVER. This parameter
can be used only to delete volume history entries of type
BACKUPFULL, BACKUPINCR, or DBSNAPSHOT.
A full, incremental, or snapshot database backup volume is eligible to
be deleted if all of the following conditions are met:
v The device class that was used to create the database backup volume
matches the specified device class.
v The volume was created on or before the specified date and time.
v The volume is not part of the latest full plus incremental database
backup series if the specified volume type is DBBackup, or snapshot
database backup series if the volume type is DBSnapshot.
DBRpf
Specifies to delete only records that contain information about full and
incremental database backup volumes and recovery plan file volumes.
EXPort
Specifies to delete only records that contain information about export
volumes.
RPFile
Specifies to delete only records that contain information about recovery
plan file objects that are stored on a target server and that meet the
specified date and time criteria.
DELETELatest
Specifies whether the latest recovery plan file is eligible for deletion.
This optional parameter can be used to delete the latest recovery plan
files created by using a server-to-server virtual volume device class.
This parameter can be used only to delete volume history entries of
type RPFILE (for instance, those recovery plan files that were created
by using the DEVCLASS parameter with the PREPAREcommand). If this
parameter is not specified, the latest RPFILE entries are not deleted.
No Specifies that the latest RPFILE file is not deleted.
Yes Specifies that the latest RPFILE file is deleted if it meets the
specified date and time criteria.
RPFSnapshot
Specifies to delete only records that contain information about recovery
plan file objects that were created assuming snapshot database backups,
that are stored on a target server, and that meet the specified date and time
criteria. The latest RPFSNAPSHOT file will not be deleted unless it meets the
specified date and time criteria, and the DELETELATEST parameter is set to
Yes.
DELETELatest
Specifies whether the latest recovery plan file is eligible for deletion.
This optional parameter can be used to delete the latest recovery plan
files created by using a server-to-server virtual volume device class.
This parameter can be used only to delete volume history entries of
type RPFSNAPSHOT (for instance, those recovery plan files that were
528 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
DSMUPGRD EXTRACTDB (Extract data from a V5 server database)
Use the DSMUPGRD EXTRACTDB utility to extract data from a server database. The data
can be inserted into a version 7.1 server database either later or at the same time as
the extraction process.
Prerequisite
Before using this utility, you must use the DSMUPGRD PREPAREDB utility on the
existing database.
Syntax
-k Server1
DSMUPGRD EXTRACTDB
-quiet -o options_file -k key_name
A: Extract to media
B: Extract and transmit by using a network
EVentbasedused = Yes
EVentbasedused = Never
A: Extract to media:
SCRatch = Yes
SCRatch = Yes ,
No (1)
VOLumenames = volume_name
Notes:
1 You must specify VOLUMENAMES if you specify SCRATCH=NO.
Parameters
AIX HPUX Linux Solaris z/OS -quiet
Specifies that messages to the console are suppressed. This parameter is
optional.
-o options_file
Specifies an options file to use. This parameter is optional.
Windows -k key_name
Specifies the name of the Windows registry key from which to retrieve
information about the server. The default is SERVER1. This parameter is
optional.
Appendix B. Utilities, scripts, and commands 529
DEVclass
Specifies a sequential device class to use for storing the extracted data. This
parameter is required if you want to extract the database to media.
Restriction: You cannot use a device class with a device type of NAS or
CENTERA.
530 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
VOLumenames
Specifies the volumes to use to store the extracted database. To specify
multiple volumes, separate the names with commas and without intervening
spaces.
HLAddress
Specifies either the numeric IP address or the domain name of the V7.1 server.
This parameter is required if you want to extract and simultaneously transmit
the data to the V7.1 server by using the network.
If the V5 server and the V7.1 server are on the same system, you can specify
localhost.
LLAddress
Specifies the low-level address of the V7.1 server. This address is the same as
the value that is specified with the TCPPORT server option for the V7.1 server.
This parameter is required if you want to extract and simultaneously transmit
the data to the V7.1 server by using the network.
Examples
The manifest file is required by the data insertion process when you are using
media to move the database to the V7.1 server. You specify the name of the
manifest file when you run the DSMSERV INSERTDB utility.
Related reference:
“DSMUPGRD EXTRACTDB (Extract data from a V5 server database)” on page 529
532 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
DSMUPGRD EXTEND DB (Extend the size of the database)
Use this utility on a V5 database to extend its size. Use this utility only when an
error occurs during the upgrade process that indicates that you need additional
database space to continue.
Prerequisite
Use the DSMFMT utility to format a new volume to be used for extending the
database. For information about how to use the DSMFMT utility, see the version
5.5 information center: http://publib.boulder.ibm.com/infocenter/tivihelp/v1r1
Syntax
-k Server1
DSMUPGRD EXTEND DB
-quiet -o options_file -k key_name
volume_name megabytes
Parameters
AIX HPUX Linux Solaris z/OS -quiet
Specifies that messages to the console are suppressed. This parameter is
optional.
AIX HPUX Linux Solaris Windows -o options_file
z/OS
Specifies an options file to use. This parameter is optional.
Windows -k key_name
Specifies the name of the Windows registry key from which to retrieve
information about the server. The default is SERVER1. This parameter is
optional.
volume_name (Required)
Specifies the name to be used for the new database extension volume.
megabytes (Required)
Specifies the size of the new volume in megabytes. The size must be a multiple
of 4 MB, and it must be 1 MB less than the size of the volume specified in the
volume_name parameter. For example, if the volume is 5 MB, specify a value of
4.
Issue this command if you receive an ANR9999D LOGSEG message. This indicates
that your log space has been overcommitted and your server terminates with a
LOGSEG871 error. After the server is running, you can do the following:
v Back up the database, which frees the recovery log space.
v Adjust the size of the recovery log, the database backup trigger full percentage,
or both to allow for successful future database backups.
Prerequisite
Use the DSMFMT utility to format a new volume to be used for extending the
recovery log. For information about how to use the DSMFMT utility, see the
version 5.5 information center: http://publib.boulder.ibm.com/infocenter/tivihelp/
v1r1
Syntax
-k Server1
DSMUPGRD
-quiet -o options_file -k key_name
Parameters
AIX HPUX Linux Solaris z/OS -quiet
Specifies that messages to the console are suppressed. This parameter is
optional.
AIX HPUX Linux Solaris Windows z/OS -o options_file
Specifies an options file to use. This parameter is optional.
Windows -k key_name
Specifies the name of the Windows registry key from which to retrieve
information about the server. The default is SERVER1. This parameter is
optional.
volume_name (Required)
Specifies the name to be used for the new recovery log extension volume
megabytes (Required)
Specifies the size of the new volume in megabytes. The size must be a multiple
of 4 MB, and it must be 1 MB less than the size of the volume specified in the
volume_name parameter. For example, if the volume is 5 MB, specify a value of
4.
534 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
DSMUPGRD UPDATE (Create backup registry entries for a V5 server
instance)
Windows
Use this utility to create registry entries for a V5 server instance if a problem in the
upgrade process has removed the entries when they are still needed. For example,
you can use this utility if you are upgrading a V5 server to V7.1 on the same
system, and accidentally ran the DSMSERV LOADFORMAT utility before running the
DSMUPGRD PREPAREDB utility.
Run this utility from the instance directory for the V5 database (where files such as
dsmserv.dsk are stored for the server). The utility recreates the original registry
entries for the V5 server, but stores the entries in a backup location to avoid
overwriting the entries that were added by V7.1.
Syntax
-k Server1
DSMUPGRD UPDATE
-k key_name
Parameters
-k key_name
Specifies the name of the Windows registry key in which to store information
about the server. The default is Server1.
Example
Run the utility to recreate registry entries for the server instance, Server2.
"c:\Program Files\Tivoli\TSM\upgrade\dsmupgrd" -k server2 update
Set the DB2CODEPAGE system environment variable to 819 for each server
instance. Before you issue the DSMSERV LOADFORMAT command, log on to the system
as the server instance owner and issue this command:
db2set -i instance_name DB2CODEPAGE=819
Windows
LOADFORMAT
-o options_file -noexpire -quiet
,
ACTIVELOGSize = 16384
DBDir = directory
DBFile = file ACTIVELOGSize = megabytes
ARCHFailoverlogdir = directory MIRRorlogdir = directory
Parameters
AIX HPUX Linux -u user_name
Solaris
Specifies a user name to switch to before initializing the server. This parameter
is optional.
AIX HPUX Linux Solaris -i instance_dir
Specifies an instance directory to use. This directory becomes the current
working directory of the server. This parameter is optional.
Windows -k key_name
Specifies the name of a Windows registry key that is used to store information
about this server. Use this parameter only to install additional servers on the
536 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
same system. After you install a server by using this parameter, you must
always start it with the value of this parameter. The default is SERVER1.
-o options_file
Specifies an options file to use. This parameter is optional.
-noexpire
Specifies that expiration processing is suppressed when starting. This
parameter is optional.
-quiet
Specifies that messages to the console are suppressed. This parameter is
optional.
DBDir
Specifies the relative path names of one or more directories that are used to
store database objects. Directory names must be separated by commas but
without spaces. You can specify up to 128 directory names. You must specify
either the DBDIR or the DBFILE parameter.
DBFile
Specifies the name of a file that contains the relative path names of one or
more directories that are used to store database objects. Each directory name
must be on a separate line in the file. You can specify up to 128 directory
names. You must specify either the DBDIR or the DBFILE parameter.
ACTIVELOGSize
Specifies the size of the active log in megabytes. This parameter is optional.
The minimum value is 2048 MB (2 GB); the maximum is 131,072 MB (128 GB).
If you specify an odd number, the value is rounded up to the next even
number. The default is 16384 MB.
ACTIVELOGDirectory (Required)
Specifies the directory in which the Tivoli Storage Manager server writes and
stores active log files. There is only one active log location. The name must be
a fully qualified directory name. The directory must exist, it must be empty,
and it must be accessible by the user ID of the database manager. The
maximum number of characters is 175.
ARCHLogdirectory (Required)
Specifies the directory for the archive log files. The name must be a fully
qualified directory name. The maximum number of characters is 175.
ARCHFailoverlogdirectory
Specifies the directory to be used as an alternative storage location if the
ARCHLOGDIRECTORY directory is full. This parameter is optional. The
maximum number of characters is 175.
MIRRorlogdirectory
Specifies the directory in which the server mirrors the active log (those files in
the ACTIVELOGDIRECTORY directory). This parameter is optional. The
directory must be a fully qualified directory name. The maximum number of
characters is 175.
AIX Linux
Tip: AIX If the server is installed on an AIX Version 6.1 operating system, to
improve system performance, consider selecting the time zone specification that is
associated with the Portable Operating System Interface (POSIX). The alternative
time zone specification, based on the Olson database, might affect system
performance. For information about setting time zone specifications, see the
documentation for the AIX operating system. If the server is installed on AIX
Version 7.1, this issue does not occur.
Before you use the DSMSERV INSERTDB utility, complete the planning and
preparation tasks, such as backing up the database and saving configuration
information. Ensure that you meet all requirements before you move the server
database. For planning and preparation information, see the upgrade or migration
procedure for your operating system.
Before you run the utility to insert the server database into an empty database,
ensure that your system meets the following requirements.
v The manifest file from the DSMUPGRD EXTRACTDB operation must be available.
v If the manifest file does not contain device configuration information, or if you
are specifying the CONFIGINFO=DEVCONFIG parameter, both of the following
statements must be true:
– The server options file must contain an entry for the device configuration file.
– The device configuration file must have information about the device class
that is specified in the manifest file.
v The media that contains the extracted database must be available to the V7
server. Also, the permissions must be set to grant access to the media for the
user ID that owns the V7 server instance.
Syntax
-k Server1
DSMSERV
-u user_name -i instance_dir -k key_name
INSERTDB
-o options_file -noexpire -quiet
PREview = No
A: Insert from media
B: Insert over a network PREview = Yes
No
538 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
A: Insert from media:
CONFiginfo = MANifest
DEVclass = device_class_name CONFiginfo = MANifest
DEVconfig
MANifest = file_name
SESSWait = 60
SESSWait = minutes
Parameters
AIX HPUX Linux Solaris -u user_name
Specifies a user name to switch to before initializing the server. This parameter
is optional.
AIX HPUX Linux Solaris -i instance_dir
Specifies an instance directory to use. This directory becomes the current
working directory of the server. This parameter is optional.
Windows -k key_name
Specifies the name of the Windows registry key from which to retrieve
information about the server. This parameter is optional. The default is
SERVER1.
-o options_file
Specifies an options file to use. This parameter is optional.
-noexpire
Specifies that expiration processing is suppressed when starting. This
parameter is optional.
-quiet
Specifies that messages to the console are suppressed. This parameter is
optional.
DEVclass
Specifies a sequential-access device class. You can specify any device class
except for the DISK device class. The definition for the device class must exist
in either the manifest file or the device configuration file.
This parameter is optional and is used only when the database that you want
to insert into the empty V7 database was extracted to media. If the database is
on media and you do not specify a device class, the device class that is
identified in the manifest file is used.
Restriction: You cannot use a device class with a device type of NAS or
CENTERA.
MANifest
Specifies the location of the manifest file. Use a fully qualified file name, or
place in a local directory. For example: ./manifest.txt
540 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
ZMSPREPARE (Prepare a server on a z/OS system for migration)
z/OS
Use the ZMSPREPARE command to view information about data that must be backed
up from disk to tape to prepare to migrate the server to the z/OS media server.
Privilege class
Syntax
STGpool = * Format = Standard
ZMSPRepare
STGpool = pool_name Format = Standard
Detailed
Parameters
STGpool
Specifies the storage pools to be listed.
Format
Specifies the format of the output. The following values are possible:
Standard
Specifies that summary data is displayed.
Detailed
Specifies that detailed data is displayed.
View data for all storage pools in standard format. Issue the following command:
zmsprepare stgpool=* Format=Standard
**************************************************
No FILE device type Backup Sets found.
**************************************************
Sequential volumes with a device type of FILE...
Date/Time Volume Type Device Class Volume Name
-------------------- -------------- ------------ ------------------------------
04/22/2011 13:20:09 BACKUPFULL FILE USER3.S3503609.DBB
04/22/2011 13:20:30 EXPORT FILE USER3.S3503630.EXP
**************************************************
Server options file conversion guidance.
( Yes/No/Consult documentation )
Line Option Include in V7 server Include in media server
Number options file? options file?
------ -------------- ------------------------ ------------------------
19 COMMOPENTIMEO- No No
UT
24 COMMMETHOD Yes No
104 TCPNAME No Yes
109 DELETIONEXIT No No
137 VOLUMEHISTORY Consult No
163 DEVCONFIG Consult No
167 TCPPORT Consult Consult
**************************************************
Last
Complete
Backup
Date/Time
03/15/11 15:51:21
View data for all storage pools in detailed format. Issue the following command:
zmsprepare stgpool=* Format=Detailed
The output is similar to that of the previous example, except for the storage pool
section, which includes a list of any volumes not marked DELETED:
542 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Disk-based Storage Pools...
Storage Pool Name: ARCHIVEPOOL
Storage Pool Type: Primary
Device Class Name: DISK
Estimated Capacity: 0.0 M
Pct Util: 0.0
Volumes not marked destroyed: 0
Copy Storage Pools:
Volume Name:
You can use the rc.dsmserv script in your system startup to automatically start a
server instance under a specific user ID.
Syntax
rc.dsmserv -u user_name
-U user_name -i instance_dir
Parameters
-u user_name
Specifies the Tivoli Storage Manager instance user ID for which the
environment is set up. The server will run under this user ID.
-U user_name
Specifies the Tivoli Storage Manager instance user ID for which the
environment is set up. The server will run under the user ID of the invoker of
the command.
-i instance_dir
Specifies an instance directory, which becomes the working directory of the
server.
544 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Server startup script: dsmserv.rc
Linux
You can use the dsmserv.rc script to stop a server instance, or manually or
automatically start a server.
Prerequisites
Before you issue the DSMSERV.RC command, complete the following steps:
1. Ensure that the Tivoli Storage Manager server instance runs under a non-root
user ID with the same name as the instance owner.
2. Copy the dsmserv.rc script to the /etc/rc.d/init.d directory. The dsmserv.rc
script is in the server installation directory, for example, /opt/tivoli/tsm/
server/bin.
3. Rename the script so that it matches the name of the server instance owner, for
example, tsminst1.
4. Use tools such as the CHKCONFIG utility to configure the run level in which the
server automatically starts. Specify a value that corresponds to a multiuser
mode, with networking turned on. Typically, the run level to use is 3 or 5,
depending on the operating system and its configuration. For details about run
levels, see the documentation for your operating system.
Syntax
dsmserv.rc
start
stop
status
restart
Parameters
start
Starts the server.
stop
Stops the server.
status
Shows the status of the server. If the status is started, the process ID of the
server process is also shown.
restart
Stops the server and starts it again.
The following commands show examples for getting summary information for
some specific types of objects:
File spaces
select node_name, count(*) as "Number of Filespaces" from filespaces
group by node_name order by 2
Nodes select platform_name, count(*) as "Number of Nodes" from nodes group
by platform_name
Backed-up files
select node_name,sum(num_files) as "Number of Backup Files" from
occupancy where type=’Bkup’ group by node_name
Archived files
select node_name,sum(num_files) as "Number of Archive Files" from
occupancy where type=’Arch’ group by node_name
Management classes
select count(*) as "Number of Management Classes" from mgmtclasses
Server scripts
select count(*) as "Number of Server Scripts" from script_names
Storage pools
select count(*) as "Number of Storage Pools" from stgpools
The following example shows a more complete set of commands. You can run this
set of commands as a script from a Tivoli Storage Manager server command line.
Redirect the output to a file to save the results.
select node_name, count(*) as "Number of Filespaces" from filespaces group by node_name order by 2
select platform_name, count(*) as "Number of Nodes" from nodes group by platform_name
select count(*) as "Number of Administrators" from admins
select node_name,sum(num_files) as "Number of Backup Files" from occupancy where type=’Bkup’
group by node_name
select node_name,sum(num_files) as "Number of Archive Files" from occupancy where type=’Arch’
group by node_name
select count(*) as "Number of Schedule Associations" from associations
select count(*) as "Number of Backupsets" from backupsets
select count(*) as "Number of Client Option Sets" from cloptsets
select count(*) as "Number of Collocation Groups" from collocgroup
select count(*) as "Number of Archive CopyGroups" from ar_copygroups
select count(*) as "Number of Backup CopyGroups" from bu_copygroups
select count(*) as "Number of Data Movers" from datamovers
select count(*) as "Number of Device Classes" from devclasses
select count(*) as "Number of Domains" from domains
select count(*) as "Number of Drives" from drives
select count(*) as "Number of Libraries" from libraries
select count(*) as "Number of Library Volumes" from libvolumes
select count(*) as "Number of Volumes" from volumes
select count(*) as "Number of Management Classes" from mgmtclasses
select count(*) as "Number of Node Groups" from nodegroup
select count(*) as "Number of Device Paths" from paths
select count(*) as "Number of Policy Sets" from policysets
select count(*) as "Number of Client Schedules" from client_schedules
select count(*) as "Number of Admin Schedules" from admin_schedules
select count(*) as "Number of Server Scripts" from scripts
select count(*) as "Number of Servers Defined" from servers
select count(*) as "Number of Servers Groups Defined" from server_group
select count(*) as "Number of Storage Pools Defined" from stgpools
546 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Appendix C. Installing server language packages
AIX HPUX Linux Solaris Windows
Translations for the IBM Tivoli Storage Manager server allow the server to display
messages and help in languages other than U.S. English. The translations also
allow for the use of locale conventions for date, time, and number formatting.
For languages or locales other than the default, install the language package that
your installation requires.
HPUX
548 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Table 76. Server languages for HP-UX (continued)
Language LANGUAGE option value
Korean ko_KR.eucKR
ko_KR.utf8
Portuguese, Brazilian pt_PT.iso88591
pt_PT.utf8
Russian ru_RU.iso88595
ru_RU.utf8
Spanish es_ES.iso88591
es_ES.utf8
Notes: For more information about setting the LANGUAGE option, see the Administrator's
Reference.
Linux
Windows
550 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Table 79. Server languages for Windows (continued)
Language LANGUAGE option value
Portuguese, Brazilian ptb
Russian rus
Spanish esp
Notes: For more information about setting the LANGUAGE option, see the Administrator's
Reference.
Windows Set the LANGUAGE option in the server options file to the name of the
locale that you want to use. For example: to use the ita locale, set the
LANGUAGE option to ita. See “Server language locales” on page 547.
If the locale is successfully initialized, it formats the date, time, and number for the
server. If the locale is not successfully initialized, the server uses the US English
message files and the date, time, and number format.
Semaphores, shared memory, and processes are HP-UX system resources that
might require special configuration and tuning for the Tivoli Storage Manager
server.
IBM Tivoli Storage Manager uses semaphore resources to control its internal
operations.
For example, if you expect to have up to 15 client sessions active at the same time,
Tivoli Storage Manager needs approximately 90 semaphores.
Note: If you have other applications that use semaphores, you must account for
their requirements also when adjusting your kernel configuration.
After you have estimated the number of semaphores, ensure that your kernel
configuration contains the correct value. See “Viewing and modifying the kernel
configuration” on page 554 for details.
IBM Tivoli Storage Manager uses standard HP-UX processes for concurrent server
operations.
To estimate the total number of processes that the server may need, you can use
the following formula:
processes = 60 + (2 x maxSessions)
For example, assume that you will have up to 15 client sessions active at the same
time. You can calculate that IBM Tivoli Storage Manager needs approximately 90
After you have estimated the required number of processes, ensure that your
kernel configuration contains the correct value. See “Viewing and modifying the
kernel configuration” for details.
The HP-UX default setting for the maximum number of threads allowed in each
process is 64 threads.
To view or modify your existing kernel configuration, use either the SAM utility
program on HP-UX Version 11iv2 or System Management Homepage (SMH) on
HP-UX Version 11iv3, or edit the configuration file directly. Base the kernel values
on the recommendations of the DB2OSCONF utility.
554 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Appendix E. Services associated with the Tivoli Storage
Manager server
Windows
When you start the Tivoli Storage Manager server as a service, other services
automatically start. These services are associated with the database manager, DB2.
The following services are associated with the Tivoli Storage Manager server.
Servers upgraded from V6.1.0 or V6.1.1: On a system that is running the Tivoli
Storage Manager V6.1.0 or V6.1.1 server program, an additional service named DB2
- DB2TSM1 - DB2TSM-0 is displayed in the list of services. When the V6.1.0 or V6.1.1
server program is upgraded to a later version, that service is renamed to DB2 -
DB2TSM1 - DB2TSM. This service does not affect the operation of the Tivoli Storage
Manager server instances that you configure. DB2TSM is a nonfunctional DB2
instance.
Accessibility features
The IBM Tivoli Storage Manager family of products includes the following
accessibility features:
v Keyboard-only operation using standard operating-system conventions
v Interfaces that support assistive technology such as screen readers
The command-line interfaces of all products in the product family are accessible.
The Operations Center and the Tivoli Storage Manager Server can be installed in
console mode, which is accessible.
The Tivoli Storage Manager Information Center is enabled for accessibility. For
information center accessibility information, see “Accessibility features in the
information center” ( http://pic.dhe.ibm.com/infocenter/tsminfo/v7r1/topic/
com.ibm.help.ic.doc/iehs36_accessibility.html).
Vendor software
The Tivoli Storage Manager product family includes certain vendor software that is
not covered under the IBM license agreement. IBM makes no representation about
the accessibility features of these products. Contact the vendor for the accessibility
information about its products.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law:
INTERNATIONAL BUSINESS MACHINES CORPORATION PROVIDES THIS
PUBLICATION “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS
FOR A PARTICULAR PURPOSE. Some states do not allow disclaimer of express or
implied warranties in certain transactions, therefore, this statement may not apply
to you.
Licensees of this program who want to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Corporation
2Z4A/101
11400 Burnet Road
Austin, TX 78758
U.S.A.
The licensed program described in this information and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement, or any equivalent agreement
between us.
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
560 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
programs are provided "AS IS", without warranty of any kind. IBM shall not be
liable for any damages arising out of your use of the sample programs.
Each copy or any portion of these sample programs or any derivative work, must
include a copyright notice as follows: © (your company name) (year). Portions of
this code are derived from IBM Corp. Sample Programs. © Copyright IBM Corp.
_enter the year or years_.
If you are viewing this information in softcopy, the photographs and color
illustrations may not appear.
Trademarks
IBM, the IBM logo, and ibm.com® are trademarks or registered trademarks of
International Business Machines Corp., registered in many jurisdictions worldwide.
Other product and service names might be trademarks of IBM or other companies.
A current list of IBM trademarks is available on the Web at "Copyright and
trademark information" at http://www.ibm.com/legal/copytrade.shtml.
LTO and Ultrium are trademarks of HP, IBM Corp. and Quantum in the U.S. and
other countries.
Intel and Itanium are registered trademarks of Intel Corporation or its subsidiaries
in the United States and other countries.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
This Software Offering does not use cookies or other technologies to collect
personally identifiable information.
If the configurations deployed for this Software Offering provide you as customer
the ability to collect personally identifiable information from end users via cookies
and other technologies, you should seek your own legal advice about any laws
applicable to such data collection, including any requirements for notice and
consent.
For more information about the use of various technologies, including cookies, for
these purposes, see IBM’s Privacy Policy at http://www.ibm.com/privacy and
Notices 561
IBM’s Online Privacy Statement at http://www.ibm.com/privacy/details the
section entitled “Cookies, Web Beacons and Other Technologies” and the “IBM
Software Products and Software-as-a-Service Privacy Statement” at
http://www.ibm.com/software/info/product-privacy.
562 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Glossary
A glossary is available with terms and definitions for the IBM Tivoli Storage Manager family of products.
You can view the glossary in the Tivoli Storage Manager information center at http://pic.dhe.ibm.com/
infocenter/tsminfo/v7r1.
B C
client data
backing up configuration information 474 protecting during migration 452
backup sets protection
before and after migration 450 migrating V5 servers from AIX, HP-UX, or Solaris 364
deleting 486 client nodes
moving settings changes for upgrade
before migration from AIX, HP-UX, or Solaris 376 general upgrade procedures 282
restoring upgrade scenario 1 96
after migration from AIX, HP-UX, or Solaris 432 upgrade scenario 2 139
backups upgrade scenario 3 182
API configuration for database upgrade scenario 4 229
general upgrade procedures 318 upgrade planning 47
upgrade scenario 1 129 clustered environment
upgrade scenario 2 171 upgrade from V5.5 to 7.1 274
upgrade scenario 3 219 upgrade from V5.5 to V7.1 273
upgrade scenario 4 265 upgrade planning 273
before upgrade upgrading from V5.5 to V7.1 271
z/OS storage pools 485 clustered environments
database upgrading to V7.1 271
after migration from AIX, HP-UX, or Solaris 428 commands
after upgrade 335 administrative 10
after z/OS migration 504 changes in V7 51
automatic 5 deleted 65
protection 5 migrating V5 servers from AIX, HP-UX, or Solaris 363
recovery 5 new 51
volume history file 5 overview 521
database manager configuration 318 SELECT 68
566 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
database (continued) DB2 technology 3
loading data, media method (continued) deployment engine
upgrade scenario 1 126 backup 335
upgrade scenario 3 216 device classes
z/OS migration 493 migration from z/OS 464
location 4 device configuration information
manager backups before upgrade
See database manager general upgrade procedures 285
monitoring upgrade scenario 1 99
extraction 121, 204, 313 upgrade scenario 2 142
moving upgrade scenario 3 185
comparison of methods 452 upgrade scenario 4 232
moving data, media method 15 backups before z/OS migration 474
general upgrade procedures 312 conversion of z/OS device classes 448
upgrade scenario 1 121 migrating V5 servers from AIX, HP-UX, or Solaris 364
upgrade scenario 3 204 z/OS migration 497
z/OS migration 492 device path information
moving data, network method updating
general upgrade procedures 316 after migration from AIX, HP-UX, or Solaris 428
migrating V5 servers from AIX, HP-UX, or Solaris 420 device requirements
upgrade scenario 2 169 migrating V5 servers from AIX, HP-UX, or Solaris 369
upgrade scenario 4 263 migration from z/OS 458
z/OS migration 494 devices
operations 4 configuration
performance tips migrating V5 servers from AIX, HP-UX, or Solaris 388
inserting data into V7 database 461 configuring
preparation migrating V5 servers from AIX, HP-UX, or Solaris 397
before migration from AIX, HP-UX, or Solaris 392, 412 directories
preparation for migration from z/OS 489 creating for server instance
preparation for upgrade migrating V5 servers from AIX, HP-UX, or Solaris 389
general upgrade procedures 294 disability 557
upgrade scenario 1 107 disabling sessions 284
upgrade scenario 2 151 upgrade scenario 1 97
upgrade scenario 3 203 upgrade scenario 2 141
upgrade scenario 4 250 upgrade scenario 3 183
protection changes 5 upgrade scenario 4 230
recovery changes 5 disaster recovery manager 5
recovery logs 4 disk space, requirements 39
restoration 5 drives
server instance creation updating device path information
general upgrade procedures 308 after migration from AIX, HP-UX, or Solaris 428
upgrade scenario 1 122 DSMSERV INSERTDB 346
upgrade scenario 2 164 DSMSERV LOADFORMAT utility 536
space 4 DSMSERV_CONFIG environment variable
SQL queries 3 setting for upgrade utilities
updates overview 3 upgrade scenario 2 149
validating upgrade 546 DSMSERV_DIR environment variable
database backups obsolete for V7.1 9
planning 12, 463 setting for upgrade utilities
migrating V5 servers from AIX, HP-UX, or Solaris 368 general upgrade procedures 292
database extraction upgrade scenario 1 106
performance tips upgrade scenario 2 149
migrating V5 servers from AIX, HP-UX, or Solaris 369 upgrade scenario 3 192
database insertion upgrade scenario 4 239
performance tips dsmupgdx
migrating V5 servers from AIX, HP-UX, or Solaris 370 See upgrade wizard description
database manager DSMUPGRD EXTEND DB utility
backup configuration extend V5 database 533
general upgrade procedures 318 DSMUPGRD EXTEND LOG utility
upgrade scenario 1 129 extend V5 server log 534
upgrade scenario 2 171 DSMUPGRD EXTRACTDB utility
upgrade scenario 3 219 extract V5 database 529
upgrade scenario 4 265 DSMUPGRD PREPAREDB utility
overview 3 prepare V5 database 523
updates overview 3 DSMUPGRD QUERYDB utility
database manager (DB2TSM1) 555 display V5 database information 522
DB2 products, compatibility with the server 35, 456 display V5 server information 522
Index 567
DSMUPGRD UPDATE utility 535
DSMUPGRD upgrade utilities
I
See upgrade utilities IBM Support Assistant 517
IBM Tivoli Storage Manager for z/OS Media
See z/OS media server
index reorganization
E after migrating servers from AIX, HP-UX, or Solaris 425
environment variables installation
changes in V7.1 9 component availability 46
setting for upgrade utilities location 9
general upgrade procedures 292 logs 9
upgrade scenario 1 106 server
upgrade scenario 2 149 migrating V5 servers from AIX, HP-UX, or Solaris 386
upgrade scenario 3 192 migration from z/OS 474
upgrade scenario 4 239 upgrade scenario 1 111
upgrade utilities 9 upgrade scenario 2 155
V7.1 server 9 upgrade scenario 3 194, 205
estimating upgrade scenario 4 241, 252
performance 42 installing z/OS media server 481
threads per process (HP-UX) 554 instance user ID 7
upgrade duration 42 Internet, searching for problem resolution 517, 518
upgrade space requirements 39 IP address
extending updating
database 533 after migration from AIX, HP-UX, or Solaris 430
logs, archive 534
F K
kernel configuration, viewing and modifying 554
failover archive log keyboard 557
See archive failover log knowledge bases, searching 517
file set names 9
files
location 9
missing 351
L
naming 9 LANGUAGE option 547, 551
volume history 5 language packages 547
fixes, obtaining 518 language support 551
languages
set 551
libraries
G updating device path information
GSKit after migration from AIX, HP-UX, or Solaris 428
removing Version 7 340 library attributes
migration from z/OS 464
library clients, upgrading 47
H library manager, upgrading 47
hardware requirements license information
migrating V5 servers from AIX, HP-UX, or Solaris 366 updating
overview 19 general upgrade procedures 285
planning 12 NODELOCK file 285
V5 server 17 upgrade scenario 1 98
V7.1 server upgrade scenario 2 142
AIX 21 upgrade scenario 3 184
HP-UX 24 upgrade scenario 4 232
Linux 26 licenses
Linux on System z 29 registering
Linux x86_64 26 after migration from AIX, HP-UX, or Solaris 427
Microsoft Windows 33 after upgrade 334
Oracle Solaris 31 registering after z/OS migration 503
z/OS migration 455 Linux x86_64
host name See also migration of V5 servers from AIX, HP-UX, or
changing Solaris
after migration from AIX, HP-UX, or Solaris 429 migrating
after upgrade 336, 337 Linux x86_64 357
hybrid upgrade-migration method 452 migration to 355
See migration of V5 servers from AIX, HP-UX, or Solaris
logs
extending, archive 534
568 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
logs (continued) migrating servers from z/OS (continued)
installation 9 path definition 464
recovery performance tips
location 39 database extraction 461
overview 4 database insertion 461
recovery log mode 5 planning 455
roll-forward mode preparation 473
See recovery log mode preparing server 541
space requirements, recovery 38 preparing V5 database 489
preparing V5 server 479
process overview 444
M recreating disk-based storage pools 502
recreating storage pool volumes 502
manifest file 531
reference information 463
manual upgrade
removing copy storage pool volumes 484
See upgrading using command interface
restoring storage pools 502
media method 15, 452, 491
restrictions 444
media server
reverting to V5 509
See z/OS media server
after V5 database is deleted 510
messages
before data is moved 509
extraction output 121, 204, 313
before volumes are deleted 509
server 70
scenarios 439
z/OS media server 453
server instance startup 501
migrating servers from z/OS 474, 491
settings changes 479
advantages 439
space preparation 473
analyzing v5 server 482
storage agents 451
backing up server database 488
storage requirements 458
before you start 443
time estimation example 459
commands 447
time requirements 458
compatibility with other products 456
upgrading multiple servers and components 462
configuration of z/OS media server devices 497
utilities 447
configuring
verifying results 501
server 474
verifying server options 499
creating server options file 486
migration commands
creating V7 database 491, 494
overview 521
data backup 485
migration of servers to Linux x86_64
data movement from FILE and DISK devices 458
See migration of V5 servers from AIX, HP-UX, or Solaris
database
migration of V5 servers from AIX, HP-UX, or Solaris 357, 364
preparation for migration from z/OS 479
advantages 355
database and recovery log requirements 457
automation
defining media server 481
updating 433
defining storage pools 502
backup sets
deleting backup sets 486
moving 376
deleting volumes marked as destroyed 503
restoring 432
device migration 448, 464
before you start 363
device requirements 458
client data
disabling sessions 482
protection 364
extracting data
commands 363
to media 492
data
first steps after migration 499
moving from tape devices 431
formatting V7 database 491, 494
data movement 363
hardware and software requirements 455
data movement from FILE and DISK devices 368
hybrid upgrade-migration method 452
data movement from GENERICTAPE devices 368
installing
data on DISK devices
server 474
backing up 375
installing V7 server 474
migrating 375
library definition 464
data on FILE devices
loading extracted data 493
backing up 375
major phases 446
migrating 375
media and network methods 491
data on GENERICTAPE devices 376
media method 452
migrating 376
moving data
database
media method 492
backing up 428
network method 494
moving by network method 420
moving tape to another tape library 492
database contents
network method 452
creating summary 377
operational changes 453, 463
database requirements 366
overview 437, 439
Index 569
migration of V5 servers from AIX, HP-UX, or Solaris 357, 364 migration of V5 servers from AIX, HP-UX, or Solaris 357, 364
(continued) (continued)
device path information server settings
updating 428 changing 378
device requirements 369 sessions
devices disabling 374
configuration 388 software requirements 366
configuring 397 space preparation 373
migrating 364 space requirements
directories monitoring 433
creating 389 stopping the server 379
hardware requirements 366 storage requirements 369
host name tcpserveraddress option
changing 429 updating 430
IP address time requirements 367
updating 430 troubleshooting 435
licenses upgrade utilities
registering 427 installing 380
media method 385 installing on AIX 380
media method, upgrade wizard 385 installing on HP-UX 381
method installing on Oracle Solaris 382
selecting 385 upgrading from V5 to V5.5.6 373
migration scenario 1 385 upgrading multiple servers and components 368
running upgrade wizard 390 user ID
migration scenario 2 creating 389
configuration for database backup 404 utilities 363
database creation 400 verifying results 426
database preparation 392 migration utilities
device configuration 397 overview 521
loading extracted data 402 monitoring
media method, command line 391 logs for the upgraded server 339
server installation 393 V5 server after z/OS migration 505
server instance creation 400 V7 server after migration from AIX, HP-UX, or
migration scenario 3 406 Solaris 433
running upgrade wizard 411 V7 server after z/OS migration 505
server installation 406 monitoring after z/OS migration
migration scenario 4 server 505
configuration for database backup 422 multiple components
database creation 418 migrating V5 servers from AIX, HP-UX, or Solaris 368
database preparation 412 upgrading from z/OS 462
moving server database 420 multiple DB2 copies 35
network method, command line 412 multiple server instances 7
server installation 413 multiple servers
server instance creation 418 migrating V5 servers from AIX, HP-UX, or Solaris 368
network method 385 upgrading 45
network method, upgrade wizard 406 upgrading from z/OS 462
operational changes 368 multiple servers, upgrading 46
performance tips
database extraction 369
database insertion 370
planning 365
N
names for server instance 70
reference 371
network method 15, 452
postmigration tasks 425
migrating servers from z/OS 494
preparation 373
NODELOCK file
recovery log requirements 366
deleting 334, 503
reverting to V5 435
renaming 334, 503
roadmap 357
scenarios 358
server 373
installation 386 O
monitoring 433 Operations Center
starting 426 overview xiii
server database options
backing up 377 after migration from z/OS
maintaining 425 verifying 499
server options changes in V7 51
configuring 425 deleted 65
570 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
options (continued) preparing for upgrade (continued)
new 51 space preparation
updated 57 general upgrade procedures 281
options for startup upgrade scenario 1 95
change current working directory 8 upgrade scenario 2 139
DSMSERV utility 8 upgrade scenario 3 181
switch user IDs 8 upgrade scenario 4 229
overview storage pool backups
Operations Center xiii general upgrade procedures 284
ownership upgrade scenario 1 98
storage pools on disk 323 upgrade scenario 2 141
upgrade scenario 3 184
upgrade scenario 4 231
P volume history backup
general upgrade procedures 285
Passport Advantage 519
upgrade scenario 1 99
paths
upgrade scenario 2 142
migration from z/OS 464
upgrade scenario 3 185
performance of network connections
upgrade scenario 4 232
migration from z/OS 453
preparing for z/OS migration
performance of upgrade processes
configuration information backup 474
estimating 42
preparing V5 server
tips
migrating servers from z/OS 480
extraction, V5 server 44
problem determination
insertion, V7.1 server 45
describing problem for IBM Software Support 519
permissions
determining business impact for IBM Software
storage pools on disk 323
Support 519
planning upgrade
submitting a problem to IBM Software 520
client nodes 47
process resources, server
client program 47
estimating total number 553
estimating time required 42, 43
using SAM with 11iv2 to view or change 554
multiple servers 45, 46
using SMH with 11iv3 to view or change 554
reference 51
publications
server 11
download xii
AIX clustered environment 271
Windows clustered environment 273
space requirements
upgrade process 37 R
V5 server system 37 recovery log
V7.1 server system 38 description 4
storage agents 45, 47 location 39
preparing for upgrade space requirements 38
configuration information backup recovery log mode 5
general upgrade procedures 285 registering licenses
upgrade scenario 1 99 REGISTER LICENSE command 503
upgrade scenario 2 142 registration
upgrade scenario 3 185 licenses
upgrade scenario 4 232 after migration from AIX, HP-UX, or Solaris 427
database after upgrade 334
general upgrade procedures 294 requirements for upgrade
upgrade scenario 1 107 V5 server
upgrade scenario 2 151 media method 37
upgrade scenario 3 203 network method 37
upgrade scenario 4 250 V7.1 server 17
database backup resource for HP system
general upgrade procedures 284 process considerations 553
upgrade scenario 1 98 semaphore considerations 553
upgrade scenario 2 141 reverting to previous server version 343
upgrade scenario 3 184
upgrade scenario 4 231
overview
general upgrade procedures 277
S
scenarios
upgrade scenario 1 91
migrating V5 servers from AIX, HP-UX, or Solaris 358
upgrade scenario 2 135
migration from z/OS 439
upgrade scenario 3 177
overview for upgrade 73
upgrade scenario 4 225
upgrade procedures
server operations 50
new system, media method 177
Index 571
scenarios (continued) server (continued)
upgrade procedures (continued) instances
new system, network method 225 multiple on single system 7
same system, media method 91 owner ID 7
same system, network method 135 owner, creating 297
scripts starting 8, 9
dsmserv.rc 330 messages 70
implementation 338 migrating V5 servers from AIX, HP-UX, or Solaris
after migration from AIX, HP-UX, or Solaris 433 verifying server operations 426
after z/OS migration 504 migration using network method 494
overview 521 new commands 51
rc.dsmserv 8, 329 new options 51
setting up environment 8 new utilities 51
starting servers automatically 329, 330 operation changes 4
SELECT command 68 options
semaphore resources, server changes in V7 51
estimating number of 553 deleted 65
using SAM with 11iv2 to view or change 554 new 51
using SMH with 11iv3 to view or change 554 updated 57
server options for startup
after migration from z/OS change current working directory 8
first steps 499 DSMSERV 8
starting instance 501 switch user IDs 8
verifying server operations 501 prerequisites verification
after upgrade general upgrade procedures 278
first steps 323 upgrade scenario 1 92
before migration upgrade scenario 2 136
determining appropriate fix pack level 36 upgrade scenario 3 178
prepare server on z/OS 541 upgrade scenario 4 226
before migration from AIX, HP-UX, or Solaris protecting during migration 452
planning 365 requirements verification
before migration from z/OS general upgrade procedures 278
planning 455 upgrade scenario 1 92
before upgrade upgrade scenario 2 136
determining appropriate fix pack level 36 upgrade scenario 3 178
prepare empty database 536 upgrade scenario 4 226
specify device class of volumes for deletion 524 reverting to V5
changing settings after migration from AIX, HP-UX, or Solaris 435
before migration from AIX, Linux, or Solaris 378 after migration from z/OS 509
commands after upgrade 351
administrative 10 after V5 database is deleted 510
changes in V7 51 before data is moved 509
deleted 65 before volumes are deleted 509
new 51 running as root 329
updated 57 setting up 325
compatibility settings changes for migration 479
DB2 products 35 settings changes for upgrade
earlier versions 46 general upgrade procedures 282
deleted commands 65 upgrade scenario 1 96
deleted options 65 upgrade scenario 2 139
deleted utilities 65 upgrade scenario 3 182
files upgrade scenario 4 229
location 9 Solaris service 324
naming 9 starting 331
installing automatic 329, 330
migrating V5 servers from AIX, HP-UX, or Solaris 386, changes in V7.1 8
393, 406, 413 from instance owner user ID 328
migration from z/OS 474 from root user ID 329
upgrade scenario 1 111 on AIX, HP-UX, Linux, Solaris 325
upgrade scenario 2 155 on Windows 9, 331
upgrade scenario 3 194, 205 using Windows services 332
upgrade scenario 4 241, 252 starting after migration from AIX, HP-UX, or Solaris 426
installing V7 starting after upgrade 325
migration from z/OS 474 starting instance 325
installing V7.1 stopping 488
general upgrade procedures 297 migrating V5 servers from AIX, HP-UX, or Solaris 379
572 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
server (continued) sessions (continued)
stopping before upgrade disabling before upgrade (continued)
general upgrade procedures 286 upgrade scenario 3 183
upgrade scenario 1 100 upgrade scenario 4 230
upgrade scenario 2 143 SET DBRECOVERY command 335, 428, 504
upgrade scenario 3 186 shared libraries, upgrading 47
upgrade scenario 4 233 software requirements
updated commands 57 migrating V5 servers from AIX, HP-UX, or Solaris 366
updated options 57 overview 19
updated utilities 57 V5 server 17
upgrade planning 11 V7.1 server
utilities AIX 21
changes in V7 51 HP-UX 24
deleted 65 Linux 26
new 51 Linux on System z 29
updated 57 Linux x86_64 26
Windows service 318 Microsoft Windows 33
upgrade scenario 1 128 Oracle Solaris 31
upgrade scenario 2 170 z/OS migration 455
upgrade scenario 3 218 software support
upgrade scenario 4 265 describing problem for IBM Software Support 519
server data determining business impact for IBM Software
protection Support 519
migrating V5 servers from AIX, HP-UX, or Solaris 364 submitting a problem 520
server database Software Support
See also database contacting 518
reorganization options 324, 499 Solaris services
server instance creating for server instances 324
creation space requirements
migrating V5 servers from AIX, HP-UX, or Solaris 400, active log 39
418 active log mirror 39
directories archive failover log 39
migrating V5 servers from AIX, HP-UX, or Solaris 389 archive log 39
server instance creation database 38
upgrade scenario 3 212 migrating V5 servers from AIX, HP-UX, or Solaris 373
upgrade scenario 4 259 planning worksheet 42
server instances recovery log 38, 39
owner 7 upgrade process
starting 8, 9 estimating 39
server options planning 37
deleted 65 V5 server
migrated from z/OS 469 media method 37
new 51 network method 37
updated 57 V7.1 server 17, 38
server utilities z/OS migration 473
deleted 65 specify device class of volumes for deletion
new 51 DELETE VOLHISTORY command 524
updated 57 SQL
services on Solaris systems changes to syntax in V7.1 68
creating for server instances 324 queries in V7.1 3
services on Windows systems SELECT command 68
creating for server instances 318 starting servers
upgrade scenario 1 128 after upgrade 325
upgrade scenario 2 170 automatically 329
upgrade scenario 3 218 autostart 8
upgrade scenario 4 265 changes in V7.1 8
database manager 9 multiple instances 8, 9
database manager (DB2TSM1) 555 Windows servers
DB2 555 services 331
server 555 Windows services 9
startup of server 9 starting servers automatically 330
sessions stopping server
disabling See server, stopping
before migration from AIX, HP-UX, or Solaris 374 stopping the server
disabling before upgrade 284, 482 migrating servers from z/OS 488
upgrade scenario 1 97 storage agents
upgrade scenario 2 141 migration from z/OS 451
Index 573
storage agents (continued) upgrade utilities (continued)
planning changes DSMUPGRD overview 16
migration from z/OS 462 environment variables, setting
upgrading 45, 47 general upgrade procedures 292
upgrading configuration 505 upgrade scenario 1 106
storage pool volumes upgrade scenario 2 149
recreating 502 upgrade scenario 3 192
storage pools upgrade scenario 4 239
backups before upgrade installing
general upgrade procedures 284 before migration from AIX, HP-UX, or Solaris 380
upgrade scenario 1 98 installing on AIX
upgrade scenario 2 141 before migration from AIX, HP-UX, or Solaris 380
upgrade scenario 3 184 general upgrade procedures 287
upgrade scenario 4 231 upgrade scenario 1 101
defining for z/OS migration 502 upgrade scenario 2 144
recreating upgrade scenario 3 187
z/OS migration 502 upgrade scenario 4 234
restoring as part of the z/OS migration 502 installing on HP-UX
verifying access 323 before migration from AIX, HP-UX, or Solaris 381
storage requirements general upgrade procedures 289
migrating V5 servers from AIX, HP-UX, or Solaris 369 upgrade scenario 1 102
migration from z/OS 458 upgrade scenario 2 146
support contract 519 upgrade scenario 3 188
support information 515 upgrade scenario 4 236
support subscription 519 installing on Linux
general upgrade procedures 290
upgrade scenario 1 103
T upgrade scenario 2 147
upgrade scenario 3 189
table reorganization
upgrade scenario 4 237
after migrating servers from AIX, HP-UX, or Solaris 425
installing on Oracle Solaris
tape devices
before migration from AIX, HP-UX, or Solaris 382
moving data after migration 431
general upgrade procedures 291
tcpserveraddress option
upgrade scenario 1 105
updating
upgrade scenario 2 148
after migration from AIX, HP-UX, or Solaris 430
upgrade scenario 3 191
testing
upgrade scenario 4 238
before upgrade 47
installing on Windows
threads 554
general upgrade procedures 293
Tivoli Storage Manager for z/OS Media
upgrade scenario 1 107
See z/OS media server
upgrade scenario 2 150
Tivoli Storage Manager server database
upgrade scenario 3 193
See database
upgrade scenario 4 240
translation features 547
logs, location 9
translations 547
moving data, methods 15
troubleshooting
overview 16, 521
common problems 343
usage for upgrade
migrating V5 servers from AIX, HP-UX, or Solaris 435
general upgrade procedures 307
migration from z/OS 509
upgrade scenario 1 120
upgrade scenario 2 164
upgrade scenario 3 202
U upgrade scenario 4 250
ulimits V5 database
setting BACKUP STGPOOL 485
before server startup 326 DSMUPGRD EXTEND DB 533
upgrade commands DSMUPGRD EXTRACTDB 529
overview 521 DSMUPGRD PREPAREDB 523
upgrade methods DSMUPGRD QUERYDB 522
overview 73 ZMSPREPARE 482
procedures V5 server
new system, media method 177 DSMUPGRD EXTEND LOG 534
new system, network method 225 DSMUPGRD QUERYDB 522
same system, media method 91 upgrade wizard
same system, network method 135 description 305
upgrade utilities logs 9
creating a test server 47 migrating V5 servers from AIX, HP-UX, or Solaris 390,
DSMSERV_DIR 9 411
574 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
upgrade wizard (continued)
upgrade scenario 1 118
W
upgrade scenario 2 162 Windows clustered environment
upgrade scenario 3 194, 201 upgrade from V5.5 to 7.1 274
upgrade scenario 4 241, 248 upgrade from V5.5 to V7.1 273
upgrading multiple servers 46 Windows services
upgrading creating for server instances 318
comparison of methods 13 upgrade scenario 1 128
existing system, V5 server upgrade scenario 2 170
comparison with new system upgrade 13 upgrade scenario 3 218
new system, V7.1 server upgrade scenario 4 265
comparison with existing system upgrade 13 starting server 332
procedures Tivoli Storage Manager server 555
general purpose 277 wizards
new system, media method 177 See upgrade wizard description
new system, network method 225 worksheet
same system, media method 91 server space planning 42
same system, network method 135
process 12
server Z
overview 1 z/OS media server 439, 447
using command interface configuration 481
general upgrade procedures 307 data migration 482
upgrade scenario 1 120 defining 481
upgrade scenario 2 164 deleting backup sets 486
upgrade scenario 3 202 device migration 448
upgrade scenario 4 250 functionality 437
upgrading to V7 installation 481
reverting to V5 351 messages 453
upgrading to V7.1 server migrating data to other devices 507
general upgrade procedures 277 product overview 443
scenario procedures verifying migration prerequisites 486
new system, media method 177 ZMSPREPARE command
new system, network method 225 verify migration prerequisites 486
same system, media method 91 ZMSPREPARE command
same system, network method 135 preparing server on z/OS for migration 541
US English 551
user limits
setting
before server startup 326
utilities
See also upgrade utilities
changes in V7 51
deleted 65
DSMSERV LOADFORMAT 536
DSMUPGRD UPDATE 535
migrating V5 servers from AIX, HP-UX, or Solaris 363
new 51
updated 57
V
VARY command
troubleshooting 351
verifying upgrade
server operations 336
volume history information
backups before upgrade
general upgrade procedures 285
upgrade scenario 1 99
upgrade scenario 2 142
upgrade scenario 3 185
upgrade scenario 4 232
backups before z/OS migration 474
requirement for database recovery 5
volumes
deleting as part of the z/OS migration 503
Index 575
576 IBM Tivoli Storage Manager: Upgrade and Migration Guide for V5 Servers
Printed in USA