Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

nimadm migration from AIX 5.1 to AIX 5.2 TCB enable

Status
Not open for further replies.

McleanWJM

MIS
Aug 18, 2003
36
US
Got TCB on a 5.1 system and need to migration with nimadm's alt_disk_install. Got a tip for ya. Remove the odm setting , then migrate the nim client, then boot AIX 5.2 enable TCB then recreate /etc/security/sysck.cfg .
Here is the odm twiddle:
/usr/bin/odmget -q attribute=TCB_STATE PdAt | /usr/bin/sed 's/tcb_enabled/tcb_disabled/' | odmchange -o PdAt -q attribute=TCB_STATE
Then remove /etc/security/sysck.cfg and then create it again with a filelist of files to add.
for file in ` cat filelist `
do
/usr/bin/tcbck -a $file group mode owner type checksum
done
Now you are TCB enabled again and have done an alt_disk_install migration. If not the silly nim master checks for the ODM TCB flag and dies.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top