From owner-freebsd-isp@FreeBSD.ORG Tue Mar 21 18:29:19 2006 Return-Path: X-Original-To: freebsd-isp@freebsd.org Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F34FF16A400 for ; Tue, 21 Mar 2006 18:29:18 +0000 (UTC) (envelope-from brad@shockwebhost.com) Received: from mail.shockwebhost.com (mail.shockwebhost.com [66.235.234.163]) by mx1.FreeBSD.org (Postfix) with SMTP id 947A143D46 for ; Tue, 21 Mar 2006 18:29:18 +0000 (GMT) (envelope-from brad@shockwebhost.com) Received: (qmail 94563 invoked by uid 399); 21 Mar 2006 18:29:18 -0000 Received: from unknown (HELO 337vdub.localdomain) (24.251.150.76) by mail.shockwebhost.com with SMTP; 21 Mar 2006 18:29:18 -0000 From: Brad Bendy Organization: Shock Webhosting, LLC. To: freebsd-isp@freebsd.org Date: Tue, 21 Mar 2006 11:29:15 -0700 User-Agent: KMail/1.6.2 References: <20060316145215.Y18985@a2.scoop.co.nz> <20060318061814.A18985@a2.scoop.co.nz> <442044D6.5010207@centtech.com> In-Reply-To: <442044D6.5010207@centtech.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200603211129.15368.brad@shockwebhost.com> Subject: Re: experience with dell DRAC 4? X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: brad@shockwebhost.com List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Mar 2006 18:29:19 -0000 IPMI ties into NIC #1, the IP is set in the BIOS of the server, not the DRAC. Just make sure the IP is different then the IP that FreeBSD is using for the NIC itself, otherwise you will have lots of issue. I wrote this script so I can easily reboot/power cycle from my Blackberry with MobileSSH... #!/bin/sh echo "Valid options are: status, cycle" echo "Enter servername then command" read servername command /usr/local/bin/ipmitool -I lan -H $servername -U root -P mslkyocm chassis power $command exit 0 Then use something like: remote_reboot mysql01 cycle and wa la, your machine is being power cycled, just rememebr that the hostnames are in /etc/hosts for this to work. Hope this helps Brad On Tuesday 21 March 2006 11:24, Eric Anderson wrote: > Andrew McNaughton wrote: > > On Fri, 17 Mar 2006, Eric Anderson wrote: > >> The least amount of setup needed is to configure the DRAC's IP > >> information, and of course cabling it up. Once that's done, you can > >> do everything else remotely (what I did). You can ssh into the DRAC > >> (default u/pw: admin/calvin), and do lots of things. If you have > >> console redirection enabled in the BIOS, you can ssh to the DRAC, > >> connect to the console, and use it to do lots of stuff. I usually > >> use the console redirection feature in the DRAC web console - it > >> works great with FreeBSD 6.x with jre 1.5 installed, and gives you > >> the actual video/kb/mouse console as if you were in front of the > >> machine, great for fixing crashed machines, debugging, etc. > >> > >> Now, I just need to get a remote-power-cycling script going on > >> FreeBSD to reboot a machine automatically.. > > > > I gather the DRAC does ipmi as well as console access. If so, then > > ipmitool makes it easy to script this. eg something like: > > > > ipmitool -H -U user -f chassis power cycle > > There is IPMI support - but I have to admit, I'm not sure how to use > it. There's a config area for IP information, but I'm not certain where > there's a physical connection to connect it through - unless I'm > supposed to use the same IP info as the DRAC (they are different > configuration areas). Either way, I haven't been successful with it yet.. > > If anyone is currently using IPMI on Dell servers with FreeBSD, I'd love > to hear details.. > > Eric -- Thank You Brad Bendy Shock Webhosting, LLC. http://www.shockwebhost.com 602-550-4004