I am using db2 11.5.4 on linux and want to change the hostname in host and db2
if I read the doc :
4) Login as user ROOT if DB2 is on UNIX/Linux and Local Administrator on Windows. Update the DB2SYSTEM registry variable while in the instance home directory:
db2set -g DB2SYSTEM=<new hostname>
but as root : positioned in instance home it will not find db2set so I specified
sqllib/adm/db2set -g DB2SYSTEM=pacemkrp and no error
su - db2ins11
[db2ins11@pacemkrp ~]$ db2set -all
[i] DB2COMM=TCPIP
[g] DB2SYSTEM=pacemkrs.localdomain
the hostname has not changed - although I have done this before and worked
any idea why this is not working or is there another way
------------------------------
Thanks for all answers
Best Regards,
Guy Przytula
------------------------------
#Db2