Forum
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC:

XenServer 7 iscsi become-secondary issue 7 years 5 months ago #1049

  • Adam Ward
  • Adam Ward's Avatar Topic Author
  • Offline
  • Posts: 41

Adam Ward wrote:

Salvatore Costantino wrote: Have you issued "systemctl daemon-reload" on both servers?


Sorry didnt know I needed to, I thought the versions I installed addressed this? I will give it a try now.

thanks,

Adam


Hi,

I just tried this - I ran systemctl daemon-reload before I did "iscsi-cfg become-secondary" - I still get the 30 second pause and then it completes if i issue "iscsi-cfg become-secondary" again after 1 min 30 seconds.

I also tried running systemctl daemon-reload from another putty session whilst the "iscsi-cfg become-secondary" was running... same results, 30 seconds for initial response, 1 min 30 seconds and the host has become the secondary node...

regards,

Adam

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

XenServer 7 iscsi become-secondary issue 7 years 5 months ago #1050

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
can you post the contents of "/etc/systemd/system/tgtd.service.d/local.conf" from both hosts.

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

XenServer 7 iscsi become-secondary issue 7 years 5 months ago #1051

  • Adam Ward
  • Adam Ward's Avatar Topic Author
  • Offline
  • Posts: 41

Salvatore Costantino wrote: can you post the contents of "/etc/systemd/system/tgtd.service.d/local.conf" from both hosts.


Hi,

both say:

[root@SERVER1 ~]# cat /etc/systemd/system/tgtd.service.d/local.conf

=[Service]
TimeoutStopSec=2


Regards,

Adam

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

Last edit: by Adam Ward.

XenServer 7 iscsi become-secondary issue 7 years 5 months ago #1052

  • Salvatore Costantino
  • Salvatore Costantino's Avatar
  • Offline
  • Posts: 722
OK. The '=' sign does not belong in there. Not sure how it got there. Could have been a bug in an earlier version of the installer.

Delete the "=" on both and then run "systemctl daemon-reload" on both. That should solve the problem.
The following user(s) said Thank You: Adam Ward

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

XenServer 7 iscsi become-secondary issue 7 years 5 months ago #1053

  • Adam Ward
  • Adam Ward's Avatar Topic Author
  • Offline
  • Posts: 41

Salvatore Costantino wrote: OK. The '=' sign does not belong in there. Not sure how it got there. Could have been a bug in an earlier version of the installer.

Delete the "=" on both and then run "systemctl daemon-reload" on both. That should solve the problem.


Hi,

Just tried it, it comes back after a couple of seconds showing its Primary but expected to be secondary. However, if I run the become-secondary again it has completed!

Details:

[root@SERVER1 ~]# systemctl daemon-reload
[root@SERVER1 ~]# iscsi-cfg become-secondary
###########################################################
# iscsi-ha is in manual mode - current status shown below #
###########################################################
Storage role: Primary [expected secondary]
Replication IP: 10.10.10.1/24 [10.10.10.3 not expected here]
iSCSI target: Stopped [expected stopped]
[root@SERVER1 ~]# iscsi-cfg become-secondary
###########################################################
# iscsi-ha is in manual mode - current status shown below #
###########################################################
Storage role: Secondary [expected secondary]
Replication IP: 10.10.10.1/24 [10.10.10.3 not expected here]
iSCSI target: Stopped [expected stopped]
[root@SERVER1 ~]#


Regards,

Adam

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

  • Page:
  • 1
  • 2