vividly nonsensical
it just makes nonsense
Black Green Blue Red Gold
RSS
  • Home PageHome
  • About
  • Pix
  • Useful Stuff
  • VMWare Sites

vmware Category

Sage Timberline running on VMware ESX 4

ramblings, tech, vmware 0 Comment »

A few months ago I started the process of getting all my ducks in a row for a migration that involved moving all physical servers a customer had to a VMware ESX environment. This environment wasn’t anything special: 60 users running Microsoft Active Directory, Exchange 2003, Blackberry Enterprise Server and Sage Timberline Office as their accounting app.

The Microsoft parts were easy.  I was sure there would be no problem those. My one concern was with the Sage Timberline software package. This program never ran particularly well, and its obvious it is running using very old programming languages much like alot of the LOB apps companies use these days.

I needed to make sure this package would both a) run within a VMware environment and b) be supported by Sage from a technical perspective. When I called the Sage Customer Support desk and asked their response was:

Sage Timberline Office is not supported running as a virtual machine, however we will troubleshoot any issues you have to a reasonable extent, while not allowing any support calls to be escalated to the engineering department.”

That actually sounds pretty fair. The woman I spoke with sounded fairly knowledgable about the Sage product and had been one of the technicians to previously work with another Sage customer that had issues running their software in a virtual environment. I asked her what the specific issues encountered were and all she really could tell me was that the Pervasive Database performed very badly and lots of unexpected things would happen while using the software.

So here I was – ready to get a signature for a proposal that would cost my customer 10’s of thousands of dollars and I had no factual evidence that showed that the accounting package they used would even work. If there were ever going to be a problem with this software it would be related to performance alone, right? There only about 10 users that access this application, so that shouldn’t really be an issue, right?

Well it turns out Sage Timberline Accounting software runs just fine in a virtual environment. It runs better running in VMware ESX 4 than it ever did on its own dedicated Dell Poweredge 1650 with RAID5.

I guess the moral of the story is that if it should work and it isn’t, you’re probably doing something wrong. Fight through the problems with a sense of resolve, do your research, follow guidelines and procedures and most things will run just fine in a virtual environment….and never take no for an answer.

  • Share/Save

June 25th, 2009  
Tags: ESX, vmware



FAILED: A system error encountered during an operation

tech, vmware 0 Comment »

Anyone familiar with ESX will know how finicky it and vCenter can be about name resolution for all parties involved.  I typically make my VI and vCenter Server HOSTS file identical.  This usually solves all my HA problems and other weird issues that arise.

Today I realized it’s also beneficial to duplicate the HOSTS file on a machine that is being converted from physical to virtual using vCenter Converter (the machine I am converting). Before I appended those entries to the I was receiving “FAILED: A system error encountered during an operation.” each time I tried running the conversion.  The error cleared up right away.

I still don’t know why this continues to be an issue. The infrastructures are setup as vanilla and as “by the book” as possible.  DNS and WINS are always setup and working properly.  Short name and FQDN resolution always works from every host and client on the network.

I suppose it isn’t the end of the world. Seems like it should be an easy thing for VMware to “fix”…then again maybe they don’t consider it to be broken.

  • Share/Save

June 22nd, 2009  
Tags: ESX, HOSTS, vCenter, VI



Cloning VM’s with multiple disks fail

tech, vmware 0 Comment »

So I’ve had the problem in the past where I need to remove very old snapshots for ESX virtual machines and eventually after hours of merging it fails with no apparent reason.  Recently I was looking into how I could get aroudn this.  The idea I was testing was to use Converter Enterprise to esentially do a V2V.  That way, if the conversion failed I will still have the original machine in its old working state.

After starting this process on a test VM, after 3 hours of converting it failed.  The logs gave me the following:

UNKNOWN_METHOD_FAULT(vim.fault.NotAuthenticated)

I stumbled upon a post on the vmware communities that suggested I try the following

When setting up the conversion, don’t use “convert all disks and leave current size”, use “select volumes…” and leave all volumes selected and the default options checked.

I gave it another try and voila! Conversion worked without error.

I wonder if multiple disks has anything to do with the snapshot merging problems I’ve had so many times.  As I attempt to remember specifics of all past failed attempts, I believe they’ve all had multiple disks.  Maybe that was the problem all along?  As long as this Plan B works I’m happy!

  • Share/Save

February 26th, 2009  
Tags: ESX, snapshot, VI, virtual infrastructure, vmdk, vmware



Your kernel was built with gcc version 4.2.3 while you are trying to use gcc version 4.2.4

linux, tech, vmware 0 Comment »

Strange VMware Tools issue while upgrading one of my Ubuntu 6.06.2 VMware Guests to Ubuntu 8.04.1.  The Ubuntu upgrade itself seemed to go just fine, but installing the updated VMware Tools gave me an error:

