====== TSM server change hostname ======
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.
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=
The commande db2set is located in the 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
* Edit the file db2nodes.cfg, in the 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..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