The procedure for upgrading a Tape Server that operates on an independent server is as follows.
The tasks required in step 4 differ depending on whether or not cluster operation is used.
9.4.1.1 Back up the tape management information
Save the tape management information from the pre-upgrade environment.
Uninstall the existing software product.
Install the new product version and configure the environment
9.4.1.4 Change or register server information
Non-cluster operation
In order to guarantee data consistency, perform server information change if necessary.
Cluster operation
Register the Tape Server.
9.4.1.5 Restore tape management information
Restore the tape management information saved from the uninstalled version.
9.4.1.6 Setting access path definitions
Set the access path definitions for the Tape Server.
9.4.1.7 Customize the Tape Server
Recover the Tape Server environment configuration.
Note
If the configuration is changed at the time of the upgrade
If the server name, IP address, or port numbers of the Storage Management server need to be changed during the upgrade, perform the above upgrade procedures, then perform the steps described in "Operating environment changes" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide".
Back up the tape server tape management information. The procedure is shown below.
Execute backup of the tape management information to the directory specified for the tape management information of the Tape Server. Refer to "Tape management information backup" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide Tape Backup Option" for details on the procedure.
Back up the tape manager-related definition files shown below.
/etc/opt/FJSVswstm/conf/devpath.conf
/etc/opt/FJSVswstm/conf/tsm.conf
/etc/opt/FJSVswstm/conf/tsmbkfile
/usr/bin/dsm.opt
/usr/bin/dsm.sys
Uninstall the Tape Server and the mandatory AdvancedCopy Manager Agent for a Tape Server.
The procedure is as follows:
For non-cluster operation
Stop the Tape Server daemon. Refer to "Starting and stopping daemons" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide for Tape Backup Option" for the execution procedure.
Uninstall the Tape Manager from the Tape Server. Refer to the appropriate version of the following manuals for Tape Manager uninstallation procedures.
AdvancedCopy Manager13.1
Refer to "Uninstall" under "Tape Manager uninstallation" in the "ETERNUS SF AdvancedCopy Manager Installation Guide".
AdvancedCopy Manager13.0 or earlier
Refer to "Uninstall" under "Tape Manager Unsetup" in "Unsetup" of the "ETERNUS SF AdvancedCopy Manager Tape Backup Installation Guide".
Delete the manually created startup file.
# /usr/bin/rm -rf /opt/FJSVswstm/* /etc/opt/FJSVswst[mu]/* /var/opt/FJSVswst[mr]/* # /usr/bin/rm -rf /opt/FJSVswstm /etc/opt/FJSVswst[mu] /var/opt/FJSVswst[mr] # /usr/bin/rm -f /etc/init.d/initTSM /etc/rc0.d/K00tsmsv /etc/rc2.d/S99tsmsv |
Uninstall the agent of AdvancedCopy Manager. For details, refer to the appropriate edition of the following manuals:
AdvancedCopy Manager13.1 or later
Refer to "Uninstall" under "Solaris/Linux/HP-UX/AIX" of "Agent Uninstallation" in the "ETERNUS SF AdvancedCopy Manager Installation Guide".
AdvancedCopy Manager13.0 or earlier
Refer to "Uninstall" under "Storage Server Unsetup" in "Unsetup" of the "ETERNUS SF AdvancedCopy Manager Installation Guide".
For cluster operation
If the Tape Server performs Tape Server tasks as cluster operations, cluster unsetup is required before performing uninstall.
Refer to "Tape Server task deletion" in the appropriate edition of the "Operator's Guide for cluster environment" for the procedures for executing cluster unsetup.
Install the new version of AdvancedCopy Manager. The procedure is as follows:
For non-cluster operation
Before the AdvancedCopy Manager Tape Manager can be installed on a Tape Server, this Tape Server must already have an Agent or Manager of AdvancedCopy Manager installed. Refer to "Chapter 4 Installation of the Agent" for the installation procedure for AdvancedCopy Manager Agent.
Install the Tape Manager that is required for the server to operate as a Tape Server. Refer to "Chapter 7 Installation of Tape Manager" for the Tape Manager installation procedure.
For cluster operation
Refer to "Installing Tape Manager functions" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide for cluster operations". Note that, when performing the "AdvancedCopy Manager installation" procedures under "Installing Tape Manager functions", the AdvancedCopy Manager Agent, which is mandatory software for a Tape Server, must be selected and installed.
Non-cluster operation
To guarantee data consistency, use GUI client or stgxfwcmmodsrv (Server information change command) at a command prompt to change the server information.
Using GUI client
Select and right click the Storage server from the site view.
Select the [Modify] option from the context menu, the [Modify Storage Server] dialogue is displayed. Click the [OK] button without changing anything in the display.
For details on how to use the GUI client, refer to "Modify Storage Server Information" in the "ETERNUS SF AdvancedCopy Manager GUI Operator's Guide."
Using commands
Specify the name of the Storage Management Server in the "-n" option, and execute stgxfwcmmodsrv (Server information change command) at a command prompt.
Refer to "stgxfwcmmodsrv (Server information change command)" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide" for information on using commands.
Cluster operation
Register the server where the operational environment was setup as a Tape Server.
Refer to "Registering Storage Servers" in the appropriate ETERNUS SF AdvancedCopy Manager Operator's Guide for information about this procedure.
Note
Changing the server information may fail due to the influence of the Java Plug-in cache. If changing the server information fails, use the following steps to clear the Java Plug-in cache at the GUI client, then re-execute the command. If the GUI client is running, clear the cache, then stop and restart the GUI client.
Select [Control Panel], then [Java Plug-in].
Select the [Cache] tab, then [Clear].
Restore the tape server tape management information. The procedure is shown below.
Note
In Cluster operation, the cluster setup must have been done before restoring the tape server tape management information.
Execute procedure 1 to 20 excluding procedure 11 and 19 refer to "Customizing Tape Server Transactions" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide for cluster environment".
Make sure the following shared disks are mounted, then restore the tape management information.
The shared disk for AdvancedCopy Manager shared data
The shared disk for AdvancedCopy Manager repository
The shared disk for TSM
Restore the tape server tape management information. The procedure is shown below.
Recover the tape management information that was backed up for the Tape Server. Refer to "Restoring tape management information" in the "ETERNUS SF AdvancedCopy Manager Operator's Guide Tape Backup Option" for the execution procedure.
Restore the backed up tape manager-related definition files shown below.
/etc/opt/FJSVswstm/conf/devpath.conf
/etc/opt/FJSVswstm/conf/tsm.conf
/etc/opt/FJSVswstm/conf/tsmbkfile
/usr/bin/dsm.opt
/usr/bin/dsm.sys
Updating TSM server daemon
Execute the following command to update the TSM server daemon information.
# TSMDB=<TSM database directory>; export TSMDB # DSMSERV_DIR=/opt/tivoli/tsm/server/bin; export DSMSERV_DIR # DSMSERV_CONFIG=$TSMDB/dsmserv.opt; export DSMSERV_CONFIG # cd $TSMDB # /opt/tivoli/tsm/server/bin/dsmserv UPGRADEDB : tsm: TAPESERVER1> halt # /opt/tivoli/tsm/server/bin/dsmserv : tsm: TAPESERVER1> halt |
After the command (dsmserv UPGRADEDB) execution, press the Enter key periodically (once per minute). When the prompt re-appears, the command is completed.
Then use the dsmserv command to check TSM server daemon started.
Set the Tape Server access path definitions.
Note
This procedure is required only for the ETERNUS DX60/DX80/DX90, ETERNUS DX400 series, ETERNUS2000, ETERNUS3000, ETERNUS4000 operating environments.
If the conditions below apply, implement the "Access path recovery" procedures.
If the conditions below do not apply, implement the "Resetting access path definitions" procedures.
The operating system of the Tape Server is not upgraded, and
GR multipath drivers continue to be used after the upgrade.
Access path recovery
Execute tboactmplbext (Tape Server upgrade settings command).
# /opt/FJSVswstm/bin/tboactmplbext /etc/opt/FJSVmplb/conf/mplb_ext_active was created. # |
For cluster operation, execute the upgrade settings command on the active node that currently references shared volumes. This command does not need to be executed on the standby node.
Note
If the tboactmplbext command is executed by mistake
If the tboactmplbext command is executed in unsuitable conditions, the backup function may not operate correctly. In this case refer to "tboactmplbext (Tape Server upgrade settings command)" in the ETERNUS SF AdvancedCopy Manager Operator's Guide for Tape Backup Option, to take the appropriate action.
Resetting access path definitions
Re-create the access paths and reset the access path definitions.
Note
The following procedure is required only for the ETERNUS DX60/DX80/DX90, ETERNUS DX400 series, ETERNUS2000, ETERNUS3000, ETERNUS4000 access path.
If the access paths used before the upgrade meet the following conditions, only execute step 4 and subsequent steps:
A total of four access paths are set, two each from the disks of CM0 and CM1 disk array units, and
The access paths used before the upgrade will continue to be used.
Execution procedure
Re-create access path partitions.
Refer to "Creating access path partitions" for the procedure.
Delete access path definition information.
Delete the definition information of the access paths used before the upgrade.
# rm -f /etc/opt/FJSVswstm/data/ctrl/.boxid_* # |
Reset the access path definition file.
Refer to "Setting the access path definition file" for the procedure.
Inspect the definition file.
Refer to "Definition file inspection" for the procedure.
ETERNUS DX60/DX80/DX90, ETERNUS DX400 series, ETERNUS2000, ETERNUS3000, ETERNUS4000 information collection.
Refer to "8.6.1.4 Collecting ETERNUS DX60/DX80/DX90, ETERNUS DX400 series, ETERNUS2000, ETERNUS3000, and ETERNUS4000 information" for the procedure.
Recover the Tape Server environment settings.
For non-cluster operation
If the following conditions apply, execute from Step 3. If these conditions do not apply, execute from Step 1.
[Conditions]
If the ETERNUS disk storage systems and LUN configurations are not changed
[Execution procedure]
Inspect the definition file.
Refer to "8.6.1.3 Checking Definition Files" for the execution procedure.
Collect ETERNUS DX60/DX80/DX90, ETERNUS DX400 series, ETERNUS2000, ETERNUS3000, ETERNUS4000 information
Refer to "8.6.1.4 Collecting ETERNUS DX60/DX80/DX90, ETERNUS DX400 series, ETERNUS2000, ETERNUS3000, and ETERNUS4000 information" for the execution procedure.
Note: This procedure is not required if ETERNUS DX60/DX80/DX90, ETERNUS DX400 series, ETERNUS2000, ETERNUS3000, ETERNUS4000 is not used in the operating environment.
Tape library driver settings
Refer to "Driver Configuration of Tape Library System" for the procedure.
Daemon automatic startup settings
Refer to "8.8 Configuring Automatic Activation of Daemons" for the execution procedure.
A pre-upgrade settings file for the TSM server daemon settings may exist. This procedure need not be executed if the file that is set by this procedure already exists.
TSM settings
TSM setting has to be same before upgraded. For details, refer to "8.9 TSM Configuration (the settings set after the daemon automatic start settings)".
For cluster operation
If the Tape Server performs Tape Server tasks as cluster operations, procedures for clusters are required.
Execute procedure 21 to 26, refer to "Customizing Tape Server Transactions" in the appropriate version of the "ETERNUS SF AdvancedCopy Manager Operator's Guide for cluster environment".
Note
The setting of procedure 24 "Set the TSM setting" has already been completed when restoring management information. Confirm that the setting is correct.