Hi,
OS is AIX 5.1, HACMP 5.1, DB2 8.2, TSM 5.2.6
Db2 backup will fail with the error message
"SQL2062N An error occurred while accessing media
"/rmdata/REGION17/db2home/sqllib/adsm/libtsm.a". Reason code: "168"."
We have multiple nodes running on the same box HA env. however node REF01 and REG17 do not have failover capability. REF01 has been configured for root backup hence using /etc/security/adsm/TSM.PWD. REG17 has been setup with Passworddir /myown/path/to_passwdfile/ . I have reset the ba/api password several times using update node(TSM SERVER) and dsmpwapi for REG17. DB2 instance runs with the profile for REG17 but whenever i su - REG17 and do a db2 backup i get the error above and i have noticed it tries to use /etc/security/adsm/TSM.PWD even though i have set the PASSworddir in dsm.sys to a different path. I realised this by renaming /etc/security/adsm/TSM.PWD to TSM.old. dsmapipw is run with env set for REG17 and the file TSM.PWD in /myown/path/to_passwdfile/ gets updated.
when i rename the file etc/security/adsm/ to TSM.PWD, and run a db2 backup for REG17 it works, but a db2adut query full db REG17 does'nt show the backups, whereas running db2adutl as root shows the backups..
How can i get REG17 to read its TSM.PWD specified in dsm.sys when running a DB2 backup...
cheers
W.
OS is AIX 5.1, HACMP 5.1, DB2 8.2, TSM 5.2.6
Db2 backup will fail with the error message
"SQL2062N An error occurred while accessing media
"/rmdata/REGION17/db2home/sqllib/adsm/libtsm.a". Reason code: "168"."
We have multiple nodes running on the same box HA env. however node REF01 and REG17 do not have failover capability. REF01 has been configured for root backup hence using /etc/security/adsm/TSM.PWD. REG17 has been setup with Passworddir /myown/path/to_passwdfile/ . I have reset the ba/api password several times using update node(TSM SERVER) and dsmpwapi for REG17. DB2 instance runs with the profile for REG17 but whenever i su - REG17 and do a db2 backup i get the error above and i have noticed it tries to use /etc/security/adsm/TSM.PWD even though i have set the PASSworddir in dsm.sys to a different path. I realised this by renaming /etc/security/adsm/TSM.PWD to TSM.old. dsmapipw is run with env set for REG17 and the file TSM.PWD in /myown/path/to_passwdfile/ gets updated.
when i rename the file etc/security/adsm/ to TSM.PWD, and run a db2 backup for REG17 it works, but a db2adut query full db REG17 does'nt show the backups, whereas running db2adutl as root shows the backups..
How can i get REG17 to read its TSM.PWD specified in dsm.sys when running a DB2 backup...
cheers
W.