Eugen Leitl schrieb:
> I've gotten reasonably comfortable with manual instantiation
> of vserver guests, and would like to start manipulating them
> by scripts.
>
> A few questions for my basic understanding:
>
> 1) if I vserver vXY stop, can I package the static directory
> with tar and copy it somewhere/rsync it someplace else,
> will the entire state will be saved? Including e.g. PostgreSQL
> dbases, or will I have to make a dump and reimport afterwards?
> Which files context is still missing (which directories would
> I also have to rsync?)
>
>
Definitifely, everything will remain ok. If rsyncing - go for the -H and
--numeric-ids switches, especially when changing the hosts distri.
> 3) Are there any existing scripts to migrate a running guest
> to a different server? A simple way would be to do a variation
> of question 1). Can I make vserver guests live on a NFS partition?
> Lustre? PVFS? Is there a way of keeping two running guest
> instances synchronous, save of a HA/drbd based setup? (I have
> some very basic understanding of it, just enough for a HA NFS system).
> I realize some snapshot/migration functionality for clusters
> is being worked on -- how far is this removed from production?
>
>
Using debian pkg util-vserver you'll find vserver-copy wich does all you
needs.
hth Markus
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Sat Feb 25 13:04:45 2006