Forum
Welcome, Guest
Username: Password: Remember me

TOPIC:

SCSI Storage cannot connect(SR_BACKEND_FAILURE_96, 9 years 5 months ago #325

I have pool with HA-LIZARD and ISCSI-HA enabled.
So I have pool with two XenServers(latest patches) and ISCSI storare.
Master have power supply problem and was rebooted, so after it restored pool change master to old slave.
After that i see that old master(Host A) still have connect to iSCSI storage, but new master(Host B) cannot connect with error:
SR_BACKEND_FAILURE_96, The request is missing or has an incorrect target IQN parameter.

What i try:
1)I try to return Host A to master role, but nothing changes in connection.
2)I try to recreate SR, nothing changes.
3)I try unplug/plug PBD from CLI, nothing changes.
4)I try recreate PBD from CLI, nothing changes.

ping is succesfull.

sr-probe result:
Warning: Spoiler! [ Click to expand ]

iscsiadm:
Warning: Spoiler! [ Click to expand ]

What i can do to restore connection without reinstall?

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

Last edit: by Alecsej.

SCSI Storage cannot connect(SR_BACKEND_FAILURE_96, 9 years 5 months ago #326

Can you post the following:

chkconfig --list
iscsi-ha config file (/etc/iscsi-ha/iscsi-ha.conf)
status of both the master and slave as shown with "iscsi-cfg status"

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

SCSI Storage cannot connect(SR_BACKEND_FAILURE_96, 9 years 5 months ago #327

chkconfig --list:
Warning: Spoiler! [ Click to expand ]

iscsi-ha config file:
Warning: Spoiler! [ Click to expand ]

Status(Host B ):
Warning: Spoiler! [ Click to expand ]

status(host A):
Warning: Spoiler! [ Click to expand ]

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

Last edit: by Alecsej.

SCSI Storage cannot connect(SR_BACKEND_FAILURE_96, 9 years 5 months ago #328

Please check /etc/tgt/targets.conf on both hosts and make sure that the IQN is identical. If not - set the new master IQN to that of the former master since this is what xenserver is looking for.

Also - you should set DRBD to not start automatically (chkconfig drbf off). DRBD is controlled/started by the iscsi-ha process.. If you leave it to start automatically the host can hang when booting if the peer is not available. This is not causing your problem, but should be corrected.

Please post a reply on whether the IQNs were set correctly.

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

SCSI Storage cannot connect(SR_BACKEND_FAILURE_96, 9 years 5 months ago #329

they identical, cuz i just copy file across hosts.

i disable autostart of drbd, looks like i forgot to do it.

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

SCSI Storage cannot connect(SR_BACKEND_FAILURE_96, 9 years 5 months ago #330

OK - there is not much else that could be misconfigured.

Can you check that the filter in lvm.conf is identical on both hosts and that the filter is properly blocking lvm signatures from being read from the drbd device and local disk. LVM on the backing device should only be exposed via the iscsi target.

Also - if you have not done so already - restart tgt. if tgt was initially started in the wrong order you could see this type of error.

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