If you are trying any Citrix product that uses ICA protocol, you need to install Citrix Receiver. But it have a dependence in OpenMotif that is not enforced by the distributed package.
For your luck, Debian provides the libmotif4 package that should be installed to provide libXm.so.4 library file (actually a symbolic link to libXm.so.4.0.3). After that, Citrix Receiver will run as expected.
First, install libmotif4 using aptitude as follows
# aptitude install libmotif4
Then, install Citrix Receiver (in this case, distributed by XenDesktop media at Citrix Receiver and Plug-ins sub-directory)
# dpkg -i icaclient_11.100_i386.patched.deb
This same procedure applies for Ubuntu Linux
Este é um Blog de temas variados, tais como tecnologia, comunicações, comportamento, cotidiano, internet, programação, negócios, diversão, opinião, linux, unix, debian, bsd, asterisk, voip. This Blog have a variety of topics, such as technology, communication, behavior, daily, internet, programming, business, entertainment, opinion, linux, unix, debian, bsd, asterisk, voip.
Mostrando postagens com marcador Citrix XenServer. Mostrar todas as postagens
Mostrando postagens com marcador Citrix XenServer. Mostrar todas as postagens
terça-feira, agosto 23, 2011
sexta-feira, julho 15, 2011
Running Debian 6.0 Squeeze on Citrix XenServer 5.6|5.6 FP1|5.6 SP2
Some time ago I posted an article about running Ubuntu 10.04 as a guest for Citrix XenServer 5.5.0 (that's is valid for Ubuntu 10.10, 11.04 as of Citrix XenServer 5.6 and SP2). Here I come again to show how to make Debian 6.0 Squeeze runs virtualized using the same technique.
Squeeze upgrade to Grub2 that is not fully supported in XenServer 5.6, 5.6 FP1, 5.6 SP 2 because a lazzy programer just forgot to add a simple configuration file to list of possible paths of Grub2 files.
To make it work, make sure you install a linux-image-2.6-686-bigmem or linux-image-2.6-amd64 kernels packages (if not using the old 2.6.29 version provided by Citrix), because they are the only ones that supports Xen DomU operations out-of-the-box. If you install a simple kernel, XenServer will fail with a cryptic message "Will only load images built \\\". This message try to say that it will only execute a kernel image with DomU support.
For a new install, make sure to install the correct kernel packages (linux-image-2.6-686-bigmem or linux-image-2.6-amd64). For a running install where you want to to a upgrade, make sure to install one of that kernels packages or keep the old 2.6.29 version provided by Citrix. For both cases, install Citrix Xen Tools (Linux/xe-guest-utilities package from xs-tools.iso) for VM instrumentation and status report.
Take note of VM and it's VBD uuid, the kernel and ramdisk images path and filesystem uuid (check for it in /etc/fstab or /boot/grub/grub.cfg). Run these commands bellow, using your environment parameters to replace text in bold, don't add the single quotes.
To get the VM uuid
xe vm-list name-label='name of your VM'
To get the VBD uuid
xe vm-disk-list uuid='uuid of your VM'
Clear HVM boot policy from your VM
xe vm-param-clear uuid='uuid of your VM' param-name=HVM-boot-policy
Set VM boot loader to pygrub
xe vm-param-set uuid='uuid of your VM' PV-bootloader=pygrub
Set VBD to bootable
xe vbd-param-set uuid='uuid of your VM VBD' bootable=true
Set PV bootloader args
xe vm-param-set uuid='uuid of your VM' PV-bootloader-args="--kernel=/boot/vmlinuz-2.6.32-5-amd64 --ramdisk=/boot/initrd.img-2.6.32-5-amd64"
or
xe vm-param-set uuid='uuid of your VM' PV-args="root=UUID='uuid of your VM filesystem' ro quiet console=hvc0 xencons=hvc0"
All set, now you can boot up your Squeeze VM and check if it's reporting as Optimized in general tab.
Squeeze upgrade to Grub2 that is not fully supported in XenServer 5.6, 5.6 FP1, 5.6 SP 2 because a lazzy programer just forgot to add a simple configuration file to list of possible paths of Grub2 files.
To make it work, make sure you install a linux-image-2.6-686-bigmem or linux-image-2.6-amd64 kernels packages (if not using the old 2.6.29 version provided by Citrix), because they are the only ones that supports Xen DomU operations out-of-the-box. If you install a simple kernel, XenServer will fail with a cryptic message "Will only load images built \\\". This message try to say that it will only execute a kernel image with DomU support.
For a new install, make sure to install the correct kernel packages (linux-image-2.6-686-bigmem or linux-image-2.6-amd64). For a running install where you want to to a upgrade, make sure to install one of that kernels packages or keep the old 2.6.29 version provided by Citrix. For both cases, install Citrix Xen Tools (Linux/xe-guest-utilities package from xs-tools.iso) for VM instrumentation and status report.
Take note of VM and it's VBD uuid, the kernel and ramdisk images path and filesystem uuid (check for it in /etc/fstab or /boot/grub/grub.cfg). Run these commands bellow, using your environment parameters to replace text in bold, don't add the single quotes.
To get the VM uuid
xe vm-list name-label='name of your VM'
To get the VBD uuid
xe vm-disk-list uuid='uuid of your VM'
Clear HVM boot policy from your VM
xe vm-param-clear uuid='uuid of your VM' param-name=HVM-boot-policy
Set VM boot loader to pygrub
xe vm-param-set uuid='uuid of your VM' PV-bootloader=pygrub
Set VBD to bootable
xe vbd-param-set uuid='uuid of your VM VBD' bootable=true
Set PV bootloader args
xe vm-param-set uuid='uuid of your VM' PV-bootloader-args="--kernel=/boot/vmlinuz-2.6.32-5-amd64 --ramdisk=/boot/initrd.img-2.6.32-5-amd64"
or
xe vm-param-set uuid='uuid of your VM' PV-bootloader-args="--kernel=/boot/vmlinuz-2.6.32-5-686-bigmem --ramdisk=/boot/initrd.img-2.6.32-5-686-bigmem"
xe vm-param-set uuid='uuid of your VM' PV-args="root=UUID='uuid of your VM filesystem' ro quiet console=hvc0 xencons=hvc0"
All set, now you can boot up your Squeeze VM and check if it's reporting as Optimized in general tab.
Posted by
Alexandre Alencar
at
14:28:00
5
comments
Labels:
Citrix XenServer,
debian,
Dicas,
gnu/linux,
Tecnologia,
Tips,
Virtualização,
Virtualization
terça-feira, julho 13, 2010
Installing Ubuntu 10.04 as a guest for Citrix XenServer 5.5.0
Update 2011/07/15: This also applies to Ubuntu 10.10 and 11.04 releases
If you need to install an Ubuntu system as a guest for Citrix XenServer, you figured out that there is no support from Citrix templates out there, but this is not the end of the world. Modern GNU/Linux distros comes with kernels ready for para-virtualization and you just need to make additional steps to get it working.
If you need to install an Ubuntu system as a guest for Citrix XenServer, you figured out that there is no support from Citrix templates out there, but this is not the end of the world. Modern GNU/Linux distros comes with kernels ready for para-virtualization and you just need to make additional steps to get it working.
Posted by
Alexandre Alencar
at
14:49:00
2
comments
Labels:
Citrix XenServer,
gnu/linux,
Tips,
Virtualization
Assinar:
Postagens (Atom)