<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<div class="moz-cite-prefix">On 03/18/2016 12:36 PM, Jean-Laurent
Ivars wrote:<br>
</div>
<blockquote
cite="mid:CD9F02C4-9F64-4FE9-A015-64A54B88F78F@ipgenius.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
You can let go its ok, I revert the conf file from my other node,
I restarted the corosync service from the web interface and the
folder is back.
<div class=""><br class="">
</div>
<div class="">As youre saying<b class=""> pvecm expected 1 </b>is
working despite what pvecm status says because both the hosts
are online, I just made test (temporary deactivate cluster
interface on the other node)</div>
</blockquote>
<br>
If you did something like "ifdown eth1" forget it , that wont work
with corosync, it may actual cause problems.<br>
And yes it will *not* set expected votes lower if the cluster is
full up and quorate!<br>
<br>
A real test from my side shows that is working:<br>
<br>
root@due:~# pvecm s<br>
Quorum information<br>
------------------<br>
Date: Fri Mar 18 13:15:42 2016<br>
Quorum provider: corosync_votequorum<br>
Nodes: 3<br>
Node ID: 0x00000002<br>
Ring ID: 704<br>
Quorate: Yes<br>
<br>
Votequorum information<br>
----------------------<br>
Expected votes: 3<br>
Highest expected: 3<br>
Total votes: 3<br>
Quorum: 2 <br>
Flags: Quorate <br>
<br>
Membership information<br>
----------------------<br>
Nodeid Votes Name<br>
0x00000001 1 10.10.10.1<br>
0x00000002 1 10.10.10.2 (local)<br>
0x00000003 1 10.10.10.3<br>
<br>
*-> pull network plug here*<br>
<br>
root@due:~# pvecm s<br>
Quorum information<br>
------------------<br>
Date: Fri Mar 18 13:15:46 2016<br>
Quorum provider: corosync_votequorum<br>
Nodes: 1<br>
Node ID: 0x00000002<br>
Ring ID: 708<br>
Quorate: No<br>
<br>
Votequorum information<br>
----------------------<br>
Expected votes: 3<br>
Highest expected: 3<br>
Total votes: 1<br>
Quorum: 2 Activity blocked<br>
Flags: <br>
<br>
Membership information<br>
----------------------<br>
Nodeid Votes Name<br>
0x00000002 1 10.10.10.2 (local)<br>
<br>
root@due:~# pvecm e 1<br>
<br>
root@due:~# pvecm s<br>
Quorum information<br>
------------------<br>
Date: Fri Mar 18 13:15:51 2016<br>
Quorum provider: corosync_votequorum<br>
Nodes: 1<br>
Node ID: 0x00000002<br>
Ring ID: 708<br>
Quorate: Yes<br>
<br>
Votequorum information<br>
----------------------<br>
Expected votes: 1<br>
Highest expected: 1<br>
Total votes: 1<br>
Quorum: 1 <br>
Flags: Quorate <br>
<br>
Membership information<br>
----------------------<br>
Nodeid Votes Name<br>
0x00000002 1 10.10.10.2 (local)<br>
root@due:~# <br>
<br>
<br>
btw. using that do a achieve some false sense of HA in a two node
cluster should *never* be done in a production system, if something
fails or does not work as expected do not blame us, we warned you.
If you want HA use at least three nodes.<br>
<br>
<blockquote
cite="mid:CD9F02C4-9F64-4FE9-A015-64A54B88F78F@ipgenius.fr"
type="cite">
<div class=""><br class="">
</div>
<div class="">and voilą :</div>
<div class=""><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class=""><span style="color: rgb(195, 55, 32);" class="">root</span><span
style="color: rgb(175, 173, 36);" class="">@</span><span
style="color: rgb(52, 187, 199);" class="">roubaix </span><span
style="color: rgb(175, 173, 36);" class="">/etc/pve </span><span
style="color: rgb(213, 59, 211);" class=""># </span>pvecm
status</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Quorum information</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">------------------</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Date: Fri Mar 18 12:32:44 2016</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Quorum provider: corosync_votequorum</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Nodes: 1</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Node ID: 0x00000001</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Ring ID: 1504</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Quorate: No</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);
min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Votequorum information</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">----------------------</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Expected votes: 2</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Highest expected: 2</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Total votes: 1</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Quorum: 2 Activity blocked</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Flags: </div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);
min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Membership information</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">----------------------</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class=""> Nodeid Votes Name</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">0x00000001 1 10.10.10.2 (local)</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class=""><span style="color: rgb(195, 55, 32);" class="">root</span><span
style="color: rgb(175, 173, 36);" class="">@</span><span
style="color: rgb(52, 187, 199);" class="">roubaix </span><span
style="color: rgb(175, 173, 36);" class="">/etc/pve </span><span
style="color: rgb(213, 59, 211);" class=""># </span>pvecm
expected 1</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class=""><span style="color: rgb(195, 55, 32);" class="">root</span><span
style="color: rgb(175, 173, 36);" class="">@</span><span
style="color: rgb(52, 187, 199);" class="">roubaix </span><span
style="color: rgb(175, 173, 36);" class="">/etc/pve </span><span
style="color: rgb(213, 59, 211);" class=""># </span>pvecm
status</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Quorum information</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">------------------</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Date: Fri Mar 18 12:33:00 2016</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Quorum provider: corosync_votequorum</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Nodes: 1</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Node ID: 0x00000001</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Ring ID: 1504</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Quorate: Yes</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);
min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Votequorum information</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">----------------------</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Expected votes: 1</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Highest expected: 1</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Total votes: 1</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Quorum: 1 </div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Flags: Quorate </div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);
min-height: 14px;" class=""><br class="">
</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">Membership information</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">----------------------</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class=""> Nodeid Votes Name</div>
<div style="margin: 0px; line-height: normal; font-family: 'Andale
Mono'; color: rgb(41, 249, 20); background-color: rgb(0, 0, 0);"
class="">0x00000001 1 10.10.10.2 (local)</div>
<div class=""><span style="font-family: 'Andale Mono';
background-color: rgb(0, 0, 0); color: rgb(195, 55, 32);"
class="">root</span><span style="color: rgb(175, 173, 36);
font-family: 'Andale Mono'; background-color: rgb(0, 0, 0);"
class="">@</span><span style="font-family: 'Andale Mono';
background-color: rgb(0, 0, 0); color: rgb(52, 187, 199);"
class="">roubaix </span><span style="color: rgb(175, 173, 36);
font-family: 'Andale Mono'; background-color: rgb(0, 0, 0);"
class="">/etc/pve </span><span style="font-family: 'Andale
Mono'; background-color: rgb(0, 0, 0); color: rgb(213, 59,
211);" class=""># </span> <br class="">
<div class=""><br class="webkit-block-placeholder">
</div>
<div class="">Thank you</div>
</div>
<div class="">
<br class="">
<link href="http://fonts.googleapis.com/css?family=Acme"
rel="stylesheet" type="text/css" class="">
<hr class="" color="grey" size="2">
<table class="" border="0" cellpadding="0" cellspacing="0"
height="100" width="500">
<tbody class="">
<tr class="">
<td class="" width="100"><br>
</td>
<td class="" width="400"><br>
</td>
</tr>
</tbody>
</table>
</div>
</blockquote>
</body>
</html>