[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]
Garry Dolley gdolley@arpnetworks.com
Tue, 12 Oct 2010 00:53:35 GMT
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