Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
xe-daemon for XenServer 7.0 [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Thu Aug 25, 2016 10:57 am    Post subject: xe-daemon for XenServer 7.0 [SOLVED] Reply with quote

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
View user's profile Send private message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Thu Aug 25, 2016 11:54 am    Post subject: Reply with quote

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:
Code:
xe vm-list

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
View user's profile Send private message
bhakimi
n00b
n00b


Joined: 28 Nov 2014
Posts: 26

PostPosted: Sat Dec 17, 2016 8:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Sun Dec 18, 2016 12:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
bhakimi
n00b
n00b


Joined: 28 Nov 2014
Posts: 26

PostPosted: Sun Dec 18, 2016 7:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Sun Dec 18, 2016 8:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
bhakimi
n00b
n00b


Joined: 28 Nov 2014
Posts: 26

PostPosted: Sun Dec 18, 2016 9:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
mocsokmike
Tux's lil' helper
Tux's lil' helper


Joined: 04 Aug 2005
Posts: 120
Location: Budapest, Hungary

PostPosted: Mon Dec 19, 2016 1:35 pm    Post subject: Reply with quote

I will send you a PM shortly.
_________________
format c:
emerge system
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum