<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:
As root:
. /tsm/tsmh/config/sqllib/db2profile : db2admin stop db2stop
db2set -g DB2SYSTEM=<newhostname>
The commande db2set is located in the directory <instance directory>/sqllib/adm .
db2set -all
db2 get dbm cfg
db2 update dbm cfg using spm_name <hostname>
0 oldhostname 0
After update:
0 newhostname 0
# /usr/ibm/common/acsi/bin/de_chghostname.sh