Commit Graph

33 Commits

Author SHA1 Message Date
Dietmar Maurer
924800406b fix container locking (avoid multiple restore processes)
Unlike flock, LockFile::Simple does not inherit locks to child process.
So we need to do the locking inside the child process.
2012-03-27 08:35:36 +02:00
Dietmar Maurer
52878b0a38 use Digest::SHA instead of Digest::SHA1 2012-03-20 12:33:38 +01:00
Dietmar Maurer
a003717b9b fix bug 22: correctly display openvz swap usage 2012-03-14 16:02:14 +01:00
Dietmar Maurer
493a4387b6 cleanup and fix openvz vswap handling 2012-02-29 09:21:17 +01:00
Dietmar Maurer
56b47e66e8 avoid warning in pvestatd for containers with old config files 2012-02-27 11:38:08 +01:00
Dietmar Maurer
948abe8575 fix openvz create (use vzctl to create new container) 2011-12-22 12:08:07 +01:00
Dietmar Maurer
0618d44689 implemente openvz migration 2011-12-02 10:38:41 +01:00
Dietmar Maurer
105270d30c fix cpu usage display 2011-11-18 09:37:23 +01:00
Dietmar Maurer
7e79e293e8 implement openvz migrate 2011-11-17 14:36:25 +01:00
Dietmar Maurer
e10faadcf7 fix bug 37: avoid warning about uninitialized value 2011-11-17 10:59:06 +01:00
Dietmar Maurer
2d590018e5 add initlog API 2011-11-08 07:52:41 +01:00
Dietmar Maurer
9f7678839d support more than 'local' storage for openvz.
It is now possible to use NFS or other directory type storages.
2011-11-07 12:35:38 +01:00
Dietmar Maurer
c205545329 openvz: always generate host_mac and host_ifname
Network does not work without.
2011-10-24 08:37:22 +02:00
Dietmar Maurer
aabf3adddd implement vzrestore
This just calls create_vm (restore is a special case of create).
2011-10-17 08:23:56 +02:00
Dietmar Maurer
4a4051d8c5 adopt vzdump to pve 2 2011-10-13 14:33:12 +02:00
Dietmar Maurer
1ead9563a0 correctly encode boolean values in openvz configuration 2011-10-10 09:08:54 +02:00
Dietmar Maurer
9056e748db add GUI for user_beancounters 2011-10-07 13:58:56 +02:00
Dietmar Maurer
5a74754cc5 use other way to compute openvz swap usage 2011-10-07 12:21:02 +02:00
Dietmar Maurer
56203bf1f7 add API for openvz user_beancounters 2011-10-07 12:20:15 +02:00
Dietmar Maurer
aa92db37aa display vswap for openvz containers 2011-10-07 10:07:03 +02:00
Dietmar Maurer
1307fab72e try to compute network/disk statistics for openvz
We currently need 'vzctl exec' for net stats which is clumsy.
And the blkio stats for container does not seem to deliver
correct values.
2011-10-07 09:36:27 +02:00
Dietmar Maurer
191ab3805f fix openvz vmstatus list 2011-10-07 06:41:41 +02:00
Dietmar Maurer
337dca7c2a implement openvz option view/edit 2011-10-05 13:23:47 +02:00
Dietmar Maurer
877d3f6de7 fix bug #6: correctly implement bridged mode for openvz 2011-10-05 10:33:26 +02:00
Dietmar Maurer
e761984e87 encrypt container password (sha1) 2011-10-05 08:08:01 +02:00
Dietmar Maurer
c486db9d09 avoid warnings about uninitialized values in pvestatd 2011-10-05 07:17:15 +02:00
Dietmar Maurer
0715179668 implement openvz start/stop 2011-10-04 11:05:25 +02:00
Dietmar Maurer
4223bcbaeb automatically use DNS settings from host 2011-10-03 13:05:15 +02:00
Dietmar Maurer
a408dfd799 return defaults if /etc/vz/vz.conf does not exists
I.e. when vzctl package is not installed.
2011-10-03 12:13:50 +02:00
Dietmar Maurer
c3163e376b implemented vm_config for openvz 2011-09-28 15:31:47 +02:00
Dietmar Maurer
9020f201c9 implement update_vm for openvz 2011-09-28 14:31:39 +02:00
Dietmar Maurer
339e41597d add openvz support (cli only for now) 2011-09-28 14:08:54 +02:00
Dietmar Maurer
beb651ee65 removed automake/autoconf, removed unused files 2011-08-23 16:11:04 +02:00