Forum
Welcome, Guest
Username: Password: Remember me
This is the optional category header for the Suggestion Box.

TOPIC: How to get mail work?

How to get mail work? 4 months 2 weeks ago #1917

  • fow0ryl
  • fow0ryl's Avatar Topic Author
  • Offline
  • Posts: 13
I have downloaded halizard_noSAN_installer_2.1.7 on a Windows machine, copied it to the XCP-ng 8.0 Testmachines and installed it.
Found 3 minor problems.
1.)
The installer didn't start. Got a "bash°M" not found error. After changing DOS like CR-LF into Linux style linfeeds it works.
2.)
During install I got have seen a message:
Installing HA-Lizard High Availability Component
/tmp/halizard_tmp_/ha-lizard-2.2.2/ha-lizard.init: line 5: /etc/ha-lizard/ha-lizard.conf: No such file or directory
finaly no problem, but I'm confused about this error.
It would be nice to supress this message ...
3.)
The installer aks if I would like to convert a local SR. Possible Answers are "yes/no". I entered only "y" wich causes the installer to exit.

Whats the reason for a complete inital sync? It may take hours.
It should be possible to initialize only metadata, which should take the same effect.
# drbdadm -- --clear-bitmap new-current-uuid drbd0

Until now it seems to work. Still waiting for DRBD to finish initial sync before doing more tests.

Thank you
Henning

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

Last edit: by fow0ryl.

How to get mail work? 4 months 2 weeks ago #1918

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 613
Thanks for the feedback.

regarding the first issue.. A 1 line change was made to the installer.. Unfortunately it was done in a windows based editor.. New version will be posted shortly.

Will look into the warning about the missing conf file.

Third issue.. Good suggestion.. I'll add a loop to process the yes|no so that the loop is only broken when a valid response is given

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

How to get mail work? 4 months 2 weeks ago #1919

  • fow0ryl
  • fow0ryl's Avatar Topic Author
  • Offline
  • Posts: 13
Hello,

mail is working fine on my test environment now.

But during install i noticed, that the bond network didn't come up. After unplugging the cables and replug them, everything works without any further action.

During more tests I did a simple poweroff on the slave side. When the slave was down I powerd of the master too.
Then I startet the master again. Then the slave.

I got the same effect. The master cannot ping the slave and reverse.
So I unplugged the cables and plugged them in again.
DRBD-Sync startet after a few seconds.

Never had this problem with other versions before. I'm using the same machines, only different disks !

Henning

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

How to get mail work? 4 months 2 weeks ago #1920

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 613
We have been seeing this issue occasionally for years. It has to do with linux systems (not just XCP/Xenserver) where a bridge is stacked on top of a bond. Occasionally ARP does not behave and you end up in this situation.

Coincidentally, we added logic to capture and resolve this very issue in the last iscsi-ha release (2.2.1), however, it could take several minutes to initiate. On boot, we wait for XAPI to finish all of its initialization steps before starting our services. This could take 1-2 minutes. Once we start, we wait about 2 more minutes before attempting to detect/resolve this.

Also important to note, this has only appeared on active/active bonds (not LACP). This provides the best performance and redundancy.

In your case, can you confirm that you are using active/active bond? If so, can you re-run your test but this time wait to see if the issue clears on its own after roughly 4 minutes after boot.

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

How to get mail work? 4 months 1 week ago #1921

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 613
Looks like XCP-ng version 8 is missing networkctl, causing the logic that would have automatically repaired the bond to fail. This functionality was developed/tested on XCP-ng 7.6 which included networkctl.

A fix will be available later in the week.

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

How to get mail work? 4 months 1 week ago #1925

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 613
new release is available that addresses the issue of replication bond arp failures.

halizard.org/release/iscsi-ha/iscsi-ha-2.2.2-1.rpm

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