From gdolley@arpnetworks.com Tue Oct 12 00:53:35 2010 Received: from mail2.arpnetworks.com (mail2.arpnetworks.com [208.79.88.14]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9C0rUsg004639 for ; Tue, 12 Oct 2010 00:53:35 GMT Received: from garry-msi (gige.bur.digisynd.com [208.79.94.252]) by mail2.arpnetworks.com (Postfix) with ESMTPSA id BFCA526DC58 for ; Mon, 11 Oct 2010 17:53:29 -0700 (PDT) Date: Mon, 11 Oct 2010 17:53:29 -0700 From: Garry Dolley To: users@conserver.com Subject: 'console -r' only lists localhost Message-ID: <20101012005328.GB23887@garry-msi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Key: http://scie.nti.st/pubkey.asc X-PGP-Fingerprint: 3E04 03B3 25A7 E078 EAEB 9590 76C1 5E41 DDA2 B810 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: 1.242 (*) BAYES_00,FH_DATE_PAST_20XX X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2010 00:53:35 -0000 Hi Guys, I've been wrestling with this for a while and am starting to think I might be misunderstanding how multiple "master's" work. I am running conserver on Ubuntu Karmic (9.10): ||/ Name Version Description +++-======================-======================-============================================================ ii conserver-client 8.1.16-3 connect to a console server ii conserver-server 8.1.16-3 connect multiple user to a serial console with logging My /etc/conserver/console.cf file looks like: config * { master localhost; port 3109; sslenabled yes; } config vr01 { master vr01; } So I have one other "master", besides localhost. Host "vr01" runs conserver as well. console(1) has the following statement about the '-r' flag: -r Display daemon versions. The console client connects to each server to request its version information. Does "each server" mean each "master" you have defined in console.cf? When I use '-r', I get: $ console -r 127.0.0.1: version `conserver.com version 8.1.16' $ There's nothing about the "vr01" master I have configured. But I can do: $ console -M vr01 -r 10.0.120.120: version `conserver.com version 8.1.16' $ So I have to explicitly pass the master with '-M'. What I'd like to do is this: I have two conserver's, one on localhost and one on "vr01". I want to define consoles in /etc/conserver/conserver.cf that are either on the localhost conserver, or on the "vr01" conserver, without having to explicitly pass '-M' (and thereby have to know which host the console is running on). For example, a couple entries of my /etc/conserver/conserver.cf look like: console st02 { master localhost; ... } console lp02vm { master vr01; ... } I can type: $ console st02 and immediately get a console. But I can't do: $ console lp02vm Because it yields: $ console lp02vm localhost: console `lp02vm' not found $ Instead I have to explicitly pass '-M vr01': $ console -M vr01 lp02vm [Enter `^Ec?' for help] So, my main question is, if I've already defined "master vr01" for console "lp02vm", why do I have to pass '-M' on the command line? I'd like to avoid this, so I can have all consoles easily accessible with just the console name. Any help to this end would be appreciated. Thanks! -- Garry Dolley ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 Data center, VPS, and IP Transit solutions Member Los Angeles County REACT, Unit 336 | WQGK336 Blog http://scie.nti.st From nstraz@redhat.com Tue Oct 12 01:12:06 2010 Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9C1C1CW011414 for ; Tue, 12 Oct 2010 01:12:06 GMT Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9C1C06u014721 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 11 Oct 2010 21:12:00 -0400 Received: from tin.rawstew (ovpn-113-80.phx2.redhat.com [10.3.113.80]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o9C1Bxos029155; Mon, 11 Oct 2010 21:11:59 -0400 Received: by tin.rawstew (Postfix, from userid 10119) id 06A65E8175; Mon, 11 Oct 2010 21:11:58 -0400 (EDT) Date: Mon, 11 Oct 2010 21:11:58 -0400 To: Garry Dolley Subject: Re: 'console -r' only lists localhost Message-ID: <20101012011158.GQ2672@redhat.com> References: <20101012005328.GB23887@garry-msi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101012005328.GB23887@garry-msi> User-Agent: Mutt/1.5.20 (2009-08-17) From: nstraz@redhat.com X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-Spam-Score: 2.814 (**) BAYES_20,FH_DATE_PAST_20XX Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2010 01:12:07 -0000 On Oct 11 17:53, Garry Dolley wrote: > I've been wrestling with this for a while and am starting to think I > might be misunderstanding how multiple "master's" work. > > I am running conserver on Ubuntu Karmic (9.10): > > ||/ Name Version Description > +++-======================-======================-============================================================ > ii conserver-client 8.1.16-3 connect to a console server > ii conserver-server 8.1.16-3 connect multiple user to a serial console with logging > > My /etc/conserver/console.cf file looks like: > > config * { > master localhost; > port 3109; > sslenabled yes; > } > > config vr01 { > master vr01; > } What does `console -V` tell you. I have a feeling conserver is built --with-uds which would restrict console to only local masters. Nate From bryan@stansell.org Tue Oct 12 04:10:59 2010 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9C4AxQq014523 for ; Tue, 12 Oct 2010 04:10:59 GMT Received: (from bryan@localhost) by underdog.stansell.org (8.14.4/8.14.4/Submit) id o9C4AxLB014522 for users@conserver.com; Tue, 12 Oct 2010 04:10:59 GMT Date: Tue, 12 Oct 2010 04:10:59 +0000 From: Bryan Stansell To: users@conserver.com Subject: Re: 'console -r' only lists localhost Message-ID: <20101012041059.GA13692@underdog.stansell.org> References: <20101012005328.GB23887@garry-msi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101012005328.GB23887@garry-msi> User-Agent: Mutt/1.4.2.3i X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2010 04:10:59 -0000 Did you start conserver with the -R option or turn off redirects in the conserver.cf file with 'redirect [no|off|false]'? If not, the output of conserver with a -v or even -D might be useful. From the bits you posted, however, it sounds like it should be working...and my only guess at the moment is -R. Bryan From gdolley@arpnetworks.com Tue Oct 12 22:05:46 2010 Received: from mail2.arpnetworks.com (mail2.arpnetworks.com [208.79.88.14]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9CM5e72028662 for ; Tue, 12 Oct 2010 22:05:46 GMT Received: from garry-msi (gige.bur.digisynd.com [208.79.94.252]) by mail2.arpnetworks.com (Postfix) with ESMTPSA id 574E126DB54; Tue, 12 Oct 2010 15:05:40 -0700 (PDT) Date: Tue, 12 Oct 2010 15:05:39 -0700 From: Garry Dolley To: nstraz@redhat.com Subject: Re: 'console -r' only lists localhost Message-ID: <20101012220539.GA10457@garry-msi> References: <20101012005328.GB23887@garry-msi> <20101012011158.GQ2672@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101012011158.GQ2672@redhat.com> X-PGP-Key: http://scie.nti.st/pubkey.asc X-PGP-Fingerprint: 3E04 03B3 25A7 E078 EAEB 9590 76C1 5E41 DDA2 B810 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: 2.444 (**) BAYES_05,FH_DATE_PAST_20XX X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Oct 2010 22:05:46 -0000 On Mon, Oct 11, 2010 at 09:11:58PM -0400, nstraz@redhat.com wrote: > On Oct 11 17:53, Garry Dolley wrote: > > I've been wrestling with this for a while and am starting to think I > > might be misunderstanding how multiple "master's" work. > > > > I am running conserver on Ubuntu Karmic (9.10): > > > > ||/ Name Version Description > > +++-======================-======================-============================================================ > > ii conserver-client 8.1.16-3 connect to a console server > > ii conserver-server 8.1.16-3 connect multiple user to a serial console with logging > > > > My /etc/conserver/console.cf file looks like: > > > > config * { > > master localhost; > > port 3109; > > sslenabled yes; > > } > > > > config vr01 { > > master vr01; > > } > > What does `console -V` tell you. I have a feeling conserver is built > --with-uds which would restrict console to only local masters. Hi Nate, The output of `console -V` is as follows: $ console -V console: conserver.com version 8.1.16 console: default initial master server `console' console: default port referenced as `782' console: default escape sequence `^Ec' console: default site-wide configuration in `/etc/conserver/console.cf' console: default per-user configuration in `$HOME/.consolerc' console: options: libwrap, openssl, pam console: openssl version: OpenSSL 0.9.8g 19 Oct 2007 console: built with `./configure --sysconfdir=/etc/conserver --with-openssl --with-pam --with-regex --with-port=782 --prefix=/usr --mandir=${prefix}/share/man --infodir=${prefix}/share/info --with-logfile=/var/log/conserver/server.log --with-pidfile=/var/run/conserver.pid --with-libwrap --with-64bit' $ There is no '--with-uds', so I'm still stumped. -- Garry Dolley ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 Data center, VPS, and IP Transit solutions Member Los Angeles County REACT, Unit 336 | WQGK336 Blog http://scie.nti.st From gdolley@arpnetworks.com Wed Oct 13 00:03:01 2010 Received: from mail2.arpnetworks.com (mail2.arpnetworks.com [208.79.88.14]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9D02txj018143; Wed, 13 Oct 2010 00:03:01 GMT Received: from garry-msi (gige.bur.digisynd.com [208.79.94.252]) by mail2.arpnetworks.com (Postfix) with ESMTPSA id 7264A26F276; Tue, 12 Oct 2010 17:02:55 -0700 (PDT) Date: Tue, 12 Oct 2010 17:02:54 -0700 From: Garry Dolley To: Bryan Stansell Subject: Re: 'console -r' only lists localhost Message-ID: <20101013000254.GB10457@garry-msi> References: <20101012005328.GB23887@garry-msi> <20101012041059.GA13692@underdog.stansell.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101012041059.GA13692@underdog.stansell.org> X-PGP-Key: http://scie.nti.st/pubkey.asc X-PGP-Fingerprint: 3E04 03B3 25A7 E078 EAEB 9590 76C1 5E41 DDA2 B810 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: 1.242 (*) BAYES_00,FH_DATE_PAST_20XX X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 00:03:01 -0000 On Tue, Oct 12, 2010 at 04:10:59AM +0000, Bryan Stansell wrote: > Did you start conserver with the -R option or turn off redirects in the > conserver.cf file with 'redirect [no|off|false]'? > > If not, the output of conserver with a -v or even -D might be > useful. From the bits you posted, however, it sounds like it should be > working...and my only guess at the moment is -R. Hi Bryan, conserver is started like so: /usr/sbin/conserver -d -p 3109 -O 1 My conserver.cf looks like: config * { sslrequired no; sslenabled yes; } default full { rw *; } default * { sslrequired no; sslenabled yes; logfile /var/log/conserver/&.log; timestamp ""; include full; } access * { allowed 127.0.0.1; } Then I have my consoles defined: console st02 { master localhost; ... } console lp02vm { master vr01; ... } ... So conserver is neither started with -R and no "redirect" appears in the conserver.cf. This is why I'm stumped on this one ;) -- Garry Dolley ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 Data center, VPS, and IP Transit solutions Member Los Angeles County REACT, Unit 336 | WQGK336 Blog http://scie.nti.st From bryan@stansell.org Wed Oct 13 00:18:42 2010 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9D0Igch020630 for ; Wed, 13 Oct 2010 00:18:42 GMT Received: (from bryan@localhost) by underdog.stansell.org (8.14.4/8.14.4/Submit) id o9D0IgWk020629 for users@conserver.com; Wed, 13 Oct 2010 00:18:42 GMT Date: Wed, 13 Oct 2010 00:18:42 +0000 From: Bryan Stansell To: users@conserver.com Subject: Re: 'console -r' only lists localhost Message-ID: <20101013001842.GA19993@underdog.stansell.org> References: <20101012005328.GB23887@garry-msi> <20101012041059.GA13692@underdog.stansell.org> <20101013000254.GB10457@garry-msi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101013000254.GB10457@garry-msi> User-Agent: Mutt/1.4.2.3i X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 00:18:42 -0000 Do you mind sending me (personal email) the output of: /usr/sbin/conserver -p 3109 -O 1 -D telnet localhost 1 telnet vr01 1 I'm curious about how names are being mapped, if things are being thrown out somewhere, etc. When we get to the answer we can update the list with them. Bryan From gdolley@arpnetworks.com Wed Oct 13 01:24:07 2010 Received: from mail2.arpnetworks.com (mail2.arpnetworks.com [208.79.88.14]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9D1O1Qm001629; Wed, 13 Oct 2010 01:24:07 GMT Received: from garry-msi (gige.bur.digisynd.com [208.79.94.252]) by mail2.arpnetworks.com (Postfix) with ESMTPSA id 7045026DB47; Tue, 12 Oct 2010 18:24:01 -0700 (PDT) Date: Tue, 12 Oct 2010 18:24:00 -0700 From: Garry Dolley To: Bryan Stansell Subject: Re: 'console -r' only lists localhost Message-ID: <20101013012400.GA32032@garry-msi> References: <20101012005328.GB23887@garry-msi> <20101012041059.GA13692@underdog.stansell.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101012041059.GA13692@underdog.stansell.org> X-PGP-Key: http://scie.nti.st/pubkey.asc X-PGP-Fingerprint: 3E04 03B3 25A7 E078 EAEB 9590 76C1 5E41 DDA2 B810 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: 2.331 (**) BAYES_00,FH_DATE_PAST_20XX,WEIRD_PORT X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 01:24:07 -0000 On Tue, Oct 12, 2010 at 04:10:59AM +0000, Bryan Stansell wrote: > Did you start conserver with the -R option or turn off redirects in the > conserver.cf file with 'redirect [no|off|false]'? > > If not, the output of conserver with a -v or even -D might be > useful. From the bits you posted, however, it sounds like it should be > working...and my only guess at the moment is -R. So I ran conserver with '-v' and I got this very interesting message: [Tue Oct 12 15:11:34 2010] conserver (16805): ERROR: [lp02vm] console type unknown [/etc/conserver/conserver.cf:67] So that is probably why it won't load the 'lp02vm' console entry. But, since this console exists on _another_ server, what should the "type" be set to? Right now I just have: console lp02vm { master vr01.lax.digisynd.com; port 5002; } -- Garry Dolley ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 Data center, VPS, and IP Transit solutions Member Los Angeles County REACT, Unit 336 | WQGK336 Blog http://scie.nti.st From bryan@stansell.org Wed Oct 13 07:30:55 2010 Received: from underdog.stansell.org (localhost [127.0.0.1]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9D7UtGJ017169 for ; Wed, 13 Oct 2010 07:30:55 GMT Received: (from bryan@localhost) by underdog.stansell.org (8.14.4/8.14.4/Submit) id o9D7Ut9d017168 for users@conserver.com; Wed, 13 Oct 2010 07:30:55 GMT Date: Wed, 13 Oct 2010 07:30:55 +0000 From: Bryan Stansell To: users@conserver.com Subject: Re: 'console -r' only lists localhost Message-ID: <20101013073055.GA16019@underdog.stansell.org> References: <20101012005328.GB23887@garry-msi> <20101012041059.GA13692@underdog.stansell.org> <20101013012400.GA32032@garry-msi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101013012400.GA32032@garry-msi> User-Agent: Mutt/1.4.2.3i X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 07:30:56 -0000 The type can be anything, in this case (try "type exec;"). But if you're sharing the config file (which is sounds like you're not - my guess is most people do, hence not noticing this before), it should be whatever is necessary to talk to that device (otherwise it wouldn't work on the other host). That certainly looks like the reason for it failing. Yell if not! Bryan On Tue, Oct 12, 2010 at 06:24:00PM -0700, Garry Dolley wrote: > On Tue, Oct 12, 2010 at 04:10:59AM +0000, Bryan Stansell wrote: > > Did you start conserver with the -R option or turn off redirects in the > > conserver.cf file with 'redirect [no|off|false]'? > > > > If not, the output of conserver with a -v or even -D might be > > useful. From the bits you posted, however, it sounds like it should be > > working...and my only guess at the moment is -R. > > So I ran conserver with '-v' and I got this very interesting > message: > > [Tue Oct 12 15:11:34 2010] conserver (16805): ERROR: [lp02vm] console type unknown [/etc/conserver/conserver.cf:67] > > > So that is probably why it won't load the 'lp02vm' console entry. > But, since this console exists on _another_ server, what should the > "type" be set to? > > Right now I just have: > > console lp02vm { > master vr01.lax.digisynd.com; > port 5002; > } > > -- > Garry Dolley > ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 > Data center, VPS, and IP Transit solutions > Member Los Angeles County REACT, Unit 336 | WQGK336 > Blog http://scie.nti.st > _______________________________________________ > users mailing list > users@conserver.com > https://www.conserver.com/mailman/listinfo/users From bruce.edge@gmail.com Wed Oct 13 16:41:46 2010 Received: from mail-pw0-f50.google.com (mail-pw0-f50.google.com [209.85.160.50]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9DGfe3B019409 for ; Wed, 13 Oct 2010 16:41:46 GMT Received: by pwi5 with SMTP id 5so579365pwi.9 for ; Wed, 13 Oct 2010 09:41:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=NZfUShD8QRtjEQ/eWUSSVwR3mkHgrPoZga97a4P0ZhM=; b=FuAK+RzIObXUBY+vh0lhI3BfTwCIMb7W6MuFYsxgH+WB0bRkWtmmmjpsmesv4sMDeW 4l/G/hodTOvd5Va/9ME65IYjX+wXLyFriQRzwSJMusV+30do88pZWLnlk8jA+v7l4mPL gvWAiDgWd2bwNEGM8Myo2ssKhd6V8xulQt5QQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=sdHi+KsUmwsLVN/oR4JBvYz8zEALhfk9U5zS9NB7h0DZbRNt3WFBG+i7mXLEwfBRK9 JO6ezaaY9zBQq/65Jb2aNB9HIGmh/sq9gIDpIilpGZuz/KdpkxaVXvQW11ybqUjWxb/M UMnTqSl7MRZkfPK5/KVB8THzSf+EBTYA4qxIo= MIME-Version: 1.0 Received: by 10.143.29.1 with SMTP id g1mr5834727wfj.83.1286988100055; Wed, 13 Oct 2010 09:41:40 -0700 (PDT) Received: by 10.220.191.130 with HTTP; Wed, 13 Oct 2010 09:41:39 -0700 (PDT) In-Reply-To: <20101013030525.GA23432@helgaas.com> References: <201010121616.02739.bjorn.helgaas@hp.com> <201010121630.12835.bjorn.helgaas@hp.com> <20101013030525.GA23432@helgaas.com> Date: Wed, 13 Oct 2010 09:41:39 -0700 Message-ID: Subject: Re: conserver via iLO3 From: Bruce Edge To: Bjorn Helgaas , users@conserver.com Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: 1.242 (*) BAYES_00,FH_DATE_PAST_20XX X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by underdog.stansell.org id o9DGfe3B019409 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 16:41:46 -0000 On Tue, Oct 12, 2010 at 8:05 PM, Bjorn Helgaas wrote: > On Tue, Oct 12, 2010 at 05:27:18PM -0700, Bruce Edge wrote: >> Hi Bjorn, >> >> No, I haven't resolved this yet. All my iLO3 boxes have a nasty bug in >> that the VSP gets very slow and responds to 1 key every 5 sec or so >> after a while. >> I'm still chasing this down with HP. >> Once that's resolved I'll be able to readdress this. >> >> In the mean time, if you get it working, let me know what you did :-) >> >> Of course my problems could be related to the slow key thing. You've >> not had problems with that? > > No, I haven't, but I don't have conserver connect via the VSP. > I have an RS232 cable from the box to a Cyclades terminal server, > and conserver talks to the Cyclades. > > I like the idea of using the VSP because it would require less > cabling, but I haven't gotten it to work reliably.  I haven't > tried for quite a few years, so I don't remember the details. > I think it's quite embarrassing that there's not a simple way > to connect conserver with the iLO, but I don't work on the iLO > team :-( > > Bjorn Yes, I would think anyone from HP _should_ have that working :-) It works flawlessly with iLO2. Here's the config I use: default ilo-vsp { type host; port 23; initcmd "/usr/local/bin/ilo-vsplogin root password"; } console sqiggle { master localhost; include ilo-vsp; host squigglem; <- the "m" suffix resolves to the iLO IP addr } 0 %> cat /usr/local/bin/ilo-vsplogin #!/usr/bin/expect -f # ##################################################################### # Sample expect script for automating iLO VSP Logins with conserver # ##################################################################### # # Filename: /usr/local/etc/ilo-vsplogin # Hardware Supported: ProLiant DL360 G4, DL380 G4, BL30p, etc. # iLO Firmware Version Required: v1.60 # iLO must have Telnet logins enabled, encryption disabled. # Virtual Serial Port must be configured in RBSU. # To be useful, the operating System must be running a console on # the VSP (Virtual Serial Port). set send_slow {1 0.02} set username [lindex $argv 0]; set password [lindex $argv 1]; expect "Name: " send -s "$username\r" expect "ssword: " send -s "$password\r" expect "iLO> " send -s "VSP\r" I can't use the above with iLO3 because it doesn't allow telnet, so I have to use ssh. The problem I have is that the iLO3 shell has some inherent problem that it is dog slow. I have an escalated incident with HP on this right now. I feel that if the iLO ssh login was not crippled by this problem, that the following ssh version of the above script may actually work. Although, this is where I got stuck, so there may be other issues too. The timeout you mentioned may be a problem, but it should at least connect and work a bit at least right? #!/usr/bin/expect -f # ##################################################################### # Sample expect script for automating iLO VSP Logins with conserver # ##################################################################### # # Filename: /usr/local/etc/ilo-vsplogin # Hardware Supported: ProLiant DL360 G4, DL380 G4, BL30p, etc. # iLO Firmware Version Required: v1.60 # iLO must have Telnet logins enabled, encryption disabled. # Virtual Serial Port must be configured in RBSU. # To be useful, the operating System must be running a console on # the VSP (Virtual Serial Port). set send_slow {1 0.02} #set username [lindex $argv 0]; #set password [lindex $argv 1]; #expect "Name: " #send -s "$username\r" #send -s "ssh root@kaan-40m" #expect "ssword: " #send -s "$password\r" send -s "\r" expect "iLO> " send -s "VSP\r" > >> On Tue, Oct 12, 2010 at 3:30 PM, Bjorn Helgaas wrote: >> > On Tuesday, October 12, 2010 04:16:02 pm Bjorn Helgaas wrote: >> >> Hi Bruce, >> >> >> >> I came across this query: >> >>   http://www.gossamer-threads.com/lists/conserver/users/1568 >> >> >> >> Do you have that working?  I'd like to be able to do the same. >> >> >> >> I did trip over one issue that maybe you've already fixed. >> >> An ssh session to the iLO3 times out after 60 seconds, >> >> apparently because of this issue: >> >> >> >>   http://forums11.itrc.hp.com/service/forums/questionanswer.do?admit=109447626+1286921348019+28353475&threadId=1449710 >> >> >> >> I used this: >> >> >> >>   ssh -o ServerAliveInterval=0 >> >> >> >> and that seems to help. >> > >> > The default ServerAliveInterval is 0, so I guess you shouldn't be >> > tripping over this unless you have a per-user ssh setting as I do. >> > >> > Bjorn >> > > From gdolley@arpnetworks.com Wed Oct 13 23:09:22 2010 Received: from mail2.arpnetworks.com (mail2.arpnetworks.com [208.79.88.14]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9DN9GfW023726; Wed, 13 Oct 2010 23:09:22 GMT Received: from garry-msi (gige.bur.digisynd.com [208.79.94.252]) by mail2.arpnetworks.com (Postfix) with ESMTPSA id 6849B26DB51; Wed, 13 Oct 2010 16:09:16 -0700 (PDT) Date: Wed, 13 Oct 2010 16:09:15 -0700 From: Garry Dolley To: Bryan Stansell Subject: Re: 'console -r' only lists localhost Message-ID: <20101013230915.GC19775@garry-msi> References: <20101012005328.GB23887@garry-msi> <20101012041059.GA13692@underdog.stansell.org> <20101013012400.GA32032@garry-msi> <20101013073055.GA16019@underdog.stansell.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101013073055.GA16019@underdog.stansell.org> X-PGP-Key: http://scie.nti.st/pubkey.asc X-PGP-Fingerprint: 3E04 03B3 25A7 E078 EAEB 9590 76C1 5E41 DDA2 B810 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: 2.331 (**) BAYES_00,FH_DATE_PAST_20XX,WEIRD_PORT X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 23:09:22 -0000 Hi Bryan, OK, I put in 'type exec;' and we're getting a little farther now: $ console lp02vm console: connect(): 3109@localhost: Connection refused $ But now why the heck is it trying to connect to localhost? It should connect to vr01.lax.digisynd.com as its master. I did a tcpdump on localhost, to make sure the error wasn't erroneous, and indeed it is trying to connect to localhost. The plot thickens... ;) -- Garry Dolley ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 Data center, VPS, and IP Transit solutions Member Los Angeles County REACT, Unit 336 | WQGK336 Blog http://scie.nti.st On Wed, Oct 13, 2010 at 07:30:55AM +0000, Bryan Stansell wrote: > The type can be anything, in this case (try "type exec;"). But if > you're sharing the config file (which is sounds like you're not - my > guess is most people do, hence not noticing this before), it should be > whatever is necessary to talk to that device (otherwise it wouldn't work > on the other host). > > That certainly looks like the reason for it failing. Yell if not! > > Bryan > > On Tue, Oct 12, 2010 at 06:24:00PM -0700, Garry Dolley wrote: > > On Tue, Oct 12, 2010 at 04:10:59AM +0000, Bryan Stansell wrote: > > > Did you start conserver with the -R option or turn off redirects in the > > > conserver.cf file with 'redirect [no|off|false]'? > > > > > > If not, the output of conserver with a -v or even -D might be > > > useful. From the bits you posted, however, it sounds like it should be > > > working...and my only guess at the moment is -R. > > > > So I ran conserver with '-v' and I got this very interesting > > message: > > > > [Tue Oct 12 15:11:34 2010] conserver (16805): ERROR: [lp02vm] console type unknown [/etc/conserver/conserver.cf:67] > > > > > > So that is probably why it won't load the 'lp02vm' console entry. > > But, since this console exists on _another_ server, what should the > > "type" be set to? > > > > Right now I just have: > > > > console lp02vm { > > master vr01.lax.digisynd.com; > > port 5002; > > } > > > > -- > > Garry Dolley > > ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 > > Data center, VPS, and IP Transit solutions > > Member Los Angeles County REACT, Unit 336 | WQGK336 > > Blog http://scie.nti.st > > _______________________________________________ > > 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 gdolley@arpnetworks.com Wed Oct 13 23:19:33 2010 Received: from mail2.arpnetworks.com (mail2.arpnetworks.com [208.79.88.14]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9DNJRTT025361; Wed, 13 Oct 2010 23:19:33 GMT Received: from garry-msi (gige.bur.digisynd.com [208.79.94.252]) by mail2.arpnetworks.com (Postfix) with ESMTPSA id 7267826DB51; Wed, 13 Oct 2010 16:19:27 -0700 (PDT) Date: Wed, 13 Oct 2010 16:19:26 -0700 From: Garry Dolley To: Bryan Stansell Subject: Re: 'console -r' only lists localhost Message-ID: <20101013231926.GD19775@garry-msi> References: <20101012005328.GB23887@garry-msi> <20101012041059.GA13692@underdog.stansell.org> <20101013012400.GA32032@garry-msi> <20101013073055.GA16019@underdog.stansell.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101013073055.GA16019@underdog.stansell.org> X-PGP-Key: http://scie.nti.st/pubkey.asc X-PGP-Fingerprint: 3E04 03B3 25A7 E078 EAEB 9590 76C1 5E41 DDA2 B810 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: 2.331 (**) BAYES_00,FH_DATE_PAST_20XX,WEIRD_PORT X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 Cc: users@conserver.com X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 23:19:33 -0000 Hey Bryan, Please disregard my previous messages about connecting to localhost. False alarm! Turns out I had not restarted conserver correctly (I just did 'conserver -v' and forgot to add '-p 3109'). Now it works! $ console -r 127.0.0.1: version `conserver.com version 8.1.16' vr01.lax.digisynd.com: version `conserver.com version 8.1.16' $ $ console lp02vm [Enter `^Ec?' for help] ... For the record, this is what I have for the "lp02vm" console now: console lp02vm { master vr01.lax.digisynd.com; type exec; port 5002; } I also removed the "config" entry from /etc/conserver/console.cf, turns out it is not needed. Thanks for the help! -- Garry Dolley ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 Data center, VPS, and IP Transit solutions Member Los Angeles County REACT, Unit 336 | WQGK336 Blog http://scie.nti.st On Wed, Oct 13, 2010 at 07:30:55AM +0000, Bryan Stansell wrote: > The type can be anything, in this case (try "type exec;"). But if > you're sharing the config file (which is sounds like you're not - my > guess is most people do, hence not noticing this before), it should be > whatever is necessary to talk to that device (otherwise it wouldn't work > on the other host). > > That certainly looks like the reason for it failing. Yell if not! > > Bryan > > On Tue, Oct 12, 2010 at 06:24:00PM -0700, Garry Dolley wrote: > > On Tue, Oct 12, 2010 at 04:10:59AM +0000, Bryan Stansell wrote: > > > Did you start conserver with the -R option or turn off redirects in the > > > conserver.cf file with 'redirect [no|off|false]'? > > > > > > If not, the output of conserver with a -v or even -D might be > > > useful. From the bits you posted, however, it sounds like it should be > > > working...and my only guess at the moment is -R. > > > > So I ran conserver with '-v' and I got this very interesting > > message: > > > > [Tue Oct 12 15:11:34 2010] conserver (16805): ERROR: [lp02vm] console type unknown [/etc/conserver/conserver.cf:67] > > > > > > So that is probably why it won't load the 'lp02vm' console entry. > > But, since this console exists on _another_ server, what should the > > "type" be set to? > > > > Right now I just have: > > > > console lp02vm { > > master vr01.lax.digisynd.com; > > port 5002; > > } > > > > -- > > Garry Dolley > > ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 > > Data center, VPS, and IP Transit solutions > > Member Los Angeles County REACT, Unit 336 | WQGK336 > > Blog http://scie.nti.st > > _______________________________________________ > > 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 gdolley@arpnetworks.com Wed Oct 13 23:25:16 2010 Received: from mail2.arpnetworks.com (mail2.arpnetworks.com [208.79.88.14]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9DNPBiw026266 for ; Wed, 13 Oct 2010 23:25:16 GMT Received: from garry-msi (gige.bur.digisynd.com [208.79.94.252]) by mail2.arpnetworks.com (Postfix) with ESMTPSA id 0923226DB51 for ; Wed, 13 Oct 2010 16:25:11 -0700 (PDT) Date: Wed, 13 Oct 2010 16:25:10 -0700 From: Garry Dolley To: users@conserver.com Subject: Re: 'console -r' only lists localhost Message-ID: <20101013232509.GE19775@garry-msi> References: <20101012005328.GB23887@garry-msi> <20101012041059.GA13692@underdog.stansell.org> <20101013012400.GA32032@garry-msi> <20101013073055.GA16019@underdog.stansell.org> <20101013230915.GC19775@garry-msi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20101013230915.GC19775@garry-msi> X-PGP-Key: http://scie.nti.st/pubkey.asc X-PGP-Fingerprint: 3E04 03B3 25A7 E078 EAEB 9590 76C1 5E41 DDA2 B810 User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: 1.242 (*) BAYES_00,FH_DATE_PAST_20XX X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 23:25:16 -0000 On Wed, Oct 13, 2010 at 04:09:15PM -0700, Garry Dolley wrote: > Hi Bryan, > > OK, I put in 'type exec;' and we're getting a little farther now: > > $ console lp02vm > console: connect(): 3109@localhost: Connection refused > $ > > > But now why the heck is it trying to connect to localhost? It > should connect to vr01.lax.digisynd.com as its master. > > I did a tcpdump on localhost, to make sure the error wasn't > erroneous, and indeed it is trying to connect to localhost. > > The plot thickens... ;) For the list record, this was a false alarm. I had not started conserver correctly (used 'conserver -v' instead of 'conserver -p 3109 -v') -- Garry Dolley ARP Networks, Inc. | http://www.arpnetworks.com | (818) 206-0181 Data center, VPS, and IP Transit solutions Member Los Angeles County REACT, Unit 336 | WQGK336 Blog http://scie.nti.st From bruce.edge@gmail.com Thu Oct 21 21:09:50 2010 Received: from mail-pv0-f178.google.com (mail-pv0-f178.google.com [74.125.83.178]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9LL9imZ007546 for ; Thu, 21 Oct 2010 21:09:50 GMT Received: by pva18 with SMTP id 18so30591pva.9 for ; Thu, 21 Oct 2010 14:09:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=3ci+hUutxQJscof0M/h8pmQbLkCWz8KCl1YsAlkcVzg=; b=hiOLRp1gz/ifXrs4yGjH2VXXyanHoJAAma3IqFs4W2hMjauhwQfmpngXZ+/znIq5C5 V0lAUc+L+JTJUUPq93NaKZHf0dczmrFl5O98ryoqGgA5VX+p7eZXuIquAK8Kd8/HmDMe AdBc5uXGLqEeHYWnpqFTt9eYmlKXoNJ9T6MFI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oVWD4O97KubLv6kujuUVP5bK+9H8XRnbg8dSRLP34HL7ibaXmBgIYpqrHRjInBzrpG gCRNQbkDz7NkDKXIm/D5YlYF0QS083ud6/R+X9NvcmoBoX0Y+F+Hf6OludGvht6V9wmW MrvpXY1cx8whFa7AvKewJdilbCo23LHYyRMU0= MIME-Version: 1.0 Received: by 10.142.172.16 with SMTP id u16mr819438wfe.357.1287695384178; Thu, 21 Oct 2010 14:09:44 -0700 (PDT) Received: by 10.220.191.130 with HTTP; Thu, 21 Oct 2010 14:09:43 -0700 (PDT) Date: Thu, 21 Oct 2010 14:09:43 -0700 Message-ID: Subject: Windows client binary? From: Bruce Edge To: conserver Content-Type: text/plain; charset=ISO-8859-1 X-Spam-Score: 1.242 (*) BAYES_00,FH_DATE_PAST_20XX X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 21:09:50 -0000 Has anyone published a windows conserver-client binary? This would be very useful as it would get rid of the thousands of shell logins I have from windows users that just need a console connection. Thanks in advance for an info. -Bruce From cfowler@outpostsentinel.com Thu Oct 21 21:39:44 2010 Received: from support.opsdc.com (support.opsdc.com [65.254.219.9]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9LLdcV2012086 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 21 Oct 2010 21:39:44 GMT Received: from [192.168.1.115] (buford.k3dc.com [208.65.90.32] (may be forged)) by support.opsdc.com (8.13.8/8.13.8) with ESMTP id o9LLdaWk030146; Thu, 21 Oct 2010 17:39:37 -0400 Subject: Re: Windows client binary? From: Chris Fowler To: Bruce Edge In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Thu, 21 Oct 2010 17:39:34 -0400 Message-ID: <1287697174.1988.165.camel@cfowler-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit X-Spam-Score: 1.242 (*) BAYES_00,FH_DATE_PAST_20XX X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 Cc: conserver X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2010 21:39:44 -0000 On Thu, 2010-10-21 at 14:09 -0700, Bruce Edge wrote: > Has anyone published a windows conserver-client binary? I did one back with version 7.2.7. It should compile under cygwin. Once you do that you should only need to copy console.exe and the cygwin DLL file. From glance@acc.umu.se Fri Oct 29 13:44:09 2010 Received: from mail.acc.umu.se (mail.acc.umu.se [130.239.18.156]) by underdog.stansell.org (8.14.4/8.14.4) with ESMTP id o9TDi2bN000495 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Fri, 29 Oct 2010 13:44:09 GMT Received: from localhost (localhost [127.0.0.1]) by amavisd-new (Postfix) with ESMTP id 56A7F69F for ; Fri, 29 Oct 2010 15:44:01 +0200 (MEST) X-Virus-Scanned: amavisd-new at acc.umu.se Received: from kennedy.acc.umu.se (kennedy.acc.umu.se [130.239.18.157]) by mail.acc.umu.se (Postfix) with ESMTP id 5310D69E for ; Fri, 29 Oct 2010 15:44:00 +0200 (MEST) Received: by kennedy.acc.umu.se (Postfix, from userid 24471) id 35B33782; Fri, 29 Oct 2010 15:44:00 +0200 (MEST) Date: Fri, 29 Oct 2010 15:44:00 +0200 From: Anton Lundin To: users@conserver.com Subject: [PATCH] Power control Message-ID: <20101029134359.GU4570@kennedy.acc.umu.se> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qim0fXNpvdl5D74Y" Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Spam-Score: 1.242 (*) BAYES_00,FH_DATE_PAST_20XX X-Scanned-By: MIMEDefang 2.67 on 209.182.219.30 X-BeenThere: users@conserver.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: Conserver Users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Oct 2010 13:44:09 -0000 --qim0fXNpvdl5D74Y Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi. About 1-2 years ago I fond a nice looking patch[1] for power control via conserver on this maillist. I have done some cleanup work and some fixes to get it more usable, and its currently working pretty nice.=20 I would love to get this functionality included in mainline. The patch is available on: http://www.acc.umu.se/~glance/conserver/conserver-8.1.17-power-control.patch And some examples on how we are using the power control stuff is available at http://www.acc.umu.se/~glance/conserver/conserver.cf //Anton 1. https://www.conserver.com/pipermail/users/2007-June/msg00018.html --=20 Anton Lundin +46702-161604 --qim0fXNpvdl5D74Y Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (SunOS) iEYEARECAAYFAkzKz58ACgkQtzMWYGkOSXeacgCgn3rL0+Zc3M+27VJPrwMP6Y4Z Dy8AniKm1QrVDtsqUJmcdp1L1E4SZkEo =9qiM -----END PGP SIGNATURE----- --qim0fXNpvdl5D74Y--