标题: 请问大家TCB的一些东西
luweinet (^[L|l]weiNet$)
LU小天使
Rank: 3Rank: 3


UID 42295
精华 2
积分 466
帖子 651
活跃指数 60
LU金币 877 个
LU金条 0 个
阅读权限 20
注册 2006-3-13
来自 Hangzhou,China
 
发表于 2008-5-11 14:54  资料  个人空间  短消息  加为好友  添加 luweinet 为MSN好友 通过MSN和 luweinet 交谈 QQ
Switch off TCB (Trusted Computing Base)
I wanted to do an "Alternate Disk Migration" via my NIM server to update several clients (all LPARs in a p670) from 5.1 ML6 to 5.2 ML3. As a prerequisite the procedure says "if the system has the Trusted Computing Base enabled it has to be switched off before".

Well, i didn't give this too much consideration when planning the migration, surely how to switch it off is somewhere in the OS manual, right?

Or so i thought. After feeling like an idiot for not knowing how to do it and not even be able to find it in the manual i started asking colleagues - no luck. After consulting several Usenet newsgroups (comp.os.unix.aix, etc.) and Unix boards (like www.unix.com) and finding out that the question has been asked two or three times but never been answered I felt less like an idiot - misery loves company.

So at last I gave IBM a call and opened a PMR - and, since i was already running out of time in my service window, i opened a Prio1-call for the first time in my life. I told them what i wanted ("disable TCB, the Trusted Computing Base") and was told i will be called back. The phone rang within ten minutes and the first phonecall went like like this:

IBM Technician (IT) (utterly self-confident): "So, you want to switch off TCP/IP. Fine, go to SMIT..."
Me (ME): "Sorry to interrupt you, but i said quite clearly: I'd like to disable *TCB*, the Trusted Computing Base."
IT (less confident now): "Oh, .... Why?"
ME: "I want to do an Alternate Disk Migration and as a prerequisite the procedure reads 'TCB will have to be disabled', so I want to do exactly that. Alas, the whole OS manual doesn't say anything about how to disable it."
IT (trying to regain some composure): "Well, it can only be switched on during installation...."
ME: "I *know* how to *enable* it, how is it disabled?"
IT: "hmm, Uhmmm, yes, ... I will have to consult the manual."
ME (dryly): "There i have looked already and it doesn't cover the issue."
IT: "Uhm, yes, but we have internal papers...."

Well so far the first call. To be just it has to be said that he called me back half an hour later and sent me an email complete with the procedure and an explanation why it would have to be disabled (NFS can't provide all the information about the files being installed which TCB would need to keep its database. IBM calls the information missing "file metadata").

Further, if you plan to do the same, be warned: disabling TCB means installing/migrating without TCB so you can't reenable it after the migration (why would anyone want to, anyway?).

Ladies and Gentlemen, for the first time in the world, up to now unanswered in public newsgroups, here is the correct way to disable the TCB mentioned so casually in the Alternate Disk Migration procedure:

Code:

odmget -q attribute=TCB_STATE PdAt | sed 's/tcb_enabled/tcb_disabled/' | odmchange -o PdAt -q attribute=TCB_STATE

And, as an added bonus, here is how to enable tcbck after the migration again (of course, without TCB being reenabled, the effect of disabling it is permanent):

Code:

odmget -q attribute=TCB_STATE PdAt | sed 's/tcb_disabled/tcb_enabled/' | odmchange -o PdAt -q attribute=TCB_STATE

Hope this helps.

:lu4:





答案在风中飘扬...
mail:luweinet@126.com
顶部
[广告] IBM HACMP 资源中心正式发布
traveller2
LU幼天使
Rank: 2


UID 88852
精华 1
积分 175
帖子 71
活跃指数 18
LU金币 266 个
LU金条 0 个
阅读权限 20
注册 2007-4-26
 
发表于 2008-5-11 15:12  资料  个人空间  短消息  加为好友 
odmget -q attribute=TCB_STATE PdAt | sed 's/tcb_enabled/tcb_disabled/' | odmchange -o PdAt -q attribute=TCB_STATE

只这一条命令意义不大,等你修正权限的脚本

顶部
[广告] IBM HACMP 资源中心正式发布
shl1129
LU新生
Rank: 1



UID 102559
精华 0
积分 8
帖子 14
活跃指数 4
LU金币 18 个
LU金条 0 个
阅读权限 10
注册 2008-2-20
 
发表于 2008-5-12 09:42  资料  个人空间  短消息  加为好友 
我的错,都是我的错,稀里糊涂把TCB装上了,¥¥靠你写脚本了,写好了我再装下试试

顶部
[广告] IBM HACMP 资源中心正式发布
shl1129
LU新生
Rank: 1



UID 102559
精华 0
积分 8
帖子 14
活跃指数 4
LU金币 18 个
LU金条 0 个
阅读权限 10
注册 2008-2-20
 
发表于 2008-5-12 10:10  资料  个人空间  短消息  加为好友 
貌似卸载bos.rte.security文件集可以移除TCB

It is important to note that you can enable TCB only at installation time. If you set
the attribute to YES, the install process installs the bos.rte.security fileset and
you can configure TCB. If you decide not to install TCB, you will have to reinstall
the operating system to enable TCB at a later stage. TCB can be removed by
removing the bos.rte.security fileset from the system.

顶部
[广告] IBM HACMP 资源中心正式发布
胖胖猪
LU幼天使
Rank: 2


UID 104606
精华 1
积分 51
帖子 89
活跃指数 18
LU金币 210 个
LU金条 0 个
阅读权限 20
注册 2008-3-31
 
发表于 2008-5-12 18:06  资料  个人空间  短消息  加为好友 
如果安装了T可以在系统中通过卸装bos.rte.security软件包来卸载吧

顶部
[广告] IBM HACMP 资源中心正式发布
yddll
技术专家
Rank: 14Rank: 14Rank: 14Rank: 14
Leave blank


UID 212
精华 3
积分 1231
帖子 1979
活跃指数 50
LU金币 1792 个
LU金条 5500 个
阅读权限 200
注册 2003-9-29
 
发表于 2008-5-12 23:15  资料  个人空间  短消息  加为好友 
以前是不行的,现在没注意了





老人新手。
顶部
[广告] IBM HACMP 资源中心正式发布
xuandhe
LU小天使
Rank: 3Rank: 3



UID 28558
精华 0
积分 277
帖子 417
活跃指数 9
LU金币 2446 个
LU金条 0 个
阅读权限 20
注册 2004-12-27
 
发表于 2008-5-13 08:54  资料  个人空间  短消息  加为好友  添加 xuandhe 为MSN好友 通过MSN和 xuandhe 交谈 QQ


QUOTE:
原帖由 shl1129 于 2008-5-12 10:10 发表
貌似卸载bos.rte.security文件集可以移除TCB

It is important to note that you can enable TCB only at installation time. If you set
the attribute to YES, the install process installs the bos.rte. ...

照这种说法,应该是可以的,但亦没有测试,不好乱说





懂一点aix,懂一点网络,懂一点pcserver,懂一点.......
qq:69218529                        
msn:xuandhe@hotmail.com
南京     承接南京及周边地区小机和数据库相关安装调试
顶部
[广告] IBM HACMP 资源中心正式发布
 



当前时区 GMT+8, 现在时间是 2008-5-17 07:33
乐悠LoveUnix论坛-京ICP备05005823号

Thanks to Discuz!  © 2001-2007    Power by LoveUnix.net
Processed in 0.063094 second(s), 6 queries , Gzip enabled

清除 Cookies - 联系我们 - 乐悠LoveUnix - Archiver - WAP