免费注册 查看新帖 |

Chinaunix

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

[故障求助] 并发vg 镜像的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-08-10 14:13 |只看该作者 |倒序浏览
请教一个问题:
  我在aix 下 用hacmp 建立了一个并发vg 。用做rac的共享vg。
然后我对这个共享vg 也就是datavg做了镜像。发现在做镜像的时候要停掉数据库。然后我就在两边停了数据库。
在其中一个节点上操作。 加入一个磁盘。对datavg 做镜像。
在做镜像的过程中是不能查看状态的。
# lsvg -l datavg
0516-1201 lsvg: Warning: Volume group datavg is locked. This command
        will continue retries until lock is free.  If lock is inadvertent
        and needs to be removed, execute 'chvg -u datavg'.
如果查看会提示说 vg 锁住的。


做完镜像后 在 启动ha的时候提示说:
在做同步校验的时候 提示下面错误:
Verifying Cluster Resources...

VerifyinCompleted 50 percent of the verification checks
VerifyinCompleted 60 percent of the verification checks
ERROR: The LVM time stamp for shared volume group: datavg is inconsistent
with the time stamp in the VGDA for the following nodes:
dbrac1
Starting Corrective Action: cl_resource_modify_vg_time_stamp.
Would you like to update VG: datavg timestamp on
node(s): dbrac1 for resource group: arg [Yes / No]:
Invalid response 'r resource group: arg [Yes / ', please try again.

Would you like to update VG: datavg timestamp on
node(s): dbrac1 for resource group: arg [Yes / No]:
Invalid response 'r resource gyes', please try again.


提示说ERROR: The LVM time stamp for shared volume group: datavg is inconsistent
with the time stamp in the VGDA for the following nodes:  好像时间戳不一致了。

论坛徽章:
0
2 [报告]
发表于 2011-08-10 14:20 |只看该作者
这样的报错,挺频繁的
做一次export/import才能解决问题

论坛徽章:
0
3 [报告]
发表于 2011-08-10 14:33 |只看该作者
我想问下 可以对 数据库的并发vg 做镜像吗

论坛徽章:
0
4 [报告]
发表于 2011-08-11 14:28 |只看该作者
当然可以啦

论坛徽章:
0
5 [报告]
发表于 2011-08-12 09:57 |只看该作者
1.rac跟hacmp是一个冲突的东东。
2.是不是你做的时候没有sync一下?

论坛徽章:
0
6 [报告]
发表于 2011-08-14 00:04 |只看该作者
最好的操作是把ha停掉
然后在一边做
然后import到另外一边
在启动ha
否则你在一边做了
另外一边是有可能认为状态不对

论坛徽章:
0
7 [报告]
发表于 2011-08-14 12:45 |只看该作者
你都不理人家的问题。
你只需回答YES or NO...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP