From kvs@binarysolutions.dk Fri Jun 1 06:40:23 2007 Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l51DeGWL006098 for ; Fri, 1 Jun 2007 06:40:22 -0700 (PDT) Received: from coruscant.local (naboo.binarysolutions.dk [80.196.17.173]) by solow.pil.dk (Postfix) with ESMTP id 0E9A71CC0DF for ; Fri, 1 Jun 2007 15:40:16 +0200 (CEST) Received: by coruscant.local (Postfix, from userid 502) id E7285407CD5; Fri, 1 Jun 2007 15:40:13 +0200 (CEST) To: users@conserver.com Subject: Help with 'initcmd' From: Kenneth Vestergaard Schmidt Organization: Binary Solutions Date: Fri, 01 Jun 2007 15:40:13 +0200 Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 13:40:24 -0000 Hello. I'm trying to get conserver to talk to our Sun Fire X2100 eLOM consoles via ssh, and used the trick described on http://www.laen.org/2006/10/09/conserver-and-sun-x4100s/ to do so. However, this doesn't seem to work. In conserver.cf, I have the following: console foo { type exec; exec /usr/bin/ssh -tl root 10.0.1.47 initcmd /tmp/login.sh } And /tmp/login.sh: #!/usr/local/bin/expect -f expect { "password: " {exp_send "foo\r"; } } The following comes when test-running with 'conserver -Fuv' [Fri Jun 1 15:35:59 2007] conserver (4265): INFO: [foo] pid 4266 on /dev/ttyqg [Fri Jun 1 15:35:59 2007] conserver (4265): [foo] initcmd started: pid 4267 [Fri Jun 1 15:36:00 2007] conserver (4264): INFO: group #1 pid 4265 on port 51118 [Fri Jun 1 15:36:00 2007] conserver (4264): INFO: access type `t' for `127.0.0.1' foo: Permission denied, please try again. foo: Permission denied, please try again. foo: Permission denied (publickey,password,keyboard-interactive). [Fri Jun 1 15:36:00 2007] conserver (4265): [foo] exit(255) [Fri Jun 1 15:36:00 2007] conserver (4265): [foo] initcmd terminated: pid 4267 If I alter the 'exec'-line so ssh is more verbose, it complains about not being able to open /dev/tty. I tried setting SSH_ASKPASS to a script which just echoes the password, and DISPLAY to a dummy-value, and that gets me a successfull login, but the initcmd-script never runs anyway. This is on a amd64 FreeBSD 6.2-system, with conserver 8.1.15. Let me know if there's anything I can test or do, and thank you very much in advance for any help. -- Best Regards Kenneth Schmidt From fwernli@ccfw.in2p3.fr Fri Jun 1 07:05:17 2007 Received: from ccimap.in2p3.fr (ccimap.in2p3.fr [134.158.69.6]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l51E59Pp006300 for ; Fri, 1 Jun 2007 07:05:15 -0700 (PDT) Received: from ccfw.in2p3.fr ([134.158.71.67]) by ccimap.in2p3.fr (Netscape Messaging Server 4.15) with ESMTP id JIYN4J00.LGT; Fri, 1 Jun 2007 16:05:07 +0200 Received: by ccfw.in2p3.fr (Postfix, from userid 1000) id 36A83242CB; Fri, 1 Jun 2007 16:05:06 +0200 (CEST) Date: Fri, 1 Jun 2007 16:05:06 +0200 From: Fabien Wernli To: Kenneth Vestergaard Schmidt Subject: Re: Help with 'initcmd' Message-ID: <20070601140505.GI5729@ccfw.in2p3.fr> Mail-Followup-To: Kenneth Vestergaard Schmidt , users@conserver.com References: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="n8g4imXOkfNTN/H1" Content-Disposition: inline In-Reply-To: Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.13 (2006-08-11) X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 14:05:18 -0000 --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, On Fri, Jun 01, 2007 at 03:40:13PM +0200, Kenneth Vestergaard Schmidt wrote: > I'm trying to get conserver to talk to our Sun Fire X2100 eLOM consoles > via ssh, and used the trick described on > http://www.laen.org/2006/10/09/conserver-and-sun-x4100s/ to do I also wrote a script, maybe you wanna try it instead. I submitted it to conserver.com, but the author seems quite busy. Here is conserver.cf (expect script is attached): -- default x4100 { type exec; execsubst Z=cs; exec /opt/conserver/ilom/sol.ilom Z; break 1; motd "Sun Fire x4100. Use \"Ctrl+E c ?\" for help, \"Esc (\" to reinit"; } console ilom1 { include x4100; } -- just adapt username/password in attached script --n8g4imXOkfNTN/H1 Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="sol.ilom" #!/usr/bin/expect -f # # script for SUN ILOM on x4x00 series # tested on ILOM 1.0.3 # this will probably be obsoleted in future revisions # when ipmi 2.0 SOL will be supported on these boxes # connects to $username@$ilom # and starts SOL command # Also checks for Terminated Serial command # To re-init SOL connection on ILOM # either down/up console or use "Esc (" # send fixes/improvements to # fabien@wernli.eu # set ilom [lindex $argv 0] set username "USERNAME" set password "PASSWORD" set cmdline "start -script /SP/console" set prompt "^.*-> $" set respawn "Serial console stopped." spawn /usr/bin/ssh -e\[ $username@$ilom match_max 10000 expect -re ".*password: " send "$password\r" expect -re $prompt send "$cmdline\r" while 1 { expect { eof { sleep 5 exit } -re $prompt { sleep 5 send "$cmdline\r" } "?" { interact { -o $respawn { sleep 5 send "$cmdline\r" } eof { exit } } } exit } } exit --n8g4imXOkfNTN/H1-- From kvs@binarysolutions.dk Fri Jun 1 07:20:13 2007 Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l51EK6K6006414 for ; Fri, 1 Jun 2007 07:20:12 -0700 (PDT) Received: from coruscant.local (naboo.binarysolutions.dk [80.196.17.173]) by solow.pil.dk (Postfix) with ESMTP id 08C0E1CC0DE; Fri, 1 Jun 2007 16:20:06 +0200 (CEST) Received: by coruscant.local (Postfix, from userid 502) id B5DA2407E87; Fri, 1 Jun 2007 16:20:03 +0200 (CEST) To: Kenneth Vestergaard Schmidt Subject: Re: Help with 'initcmd' References: <20070601140505.GI5729@ccfw.in2p3.fr> From: Kenneth Vestergaard Schmidt Organization: Binary Solutions Date: Fri, 01 Jun 2007 16:20:03 +0200 In-Reply-To: <20070601140505.GI5729@ccfw.in2p3.fr> (Fabien Wernli's message of "Fri\, 1 Jun 2007 16\:05\:06 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 14:20:14 -0000 Fabien Wernli writes: >> I'm trying to get conserver to talk to our Sun Fire X2100 eLOM consoles >> via ssh, and used the trick described on >> http://www.laen.org/2006/10/09/conserver-and-sun-x4100s/ to do > > I also wrote a script, maybe you wanna try it instead. I submitted it to > conserver.com, but the author seems quite busy. Thanks, but that's the approach we're already using. I wanted to get rid off some of the proccesses, since we now have 86 machines using this type of console. Previously, that meant an sh+perl+ssh process per machine. Now, I've cut it down to sh+perl (using Net:SSH2), but it would be even better with just sh+ssh. On an off note, it would be nice if conserver supported ssh directly (for example, by linking with libssh2). -- Best Regards Kenneth Schmidt From fwernli@ccfw.in2p3.fr Fri Jun 1 07:41:58 2007 Received: from ccimap.in2p3.fr (ccimap.in2p3.fr [134.158.69.6]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l51EfoEb006566 for ; Fri, 1 Jun 2007 07:41:56 -0700 (PDT) Received: from ccfw.in2p3.fr ([134.158.71.67]) by ccimap.in2p3.fr (Netscape Messaging Server 4.15) with ESMTP id JIYOTL00.7LI; Fri, 1 Jun 2007 16:41:45 +0200 Received: by ccfw.in2p3.fr (Postfix, from userid 1000) id 9DDFA242CB; Fri, 1 Jun 2007 16:41:43 +0200 (CEST) Date: Fri, 1 Jun 2007 16:41:43 +0200 From: Fabien Wernli To: Kenneth Vestergaard Schmidt Subject: Re: Help with 'initcmd' Message-ID: <20070601144143.GL5729@ccfw.in2p3.fr> Mail-Followup-To: Kenneth Vestergaard Schmidt , users@conserver.com References: <20070601140505.GI5729@ccfw.in2p3.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.13 (2006-08-11) X-Spam-Score: -0.185 () BAYES_40 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 14:41:59 -0000 On Fri, Jun 01, 2007 at 04:20:03PM +0200, Kenneth Vestergaard Schmidt wrote: > Thanks, but that's the approach we're already using. I wanted to get rid > off some of the proccesses, since we now have 86 machines using this > type of console. sorry for misunderstanding > Previously, that meant an sh+perl+ssh process per machine. Now, I've cut > it down to sh+perl (using Net:SSH2), but it would be even better with > just sh+ssh. I see. I have a conserver managing 234 boxes using similar techniques, and indeed I have 1118 conserver processes running. There seems to be a memory leak somewhere as you can see on the graph: http://chown.free.fr/tmp/consrv10.png I'm not sure yet where this is coming from > On an off note, it would be nice if conserver supported ssh directly > (for example, by linking with libssh2). not sure about the 2100, but X4x00 should support SOL as they claim to be IPMI 2.0 capable. However this isn't the case yet using the latest ILOM formware. SUN support told us however that this should be solved, sometime in the future, so this should ease things dramatically. From kvs@binarysolutions.dk Fri Jun 1 11:49:29 2007 Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l51InKFk008560 for ; Fri, 1 Jun 2007 11:49:25 -0700 (PDT) Received: from coruscant.local (naboo.binarysolutions.dk [80.196.17.173]) by solow.pil.dk (Postfix) with ESMTP id 693D01CC0F1 for ; Fri, 1 Jun 2007 20:49:19 +0200 (CEST) Received: by coruscant.local (Postfix, from userid 502) id 26A11407FB2; Fri, 1 Jun 2007 20:49:17 +0200 (CEST) To: users@conserver.com Subject: Re: Help with 'initcmd' References: <20070601140505.GI5729@ccfw.in2p3.fr> <20070601144143.GL5729@ccfw.in2p3.fr> From: Kenneth Vestergaard Schmidt Organization: Binary Solutions Date: Fri, 01 Jun 2007 20:49:17 +0200 In-Reply-To: <20070601144143.GL5729@ccfw.in2p3.fr> (Fabien Wernli's message of "Fri\, 1 Jun 2007 16\:41\:43 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.11 () BAYES_05 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 18:49:30 -0000 Fabien Wernli writes: > On Fri, Jun 01, 2007 at 04:20:03PM +0200, Kenneth Vestergaard Schmidt wrote: >> Thanks, but that's the approach we're already using. I wanted to get rid >> off some of the proccesses, since we now have 86 machines using this >> type of console. > > sorry for misunderstanding No worries, I wasn't being clear enough :) >> Previously, that meant an sh+perl+ssh process per machine. Now, I've cut >> it down to sh+perl (using Net:SSH2), but it would be even better with >> just sh+ssh. > > I see. I have a conserver managing 234 boxes using similar techniques, > and indeed I have 1118 conserver processes running. There seems to be a > memory leak somewhere as you can see on the graph: > > http://chown.free.fr/tmp/consrv10.png > > I'm not sure yet where this is coming from Yeah, one of the "solutions" would be to just throw some more RAM at the conserver-machine, but it would be cool if it wasn't necessary. >> On an off note, it would be nice if conserver supported ssh directly >> (for example, by linking with libssh2). > > not sure about the 2100, but X4x00 should support SOL as they claim to be > IPMI 2.0 capable. However this isn't the case yet using the latest ILOM > formware. SUN support told us however that this should be solved, sometime > in the future, so this should ease things dramatically. The X2100 M2 supports IPMIv2 SOL just fine, except there's an annoying lag to everything - about 200ms or so. I haven't figured out why. -- Best Regards Kenneth Schmidt From kvs@binarysolutions.dk Fri Jun 1 13:32:23 2007 Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l51KWGqm009297 for ; Fri, 1 Jun 2007 13:32:22 -0700 (PDT) Received: from coruscant.local (naboo.binarysolutions.dk [80.196.17.173]) by solow.pil.dk (Postfix) with ESMTP id E22341CC0DD for ; Fri, 1 Jun 2007 22:32:14 +0200 (CEST) Received: by coruscant.local (Postfix, from userid 502) id BBADC4087D7; Fri, 1 Jun 2007 22:32:12 +0200 (CEST) To: users@conserver.com Subject: Re: Help with 'initcmd' References: <20070601140505.GI5729@ccfw.in2p3.fr> <20070601144143.GL5729@ccfw.in2p3.fr> <20070601195606.GC3842@mail.faxm0dem.org> From: Kenneth Vestergaard Schmidt Organization: Binary Solutions Date: Fri, 01 Jun 2007 22:32:12 +0200 In-Reply-To: <20070601195606.GC3842@mail.faxm0dem.org> (Fabien Wernli's message of "Fri\, 1 Jun 2007 21\:56\:06 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.11 () BAYES_05 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 20:32:24 -0000 Fabien Wernli writes: > On Fri, Jun 01, 2007 at 08:49:17PM +0200, Kenneth Vestergaard Schmidt wrote: >> The X2100 M2 supports IPMIv2 SOL just fine, except there's an annoying >> lag to everything - about 200ms or so. I haven't figured out why. > > did you try fiddling with the 'ipmitool sol set' parameters ? Yeah, and managed to break one of the eLOM's, requiring a power-cycle. I won't be doing that again until I have the machine at arms length :) /Kenneth From kvs@binarysolutions.dk Fri Jun 1 15:22:58 2007 Received: from solow.pil.dk (relay.pil.dk [195.41.47.164]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l51MMq7B010071 for ; Fri, 1 Jun 2007 15:22:57 -0700 (PDT) Received: from coruscant.local (naboo.binarysolutions.dk [80.196.17.173]) by solow.pil.dk (Postfix) with ESMTP id 48BEB1CC0F6 for ; Sat, 2 Jun 2007 00:22:51 +0200 (CEST) Received: by coruscant.local (Postfix, from userid 502) id 4B060408A79; Sat, 2 Jun 2007 00:22:49 +0200 (CEST) To: users@conserver.com Subject: Re: Help with 'initcmd' References: <20070601140505.GI5729@ccfw.in2p3.fr> <20070601144143.GL5729@ccfw.in2p3.fr> <20070601195606.GC3842@mail.faxm0dem.org> <20070601210013.GD3842@mail.faxm0dem.org> From: Kenneth Vestergaard Schmidt Organization: Binary Solutions Date: Sat, 02 Jun 2007 00:22:49 +0200 In-Reply-To: <20070601210013.GD3842@mail.faxm0dem.org> (Fabien Wernli's message of "Fri\, 1 Jun 2007 23\:00\:13 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.96 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -0.74 () BAYES_20 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2007 22:22:59 -0000 Fabien Wernli writes: > On Fri, Jun 01, 2007 at 10:32:12PM +0200, Kenneth Vestergaard Schmidt wrote: >> Yeah, and managed to break one of the eLOM's, requiring a power-cycle. I >> won't be doing that again until I have the machine at arms length :) > > that happened on my X4500 with 1.0.3 ilom when trying any 'ipmitool sol' > command. Hmm, I haven't tried anything on our X4500 yet. I'll have to see how it behaves compared to the X2100, and then moan to Sun about it :) /Kenneth From fabien@mail.faxm0dem.org Sat Jun 2 08:21:02 2007 Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l52FKuTT009328 for ; Sat, 2 Jun 2007 08:21:02 -0700 (PDT) Received: from mail.faxm0dem.org (faxm0dem.org [82.224.162.122]) by smtp7-g19.free.fr (Postfix) with ESMTP id 36A5A18E87 for ; Sat, 2 Jun 2007 17:20:54 +0200 (CEST) Received: by mail.faxm0dem.org (Postfix, from userid 1000) id BD1B2BA; Sat, 2 Jun 2007 17:20:53 +0200 (CEST) Date: Sat, 2 Jun 2007 17:20:52 +0200 From: Fabien Wernli To: users@conserver.com Subject: Re: Help with 'initcmd' Message-ID: <20070602152052.GH3842@mail.faxm0dem.org> Mail-Followup-To: users@conserver.com References: <20070601140505.GI5729@ccfw.in2p3.fr> <20070601144143.GL5729@ccfw.in2p3.fr> <20070601195606.GC3842@mail.faxm0dem.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.9i X-Spam-Score: -0.185 () BAYES_40 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 15:21:04 -0000 On Fri, Jun 01, 2007 at 10:32:12PM +0200, Kenneth Vestergaard Schmidt wrote: > Yeah, and managed to break one of the eLOM's, requiring a power-cycle. I > won't be doing that again until I have the machine at arms length :) that happened on my X4500 with 1.0.3 ilom when trying any 'ipmitool sol' command. From fabien@mail.faxm0dem.org Sat Jun 2 08:21:31 2007 Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l52FLPAH009354 for ; Sat, 2 Jun 2007 08:21:31 -0700 (PDT) Received: from mail.faxm0dem.org (faxm0dem.org [82.224.162.122]) by smtp7-g19.free.fr (Postfix) with ESMTP id 3BDCC17F56 for ; Sat, 2 Jun 2007 17:21:25 +0200 (CEST) Received: by mail.faxm0dem.org (Postfix, from userid 1000) id DB712BA; Sat, 2 Jun 2007 17:21:24 +0200 (CEST) Date: Sat, 2 Jun 2007 17:21:24 +0200 From: Fabien Wernli To: users@conserver.com Subject: Re: Help with 'initcmd' Message-ID: <20070602152124.GI3842@mail.faxm0dem.org> Mail-Followup-To: users@conserver.com References: <20070601140505.GI5729@ccfw.in2p3.fr> <20070601144143.GL5729@ccfw.in2p3.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.9i X-Spam-Score: -0.185 () BAYES_40 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 15:21:32 -0000 Hi, On Fri, Jun 01, 2007 at 08:49:17PM +0200, Kenneth Vestergaard Schmidt wrote: > The X2100 M2 supports IPMIv2 SOL just fine, except there's an annoying > lag to everything - about 200ms or so. I haven't figured out why. did you try fiddling with the 'ipmitool sol set' parameters ? From fabien@mail.faxm0dem.org Sat Jun 2 12:27:59 2007 Received: from smtp7-g19.free.fr (smtp7-g19.free.fr [212.27.42.64]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l52JRr78010973 for ; Sat, 2 Jun 2007 12:27:59 -0700 (PDT) Received: from mail.faxm0dem.org (faxm0dem.org [82.224.162.122]) by smtp7-g19.free.fr (Postfix) with ESMTP id 88F6418A07; Sat, 2 Jun 2007 21:27:52 +0200 (CEST) Received: by mail.faxm0dem.org (Postfix, from userid 1000) id 00995BA; Sat, 2 Jun 2007 21:27:51 +0200 (CEST) Date: Sat, 2 Jun 2007 21:27:51 +0200 From: Fabien Wernli To: Kenneth Vestergaard Schmidt Subject: Re: Help with 'initcmd' Message-ID: <20070602192751.GJ3842@mail.faxm0dem.org> Mail-Followup-To: Kenneth Vestergaard Schmidt , users@conserver.com References: <20070601140505.GI5729@ccfw.in2p3.fr> <20070601144143.GL5729@ccfw.in2p3.fr> <20070601195606.GC3842@mail.faxm0dem.org> <20070601210013.GD3842@mail.faxm0dem.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.9i X-Spam-Score: -0.74 () BAYES_20 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Jun 2007 19:28:00 -0000 On Sat, Jun 02, 2007 at 12:22:49AM +0200, Kenneth Vestergaard Schmidt wrote: > Hmm, I haven't tried anything on our X4500 yet. I'll have to see how it > behaves compared to the X2100, and then moan to Sun about it :) please do! Maybe they'll take the ipmi SOL more seriously and we'll have a fix soon From cross+conserver@distal.com Mon Jun 4 14:09:35 2007 Received: from valerian.revivesystems.com (valerian.revivesystems.com [38.100.32.81]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l54L9Snh018579 for ; Mon, 4 Jun 2007 14:09:34 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by valerian.revivesystems.com (Postfix) with ESMTP id 88595514002 for ; Mon, 4 Jun 2007 17:09:15 -0400 (EDT) X-Virus-Scanned: amavisd-new at X-Spam-Score: 0 () X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from valerian.revivesystems.com ([127.0.0.1]) by localhost (valerian.revivesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Bg20P3IScSv3 for ; Mon, 4 Jun 2007 17:09:14 -0400 (EDT) Received: from [38.100.32.88] (hamachi.revivesystems.com [38.100.32.88]) by valerian.revivesystems.com (Postfix) with ESMTP id 40BD2514001 for ; Mon, 4 Jun 2007 17:09:14 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v752.3) Content-Transfer-Encoding: 7bit Message-Id: <687BDCAF-ACDA-42B5-B1C1-27A1CDC2A661@distal.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: users@conserver.com From: Chris Ross Subject: Ownership and permissions of UDSes Date: Mon, 4 Jun 2007 17:09:20 -0400 X-Mailer: Apple Mail (2.752.3) X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 21:09:36 -0000 Hey there. I was just noticing that there is no way to set ownership or permissions of sockets when using --with-uds. The server creates the sockets in the filesystem (in the bind(2) call), and they are left with default permissions. In my case, this is mode 755, which means that only root can talk to the conserver process. This seems like an option that should go into the configuration file, and of course only really makes sense if the server is compiled with --with-uds. But, without it, it's hard to get it to allow people to connect. ;-) - Chris From john@iastate.edu Mon Jun 4 14:24:19 2007 Received: from mailhub-3.iastate.edu (mailhub-3.iastate.edu [129.186.140.13]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l54LOCwd018717 for ; Mon, 4 Jun 2007 14:24:18 -0700 (PDT) Received: from mailout-1.iastate.edu (mailout-1.iastate.edu [129.186.140.1]) by mailhub-3.iastate.edu (8.12.11.20060614/8.12.10) with SMTP id l54LOBKV011200 for ; Mon, 4 Jun 2007 16:24:11 -0500 Received: from (malison.ait.iastate.edu [129.186.145.229]) by mailout-1.iastate.edu with smtp id 7d88_848acb08_12e1_11dc_90e4_00137253420a; Mon, 04 Jun 2007 16:21:10 -0500 Received: from localhost (john@localhost) by malison.ait.iastate.edu (8.8.8/8.8.5) with SMTP id QAA07462 for ; Mon, 4 Jun 2007 16:24:11 -0500 (CDT) To: users@conserver.com Subject: pidfile option Date: Mon, 04 Jun 2007 16:24:11 CDT Message-ID: <7463.1180992251@malison.ait.iastate.edu> From: John Hascall X-Spam-Score: -0.185 () BAYES_40 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 21:24:20 -0000 I ran a second copy of conserver (specifying a 2nd config file and port#) to test some things and I discovered the hard way that there is no way choose an alternate pidfile (at runtime). I started to look into the source to add a command line option at realized that both of the obvious choices ('p' and 'P') are already in use. Assuming that a patch to add such an option would be of enough value generally to be put into the official source someday, is there some command line argument letter that makes more sense than any other? John From maik.hentsche@amd.com Wed Jun 6 00:47:49 2007 Received: from outbound3-cpk-R.bigfish.com (outbound-cpk.frontbridge.com [207.46.163.16]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l567leDL014853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 6 Jun 2007 00:47:48 -0700 (PDT) Received: from outbound3-cpk.bigfish.com (localhost [127.0.0.1]) by outbound3-cpk-R.bigfish.com (Postfix) with ESMTP id 4C36D99221A for ; Wed, 6 Jun 2007 07:47:11 +0000 (UTC) Received: from mail153-cpk-R.bigfish.com (unknown [10.2.40.3]) by outbound3-cpk.bigfish.com (Postfix) with ESMTP id 4AC1380004D for ; Wed, 6 Jun 2007 07:47:11 +0000 (UTC) Received: from mail153-cpk (localhost.localdomain [127.0.0.1]) by mail153-cpk-R.bigfish.com (Postfix) with ESMTP id 314691C1017F for ; Wed, 6 Jun 2007 07:47:11 +0000 (UTC) X-BigFish: VP X-MS-Exchange-Organization-Antispam-Report: OrigIP: 163.181.251.8; Service: EHS Received: by mail153-cpk (MessageSwitch) id 1181116031171185_30737; Wed, 6 Jun 2007 07:47:11 +0000 (UCT) Received: from ausb3extmailp01.amd.com (unknown [163.181.251.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail153-cpk.bigfish.com (Postfix) with ESMTP id 019C411C0051 for ; Wed, 6 Jun 2007 07:47:10 +0000 (UTC) Received: from SAUSGW02.amd.com (sausgw02.amd.com [163.181.250.22]) by ausb3extmailp01.amd.com (Switch-3.2.7/Switch-3.2.5) with ESMTP id l567l5R8020262 for ; Wed, 6 Jun 2007 02:47:09 -0500 Received: from 163.181.22.102 by SAUSGW01.amd.com with ESMTP (AMD SMTP Relay (Email Firewall v6.1.0)); Wed, 06 Jun 2007 02:46:59 -0500 X-Server-Uuid: 8C3DB987-180B-4465-9446-45C15473FD3E Received: from SAUSEXMB3.amd.com ([163.181.22.202]) by sausexbh2.amd.com with Microsoft SMTPSVC(6.0.3790.2499); Wed, 6 Jun 2007 02:46:58 -0500 Received: from SDRSEXMB1.amd.com ([172.20.3.116]) by SAUSEXMB3.amd.com with Microsoft SMTPSVC(6.0.3790.2499); Wed, 6 Jun 2007 02:46:32 -0500 Received: from siegfried.osrc.amd.com ([165.204.85.37]) by SDRSEXMB1.amd.com with Microsoft SMTPSVC(6.0.3790.2499); Wed, 6 Jun 2007 09:46:30 +0200 Date: Wed, 6 Jun 2007 09:46:29 +0200 From: "Maik Hentsche" To: users@conserver.com Subject: Conserver protocol Message-ID: <20070606094629.0e7212e1@siegfried.osrc.amd.com> X-Mailer: Sylpheed-Claws 2.5.5 (GTK+ 2.10.6; x86_64-suse-linux-gnu) MIME-Version: 1.0 X-OriginalArrivalTime: 06 Jun 2007 07:46:30.0445 (UTC) FILETIME=[CBBBF5D0:01C7A80E] X-WSS-ID: 6A78B9F820G4173170-03-01 Content-Type: multipart/signed; boundary="Sig_6H/pPfbpnRNWXV47UVXitWJ"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Spam-Score: -1.11 () BAYES_05 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Jun 2007 07:47:50 -0000 --Sig_6H/pPfbpnRNWXV47UVXitWJ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hello, I'm trying to write a Perl program which (among other things) has to communicate with a conserver. I dislike the idea of calling console for this task, thus I want to communicate with the conserver using a normal socket. Unfortunately I was not so successful in reverse engineering the protocol to use. Is there any documentation of the protocol used between console client and conserver (other than the source code of course)? Or even better, is there already a Perl module that offers this feature? Thanks for your help. Maik --=20 \ AMD Saxony Limited Liability Company & Co. KG Operating | Wilschdorfer Landstr. 101, 01109 Dresden, Germany System | Register Court Dresden: HRA 4896 Research | General Partner authorized to represent: Center | AMD Saxony LLC (Wilmington, Delaware, US) / General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy --Sig_6H/pPfbpnRNWXV47UVXitWJ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFGZmZV6Ipdensg2/kRAgKrAJwLlAJlRLFetECcLSNiIOXROPQafgCbB8y8 9/vbM6/p4u+lL+s1vmGfDGI= =Ku/v -----END PGP SIGNATURE----- --Sig_6H/pPfbpnRNWXV47UVXitWJ-- From jfn@dassic.com Sun Jun 17 03:06:03 2007 Received: from mail.dassic.com (174.Red-80-38-101.staticIP.rima-tde.net [80.38.101.174]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5HA5taX012231 for ; Sun, 17 Jun 2007 03:06:02 -0700 (PDT) Received: by mail.dassic.com (Postfix, from userid 48) id 32DEDF11495; Sun, 17 Jun 2007 12:05:54 +0200 (CEST) Received: from miro.intranet.dassic.com ([10.0.1.25]) (SquirrelMail authenticated user jfn) by www.dassic.com with HTTP; Sun, 17 Jun 2007 12:05:54 +0200 (CEST) Message-ID: <58222.10.0.1.25.1182074754.squirrel@www.dassic.com> Date: Sun, 17 Jun 2007 12:05:54 +0200 (CEST) Subject: How to pass console username to Cyclades username ? From: "Jesper Frank Nemholt" To: users@conserver.com User-Agent: SquirrelMail/1.4.8-4.fc5 MIME-Version: 1.0 Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 10:06:04 -0000 Hi! We have Cyclades ACS installed, accessible via SSH, and I'd like to centralize the connection point to them via Conserver instead of the current solution (a shell script doing roughly the same as Conserver but with many limits). The Cyclades are setup with username/password access on their own. As I haven't used Conserver for a long time, I'm somewhat behind with the features offered. I see currently two possible solutions for me : 1. Keep the Cyclades as they are (with their own user validation) and use Conserver just as gateway. For this, I'd prefer to have it configured so Conserver itself doesn't authorize users but just pass them on to the right console (where they're then authorized by the Cyclades). Can this be done without any security issues with Conserver ? 2. Change the Cyclades configuration so they don't validate, or validate to a specific user known by Conserver, thus Conserver maintain connections established to all servers connected to the Cyclades and take care of all authorization. I suppose I can limit the access at the same time on the Cyclades with TCP wrappers, so only the Conserver server(s) gets access. The benefit with this is that I get the user administration away from the Cyclades and into the UNIX servers where password are sync'ed, thus the admins don't need to maintain their passwords on the Cyclades but can use the standard company one as used in Windows logon. For solution 1, apart from setting up Conserver so it doesn't validate all users but trust (based upon where they come from/whatever), I have one small problem : The Cyclades validate per username, and I'd like that the username people use for console (console -l username) is passed to the Cyclades, however I don't know exactly how to do this on the conserver.cf. What the Cyclades expect is a resulting SSH command line like this : ssh -l username:portnumber hostname-of-cyclades The portnumber & hostname of the cyclades is easy, but I don't know how to pass the username. Anyone ? Below is an example of what I have currently. Apart from all this, I'd be happy to get some suggestion regarding best practises on Conserver+Cyclades. We have 16 of them, all 48 port and spread around the world in different datacenters. default bboxb05 { type exec; host fubar-cyclade; exec /usr/bin/ssh -l username:P H; execsubst H=hs,P=Pd; portbase 7000; portinc 1; } default ilo-rc { type exec; exec /usr/bin/ssh -l foo H; execsubst H=hs,P=Pd; } console fubar1 { include bboxb05; port 41; } console fubar2 { include bboxb05; port 26; } console fubar1-ilo { include ilo-rc; host fubar1rb; } From Michael.Redinger@uibk.ac.at Sun Jun 17 04:00:04 2007 Received: from smtp.uibk.ac.at (lmr1.uibk.ac.at [138.232.1.142]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5HAxtnU014669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Jun 2007 04:00:02 -0700 (PDT) Received: from [192.168.0.102] ([85.127.181.12] Michael.Redinger@uibk.ac.at) (authenticated bits=0) by smtp.uibk.ac.at (8.13.8/8.13.8/F1) with ESMTP id l5HAxrss020749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 17 Jun 2007 12:59:53 +0200 Message-ID: <46751430.20909@uibk.ac.at> Date: Sun, 17 Jun 2007 13:00:00 +0200 From: Michael Redinger User-Agent: Thunderbird 2.0.0.4 (Windows/20070604) MIME-Version: 1.0 To: users@conserver.com Subject: Re: How to pass console username to Cyclades username ? References: <58222.10.0.1.25.1182074754.squirrel@www.dassic.com> In-Reply-To: <58222.10.0.1.25.1182074754.squirrel@www.dassic.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-Scanned-By: MIMEDefang 2.61 at uibk.ac.at on 138.232.1.140 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jun 2007 11:00:05 -0000 Hi, here is how we use conserver together with conserver - without passing the usernames (your second solution): - configure the Cyclades server to accept hostbased authentication from your conserver host. - you might want to configure the Cyclades firewall to restrict ssh logins to your conserver server. - do not pass the user from conserver to the cyclades server. Instead, always use one user (and hostbased authentication). - configure conserver to use PAM. - configure conserver to connect to the appropriate ssh port for each system. (We do not use names for the ports because we found it is a better idea to keep the console servers as dumb as possible and do all the configuration on the conserver system. If you have many console servers, this is the best way to keep a clean configuration.) Eg.: default casssh { type exec; exec /usr/local/bin/cssh P H; execsubst P=pd,H=hs; } console myserver { port 1; include casssh; host mycycladesserver; } /usr/local/bin/cssh: #!/bin/sh PORT=${1} TERMSRV=${2} ssh -2 -q -x -t root:ttyS${PORT}@${TERMSRV} Greetings, Michael Jesper Frank Nemholt schrieb: > Hi! > > We have Cyclades ACS installed, accessible via SSH, and I'd like to > centralize the connection point to them via Conserver instead of the > current solution (a shell script doing roughly the same as Conserver but > with many limits). > > The Cyclades are setup with username/password access on their own. > > As I haven't used Conserver for a long time, I'm somewhat behind with the > features offered. > > I see currently two possible solutions for me : > > 1. Keep the Cyclades as they are (with their own user validation) and use > Conserver just as gateway. For this, I'd prefer to have it configured so > Conserver itself doesn't authorize users but just pass them on to the > right console (where they're then authorized by the Cyclades). > Can this be done without any security issues with Conserver ? > > 2. Change the Cyclades configuration so they don't validate, or validate > to a specific user known by Conserver, thus Conserver maintain connections > established to all servers connected to the Cyclades and take care of all > authorization. > I suppose I can limit the access at the same time on the Cyclades with TCP > wrappers, so only the Conserver server(s) gets access. > The benefit with this is that I get the user administration away from the > Cyclades and into the UNIX servers where password are sync'ed, thus the > admins don't need to maintain their passwords on the Cyclades but can use > the standard company one as used in Windows logon. > > > > For solution 1, apart from setting up Conserver so it doesn't validate all > users but trust (based upon where they come from/whatever), I have one > small problem : > > The Cyclades validate per username, and I'd like that the username people > use for console (console -l username) is passed to the Cyclades, however I > don't know exactly how to do this on the conserver.cf. > What the Cyclades expect is a resulting SSH command line like this : > > ssh -l username:portnumber hostname-of-cyclades > > The portnumber & hostname of the cyclades is easy, but I don't know how to > pass the username. Anyone ? > Below is an example of what I have currently. > > Apart from all this, I'd be happy to get some suggestion regarding best > practises on Conserver+Cyclades. > We have 16 of them, all 48 port and spread around the world in different > datacenters. > > > default bboxb05 { > type exec; > host fubar-cyclade; > exec /usr/bin/ssh -l username:P H; > execsubst H=hs,P=Pd; > portbase 7000; portinc 1; > } > > default ilo-rc { > type exec; > exec /usr/bin/ssh -l foo H; > execsubst H=hs,P=Pd; > } > > console fubar1 { include bboxb05; port 41; } > console fubar2 { include bboxb05; port 26; } > console fubar1-ilo { include ilo-rc; host fubar1rb; } > > > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users > -- Michael Redinger Zentraler Informatikdienst (Central IT Services) Universitaet Innsbruck Technikerstrasse 13 Tel.: ++43 512 507 2335 6020 Innsbruck Fax.: ++43 512 507 949 02335 Austria Mail: Michael.Redinger@uibk.ac.at BB98 D2FE 0F2C 2658 3780 3CB1 0FD7 A9D9 65C2 C11D http://homepage.uibk.ac.at/~c102mr/mred-pubkey.asc From fwernli@ccswiss.in2p3.fr Tue Jun 26 02:08:56 2007 Received: from ccsrelay01.in2p3.fr (ccsrelay01.in2p3.fr [134.158.66.51]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5Q98mOf004975 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Jun 2007 02:08:55 -0700 (PDT) Received: from ccswiss.in2p3.fr (ccswiss.in2p3.fr [134.158.71.219]) by ccsrelay01.in2p3.fr (8.13.8/8.13.8/IN2P3) with ESMTP id l5Q8rFgg004639 for ; Tue, 26 Jun 2007 10:53:15 +0200 Received: by ccswiss.in2p3.fr (Postfix, from userid 1000) id BF2B9C05F; Tue, 26 Jun 2007 11:08:51 +0200 (CEST) Date: Tue, 26 Jun 2007 11:08:51 +0200 From: Fabien Wernli To: users@conserver.com Subject: ERROR: getservbyname(conserver) failed Message-ID: <20070626090851.GE24949@ccswiss.in2p3.fr> Mail-Followup-To: users@conserver.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV 0.90.3/3524/Tue Jun 26 05:26:47 2007 on ccsrelay01.in2p3.fr X-Virus-Status: Clean X-Spam-Score: 0.001 () BAYES_50 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 09:08:57 -0000 Hi, The hostname of my conserver is 'consrv'. I run conserver using '-p 33000 -d'. I always get the following error: | ERROR: getservbyname(conserver) failed Even if I try to compile conserver using --with-master=consrv Now if I try to run conserver using '-M consrv', I get: | ERROR: inet_aton(consrv): invalid IP address And when using the IP: | ERROR: getservbyname(conserver) failed again From cross+conserver@distal.com Tue Jun 26 05:26:48 2007 Received: from valerian.revivesystems.com (valerian.revivesystems.com [38.100.32.81]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5QCOi6L009974 for ; Tue, 26 Jun 2007 05:24:50 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by valerian.revivesystems.com (Postfix) with ESMTP id 2C62D514002; Tue, 26 Jun 2007 08:24:30 -0400 (EDT) X-Virus-Scanned: amavisd-new at X-Spam-Score: -2.312 () BAYES_00 X-Spam-Level: X-Spam-Status: No, score=-4.399 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.8, BAYES_00=-2.599] Received: from valerian.revivesystems.com ([127.0.0.1]) by localhost (valerian.revivesystems.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Rz5zenfRI+AF; Tue, 26 Jun 2007 08:24:28 -0400 (EDT) Received: from [172.31.83.25] (vpn123.revivesystems.com [38.100.32.123]) by valerian.revivesystems.com (Postfix) with ESMTP id 6EBED514001; Tue, 26 Jun 2007 08:24:28 -0400 (EDT) In-Reply-To: <20070626090851.GE24949@ccswiss.in2p3.fr> References: <20070626090851.GE24949@ccswiss.in2p3.fr> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: Chris Ross Subject: Re: ERROR: getservbyname(conserver) failed Date: Tue, 26 Jun 2007 08:24:36 -0400 To: wernli@in2p3.fr X-Mailer: Apple Mail (2.752.3) X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 12:26:49 -0000 On Jun 26, 2007, at 5:08 AM, Fabien Wernli wrote: > Hi, > > The hostname of my conserver is 'consrv'. > I run conserver using '-p 33000 -d'. > > I always get the following error: > > | ERROR: getservbyname(conserver) failed This has often confused me when running conserver, because the program, often times the system, and the service port are all carrying the same name. :-) The above error is actually the last. It's complaining that it can't find an entry in /etc/services to map the name "conserver" to a port number (typically, 782/tcp). I'm curious that you see this error even when specifying the port to use via the "-p" argument, but... This, and many other common problems, are mentioned in the conserver FAQ, which can be found at: http://www.conserver.com/FAQ > Even if I try to compile conserver using --with-master=consrv > Now if I try to run conserver using '-M consrv', I get: > > | ERROR: inet_aton(consrv): invalid IP address (This is a DNS error, I think. At least, I'm not sure, but I didn't think -M only knew how to take IP addresses... Is consrv able to be resolved via DNS by other tools?) Good luck... - Chris From fwernli@ccswiss.in2p3.fr Tue Jun 26 06:03:44 2007 Received: from ccsrelay01.in2p3.fr (ccsrelay01.in2p3.fr [134.158.66.51]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5QD3aX9010550 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 26 Jun 2007 06:03:43 -0700 (PDT) Received: from ccswiss.in2p3.fr (ccswiss.in2p3.fr [134.158.71.219]) by ccsrelay01.in2p3.fr (8.13.8/8.13.8/IN2P3) with ESMTP id l5QCm4CL011088 for ; Tue, 26 Jun 2007 14:48:04 +0200 Received: by ccswiss.in2p3.fr (Postfix, from userid 1000) id 2B4F0C05F; Tue, 26 Jun 2007 15:03:40 +0200 (CEST) Date: Tue, 26 Jun 2007 15:03:40 +0200 From: Fabien Wernli To: users@conserver.com Subject: Re: ERROR: getservbyname(conserver) failed Message-ID: <20070626130339.GA31720@ccswiss.in2p3.fr> Mail-Followup-To: users@conserver.com References: <20070626090851.GE24949@ccswiss.in2p3.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: CC-IN2P3 (CNRS) User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: ClamAV 0.90.3/3527/Tue Jun 26 13:30:54 2007 on ccsrelay01.in2p3.fr X-Virus-Status: Clean X-Spam-Score: -0.74 () BAYES_20 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: wernli@in2p3.fr List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Jun 2007 13:03:45 -0000 Hi, On Tue, Jun 26, 2007 at 08:24:36AM -0400, Chris Ross wrote: > the name "conserver" to a port number (typically, 782/tcp). I'm > curious that you see this error even when specifying the port to use > via the "-p" argument, but... you were right - thanks! From bpeck@redhat.com Fri Jun 29 11:45:02 2007 Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5TIiqmk016718 for ; Fri, 29 Jun 2007 11:44:58 -0700 (PDT) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l5TIiprh018998 for ; Fri, 29 Jun 2007 14:44:51 -0400 Received: from mail.boston.redhat.com (mail.boston.redhat.com [172.16.76.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5TIipfW017454 for ; Fri, 29 Jun 2007 14:44:51 -0400 Received: from localhost.localdomain (vpn-248-122.boston.redhat.com [10.13.248.122]) by mail.boston.redhat.com (8.13.1/8.13.1) with ESMTP id l5TIioOd023291 for ; Fri, 29 Jun 2007 14:44:50 -0400 Message-ID: <4685531E.2020405@redhat.com> Date: Fri, 29 Jun 2007 14:44:46 -0400 From: Bill Peck User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: users@conserver.com Subject: [PATCH] Power control Content-Type: multipart/mixed; boundary="------------060700070505010204080702" X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 18:45:03 -0000 This is a multi-part message in MIME format. --------------060700070505010204080702 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I have put together a patch that adds power control to conserver. I have to say that I'm not really a C programmer and I'm sure this will need to be cleaned up before its accepted. But I had an itch and wanted to contribute. I've implemented the following commands for Default and Console: powerreset, poweroff, and powersubst. Here is an example from my Default Global section... powerreset /usr/sbin/power-reset --system C; poweroff /usr/sbin/power-off --system C; powersubst C=cs; a snippit from the help section: e change escape sequence f force attach read/write g group info i information dump k0 iniate power off k1 iniate power reset L toggle logging on/off l? break sequence list I'd appreciate any feedback and if anyone else finds this useful. Obviously this doesn't handle the configuring of the command that does the actual work. But I think thats outside the scope of conserver. --------------060700070505010204080702 Content-Type: text/x-patch; name="conserver-8.1.14-power.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="conserver-8.1.14-power.patch" diff -Nur conserver-8.1.14.orig/conserver/client.c conserver-8.1.14.subst/conserver/client.c --- conserver-8.1.14.orig/conserver/client.c 2006-04-03 09:32:08.000000000 -0400 +++ conserver-8.1.14.subst/conserver/client.c 2007-06-29 13:50:26.000000000 -0400 @@ -394,6 +394,8 @@ {WHEN_ALWAYS, "f force attach read/write"}, {WHEN_ALWAYS, "g group info"}, {WHEN_ALWAYS, "i information dump"}, + {WHEN_ATTACH, "k0 iniate power off"}, + {WHEN_ATTACH, "k1 iniate power reset"}, {WHEN_ATTACH, "L toggle logging on/off"}, {WHEN_ATTACH, "l? break sequence list"}, {WHEN_ATTACH, "l0 send break per config file"}, diff -Nur conserver-8.1.14.orig/conserver/client.h conserver-8.1.14.subst/conserver/client.h --- conserver-8.1.14.orig/conserver/client.h 2006-04-03 09:32:08.000000000 -0400 +++ conserver-8.1.14.subst/conserver/client.h 2007-06-29 13:50:26.000000000 -0400 @@ -42,6 +42,7 @@ S_CATTN, /* change 1 escape char to next input char */ S_CESC, /* change 2 escape char to next input char */ S_HALT1, /* we have a halt sequence in progress */ + S_POWER, /* we have a power sequence in progress */ S_SUSP, /* we are suspened, first char wakes us up */ S_IDENT, /* probational connection (who is this) */ S_PASSWD, /* still needs a passwd to connect */ diff -Nur conserver-8.1.14.orig/conserver/consent.h conserver-8.1.14.subst/conserver/consent.h --- conserver-8.1.14.orig/conserver/consent.h 2006-03-20 11:47:03.000000000 -0500 +++ conserver-8.1.14.subst/conserver/consent.h 2007-06-29 13:31:47.000000000 -0400 @@ -102,6 +102,9 @@ /* type == EXEC */ char *exec; /* exec command */ char *execsubst; /* exec substitution pattern */ + char *poweroff; /* poweroff command */ + char *powerreset; /* powerreset command */ + char *powersubst; /* power substitution pattern */ uid_t execuid; /* user to run exec as */ gid_t execgid; /* group to run exec as */ /* type == UDS */ diff -Nur conserver-8.1.14.orig/conserver/group.c conserver-8.1.14.subst/conserver/group.c --- conserver-8.1.14.orig/conserver/group.c 2006-04-07 11:47:20.000000000 -0400 +++ conserver-8.1.14.subst/conserver/group.c 2007-06-29 14:18:24.000000000 -0400 @@ -1832,6 +1832,48 @@ } } +void +#if PROTOTYPES +SendPower(CONSCLIENT *pCLServing, CONSENT *pCEServing, short pt) +#else +SendPower(pCLServing, pCEServing, pt) + CONSCLIENT *pCLServing; + CONSENT *pCEServing; + short pt; +#endif +{ + FILE *fpipe; + char line[256]; + char *cmd; + + if (pt < 0 || pt > 1) { + FileWrite(pCLServing->fd, FLAGFALSE, "aborted]\r\n", -1); + return; + } + if (pt == 0) + if ((cmd = StrDup(pCEServing->poweroff)) == (char *)0) + OutOfMem(); + + if (pt == 1) + if ((cmd = StrDup(pCEServing->powerreset)) == (char *)0) + OutOfMem(); + + FilePrint(pCLServing->fd, FLAGFALSE, "Command %s\r\n", cmd); + + if ( !(fpipe = (FILE*)popen(cmd,"r")) ) + { // If fpipe is NULL + FilePrint(pCLServing->fd, FLAGFALSE, "Failed\r\n"); + } + + while ( fgets( line, sizeof line, fpipe)) + { + FilePrint(pCLServing->fd, FLAGFALSE, "%s", line); + } + pclose(fpipe); + + FileWrite(pCLServing->fd, FLAGFALSE, "done]\r\n", -1); +} + #if HAVE_OPENSSL int #if PROTOTYPES @@ -3428,6 +3470,22 @@ } continue; + case S_POWER: /* power sequence? */ + pCLServing->iState = S_NORMAL; + if (acIn[i] < '0' || acIn[i] > '1') { + FileWrite(pCLServing->fd, FLAGFALSE, + "aborted]\r\n", -1); + continue; + } + + if (pCLServing->fwr) { + int pt = acIn[i] - '0'; + SendPower(pCLServing, pCEServing, pt); + } else + FileWrite(pCLServing->fd, FLAGFALSE, + "attach to send power]\r\n", -1); + continue; + case S_HALT1: /* halt sequence? */ pCLServing->iState = S_NORMAL; if (acIn[i] != '?' && @@ -3630,6 +3688,18 @@ tyme, (char *)0); break; + case 'k': /* power character 1 */ + if (pCEServing->fronly) { + FileWrite(pCLServing->fd, FLAGFALSE, + "can't power a read-only console]\r\n", + -1); + continue; + } + pCLServing->iState = S_POWER; + FileWrite(pCLServing->fd, FLAGFALSE, + "power ", -1); + break; + case 'L': CommandLogging(pGE, pCLServing, pCEServing, tyme); diff -Nur conserver-8.1.14.orig/conserver/readcfg.c conserver-8.1.14.subst/conserver/readcfg.c --- conserver-8.1.14.orig/conserver/readcfg.c 2006-03-20 11:47:03.000000000 -0500 +++ conserver-8.1.14.subst/conserver/readcfg.c 2007-06-29 14:32:06.000000000 -0400 @@ -729,6 +729,18 @@ if ((c->exec = StrDup(d->exec)) == (char *)0) OutOfMem(); } + if (d->poweroff != (char *)0) { + if (c->poweroff != (char *)0) + free(c->poweroff); + if ((c->poweroff = StrDup(d->poweroff)) == (char *)0) + OutOfMem(); + } + if (d->powerreset != (char *)0) { + if (c->powerreset != (char *)0) + free(c->powerreset); + if ((c->powerreset = StrDup(d->powerreset)) == (char *)0) + OutOfMem(); + } if (d->device != (char *)0) { if (c->device != (char *)0) free(c->device); @@ -747,6 +759,12 @@ if ((c->execsubst = StrDup(d->execsubst)) == (char *)0) OutOfMem(); } + if (d->powersubst != (char *)0) { + if (c->powersubst != (char *)0) + free(c->powersubst); + if ((c->powersubst = StrDup(d->powersubst)) == (char *)0) + OutOfMem(); + } if (d->initsubst != (char *)0) { if (c->initsubst != (char *)0) free(c->initsubst); @@ -925,6 +943,48 @@ void #if PROTOTYPES +ProcessPowerOff(CONSENT *c, char *id) +#else +ProcessPowerOff(c, id) + CONSENT *c; + char *id; +#endif +{ + if (c->poweroff != (char *)0) { + free(c->poweroff); + c->poweroff = (char *)0; + } + if (id == (char *)0 || id[0] == '\000') { + return; + } + if ((c->poweroff = StrDup(id)) + == (char *)0) + OutOfMem(); +} + +void +#if PROTOTYPES +ProcessPowerReset(CONSENT *c, char *id) +#else +ProcessPowerReset(c, id) + CONSENT *c; + char *id; +#endif +{ + if (c->powerreset != (char *)0) { + free(c->poweroff); + c->powerreset = (char *)0; + } + if (id == (char *)0 || id[0] == '\000') { + return; + } + if ((c->powerreset = StrDup(id)) + == (char *)0) + OutOfMem(); +} + +void +#if PROTOTYPES DefaultItemBreak(char *id) #else DefaultItemBreak(id) @@ -1106,6 +1166,19 @@ void #if PROTOTYPES +DefaultItemPowersubst(char *id) +#else +DefaultItemPowersubst(id) + char *id; +#endif +{ + CONDDEBUG((1, "DefaultItemPowersubst(%s) [%s:%d]", id, file, line)); + ProcessSubst(substData, (char **)0, &(parserDefaultTemp->powersubst), + "powersubst", id); +} + +void +#if PROTOTYPES DefaultItemUdssubst(char *id) #else DefaultItemUdssubst(id) @@ -1575,6 +1648,30 @@ void #if PROTOTYPES +DefaultItemPowerOff(char *id) +#else +DefaultItemPowerOff(id) + char *id; +#endif +{ + CONDDEBUG((1, "DefaultItemPowerOff(%s) [%s:%d]", id, file, line)); + ProcessPowerOff(parserDefaultTemp, id); +} + +void +#if PROTOTYPES +DefaultItemPowerReset(char *id) +#else +DefaultItemPowerReset(id) + char *id; +#endif +{ + CONDDEBUG((1, "DefaultItemPowerReset(%s) [%s:%d]", id, file, line)); + ProcessPowerReset(parserDefaultTemp, id); +} + +void +#if PROTOTYPES DefaultItemMOTD(char *id) #else DefaultItemMOTD(id) @@ -3141,6 +3238,14 @@ ProcessSubst(substData, &(c->initcmd), (char **)0, (char *)0, c->initsubst); + /* go ahead and do the power subst */ + if (c->powersubst != (char *)0) { + ProcessSubst(substData, &(c->poweroff), (char **)0, (char *)0, + c->powersubst); + ProcessSubst(substData, &(c->powerreset), (char **)0, (char *)0, + c->powersubst); + } + /* go ahead and do the '&' substitution */ if (c->logfile != (char *)0) { char *lf; @@ -3490,6 +3595,19 @@ void #if PROTOTYPES +ConsoleItemPowersubst(char *id) +#else +ConsoleItemPowersubst(id) + char *id; +#endif +{ + CONDDEBUG((1, "ConsoleItemPowersubst(%s) [%s:%d]", id, file, line)); + ProcessSubst(substData, (char **)0, &(parserConsoleTemp->powersubst), + "powersubst", id); +} + +void +#if PROTOTYPES ConsoleItemUdssubst(char *id) #else ConsoleItemUdssubst(id) @@ -3636,6 +3754,30 @@ void #if PROTOTYPES +ConsoleItemPowerOff(char *id) +#else +ConsoleItemPowerOff(id) + char *id; +#endif +{ + CONDDEBUG((1, "ConsoleItemPowerOff(%s) [%s:%d]", id, file, line)); + ProcessPowerOff(parserConsoleTemp, id); +} + +void +#if PROTOTYPES +ConsoleItemPowerReset(char *id) +#else +ConsoleItemPowerReset(id) + char *id; +#endif +{ + CONDDEBUG((1, "ConsoleItemPower(%s) [%s:%d]", id, file, line)); + ProcessPowerReset(parserConsoleTemp, id); +} + +void +#if PROTOTYPES ConsoleItemMOTD(char *id) #else ConsoleItemMOTD(id) @@ -4817,6 +4959,9 @@ {"idletimeout", DefaultItemIdletimeout}, {"include", DefaultItemInclude}, {"initcmd", DefaultItemInitcmd}, + {"poweroff", DefaultItemPowerOff}, + {"powerreset", DefaultItemPowerReset}, + {"powersubst", DefaultItemPowersubst}, {"initrunas", DefaultItemInitrunas}, {"initspinmax", DefaultItemInitspinmax}, {"initspintimer", DefaultItemInitspintimer}, @@ -4855,6 +5000,9 @@ {"idletimeout", ConsoleItemIdletimeout}, {"include", ConsoleItemInclude}, {"initcmd", ConsoleItemInitcmd}, + {"poweroff", ConsoleItemPowerOff}, + {"powerreset", ConsoleItemPowerReset}, + {"powersubst", ConsoleItemPowersubst}, {"initrunas", ConsoleItemInitrunas}, {"initspinmax", ConsoleItemInitspinmax}, {"initspintimer", ConsoleItemInitspintimer}, --------------060700070505010204080702-- From cfowler@outpostsentinel.com Fri Jun 29 13:01:23 2007 Received: from shuttle.linxdev.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5TK1Gh4017719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Jun 2007 13:01:22 -0700 (PDT) Received: from [127.0.0.1] (shuttle.linxdev.com [127.0.0.1]) by shuttle.linxdev.com (8.14.1/8.14.1) with ESMTP id l5TK1Epo001815; Fri, 29 Jun 2007 16:01:14 -0400 Subject: Re: [PATCH] Power control From: Christopher Fowler To: Bill Peck In-Reply-To: <4685531E.2020405@redhat.com> References: <4685531E.2020405@redhat.com> Content-Type: text/plain Date: Fri, 29 Jun 2007 16:01:14 -0400 Message-Id: <1183147274.30658.54.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 (2.10.2-2.fc7) Content-Transfer-Encoding: 7bit X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 20:01:24 -0000 I did this a while back with our version of 7.X. Instead of it executing an external power command it send a message to a daemon that was responsible for chatting with various power strips. The problem with supporting different vendors of strips is that they each have their own access method. The powerd daemon was responsible for knowing what strip was on what serial power and would char with the strip to execute the power command. To the user it was off,on,and reboot. Regardless if you were using APC, Baytech, etc. As long as powerd had support for that model of strip then you could control it via conserver. I did add a feature that would make sure that the user had R/W on the console and power control capability on the console. If not they were sent a message from conserver that they did not have sufficient rights to control power on that device. Being able to control power from console is an amazing benefit. I've used it many times to rescue systems in trouble. On Fri, 2007-06-29 at 14:44 -0400, Bill Peck wrote: > I have put together a patch that adds power control to conserver. I > have to say that I'm not really a C programmer and I'm sure this will > need to be cleaned up before its accepted. But I had an itch and wanted > to contribute. > > I've implemented the following commands for Default and Console: > powerreset, poweroff, and powersubst. > > Here is an example from my Default Global section... > > powerreset /usr/sbin/power-reset --system C; > poweroff /usr/sbin/power-off --system C; > powersubst C=cs; > > > a snippit from the help section: > > e change escape sequence f force attach read/write > g group info i information dump > k0 iniate power off k1 iniate power reset > L toggle logging on/off l? break sequence list > > > I'd appreciate any feedback and if anyone else finds this useful. > > Obviously this doesn't handle the configuring of the command that does > the actual work. But I think thats outside the scope of conserver. > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users From bpeck@redhat.com Fri Jun 29 13:31:00 2007 Received: from mx1.redhat.com (mx1.redhat.com [66.187.233.31]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5TKUq5c018051 for ; Fri, 29 Jun 2007 13:30:58 -0700 (PDT) Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l5TKUq7p014797; Fri, 29 Jun 2007 16:30:52 -0400 Received: from mail.boston.redhat.com (mail.boston.redhat.com [172.16.76.12]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5TKUpW0030729; Fri, 29 Jun 2007 16:30:51 -0400 Received: from localhost.localdomain (vpn-248-122.boston.redhat.com [10.13.248.122]) by mail.boston.redhat.com (8.13.1/8.13.1) with ESMTP id l5TKUoA7012224; Fri, 29 Jun 2007 16:30:50 -0400 Message-ID: <46856BFA.4030301@redhat.com> Date: Fri, 29 Jun 2007 16:30:50 -0400 From: Bill Peck User-Agent: Thunderbird 2.0.0.0 (X11/20070419) MIME-Version: 1.0 To: Christopher Fowler Subject: Re: [PATCH] Power control References: <4685531E.2020405@redhat.com> <1183147274.30658.54.camel@shuttle.linxdev.com> In-Reply-To: <1183147274.30658.54.camel@shuttle.linxdev.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.74 () BAYES_20 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 20:31:01 -0000 Christopher Fowler wrote: > I did this a while back with our version of 7.X. Instead of it > executing an external power command it send a message to a daemon that > was responsible for chatting with various power strips. The problem > with supporting different vendors of strips is that they each have their > own access method. Yes, I'm using our fence scripts from our cluster product to do the work of talking to the different power strips. Did you ever post your patches for inclusion? I just want power control from conserver and to not have to maintain a patch going forward. :-) > The powerd daemon was responsible for knowing what > strip was on what serial power and would char with the strip to execute > the power command. To the user it was off,on,and reboot. Regardless if > you were using APC, Baytech, etc. As long as powerd had support for > that model of strip then you could control it via conserver. > > I did add a feature that would make sure that the user had R/W on the > console and power control capability on the console. If not they were > sent a message from conserver that they did not have sufficient rights > to control power on that device. > > Being able to control power from console is an amazing benefit. I've > used it many times to rescue systems in trouble. > > > From cfowler@outpostsentinel.com Fri Jun 29 13:35:03 2007 Received: from shuttle.linxdev.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5TKYuZQ018122 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Jun 2007 13:35:02 -0700 (PDT) Received: from [127.0.0.1] (shuttle.linxdev.com [127.0.0.1]) by shuttle.linxdev.com (8.14.1/8.14.1) with ESMTP id l5TKYsBs002333; Fri, 29 Jun 2007 16:34:54 -0400 Subject: Re: [PATCH] Power control From: Christopher Fowler To: Bill Peck In-Reply-To: <46856BFA.4030301@redhat.com> References: <4685531E.2020405@redhat.com> <1183147274.30658.54.camel@shuttle.linxdev.com> <46856BFA.4030301@redhat.com> Content-Type: text/plain Date: Fri, 29 Jun 2007 16:34:54 -0400 Message-Id: <1183149294.30658.61.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 (2.10.2-2.fc7) Content-Transfer-Encoding: 7bit X-Spam-Score: -1.11 () BAYES_05 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 20:35:04 -0000 On Fri, 2007-06-29 at 16:30 -0400, Bill Peck wrote: > Yes, I'm using our fence scripts from our cluster product to do the > work > of talking to the different power strips. Did you ever post your > patches for inclusion? I just want power control from conserver and > to > not have to maintain a patch going forward. :-) Yours is actually a good patch. It uses an external program instead of IPC internal to conserver. I would just add a way to provide ACLs for power control. From holland@guidancetech.com Fri Jun 29 13:35:48 2007 Received: from sceptre.pobox.com (sceptre.pobox.com [207.106.133.20]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5TKZfgm018176 for ; Fri, 29 Jun 2007 13:35:46 -0700 (PDT) Received: from sceptre (localhost.localdomain [127.0.0.1]) by sceptre.pobox.com (Postfix) with ESMTP id 794582EF for ; Fri, 29 Jun 2007 16:36:02 -0400 (EDT) Received: from HACKINTOSH (unknown [64.126.99.5]) by sceptre.sasl.smtp.pobox.com (Postfix) with ESMTP id 4B93A5F358 for ; Fri, 29 Jun 2007 16:36:02 -0400 (EDT) From: "Rich Holland" To: References: <4685531E.2020405@redhat.com><1183147274.30658.54.camel@shuttle.linxdev.com> <46856BFA.4030301@redhat.com> Subject: RE: [PATCH] Power control Date: Fri, 29 Jun 2007 16:35:35 -0400 Organization: Guidance Technologies, Inc. Message-ID: <003d01c7ba8d$0c4015b0$1e0a1aac@HACKINTOSH> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 In-Reply-To: <46856BFA.4030301@redhat.com> Thread-Index: Ace6jLsRTRKLvJ1iQnOhDf1Wfp1zAgAADELA X-Spam-Score: -2.312 () BAYES_00 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list Reply-To: holland@guidancetech.com List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 20:35:49 -0000 Somewhat off topic, but has anyone modded a power strip so it's outlets could be remotely controlled, or are you all using pre-purchased power strips with serial interfaces? The ones I've looked at are way too expensive for home use....I'd like something I could use to remote-reboot my systems with at home when I'm traveling, but it's not worth $1k or more. :) Rich Holland Principal Consultant Guidance Technologies, Inc. Cell: 913-645-1950 Fax: 913-273-0675 -----Original Message----- From: users-bounces@conserver.com [mailto:users-bounces@conserver.com] On Behalf Of Bill Peck Sent: Friday, June 29, 2007 4:31 PM To: Christopher Fowler Cc: users@conserver.com Subject: Re: [PATCH] Power control Christopher Fowler wrote: > I did this a while back with our version of 7.X. Instead of it > executing an external power command it send a message to a daemon that > was responsible for chatting with various power strips. The problem > with supporting different vendors of strips is that they each have their > own access method. Yes, I'm using our fence scripts from our cluster product to do the work of talking to the different power strips. Did you ever post your patches for inclusion? I just want power control from conserver and to not have to maintain a patch going forward. :-) > The powerd daemon was responsible for knowing what > strip was on what serial power and would char with the strip to execute > the power command. To the user it was off,on,and reboot. Regardless if > you were using APC, Baytech, etc. As long as powerd had support for > that model of strip then you could control it via conserver. > > I did add a feature that would make sure that the user had R/W on the > console and power control capability on the console. If not they were > sent a message from conserver that they did not have sufficient rights > to control power on that device. > > Being able to control power from console is an amazing benefit. I've > used it many times to rescue systems in trouble. > > > _______________________________________________ users mailing list users@conserver.com https://www.conserver.com/mailman/listinfo/users From msilberm@cisco.com Fri Jun 29 13:55:02 2007 Received: from sj-iport-1.cisco.com (sj-iport-1-in.cisco.com [171.71.176.70]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5TKstvO018435 for ; Fri, 29 Jun 2007 13:55:00 -0700 (PDT) Received: from sj-dkim-3.cisco.com ([171.71.179.195]) by sj-iport-1.cisco.com with ESMTP; 29 Jun 2007 13:54:53 -0700 X-IronPort-AV: i="4.16,476,1175497200"; d="scan'208"; a="5823185:sNHT23472150" Received: from sj-core-2.cisco.com (sj-core-2.cisco.com [171.71.177.254]) by sj-dkim-3.cisco.com (8.12.11/8.12.11) with ESMTP id l5TKsr9o020055; Fri, 29 Jun 2007 13:54:53 -0700 Received: from xbh-sjc-221.amer.cisco.com (xbh-sjc-221.cisco.com [128.107.191.63]) by sj-core-2.cisco.com (8.12.10/8.12.6) with ESMTP id l5TKsdnQ021649; Fri, 29 Jun 2007 20:54:44 GMT Received: from xmb-sjc-223.amer.cisco.com ([128.107.191.124]) by xbh-sjc-221.amer.cisco.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 29 Jun 2007 13:54:44 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [PATCH] Power control Date: Fri, 29 Jun 2007 13:54:43 -0700 Message-ID: <781790161F4D504690CB0DF75E8F297A0222CE7B@xmb-sjc-223.amer.cisco.com> In-Reply-To: <003d01c7ba8d$0c4015b0$1e0a1aac@HACKINTOSH> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PATCH] Power control Thread-Index: Ace6jLsRTRKLvJ1iQnOhDf1Wfp1zAgAADELAAACLVBA= From: "Michael Silberman \(msilberm\)" To: , X-OriginalArrivalTime: 29 Jun 2007 20:54:44.0421 (UTC) FILETIME=[B8A43F50:01C7BA8F] Authentication-Results: sj-dkim-3; header.From=msilberm@cisco.com; dkim=pass ( sig from cisco.com/sjdkim3002 verified; ); X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 20:55:03 -0000 Hi Rich, If you do a search on your favorite search engine for " remote controlled power" you will find a large array or such creatures for prices in the hundreds to thousands. For example these guys have them for a few hundred http://www.dataprobe.com/products/power/iboot/ibootac/index.html. If you want anything less expensive you'll have to go to Radio Shack to find it or possibly solder up the components yourself. I recall that the circuit you are looking for can be found online too, just don't recall where. Regards, Michael > -----Original Message----- > From: users-bounces@conserver.com=20 > [mailto:users-bounces@conserver.com] On Behalf Of Rich Holland > Sent: Friday, June 29, 2007 1:36 PM > To: users@conserver.com > Subject: RE: [PATCH] Power control >=20 > Somewhat off topic, but has anyone modded a power strip so=20 > it's outlets could be remotely controlled, or are you all=20 > using pre-purchased power strips with serial interfaces? The=20 > ones I've looked at are way too expensive for home use....I'd=20 > like something I could use to remote-reboot my systems with=20 > at home when I'm traveling, but it's not worth $1k or more. :) >=20 > Rich Holland > Principal Consultant > Guidance Technologies, Inc.=20 > Cell: 913-645-1950 > Fax: 913-273-0675 > =20 >=20 > -----Original Message----- > From: users-bounces@conserver.com=20 > [mailto:users-bounces@conserver.com] On Behalf Of Bill Peck > Sent: Friday, June 29, 2007 4:31 PM > To: Christopher Fowler > Cc: users@conserver.com > Subject: Re: [PATCH] Power control >=20 > Christopher Fowler wrote: > > I did this a while back with our version of 7.X. Instead of it=20 > > executing an external power command it send a message to a=20 > daemon that=20 > > was responsible for chatting with various power strips. =20 > The problem=20 > > with supporting different vendors of strips is that they each have=20 > > their own access method. > Yes, I'm using our fence scripts from our cluster product to=20 > do the work of talking to the different power strips. Did=20 > you ever post your patches for inclusion? I just want power=20 > control from conserver and to not have to maintain a patch=20 > going forward. :-) >=20 > > The powerd daemon was responsible for knowing what strip=20 > was on what=20 > > serial power and would char with the strip to execute the power=20 > > command. To the user it was off,on,and reboot. Regardless if you=20 > > were using APC, Baytech, etc. As long as powerd had=20 > support for that=20 > > model of strip then you could control it via conserver. > > > > I did add a feature that would make sure that the user had=20 > R/W on the=20 > > console and power control capability on the console. If=20 > not they were=20 > > sent a message from conserver that they did not have=20 > sufficient rights=20 > > to control power on that device. > > > > Being able to control power from console is an amazing=20 > benefit. I've=20 > > used it many times to rescue systems in trouble. > > > > > > =20 >=20 > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users >=20 > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users >=20 From dj@gregor.com Fri Jun 29 14:39:02 2007 Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5TLcuCd018826 for ; Fri, 29 Jun 2007 14:39:01 -0700 (PDT) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 7D7142846 for ; Fri, 29 Jun 2007 17:38:54 -0400 (EDT) Received: from web5.messagingengine.com ([10.202.2.214]) by compute1.internal (MEProxy); Fri, 29 Jun 2007 17:38:55 -0400 Received: by web5.messagingengine.com (Postfix, from userid 99) id 1E7BE24D12; Fri, 29 Jun 2007 17:38:54 -0400 (EDT) Message-Id: <1183153134.5412.1197787313@webmail.messagingengine.com> X-Sasl-Enc: 8umHSdxZPiG9DuKabMvhZYykE2Wbj1neSj+CY64toyeu 1183153134 From: "DJ Gregor" To: users@conserver.com Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MessagingEngine.com Webmail Interface References: <4685531E.2020405@redhat.com><1183147274.30658.54.camel@shuttle.linxdev.com> <46856BFA.4030301@redhat.com> <003d01c7ba8d$0c4015b0$1e0a1aac@HACKINTOSH> Subject: RE: [PATCH] Power control In-Reply-To: <003d01c7ba8d$0c4015b0$1e0a1aac@HACKINTOSH> Date: Fri, 29 Jun 2007 17:38:54 -0400 X-Spam-Score: -0.74 () BAYES_20 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jun 2007 21:39:03 -0000 On Fri, 29 Jun 2007 16:35:35 -0400, "Rich Holland" said: > Somewhat off topic, but has anyone modded a power strip so it's outlets > could be remotely controlled, or are you all using pre-purchased power > strips with serial interfaces? I use the remote control power units that you talk about at home, but I bought them used on eBay from sellers with decent feedback. You're looking more around the $50-$200 range for working units that aren't the latest models. For some specific examples, search for "rpc-3", "baytech" (the vendor that makes the RPC-3), "remote power control", etc.. - djg -- DJ Gregor dj@gregor.com From cfowler@outpostsentinel.com Fri Jun 29 17:46:51 2007 Received: from shuttle.linxdev.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5U0iftp020183 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Jun 2007 17:44:48 -0700 (PDT) Received: from [127.0.0.1] (shuttle.linxdev.com [127.0.0.1]) by shuttle.linxdev.com (8.14.1/8.14.1) with ESMTP id l5U0ibuq005159; Fri, 29 Jun 2007 20:44:38 -0400 Subject: RE: [PATCH] Power control From: Christopher Fowler To: DJ Gregor In-Reply-To: <1183153134.5412.1197787313@webmail.messagingengine.com> References: <4685531E.2020405@redhat.com> <1183147274.30658.54.camel@shuttle.linxdev.com> <46856BFA.4030301@redhat.com> <003d01c7ba8d$0c4015b0$1e0a1aac@HACKINTOSH> <1183153134.5412.1197787313@webmail.messagingengine.com> Content-Type: text/plain Date: Fri, 29 Jun 2007 20:44:37 -0400 Message-Id: <1183164277.4524.5.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 (2.10.2-2.fc7) Content-Transfer-Encoding: 7bit X-Spam-Score: -0.74 () BAYES_20 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2007 00:46:52 -0000 I've also used a Sentry with much success. I think the 8port is around $600. I've got one installed in a rack at our co-lo and I've used it to save on gas many times. On Fri, 2007-06-29 at 17:38 -0400, DJ Gregor wrote: > On Fri, 29 Jun 2007 16:35:35 -0400, "Rich Holland" > said: > > Somewhat off topic, but has anyone modded a power strip so it's outlets > > could be remotely controlled, or are you all using pre-purchased power > > strips with serial interfaces? > > I use the remote control power units that you talk about at home, but I > bought them used on eBay from sellers with decent feedback. You're > looking more around the $50-$200 range for working units that aren't the > latest models. > > For some specific examples, search for "rpc-3", "baytech" (the vendor > that makes the RPC-3), "remote power control", etc.. > > > - djg From bmath@xsigo.com Fri Jun 29 22:24:34 2007 Received: from red.xsigo.com (nat0.xsigo.com [216.184.48.10]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5U5ORkJ022857 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 29 Jun 2007 22:24:33 -0700 (PDT) Received: from red.xsigo.com (localhost [127.0.0.1]) by red.xsigo.com (8.13.1/8.13.1) with ESMTP id l5U5OPOX015007; Fri, 29 Jun 2007 22:24:26 -0700 To: holland@guidancetech.com Subject: Re: [PATCH] Power control In-reply-to: <003d01c7ba8d$0c4015b0$1e0a1aac@HACKINTOSH> References: <4685531E.2020405@redhat.com><1183147274.30658.54.camel@shuttle.linxdev.com> <46856BFA.4030301@redhat.com> <003d01c7ba8d$0c4015b0$1e0a1aac@HACKINTOSH> Comments: In-reply-to "Rich Holland" message dated "Fri, 29 Jun 2007 16:35:35 -0400." X-Mailer: MH-E 8.0.3; nmh 1.1-RC4; GNU Emacs 21.3.1 Date: Fri, 29 Jun 2007 22:24:25 -0700 Message-ID: <15006.1183181065@red.xsigo.com> From: Brian Matheson X-Spam-Score: 0 () X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2007 05:24:35 -0000 The apc7900 is reasonable at about $420us for 8 ports; has a serial and ethernet ports, and a reasonable (scriptable) CLI avilable via the serial line or telnet (ssh too, I think) and a digital current readout. I like 'em. For home use, if you have the time to make it work, search for X10. Way cheaper. For modern, server class PCs, try ipmi. Cheers, Brian Rich Holland wrote: > Somewhat off topic, but has anyone modded a power strip so it's outlets > could be remotely controlled, or are you all using pre-purchased power > strips with serial interfaces? The ones I've looked at are way too > expensive for home use....I'd like something I could use to remote-reboot my > systems with at home when I'm traveling, but it's not worth $1k or more. :) > > Rich Holland > Principal Consultant > Guidance Technologies, Inc. > Cell: 913-645-1950 > Fax: 913-273-0675 > > > -----Original Message----- > From: users-bounces@conserver.com [mailto:users-bounces@conserver.com] On > Behalf Of Bill Peck > Sent: Friday, June 29, 2007 4:31 PM > To: Christopher Fowler > Cc: users@conserver.com > Subject: Re: [PATCH] Power control > > Christopher Fowler wrote: > > I did this a while back with our version of 7.X. Instead of it > > executing an external power command it send a message to a daemon that > > was responsible for chatting with various power strips. The problem > > with supporting different vendors of strips is that they each have their > > own access method. > Yes, I'm using our fence scripts from our cluster product to do the work > of talking to the different power strips. Did you ever post your > patches for inclusion? I just want power control from conserver and to > not have to maintain a patch going forward. :-) > > > The powerd daemon was responsible for knowing what > > strip was on what serial power and would char with the strip to execute > > the power command. To the user it was off,on,and reboot. Regardless if > > you were using APC, Baytech, etc. As long as powerd had support for > > that model of strip then you could control it via conserver. > > > > I did add a feature that would make sure that the user had R/W on the > > console and power control capability on the console. If not they were > > sent a message from conserver that they did not have sufficient rights > > to control power on that device. > > > > Being able to control power from console is an amazing benefit. I've > > used it many times to rescue systems in trouble. > > > > > > > > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users > > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users From cfowler@outpostsentinel.com Sat Jun 30 15:24:06 2007 Received: from shuttle.linxdev.com (66-23-224-81.clients.speedfactory.net [66.23.224.81]) by underdog.stansell.org (8.14.1/8.14.1) with ESMTP id l5UMNwXH008617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 30 Jun 2007 15:24:05 -0700 (PDT) Received: from [127.0.0.1] (shuttle.linxdev.com [127.0.0.1]) by shuttle.linxdev.com (8.14.1/8.14.1) with ESMTP id l5UMNuZc009513; Sat, 30 Jun 2007 18:23:57 -0400 Subject: Re: [PATCH] Power control From: Christopher Fowler To: Brian Matheson In-Reply-To: <15006.1183181065@red.xsigo.com> References: <4685531E.2020405@redhat.com> <1183147274.30658.54.camel@shuttle.linxdev.com> <46856BFA.4030301@redhat.com> <003d01c7ba8d$0c4015b0$1e0a1aac@HACKINTOSH> <15006.1183181065@red.xsigo.com> Content-Type: text/plain Date: Sat, 30 Jun 2007 18:23:56 -0400 Message-Id: <1183242236.4524.19.camel@shuttle.linxdev.com> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 (2.10.2-2.fc7) Content-Transfer-Encoding: 7bit X-Spam-Score: -0.74 () BAYES_20 X-Scanned-By: MIMEDefang 2.57 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.9 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Jun 2007 22:24:07 -0000 On Fri, 2007-06-29 at 22:24 -0700, Brian Matheson wrote: > The apc7900 is reasonable at about $420us for 8 ports That is a great price for intelligent power. Especially network or serial.