Your kernel was built with "gcc" version "4.2.3", while you are
trying to use "/usr/bin/gcc" version "4.2.4". This configuration
is not recommended and VMware Player may crash if you'll continue.
Please try to use exactly same compiler as one used for building
your kernel. Do you want to go with compiler "/usr/bin/gcc"
version "4.2.4" anyway? [no]

It didn’t take very long to find a thread about this – http://ge.ubuntuforums.com/showthread.php?t=963825.  I took the suggest of some of the users here and chose YES.  SNAPSHOT YOUR MACHINES BEFORE YOU TRY SOMETHING UNPROVEN!

Well now it complained that it couldnt locate the Linux C Header files:

The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are yousure that /usr/include contains the header files associated with your running
kernel? [no]

Weird.  So now I had to manually install the Linux Headers.  I did this by issuing:

apt-get install linux-headers-`uname -r` build-essential

I now re-ran perl /usr/src/vmware-tools-distrib/vmware-install.pl.  I again of course had to tell the installer to continue compiling using gcc 4.2.4, but now it didnt complain about the C headers. The install completed successfully.

  • Share/Save

December 2nd, 2008  
Tags: gcc, linux, snapshot, Ubuntu, vmware



ESX Server 3.5 Update 3 truly supports Ubuntu 8.04.1

linux, tech, vmware 0 Comment »

I had completely forgotten about this. WIth past ESX builds Ubuntu was only *sort of* supported.  In order to get VMWare Tools installed on Ubuntu you had to basically merge the native VMWare Tools with open-vmware-tools.

The process of merging the two sets to tools together was simple enough, and successful enough – but doesnt it feel great when something is really supported and when it works the way it’s supposed to? For the shiny new supported VMWare Tools I simply ran ./vmware-install.pl from the console of my Guest, waited about 5 minutes and voila!

ESX 3.5 Update 3 Release Notes

  • Share/Save

November 25th, 2008  
Tags: ESX, linux, Ubuntu, vmware



Updating ESX 3.5

tech, vmware 0 Comment »

I was doing some regular maintenance today in Virtual Center 2.5 today and realized Its been a couple months since I’ve installed any updates on my ESX 3.5 hosts.  I don’t think I’ve installed any updates since way back before August before the bugged Update 2 was release. Back then I had reinstalled VI 2.5 and forgot to reinstall Update Manager in VI.  Funny how you forget about things when they aren’t right in front of you.

When I first attempted to Scan for Updates I received the following error in VI:

metadata for patch missing

Searching through the forums suggested the ESX host FW wasn’t properly listening for connections and suggested I run:

esxcfg-firewall --openport 80,tcp,out,dynamicupdates
(port 80 was specific to my environment and may vary for your setup)

Once I did this the Scan for Updates ran just fine

Onto the upgrade….

Before the upgrade

[root@esx-03 root]# vimsh -n -e 'hostsvc/hostsummary' | grep fullName
File not found.
fullName = "VMware ESX Server 3.5.0 build-82663",

1.Reinstalled Update Manager and attached the Critical and Non-critical Baselines to the ESX hosts

2.Put my first ESX host into Maintenance Mode and agreed to all the informational messages that come with that

3.Selected all Guest VMs and migrated them to another ESX host (I’m still not absolutely sure if entering Maintenance Mode actually evacuates all the running VMs.  I just migrate them manually because I can see it working)

4.Right clicked on the ESX host and chose Remediate, chose both Baselines and Next’ed through the wizard.

5.30 minutes later the ESX host was back up and running with the newest patches and updates. Repeat steps on all other Hosts.

After the upgrade

[root@esx-03 root]# vimsh -n -e 'hostsvc/hostsummary' | grep fullName
File not found.
fullName = "VMware ESX Server 3.5.0 build-123630",

One thing I noticed after the upgrade was that the SSH server didn’t automatically start even though it was set to

image

I clicked START and all was well.  I will do more troubleshooting on this the next time I need to reboot the Hosts.  I’d rather not evacuate all my Guest VMs for this reason alone. For now I’m happy being up to date.

  • Share/Save

November 24th, 2008  
Tags: ESX, firewall, patches, VI, virtual infrastructure, vmware



Asigra host based VMWare ESX backup breaks High Availability (HA)

backup, tech, vmware 0 Comment »

I noticed when i did some maintenance and rebooted the ESX hosts and i could not get High Availability (HA) back up and running.  I kept receiving the error:

An error occurred during configuration of the HA agent on the Host
Enable firewall failed: vim.fault.HostConfigFault

Strange.  Looks like neither ESX hosts are talking to each other.  VMWare communities suggest i run:

[root@syr-nav-esx-03 root]# esxcfg-firewall -q aamclient

And it gave me:

Can’t locate XML/DOM.pm in @INC (@INC contains: /usr/lib/vmware/esx-perl/perl5/site_perl/5.8.0 /opt/ActivePerl-5.8/site/lib /opt/ActivePerl-5.8/lib .) at /usr/sbin/esxcfg-firewall line 21.
BEGIN failed–compilation aborted at /usr/sbin/esxcfg-firewall line 21.

Turns out the problem is from the changes Asigra Televaulting DS-Client wanted me to make to each ESX host in order to get host based backups working.  The DS-Client requires Perl to be upgraded to at least 5.8.1. And in order to make sure ESX continues to function after the Perl upgrade they states on page 419 of dsuser.pdf:

After the Perl upgrade, the vmware-cmd command may no longer work since it is not compatible
with the new Perl. You will, however, need this command in order to register restored virtual
machines. To fix this problem, go to the /usr/bin/ directory and edit the vmware-cmd file as well as
the vmware*.pl files in this directory; change the first line in each file to refer to the old Perl
installation (replace #!/usr/bin/perl with #!/usr/bin/perl.old). Run vmware-cmd without
parameters to verify that it works.

So i guess they forget to mention /usr/bin/esxcfg-firewall also needs it’s perl path changed to /usr/sbin/perl.old.  This makes me wonder what else migth brake from the Perl upgrade.

  • Share/Save

November 20th, 2008  
Tags: Asigra, DS-Client, dsuser, Televaulting, vmware



Backup ESX 3.5 with Asigra Televaulting

tech, vmware 0 Comment »

My approach to backing up guest VM’s from ESX3.5 is two-headed:

  • Backup the data like you would a normal machine by attaching via SMB, NFS, SQL, etc.  Just get the data
  • Backup the Guest VM via the ESX host (pull a bare metal snapshot of the entire system)

Why backup everything twice you ask?

Well fortunately for you and unfortunately for me I have a real world experience that will help answer this question. I had a vm guest failure and had to rebuilt a vm then restore data and settings.  Suffice to say this took forever. So here’s why you can do both…

  • If data is deleted you have backup sets that have just pure data – files that are used by applications and users. If a single file gets deleted, corrupted, or anything else _bad_ the restore for this file(s) is quick and easy.  Restoration of this file(s) doesn’t need to affect every other user connected to the system in question.
  • If the OS becomes unusable, system files fail, vmdk (virtual disk) files on the host get corrupted then you now have the full machine backup to simply turn back on from date X/Y/Z. Asigra actually takes a native ESX snapshot at the time of backup.

Using Asigra Televaulting (or a small handful of other backup systems) allows us to perform backups that are compressed and bit level.  So, if I have a VM that has a 20GB vmdk disk, but really only has 8GB of data in the guest system, then the backups will actually be less than 8 because all that free space will be compressed down to nothing and then the 8GB of real data will further be compressed down.

My schedules are now setup to backup real data each night, but backup the OS (again using the native ESX snapshot) once a week.  For the most part, system settings and configurations aren’t happening each day. So, if the guest VM dies, I can simply restore the VM to the last weekly backup (as of at the most 6 days) then restore the real data to to that machine (as of at the most the night before).

  • A note for Asigra users – I’ve had a lot of problems backing up via VI.  So far attaching directly to the ESX hosts seems to be working great.  The one fallback for this is you need to setup rules to ensure that VM’s stay on the same ESX host.  Asigra only knows that a guest VM is on the host you originally configured it to be backed up from.
  • Share/Save

November 11th, 2008  
Tags: ESX, snapshot, VI, vmdisk, vmdk, vmware



32 vmware snapshots debacle

tech, vmware 0 Comment »

So I was having some pretty significant performance problems with a vm running Windows Server 2003.  I thought it might be due to the fact that I had so many snapshots.  Fellow ESX admins over at the VMWare communities confirmed this to be the case.

So my next step would be to combine all the snapshots and get rid of my delta’s by committing them all. I was going to run some guest updates first, so I again as always, made a snapshot. Something either guest or host related happened and the guest powered off.  When I went to turn it back on VI complained:

too many levels of redo logs

uh oh! the guest wouldn’t turn on!  it turns out that this snapshot was in fact the 35th snapshot taken for this machine. This 35th snapshot didn’t complete correctly and was corrupted. it also turns out there is a 32 snapshot limit for VM guests.  Good to know VI tells you about this! <sarcasm included>

After frantically searching the web and forums for a solutions someone pointed me in the direction of a post here: http://zealkabi.blogspot.com/2008/10/virtualcenter-shows-no-snapshot-but-it.html which clearly shows the process i need to use to commit my snapshots, specifically Solution B:

If solution A did not work then next step to follow is: use vmkfstools -i to consolidate snapshots.
1. You can export the disk with vmkfstools to recreate the virtual machine:
2. Execute the following command to create a directory for the new disk:\
# mkdir /vmfs/volumes/UUID/new_RHEL5
3. Execute the following command to point vmkfstools at the last snapshot file:
# vmkfstools -i RHEL5-000001.vmdk /vmfs/volumes/UUID/new_RHEL5/new_RHEL5.vmdk

Three hours later, snapshots 32 through 1 committed and a single vmdk.  While this commit process was running I realized i could have simply told VI to run vmdisk00032.vmdk instead of the final (and corrupt) vmdisk00035.vmdk.  this would have been the quick resolution to get me back up and running, and I could have don the snapshot committal at a better time.

Huge thanks to patrickds from the VMWare communities and SANJAT KABI (http://zealkabi.blogspot.com) for their knowledge!

  • Share/Save

November 3rd, 2008  
Tags: ESX, snapshot, VI, vmdisk, vmdk, vmware



Syslog Appliance

tech, vmware 0 Comment »

Just noticed this syslog appliance was recently released. its free and runs rsyslog and phplogcon for the web interface. its pretty powerful, and it comes working out of the box…oh ya and it’s free.

One note – GD seems to be broken in the current release. its as simple as “sudo apt-get install php5-gd” then “sudo /etc/init.d/apache2 restart”

Syslog Appliance

  • Share/Save

October 31st, 2008  
Tags: appliance, rsyslog, syslog, vmware





  • Recent Tweets

    • Ahbed rules 4 hrs ago
    • i wish all websites used custom favicon's so my bookmark link bar would look proper and be more useful 6 hrs ago
    • Vodafone Android Phone: Complete with Mariposa Malware: http://isc.sans.org/diary.html?storyid=8389 17 hrs ago
    • It takes over 24 hours to get BESX license info via email. Seems a tad long. 17 hrs ago
    • verizon fios business tech support is nearly impossible to get on the phone 17 hrs ago
    • i think FiOS internet is giving me packet loss for the past few days :/ 18 hrs ago
    • Pretty neat --> Lip-reading phones: Sounds of silence http://viigo.im/2Gxa 1 day ago
    • I'm pretty sure the HP Recovery Manager DID NOT backup everything it said it was going to. GRR 1 day ago
    • I'm at Sakana-Ya Sushi Bar (215 Walton St., Syracuse). http://4sq.com/9s3HAI 1 day ago
    • I just became the mayor of Sakana-Ya Sushi Bar on @foursquare! http://4sq.com/9s3HAI 1 day ago
    • The public folder management console is within the toolbox for the exchange 2007 management console. makes sense, right? 1 day ago
    • Its disappointing how people continue to fall prey to rogue av. 1 day ago
    • More updates...
  • My Links

    • asigraforums.com
    • kishmish.com
    • robibanerjee.com
    • webdevmatt.com
  • Recent Posts

    • Thanks for screwing us Sirius / XM
    • 4 must have Firefox Add-ons for the Sys Admin
    • Running 32bit applications on a 64bit IIS7.5 platform
    • Where did all the ODBC Drivers go from Windows Server 2008 64bit
    • Digsby and Ubertwitter – People just love to complain about free stuff
    • Outlook 2007 Active Directory account lockout (resolved)
    • The painful irony that is a Twitter outage
    • Office 2010 Technical Preview – Outlook: Day 1
    • The difference between us and them
    • Sage Timberline running on VMware ESX 4
  • Tag Cloud

    32bit windows appliance Asigra bes blackberry calendar CallLogger Cymphonix DS-Client DSN dsuser ESX filter firewall firmware update firmware upgrade FreeBSD gcc Hardy Heron Ibex IIS linux microsoft ODBC Outlook patches professional server rim rsyslog Shuttleworth snapshot Social syslog Televaulting Twitter Ubuntu VI virtual infrastructure vmdisk vmdk vmware web edition web servers Windows
  • Categories

    • backup (1)
    • blackberry (3)
    • linux (4)
    • microsoft (6)
    • ramblings (11)
    • tech (24)
    • vmware (10)
  • Archives

    • February 2010
    • January 2010
    • December 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • April 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
  • User Stuff

    • Register
    • Log in
    • Entries RSS
    • Comments RSS
    • WordPress.org
Avatars by Sterling Adventures
Categories
  • backup
  • ramblings
  • tech
    • blackberry
    • linux
    • microsoft
    • vmware
About Me

My name is Michael Varre and I'm a Systems Administrator for a small company in Syracuse, NY.

You'll find a variety of Technology related rants, raves, how-to's and general thoughts here at jirc.com.Read more

Copyright © 2010 vividly nonsensical All Rights Reserved XHTML CSS THEME by I SOFTWARE REVIEWS