This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
Log of /trunk
Directory Listing
Revision
34 -
Directory Listing
Modified
Thu Nov 8 11:35:15 2007 UTC
(16 years, 7 months ago)
by
dpavlin
added inc/ to enable installation from checkout
Revision
33 -
Directory Listing
Modified
Tue Oct 16 09:35:59 2007 UTC
(16 years, 8 months ago)
by
dpavlin
alternative ip mungling to 192.168.x.y
Revision
32 -
Directory Listing
Modified
Tue Oct 16 08:13:28 2007 UTC
(16 years, 8 months ago)
by
dpavlin
Makefile.PL with dependencies
Revision
31 -
Directory Listing
Modified
Thu Oct 11 19:28:27 2007 UTC
(16 years, 8 months ago)
by
dpavlin
delete files on cloned VE which no longer exist on master to create perfect copy
Revision
30 -
Directory Listing
Modified
Fri Oct 5 01:09:12 2007 UTC
(16 years, 8 months ago)
by
dpavlin
cleanup umount sub-command: not accepts oritinal VE ID as
other commands do
Revision
29 -
Directory Listing
Modified
Fri Oct 5 01:01:13 2007 UTC
(16 years, 8 months ago)
by
dpavlin
added mount
Revision
28 -
Directory Listing
Modified
Fri Oct 5 00:28:43 2007 UTC
(16 years, 8 months ago)
by
dpavlin
rsync directly to mounted directory insted through mount --bind
Revision
27 -
Directory Listing
Modified
Thu Oct 4 23:42:24 2007 UTC
(16 years, 8 months ago)
by
dpavlin
variable to skip snapshot usage,
fixed logic which machine to vzctl stop on create/destroy
Revision
26 -
Directory Listing
Modified
Thu Oct 4 23:23:20 2007 UTC
(16 years, 8 months ago)
by
dpavlin
clone lv are now always named vz-clone-10VEID and not
dependent on OpenVZ lv name
Revision
25 -
Directory Listing
Modified
Thu Oct 4 23:19:33 2007 UTC
(16 years, 8 months ago)
by
dpavlin
new syntax: subcommands create, umount and destroy
Revision
24 -
Directory Listing
Modified
Thu Oct 4 18:54:41 2007 UTC
(16 years, 8 months ago)
by
dpavlin
rsync know how to handle device and special files, ssync doesn't.
So it's out...
Revision
23 -
Directory Listing
Modified
Thu Oct 4 16:58:01 2007 UTC
(16 years, 8 months ago)
by
dpavlin
Create new logical volume for each clone of virtual machine.
That allows snapshots to actually works, because otherwise,
we would have to write content twice:
1. new cloned copy on disk
2. in snapshot (so that we see "old" copy)
This requires snapshot partition at least as big as filesystem
of cloned machine. It also slows down cloning.
The root of the problem is usage of vg logical volume both as source
(which we want to have snapshot of to achieve consistent copy)
and destination for new cloned fs. Creating new logical volume per
VE cloned allows easy management and update also.
But, this might be optional (and there is fallback in the codei
if there is no lvm for vz data) if we want to create another
persistant clone (TODO).
If possible, we will try to use ssync binary (which sadly
isn't packaged for Debian) because it's much faster than
rsync.
Revision
22 -
Directory Listing
Modified
Thu Oct 4 13:19:26 2007 UTC
(16 years, 8 months ago)
by
dpavlin
hint how to add NAT rule for cloned VE
Revision
21 -
Directory Listing
Modified
Thu Oct 4 13:12:08 2007 UTC
(16 years, 8 months ago)
by
dpavlin
prepare and use temporary lvm snapshot while coping data,
annotate changed configuration variables,
new VE will have prefix 10 and first octet of IP adress 10.
Revision
20 -
Directory Listing
Modified
Thu Oct 4 11:30:05 2007 UTC
(16 years, 8 months ago)
by
dpavlin
a simple script to create clone of VE
Revision
19 -
Directory Listing
Modified
Tue Apr 17 13:05:11 2007 UTC
(17 years, 2 months ago)
by
dpavlin
added --force-yes to apt-get install
Revision
18 -
Directory Listing
Modified
Tue Apr 17 12:46:31 2007 UTC
(17 years, 2 months ago)
by
dpavlin
added external config file
Revision
17 -
Directory Listing
Modified
Mon Apr 16 20:37:13 2007 UTC
(17 years, 2 months ago)
by
dpavlin
wget will just try once for 5s to access apt-iselect on external URI
Revision
16 -
Directory Listing
Modified
Mon Apr 16 20:35:03 2007 UTC
(17 years, 2 months ago)
by
dpavlin
don't prefix VEID with 0
Revision
15 -
Directory Listing
Modified
Thu Feb 1 10:40:05 2007 UTC
(17 years, 4 months ago)
by
dpavlin
extract parametars in variables (pending options addition)
Revision
14 -
Directory Listing
Modified
Wed Jan 31 21:12:47 2007 UTC
(17 years, 4 months ago)
by
dpavlin
new limit is 10% larger than current value, and new barrier is 20% larger.
execute vzctl with --save
Revision
13 -
Directory Listing
Modified
Fri Jan 12 21:23:44 2007 UTC
(17 years, 5 months ago)
by
dpavlin
track things to do
Revision
12 -
Directory Listing
Modified
Mon Jan 8 22:59:26 2007 UTC
(17 years, 5 months ago)
by
dpavlin
rename of optimizer
Revision
11 -
Directory Listing
Modified
Sun Jan 7 23:53:16 2007 UTC
(17 years, 5 months ago)
by
dpavlin
minor tweaks to configuration (machine is now split in 4 VEs),
fix apt-iselect installer, change root password and create first
user
Revision
10 -
Directory Listing
Modified
Sun Jan 7 23:25:19 2007 UTC
(17 years, 5 months ago)
by
dpavlin
fix warnings
Revision
9 -
Directory Listing
Modified
Sun Jan 7 15:21:36 2007 UTC
(17 years, 5 months ago)
by
dpavlin
added telnet and finger packages, setup diskspace for VE
Revision
8 -
Directory Listing
Modified
Sun Jan 7 13:35:10 2007 UTC
(17 years, 5 months ago)
by
dpavlin
install apt-iselect to /usr/local/bin/
Revision
7 -
Directory Listing
Modified
Sun Jan 7 12:54:14 2007 UTC
(17 years, 5 months ago)
by
dpavlin
add screen
Revision
6 -
Directory Listing
Modified
Sun Jan 7 12:34:27 2007 UTC
(17 years, 5 months ago)
by
dpavlin
wait on startup
Revision
5 -
Directory Listing
Modified
Sun Jan 7 12:32:37 2007 UTC
(17 years, 5 months ago)
by
dpavlin
packages -- add sudo, remove nano
Revision
4 -
Directory Listing
Modified
Sun Jan 7 12:11:36 2007 UTC
(17 years, 5 months ago)
by
dpavlin
create new virtual enviroment using debootstrap
Revision
3 -
Directory Listing
Modified
Mon Nov 27 15:35:36 2006 UTC
(17 years, 7 months ago)
by
dpavlin
increase_over variable
Revision
2 -
Directory Listing
Modified
Mon Nov 27 14:16:52 2006 UTC
(17 years, 7 months ago)
by
dpavlin
few more touches
Revision
1 -
Directory Listing
Added
Mon Nov 27 14:08:47 2006 UTC
(17 years, 7 months ago)
by
dpavlin
initial import of optimizer