0

我刚刚在我的电脑上创建了一个带有 RHEL 7.9 的虚拟 Redhat 集群,其中包含三个节点:

rhel79_a
rhel79_b
rhel79_c

我想使用围栏,但我认为我需要一些帮助。

我尝试使用以下命令创建围栏(fence_virt 类型):

pcs stonith create fence_rhel79_a_virt fence_virt port="rhel79_a" pcmk_host_list="rhel79_a"
pcs stonith create fence_rhel79_b_virt fence_virt port="rhel79_b" pcmk_host_list="rhel79_b"
pcs stonith create fence_rhel79_c_virt fence_virt port="rhel79_c" pcmk_host_list="rhel79_c"

但正如我所想,缺少了一些东西。确实 pcs status 命令给出了以下错误:

fence_rhel79_a_virt    (stonith:fence_virt):   Stopped
fence_rhel79_b_virt    (stonith:fence_virt):   Stopped
fence_rhel79_c_virt    (stonith:fence_virt):   Stopped

Failed Resource Actions:
* fence_rhel79_a_virt_start_0 on RHEL79_A 'unknown error' (1): call=20, status=Timed Out,     exitreason='',
last-rc-change='Tue May 11 18:42:51 2021', queued=0ms, exec=3043ms
* fence_rhel79_b_virt_start_0 on RHEL79_A 'unknown error' (1): call=26, status=Timed Out, exitreason='',
last-rc-change='Tue May 11 18:43:05 2021', queued=0ms, exec=3040ms
* fence_rhel79_c_virt_start_0 on RHEL79_A 'unknown error' (1): call=32, status=Timed Out, exitreason='',
last-rc-change='Tue May 11 18:43:15 2021', queued=0ms, exec=3028ms
* fence_rhel79_a_virt_start_0 on RHEL79_B 'unknown error' (1): call=20, status=Timed Out,   exitreason='',
last-rc-change='Tue May 11 18:42:53 2021', queued=0ms, exec=3020ms
* fence_rhel79_b_virt_start_0 on RHEL79_B 'unknown error' (1): call=26, status=Timed Out, exitreason='',
last-rc-change='Tue May 11 18:43:08 2021', queued=0ms, exec=3015ms
* fence_rhel79_c_virt_start_0 on RHEL79_B 'unknown error' (1): call=32, status=Timed Out, exitreason='',
last-rc-change='Tue May 11 18:43:17 2021', queued=0ms, exec=3025ms
* fence_rhel79_a_virt_start_0 on RHEL79_C 'unknown error' (1): call=20, status=Timed Out, exitreason='',
last-rc-change='Tue May 11 18:42:56 2021', queued=0ms, exec=3023ms
* fence_rhel79_b_virt_start_0 on RHEL79_C 'unknown error' (1): call=26, status=Timed Out, exitreason='',
last-rc-change='Tue May 11 18:43:10 2021', queued=0ms, exec=3020ms
* fence_rhel79_c_virt_start_0 on RHEL79_C 'unknown error' (1): call=32, status=Timed Out, exitreason='',
last-rc-change='Tue May 11 18:43:20 2021', queued=0ms, exec=3025ms

我是否必须创建一个新的服务器来创建一个隔离设备?必须如何创建它?

先感谢您

4

0 回答 0