On Mon, 20 Apr 2009 14:11:22 -0700, fsalas wrote: > Hi, I'm quite new to clustering and HeartBeat, but as far as I know, a > very nice packages. > > Well, here is my problem, I'm willing to setup a cluster for an small > enterprise that will have several services located in virtual machines, > to make it simpler, let's say we have four nodes in the cluster, in two > nodes will run service A and in the other two nodes will run service B. > I would like to make it in one cluster and not in two miniclusters > because of later migration posibilities, easier administration,etc. > > I'm working with Ubuntu server 8.10 , with heartbeat-2 distrib packages.
8.10 has 2.1.3 which is not a good choice. use at least 2.1.4 or heartbeat 2.99.2 / pacemaker 1.0.3 . maybe you have to compile it yourself. > > Now, Ive setup the first two nodes, with service A with no problem , > service A is lsb, in my test is simply an apt-proxy with a virtual IP > and a drbd for shared storage. After learning how to do it, it works > flawesly, crm_verify didn't complain , all just fine. > > I've setup location rules to only let service A to run in these two > nodes > > Then I decided to add the other two nodes to the cluster, to continue > with service B, and here is the problem, even if these new nodes aren't > allowed to run service A, it seems that the CRM tells the LRM to monitor > service A on these nodes, as apt-proxy and drbd are not even installed > there, it complains with errors with drbd, and failed on apt-proxy. AM I > missing something here, or those test shouldn't be there, as location > forbids those nodes for running this services.:,( > > I would really appreciate any light you can bring on this, as Im > struggling with it for the last days. > > thanx in advance, and my apologies if my english is not as good as it > should! > is the "symmetric-cluster" option true (shell: "cibadmin -Q | grep symmetric" - no output means "true")? maybe this option has to be false. if it is false you have to add resource locations to tell heartbeat where to place the resource can run. if symmetric-cluster is true, heartbeat thinks every resource can run everywhere. - Thomas _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
