On Wed, Sep 7, 2011 at 4:01 PM, Dan Frincu <[email protected]> wrote: > Hi, > > On Wed, Sep 7, 2011 at 4:05 AM, Nick Khamis <[email protected]> wrote: >> Hello Everyone, >> >> We are moving everything over from heartbeat, after the last update >> brought the cluster to it's knees... What we are interested in is >> using corosync, pacemaker to LVS mysql, and asterisk. We have not >> looked into asterisk yet, and we don't know if it's even possible >> (i.e. if there is already an ocf a;ready created). > > If it has an LSB compliant init script, than it shouldn't be a problem > in running it.
The last time I looked it wasn't. But I mentioned it to Russell and he told me he was going to fix it. > However if you need an OCF RA, you can start by taking > a look at this guide: > http://www.linux-ha.org/doc/dev-guides/ra-dev-guide.html > >> Regardless, our attempt to install corosync from source using the >> directrions found in "http://www.clusterlabs.org/wiki/Install" seemed >> to go ok however, nothing was created. We had to manually copy: >> cp /usr/etc/corosync/corosync.conf.example /etc/corosync/corosync.conf >> cp /usr/etc/init.d/corosync /etc/init.d/corosync >> We have a long way to go, you're help is greatly appreciated. >> >> simple startup conf >> >> totem { >> version: 2 >> secauth: off >> threads: 0 >> interface { >> ringnumber: 0 >> bindnetaddr: 192.168.1.1 >> mcastaddr: 226.94.1.1 >> mcastport: 5405 >> ttl: 1 >> } >> } >> >> logging { >> fileline: off >> to_stderr: no >> to_logfile: yes >> to_syslog: yes >> logfile: /var/log/cluster/corosync.log >> debug: off >> timestamp: on >> logger_subsys { >> subsys: AMF >> debug: off >> } >> } >> >> amf { >> mode: disabled >> } > > Since you've already compiled it, best thing would be to continue with > the configuration. This will help: > http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Clusters_from_Scratch/index.html#s-configure-corosync > >> >> If there are script that I am suppose to be running that will create >> everyting? > > Not really, even with binary versions you don't get the corosync.conf > file, but the corosync.conf.example that you edit according to your > environment. > >> Do I need to install OpenAIS as well? > > Only if you plan on using cluster aware filesystems. > >> We downloaded the >> latest version of resource agents, cluster glue, corosync, pacemaker. >> I know we can install everything from gentoo source tree, but we are >> trying to avoid that... > > Why? (just curious) > > Regards, > Dan > >> >> Your help is greatly appreciated, >> >> Nick. >> _______________________________________________ >> Openais mailing list >> [email protected] >> https://lists.linux-foundation.org/mailman/listinfo/openais >> > > > > -- > Dan Frincu > CCNA, RHCE > _______________________________________________ > Openais mailing list > [email protected] > https://lists.linux-foundation.org/mailman/listinfo/openais _______________________________________________ Openais mailing list [email protected] https://lists.linux-foundation.org/mailman/listinfo/openais
