unni krishnan | 6 Dec 08:14 2009
Picon

vzctl return code -2

Hi,

I am getting rc code -2 from the vzctl when starting the container. It
seems the issue is with the vps lock. Also I am searching for an
option to start the VPS like --skip-lock with vzctl.

What the the return code -2 from vzctl means ?

What the the best method to start the VPS with a lock file ?

deleting the lock file before starting the VPS is a good option ?

--

-- 
Regards,
Unni
unni krishnan | 6 Dec 20:31 2009
Picon

split brain in drbd dual primary setup

Hi,

We are using a cluster setup something like :

http://picasaweb.google.com/lh/photo/e_uAYjG-8nh7oRZzXDp5HA?feat=directlink

We are using

OpenVZ for Virtualization
DRBD with ocfs2 in dual primary mode
heartbeat + pacemaker for HA

Currently I have not added the drbd in pacemaker. But added the VPS as
resources in pacemaker, so that the VPS can fail over or fail back.

My question is, if I remove the cross over cable that connects the
drbd then the two server will run in

Primary/Unknown state and since the heartbeat connection which is
through another cable is not broken, the VPS will run in two nodes.

So the data written to two drdb devices in two nodes are different and
it is not possible to discard data in any node. What is the better
solution for this problem. Please give some hints, thanks :-)

--

-- 
Regards,
Unni
Dan Rossi | 7 Dec 07:58 2009
Picon

help with install on ubuntu

I know this is a long shot but I thought i'd ask. I tried to do an upgrade from ubuntu 9.04 to 9.10 and now the
hardy images do not run correctly which such errors like mountall /proc/self/mountinfo " no such file or
directory". I would like to start using 9.10. 

I've been forced to patch and compile my own vanilla 2.6.27 kernel, however this is obviouslly not a patched
ubuntu kernel and I cant seem to patch the ubuntu kernel with the latest patch. Is it safe to use the vanilla
kernels ? 

What do I do ? 

Is there any plans to support a 2.6.31 kernel in ubuntu 9.10 ?
Philipp Wehrheim | 7 Dec 08:14 2009
Picon
Picon

Re: split brain in drbd dual primary setup

Hey Unni,

unni krishnan schrieb:

your questions are more focused on heartbeat /pacemaker
so you may want to ask your questions on those lists ...

> OpenVZ for Virtualization
> DRBD with ocfs2 in dual primary mode

Why are you using active/active and a cluster-fs???
this makes things more complex than they have to be.

> heartbeat + pacemaker for HA
> 
> Currently I have not added the drbd in pacemaker. But added the VPS as
> resources in pacemaker, so that the VPS can fail over or fail back.

You definitely want to add drbd to your pacemaker setup!

> 
> My question is, if I remove the cross over cable that connects the
> drbd then the two server will run in
> 
> Primary/Unknown state and since the heartbeat connection which is
> through another cable is not broken, the VPS will run in two nodes.
> 
> So the data written to two drdb devices in two nodes are different and
> it is not possible to discard data in any node. What is the better
> solution for this problem. Please give some hints, thanks :-)
(Continue reading)

guohuai li | 7 Dec 11:34 2009
Picon

Re: split brain in drbd dual primary setup

This is split brain problem. The bad thing for DRBD/heartbeat.
 
I think you need to give up the change in one node, and override it.
 
Detailed info:

 http://www.drbd.org/users-guide-emb/users-guide.html
 
regards,
Edward
 
> Date: Mon, 7 Dec 2009 01:01:03 +0530
> From: unnikrishnan.a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
> To: drbd-user-cunTk1MwBs8qoQakbn7OcQ@public.gmane.org
> CC: users <at> openvz.org; pacemaker-BSnDWwoz/2aRShoRxXF5/EB+6BGkLq7r@public.gmane.org
> Subject: [DRBD-user] split brain in drbd dual primary setup
>
> Hi,
>
> We are using a cluster setup something like :
>
> http://picasaweb.google.com/lh/photo/e_uAYjG-8nh7oRZzXDp5HA?feat=directlink
>
> We are using
>
> OpenVZ for Virtualization
> DRBD with ocfs2 in dual primary mode
> heartbeat + pacemaker for HA
>
> Currently I have not added the drbd in pacemaker. But added the VPS as
> resources in pacemaker, so that the VPS can fail over or fail back.
>
> My question is, if I remove the cross over cable that connects the
> drbd then the two server will run in
>
> Primary/Unknown state and since the heartbeat connection which is
> through another cable is not broken, the VPS will run in two nodes.
>
> So the data written to two drdb devices in two nodes are different and
> it is not possible to discard data in any node. What is the better
> solution for this problem. Please give some hints, thanks :-)
>
> --
> Regards,
> Unni
> _______________________________________________
> drbd-user mailing list
> drbd-user-cunTk1MwBs8qoQakbn7OcQ@public.gmane.org
> http://lists.linbit.com/mailman/listinfo/drbd-user

