Amador Pahim has uploaded a new change for review. Change subject: [RFC] Sysctl to allow iSCSI multipath with multiple NICs in the same subnet ......................................................................
[RFC] Sysctl to allow iSCSI multipath with multiple NICs in the same subnet When two or more interfaces are in the same subnet, the default OS behaviour won't allow the independent traffic between local NICs and iSCSI targets. These sysctl tweaks are needed to have iSCSI multipath working in such topology: eth1 (192.168.25.200) --| |-- iSCSI Target (192.168.25.10) eth2 (192.168.25.201) --| The proposed changes are reccomended by the storage vendor and are described in documents bellow: - http://en.community.dell.com/dell-groups/dtcmedia/m/mediagallery/20371245/download.aspx - https://support.equallogic.com/WorkArea/DownloadAsset.aspx?id=8727 Change-Id: Ibf93d49317c76aece764e53e58e0ff28868f16b0 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1112861 Signed-off-by: Amador Pahim <apa...@redhat.com> --- M vdsm/vdsm-sysctl.conf 1 file changed, 11 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/29/31529/1 diff --git a/vdsm/vdsm-sysctl.conf b/vdsm/vdsm-sysctl.conf index ecd1386..332379c 100644 --- a/vdsm/vdsm-sysctl.conf +++ b/vdsm/vdsm-sysctl.conf @@ -1,3 +1,14 @@ #Set dirty page parameters vm.dirty_ratio = 5 vm.dirty_background_ratio = 2 + +#Set ARP to avoid RST when interfaces are in the same subnet. +net.ipv4.conf.all.arp_ignore = 1 +net.ipv4.conf.all.arp_announce = 2 + +#Set rp_filter to "loose mode" allowing multiple iSCSI connections in +#a multiple NIC per subnet configuration. +net.ipv4.conf.all.rp_filter = 2 + +#Workaround for netfilter issue marking packets as invalid under heavy load. +net.netfilter.nf_conntrack_tcp_be_liberal = 1 -- To view, visit http://gerrit.ovirt.org/31529 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ibf93d49317c76aece764e53e58e0ff28868f16b0 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Amador Pahim <apa...@redhat.com> _______________________________________________ vdsm-patches mailing list vdsm-patches@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches