[Date Prev] [Date Index] [Date Next] [Thread Prev] [Thread Index] [Thread Next]

Re: conserver from solaris to linux

Bryan Stansell bryan@conserver.com
Fri, 3 Apr 2015 16:35:50 GMT


Hey Yash,

You'll the two could come up in unison if the ilo port allowed it (but doesn't)...so what you should do is use the "^Ecd" sequence to "down" the console on the master so that your test instance can connect.  Even when the test instance has forced the port down, you can use "^Eco" to have it open the connection again.  So, with the proper use of each sequence on each instance, you'll be able to flip-flop control of that console between them.

Bryan
 
On Apr 3, 2015, at 8:27 AM, Yash Menpara <solarmitra@gmail.com> wrote:

First task is given to me at my new job to migrate conserver from old solaris box to linux VM. I have build rpm using the file given at conserver.com
I am testing new conserver by using old solaris conserver.cf file and one of existing console called "fish".

After starting the conserver, the console "fish" goes down after few seconds. I am totally new to conserver, so I am not sure how I can disconnect from old master on solaris and connect to test master at linux for short term test, and then connect back to old server.
can same server console be coonected to different master ?

Here are details of command, config and log file

#conserver -v
[Fri Apr  3 11:06:38 2015] conserver (3765): conserver.com version 8.2.0
[Fri Apr  3 11:06:38 2015] conserver (3765): started as `root' by `ym1352'
[Fri Apr  3 11:06:38 2015] conserver (3765): INFO: interface address 127.0.0.1 (lo)
[Fri Apr  3 11:06:38 2015] conserver (3765): INFO: interface address 128.90.92.93 (eth0)
[Fri Apr  3 11:06:38 2015] conserver (3766): INFO: [fish] port 23 on fish-console
[Fri Apr  3 11:06:38 2015] conserver (3765): INFO: group #1 pid 3766 on port 38720
[Fri Apr  3 11:06:38 2015] conserver (3765): INFO: access type `t' for `localhost'
[Fri Apr  3 11:06:48 2015] conserver (3766): ERROR: [fish] connect timeout: forcing down

# cat /var/log/conserver

[Thu Apr  2 16:47:50 2015] conserver (3129): conserver.com version 8.2.0
[Thu Apr  2 16:47:50 2015] conserver (3129): started as `root' by ym1352'
[Thu Apr  2 16:48:00 2015] conserver (3131): ERROR: [shrimp] connect timeout: forcing down
[Fri Apr  3 11:04:42 2015] conserver (3129): terminated


#cat /var/log/consoles/fish

[-- Console up -- Fri Apr  3 11:06:38 2015]
[-- Console down -- Fri Apr  3 11:06:48 2015]

#  console -M localhost  fish-console
console: connect(): 782@localhost: Connection refused

---------------------------------/etc/conserver.cf---------------------

# cat /etc/conserver.cf
group mygroup1 {
        users *;

}


default ilo-vsp {
    port 23;
    initcmd "/opt/local/bin/ilo-vsplogin";
}


default * {
        rw mygroup1;
        logfile /var/log/consoles/&;
        master localhost;
        type host;
        timestamp 1la;
}


# fish hpdl380g4 mroom
console fish {
    include ilo-vsp;
    host fish-console;
}

# list of clients we allow

access * {
        trusted localhost;
}

_______________________________________________
users mailing list
users@conserver.com
https://www.conserver.com/mailman/listinfo/users