OK, here's another strange happening, I had an IPaddr resource with a separate (non-WAL file forwarding instance) database co-located to it. I created this early on to get up to speed on the HA basics. It uses the heartbeat ocf script, as does IPaddr. I used a places constraint with a uname eq to move it manually between nodes in the cluster. As I was testing my multistate OCF script for the WAL file forwarding version, I decided to try moving the IPaddr resource from one node to another (I've been having some issues in my fail-over testing, so I thought I'd verify that the IPaddr handling still worked). When the IPaddr moved, it affected the WAL file forwarding resource as well. I haven't dug into the logs yet to see what happened, but the question becomes why would other resources on a node be affected when a change is made to a completely independent resource? Does it have something to do with managing everything from the GUI? Or making changes to the cib.xml (which I only do through the GUI right now)? I've also noticed that the monitoring of the resources does not appear to be happening. I killed the master database using the original LSB script and waited for the HA resource monitoring to pick it up and restart, but it didn't. I'm probably missing something simple here...
Doug On Fri, 2007-04-06 at 10:24 -0400, Doug Knight wrote: > I've asked this question before, but have not gotten an answer: > > Can you have a location constraint to set the resource to prefer > running the master on one node vs the other (and still have the slave > running too)? > > > On Fri, 2007-04-06 at 09:46 -0400, Doug Knight wrote: > > > Not sure how to determine the version of the GUI. It came with the > > 2.0.8 release. The prolog says copyright 2005. I've looked at the > > DTD and its not always clear what its saying, but it helps. What's > > really helped is "stealing" the do_cmd function from the drbd OCF > > script, and placing a few targeted "env" commands in some of my > > functions. Though all the info I gather this way is also on the web > > site, for me I understand it better when I see it in action. > > > > I did see and review the tutorial you referred to in your other > > email. I checked it out prior to getting started with Linux-HA. > > Maybe its time I revisited it ;) > > > > Doug > > > > On Fri, 2007-04-06 at 07:32 -0600, Alan Robertson wrote: > > > > > Doug Knight wrote: > > > > Hi Alan, > > > > Interesting. This entry in the cib was completely created from the GUI. > > > > I modified the Transition Timeout from the GUI to get around the timeout > > > > of my notify function call. So if I understand what you're saying, I > > > > should remove the tags from the op definition and create nvpairs to > > > > replace them. > > > > > > This is described in my tutorial and also in the DTD. > > > > > > > By the way, I checked out the link you sent with the GUI information. > > > > Unfortunately the system I use for the web and email is also the server > > > > on which we run our apps, and it has no sound ability at all (I'm > > > > probably lucky its not headless ;) I'll check your page out over the > > > > weekend from my laptop. > > > > > > What version of the GUI created it that way? > > > > > > I know some versions create it as a parameter with nvpairs, but I didn't > > > know any created it as tags in the way you showed... > > > > > > > > > > > > > > > > _______________________________________________________ > > Linux-HA-Dev: [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > > Home Page: http://linux-ha.org/ > > _______________________________________________________ > Linux-HA-Dev: [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/
_______________________________________________________ Linux-HA-Dev: [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/
