2007/11/22, Grigory Klyuchnikov <[EMAIL PROTECTED]>: > Hello, > > I've made a lab heartbeat cluster with two nodes. It works OK, but now > I'd like to use V2 style configuration and don't know how to start. > I've looked to http://linux-ha.org/GettingStartedV2, but it didn't say > any word how use new version config, only "What's New" gives some points > to ... > If anybody will point me to some resources that can help me to start, > I'll be happy! > Because I cannot understand how to convert two lines configuration file > into the ten and ten lines of XML config. > > Many thanks, > Grigory. > > PS. > Below my current config files on both nodes: > /etc/ha.d/ha.cf: > ------------------ > debugfile /var/log/ha-debug > logfile /var/log/ha-log > logfacility local0 > > keepalive 2 > deadtime 30 > warntime 10 > initdead 120 > > baud 19200 > serial /dev/ttyS0 # Linux > bcast eth1 > > auto_failback on > > stonith_host mole.example.com apcsmart /dev/ttyS1 motor.example.com 10 > > watchdog /dev/watchdog > > node mole.example.com motor.example.com > > # ipfail > respawn hacluster /usr/lib/heartbeat/ipfail > ping 192.168.1.41 192.168.1.203 > ------------------------- > /etc/ha.d/haresources: > mole.example.com 192.168.1.216/24/eth0/192.168.1.255 httpd > motor.example.com 192.168.1.227/24/eth0/192.168.1.255 dovecot >
If you have a v1 resource working configuration, you are looking for haresources2cib.py, it's included with HB2. Regards, Ciro _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
