在AIX下面用kdb来分析dump文件
2008.11.04 8:55 pm »Author: admin »很久以前写过一个文章在AIX下用kdb来分析一个僵死进程。这两天又碰到一次AIX系统dump。因为发生在周末,周一上班的时候,才发现有dump文件生成。
我们首先看看dump文件的生成的状态:
sysdumpdev -L
Device name: /dev/lg_dumplv
Major device number: 10
Minor device number: 10
Size: 276834867 bytes
Uncompressed Size: 1964289255 bytes
Date/Time: Sat Nov 1 12:48:04 2008
Dump status: 0
dump completed successfully.
2.抓取dump文件
snap -Dd /tmp/ibmsupt
3.Uncompress dump文件
/usr/bin/dmpuncompress DUMP.BZ
解压后,就可以开始使用kdb来debug dump文件了:
行走武汉-江滩
2008.10.30 8:51 pm »Author: admin »行走武汉-校园
2008.10.29 8:04 pm »Author: admin »行走武汉-轮渡
2008.10.29 7:40 pm »Author: admin »行走武汉-老建筑
2008.10.29 7:32 pm »Author: admin »行走武汉-东湖
2008.10.29 7:19 pm »Author: admin »使用Quest Vas来简化验证服务和身份管理
2008.10.18 12:38 pm »Author: admin »因为IT Audit,我负责的一个系统需要加入Active Directory里面,进行统一的身份验证和权限管理。所以抽空研究和部署了Quest Vas软件。发现这个东东真是一个相当不错的产品,极大的简化了多个异构平台的帐户统一管理和身份验证,而且”降低了IT审计的成本”.
特别是在一个多样化和一个庞大的组织架构里面,部署VAS,让AD来管理所有帐户,也就是AIX、Solaris 与各种 Linux 平台成为 Active Directory 的完全成员。。这样在Unix/Linux里面我们可以避免大部分的本地帐户管理。这就无需在每个非 Windows 系统上使用本地帐号,充分利用 AD中已有的安全身份验证并支持其它高级 AD功能。
以我的系统为例我在AIX部署VAS后,加入到AD Domain里面。本地维护人员用自己的AD ID登录,不管你登录的是经过统一验证后。如果需要操作数据库或者OS,可以sudo过去。这样他们根本不需要数据库用户密码或者root密码,同时还能保留完整的操作日志。而我的系统里面除了必要的帐户如root外,基本不用建立本地帐户。而用户ID,也完全受限于AD的组策略。


Traveling light
2008.10.01 9:10 am »Author: admin »Well I was doubling over the load on my shoulders
Was a weight I carried with me everyday
Crossing miles of frustrations and rivers a raging ,
Picking up stones I found along the way
I staggered and I stumbled down
Pathways of trouble
I was hauling those souvenirs of misery
And with each step taken my back was breaking
‘Til I found the One who took it all from me
Down by the riverside
(Down by the riverside)
I laid my burdens down,
Now I‘m traveling light
My spirit lifted high
(I found my freedom now)
I found my freedom now
And I‘m traveling light
Through the darkest alleys and loneliest valleys
I was dragging those heavy chains of doubt and fear
Then with the one word spoken the locks were broken
Now He‘s leading me to places
where there are no tears
Down by the riverside
(Down by the riverside)
I laid my burdens down,
Now I‘m traveling light
My spirit lifted high
(I found my freedom now)
I found my freedom now
And I‘m traveling light
Down by the riverside
I laid my burdens down,
Now I‘m traveling light
My spirit lifted high
I found my freedom now
And I‘m traveling light
Down by the riverside
(Down by the riverside)
I laid my burdens down,
Now I‘m traveling light
My spirit lifted high
(I found my freedom now)
I found my freedom now
And I’m traveling light….
提高DB2的可用性-Checks the integrity of DB2 Database
2008.09.30 8:14 pm »Author: admin »对于一个生产数据库,定时检查DB2 Database integrity是非常必要的。我的习惯是一般每天晚上定时去Inspect整个数据库。在DB2里面,有好几个办法Inspect数据库。
1)用Inspect这个命令:
2)用以下这个SQL:
db2 "select cast(TABSCHEMA as varchar(10))as TabSchema, cast(TABNAME as varchar(40)) as TabName, TbSpaceId,TableId from SYSCAT.TABLES where TbSpaceId=
3)检查db2dump里面的sid.nfy文件
2007-11-19-00.20.36.543780 Instance:inst6 Node:000
PID:929932(db2agent (PROPOSAL) 0) TID:1 Appid:LOCAL.db2test.051009052235
data management sqldLoadTCB Probe:4873 Database:SAPPROD
ADM5572I The index(es) on table "TBSPACEID=2.TABLEID=16" are marked invalid
and will require rebuilding. DB2 will automatically rebuild the index(es) on
this table, which will result in a super exclusive Z table lock for the
duration of the rebuild and the unit of work in which this is done.
看看谁在看我的BLOG
2008.09.14 10:12 pm »Author: admin »很好奇,到底谁在看我的BLOG,从Google的报告分析了一下,目前已经有来自包括巴西,斯里兰卡,印度等国家在内的朋友,访问过这个网站。呵呵,估计他们也是敲错域名了。从城市分布来看,派在前10名如下:
国家分布:

城市分布:








