Koozali.org: home of the SME Server

SME 7 as a XEN PV DomU

Offline ASPerience

  • *
  • 14
  • +0/-0
    • ASPerience
SME 7 as a XEN PV DomU
« on: September 30, 2009, 10:21:01 AM »
Hi there.
I don't know if I am posting in the right category. If not, tell me where it is supposed to be.

I'm currently trying to use SME as a XEN PV DomU. And as it seems to be now working quite well, I'd like to share my experience with you.

I created an how-to (http://blog.webotin.fr/2009/09/sme-server-as-a-pv-xen-domu/), and would like to get feedbacks abou it.

If there is people interested in it, it can be re-used on contribs.org.

Regards,

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME 7 as a XEN PV DomU
« Reply #1 on: September 30, 2009, 10:49:09 AM »
Hi there.
I don't know if I am posting in the right category. If not, tell me where it is supposed to be.

I'm currently trying to use SME as a XEN PV DomU. And as it seems to be now working quite well, I'd like to share my experience with you.

I created an how-to (http://blog.webotin.fr/2009/09/sme-server-as-a-pv-xen-domu/), and would like to get feedbacks abou it.

If there is people interested in it, it can be re-used on contribs.org.

Regards,
I have not read it but it would be nice if you could add it to the wiki (as well).
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: SME 7 as a XEN PV DomU
« Reply #2 on: September 30, 2009, 10:53:36 AM »
hi

interesting..  I would add only this.. when you say
Quote
Because SME detects xvc0 as the main terminal, I had to replace the last line of /etc/e-smith/templates/etc/inittab/90serial with :

$OUT .= "s$1:123457:respawn:/sbin/agetty hvc0 $device $terminal";

I suggest you to create a fragment in /templates-custom tree instead of editing original files.. in this way your configuration will survive a major upgrade

that said, IMHO it's worth to be in the wiki as virtualization is becoming a must nowadays

Ciao
« Last Edit: September 30, 2009, 10:55:28 AM by Stefano »

Offline ASPerience

  • *
  • 14
  • +0/-0
    • ASPerience
Re: SME 7 as a XEN PV DomU
« Reply #3 on: September 30, 2009, 11:18:13 AM »
Thanks for your replies.

I plan to add this how-to to the contribs.org wiki once all remaining issues are addressed.

I corrected the hvc0 application method using templates-custom.

Offline byte

  • *
  • 2,183
  • +2/-0
Re: SME 7 as a XEN PV DomU
« Reply #4 on: September 30, 2009, 10:56:13 PM »
I corrected the hvc0 application method using templates-custom

Changing the console isn't necessary, what made you think the change was needed?
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline ASPerience

  • *
  • 14
  • +0/-0
    • ASPerience
Re: SME 7 as a XEN PV DomU
« Reply #5 on: October 01, 2009, 10:44:20 AM »
Changing the console isn't necessary, what made you think the change was needed?

If I keep the console as it is by default, I don't get any prompt when uising xm console.
Maybe an issue related to XEN 3.2.

Can anyone confirm it's working out of the box with xen 3.2 ?

EDIT : I tried setting back console to xvc0. I confirm it's not working. Console display stops after HAL start. No login prompt is displayed.
« Last Edit: October 01, 2009, 10:57:22 AM by ASPerience »

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME 7 as a XEN PV DomU
« Reply #6 on: October 01, 2009, 11:41:43 AM »
EDIT : I tried setting back console to xvc0. I confirm it's not working. Console display stops after HAL start. No login prompt is displayed.
Strange... my dom0 systems (CentOS based) do show a prompt out of the box when I access a xm console for the guests.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline ASPerience

  • *
  • 14
  • +0/-0
    • ASPerience
Re: SME 7 as a XEN PV DomU
« Reply #7 on: October 01, 2009, 01:28:27 PM »
Strange... my dom0 systems (CentOS based) do show a prompt out of the box when I access a xm console for the guests.

But CentOS uses xen 3.0, and console handling changed between 3.0 and 3.2.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: SME 7 as a XEN PV DomU
« Reply #8 on: October 01, 2009, 01:53:40 PM »
But CentOS uses xen 3.0, and console handling changed between 3.0 and 3.2.
That might be the cause then, but perhaps CentOS/Redhat has backported the feature, do you have a bug id referencing this change?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline slords

  • *****
  • 235
  • +3/-0
Re: SME 7 as a XEN PV DomU
« Reply #9 on: October 01, 2009, 05:13:37 PM »
But CentOS uses xen 3.0, and console handling changed between 3.0 and 3.2.

If you can provide details and possible help then we might be able to updated the templates to use the correct console device so this custom template isn't needed at all.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs,
and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." -- Rich Cook