Hi, I would like to improve my system by doing it. With the last configuration, I had two net board cards (eth0 and eth1). But at others computers I only have eth0. Is still possible to make the failover with DRBD and Pacemaker?
I am not sure because I did all the Pacemaker steps before, and when I took off the network cable, the secondary machine became the primary machine, because only that is connect at the internet. But when I put back the cable of my first primary machine, both became Secondary at DRBD and at Pacemaker. I think it is because the DRBD shows the connection as StantAlone and the oposite node as Outdated. Like this. # cat /proc/drbd version: 8.3.11 (api:88/proto:86-96) srcversion: 71955441799F513ACA6DA60 8: cs:StandAlone ro:Secondary/Unknown ds:UpToDate/Outdated r----- ns:4 nr:0 dw:16 dr:1386 al:1 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:f oos:4 I wonder that Pacemaker take care of the commands "drbdadm -- --discard-my-data connect r8" on the first primary machine. So it con be connected again. Is it possible? Thanks for your help. Felipe On Tue, Dec 18, 2012 at 9:24 AM, Felipe Gutierrez < felipe.o.gutier...@gmail.com> wrote: > Thanks Emmanuel and Andrew. > > Every thing is workin now. > Felipe > > > On Mon, Dec 17, 2012 at 11:38 PM, Andrew Beekhof <and...@beekhof.net>wrote: > >> On Tue, Dec 18, 2012 at 3:28 AM, Emmanuel Saint-Joanis >> <stjoa...@gmail.com> 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 >> > Linux-HA@lists.linux-ha.org >> > http://lists.linux-ha.org/mailman/listinfo/linux-ha >> > See also: http://linux-ha.org/ReportingProblems >> > > > > -- > *-- > -- Felipe Oliveira Gutierrez > -- felipe.o.gutier...@gmail.com > -- https://sites.google.com/site/lipe82/Home/diaadia* > -- *-- -- Felipe Oliveira Gutierrez -- felipe.o.gutier...@gmail.com -- https://sites.google.com/site/lipe82/Home/diaadia* _______________________________________________ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems