LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-23-2019, 02:38 PM   #1
colon
LQ Newbie
 
Registered: Apr 2019
Posts: 2

Rep: Reputation: Disabled
hacluster nodes not seeing each other


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=00i=40;33:so=01;35:do=01;35:bd=40;33;01: cd=40;33;01r=40;31;01:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42w=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
 
Old 04-24-2019, 09:46 AM   #2
dc.901
Senior Member
 
Registered: Aug 2018
Location: Atlanta, GA - USA
Distribution: CentOS/RHEL, openSuSE/SLES, Ubuntu
Posts: 1,005

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Did this ever worked?
Do you have required ports open:
https://access.redhat.com/documentat...firewalls-HAAR
 
1 members found this post helpful.
Old 04-24-2019, 09:56 AM   #3
colon
LQ Newbie
 
Registered: Apr 2019
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by dc.901 View Post
Did this ever worked?
Do you have required ports open:
https://access.redhat.com/documentat...firewalls-HAAR
no it has not ever worked, this is the initial set up.

The ports have been opened in the firewall and made permanent.

Also tried this with the firwall service turned off, same result.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I want few users which is in aliases can send mail to each other but not other mail users in postfix Chitra Gurung Linux - Server 4 07-07-2016 01:26 PM
Setting up Kickstart server RHEL 6.5 for compute nodes, GPU nodes and PHI nodes sho1sho1 Red Hat 3 06-23-2015 04:20 PM
Computers on network aren't 'seeing' each other... BallsOfSteel Linux - Networking 13 07-29-2008 10:53 PM
Multiple hosts not seeing each others files even though LUN is same abylin1 Red Hat 1 01-11-2008 07:46 AM
can't see other machines but they can see each other Silly22 Linux - Networking 1 11-20-2002 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration