I'm setting up an active/passive iSCSI Target and I've gotten the cutover to the secondary host working. However clients are unable to connect to the target.
It takes a couple of manual pings, and sometimes a login to the server from the client to finally connect to the iscsi target.
This is what the VIP looks like
Resource: VirtualIP (class=ocf provider=heartbeat type=IPaddr2) Attributes: ip=100.64.78.9 cidr_netmask=32 nic=bond0 flush_routes=true Operations: start interval=0s timeout=20s (VirtualIP-start-timeout-20s) stop interval=0s timeout=20s (VirtualIP-stop-timeout-20s) monitor interval=15s (VirtualIP-monitor-interval-15s)
And these is what happens to the client when I cut over.
Jul 2 02:03:44 carnage iscsid: Kernel reported iSCSI connection 7:0 error (1011 - ISCSI_ERR_CONN_FAILED: iSCSI connection failed) state (3) Jul 2 02:04:04 carnage sanlock[2804]: 2015-07-02 02:04:04-0400 3974 [16266]: s13 delta_renew read rv -202 offset 0 /dev/fda1234d-6ad1-4962-b08e-808ec2b65ef1/ids Jul 2 02:04:04 carnage sanlock[2804]: 2015-07-02 02:04:04-0400 3974 [16266]: s13 renewal error -202 delta_length 10 last_success 3944 Jul 2 02:04:15 carnage sanlock[2804]: 2015-07-02 02:04:15-0400 3985 [16266]: s13 delta_renew read rv -202 offset 0 /dev/fda1234d-6ad1-4962-b08e-808ec2b65ef1/ids Jul 2 02:04:15 carnage sanlock[2804]: 2015-07-02 02:04:15-0400 3985 [16266]: s13 renewal error -202 delta_length 10 last_success 3944 Jul 2 02:04:26 carnage sanlock[2804]: 2015-07-02 02:04:26-0400 3996 [16266]: s13 delta_renew read rv -202 offset 0 /dev/fda1234d-6ad1-4962-b08e-808ec2b65ef1/ids Jul 2 02:04:26 carnage sanlock[2804]: 2015-07-02 02:04:26-0400 3996 [16266]: s13 renewal error -202 delta_length 10 last_success 3944 Jul 2 02:04:34 carnage sanlock[2804]: 2015-07-02 02:04:34-0400 4004 [2804]: s13 check_our_lease warning 60 last_success 3944 Jul 2 02:04:35 carnage sanlock[2804]: 2015-07-02 02:04:35-0400 4005 [2804]: s13 check_our_lease warning 61 last_success 3944 Jul 2 02:04:36 carnage sanlock[2804]: 2015-07-02 02:04:36-0400 4006 [2804]: s13 check_our_lease warning 62 last_success 3944 Jul 2 02:04:37 carnage sanlock[2804]: 2015-07-02 02:04:37-0400 4007 [2804]: s13 check_our_lease warning 63 last_success 3944 Jul 2 02:04:37 carnage sanlock[2804]: 2015-07-02 02:04:37-0400 4007 [16266]: s13 delta_renew read rv -202 offset 0 /dev/fda1234d-6ad1-4962-b08e-808ec2b65ef1/ids Jul 2 02:04:37 carnage sanlock[2804]: 2015-07-02 02:04:37-0400 4007 [16266]: s13 renewal error -202 delta_length 10 last_success 3944 Jul 2 02:04:38 carnage iscsid: connection7:0 is operational after recovery (2 attempts)
If you have any thoughts at all that is appreciated, thanks.
[link][4 comments]