亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 5308 | 回復: 4
打印 上一主題 下一主題

【問題解決】 centos 6.2 fence_vmware 的配置問題 [復制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2012-09-05 10:43 |只看該作者 |倒序瀏覽
本帖最后由 babyyellow 于 2012-09-12 18:27 編輯

在做 集群的測試:

heartbeat + corosync + pacemaker  

在配置stonith 的時候遇到了問題。

用的虛擬機,配置fence 的時候

在命令行可以用fence_vmware 控制虛擬機 :

fence_vmware --action=status --ip=192.168.x.x --username=xxx--password=xxxx --vmware_type=esx  --vmware-datacenter=xxx --plug=xxxx

是可以管理虛擬機的,

配置到pacemaker 的時候無法fence 虛擬機:

primitive vmvare_fencing_node96 stonith:fence_vmware \
        params ipaddr="192.168.x.x" login="xxx" passwd="xxx" vmware_type="esx" vmware_datacenter="xxx" pcmk_host_argument="-n dba-test-Cos6.2.64-x.x" action="reboot" debug="true" \
        op monitor interval="60s" \
        meta target-role="Started"


用stonith_adming  --reboot vmvare_fencing_node96  的時候日志報錯

Sep  5 17:56:43 cos6u2-x-96 stonith-ng[5030]:     info: stonith_command: Processed st_execute from lrmd: rc=-1
Sep  5 17:57:12 cos6u2-x-96 stonith-ng[5030]:     info: can_fence_host_with_device: vmvare_fencing_node95 can not fence vmvare_fencing_node96: static-list


請各位大俠賜教




論壇徽章:
0
2 [報告]
發(fā)表于 2012-09-05 12:37 |只看該作者
不是很明白,有更詳細的日志嗎?

有一點在意的地方,
為什么會是“static-list”,一般默認是“dynamic-list”吧,而且看你配置里沒特地設這個。
不過不管什么原因?qū)е隆皊tatic-list”,那貌似需要設置一下pcmk_host_list。

PS:heartbeat + corosync + pacemaker   =》 heartbeat / corosync + pacemaker ?
PPS:樓主搞定了話說下怎么解決的啊,有點感興趣。

論壇徽章:
0
3 [報告]
發(fā)表于 2012-09-10 15:31 |只看該作者
你好,可以咨詢一下,下面命令中的ip制定是虛擬機服務器的ip地址,username和password也是登錄該虛擬機服務器的驗證信息嗎?

fence_vmware --action=status --ip=192.168.x.x --username=xxx--password=xxxx --vmware_type=esx  --vmware-datacenter=xxx --plug=xxxx

回復 1# babyyellow


   

論壇徽章:
0
4 [報告]
發(fā)表于 2012-09-12 18:22 |只看該作者
回復 3# sentyapple


    ip 是虛擬機管理服務器的ip   vmware-datacenter 的ip  

論壇徽章:
0
5 [報告]
發(fā)表于 2012-09-12 18:27 |只看該作者
這個問題已經(jīng)解決了。

在pacemaker 中,  fence_vmvware 的一個示例配置:

primitive fence_vm96 stonith:fence_vmware \
        params ipaddr="192.168.x.x" login="user" passwd="passwd" vmware_datacenter="GZ-xxx" vmware_type="esx" action="reboot" port="dba-test-Cos6.xx" pcmk_reboot_action="reboot" pcmk_host_list="node95 node96" \
        op monitor interval="20" timeout="60s" \
        op start interval="0" timeout="60s" \
        meta target-role="Started"


port  對應的命令行的fence_vmware 的-n 選項  

ipadd 對應的 是fence_vmware 命令行執(zhí)行的 ip 選項



ipaddr 對應的  fence_vmware 的ip 選項。

希望可以對后來人有個幫助。
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP