View previous topic :: View next topic |
Author |
Message |
mocsokmike Tux's lil' helper
Joined: 04 Aug 2005 Posts: 120 Location: Budapest, Hungary
|
Posted: Thu Aug 25, 2016 10:57 am Post subject: xe-daemon for XenServer 7.0 [SOLVED] |
|
|
Hi,
I have Gentoo VM-s running on Citrix XenServers. I have recently upgraded my XenServers from 6.5 to 7.0, and since this XenCenter complains about my outdated xe-guest-utilities. I am using the one in portage, which is for 6.2. It worked with XenServer 6.5SP1 fine, but maybe some things has changed in 7.0...
If anyone has a similar environment, please help me how to install the official 7.0 guest utilities from Citrix! Their install script does not support Gentoo. _________________ format c:
emerge system
Last edited by mocsokmike on Thu Aug 25, 2016 11:55 am; edited 1 time in total |
|
Back to top |
|
|
mocsokmike Tux's lil' helper
Joined: 04 Aug 2005 Posts: 120 Location: Budapest, Hungary
|
Posted: Thu Aug 25, 2016 11:54 am Post subject: |
|
|
OK, this was not Gentoo-related. This is because the XenServer update seems to be forgetting to set a VM state properly.
For everyone who is interested, my error was:
1. XenCenter in the "VMs" view showed "Management Agent not installed" in the "Used Memory" tab.
2. XenCenter showed the below messages at every VM's virtualization state:
I/O optimized
Management Agent not installed
Not able to receive updates from Windows Update (yeah, who cares)
Install Management Agent (this was a link)
The solution:
Log in to the pool master via SSH, and do the following steps:
1. list your VM-s, to get their UUID-s:
2. run this command on each one of them, using their UUID-s:
Code: | xe vm-param-set uuid=[UUID] platform:viridian=false |
The above error will disappear immediately, no need to restart anything. _________________ format c:
emerge system |
|
Back to top |
|
|
bhakimi n00b
Joined: 28 Nov 2014 Posts: 26
|
Posted: Sat Dec 17, 2016 8:05 pm Post subject: |
|
|
mocsokmike i also run gentoo on xenserver and after the 7.0 upgrade every vm randomly gets rebooted by xenserver, i see in my logs on gentoo the vm just shuts down with no kernel panic or anything and xenserver reboots it because it detected a crash. any chance you can share your vm guest kernel config? im at a loss right now and no clue what to do, even bought xenserver support but still no luck, they cant figure out why its going on and they blame gentoo as a unsupported guest vm. |
|
Back to top |
|
|
mocsokmike Tux's lil' helper
Joined: 04 Aug 2005 Posts: 120 Location: Budapest, Hungary
|
Posted: Sun Dec 18, 2016 12:13 pm Post subject: |
|
|
Hi bhakimi,
I am using genkernel with the latest hardened-sources. My kernel is as generic as possible, to support hardware changes in the future.
Here is a download link to my kernel config: kernel-config-x86_64-4.7.zip (valid until the 25th of December, 2016)
Anyway, these are the Xen-related items you will need in your standard kernel:
Code: | Processor type and features --->
[*] Linux guest support --->
[*] Enable paravirtualization code
[*] Paravirtualization layer for spinlocks
[*] Xen guest support
[*] KVM Guest support (including kvmclock)
Device Drivers --->
[*] Block devices (NEW) --->
<*> Xen virtual block device support
[*] Network device support --->
<*> Xen network device frontend driver
Xen driver support --->
[*] Xen memory balloon driver
[*] Scrub pages before returning them to system
<*> Xen /dev/xen/evtchn device
<*> Xen filesystem
[*] Create compatibility mount point /proc/xen
[*] Create xen entries under /sys/hypervisor
<M> userspace grant access device driver
<M> User-space grant reference allocator driver
<M> Xen ACPI processor |
_________________ format c:
emerge system |
|
Back to top |
|
|
bhakimi n00b
Joined: 28 Nov 2014 Posts: 26
|
Posted: Sun Dec 18, 2016 7:23 pm Post subject: |
|
|
thank you, i'll match it with my configs to see if there is anything missing, do you know if we had to upgrade anything on the guest when swtiching from 6.5 to 7? |
|
Back to top |
|
|
mocsokmike Tux's lil' helper
Joined: 04 Aug 2005 Posts: 120 Location: Budapest, Hungary
|
Posted: Sun Dec 18, 2016 8:51 pm Post subject: |
|
|
No, I didn't do anything to my guest systems. The only thing I needed to do was the adjustment I wrote above. _________________ format c:
emerge system |
|
Back to top |
|
|
bhakimi n00b
Joined: 28 Nov 2014 Posts: 26
|
Posted: Sun Dec 18, 2016 9:06 pm Post subject: |
|
|
This may be asking for too much but do you have a gold image I can get a copy of? This way I'll know if it's my image or xenserver if.it crashes again |
|
Back to top |
|
|
mocsokmike Tux's lil' helper
Joined: 04 Aug 2005 Posts: 120 Location: Budapest, Hungary
|
Posted: Mon Dec 19, 2016 1:35 pm Post subject: |
|
|
I will send you a PM shortly. _________________ format c:
emerge system |
|
Back to top |
|
|
|