VMware虛擬環境下紅帽RHCS叢集使用vmware fencing失敗的原因彙總
首先,查詢當前Vsphere /esxi版本及系統版本,確保其在受支援列表中,詳情參閱紅帽的官方文件:
Virtualization Support for RHEL High Availability and Resilient Storage Clusters
https://access.redhat.com/node/29440
Fence Device and Agent Information for Red Hat Enterprise Linux
https://access.redhat.com/articles/28603
What are the requirements for using the fence agent fence_vmware_soap?
https://access.redhat.com/solutions/306233
根據紅帽給出的排錯步驟分析VMware Fence失敗的原因
How can I diagnose fence_vmware failures in RHEL 5, 6, or 7?
https://access.redhat.com/solutions/473603
如何在RHCS上配置VMware fencing ( fence_vmware_soap ) ?
https://access.redhat.com/zh_CN/solutions/694573
常見錯誤解決方法
1、 Unable to obtain correct plug status or plug is not available
對於RHEL5 升級至cman-2.0.115-96.el5之後的版本
對於RHEL6升級至fence-agents-3.1.5-10.el6_2.2 之後版本
如無法升級,可使用--plug引數指定虛擬機器完整清單路徑
https://access.redhat.com/solutions/62221
2、fence_vmware_soap does not function correctly against vSphere 5 SOAP API
https://access.redhat.com/solutions/66774
No handlers could be found for logger "suds.xsd.sxbasic"
Traceback (most recent call last):
File "/usr/sbin/fence_vmware_soap", line 175, in <module>
main()
File "/usr/sbin/fence_vmware_soap", line 160, in main
conn = soap_login(options)
File "/usr/sbin/fence_vmware_soap", line 24, in soap_login
conn = Client(url + "/vimService.wsdl")
File "/usr/lib/python2.6/site-packages/suds/client.py", line 112, in __init__
self.wsdl = reader.open(url)
File "/usr/lib/python2.6/site-packages/suds/reader.py", line 152, in open
d = self.fn(url, self.options)
File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 157, in __init__
self.open_imports()
File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 202, in
open_imports
imp.load(self)
File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 314, in load
d = Definitions(url, options)
File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 159, in __init__
self.build_schema()
File "/usr/lib/python2.6/site-packages/suds/wsdl.py", line 220, in
build_schema
self.schema = container.load(self.options)
File "/usr/lib/python2.6/site-packages/suds/xsd/schema.py", line 93, in load
child.open_imports(options)
File "/usr/lib/python2.6/site-packages/suds/xsd/schema.py", line 305, in
open_imports
imported = imp.open(options)
File "/usr/lib/python2.6/site-packages/suds/xsd/sxbasic.py", line 542, in
open
result = self.download(options)
File "/usr/lib/python2.6/site-packages/suds/xsd/sxbasic.py", line 567, in
download
raise Exception(msg)
Exception: imported schema (urn:reflect) at
(https://server:443/sdk/reflect-messagetypes.xsd),
failed