vsphere_static_160x300
Badges

vexpert_logo_100x57

gestaltitbadge

follow-me-twitter

Subscribe to me on FriendFeed

Comments / DISQUS
Feedjit.com

Archive for the ‘vmtools’ Category

Force Remove VMware Tools and Manual Clean Up

I created a Windows 7 virtual machine in VMware Player, ran it for a while on my Windows notebook, and then decided to move it to one of my Ubuntu machines and host it in VirtualBox. I had no problem copying the folder and files between the different host based hypervisors. VirtualBox can use a virtual disk in the VMware .vmdk format so it was just a matter of file transfers between computers. VirtualBox has it’s own Guest Editions (or host tools) to add functionality and improve performance, so I needed to make that switch inside the VM too. My problem was that I did not remove the VMware Tools before I moved the VM.

When I went to uninstall VMware Tools after powering the VM on Ubuntu and in VirtualBox I received a message that “no VMware Products were detected”. Luckily, I quickly figured out I wasn’t the first to attempt this move and experience this hurdle. The post Uninstalling VMware tools when not running on a VMware host tells the same tale and provides the answer.

“I added the VMware Tools ISO to that VM and opened a command prompt. Then I found the “setup.exe” or “setup64.exe” files on the cd. Run those in the cmd window with a /c switch. (example:  ”setup64.exe /c” )  This will remove the Tools.  I installed the VirtualBox additions and then reboot.  On my Windows 2008 server it crashed on first reboot, then then I tried again and it loaded up just fine.  Network works and everything! Yay!”

On my Windows host with VMware Player installed (VMware Workstation has a similar location) the windows.iso file was found at C:\program files(x86)\VMware\VMware Player\windows.iso. Your path needs to be adjusted based on whether you have a 32 bit or 64 bit OS obviously. Mine was a 64 bit host even though the directory was at c:\program files(x86), by the way.

I’ll let you figure out your preferred method on how to copy the windows.iso file to the Ubuntu host, but once you do you can:

Read the rest of this entry »

Installing Tools or Guest Additions in a Terminal Server VM

This post explains how to install the virtual machine tools or additions when running a virtualized Terminal Server. For example, if a VMware ESX virtual machine (VM) is providing published applications via Remote Desktops (RDP) from Microsoft Terminal Server then the normal process of installing the required VMware Tools will take place in a mode which assumes the tools need to be a published application in the user sessions. Since this is not the case, special steps must be taken to ensure the guest additions are installed for the local VM’s operating system only. Although I mentioned VMware Tools and MS Terminal Server, the process is similar for any Server Based Computing solution that provides published applications virtualized on any hypervisor platform.

I tried to keep this post generic as possible. This is a high level overview of preparing Windows for the tools or additions install.

Steps to correctly install guest tools or additions: Read the rest of this entry »

VMware Tools available via Synaptic for Ubuntu VMs

screenshot-synaptic-package-managerVMware announced specific Linux packages are now available for it’s VM Tools not too long ago. They also introduced the  Operating System Specific Packages (OSP) Home Page where “you will be able to search, browse and download VMware Tools software packaged in the native package format (e.g. rpm, deb etc) for select supported Operating Systems.” At VMworld 2008 I attended a session about VMware’s Roadmap for Linux that promised distribution packages were on the horizon, so it’s great to see them so quickly.

VMware currently has Linux packages for:

  • Red Hat Enterprise Linux 4 (including GA and Update Releases 1 through 7)
  • Red Hat Enterprise Linux 5 (including GA and Update Releases 1 and 2)
  • Suse Linux Enterprise Server 9 (including GA and Service Pack releases 1 through 4)
  • Suse Linux Enterprise Server 10 (including GA and Service Pack releases 1 and 2)
  • Ubuntu Linux 8.04 (including GA and Update Release 8.04.1)


VMware has created a guide for installing the OSPs (http://www.vmware.com/pdf/osp_install_guide.pdf), but after reading this PDF I was a little disappointed in the complicated process described inside. It made me curious if it could really be that hard, for Ubuntu for example, when so many packages are readily available via the Synaptic Package Manager. So, I decided to check for myself and the result was the screen shot image in this post. Click it for a larger view.

I haven’t actually tried an install from Synaptic yet, but I am definitely excited about the package availability! Let me know if you’ve already used Synaptic, Yum, apt-get, or any other native Linux package management tool to successfully install VMware Tools.

In my opinion, this is a huge advancement in the automation of Linux guest administration, and it will make installing and  keeping VMware Tools updated for Linux operating systems almost as easy as in Windows guests!

Deploying VMware in a Linux Shop #PO2575

This session was my last VMworld 2008 session on Tuesday 9.17. I must have missed it in my notebook Tuesday night, so I am posting my notes now. The session was hosted by Mike DePetrillo, Principal Systems Engineer at VMware. Mike did the entire session on one leg. If you saw one of Mike’s sessions or you know Mike you’ll understand that comment. :)

This session was designed for companies that are primarily Linux shops and have numerous virtual machines (VMs) on VMware virtual infrastructure. Mike provided general information about Linux as a guest OS as well as some best practices and performance tips for both the VMs and the ESX hosts. The rest of this post is my notes from the session.

Mike started out by talking about general recommendations for building Linux VMs.

Read the rest of this entry »

Automating VMware Tools Installs and Upgrades in Linux Guests

Last week I had a customer ask me for help with a repetitive administrative task that is extra aggravating for shops with a lot of Linux virtual machines (VMs). The customer was frustrated with the manual process of upgrading VMware Tools after kernel upgrades in their VMs. It’s a problem unique to Linux since the Windows operating system kernel does not change very frequently, but the development cycle of several Linux distributions can mean multiple kernel versions each year. After each upgrade and subsequent VM reboot the VMware tools must be re-installed so the tools are compiled correctly with the new kernel. Not exactly fun to do when you have a lot of Linux VMs.

I suggested 2 alternatives for the customer. The first is a scripted solution configured inside each Linux VM and the second is a built in feature of VirtualCenter and ESX for versions 2.0.1 and 3.0.1 or greater. I have not tested either of these solutions. My reason for writing this post is partly to explain the options, but also to get some feedback from the community. Let me know if you use or have tried either of these solutions or anything similar. If there is a better way please comment on this post! If you try one of these for your Linux virtual guests let me know what works and what doesn’t.

The following methods require that VMware tools are already installed in the Linux guests. For instructions for installing the tools check out the current VMware .pdf guide titled Basic System Administration Update 2 Release for ESX 3.5, ESXi version 3.5, VirtualCenter 2.5. if you are wondering if you should even install VMware tools in Linux guests than check out my post “Why do I need to install VMware Tools?”. Read the rest of this entry »

Why do I need to install VMware Tools?

It happens more frequently than I would ever imagine, but from time to time I find clients have not installed the VMware tools in their virtual machine’s (VM) operating system. I find it more often in Linux VMs than Windows, but I’ve discovered it for both types of guests none-the-less. Some times the tools install is overlooked or forgotten, but every once in a while I am told something like “Does Linux needed VMware tools?” or “what do the VMware tools do for me anyways?”.

Well, I do not have any unique insight or clever commentary to add, but I am providing the following cut and pastes from the VMware .pdf Basic System Administration Guide as a easy reference. At the very least this post will save me some time because I won’t have to dig this info out of the .pdf again when I am asked.

The following sections provide info on what you install when you install VMware tools as well as steps for installing the tools for both Windows and Linux VMs. The rest of this post is not my material but comes straight from the linked guide above – although not necessarily in the order it appears in the original document, however. Download and read the current version for yourself! Read the rest of this entry »

Virtualized Linux Screen Resolution Issues Solved in Ubuntu 8.04

It’s good to see more and more of the various Linux distributions prepackage enhancements that benefit the operating system when running in virtual machines. This also makes life a whole lot easier for the administrator configuring the virtualized OS. Building VMs is already fast in comparison to physical servers, but having to take the time to modify config files to get a usable screen resolution can get on your nerves real quick! Anyone who has ever built a Linux VM over the past several years has most likely experienced Xorg (screen resolution) problems and knows what I am talking about.

Today, thanks to VMware making a large part of the Linux version of the VMware Tools open source, the latest distribution of Ubuntu (8.04 or Hardy Heron) includes the xserver-xorg-video-vmware package in it’s core installation. Hopefully the other popular distributions are doing the same. Frankly, I haven’t had the chance to explore CentOS, Fedora or Red Hat, but recent announcements seem to indicate that the same virtulized enhancements are taking place for those distros too.

So, what this means is that you Read the rest of this entry »

Hyper9 Cowabunga
Support VM /ETC
Support VMETC.com

Support VMETC.com

Free Business and Tech Magazines and eBooks
@rbrambley tweets
Advertisements
VMTN Roundtable Podcasts
Subscribe



Add to Google Reader or Homepage
Subscribe in NewsGator Online
Add to netvibes
Add to Plusmo