Forum
Welcome, Guest
Username: Password: Remember me

TOPIC:

ha-cfg commands not working after slave fenced 7 years 3 months ago #1099

  • Andrew Foster
  • Andrew Foster's Avatar Topic Author
  • Offline
  • Posts: 15
It's an enterprise class hardware RAID, same backing store as the OS.

dmesg attached.
Attachments:

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

ha-cfg commands not working after slave fenced 7 years 3 months ago #1100

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
It looks like DRBD is starting before the replication link (eth6) is initialized.

DRBD should be set to not start on boot. It should be started by iscsi-ha once it is loaded (late in the boot process)

Can you check whether systemctl is reporting DRBD as enabled? Result of "systemctl is-enabled drbd" should be disabled.

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

ha-cfg commands not working after slave fenced 7 years 2 months ago #1116

  • Andrew Foster
  • Andrew Foster's Avatar Topic Author
  • Offline
  • Posts: 15
It's disabled on both hosts.

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

ha-cfg commands not working after slave fenced 7 years 2 months ago #1121

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
Could still be a timing issue of when DRBD is started during the boot process. Can you try this to test whether it is a timing issue?

- make sure DRBD is not set to start on boot
- chkconfig ha-lizard off
- chkconfig ha-lizard-watchdog off
- chkconfig iscsi-ha off
- chkconfig iscsi-ha-watchdog off

reboot

Give the host plenty of time to finish booting and then:
"service iscsi-ha-watchdog start"

This should then that iscsi-ha which then starts DRBD

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

ha-cfg commands not working after slave fenced 7 years 2 months ago #1129

  • Andrew Foster
  • Andrew Foster's Avatar Topic Author
  • Offline
  • Posts: 15
DRBD starts fine when I run this test.

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

ha-cfg commands not working after slave fenced 7 years 2 months ago #1131

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
OK. I'll need to tweak the init script so that iscsi-ha does not start until networking has finished loading. Will have something to test shortly.

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