Sebastian Mogilowskis Blog

Just another blog about administration, linux and other stuff

Virtualization

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 […]

, ,

VMWare Server 2 – Unable to build the vsock module

Just a quick Post, the solution for the “Unable to build the vsock module” error message if you install VMWare Server 2 on Debian or Ubuntu: tar xvf /usr/lib/vmware/modules/source/vsock.tar cd vsock-only sed -i ‘s/^\#include //’ autoconf/*.c make cp vsock.o /lib/modules/$(uname -r)/misc ln -s vsock.o /lib/modules/$(uname -r)/misc/vsock.ko depmod -a invoke-rc.d vmware restart

, , , ,

VMWare Workstation / Player Installer 6.5.3 Hangs

The installer of VMWare Workstation (and Player) hangs on Ubuntu Karmic 9.10. “Cause: the installer runs vmware-modconfig-console which produces enough output with some kernels that the python engine deadlocks is command piplining during the compile.” You need 2 consoles. In the first one type: sudo -i while true; do killall -9 vmware-modconfig-console; sleep 1; done […]

, , , , ,

Previous Posts Next posts