<html><head></head><body><div class="yahoo-style-wrap" style="font-family:verdana, helvetica, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">I have problem while setup pacemaker on debian 9 servers. i have 3 server and I installed <span><pre style="font-family: Menlo, Consolas, "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace; font-size: 0.86em; width: auto; margin-bottom: 1.15em; padding: 4px 8px; border-width: 1px; border-style: solid; border-image: initial; border-radius: 3px; color: rgb(16, 16, 27);"><code class="ydpdf1debbetext ydpdf1debbesyntaxhl" style="font-family: Menlo, Consolas, "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace; font-size: 1em; background: transparent; padding: 0px; border-radius: 0px;">apt install <span><span style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif;">pacemaker, corosync, pcsd</span></span>firewalld fence-agents</code></pre></span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><b>pcs status</b></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false"><span><pre style="white-space: pre-wrap; font-family: Menlo, Consolas, "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace; font-size: 0.86em; width: auto; margin-bottom: 1.15em; padding: 4px 8px; border-width: 1px; border-style: solid; border-image: initial; border-radius: 3px; color: rgb(16, 16, 27);"><div><div>pcs status</div><div>Cluster name: vipcluster</div><div>Stack: corosync</div><div>Current DC: server1 (version 1.1.16-94ff4df) - partition with quorum</div><div>Last updated: Mon Nov 30 14:43:36 2020</div><div>Last change: Mon Nov 30 13:03:09 2020 by root via cibadmin on server1</div><div><br></div><div>3 nodes configured</div><div>2 resources configured</div><div><br></div><div>Online: [ server1 server2 server3 ]</div><div><br></div><div>Full list of resources:</div><div><br></div><div> MasterVip (ocf::heartbeat:IPaddr2): Started server1</div><div> Apache (ocf::heartbeat:apache): Started server1</div><div><br></div><div>Daemon Status:</div><div> corosync: active/enabled</div><div> pacemaker: active/enabled</div><div> pcsd: active/enabled</div><div><br></div></div><br></pre></span><br></div></div><div><pre style="white-space: pre-wrap; font-family: Menlo, Consolas, "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace; font-size: 0.86em; width: auto; margin-bottom: 1.15em; padding: 4px 8px; border-width: 1px; border-style: solid; border-image: initial; border-radius: 3px; color: rgb(16, 16, 27);"><div dir="ltr" data-setdir="false"> <div><div>pcs cluster status</div><div>Cluster Status:</div><div> Stack: corosync</div><div> Current DC: server1 (version 1.1.16-94ff4df) - partition with quorum</div><div> Last updated: Mon Nov 30 14:44:55 2020</div><div> Last change: Mon Nov 30 13:03:09 2020 by root via cibadmin on server1</div><div> 3 nodes configured</div><div> 2 resources configured</div><div><br></div><div>PCSD Status:</div><div> server3: Offline</div><div> server1: Offline</div><div> server2: Offline</div><div><br></div></div><br></div><div><br></div></pre></div>e<b>rror is showing while pcs auth</b><br><br></div><div dir="ltr" data-setdir="false"><div><div><i> pcs cluster auth server1 server2 server3 --name vipcluster -u hacluster -p 12345678 --debug</i></div><div><i>Running: /usr/bin/ruby -I/usr/share/pcsd/ /usr/share/pcsd/pcsd-cli.rb auth</i></div><div><i>--Debug Input Start--</i></div><div><i>{"username": "hacluster", "local": false, "nodes": ["server1", "server2", "server3"], "password": "12345678", "force": false}</i></div><div><i>--Debug Input End--</i></div><div><i>Return Value: 0</i></div><div><i>--Debug Output Start--</i></div><div><i>{</i></div><div><i> "status": "ok",</i></div><div><i> "data": {</i></div><div><i> "auth_responses": {</i></div><div><i> "server1": {</i></div><div><i> "status": "noresponse"</i></div><div><i> },</i></div><div><i> "server2": {</i></div><div><i> "status": "noresponse"</i></div><div><i> },</i></div><div><i> "server3": {</i></div><div><i> "status": "noresponse"</i></div><div><i> }</i></div><div><i> },</i></div><div><i> "sync_successful": true,</i></div><div><i> "sync_nodes_err": [</i></div><div><i><br></i></div><div><i> ],</i></div><div><i> "sync_responses": {</i></div><div><i> }</i></div><div><i> },</i></div><div><i> "log": [</i></div><div><i> "I, [2020-11-30T14:46:24.758862 #9677] INFO -- : PCSD Debugging enabled\n",</i></div><div><i> "D, [2020-11-30T14:46:24.758900 #9677] DEBUG -- : Did not detect RHEL 6\n",</i></div><div><i> "I, [2020-11-30T14:46:24.758919 #9677] INFO -- : Running: /usr/sbin/corosync-cmapctl totem.cluster_name\n",</i></div><div><i> "I, [2020-11-30T14:46:24.758931 #9677] INFO -- : CIB USER: hacluster, groups: \n",</i></div><div><i> "D, [2020-11-30T14:46:24.770175 #9677] DEBUG -- : [\"totem.cluster_name (str) = vipcluster\\n\"]\n",</i></div><div><i> "D, [2020-11-30T14:46:24.770373 #9677] DEBUG -- : []\n",</i></div><div><i> "D, [2020-11-30T14:46:24.770444 #9677] DEBUG -- : Duration: 0.011215661s\n",</i></div><div><i> "I, [2020-11-30T14:46:24.770585 #9677] INFO -- : Return Value: 0\n",</i></div><div><i> "I, [2020-11-30T14:46:24.772514 #9677] INFO -- : SRWT Node: server1 Request: check_auth\n",</i></div><div><i> "E, [2020-11-30T14:46:24.772628 #9677] ERROR -- : Unable to connect to node server1, no token available\n",</i></div><div><i> "I, [2020-11-30T14:46:24.772943 #9677] INFO -- : SRWT Node: server2 Request: check_auth\n",</i></div><div><i> "E, [2020-11-30T14:46:24.773032 #9677] ERROR -- : Unable to connect to node server2, no token available\n",</i></div><div><i> "I, [2020-11-30T14:46:24.773202 #9677] INFO -- : SRWT Node: server3 Request: check_auth\n",</i></div><div><i> "E, [2020-11-30T14:46:24.773278 #9677] ERROR -- : Unable to connect to node server3, no token available\n"</i></div><div><i> ]</i></div><div><i>}</i></div><div><i>--Debug Output End--</i></div><div><i><br></i></div><div><i>Error: Unable to communicate with server1</i></div><div><i>Error: Unable to communicate with server2</i></div><div><i>Error: Unable to communicate with server3</i></div><div><br></div></div><div><br></div><div dir="ltr" data-setdir="false"><div><div dir="ltr" data-setdir="false"><b>firewall settings</b></div><div dir="ltr" data-setdir="false"><br></div><div><div style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif;"><pre style="white-space: pre-wrap; font-family: Menlo, Consolas, "Roboto Mono", "Ubuntu Monospace", "Noto Mono", "Oxygen Mono", "Liberation Mono", monospace; font-size: 0.86em; width: auto; margin-bottom: 1.15em; padding: 4px 8px; border-width: 1px; border-style: solid; border-image: initial; border-radius: 3px; color: rgb(16, 16, 27);"><div dir="ltr" data-setdir="false"> <div><div># firewall-cmd --permanent --add-service=high-availability</div><div>Warning: ALREADY_ENABLED: high-availability</div><div>success</div><div>~# firewall-cmd --add-service=high-availability</div><div>Warning: ALREADY_ENABLED: 'high-availability' already in 'public'</div><div>success</div><div><br></div></div><br><div><div><br></div></div><br></div><div><br></div></pre></div><span style="color: rgb(0, 0, 0); font-family: verdana, helvetica, sans-serif;"></span></div></div><br></div><br></div></div></body></html>