Thanks Emmanuel and Andrew. Every thing is workin now. Felipe
On Mon, Dec 17, 2012 at 11:38 PM, Andrew Beekhof <[email protected]> wrote: > On Tue, Dec 18, 2012 at 3:28 AM, Emmanuel Saint-Joanis > <[email protected]> wrote: > >> > >> > >> location ms_drbd_r8-master-prefer-cloud4 drbd_r8_ms rule role="Master" > 50: > >> #uname eq cloud4 > >> > >> But the command "uname" on my linux shell return the string "Linux". > Only > >> if I type "uname -n" I get cloud4. But I am not allowed to configure > >> "#uname -n eq cloud4". Do you know what to do? > > The -n is implied. Just write "#uname eq cloud4" > > >> > > > > This is a well known issue, search a bit, you'll find, but one can use IP > > too. > > But as for anyone "uname" gives "Linux", it should work anyway. > > > > I would better do this : > > location drbd_r8_fs-LOVE-cloud4 drbd_r8_fs 200: cloud4 > > location drbd_r8_fs-LIKE-cloud4 drbd_r8_fs 100: cloud11 > > crm will maybe answer some "I don't know this node", but ignore it. > > This might seem strange but, the depending resource drbd_r8_fs is > > correlated to the drbd, and as DRBD gets promoted, it's trailing FS with > it. > > Just do : crm resource move drbd_r8_fs > > to test, normally everything swaps fine. > > > > Careful though, in connection with the resources stickiness, not to lock > > the VZ on a specific node. > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > -- *-- -- Felipe Oliveira Gutierrez -- [email protected] -- https://sites.google.com/site/lipe82/Home/diaadia* _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
