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
46 -
Directory Listing
Modified
Sun Mar 30 12:48:18 2008 UTC
(16 years, 1 month ago)
by
dpavlin
runscript now skips non-existent scripts
Revision
45 -
Directory Listing
Modified
Wed Mar 12 00:43:49 2008 UTC
(16 years, 1 month ago)
by
dpavlin
initial support for command line options, for now
--dist --arh --mirror and --split
Revision
44 -
Directory Listing
Modified
Sat Feb 9 00:28:10 2008 UTC
(16 years, 2 months ago)
by
dpavlin
- moved runscript into VZ.pm
- hide passwords in vzctl
Revision
43 -
Directory Listing
Modified
Fri Feb 8 23:53:52 2008 UTC
(16 years, 2 months ago)
by
dpavlin
stop VE only if started
Revision
42 -
Directory Listing
Modified
Fri Feb 8 23:53:40 2008 UTC
(16 years, 2 months ago)
by
dpavlin
- added vzlist
- added tests
Revision
41 -
Directory Listing
Modified
Fri Feb 8 23:16:29 2008 UTC
(16 years, 2 months ago)
by
dpavlin
basic load test
Revision
40 -
Directory Listing
Modified
Fri Feb 8 23:02:25 2008 UTC
(16 years, 2 months ago)
by
dpavlin
- added new common functions
- export $vz_root and $vz_conf
Revision
39 -
Directory Listing
Modified
Fri Feb 8 21:46:09 2008 UTC
(16 years, 2 months ago)
by
dpavlin
ignore some files
Revision
38 -
Directory Listing
Modified
Fri Feb 8 21:45:37 2008 UTC
(16 years, 2 months ago)
by
dpavlin
- make own hostname2ip instead of using host command
- restart using sudo if needed
Revision
37 -
Directory Listing
Modified
Fri Feb 8 21:43:29 2008 UTC
(16 years, 2 months ago)
by
dpavlin
stop VE before removal
Revision
36 -
Directory Listing
Modified
Fri Feb 8 20:03:16 2008 UTC
(16 years, 2 months ago)
by
dpavlin
remove VE
Revision
35 -
Directory Listing
Modified
Thu Dec 13 23:50:47 2007 UTC
(16 years, 4 months ago)
by
dpavlin
use Regexp::Common to extract IP from host output which works
even when hostname is CNAME
Revision
34 -
Directory Listing
Modified
Thu Nov 8 11:35:15 2007 UTC
(16 years, 5 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, 6 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, 6 months ago)
by
dpavlin
Makefile.PL with dependencies
Revision
31 -
Directory Listing
Modified
Thu Oct 11 19:28:27 2007 UTC
(16 years, 6 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, 6 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, 6 months ago)
by
dpavlin
added mount
Revision
28 -
Directory Listing
Modified
Fri Oct 5 00:28:43 2007 UTC
(16 years, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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, 6 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 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 ago)
by
dpavlin
added external config file
Revision
17 -
Directory Listing
Modified
Mon Apr 16 20:37:13 2007 UTC
(17 years 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 ago)
by
dpavlin
don't prefix VEID with 0
Revision
15 -
Directory Listing
Modified
Thu Feb 1 10:40:05 2007 UTC
(17 years, 2 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, 2 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, 3 months ago)
by
dpavlin
track things to do
Revision
12 -
Directory Listing
Modified
Mon Jan 8 22:59:26 2007 UTC
(17 years, 3 months ago)
by
dpavlin
rename of optimizer
Revision
11 -
Directory Listing
Modified
Sun Jan 7 23:53:16 2007 UTC
(17 years, 3 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, 3 months ago)
by
dpavlin
fix warnings
Revision
9 -
Directory Listing
Modified
Sun Jan 7 15:21:36 2007 UTC
(17 years, 3 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, 3 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, 3 months ago)
by
dpavlin
add screen
Revision
6 -
Directory Listing
Modified
Sun Jan 7 12:34:27 2007 UTC
(17 years, 3 months ago)
by
dpavlin
wait on startup
Revision
5 -
Directory Listing
Modified
Sun Jan 7 12:32:37 2007 UTC
(17 years, 3 months ago)
by
dpavlin
packages -- add sudo, remove nano
Revision
4 -
Directory Listing
Modified
Sun Jan 7 12:11:36 2007 UTC
(17 years, 3 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, 5 months ago)
by
dpavlin
increase_over variable
Revision
2 -
Directory Listing
Modified
Mon Nov 27 14:16:52 2006 UTC
(17 years, 5 months ago)
by
dpavlin
few more touches
Revision
1 -
Directory Listing
Added
Mon Nov 27 14:08:47 2006 UTC
(17 years, 5 months ago)
by
dpavlin
initial import of optimizer