[ovirt-users] iSCSI Multipathing -> host inactive

Uwe Laverenz uwe at laverenz.de
Tue Aug 16 06:26:45 UTC 2016


Hi,

Am 15.08.2016 um 16:53 schrieb Elad Ben Aharon:

> Is the iSCSI domain that supposed to be connected through the bond the
> current master domain?

No, it isn't. An NFS share is the master domain.


> Also, can you please provide the output of 'iscsiadm -m session -P3' ?

Yes, of course (meanwhile I have switched to 2 targets, 1 per portal). 
This is _without_ iSCSI-Bond:

[root at ovh01 ~]# iscsiadm -m session -P3
iSCSI Transport Class version 2.0-870
version 6.2.0.873-33.2
Target: iqn.2005-10.org.freenas.ctl:tgta (non-flash)
         Current Portal: 10.0.131.121:3260,257
         Persistent Portal: 10.0.131.121:3260,257
                 **********
                 Interface:
                 **********
                 Iface Name: default
                 Iface Transport: tcp
                 Iface Initiatorname: iqn.1994-05.com.redhat:cda91b279ac5
                 Iface IPaddress: 10.0.131.122
                 Iface HWaddress: <empty>
                 Iface Netdev: <empty>
                 SID: 34
                 iSCSI Connection State: LOGGED IN
                 iSCSI Session State: LOGGED_IN
                 Internal iscsid Session State: NO CHANGE
                 *********
                 Timeouts:
                 *********
                 Recovery Timeout: 5
                 Target Reset Timeout: 30
                 LUN Reset Timeout: 30
                 Abort Timeout: 15
                 *****
                 CHAP:
                 *****
                 username: <empty>
                 password: ********
                 username_in: <empty>
                 password_in: ********
                 ************************
                 Negotiated iSCSI params:
                 ************************
                 HeaderDigest: None
                 DataDigest: None
                 MaxRecvDataSegmentLength: 262144
                 MaxXmitDataSegmentLength: 131072
                 FirstBurstLength: 131072
                 MaxBurstLength: 16776192
                 ImmediateData: Yes
                 InitialR2T: Yes
                 MaxOutstandingR2T: 1
                 ************************
                 Attached SCSI devices:
                 ************************
                 Host Number: 44 State: running
                 scsi44 Channel 00 Id 0 Lun: 0
                         Attached scsi disk sdf          State: running
                 scsi44 Channel 00 Id 0 Lun: 1
                         Attached scsi disk sdg          State: running
                 scsi44 Channel 00 Id 0 Lun: 2
                         Attached scsi disk sdh          State: running
                 scsi44 Channel 00 Id 0 Lun: 3
                         Attached scsi disk sdi          State: running
Target: iqn.2005-10.org.freenas.ctl:tgtb (non-flash)
         Current Portal: 10.0.132.121:3260,258
         Persistent Portal: 10.0.132.121:3260,258
                 **********
                 Interface:
                 **********
                 Iface Name: default
                 Iface Transport: tcp
                 Iface Initiatorname: iqn.1994-05.com.redhat:cda91b279ac5
                 Iface IPaddress: 10.0.132.122
                 Iface HWaddress: <empty>
                 Iface Netdev: <empty>
                 SID: 35
                 iSCSI Connection State: LOGGED IN
                 iSCSI Session State: LOGGED_IN
                 Internal iscsid Session State: NO CHANGE
                 *********
                 Timeouts:
                 *********
                 Recovery Timeout: 5
                 Target Reset Timeout: 30
                 LUN Reset Timeout: 30
                 Abort Timeout: 15
                 *****
                 CHAP:
                 *****
                 username: <empty>
                 password: ********
                 username_in: <empty>
                 password_in: ********
                 ************************
                 Negotiated iSCSI params:
                 ************************
                 HeaderDigest: None
                 DataDigest: None
                 MaxRecvDataSegmentLength: 262144
                 MaxXmitDataSegmentLength: 131072
                 FirstBurstLength: 131072
                 MaxBurstLength: 16776192
                 ImmediateData: Yes
                 InitialR2T: Yes
                 MaxOutstandingR2T: 1
                 ************************
                 Attached SCSI devices:
                 ************************
                 Host Number: 45 State: running
                 scsi45 Channel 00 Id 0 Lun: 0
                         Attached scsi disk sdj          State: running
                 scsi45 Channel 00 Id 0 Lun: 1
                         Attached scsi disk sdk          State: running
                 scsi45 Channel 00 Id 0 Lun: 2
                         Attached scsi disk sdl          State: running
                 scsi45 Channel 00 Id 0 Lun: 3
                         Attached scsi disk sdm          State: running

And `multipath -ll`:

[root at ovh01 ~]# multipath -ll
36589cfc000000fafcc87da5ddd69c7e2 dm-2 FreeNAS ,iSCSI Disk
size=128G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 45:0:0:2 sdl 8:176 active ready  running
`-+- policy='service-time 0' prio=1 status=enabled
   `- 44:0:0:2 sdh 8:112 active ready  running
36589cfc000000d403b89dc6ad86ef2c0 dm-0 FreeNAS ,iSCSI Disk
size=128G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 45:0:0:3 sdm 8:192 active ready  running
`-+- policy='service-time 0' prio=1 status=enabled
   `- 44:0:0:3 sdi 8:128 active ready  running
36589cfc0000001976e4e013ce9074fa7 dm-1 FreeNAS ,iSCSI Disk
size=128G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 45:0:0:1 sdk 8:160 active ready  running
`-+- policy='service-time 0' prio=1 status=enabled
   `- 44:0:0:1 sdg 8:96  active ready  running
36589cfc0000002af0e93a13f7a73a54b dm-3 FreeNAS ,iSCSI Disk
size=128G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 45:0:0:0 sdj 8:144 active ready  running
`-+- policy='service-time 0' prio=1 status=enabled
   `- 44:0:0:0 sdf 8:80  active ready  running
[root at ovh01 ~]# multipath -ll
36589cfc000000fafcc87da5ddd69c7e2 dm-2 FreeNAS ,iSCSI Disk
size=128G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 45:0:0:2 sdl 8:176 active ready  running
`-+- policy='service-time 0' prio=1 status=enabled
   `- 44:0:0:2 sdh 8:112 active ready  running
36589cfc000000d403b89dc6ad86ef2c0 dm-0 FreeNAS ,iSCSI Disk
size=128G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 45:0:0:3 sdm 8:192 active ready  running
`-+- policy='service-time 0' prio=1 status=enabled
   `- 44:0:0:3 sdi 8:128 active ready  running
36589cfc0000001976e4e013ce9074fa7 dm-1 FreeNAS ,iSCSI Disk
size=128G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 45:0:0:1 sdk 8:160 active ready  running
`-+- policy='service-time 0' prio=1 status=enabled
   `- 44:0:0:1 sdg 8:96  active ready  running
36589cfc0000002af0e93a13f7a73a54b dm-3 FreeNAS ,iSCSI Disk
size=128G features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=1 status=active
| `- 45:0:0:0 sdj 8:144 active ready  running
`-+- policy='service-time 0' prio=1 status=enabled
   `- 44:0:0:0 sdf 8:80  active ready  running

Thanks,
Uwe



More information about the Users mailing list