[ovirt-users] iSCSI Multipathing -> host inactive
Elad Ben Aharon
ebenahar at redhat.com
Tue Aug 16 07:26:06 UTC 2016
Currently, your host is connected through a single initiator, the 'Default'
interface (Iface Name: default), to 2 targets: tgta and tgtb (Target:
iqn.2005-10.org.freenas.ctl:tgta and Target: iqn.2005-10.org.freenas.ctl:tgtb).
Hence, each LUN is exposed from the storage server via 2 paths.
Since the connection to the storage is done via the 'Default' interface and
not via the 2 iSCSI networks you've configured, currently, the iSCSI bond
is not operational.
For the iSCSI bond to be operational, you'll have to do the following:
- Create 2 networks in RHEVM under the relevant cluster (not sure if you've
already did it) - iSCSI1 and iSCSI2 . Configure both networks to be
non-required networks for the cluster (should be also non-VM networks).
- Attach the networks to the host's 2 interfaces using hosts Setup-networks.
- Create a new iSCSI bond / modify the bond you've created and pick the 2
newly created networks along with all storage targets. Make sure that the
Default network is not part of the bond (usually, the Default network is
the management one - 'ovirtmgmt').
- Put the host in maintenance and re-activate it so the iSCSI sessions will
be refreshed with the new connection specifications.
Please let me know if it works for you.
Elad
On Tue, Aug 16, 2016 at 9:26 AM, Uwe Laverenz <uwe at laverenz.de> wrote:
> 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
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20160816/53e9c8bc/attachment-0001.html>
More information about the Users
mailing list