then install the service: (as administrator)
blnsrv.exe --install
and check that the balloon service is running.
that's all
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mardi 18 Décembre 2012 14
...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mardi 18 Décembre 2012 15:22:55
Objet: RE: [pve-devel] pve-manager : expose balloon to gui
What guest OS (windows version) and what binaries virtio drivers do you
use exactly?
I have tested
)
...
it was working fine with qemu 1.3 + 2 firsts balloon stats patchs from qemu
mailing.
Maybe something have changed ?
- Mail original -
De: Alexandre DERUMIER aderum...@odiso.com
À: Dietmar Maurer diet...@proxmox.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mardi 18 Décembre
{u'return': 2147483647}
(QEMU) qom-get path=/machine/peripheral/balloon0 property=stat-total-memory
{u'return': 2147483647}
I'll do test with win2008R2 tomorrow
- Mail original -
De: Alexandre DERUMIER aderum...@odiso.com
À: Dietmar Maurer diet...@proxmox.com
Cc: pve-devel
90 88
45 Bvd du Général Leclerc 59100 Roubaix
12 rue Marivaux 75002 Paris
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mardi 18 Décembre 2012 18:01:10
Objet: RE: [pve-devel] pve-manager
- I have just installed a win2008R2 (X64)
install ballon driver
-go to hardware devices management, find pci device without driver.
- update driver-choose disk
then using 0.48 virtio driver, choose the whl directory
then install service (I put files in c:\program files\balloon)
#cd
-memory
{u'return': 1770397696}
...
- Mail original -
De: Alexandre DERUMIER aderum...@odiso.com
À: pve-devel@pve.proxmox.com
Envoyé: Mercredi 19 Décembre 2012 12:05:06
Objet: [pve-devel] balloon stats on win2008r2 working
- I have just installed a win2008R2 (X64)
install ballon
been enabled or
guest doesn't support 'stat-free-memory'}}
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Mercredi 19 Décembre 2012 12:45:31
Objet: RE: [pve-devel] balloon stats on win2008r2
resend qom-set, so we can
also check that, if it's not increasing, resend qom-set
What Do you think ?
- Mail original -
De: Alexandre DERUMIER aderum...@odiso.com
À: Dietmar Maurer diet...@proxmox.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mercredi 19 Décembre 2012 13:09:35
Objet: Re
fix windows stats (tested on win2003 win2008R2)
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm | 13 +
1 file changed, 13 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 81a9351..7569d55 100644
--- a/PVE/QemuServer.pm
+++ b/PVE
Thanks for the feedback.
I'll try to have some designer ressource at work for icons ;)
Don't know, But maybe ,is is exist some opensource icons library for this ?
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com, pve-devel
I uploaded a fixed version - please test.
Works perfectly ! (win2003 win2008R2)
Thanks !
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Jeudi 20 Décembre 2012 09:23:35
Objet: RE: [pve-devel
Do you mean migration between qemu-kvm 1.2 - qemu 1.3 ?
(because it's not supported)
or migration between qemu 1.3 - qemu 1.3 ?
also,I don't know if it's related, but in the changelog:
http://wiki.qemu.org/ChangeLog/1.3
Live Migration, Save/Restore
The stop and cont commands have new
Hi dietmar,
with balloon, migration doesn't start,
because of qmp command send at start:
if (!defined($conf-{balloon}) || $conf-{balloon}) {
vm_mon_cmd($vmid, balloon, value = $conf-{balloon}*1024*1024)
if $conf-{balloon};
vm_mon_cmd($vmid, 'qom-set',
or maybe in
sub check_running {
die unable to find configuration file for VM $vmid - no such machine\n
if !$nocheck ! -f $filename;
do we really to check if $filename exist ?
- Mail original -
De: Alexandre DERUMIER aderum...@odiso.com
À: pve-devel@pve.proxmox.com
,
value = 2);
}
(vm_mon_cmd_nocheck)
- Mail original -
De: Stefan Priebe - Profihost AG s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Jeudi 20 Décembre 2012 11:48:06
Objet: Re: [pve-devel] migration
fix live migration, as we don't have the vm config file
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 81a9351..9c64757 100644
--- a/PVE
Ok,thanks, I'll try that this afternoon !
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Jeudi 20 Décembre 2012 14:02:38
Objet: RE: [pve-devel] [PATCH] auto balloning with mom algorithm
Allow manual ballooning (qm set --balloon XXX), if shares is not defined or = 0.
if balloon = 0, we set balloon to max_memory
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm |8 +++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 09ab1e7..9bdbc0a 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -897,9 +897,15
running ? (is ssh working?)
- Mail original -
De: Stefan Priebe - Profihost AG s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Jeudi 20 Décembre 2012 15:27:53
Objet: Re: [pve-devel] migration problems since qemu 1.3
Hi,
i
Just an idea (not sure it's the problem),can you try to commment
$qmpclient-queue_cmd($vmid, $ballooncb, 'query-balloon');
in QemuServer.pm, line 2081.
and restart pvedaemon pvestatd ?
- Mail original -
De: Stefan Priebe - Profihost AG s.pri...@profihost.ag
À: Alexandre DERUMIER
Hi Stefan, any news ?
I'm trying to reproduce your problem, but it's works fine for me, no crash...
- Mail original -
De: Stefan Priebe - Profihost AG s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Jeudi 20 Décembre 2012 16:09
I have done some tests yesterday, with around 10vm, overcommiting the host
memory a lot, (mixing windows/linux vm)
and it's seem to works fine.
I'll try to do more extensive test next week.
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre Derumier aderum
The current algorithm has some bug - I will try to improve more.
Not sure about it, But I have seen some vm more ballonning than other. (with
same shares value).
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel
Hi Dietmar,
Can you give me a feedback about this plugin ? I really would like to push it
upstream.
Regards,
Alexandre
- Mail original -
De: Alexandre Derumier aderum...@odiso.com
À: pve-devel@pve.proxmox.com
Envoyé: Jeudi 20 Décembre 2012 09:09:41
Objet: [pve-devel] pve-storage
Hi Stefan,
I'll try to reproduce it, maybe qemu-devel can help too ?
I'll be offline until 26/12 (christmas).
Mery Xmas to all.
Alexandre
- Mail original -
De: Stefan Priebe - Profihost AG s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel
=7ec81e56edc2b2007ce0ae3982aa5c18af9546ab
- Mail original -
De: Stefan Priebe - Profihost AG s.pri...@profihost.ag
À: Dietmar Maurer diet...@proxmox.com
Cc: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Samedi 22 Décembre 2012 20:19:37
Objet: Re: [pve-devel
-
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com, Dietmar Maurer diet...@proxmox.com
Envoyé: Dimanche 23 Décembre 2012 14:21:07
Objet: Re: [pve-devel] migration problems since qemu 1.3
Hi,
Am 23.12.2012 14:18, schrieb Alexandre
?
just to be sure, can you try to do info balloon from human monitor console ?
(I would like to see if the balloon driver is correctly working)
- Mail original -
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mardi
)) {
eval { vm_mon_cmd_nocheck($vmid, migrate_set_downtime, value =
$migrate_downtime); };
}
...
- Mail original -
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mercredi 26 Décembre 2012 13:18:33
Objet: Re
.
- Mail original -
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mercredi 26 Décembre 2012 13:18:33
Objet: Re: [pve-devel] Baloon Device is the problem! Re: migration problems
since qemu 1.3
Hi
in ms for downtime that was calculated on
the last bitmap round (json-int)
- Mail original -
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Mercredi 26 Décembre 2012 20:52:56
Objet: Re: [pve-devel
somes comments:
- default = 1,
+ default = 0,
Not sure about lower default migration downtime value to 0,
because 0 downtime is nearly impossible to target.
Default qemu value is 0.030, so maybe can we simply remove
- default = 0,
and don't send any qmp command by default.
+
From: Stefan Priebe s.pri...@profihost.ag
- move migration speed/downtime from QemuServer vm_start to
QemuMigrate phase2
- lower default migration downtime value to 0
changelog by aderumier
- remove default value of 1s for migrate_downtime
- add logs downtime and expected downtime
Cleaner code. Nobody expects that those values were set at vm start.
We set that since version 1.0 - so 'everybody' expect that this value is set
at startup.
I agree with stefan, this value should be set before migration.
currently, we can't change the migrate_downtime without restart the
.
great, but can we have an extra commit for that? Those changes seems to be
unrelated.
sure no problem
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Jeudi 27 Décembre 2012 07:21:38
Objet: RE: [pve
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuMigrate.pm |6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index 282cbc5..38f1d05 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
@@ -402,7 +402,8
so we can set the values when the vm is running
also use int() to get json working
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuMigrate.pm | 24
PVE/QemuServer.pm | 15 ---
2 files changed, 24 insertions(+), 15 deletions(-)
diff
...@profihost.ag
À: Alexandre Derumier aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Jeudi 27 Décembre 2012 08:52:42
Objet: Re: [pve-devel] fix setting migration parameters V3
Hi,
could you please resend your patch? i can't find it. I wanted to look
what the extended new values show during
This is a test attempt. (apply on top on 3 others patchs).
The idea is to use default 30ms qemu downtime value for migration.
If the expected_downtime is more than 30 iterations 0 (could be polished,
maybe some average stats can be better),
then it's like a never ending migration, so we set
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuMigrate.pm | 24 ++--
1 file changed, 14 insertions(+), 10 deletions(-)
diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index dbbeb69..aeb6deb 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
Sure you mean just the output in the web GUI?
yes
- Mail original -
De: Stefan Priebe - Profihost AG s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Jeudi 27 Décembre 2012 11:11:56
Objet: Re: [pve-devel] [PATCH 3/3] add
somewhere is qemu
- Mail original -
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com, Dietmar Maurer diet...@proxmox.com
Envoyé: Jeudi 27 Décembre 2012 13:00:47
Objet: Re: [pve-devel] [PATCH 3/3] add downtime
-by-default.patch
should be enough to connect with vnc and test migration
I'll keep in touch
- Mail original -
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com, Dietmar Maurer diet...@proxmox.com
Envoyé: Jeudi 27 Décembre
return true/false if vm has feature
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm | 56 ++
1 file changed, 56 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 09ab1e7..a6047e5 100644
--- a/PVE
loop over each disk of the vm config file to find if feature is available.
If one of the disk doesn't have the feature, we return undef, else return 1
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm | 37 +++--
1 file changed, 15
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage.pm | 15 +++
1 file changed, 15 insertions(+)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 17a2377..6a274c6 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -183,6 +183,21 @@ sub volume_snapshot_delete
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/Plugin.pm | 18 ++
1 file changed, 18 insertions(+)
diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index 886117b..25e012c 100644
--- a/PVE/Storage/Plugin.pm
+++ b/PVE/Storage/Plugin.pm
@@ -558,6
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/RBDPlugin.pm | 14 ++
1 file changed, 14 insertions(+)
diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index 60bd4e8..bbfae7c 100644
--- a/PVE/Storage/RBDPlugin.pm
+++ b/PVE/Storage/RBDPlugin.pm
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/NexentaPlugin.pm | 14 ++
1 file changed, 14 insertions(+)
diff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm
index 386656f..9622548 100644
--- a/PVE/Storage/NexentaPlugin.pm
+++ b/PVE
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/ISCSIDirectPlugin.pm |6 ++
1 file changed, 6 insertions(+)
diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm
index e2490e8..b648fd5 100644
--- a/PVE/Storage/ISCSIDirectPlugin.pm
+++ b
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/ISCSIPlugin.pm |6 ++
1 file changed, 6 insertions(+)
diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index 173ca1d..ac8384b 100644
--- a/PVE/Storage/ISCSIPlugin.pm
+++ b/PVE/Storage
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
www/manager/qemu/SnapshotTree.js | 17 +
1 file changed, 17 insertions(+)
diff --git a/www/manager/qemu/SnapshotTree.js b/www/manager/qemu/SnapshotTree.js
index 0fd1b82..f98c849 100644
--- a/www/manager/qemu
Thanks !
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Vendredi 28 Décembre 2012 07:56:22
Objet: RE: [pve-devel] qemu-server : add has_feature sub to detect storage
features
applied
DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com, Dietmar Maurer diet...@proxmox.com
Envoyé: Jeudi 27 Décembre 2012 19:38:49
Objet: Re: [pve-devel] [PATCH 3/3] add downtime expected_downtime
query-migrate info
Hi,
Am 27.12.2012 16:21, schrieb Alexandre DERUMIER:
But if it's work fine
- ms */
return expected_downtime = migrate_max_downtime();
}
return 0;
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Stefan Priebe - Profihost AG s.pri...@profihost.ag
Cc: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé
Hi Dietmar,
Do you think it's possible to add dynamic plugin loading in pve-storage ?
instead:
use PVE::Storage::Plugin;
use PVE::Storage::DirPlugin;
use PVE::Storage::LVMPlugin;
use PVE::Storage::NFSPlugin;
use PVE::Storage::ISCSIPlugin;
use PVE::Storage::RBDPlugin;
use
)
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com
Envoyé: Vendredi 28 Décembre 2012 09:44:23
Objet: RE: [pve-devel] pve-storage : dynamic plugin loading ?
No, I do not want that. Instead, I want
That looks strange - AES-ni should be much faster?
Are you sure that squeeze support aes-ni with ssh ? because libssl is quite old
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Stefan Priebe - Profihost AG s.pri...@profihost.ag
Cc: pve-devel@pve.proxmox.com
Envoyé:
Are you sure that squeeze support aes-ni with ssh ? because libssl is quite
old
See here:
Add support for AES-NI (Package: libssl1.0.0)
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644743
- Mail original -
De: Alexandre DERUMIER aderum...@odiso.com
À: Dietmar Maurer diet
if we can get 700MB/s there must be a bug somewhere? Maybe you
can ask on the ssh mailing lists?
Do you have the aes ni intel module loaded ? (#modprobe aesni-intel )
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Stefan Priebe s.pri...@profihost.ag
Cc:
oh, ok.
I'll tests the patchs mondays.
Does migration works fine for you with them ?
- Mail original -
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com, Dietmar Maurer diet...@proxmox.com
Envoyé: Samedi 29 Décembre
monday.
Thanks for the patches !
- Mail original -
De: Stefan Priebe s.pri...@profihost.ag
À: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com, Dietmar Maurer diet...@proxmox.com
Envoyé: Samedi 29 Décembre 2012 15:07:30
Objet: Re: [pve-devel] [PATCH 3/3] add
== 15){
set_migrate_downtime = migratedowntime + 0.X sec
counter = 0;
}
- Mail original -
De: Stefan Priebe - Profihost AG s.pri...@profihost.ag
À: Dietmar Maurer diet...@proxmox.com
Cc: Alexandre Derumier aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Dimanche 30
: Alexandre DERUMIER aderum...@odiso.com
Cc: pve-devel@pve.proxmox.com, Dietmar Maurer diet...@proxmox.com
Envoyé: Dimanche 30 Décembre 2012 13:25:40
Objet: Re: [pve-devel] [PATCH] increase migrate_set_downtime only if expected
downtime is more than 30 iterations 0
Hi,
attached a patch
can be integer or float
ex:
1
1.0
0.3
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 10865ad..5c39728 100644
--- a/PVE/QemuServer.pm
+++ b/PVE
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm |3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index ec0424a..db39c62 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -72,7 +72,8 @@ my $create_disks
Hi all (and happy new year ;),
Ceph 0.56 stable is coming soon (testing for now, but should go in stable
branch in coming days).
Do you need to keep compatibility with 0.48 clusters with the storage plugin ?
(as rbd is not officially supported)
I see 2 new things:
-image format V2. required
No, I guess we do not need to be compatible.
Ok thanks,
I'll send a patch for rbd ls -r
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Alexandre DERUMIER aderum...@odiso.com, pve-devel@pve.proxmox.com
Envoyé: Mercredi 2 Janvier 2013 14:49:46
Objet: RE: [pve-devel
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/RBDPlugin.pm |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index 1a2e91c..948be0d 100644
--- a/PVE/Storage/RBDPlugin.pm
+++ b/PVE/Storage
avoid to call rbd info for each volume
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/RBDPlugin.pm |9 -
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index bbfae7c..1a2e91c 100644
--- a/PVE
We don't need to set balloon value and polling interval when a vm is coming
from a livemigrate.
(Values are keep in guest memory)
So with autoballooning, this avoid to set the ballon size at ballon_min value
when the vm is migrated
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE
avoid to add memory load overhead on the migration with balloon inflate/deflate
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/AutoBalloon.pm |1 +
1 file changed, 1 insertion(+)
diff --git a/PVE/AutoBalloon.pm b/PVE/AutoBalloon.pm
index b461795..62844de 100644
--- a/PVE
when I integrate the copy/clone patches from Alexandre.
I'll resend patches this week (after wednesday, I'm a bit busy at work),rebased
on last git, they are more or less finished now.
Regards,
Alexandre
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Michael
How do you initiate qmp from perl? (It uses a REST api, does it not?)
PVE::QemuServer::vm_mon_cmd(vmid, qmpcommand, arguments);
exemple:
PVE::QemuServer::vm_mon_cmd($vmid, block_resize, device = $deviceid, size =
int($size));
live migration code is in:
PVE/QemuMigrate.pm
you can find qmp
Again, you can run more than one ssh connection if you want to migrate dozens
of machines.
Hi, Maybe it'll be cpu limited with a lot a parallel migration ?
- Mail original -
De: Dietmar Maurer diet...@proxmox.com
À: Eric Blevins e...@netwalk.com, pve-devel@pve.proxmox.com
Envoyé:
require to update proxmox repository with new ceph packages:
http://ceph.com/debian-bobtail/pool/main/c/ceph/librbd-dev_0.56.1-1~bpo60+1_amd64.deb
http://ceph.com/debian-bobtail/pool/main/c/ceph/librbd1_0.56.1-1~bpo60+1_amd64.deb
return 1 if current is template
return 2 if a snapshot is a template
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm | 16
1 file changed, 16 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 1e70c3a..21e4827 100644
--- a/PVE
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm |2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 8955b7c..59effb6 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -3266,6 +3266,8 @@ sub vm_destroy
the template
- We unlock the storage
- we remove template:1 from the config (current of snapshot)
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm | 78 +
PVE/QemuServer.pm | 78
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm |4
1 file changed, 4 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 21e4827..8955b7c 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2908,6 +2908,10 @@ sub
Hi All,
This is the final v1 of my template clone patches series.
I have done extensive tests, with differents storage
(raw,qcow2,rbd,sheepdog,...)
All seem to works fine without bug
Please test and review !
___
pve-devel mailing list
if files (raw,qcow2) are a template, we forbid vm_start.
note : the readonly protection do already the job, but we need a clear message
for users
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm |2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE
if a qcow2 current is a template, we can't rollback to a previous snapshot.
(note that file readonly protection do already the job, but we need a clear
error message for user)
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm |2 ++
1 file changed, 2 insertions
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuMigrate.pm |6 ++
1 file changed, 6 insertions(+)
diff --git a/PVE/QemuMigrate.pm b/PVE/QemuMigrate.pm
index de2ee57..2b79025 100644
--- a/PVE/QemuMigrate.pm
+++ b/PVE/QemuMigrate.pm
@@ -245,6 +245,12 @@ sub sync_disks
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm |4
1 file changed, 4 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 8d6979a..5e1f319 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -2895,6 +2895,10 @@ sub qemu_block_resize
--clonefrom vmidsrc [--snapname snap] [--clonemode clone]
--memory 2048 --name newvmname
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm | 164 +++---
1 file changed, 156 insertions(+), 8 deletions(-)
diff --git a/PVE/API2
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm |2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index 91cf569..63dbd33 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -873,6 +873,8 @@ __PACKAGE__-register_method
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm |2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 5e1f319..1adff54 100644
--- a/PVE/QemuServer.pm
+++ b/PVE/QemuServer.pm
@@ -1987,6 +1987,8 @@ sub vmstatus {
$d
also work with snapshot as source for qcow2,rbd,sheepdog.
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/QemuServer.pm | 51 +++
1 file changed, 51 insertions(+)
diff --git a/PVE/QemuServer.pm b/PVE/QemuServer.pm
index 1adff54
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/API2/Qemu.pm |2 ++
1 file changed, 2 insertions(+)
diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
index c8cb9f3..f5a48ce 100644
--- a/PVE/API2/Qemu.pm
+++ b/PVE/API2/Qemu.pm
@@ -2153,12 +2153,14 @@ __PACKAGE__-register_method
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage.pm | 15 +++
1 file changed, 15 insertions(+)
diff --git a/PVE/Storage.pm b/PVE/Storage.pm
index 6a274c6..f8cf5ad 100755
--- a/PVE/Storage.pm
+++ b/PVE/Storage.pm
@@ -198,6 +198,21 @@ sub volume_has_feature
return undef, as nexenta have a implicit protection system when creatin clones
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/NexentaPlugin.pm |6 ++
1 file changed, 6 insertions(+)
diff --git a/PVE/Storage/NexentaPlugin.pm b/PVE/Storage/NexentaPlugin.pm
index
We use the rbd protect command to protect a snapshot.
This is mandatory for clone a snapshot.
The rbd volume need to be at format V2
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/RBDPlugin.pm | 42 +-
1 file changed, 37
we can't protect an iscsi volume
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/ISCSIDirectPlugin.pm |5 +
1 file changed, 5 insertions(+)
diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm
index b648fd5..95faa8a 100644
--- a/PVE
(and also fix backing file regex parsing)
for files, we protect the volume file with chattr.
So we can only read it, but can't delete or move it.
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/Plugin.pm | 20 +---
1 file changed, 17 insertions(+), 3
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/Plugin.pm | 45 -
1 file changed, 28 insertions(+), 17 deletions(-)
diff --git a/PVE/Storage/Plugin.pm b/PVE/Storage/Plugin.pm
index 6f1cac9..9bdcf0d 100644
--- a/PVE/Storage
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/RBDPlugin.pm | 31 +++
1 file changed, 19 insertions(+), 12 deletions(-)
diff --git a/PVE/Storage/RBDPlugin.pm b/PVE/Storage/RBDPlugin.pm
index b08fe54..003585a 100644
--- a/PVE/Storage
Signed-off-by: Alexandre Derumier aderum...@odiso.com
---
PVE/Storage/SheepdogPlugin.pm | 34 +-
1 file changed, 21 insertions(+), 13 deletions(-)
diff --git a/PVE/Storage/SheepdogPlugin.pm b/PVE/Storage/SheepdogPlugin.pm
index be1549d..132b72c 100644
--- a/PVE
301 - 400 of 6084 matches
Mail list logo