hello!
i am trying to make cluster with my two server root1( the master/primary)
and root2(the secondary)
when i do cat /proc/drbd on root2:
root2:~# cat /proc/drbd
version: 8.3.7 (api:88/proto:86-91)
GIT-hash: ea9e28dbff98e331a62bcbcc63a6135808fe2917 build by root1, 2011-
04-27 14:43:04
The 'on data {}' device values are supposed to point to the actual
backing devices for the resources (ie: device /dev/sda3, device
/dev/md1).
--
Digimer
E-Mail: digi...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin: http://nodeassassin.org
Hi,
0: cs:Connected ro:Secondary/Secondary ds:Diskless/Inconsistent C r
ns:0 nr:0 dw:0 dr:0 al:0 bm:0 lo:0 pe:0 ua:0 ap:0 ep:1 wo:b oos:0
root1:~# mount /dev/drbd0
mount: ne peut repérer /dev/drbd0 dans /etc/fstab ou /etc/mtab
No good: Your DRBD is secondary. You cannot
On 04/28/2011 10:57 AM, Edwige Odedele wrote:
Thank for response,
Do you speak French?' if yes it will be easy for me)
I use cfdisk /dev/sda to create my /dev/sda4
Root1:~# fdisk -l
Disque /dev/sda: 1887.4 Go, 188743680 octets
255 têtes, 63 secteurs/piste, 229467 cylindres
Unités =
On 04/28/2011 09:17 AM, Digimer wrote:
The 'on data {}' device values are supposed to point to the actual
backing devices for the resources (ie: device /dev/sda3, device
/dev/md1).
In English - This is totally wrong of me. I shall be more careful
posting on the morning train lacking coffee
Le 13/09/2010 06:40, Digimer a écrit :
On 10-09-12 08:28 PM, Sam Przyswa wrote:
Your second node is messed up, by the looks of it. Work from your first
node.
Stop both nodes' drbd (/etc/init.d/drbd stop)
Now on 1st, run:
drbdadm -- --overwrite-data-of-peer connect r0
I got:
On Mon, Sep 13, 2010 at 03:22:48PM +0200, Sam Przyswa wrote:
Le 13/09/2010 06:40, Digimer a écrit :
On 10-09-12 08:28 PM, Sam Przyswa wrote:
Your second node is messed up, by the looks of it. Work from your first
node.
Stop both nodes' drbd (/etc/init.d/drbd stop)
Now on 1st, run:
Le 13/09/2010 15:30, Lars Ellenberg a écrit :
On Mon, Sep 13, 2010 at 03:22:48PM +0200, Sam Przyswa wrote:
Le 13/09/2010 06:40, Digimer a écrit :
On 10-09-12 08:28 PM, Sam Przyswa wrote:
Your second node is messed up, by the looks of it. Work from your first
node.
Stop both
Le 13/09/2010 18:39, Digimer a écrit :
On 10-09-13 12:33 PM, Sam Przyswa wrote:
You need to attach the local disk first, it's currently diskless.
drbdadm attach r0
Ok, I got that:
# drbdadm attach r0
2: Failure: (114) Lower device is already claimed. This usually means it
is
On Monday 13 September 2010 18:51:48 Sam Przyswa wrote:
But the disk *must* be mounted
But /dev/LVM-1/POSTFIX-2 is *NOT* a raw partition but *ext3* !
Please read the very fine DRBD user's guide at:
http://www.drbd.org/users-guide/users-guide.html
It will help you greatly in understanding
Le 13/09/2010 19:10, Digimer a écrit :
On 10-09-13 12:51 PM, Sam Przyswa wrote:
If I umount the /dev/LVM-1/POSTFIX-2 ans restart DRBD I got:
version: 8.3.7 (api:88/proto:86-91)
srcversion: EE47D8BF18AC166BE219757
2: cs:Connected ro:Secondary/Secondary ds:Inconsistent/Inconsistent B
Don't you really need cluster aware LVM for that?
On 9/13/2010 3:17 PM, Digimer wrote:
I would use '/dev/sda4' to back the DRBD device. Then I would use
'/dev/drbd0' and the LVM PV. On this PV, create your VG and then you
various LVs for your VMs.
On 10-09-13 03:31 PM, David Coulson wrote:
Don't you really need cluster aware LVM for that?
In Primary/Primary mode, yes you do. You also need a working cluster
that's providing DLM.
--
Digimer
E-Mail: li...@alteeve.com
AN!Whitepapers: http://alteeve.com
Node Assassin:
Le 12/09/2010 19:36, Digimer a écrit :
On 10-09-12 09:31 AM, Sam Przyswa wrote:
Hi,
I use DRBD 8.3.7 on Debian 5.0.6 on Vserver in both side, 2nd machine is
a 1st clone.
There is may drbd.conf:
global { usage-count yes; }
resource
On 10-09-12 07:35 PM, Sam Przyswa wrote:
Le 12/09/2010 19:36, Digimer a écrit :
On 10-09-12 09:31 AM, Sam Przyswa wrote:
Hi,
I use DRBD 8.3.7 on Debian 5.0.6 on Vserver in both side, 2nd machine is
a 1st clone.
There is may drbd.conf:
Le 13/09/2010 01:43, Digimer a écrit :
On 10-09-12 07:35 PM, Sam Przyswa wrote:
Le 12/09/2010 19:36, Digimer a écrit :
On 10-09-12 09:31 AM, Sam Przyswa wrote:
Hi,
I use DRBD 8.3.7 on Debian 5.0.6 on Vserver in both side, 2nd machine is
a 1st clone.
There is may
On 10-09-12 08:28 PM, Sam Przyswa wrote:
Your second node is messed up, by the looks of it. Work from your first
node.
Stop both nodes' drbd (/etc/init.d/drbd stop)
Now on 1st, run:
drbdadm -- --overwrite-data-of-peer connect r0
I got:
drbdsetup net: unrecognized option
17 matches
Mail list logo