免费注册 查看新帖 |

Chinaunix

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

aix hacmp: B机datavg concurrent起不来 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2010-06-30 13:59 |只看该作者 |倒序浏览
两台p550做oracle rac,昨天异常断电,重启后:
A机hacmp,rac都能够正常启动
B机hacmp启动时提示:
#smitty clstart
WARNING: The HACMP timestamp file for shared volume group: datavg is inconsistent
with the time stamp in the VGDA for the following nodes: p550b
#lspv 发现datavg 没有concurrent

不知道下一步该怎么处理?
请教各位了。。。

论坛徽章:
0
2 [报告]
发表于 2010-06-30 14:03 |只看该作者
#smitty hacmp
system Management (C-SPOC)
HACMP Concurrent Logical Volume Management
Concurrent Volume Groups
Import a Concurrent Volume Group

不知道在是不是这里面从A机import Concurrent vg的信息?
有做过这些操作的朋友吗?
请赐教!

论坛徽章:
0
3 [报告]
发表于 2010-06-30 15:22 |只看该作者
我记得是用cluster verify 然后系统会提示你是否FIX it, 选YES就搞定了,以前我碰到过一次,这个网上也有介绍的:
ERROR: The HACMP timestamp file for shared volume group: datavg is inconsistent
with the time stamp in the VGDA for the following nodes: test2
Starting Corrective Action: cl_resource_modify_vg_time_stamp.
___________________________________________________________________________________
Would you like to re-import shared VG: odps_datavg in resource group testvg3 to obtain
the file system:  on node: test2  [Yes / No]:
<01> Volume group: odps_datavg will not be imported onto node: test2

论坛徽章:
0
4 [报告]
发表于 2010-06-30 17:33 |只看该作者
楼上的,自动fix的话,需要hacmp5.4之后吧
在verify的选项中把一个自动修正的选项选成yes吧
手工的话,就是重新exportvg/importvg

论坛徽章:
0
5 [报告]
发表于 2010-07-01 09:56 |只看该作者
我建议你用自动fix,以前我自己做过,没有问题.手工做也可以:
下面是有人建议的手工流程,很经典的:
http://portal.explico.de/en/foru ... d=353&Itemid=26


Re:How to synchronize VG timestamps?? 4 Months, 1 Week ago     
Lets make things a little bit more easier:

- HACMP 5.4.1 => No timestamp file => timestamp is compared to the value in the ODM
- No enhanced Concuurent Mode VG => Terms active/passive do not apply

To determine the real state, execute the following command on both nodes:

lsattr -El <vgname>

The output contains a value named timestamp => this is the value which HACMP will compare to the actual value on the VG.

Now, on the node where the VG is currently varied on, execute the following command an any disk contained in this VG, e.g. hdisk4:

lqueryvg -p hdisk4 -T

This command will read the timestamp directly from the disk. The value should be the same as given by the lsattr command.
If HACMP warns you about a timestamp Problem. the lsattr Command will show a different value on at least one of the nodes. To correct this problem, you need to use a command which reads the timestamp from the disk and writes it to the ODM => this is what synclvodm odm does. importvg -L should work as well as it will call synclvodm (this would be the better choice anyway as importvg is high level command).

In order to be able to call importvg -L, the disks of the VG need to be accessible. In non-concurremt environments, access is usually blocked through SCSI3 disk reservation.

Assuming node 1 has currently the VG online, and node 2 needs to execute importvg -L doe the follwoing:

on node 1: varyonvg -b -u -n <vgname> # this will break the reservation

on node 2: importvg -L <vgname> # this should update the time stamp in your ODM
on node 2: lsattr -El <vgname> # verify if the value has really changed

one node 1: restore the reservation with the following command: varyonvg -n <vgname>

What C-SPOC calls are some pretty complicated functions - not so easy to track if you are not really familiar to it. The easiest way to check what C-SPOC finally did, is to look in the logfile /tmp/cspoc.log or /var/hacmp/log/cspoc.log on the initiating node.

A final word:

As long as no mount is issued, no consistency problem can appear.

Frank

论坛徽章:
0
6 [报告]
发表于 2010-07-01 09:57 |只看该作者
现在多数AIX系统是5.3/6.1,HA就是5.4/5.5其他的版本IBM应该不再提供支持了,单签的除外.

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
7 [报告]
发表于 2010-07-02 10:51 |只看该作者
HA异常停止,启动HA之前推荐先做同步校验。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP