Hello, probably a fairly typical question but i haven't located the answer in this forum or others:
I created two cluster nodes. The pcsd check shows the daemon is running for both but they do not "see" each other
node 1: office1.oraclebox
node 2: office2.virtualbox
node 1 can't see node 2:
[root@office1 network-scripts]# pcs status Cluster name: peanut
Stack: corosync
Current DC: office1.oraclebox (version 1.1.19-8.el7_6.4-c3c624ea3d) - partition WITHOUT quorum
Last updated: Tue Apr 23 12:16:47 2019
Last change: Fri Apr 19 09:24:08 2019 by root via cibadmin on office1.oraclebox
2 nodes configured
0 resources configured
Online: [ office1.oraclebox ]
OFFLINE: [ office2.virtualbox ]
No resources
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled
node 2 cant see node 1:
[root@office2 ~]# pcs status
Cluster name: peanut
WARNING: no stonith devices and stonith-enabled is not false
Stack: corosync
Current DC: office2.virtualbox (version 1.1.18-11.el7-2b07d5c5a9) - partition WITHOUT quorum
Last updated: Tue Apr 23 12:33:51 2019
Last change: Tue Apr 16 12:50:52 2019 by hacluster via crmd on office2.virtualbox
2 nodes configured
0 resources configured
Node office1.oraclebox: UNCLEAN (offline)
Online: [ office2.virtualbox ]
No resources
Daemon Status:
corosync: active/enabled
pacemaker: active/enabled
pcsd: active/enabled
[root@office2 ~]#
the auth check comes up clean:
[root@office1 network-scripts]# pcs cluster auth office1.oraclebox office2.virtualbox -u hacluster -p Password1 --debug
Running: /usr/bin/ruby -I/usr/lib/pcsd/ /usr/lib/pcsd/pcsd-cli.rb auth
Environment:
GEM_HOME=/usr/lib/pcsd/vendor/bundle/ruby
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=/root
HOSTNAME=office1.oraclebox
LANG=en_US.UTF-8
LC_ALL=C
LESSOPEN=||/usr/bin/lesspipe.sh %s
LOGNAME=root
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00
i=40;33:so=01;35:do=01;35:bd=40;33;01: cd=40;33;01
r=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42
w=34 ;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;3 1:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo =01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=0 1;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2 =01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*. sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;3 1:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm= 01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*. tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01 ;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*. mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;3 5:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv= 01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.em f=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=01;36:*.au=01;36:* .flac=01;36:*.mid=01;36:*.midi=01;36:*.mka=01;36:*.mp3=01;36:*.mpc=01;36:*.ogg=0 1;36:*.ra=01;36:*.wav=01;36:*.axa=01;36:*.oga=01;36:*.spx=01;36:*.xspf=01;36:
MAIL=/var/spool/mail/root
OLDPWD=/root
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
PCSD_DEBUG=true
PCSD_NETWORK_TIMEOUT=60
PWD=/etc/sysconfig/network-scripts
SHELL=/bin/bash
SHLVL=1
SSH_CLIENT=10.73.111.3 57774 22
SSH_CONNECTION=10.73.111.3 57774 10.73.111.72 22
SSH_TTY=/dev/pts/0
TERM=xterm
USER=root
XDG_DATA_DIRS=/root/.local/share/flatpak/exports/share:/var/lib/flatpak/export s/share:/usr/local/share:/usr/share
XDG_RUNTIME_DIR=/run/user/0
XDG_SESSION_ID=189
_=/usr/sbin/pcs
--Debug Input Start--
{"username": "hacluster", "local": false, "nodes": {"office2.virtualbox": null, "office1.oraclebox": null}, "password": "Password1", "force": false}
--Debug Input End--
Finished running: /usr/bin/ruby -I/usr/lib/pcsd/ /usr/lib/pcsd/pcsd-cli.rb auth
Return value: 0
--Debug Stdout Start--
{
"status": "ok",
"data": {
"auth_responses": {
"office1.oraclebox": {
"status": "ok",
"token": "d6f60875-3d14-45ed-ba4c-b4e1b575342f"
},
"office2.virtualbox": {
"status": "ok",
"token": "2189c869-ac22-459e-b5e1-f87cc46d0f31"
}
},
"sync_successful": true,
"sync_nodes_err": [
],
"sync_responses": {
"office1.oraclebox": {
"status": "ok",
"result": {
"tokens": "accepted"
}
},
"office2.virtualbox": {
"status": "ok",
"result": {
"tokens": "accepted"
}
}
}
},
"log": [
"I, [2019-04-23T11:51:42.768979 #2087] INFO -- : PCSD Debugging enabled\n",
"D, [2019-04-23T11:51:42.769301 #2087] DEBUG -- : Did not detect RHEL 6\n",
"D, [2019-04-23T11:51:42.769330 #2087] DEBUG -- : Detected systemd is in use \n",
"I, [2019-04-23T11:51:42.856529 #2087] INFO -- : Running: /usr/sbin/corosyn c-cmapctl totem.cluster_name\n",
"I, [2019-04-23T11:51:42.856607 #2087] INFO -- : CIB USER: hacluster, group s: \n",
"D, [2019-04-23T11:51:42.862639 #2087] DEBUG -- : ["totem.cluster_name (str ) = peanut\\n"]\n",
"D, [2019-04-23T11:51:42.862733 #2087] DEBUG -- : []\n",
"D, [2019-04-23T11:51:42.862873 #2087] DEBUG -- : Duration: 0.005999079s\n",
"I, [2019-04-23T11:51:42.862951 #2087] INFO -- : Return Value: 0\n",
"I, [2019-04-23T11:51:43.115059 #2087] INFO -- : Running: /usr/sbin/pcs sta tus nodes corosync\n",
"I, [2019-04-23T11:51:43.115128 #2087] INFO -- : CIB USER: hacluster, group s: \n",
"D, [2019-04-23T11:51:43.247933 #2087] DEBUG -- : ["Corosync Nodes:\\n", \ " Online: office1.oraclebox\\n", " Offline: office2.virtualbox\\n"]\n",
"D, [2019-04-23T11:51:43.248028 #2087] DEBUG -- : []\n",
"D, [2019-04-23T11:51:43.248050 #2087] DEBUG -- : Duration: 0.132786858s\n",
"I, [2019-04-23T11:51:43.248100 #2087] INFO -- : Return Value: 0\n",
"I, [2019-04-23T11:51:43.248450 #2087] INFO -- : Sending config 'tokens' ve rsion 18 2982ed457d5afb804d20370e170dc26685462e53 to nodes: office1.oraclebox, o ffice2.virtualbox\n",
"I, [2019-04-23T11:51:43.248612 #2087] INFO -- : SRWT Node: office2.virtual box Request: set_configs\n",
"I, [2019-04-23T11:51:43.249162 #2087] INFO -- : SRWT Node: office1.oracleb ox Request: set_configs\n",
"I, [2019-04-23T11:51:43.393925 #2087] INFO -- : Sending config response fr om office1.oraclebox: {"status"=>"ok", "result"=>{"tokens"=>"accepted" }}\n",
"I, [2019-04-23T11:51:43.394038 #2087] INFO -- : Sending config response fr om office2.virtualbox: {"status"=>"ok", "result"=>{"tokens"=>"accepted\ "}}\n"
]
}
--Debug Stdout End--
--Debug Stderr Start--
--Debug Stderr End--
office2.virtualbox: Authorized
office1.oraclebox: Authorized