To change the host name of a Tivoli® Storage
Manager server running
on a Windows system, back
up the database, stop the server, edit the DB2® configuration file, and restart the server.
Procedure
Use the following steps to change a host name when the Tivoli Storage
Manager server is
installed.
- Back up the Tivoli Storage
Manager database.
- Stop the Tivoli Storage
Manager server.
- Change the startup service of the Tivoli Storage
Manager server to
manual startup:
- In the Windows Services
Management Console, select TSM Server service.
- Right-click the service and click Properties.
- In the Startup Type field, select Manual.
- 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.
- 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:
Tip: The db2nodes.cfg file is
a hidden file. Ensure that you show all files by going to Windows Explorer and selecting 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>
- Change the Windows host
name, as described in the documentation for the Windows system that you are using.
- Restart the server.
- Update the security settings by running the following command:
db2extsec -a new_host_name\DB2ADMNS -u new_host_name\DB2USERS
- Start the Tivoli Storage
Manager server.
- Reset the startup service for Tivoli Storage
Manager server to
be automatic:
- In the Windows Services
Management Console, select TSM Server service.
- Right-click the service and click Properties.
- In the Startup Type field, select Automatic.