Windows Live: Friends get your Flickr, Yelp, and Digg updates when they e-mail you.
_______________________________________________
drbd-user mailing list
drbd-user@...
http://lists.linbit.com/mailman/listinfo/drbd-user
Andrew Beekhof | 7 Dec 12:10 2009
Picon

Re: split brain in drbd dual primary setup

On Sun, Dec 6, 2009 at 8:31 PM, unni krishnan
<unnikrishnan.a@...> wrote:
> Hi,
>
> We are using a cluster setup something like :
>
> http://picasaweb.google.com/lh/photo/e_uAYjG-8nh7oRZzXDp5HA?feat=directlink
>
> We are using
>
> OpenVZ for Virtualization
> DRBD with ocfs2 in dual primary mode
> heartbeat + pacemaker for HA
>
> Currently I have not added the drbd in pacemaker. But added the VPS as
> resources in pacemaker, so that the VPS can fail over or fail back.
>
> My question is, if I remove the cross over cable that connects the
> drbd then the two server will run in
>
> Primary/Unknown state and since the heartbeat connection which is
> through another cable is not broken, the VPS will run in two nodes.
>
> So the data written to two drdb devices in two nodes are different and
> it is not possible to discard data in any node. What is the better
> solution for this problem. Please give some hints, thanks :-)

In a word, fencing.
You need to configure a stonith resource and set the stonith-enabled
option to true.
Scott Dowdle | 8 Dec 21:07 2009

Anyone using KVM with latest OpenVZ RHEL-5 kernel?

Greetings,

I've seen quite a bit of interest in using KVM and OpenVZ together.  Proxmox VE has been doing this for some
time but they use a 2.6.24-based kernel.  Anyone using the latest OpenVZ RHEL5-based kernel and KVM
together.  The OpenVZ/Parallels developers currently haven't tried KVM with OpenVZ as Red Hat releases
KVM as a separate package.

TYL,
--

-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
Dietmar Maurer | 9 Dec 09:50 2009

RE: Anyone using KVM with latest OpenVZ RHEL-5 kernel?

Hi Scott,

> I've seen quite a bit of interest in using KVM and OpenVZ together.
> Proxmox VE has been doing this for some time but they use a 2.6.24-
> based kernel.  Anyone using the latest OpenVZ RHEL5-based kernel and
> KVM together.  

We are already testing that kernel for proxmox ve - first test looks promising. Only KSM have problems.

- Dietmar
unni krishnan | 10 Dec 08:33 2009
Picon

dlm in openvz kernel

Hi,

AS mentioned here

http://www.gossamer-threads.com/lists/linuxha/pacemaker/5790 7

The dlm for managing the cluster file system like ocfs2 is available
only at > 2.6.26 kernels.

My question is :

Is DLM to manage the cluster file system at user space is available in
openvz kernel ?

If that is no. Then is there any problem in using the openvz patch
with latest kernel. Is there any future problems that may arise ?

--

-- 
Regards,
Unni
Scott Dowdle | 11 Dec 18:02 2009

Re: dlm in openvz kernel

Unni,

----- "unni krishnan" <unnikrishnan.a@...> wrote:
> Is DLM to manage the cluster file system at user space is available
> in openvz kernel ?

Not that I'm aware of.

> If that is no. Then is there any problem in using the openvz patch
> with latest kernel. Is there any future problems that may arise ?

There is one devel branches > than 2.6.26 (2.6.27) that you could try.  See:

http://wiki.openvz.org/Download/kernel

TYL,
--

-- 
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]

Gmane