OpenVZ Forum


Home » Mailing lists » Users » openvz CT migration filesystem on share storage
openvz CT migration filesystem on share storage [message #44328] Wed, 30 November 2011 08:31 Go to next message
Tommy is currently offline  Tommy
Messages: 9
Registered: November 2011
Junior Member
Hi all!

Is it possiable to migration the CT with its filesystem on share storage
which both HN can access
I think it can reduce the migration time by avoiding the time of
sync(sync 2nd)
Does anyone do some works on it? or give me some suggestion?
3x
--

Yours Sincerely!
Re: openvz CT migration filesystem on share storage [message #44332 is a reply to message #44328] Wed, 30 November 2011 10:07 Go to previous message
Aleksandar Ivanisevic is currently offline  Aleksandar Ivanisevic
Messages: 34
Registered: April 2011
Member
Tommy <thfbjhkhtdx@gmail.com> writes:

> Hi all!
>
> Is it possiable to migration the CT with its filesystem on share storage
> which both HN can access
> I think it can reduce the migration time by avoiding the time of
> sync(sync 2nd)
> Does anyone do some works on it? or give me some suggestion?

in vzmigrate script look for

$RSYNC "$VE_PRIVATE" "root@$host:${VE_PRIVATE%/*}"

there should be two instances, one for initial and 2nd level sync
(after the container is suspended or stopped), either remove them if
you have shared fs or put in some code to unmount/mount the LUN on
another machine.

Thats all there is to it. You may also want to fix undo_private and
undo_root or you might end up with migrate wiping your container
completely in case of error.
Previous Topic: openvz kernel 2.6.32 OFED Compile error
Next Topic: Is there a stable OpenVZ kernel, and which should be fit for production
Goto Forum:
  


Current Time: Wed Aug 14 05:21:34 GMT 2024

Total time taken to generate the page: 0.02821 seconds