免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12下一页
最近访问板块 发新帖
查看: 6488 | 回复: 14
打印 上一主题 下一主题

[故障求助] os启动过程中hang住,能收集coredump吗 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-08-04 14:27 |只看该作者 |倒序浏览
aix5.3启动不起来了。想收集dump。能吗?

论坛徽章:
0
2 [报告]
发表于 2010-08-04 14:57 |只看该作者
应该不能,因为产生DUMP后要用SNAP收集然后发给IBM,可是你系统起不来了,就运行不了SNAP了....一般要先把机器弄起来再搞.

论坛徽章:
0
3 [报告]
发表于 2010-08-04 16:30 |只看该作者
起到哪里hang住啦?

论坛徽章:
10
处女座
日期:2015-01-22 16:08:50技术图书徽章
日期:2018-09-13 11:25:52技术图书徽章
日期:2018-09-13 11:25:45技术图书徽章
日期:2018-09-13 11:25:37技术图书徽章
日期:2018-09-13 11:25:29黑曼巴
日期:2018-06-04 09:03:192017金鸡报晓
日期:2017-01-10 15:19:56极客徽章
日期:2016-12-07 14:03:402015年迎新春徽章
日期:2015-03-04 09:50:28技术图书徽章
日期:2018-09-13 11:26:01
4 [报告]
发表于 2010-08-04 16:45 |只看该作者
HPUX的可以,在MP下面直接toc即可强行把内存中的信息dump到硬盘
AIX没有这功能吗?

论坛徽章:
0
5 [报告]
发表于 2010-08-04 20:45 |只看该作者
P5的话,可以手工通过OP强制dump

论坛徽章:
0
6 [报告]
发表于 2010-08-04 21:39 |只看该作者
可以产生hang的时候的dump,asmi当中可以

论坛徽章:
0
7 [报告]
发表于 2010-08-05 02:08 |只看该作者
应该不能,因为产生DUMP后要用SNAP收集然后发给IBM,可是你系统起不来了,就运行不了SNAP了....一般要先把机器 ...
树袋熊 发表于 2010-08-04 14:57



    不要乱说哦

论坛徽章:
0
8 [报告]
发表于 2010-08-05 13:25 |只看该作者
本帖最后由 树袋熊 于 2010-08-05 14:26 编辑
不要乱说哦
我老婆黑社会 发表于 2010-08-05 02:08



我不好我检讨,我不对我有罪.因为你老婆是黑社会就来砍我,5555555555

因为平时我们基本上机器都能起的来,HANG了就直接交给IBM硬件人员,所以粗略的想了一下就回答了上面的问题.不过回答也是有根据地.
我翻两个文档如下,
1.aix6.1 information
http://publib.boulder.ibm.com/in ... a5/manage_dumps.htm
做系统DUMP,4种方法:
Using the Command Line
Using SMIT
Using the Reset Button
Using Special Key Sequences
完成以后需要拷贝DUMP到相关的地方.因为AIX系统起不了,所以这个拷贝的过程做不了.
虽然是5.3的系统,但是使用6.3文档也不该会错.
2.Power7 Systems
http://publib.boulder.ibm.com/in ... 5/copy_platform.htm
3种DUMP,RESOURE DUMP,SYSTEM DUMP, SERVICE PROCESSOR DUMP.
RESOURCE DUMP 是在线做的,不是我们需要的.
后面两个一般是我们需要,通常我们说DUMP一般就指SYSTEM DUMP, 而不是SERVICE PROCESSOR DUMP.
系统DUMP产生的方法介绍如下:
Using the ASMI to perform a system dump
You can use the Advanced System Management Interface (ASMI) to initiate a system dump in order to capture overall system information, system processor state, hardware scan rings, caches, and other information.
The system dump information can be used to resolve a hardware or server firmware problem. A system dump can also be automatically initiated after a system malfunction, such as a checkstop or hang.
Note: Use this procedure only under the direction of your service provider.
To perform this operation, your authority level must be one of the following:
Administrator
Authorized service provider
To initiate a system dump, perform the following steps:
Perform a controlled shutdown of all operating systems if possible.
On the ASMI Welcome pane, specify your user ID and password, and click Log In.
In the navigation area, expand System Service Aids and click System dump.
To save the setting changes and instruct the system to immediately process a dump with the current settings, click Save settings and initiate dump.
For information about copying, reporting, and deleting the dump, see managing dumps.

我们跳过所有的步骤直接到最后一行,For information about copying, reporting, and deleting the dump, see managing dumps.
这个部分是提交你DUMP的方法.那么方法是怎么说的呢?
Copying a dump
Use this procedure to copy a current platform dump or current main storage dump when the Main Storage Dump auto copy option is disabled. Once you copy the current dump, another dump of the same type can be created.
Note: If you have an Hardware Management Console (HMC), you must manage your platform dumps with the HMC. However, you will need to manage IBM® i main storage dumps with the IBM i service tools.
Using the AIX commands to copy a dump <copy_platform_aix.htm>
Platform dumps are saved in an AIX&reg; directory where you can use AIX commands to copy a dump.
Using the IBM i service tools to copy a dump <copy_platform_i5os.htm>
You can use the IBM i service tools to copy a platform or a main storage dump.
Using the Linux command line to copy a dump <copy_platform_linux.htm>

Using the AIX commands to copy a dump
Platform dumps are saved in an AIX&reg; directory where you can use AIX commands to copy a dump.
Copy the dump only if you are directed to do so by your next level of support or service provider.
Note: If you have an Hardware Management Console (HMC), you must manage your platform dumps with the HMC.
Platform dumps are saved in AIX under the following directory:
/var/adm/ras/platform
Note: If the AIX logical partition becomes the service partition after it was installed, run the following command to create this directory:
platform_dump -f jfs2
or
platform_dump -f jfs
This command will create the /var/adm/ras/platform file system. This was done automatically during installation if the AIX logical partition was marked as the service partition before it was installed
看最后一句,DUMP在那里呢?在AIX的系统上....那个系统上呢?SERVICE PARITION.你安装AIX到SERVICE PARTITION吗?多数系统不这样来做地.
不过你说为了拿这个DUMP我安装AIX到SERVICE PARTITION上,你能否成功还未可知,因为你的系统起不来.
还有就是你的系统有SERVICE PARTITION吗?如果你没有那就更不能搞了.

所以迅速的答案就是做不了,按我们版主的建议去做,你停在那个数字上了?然后去纠错.
不过既然敢砍人那还是有本事地,请指教.至少我们可以把DUMP搞透.

论坛徽章:
0
9 [报告]
发表于 2010-08-10 09:31 |只看该作者
我只知道P5的ASMI中可以,可以做sysdump,也可以做platform dump,前面的液晶控制面板也可以做,
2 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Use the Increment or Decrement buttons to scroll to function
22.
2 2 _ _ _ _ 0 0 _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Press Enter to start function 22.
A 1 0 0 3 0 2 2 _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Displays the partition dump verification system reference
code (SRC).
2 2 _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Use the Increment or Decrement buttons to scroll to function
22.
2 2 _ _ _ _ 0 0 _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Press Enter to start function 22.

论坛徽章:
0
10 [报告]
发表于 2010-08-10 12:19 |只看该作者
回复 9# LN_枫

俺来向你学习一下.
    做完以后,把DUMP送给IBM做分析,你的DUMP在那里呢?不能按完钮就走人了吧?你如何把你的DUMP发给IBM?
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP