Tim,

You can use it for the reference.

I will use the instruction below, and the Zenloadbalancer is running as a VM in 
Xenserver.
I installed Xenserver Tool.

Please, review it and let me know if there is wrong way.


1.) Install Debian Lenny with "Other install media" default Template and update 
it with aptitude.
Add the GPG-KEY of Citrix to aptitude:
wget -q http://updates.vmd.citrix.com/XenServer/5.5.0/GPG-KEY -O- | apt-key add 
-

2.) Add XenTools ISO, mount and install it:
mount -t iso9660 /dev/cdrom /cdrom
cd /cdrom
dpkg -i Linux/xe-guest-utilities_5.6.0-xxx_i386.deb
dpkg -i Linux/debian-lenny/linux-image2.6*

If you have x64:
dpkg -i Linux/xe-guest-utilities_5.6.0-xxx_amd64.deb
dpkg -i Linux/debian-lenny/linux-image2.6*

3.) Change the name of your HDD from "hda" to "xvda".
(if your HDD is "hdb", change to"xvdb", also for "hdd")
Change it in "/etc/fsta

b/" and "/boot/grub/menu.lst".
"fstab" is easy, and on "menu.lst" you have to change:
"kernel /boot/vmlinuz-2.6.x root=/dev/hda1 ro quiet"
to:
"kernel /boot/vmlinuz-2.6.x root=/dev/xvda1 ro quiet"
(or "hdb1" to "xvdb1")

4.) Next change "tty1" to "hvc0" in: "/etc/inittab".
"1:2345:respawn:/sbin/getty 38400 tty1"
to:
"1:2345:respawn:/sbin/getty 38400 hvc0"

5.) Now Shutdown VM.

6.) Go to any XenConsole.
Get the UUID of the VM with "xe vm-list".

7.) xe vm-param-set uuid=<uuid> HVM-boot-policy=""
xe vm-param-set uuid=<uuid> PV-bootloader=pygrub
xe vm-param-set uuid=<uuid> PV-args="- - quiet console=hvc0"

8.) Now make the HDD of the VM bootable.
You need the VBD-UUID. Get it with:
"xe vm-disk-list uuid=<uuid>" .

9.) Activate the Blockdevice of the HDD and make it bootable:
"xe vbd-param-set uuid=<vbd-uuid> bootable=true"

10.) After boot, use: "aptitude update; aptitude dist-upgrade" .
After every kernel update, do again Step 3.) change "hda" to"xvda" in 
"/boot/grub/menu.lst"

Updated for XenServer 5.6 by: Drachenfels GmbH on 01.06.2010

[Selection_134.jpeg]

________________________________
From: Tim Chipman
Sent: Friday, May 03, 2013 11:45 AM
To: [email protected]
Subject: Re: [Zenloadbalancer-support] ZenLoadBalancer Issue

Hi Michael,

you are certain the VM has proper driver support in place for the paravirtual 
nic ?  (I don't think this happens automatically.)

It may require building a stock (Debian) VM template from XenServer into a 
ZenLB instance, by manually adding the apt-get repo sources and installing it 
that way.. in order to be certain you have proper paravirtual device support in 
place.


Tim


On 5/3/2013 3:02 PM, Michael Song wrote:
Emilio,

It running paravitualized mode in Xenserver.

Thanks,

Michael Song

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
Zenloadbalancer-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/zenloadbalancer-support

Reply via email to