keepalived service is not down despite I turned it down The Next CEO of Stack...

Does Germany produce more waste than the US?

How to implement Comparable so it is consistent with identity-equality

Simplify trigonometric expression using trigonometric identities

Prodigo = pro + ago?

Find a path from s to t using as few red nodes as possible

Read/write a pipe-delimited file line by line with some simple text manipulation

Find the majority element, which appears more than half the time

How do I keep Mac Emacs from trapping M-`?

How to compactly explain secondary and tertiary characters without resorting to stereotypes?

Free fall ellipse or parabola?

How to pronounce fünf in 45

Shortening a title without changing its meaning

Is the offspring between a demon and a celestial possible? If so what is it called and is it in a book somewhere?

Is it reasonable to ask other researchers to send me their previous grant applications?

How dangerous is XSS

Incomplete cube

Calculate the Mean mean of two numbers

Salesforce opportunity stages

Can I cast Thunderwave and be at the center of its bottom face, but not be affected by it?

How badly should I try to prevent a user from XSSing themselves?

Is a linearly independent set whose span is dense a Schauder basis?

Why can't we say "I have been having a dog"?

Why does freezing point matter when picking cooler ice packs?

How do I secure a TV wall mount?



keepalived service is not down despite I turned it down



The Next CEO of Stack OverflowKeepalived not honoring nopreemptquery keepalivedMake keepalived send 0 priority when going to FAULT stateMultimaster Keepalived Configuration (Virtual IP with Load Balancing)VIP not dropping from backup keepalivedHow to see keepalived priority number when it changedkeepalived VRRP_script not failing overUnable to connect to MASTER: Resource temporarily unavailable : Connecting to MASTER no:0Ubuntu 16.04, Keepalived VMACKeepalived - How to change master owner when node goes down?












0















For high availability I have two servers: 172.24.4.51 and 172.24.4.52 and virutal ip is 172.24.4.53. The master is 172.24.4.51 and backup is 172.24.4.52.
I'm on 172.24.4.51 and then I made systemctl stop keepalived but keepalived services is still alived on that server. I made kill -9 to keepalived's process but then these process are recreated again automatically. And I made systemctl staus keepalived and the status shows Loaded: loadeded, Active: inactive but it keeps alived. I made ip a and I see the virtual ip active.



I'm giving you keepalived configuration



What could it be happening?



vrrp_script chk_haproxy {
script "killall -0 haproxy" # verify the pid existance
interval 2 # check every 2 seconds
weight 2 # add 2 points of prio if OK
}

vrrp_instance VI_1 {
interface ens192 # interface to monitor
state MASTER
virtual_router_id 51 # Assign one ID for this route
priority 101 # 101 on master, 100 on backup
unicast_src_ip 172.24.4.51
unicast_peer {
172.24.4.52
}
virtual_ipaddress {
172.24.4.53 # the virtual IP
}
track_script {
chk_haproxy
}

notify_master /etc/keepalived/master.sh
}








share



























    0















    For high availability I have two servers: 172.24.4.51 and 172.24.4.52 and virutal ip is 172.24.4.53. The master is 172.24.4.51 and backup is 172.24.4.52.
    I'm on 172.24.4.51 and then I made systemctl stop keepalived but keepalived services is still alived on that server. I made kill -9 to keepalived's process but then these process are recreated again automatically. And I made systemctl staus keepalived and the status shows Loaded: loadeded, Active: inactive but it keeps alived. I made ip a and I see the virtual ip active.



    I'm giving you keepalived configuration



    What could it be happening?



    vrrp_script chk_haproxy {
    script "killall -0 haproxy" # verify the pid existance
    interval 2 # check every 2 seconds
    weight 2 # add 2 points of prio if OK
    }

    vrrp_instance VI_1 {
    interface ens192 # interface to monitor
    state MASTER
    virtual_router_id 51 # Assign one ID for this route
    priority 101 # 101 on master, 100 on backup
    unicast_src_ip 172.24.4.51
    unicast_peer {
    172.24.4.52
    }
    virtual_ipaddress {
    172.24.4.53 # the virtual IP
    }
    track_script {
    chk_haproxy
    }

    notify_master /etc/keepalived/master.sh
    }








    share

























      0












      0








      0








      For high availability I have two servers: 172.24.4.51 and 172.24.4.52 and virutal ip is 172.24.4.53. The master is 172.24.4.51 and backup is 172.24.4.52.
      I'm on 172.24.4.51 and then I made systemctl stop keepalived but keepalived services is still alived on that server. I made kill -9 to keepalived's process but then these process are recreated again automatically. And I made systemctl staus keepalived and the status shows Loaded: loadeded, Active: inactive but it keeps alived. I made ip a and I see the virtual ip active.



      I'm giving you keepalived configuration



      What could it be happening?



      vrrp_script chk_haproxy {
      script "killall -0 haproxy" # verify the pid existance
      interval 2 # check every 2 seconds
      weight 2 # add 2 points of prio if OK
      }

      vrrp_instance VI_1 {
      interface ens192 # interface to monitor
      state MASTER
      virtual_router_id 51 # Assign one ID for this route
      priority 101 # 101 on master, 100 on backup
      unicast_src_ip 172.24.4.51
      unicast_peer {
      172.24.4.52
      }
      virtual_ipaddress {
      172.24.4.53 # the virtual IP
      }
      track_script {
      chk_haproxy
      }

      notify_master /etc/keepalived/master.sh
      }








      share














      For high availability I have two servers: 172.24.4.51 and 172.24.4.52 and virutal ip is 172.24.4.53. The master is 172.24.4.51 and backup is 172.24.4.52.
      I'm on 172.24.4.51 and then I made systemctl stop keepalived but keepalived services is still alived on that server. I made kill -9 to keepalived's process but then these process are recreated again automatically. And I made systemctl staus keepalived and the status shows Loaded: loadeded, Active: inactive but it keeps alived. I made ip a and I see the virtual ip active.



      I'm giving you keepalived configuration



      What could it be happening?



      vrrp_script chk_haproxy {
      script "killall -0 haproxy" # verify the pid existance
      interval 2 # check every 2 seconds
      weight 2 # add 2 points of prio if OK
      }

      vrrp_instance VI_1 {
      interface ens192 # interface to monitor
      state MASTER
      virtual_router_id 51 # Assign one ID for this route
      priority 101 # 101 on master, 100 on backup
      unicast_src_ip 172.24.4.51
      unicast_peer {
      172.24.4.52
      }
      virtual_ipaddress {
      172.24.4.53 # the virtual IP
      }
      track_script {
      chk_haproxy
      }

      notify_master /etc/keepalived/master.sh
      }






      linux high-availability keepalived





      share












      share










      share



      share










      asked 4 mins ago









      user3637971user3637971

      83




      83






















          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          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: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2fserverfault.com%2fquestions%2f961024%2fkeepalived-service-is-not-down-despite-i-turned-it-down%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • 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%2fserverfault.com%2fquestions%2f961024%2fkeepalived-service-is-not-down-despite-i-turned-it-down%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

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...