1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VirtualDomain-resource-agentのlibvirtによるSTONITHに注意

Last updated at Posted at 2015-08-13

新しいresource-agnetのVirtualDomainを利用して、external/libvirt(reboot)を使ったfencingを行う場合に注意が必要。
これは、最近のVirtualDomainの影響で、以下の事象が起きる。

  1. VirtualDomainにてPacemaker管理のKVMゲストを起動
  2. external/libvirtを使うような故障が発生
  3. external/libvirtでdestroy後のstartに失敗して、fencingが失敗

現時点では、external/libvirt(off)で利用する方法しかない。

投入するCLI-file
(snip)
primitive Stonith1 stonith:external/libvirt \
  params \
    pcmk_reboot_timeout="40s" \
    pcmk_reboot_action="off" \ 
(snip)

原因は、VirtualDomainの制御とexternal/libvirtの連動が取れていないせい...

  1. VirtualDomainはcreateでゲストを起動
  2. external/libvirtはdestroyでゲストを停止
  3. createをdestroyしたので、virsh startはエラー
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?