pcs stonith not workingCIB not supported: validator 'pacemaker-2.0', release '3.0.9'PCS and...

How do you manage to study and have a balance in your life at the same time?

How to disambiguate between various meditation practices?

Remove ads in Viber for PC

Can a Beholder face its Antimagic Cone behind itself?

Do we know the problems the University of Manchester's Transistor Computer was intended to solve?

Function of the separated, individual solar cells on Telstar 1 and 2? Why were they "special"?

I have two helper functions that are the exact same, one executes and one doesn't. How come?

Received email from ISP saying one of my devices has malware

If the UK government illegally doesn't ask for article 50 extension, can parliament do it instead?

Advisor suggesting a change in the PhD research direction resulting in less theoretically intensive thesis. I am worrying about the implications

How did Gollum know Sauron was gathering the Haradrim to make war?

In Toy Story, are toys the only inanimate objects that become alive? And if so, why?

Why are Latin and Sanskrit called dead languages?

How could reincarnation magic be limited to prevent overuse?

One hour 10 min layover in Newark; International -> Domestic connection. Enough time to clear customs?

How does Harry wear the invisibility cloak?

Calculus Books, preferably Soviet.

How Total raw is calculated for Science pack 2?

Can a country avoid prosecution for crimes against humanity by denying it happened?

Which is the best password hashing algorithm in .NET Core?

Is torque as fundamental a concept as force?

Map a function that takes arguments in different levels of a list

My boss says "This will help us better view the utilization of your services." Does this mean my job is ending in this organisation?

Plotting level sets of the form f(x,y,c)==0



pcs stonith not working


CIB not supported: validator 'pacemaker-2.0', release '3.0.9'PCS and corosync/pacemakerDRBD - 'node1' not defined in your config (for this host) - Error when setting PrimaryMySQL Server monitor_20000 on node1 'not running' - HA Cluster - Pacemaker - Corosync - DRBDRHEL High-Availability Cluster using pcs, configuring service as a resourceCorosync/Pacemaker pcs equivalent commands to crmpcs cluster not moving resource when instructed to moveAdding (cifs, samba)Filesystem resource to PCSSetting up Pacemaker (pcs) with DRBDPCS Stonith (fencing) will kill two node cluster if first is down






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















i have 2 virtual centos7 nodes , root can login passwordless among themself,



i have configured stonith like this but the services are not coming up, fencing is not happening , im new to this, could someone help me rectify issue~



[root@node1 cluster]# pcs stonith create nub1 fence_virt pcmk_host_list="node1"
[root@node1 cluster]# pcs stonith create nub2 fence_virt pcmk_host_list="node2"
[root@node1 cluster]# pcs stonith show
nub1 (stonith:fence_virt): Stopped
nub2 (stonith:fence_virt): Stopped
[root@node1 cluster]#
[root@node1 cluster]#
[root@node1 cluster]#
[root@node1 cluster]#
[root@node1 cluster]# pcs status
Cluster name: mycluster
Stack: corosync
Current DC: node2 (version 1.1.15-11.el7_3.5-e174ec8) - partition with quorum
Last updated: Tue Jul 25 07:03:37 2017 Last change: Tue Jul 25 07:02:00 2017 by root via cibadmin on node1

2 nodes and 3 resources configured

Online: [ node1 node2 ]

Full list of resources:

ClusterIP (ocf::heartbeat:IPaddr2): Started node1
nub1 (stonith:fence_virt): Stopped
nub2 (stonith:fence_virt): Stopped

Failed Actions:
* nub1_start_0 on node1 'unknown error' (1): call=56, status=Error, exitreason='none',
last-rc-change='Tue Jul 25 07:01:34 2017', queued=0ms, exec=7006ms
* nub2_start_0 on node1 'unknown error' (1): call=58, status=Error, exitreason='none',
last-rc-change='Tue Jul 25 07:01:42 2017', queued=0ms, exec=7009ms
* nub1_start_0 on node2 'unknown error' (1): call=54, status=Error, exitreason='none',
last-rc-change='Tue Jul 25 07:01:26 2017', queued=0ms, exec=7010ms
* nub2_start_0 on node2 'unknown error' (1): call=60, status=Error, exitreason='none',
last-rc-change='Tue Jul 25 07:01:34 2017', queued=0ms, exec=7013ms


Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled





[root@node1 cluster]# pcs stonith fence node2
Error: unable to fence 'node2'
Command failed: No route to host

[root@node1 cluster]# pcs stonith fence nub2
Error: unable to fence 'nub2'
Command failed: No such device

[root@node1 cluster]# ping node2
PING node2 (192.168.100.102) 56(84) bytes of data.
64 bytes from node2 (192.168.100.102): icmp_seq=1 ttl=64 time=0.247 ms
64 bytes from node2 (192.168.100.102): icmp_seq=2 ttl=64 time=0.304 ms
^C
--- node2 ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1001ms
rtt min/avg/max/mdev = 0.247/0.275/0.304/0.032 ms









share|improve this question















bumped to the homepage by Community 1 hour ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.























    0















    i have 2 virtual centos7 nodes , root can login passwordless among themself,



    i have configured stonith like this but the services are not coming up, fencing is not happening , im new to this, could someone help me rectify issue~



    [root@node1 cluster]# pcs stonith create nub1 fence_virt pcmk_host_list="node1"
    [root@node1 cluster]# pcs stonith create nub2 fence_virt pcmk_host_list="node2"
    [root@node1 cluster]# pcs stonith show
    nub1 (stonith:fence_virt): Stopped
    nub2 (stonith:fence_virt): Stopped
    [root@node1 cluster]#
    [root@node1 cluster]#
    [root@node1 cluster]#
    [root@node1 cluster]#
    [root@node1 cluster]# pcs status
    Cluster name: mycluster
    Stack: corosync
    Current DC: node2 (version 1.1.15-11.el7_3.5-e174ec8) - partition with quorum
    Last updated: Tue Jul 25 07:03:37 2017 Last change: Tue Jul 25 07:02:00 2017 by root via cibadmin on node1

    2 nodes and 3 resources configured

    Online: [ node1 node2 ]

    Full list of resources:

    ClusterIP (ocf::heartbeat:IPaddr2): Started node1
    nub1 (stonith:fence_virt): Stopped
    nub2 (stonith:fence_virt): Stopped

    Failed Actions:
    * nub1_start_0 on node1 'unknown error' (1): call=56, status=Error, exitreason='none',
    last-rc-change='Tue Jul 25 07:01:34 2017', queued=0ms, exec=7006ms
    * nub2_start_0 on node1 'unknown error' (1): call=58, status=Error, exitreason='none',
    last-rc-change='Tue Jul 25 07:01:42 2017', queued=0ms, exec=7009ms
    * nub1_start_0 on node2 'unknown error' (1): call=54, status=Error, exitreason='none',
    last-rc-change='Tue Jul 25 07:01:26 2017', queued=0ms, exec=7010ms
    * nub2_start_0 on node2 'unknown error' (1): call=60, status=Error, exitreason='none',
    last-rc-change='Tue Jul 25 07:01:34 2017', queued=0ms, exec=7013ms


    Daemon Status:
    corosync: active/enabled
    pacemaker: active/enabled
    pcsd: active/enabled





    [root@node1 cluster]# pcs stonith fence node2
    Error: unable to fence 'node2'
    Command failed: No route to host

    [root@node1 cluster]# pcs stonith fence nub2
    Error: unable to fence 'nub2'
    Command failed: No such device

    [root@node1 cluster]# ping node2
    PING node2 (192.168.100.102) 56(84) bytes of data.
    64 bytes from node2 (192.168.100.102): icmp_seq=1 ttl=64 time=0.247 ms
    64 bytes from node2 (192.168.100.102): icmp_seq=2 ttl=64 time=0.304 ms
    ^C
    --- node2 ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1001ms
    rtt min/avg/max/mdev = 0.247/0.275/0.304/0.032 ms









    share|improve this question















    bumped to the homepage by Community 1 hour ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.



















      0












      0








      0








      i have 2 virtual centos7 nodes , root can login passwordless among themself,



      i have configured stonith like this but the services are not coming up, fencing is not happening , im new to this, could someone help me rectify issue~



      [root@node1 cluster]# pcs stonith create nub1 fence_virt pcmk_host_list="node1"
      [root@node1 cluster]# pcs stonith create nub2 fence_virt pcmk_host_list="node2"
      [root@node1 cluster]# pcs stonith show
      nub1 (stonith:fence_virt): Stopped
      nub2 (stonith:fence_virt): Stopped
      [root@node1 cluster]#
      [root@node1 cluster]#
      [root@node1 cluster]#
      [root@node1 cluster]#
      [root@node1 cluster]# pcs status
      Cluster name: mycluster
      Stack: corosync
      Current DC: node2 (version 1.1.15-11.el7_3.5-e174ec8) - partition with quorum
      Last updated: Tue Jul 25 07:03:37 2017 Last change: Tue Jul 25 07:02:00 2017 by root via cibadmin on node1

      2 nodes and 3 resources configured

      Online: [ node1 node2 ]

      Full list of resources:

      ClusterIP (ocf::heartbeat:IPaddr2): Started node1
      nub1 (stonith:fence_virt): Stopped
      nub2 (stonith:fence_virt): Stopped

      Failed Actions:
      * nub1_start_0 on node1 'unknown error' (1): call=56, status=Error, exitreason='none',
      last-rc-change='Tue Jul 25 07:01:34 2017', queued=0ms, exec=7006ms
      * nub2_start_0 on node1 'unknown error' (1): call=58, status=Error, exitreason='none',
      last-rc-change='Tue Jul 25 07:01:42 2017', queued=0ms, exec=7009ms
      * nub1_start_0 on node2 'unknown error' (1): call=54, status=Error, exitreason='none',
      last-rc-change='Tue Jul 25 07:01:26 2017', queued=0ms, exec=7010ms
      * nub2_start_0 on node2 'unknown error' (1): call=60, status=Error, exitreason='none',
      last-rc-change='Tue Jul 25 07:01:34 2017', queued=0ms, exec=7013ms


      Daemon Status:
      corosync: active/enabled
      pacemaker: active/enabled
      pcsd: active/enabled





      [root@node1 cluster]# pcs stonith fence node2
      Error: unable to fence 'node2'
      Command failed: No route to host

      [root@node1 cluster]# pcs stonith fence nub2
      Error: unable to fence 'nub2'
      Command failed: No such device

      [root@node1 cluster]# ping node2
      PING node2 (192.168.100.102) 56(84) bytes of data.
      64 bytes from node2 (192.168.100.102): icmp_seq=1 ttl=64 time=0.247 ms
      64 bytes from node2 (192.168.100.102): icmp_seq=2 ttl=64 time=0.304 ms
      ^C
      --- node2 ping statistics ---
      2 packets transmitted, 2 received, 0% packet loss, time 1001ms
      rtt min/avg/max/mdev = 0.247/0.275/0.304/0.032 ms









      share|improve this question














      i have 2 virtual centos7 nodes , root can login passwordless among themself,



      i have configured stonith like this but the services are not coming up, fencing is not happening , im new to this, could someone help me rectify issue~



      [root@node1 cluster]# pcs stonith create nub1 fence_virt pcmk_host_list="node1"
      [root@node1 cluster]# pcs stonith create nub2 fence_virt pcmk_host_list="node2"
      [root@node1 cluster]# pcs stonith show
      nub1 (stonith:fence_virt): Stopped
      nub2 (stonith:fence_virt): Stopped
      [root@node1 cluster]#
      [root@node1 cluster]#
      [root@node1 cluster]#
      [root@node1 cluster]#
      [root@node1 cluster]# pcs status
      Cluster name: mycluster
      Stack: corosync
      Current DC: node2 (version 1.1.15-11.el7_3.5-e174ec8) - partition with quorum
      Last updated: Tue Jul 25 07:03:37 2017 Last change: Tue Jul 25 07:02:00 2017 by root via cibadmin on node1

      2 nodes and 3 resources configured

      Online: [ node1 node2 ]

      Full list of resources:

      ClusterIP (ocf::heartbeat:IPaddr2): Started node1
      nub1 (stonith:fence_virt): Stopped
      nub2 (stonith:fence_virt): Stopped

      Failed Actions:
      * nub1_start_0 on node1 'unknown error' (1): call=56, status=Error, exitreason='none',
      last-rc-change='Tue Jul 25 07:01:34 2017', queued=0ms, exec=7006ms
      * nub2_start_0 on node1 'unknown error' (1): call=58, status=Error, exitreason='none',
      last-rc-change='Tue Jul 25 07:01:42 2017', queued=0ms, exec=7009ms
      * nub1_start_0 on node2 'unknown error' (1): call=54, status=Error, exitreason='none',
      last-rc-change='Tue Jul 25 07:01:26 2017', queued=0ms, exec=7010ms
      * nub2_start_0 on node2 'unknown error' (1): call=60, status=Error, exitreason='none',
      last-rc-change='Tue Jul 25 07:01:34 2017', queued=0ms, exec=7013ms


      Daemon Status:
      corosync: active/enabled
      pacemaker: active/enabled
      pcsd: active/enabled





      [root@node1 cluster]# pcs stonith fence node2
      Error: unable to fence 'node2'
      Command failed: No route to host

      [root@node1 cluster]# pcs stonith fence nub2
      Error: unable to fence 'nub2'
      Command failed: No such device

      [root@node1 cluster]# ping node2
      PING node2 (192.168.100.102) 56(84) bytes of data.
      64 bytes from node2 (192.168.100.102): icmp_seq=1 ttl=64 time=0.247 ms
      64 bytes from node2 (192.168.100.102): icmp_seq=2 ttl=64 time=0.304 ms
      ^C
      --- node2 ping statistics ---
      2 packets transmitted, 2 received, 0% packet loss, time 1001ms
      rtt min/avg/max/mdev = 0.247/0.275/0.304/0.032 ms






      pacemaker corosync pcs






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 25 '17 at 11:10









      Mohammed AliMohammed Ali

      1913 silver badges24 bronze badges




      1913 silver badges24 bronze badges






      bumped to the homepage by Community 1 hour ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.









      bumped to the homepage by Community 1 hour ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 1 hour ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
























          1 Answer
          1






          active

          oldest

          votes


















          0















          Take a look at the information needed for your fence agent: # pcs resource describe fence_virt



          Without seeing system logs, I'd guess you need to add the port= parameter to your STONITH device configurations. Those should be the machine names from the hypervisor's perspective.



          If that's not the case: # grep fence_virt /var/log/messages should get you pointed in the right direction.



          You'll also want to add location constraints to keep those devices running on the correct node; the device to fence nub1 should never run on nub1, and the device to fence nub2 should never run on nub2.






          share|improve this answer


























          • ah I resolved it with this! pcs stonith create iscsi-stonith-device fence_scsi pcmk_host_list="node1 node2" devices="/dev/disk/by-id/wwn-0x60014054e119057bacb487a85f9239cc" meta provides=unfencing

            – Mohammed Ali
            Aug 15 '17 at 13:37













          • That's a totally different fence agent, but whatever works for you I suppose.

            – Matt Kereczman
            Aug 15 '17 at 22:40














          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381657%2fpcs-stonith-not-working%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0















          Take a look at the information needed for your fence agent: # pcs resource describe fence_virt



          Without seeing system logs, I'd guess you need to add the port= parameter to your STONITH device configurations. Those should be the machine names from the hypervisor's perspective.



          If that's not the case: # grep fence_virt /var/log/messages should get you pointed in the right direction.



          You'll also want to add location constraints to keep those devices running on the correct node; the device to fence nub1 should never run on nub1, and the device to fence nub2 should never run on nub2.






          share|improve this answer


























          • ah I resolved it with this! pcs stonith create iscsi-stonith-device fence_scsi pcmk_host_list="node1 node2" devices="/dev/disk/by-id/wwn-0x60014054e119057bacb487a85f9239cc" meta provides=unfencing

            – Mohammed Ali
            Aug 15 '17 at 13:37













          • That's a totally different fence agent, but whatever works for you I suppose.

            – Matt Kereczman
            Aug 15 '17 at 22:40
















          0















          Take a look at the information needed for your fence agent: # pcs resource describe fence_virt



          Without seeing system logs, I'd guess you need to add the port= parameter to your STONITH device configurations. Those should be the machine names from the hypervisor's perspective.



          If that's not the case: # grep fence_virt /var/log/messages should get you pointed in the right direction.



          You'll also want to add location constraints to keep those devices running on the correct node; the device to fence nub1 should never run on nub1, and the device to fence nub2 should never run on nub2.






          share|improve this answer


























          • ah I resolved it with this! pcs stonith create iscsi-stonith-device fence_scsi pcmk_host_list="node1 node2" devices="/dev/disk/by-id/wwn-0x60014054e119057bacb487a85f9239cc" meta provides=unfencing

            – Mohammed Ali
            Aug 15 '17 at 13:37













          • That's a totally different fence agent, but whatever works for you I suppose.

            – Matt Kereczman
            Aug 15 '17 at 22:40














          0














          0










          0









          Take a look at the information needed for your fence agent: # pcs resource describe fence_virt



          Without seeing system logs, I'd guess you need to add the port= parameter to your STONITH device configurations. Those should be the machine names from the hypervisor's perspective.



          If that's not the case: # grep fence_virt /var/log/messages should get you pointed in the right direction.



          You'll also want to add location constraints to keep those devices running on the correct node; the device to fence nub1 should never run on nub1, and the device to fence nub2 should never run on nub2.






          share|improve this answer













          Take a look at the information needed for your fence agent: # pcs resource describe fence_virt



          Without seeing system logs, I'd guess you need to add the port= parameter to your STONITH device configurations. Those should be the machine names from the hypervisor's perspective.



          If that's not the case: # grep fence_virt /var/log/messages should get you pointed in the right direction.



          You'll also want to add location constraints to keep those devices running on the correct node; the device to fence nub1 should never run on nub1, and the device to fence nub2 should never run on nub2.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jul 27 '17 at 4:22









          Matt KereczmanMatt Kereczman

          5572 silver badges7 bronze badges




          5572 silver badges7 bronze badges
















          • ah I resolved it with this! pcs stonith create iscsi-stonith-device fence_scsi pcmk_host_list="node1 node2" devices="/dev/disk/by-id/wwn-0x60014054e119057bacb487a85f9239cc" meta provides=unfencing

            – Mohammed Ali
            Aug 15 '17 at 13:37













          • That's a totally different fence agent, but whatever works for you I suppose.

            – Matt Kereczman
            Aug 15 '17 at 22:40



















          • ah I resolved it with this! pcs stonith create iscsi-stonith-device fence_scsi pcmk_host_list="node1 node2" devices="/dev/disk/by-id/wwn-0x60014054e119057bacb487a85f9239cc" meta provides=unfencing

            – Mohammed Ali
            Aug 15 '17 at 13:37













          • That's a totally different fence agent, but whatever works for you I suppose.

            – Matt Kereczman
            Aug 15 '17 at 22:40

















          ah I resolved it with this! pcs stonith create iscsi-stonith-device fence_scsi pcmk_host_list="node1 node2" devices="/dev/disk/by-id/wwn-0x60014054e119057bacb487a85f9239cc" meta provides=unfencing

          – Mohammed Ali
          Aug 15 '17 at 13:37







          ah I resolved it with this! pcs stonith create iscsi-stonith-device fence_scsi pcmk_host_list="node1 node2" devices="/dev/disk/by-id/wwn-0x60014054e119057bacb487a85f9239cc" meta provides=unfencing

          – Mohammed Ali
          Aug 15 '17 at 13:37















          That's a totally different fence agent, but whatever works for you I suppose.

          – Matt Kereczman
          Aug 15 '17 at 22:40





          That's a totally different fence agent, but whatever works for you I suppose.

          – Matt Kereczman
          Aug 15 '17 at 22:40


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f381657%2fpcs-stonith-not-working%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...