From owner-freebsd-bugs@freebsd.org Thu Sep 8 17:42:06 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7AA30BD1C45 for ; Thu, 8 Sep 2016 17:42:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5F8FB86E for ; Thu, 8 Sep 2016 17:42:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u88Hg6fB031820 for ; Thu, 8 Sep 2016 17:42:06 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211964] CTL HA interconnect issue - unknown oid 'kern.cam.ctl.ha_peer' Date: Thu, 08 Sep 2016 17:42:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: james.stewartnewman@sas.com X-Bugzilla-Status: Closed X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Sep 2016 17:42:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211964 James StewartNewman changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|New |Closed --- Comment #1 from James StewartNewman --- ok after applying r304737 and editing the /boot/loader.conf and /etc/sysctl.conf I now get the cluster interconnect connection to establish=20 Server 1 config (Primary Node)=20 # cat /boot/loader.conf geom_mirror_load=3D"YES" geom_label_load=3D"YES" hw.memtest.tests=3D0 geom_multipath_load=3D"YES" kern.geom.label.disk_ident.enable=3D0 kern.cam.ctl.ha_id=3D1 kern.cam.ctl.ha_mode=3D2 # cat /etc/sysctl.conf # $FreeBSD: releng/10.3/etc/sysctl.conf 112200 2003-03-13 18:43:50Z mux $ kern.cam.ctl.debug=3D2 kern.cam.ctl.ha_peer=3D"connect 172.16.1.3:7940" #directly connected cable = no switch between the nodes=20 kern.cam.ctl.ha_role=3D0 # 0 is primary; 1 is secondary # sysctl -a | grep ctl.ha kern.cam.ctl.ha_peer: connect 172.16.1.3:7940 kern.cam.ctl.ha_role: 0 kern.cam.ctl.ha_link: 2 kern.cam.ctl.ha_id: 1 kern.cam.ctl.ha_mode: 2 Server 2 config (Secondary Node)=20 # cat /boot/loader.conf geom_mirror_load=3D"YES" geom_label_load=3D"YES" kern.geom.label.disk_ident.enable=3D0 hw.memtest.tests=3D0 geom_multipath_load=3D"YES" kern.cam.ctl.ha_id=3D2 kern.cam.ctl.ha_mode=3D2 # cat /etc/sysctl.conf kern.cam.ctl.debug=3D2 kern.cam.ctl.ha_peer=3D"listen 172.16.1.3:7940" kern.cam.ctl.ha_role=3D1 # 0 is primary; 1 is secondary # sysctl -a | grep ctl.ha kern.cam.ctl.ha_peer: listen 172.16.1.3:7940 kern.cam.ctl.ha_role: 1 kern.cam.ctl.ha_link: 2 kern.cam.ctl.ha_id: 2 kern.cam.ctl.ha_mode: 2 So its connection is established in active/active proxy mode=20 (netstat -a on both nodes also shows established connections)=20 Server 1=20 ctladm shows the ha ports=20 # ctladm portlist Port Online Frontend Name pp vp 0 YES tpc tpc 0 0 1 NO camsim camsim 0 0 naa.5000000acfe0eb02 2 YES ioctl ioctl 0 0 3 YES camtgt isp0 0 0 naa.2100000e1ecb9ed0 4 YES camtgt isp1 0 0 naa.2100000e1ecb9ed1 5 YES camtgt isp2 0 0 naa.2100000e1ecbafc0 6 YES camtgt isp3 0 0 naa.2100000e1ecbafc1 128 YES ha 2:tpc 0 0 129 YES ha 2:camsim 0 0 naa.5000000acfe0eb82 130 YES ha 2:ioctl 0 0 131 YES ha 2:isp0 0 0 naa.2100000e1ecb99b0 132 YES ha 2:isp1 0 0 naa.2100000e1ecb99b1 133 YES ha 2:isp2 0 0 naa.2100000e1ecbad40 134 YES ha 2:isp3 0 0 naa.2100000e1ecbad41 ctladm shows the initiatiors are logging into the ports on the other node=20 # ctladm portlist -i Port Online Frontend Name pp vp 0 YES tpc tpc 0 0 1 NO camsim camsim 0 0 naa.5000000acfe0eb02 Target: naa.5000000acfe0eb00 2 YES ioctl ioctl 0 0 3 YES camtgt isp0 0 0 naa.2100000e1ecb9ed0 Target: naa.2000000e1ecbafc1 Initiator 1: naa.10000090faa9eb37 4 YES camtgt isp1 0 0 naa.2100000e1ecb9ed1 Target: naa.2000000e1ecbafc1 Initiator 1: naa.10000090faa9e93b 5 YES camtgt isp2 0 0 naa.2100000e1ecbafc0 Target: naa.2000000e1ecbafc1 Initiator 1: naa.10000090faa9eb37 6 YES camtgt isp3 0 0 naa.2100000e1ecbafc1 Target: naa.2000000e1ecbafc1 Initiator 1: naa.10000090faa9e93b 128 YES ha 2:tpc 0 0 129 YES ha 2:camsim 0 0 naa.5000000acfe0eb82 Target: naa.5000000acfe0eb00 130 YES ha 2:ioctl 0 0 131 YES ha 2:isp0 0 0 naa.2100000e1ecb99b0 Target: naa.2000000e1ecb99b0 Initiator 1: naa.10000090faa9eb37 132 YES ha 2:isp1 0 0 naa.2100000e1ecb99b1 Target: naa.2000000e1ecb99b1 Initiator 1: naa.10000090faa9e93b 133 YES ha 2:isp2 0 0 naa.2100000e1ecbad40 Target: naa.2000000e1ecbad40 Initiator 1: naa.10000090faa9eb37 134 YES ha 2:isp3 0 0 naa.2100000e1ecbad41 Target: naa.2000000e1ecbad41 Initiator 1: naa.10000090faa9e93b # ctladm portlist -l Port Online Frontend Name pp vp 0 YES tpc tpc 0 0 All LUNs mapped 1 NO camsim camsim 0 0 naa.5000000acfe0eb02 All LUNs mapped 2 YES ioctl ioctl 0 0 All LUNs mapped 3 YES camtgt isp0 0 0 naa.2100000e1ecb9ed0 LUN 0: 0 LUN 1: 1 LUN 2: 2 LUN 3: 3 4 YES camtgt isp1 0 0 naa.2100000e1ecb9ed1 LUN 0: 0 LUN 1: 1 LUN 2: 2 LUN 3: 3 5 YES camtgt isp2 0 0 naa.2100000e1ecbafc0 LUN 0: 0 LUN 1: 1 LUN 2: 2 LUN 3: 3 6 YES camtgt isp3 0 0 naa.2100000e1ecbafc1 LUN 0: 0 LUN 1: 1 LUN 2: 2 LUN 3: 3 128 YES ha 2:tpc 0 0 All LUNs mapped 129 YES ha 2:camsim 0 0 naa.5000000acfe0eb82 All LUNs mapped 130 YES ha 2:ioctl 0 0 All LUNs mapped 131 YES ha 2:isp0 0 0 naa.2100000e1ecb99b0 All LUNs mapped 132 YES ha 2:isp1 0 0 naa.2100000e1ecb99b1 All LUNs mapped 133 YES ha 2:isp2 0 0 naa.2100000e1ecbad40 All LUNs mapped 134 YES ha 2:isp3 0 0 naa.2100000e1ecbad41 All LUNs mapped So everything looks good ... but when I unplug the SAN connections on the primary node server 1 What I expect to happen is that it will continue to function by its connections to the secondary server and data move across the cluster interconnect. What happens is that the client server loses all connectivity to the LUNS. Tried this with same results on my FreeBSD array = that uses iSCSI as well.=20 Ideas? --=20 You are receiving this mail because: You are the assignee for the bug.=