Forum
Welcome, Guest
Username: Password: Remember me

TOPIC:

2-node Xenserver Cluster Issue 8 years 7 months ago #505

  • Tim Matthews
  • Tim Matthews's Avatar Topic Author
  • Offline
  • Posts: 5
hello and thanks for the great solution the the 2-node cluster problem,

i have a weird problem i have been unable to diagnose. i have as the title suggests set up a 2-node cluster on top of xenserver 6.5 i ran the 1.4.7 script to setup the first SR and everything worked fine. then i manually edited the 4 configs on both servers to add 2 more SR's and now on XENSERVER2 all 3 SR's list as unplugged if i force XENSERVER1 to crash, to force fail-over to XENSERVER2 when everything comes back up with XENSERVER2 as Pool master both servers connect properly to the SR's. when i crash XENSERVER2 to return master role to XENSERVER1 the SR's go back to unplugged on XENSERVER2. i have diffed the 4 configs on both servers using notepad++ and they come back as identical. what confuses me even more is that i mirrored my configuration from my lab pool which i installed using script 1.4.6 a few months back and everything is working perfectly in the lab pool.


File Attachment:

File Name: drbd61.txt
File Size:1 KB

File Attachment:

File Name: drbd62.txt
File Size:1 KB

File Attachment:

File Name: iscsi-ha61.txt
File Size:0 KB

File Attachment:

File Name: iscsi-ha62.txt
File Size:0 KB

File Attachment:

File Name: lvm61.txt
File Size:27 KB

File Attachment:

File Name: lvm62.txt
File Size:27 KB

File Attachment:

File Name: targets61.txt
File Size:7 KB

File Attachment:

File Name: targets62.txt
File Size:7 KB

Please Log in or Create an account to join the conversation.

Last edit: by Tim Matthews. Reason: .conf not allowed

2-node Xenserver Cluster Issue 8 years 7 months ago #506

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Your config files look fine. Can you rule out the network layer by trying to connect to the iscsi target from the slave with:
"telnet 10.10.10.19 3261"

Please Log in or Create an account to join the conversation.

2-node Xenserver Cluster Issue 8 years 7 months ago #507

  • Tim Matthews
  • Tim Matthews's Avatar Topic Author
  • Offline
  • Posts: 5
telnet: connect to address 10.10.10.19: No route to host
hadn't tried that yet since ping worked :(
ping 10.10.10.19
PING 10.10.10.19 (10.10.10.19) 56(84) bytes of data.
64 bytes from 10.10.10.19: icmp_seq=1 ttl=64 time=0.088 ms
64 bytes from 10.10.10.19: icmp_seq=2 ttl=64 time=0.119 ms
64 bytes from 10.10.10.19: icmp_seq=3 ttl=64 time=0.108 ms
64 bytes from 10.10.10.19: icmp_seq=4 ttl=64 time=0.124 ms
^C
--- 10.10.10.19 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3001ms
rtt min/avg/max/mdev = 0.088/0.109/0.124/0.018 ms

so is this is a firewall issue?

Please Log in or Create an account to join the conversation.

2-node Xenserver Cluster Issue 8 years 7 months ago #508

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Can you try the same telnet test only this time temporarily disable the firewall first with
"service iptables stop"
The following user(s) said Thank You: Tim Matthews

Please Log in or Create an account to join the conversation.

2-node Xenserver Cluster Issue 8 years 7 months ago #509

  • Tim Matthews
  • Tim Matthews's Avatar Topic Author
  • Offline
  • Posts: 5
ok so i turned off the firewall on the slave retried the test and same result. i turned off the firewall on the master and the problem went away. so the problem is with my master servers iptables, its 4pm and i dont get paid for overtime so ill deal with this tomorrow. thanks for your help!

Please Log in or Create an account to join the conversation.

2-node Xenserver Cluster Issue 8 years 7 months ago #510

  • Tim Matthews
  • Tim Matthews's Avatar Topic Author
  • Offline
  • Posts: 5
this morning after looking at the differences i cloned my iptables from xenserver2 to xenserver 1 and my problem is solved thanks for your help.

Please Log in or Create an account to join the conversation.