From owner-freebsd-questions@FreeBSD.ORG Sun Oct 16 12:16:57 2005 Return-Path: <owner-freebsd-questions@FreeBSD.ORG> X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C28216A41F for <freebsd-questions@freebsd.org>; Sun, 16 Oct 2005 12:16:57 +0000 (GMT) (envelope-from gpeel@thenetnow.com) Received: from constellation.thenetnow.com (thenetnow.com [69.90.69.141]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2497F43D48 for <freebsd-questions@freebsd.org>; Sun, 16 Oct 2005 12:16:57 +0000 (GMT) (envelope-from gpeel@thenetnow.com) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANT) by constellation.thenetnow.com with esmtpa (Exim 4.54) id 1ER7Rd-000HLU-R8; Sun, 16 Oct 2005 08:16:53 -0400 Message-ID: <008501c5d24b$80bff0d0$6501a8c0@GRANT> From: "Grant Peel" <gpeel@thenetnow.com> To: "Andrew P." <infofarmer@gmail.com> References: <007e01c5d243$77839100$6501a8c0@GRANT> <cb5206420510160432n20a6f3aeg3a10e2f7c446f184@mail.gmail.com> Date: Sun, 16 Oct 2005 08:16:53 -0400 Organization: The Net Now Internet MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 x-mimeole: Produced By Microsoft MimeOLE V6.00.2900.2180 Cc: freebsd-questions@freebsd.org Subject: Re: Remote Console X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Grant Peel <gpeel@thenetnow.com> List-Id: User questions <freebsd-questions.freebsd.org> List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-questions> List-Post: <mailto:freebsd-questions@freebsd.org> List-Help: <mailto:freebsd-questions-request@freebsd.org?subject=help> List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-questions>, <mailto:freebsd-questions-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sun, 16 Oct 2005 12:16:57 -0000 Thanks Andrew, So If I understand your reply, a setup like this should always give me access to any of the servers by SSHing to one server, then CUing to get to the console of the 'broken' one, regardless of its state (assuming the disks are OK, and boot stage 1 worked): (WAN Shown, LAN Same, using seperate nics on Servers and Switch) ISP's router | My Switch -------------------------------------------------------------------------------- | | | | | Serv1 Serv2 Serv3 Serv4 Serv5 Serial1--------->Serial2 Serial1------------->Serial2 Serial1------------>Serial2 Serial1---------->Serial2 Can more than 1 console access type be specified in loader.conf ? i.e. console='serialconsole' console='videoconsole' When using 'serial console, does anything have to be specified to use serial 2? What is the default local console, how is it specified? i.e. the one you use when you plug a keyboard and monitor directly into the machine? Would I need to install any other software other than the client (CU)? -GRant ----- Original Message ----- From: "Andrew P." <infofarmer@gmail.com> To: "Grant Peel" <gpeel@thenetnow.com> Cc: <freebsd-questions@freebsd.org> Sent: Sunday, October 16, 2005 7:32 AM Subject: Re: Remote Console On 10/16/05, Grant Peel <gpeel@thenetnow.com> wrote: > Hi all, > > I have asked this question before, so if it looks familiar ... > > I am hoping all the reading I have done over the past few weeks makes this > instance of the qeustion clearer. > > Background: > > 1 Dell 24 Port Switch, WAN connection to my ISP. > 5 Dell Serers, each with 2 NICs. > 1 NIC on each connected to SWITCH - VLAN 1 -WAN (Many different IP's). > 1 NIC on each connected to SWITH - VLAN 2 -LAN (192.168.0/24) > > Each Server has 2 Serial ports, unused. > Each Server has 2 USB ports, unused. > > All servers running FreebSD > 2 Running 4.10 > 1 Running 5.2.1 > 1 Running 5.4 > 1 Running 4.4 (Slave3 Nameserver only). > > I am ~ 120 miles from the server cage these are located in. So traveling > to > there is a real pain. > > I have been reading everything I can find on consoles, ttys, blackboxes, > Lantronix serial cables etc, etc ,etc ,etc ... > > What I am looking to do, is to connect all the servers to a device, or, > daisychain them together so that even if I reboot a broken machine, I can > still get to a "boot ?" prompt, not to mention single user mode and normal > ssh shell prompt. (of course I already have the latter through IP when the > machine boots correctly. > > So my question is, can a machine be made to still be remotely accessable > (any method), when file systems are not mounted, or, kernel not loaded? If > so, using what setup? > > -Grant > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > First, you should check with your servers' specs. Many vendors include basic LOM (Lights-out- management) support in their boxes. If they do, you should turn it on in the BIOS - and it will redirect all text-based screen output and keyboard input to a COM port. If all goes right, you'll be able to even edit your BIOS settings remotely. Secondly, you can place "console comsonsole" line in /boot/loader.conf. That should allow you to access that "boot ?" prompt. Thirdly (preferred method for servers without good LOM) - you can buy a 3d-party LOM, available in a dozen of forms, from PCI and what not cards to KVM-over-IP solutions.