Saturday, November 29, 2008

HOWTO Update Vmware server after update linux kernel - Ubuntu 8.10

HOWTO Update Vmware server after update linux kernel - Ubuntu 8.10

1.- Verify ubuntu core
wmunguiam@server:~$ uname -r
2.6.27-9-server

2.-Go to src directory

wmunguiam@server:/usr/src$ ls -l
drwxr-xr-x 22 root root 4096 2008-11-10 01:03 linux-headers-2.6.27-7
drwxr-xr-x 7 root root 4096 2008-11-17 21:40 linux-headers-2.6.27-7-server

3.-Download linux-headers missing for our server (2.6.27-9-server)
wmunguiam@server:/usr/src$ sudo apt-get install linux-headers-`uname -r` build-essential

4.-Verify src directory again

wmunguiam@server:/usr/src$ ls -l
drwxr-xr-x 22 root root 4096 2008-11-10 01:03 linux-headers-2.6.27-7
drwxr-xr-x 7 root root 4096 2008-11-17 21:40 linux-headers-2.6.27-7-server
drwxr-xr-x 7 root root 40
96 2008-11-29 17:46 linux-headers-2.6.27-9-server

5.-Update Vmware Server
wmunguiam@server:/usr/bin$sudo ./vmware-config.pl

a.- Answer questions and fill directori
es locations specially "C headers"

What is the location of the directory of C header
files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-headers-2.6.27-9-server

b.- Then:
Would you like to skip networking setup and keep your old settings as they are?
(yes/no) [yes]

Using Existing SSL Certificate.

You have a pre-existing config.xml. The new version will be created as
/etc/vmware/hostd/NEW_config.xml. Please check the new file for any new values
that you may need to migrate to your current config.xml.

c.- and finally:
Starting VMware services:
Virtual machine monitor done
Virtual machine communication interfac
e done
Virtual ethernet done

Bridged networking on /dev/vmnet0 done
Bridged networking on /dev/vmnet2 done
VMware Server Authentication Daemon (background) done
Shared Memory Available done
Starting VMware management services:
VMware Server Host Agent (backgroun
d) done
VMware Virtual Infrastructure Web Acce
ss
Starting VMware autostart virtual machines:
Virtual machines done

The configuration of VMware Server 2.0.0 build-122956 for Linux for this
running kernel completed successfully.

6.- Go to your Vmware UI:








2 comments:

  1. Thanks very much for putting this info up - and in such an easy fashion to follow. I can't tell you how many times I keep coming back here after restarting my server only to find the need to update VMWare.

    ReplyDelete
  2. I had that issue too, but I had to do it with supersuser access and taking care of which the ubuntu's packages I'm updating.

    Saludos amigo!

    ReplyDelete