Virtualization
Install VMware Tools on Debian Squeeze
1. Install required packages aptitude install autoconf automake binutils cpp gcc linux-headers-$(uname -r) make psmisc 2. Mount VMware Tools mkdir /tmp/vmtools mount /dev/cdrom /tmp/vmtools 3. Unzip the tools tar -C /tmp -vfx /tmp/vmtools/VMwareTools*.tar.gz 4. Run install script cd /tmp/vmware-tools-distrib ./vmware-install.pl Note: You can also use the “open-vm-tools” instead of installing the VMware Tools. aptitude install [...]
Enable SNMP on Citrix XenServer 5.6
Open XenServer Console or open a SSH connection to your XenServer for this howto: 1. Firewall Settings Open “/etc/sysconfig/iptables” with “vi” editor and add the following line to allow SNMP connections: -A RH-Firewall-1-INPUT -m state –state NEW -m udp -p udp –dport 161 -j ACCEPT Restart iptables service: service iptables restart 2. Configurate SNMPD Edit [...]
Ubuntu Lucid on XenServer 5.6 FP1
Describes howto install Ubuntu Lucid 10.04 LTS (32-Bit or 64-Bit) on a Citrix XenServer 5.6 FP1 and convert the virtual machine into a template. Note: Click to enlarge a picture. 1. Create a new virtual machine Select template “Ubuntu Lucid Lynx 10.04 (64-bit)” and choose name and description for your virtual machine (or 32-Bit if [...]
Change DNS-Server in XenServer 5.6 FP1
Citrix removed the change DNS from their console. But to change DNS-Server in “/etc/resolv.conf” are not solid settings. If you reboot the server the settings will be changed back to the initial configuration. You have to change it with “xe pif-reconfigure-ip”. Change DNS-Server First use xe pif-list to get the UUID of your PIF. You [...]
Upgrade Debian Lenny to Squeeze on Citrix XenServer
1. Update your Lenny installation Make sure that your current Lenny is up-2-date. aptitude update aptitude upgrade 2. Change sources to Squeeze Open “/etc/apt/sources.list” and replace “Lenny” with “Squeeze” here is an example: # Debian Squeeze deb http://ftp.de.debian.org/debian/ squeeze main deb-src http://ftp.de.debian.org/debian/ squeeze main # Debian Squeeze Security deb http://security.debian.org/ squeeze/updates main 3. Upgrade your [...]
Install VirtualBox 4.0 on Ubuntu / Debian
1. Add new software repository Edit the file ”/etc/apt/sources.list” with your favorite editor and add the following line depending on your Ubuntu version: Ubuntu 10.10 (Maverick Meerkat) deb http://download.virtualbox.org/virtualbox/debian maverick contrib Ubuntu 10.04 (Lucid Lynx LTS) deb http://download.virtualbox.org/virtualbox/debian lucid contrib Ubuntu 9.10 (Jaunty Jackalope) deb http://download.virtualbox.org/virtualbox/debian karmic contrib 2. Add the GPG-Key wget [...]
VMWare Open Virtualization Format Tool
Command line utility that supports import and export of OVF packages. Download Download VMWare Open Virtualization Format Tool here: http://communities.vmware.com/community/vmtn/vsphere/automationtools/ovf You can download this tool for Windows (64-Bit or 32-Bit), Linux (64-Bit or 32-Bit) and Mac OSX. Install chmod +x VMware-ovftool-2.0.1-260188-lin.x86_64.sh ./VMware-ovftool-2.0.1-260188-lin.x86_64.sh Convert OVF to VMX /opt/vmware/ovftool/ovftool /path/to/vm.ovf /path/to/vm.vmx Convert VMX to OVF /opt/vmware/ovftool/ovftool /path/to/vm.vmx [...]
Adding an additional local storage to an existing XENServer
Add the new physical device “/dev/sdb” as second local storage to an existing Citrix XENServer installation: (Note: I use XENServer 5.6) xe sr-create content-type=”local SR” host-uuid=(uuid of your xenserver host) type=(ext or lvm) device-config:device=/dev/sdb shared=false name-label=”Second local storage” The command returns the UUID of your new storage repository (SR). Example: xe sr-create content-type=”local SR” host-uuid=d06d7c86-08af-4f87-9188-bd287daac20b [...]
How to Use VNC to access VMware Servers
Edit the “.vmx” file of your virtual machine and add this lines: RemoteDisplay.vnc.enabled = “TRUE” RemoteDisplay.vnc.port = “5900″ RemoteDisplay.vnc.password = “YOUR_PASSWORD” Note: Use a different port for each virtual machine. Links: * http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1246
VMware Server 2, Proxysvc SSL Handshake problems
Get this server in /var/log/vmware/hostd.log if you want to connect to your VMWare Server ? Proxysvc SSL Handshake on client connection failed: SSL Exception Open about:config in Firefox and change security.enable.ssl2 from false into true In some cases you have to kill the vmware-hostd process and restart the management deamon: /etc/init.d/vmware-mgmt restart Links * http://planetvm.net/blog/?p=1087 [...]

