User Tools

Site Tools


tsm:tsm_hostname

TSM server change hostname

<box 100% red|Hostname and TSM instances> It can't be greater than 8 characters, with no reserved keywords, nor special characters. The instance name is invalid. It cannot:

be more than 8 characters long.
start with sql, ibm, or sys.
contain characters other than a-z, $, #, @, _, or 0-9.

</box>

For TSM v6 with Unix and Linux systems:

  • Take a backup of the TSM DB
  • Stop the TSM server
  • Stop DB2 instance and DB2 administration server

As root:

. /tsm/tsmh/config/sqllib/db2profile :
	db2admin stop
	db2stop
  • Change the hostname (smitty tcpip for an AIX server) and update the file /etc/hosts
  • As root:
	db2set -g DB2SYSTEM=<newhostname>

The commande db2set is located in the directory <instance directory>/sqllib/adm .

  • Check the value of DB2SYSTEM with the command:
	db2set -all 
  • Check the value of the parameter SPM name with the command:
	db2 get dbm cfg
  • If needed update the value with:
	db2 update dbm cfg using spm_name <hostname>
  • Edit the file db2nodes.cfg, in the directory <instance directory>/sqllib, this file contain the old hostname, change it:
	0 oldhostname 0 

After update:

	0 newhostname 0 
  • Move the file from same directory: fm.<old_hostname>.reg to the new hostname, and update the parameter NOTIFY_ADDRESS
  • As root:
# /usr/ibm/common/acsi/bin/de_chghostname.sh
  • Restart the TSM server
tsm/tsm_hostname.txt · Last modified: 2021/01/01 21:25 (external edit)