Hi guys.
I want to change dynamically the RAM and CPU of a running DomU, with CPU's there is no problem, I can assign them on the fly, but with
memory I cannot.
The documentation reads:
Paravirtualised (PV) VMs are recommended for Oracle software running on Oracle VM for both performance and the ability to dynamically change the amount RAM and CPUs on the fly.
This is what the default centos kernel has:
grep -i xen config-2.6.32-431.11.2.el6.x86_64
CONFIG_XEN=y
CONFIG_XEN_MAX_DOMAIN_MEMORY=128
CONFIG_XEN_SAVE_RESTORE=y
CONFIG_XEN_DEBUG_FS=y
CONFIG_XEN_BLKDEV_FRONTEND=m
CONFIG_NETXEN_NIC=m
CONFIG_XEN_NETDEV_FRONTEND=m
CONFIG_XEN_KBDDEV_FRONTEND=y
CONFIG_HVC_XEN=y
CONFIG_XEN_FBDEV_FRONTEND=y
CONFIG_XEN_BALLOON=y
CONFIG_XEN_SCRUB_PAGES=y
CONFIG_XEN_DEV_EVTCHN=m
CONFIG_XENFS=m
CONFIG_XEN_COMPAT_XENFS=y
CONFIG_XEN_SYS_HYPERVISOR=y
CONFIG_XEN_PLATFORM_PCI=y
dmesg |grep -i xen
DMI: Xen HVM domU, BIOS 4.1.3OVM 12/02/2013
ACPI: RSDP 00000000000ea020 00024 (v02 Xen)
ACPI: XSDT 00000000fc00eaa0 00034 (v01 Xen HVM 00000000 HVML 00000000)
ACPI: FACP 00000000fc00e8c0 000F4 (v04 Xen HVM 00000000 HVML 00000000)
ACPI: DSDT 00000000fc002c40 0BBF1 (v02 Xen HVM 00000000 INTL 20110112)
ACPI: APIC 00000000fc00e9c0 000D8 (v02 Xen HVM 00000000 HVML 00000000)
Xen version 4.1.
Xen Platform PCI: I/O protocol version 1
Netfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated NICs.
Blkfront and the Xen platform PCI driver have been compiled for this kernel: unplug emulated disks.
Booting paravirtualized kernel on Xen
Xen HVM callback vector for event delivery is enabled
CPU: CPU feature rdtscp disabled on xen guest
CPU: CPU feature constant_tsc disabled on xen guest
CPU: CPU feature rdtscp disabled on xen guest
CPU: CPU feature constant_tsc disabled on xen guest
xen-platform-pci 0000:00:03.0: PCI INT A -> GSI 28 (level, low) -> IRQ 28
XENBUS: Device with no driver: device/vfb/0
XENBUS: Device with no driver: device/console/0
XENBUS: Device with no driver: device/vbd/51712
XENBUS: Device with no driver: device/vbd/51728
XENBUS: Device with no driver: device/vif/0
vbd vbd-51712: 19 xenbus_dev_probe on device/vbd/51712
Initialising Xen virtual ethernet driver.
I get this error:
OVMRU_005042E Cannot change the memory size of running HVM Virtual Machine: Centos 6.5. [Fri Apr 25 11:01:44 EDT 2014]
I'm I missing something to install in the guest os? is there any docs I'm I missing ?
Thanks oyu very much.
Regards