VMware

This Question is Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
1 2 Previous Next 25 Replies Last post: Nov 18, 2009 8:14 AM by BTtech   Go to original post
Click to view Slapper153's profile Lurker 3 posts since
Jul 21, 2009

i just upgrade my centos box server..

I use centoplus kernel 2.6.18-128.7.1.el5. This was the only kernel that make possible to build vmware server 2.0.2 from tar.gz package.

two latest kernel have problem to build the modules (2.6.18-164.2.1.el5 - 2.6.18-164.6.1.el5 )

no modification to glibc until now...4 vms running smoothly without problems..

the only problem is that when i stop vmware-mngt (web interface) i cannot login through vmware infrastructure client..

We see... :p


Click to view codecrank's profile Lurker 3 posts since
Nov 9, 2009

used libc2-5.so from glibc-2.5-24.el5_2.2.x86_64.rpm ( centos 5.2 updates )

works for me

Thanks !

Click to view abradshaw's profile Novice 9 posts since
Mar 11, 2006
Just to confirm that I am getting this after upgrading to Centos 5.4 - Im running 64 bit with Xeon Processors
Click to view jchatham's profile Novice 11 posts since
Jul 24, 2008
I figure it's worth mentioning - I saw what appears to be the same issue on Ubuntu 9.10, and was able to resolve it without downgrading any libraries. I'd be curious to know if a similar fix could work for RHEL.

My solution for vmware-hostd crashes on Ubuntu: http://communities.vmware.com/thread/242151?tstart=15
Click to view gknerr's profile Lurker 3 posts since
Jun 24, 2009
I tried the RHEL 5.3 libc-2.5.so reverting solution originally posted by dirkgf in this thread but must have grabbed the wrong libc-2.5.so or done something wrong because hostd was still crashing. But the below steps did eventually work when I used glibc-2.5-34.x86_64. I found another solution that seems to work too, which I describe following the libc-2.5.so reversion steps below.

SOLUTION #1 (libc-2.5.so reversion)

# cat /etc/issue
CentOS release 5.4 (Final)
Kernel \r on an \m

lynx http://mirror.centos.org/centos/5.3/os/x86_64/CentOS/glibc-2.5-34.x86_64.rpm

rpm -Uvh --root=/tmp/ --nodeps ./glibc-2.5-34.x86_64.rpm

mkdir /usr/lib/vmware/lib/libc.so.6

cp /tmp/lib64/libc-2.5.so /usr/lib/vmware/lib/libc.so.6/libc.so.6

# tail -3 /usr/sbin/vmware-hostd
export LD_LIBRARY_PATH=/usr/lib/vmware/lib/libc.so.6:$LD_LIBRARY_PATH

eval exec "$DEBUG_CMD" "$binary" "$@"

SOLUTION #2 (Circumventing /usr/sbin/vmware-hostd library wrapping script)

Here is another method alluded to in part by djzort earlier in this thread but djzort's solution failed to find all library paths (causing gui function failures) so I added more and changed /etc/init.d/vmware accordingly. The downside is this method circumvents the dynamic library path building of the /usr/sbin/vmware-hostd script and exucutes the /usr/lib/vmware/bin/vmware-hostd binary directly. I’m not sure if this will present future problems or not. With no reversion changes with libc-2.5.so of the first solution, this solution ran for 12 hours without hostd crashing before I opted to go with the crowd and finally got the right 5.3 version of libc-2.5.so working with hostd. Possibly this added solution might shed more light on what is actually going on as the libc-2.5.so reversion was not required.

Below is the snippet from the modified /etc/init.d/vmware. You can see I added a LD_LIBRARY_PATH statement, commented out the old exec call and added a new one. I derived the paths from dizort’s first post adding that single path to the beginning of the path output of the /usr/sbin/vmware-hostd script.


# Start host agent
vmware_start_hostd() {
export LD_LIBRARY_PATH=/usr/lib/vmware/vmacore:/usr/lib/vmware/hostd:/usr/lib/vmware/lib/libxml2.so.2:/usr/lib/vmware/lib/libexpat.so.0:/usr/lib/vmware/lib/libstdc++.so.6:/usr/lib/vmware/lib/libgcc_s.so.1:/usr/lib/vmware/lib/libcrypto.so.0.9.8:/usr/lib/vmware/lib/libssl.so.0.9.8

vmware_bg_exec "`vmware_product_name` Host Agent" \
"$vmdb_answer_LIBDIR/bin/vmware-hostd" -a -d -u "$vmware_etc_dir/hostd/config.xml"
#"$vmdb_answer_SBINDIR/vmware-hostd" -a -d -u "$vmware_etc_dir/hostd/config.xml"
}

So what in /usr/sbin/vmware-hostd is causing the issue is the question. It would “appear” I’ve essentially done the same thing as the /usr/sbin/vmware-hostd script, with the possible exception of path order. Thoughts?

Click to view abradshaw's profile Novice 9 posts since
Mar 11, 2006
Thanks guys, that seems to have got the VMs stable again - the whole thing has shaken my confidence though. I understand its out of VMwares control but I thought a fix would be out by now, after all it potentially affects RHEL5.4 as well I guess

Im seriously considering looking at Xen or KVM but there needs to be a great interface on it. OpenQRM looks to have what Im seeking in that respect
Click to view codecrank's profile Lurker 3 posts since
Nov 9, 2009
We all took a chance by going at a platform which is not officially supported . Can't blame VMware. ;)
Click to view BTtech's profile Novice 10 posts since
Jan 20, 2009

I too have experienced this issue. Running 26 vmware servers v2.0 and 2.1 on Dell and IBM hardware, CentOS 5.4 (many built as 5.2 and 5.3), 64 and 32-bit. I have implemented the workaround (subst. glibc-2.5-34.x86_64 and modfiying the vmware-hostd wrapper script), but since the workaround the performance of my host has taken a turn for the worse. I have, as a result, not implemented the workaround on any other hosts.

Has anyone else experienced this degredation of performance?

Thanks goes to everyone who has provided their experience and most of all to those who found the culprit and offered this workaround.

Ben

Click to view codecrank's profile Lurker 3 posts since
Nov 9, 2009

a performace in hostd related tasks ? or vm performances ?

I have not noticed a performance degradation anywhere.

Click to view BTtech's profile Novice 10 posts since
Jan 20, 2009

First symptoms were slow execution of commands on the host (ls, cp, vi, etc.) I do not directly use the guests so I'm not sure if their performance was directly impacted as well. A "top" revealed vmware-vmx's were the big users (no big surprise here). The Vmware UI was also slow in responding (but it hasn't crashed :-) ) Initially I thought maybe it was the guests (5 of them) trying to recouperate from the unexpected shut-downs - only time will tell with this one. I'm keeping an eye on host CPU usage and will follow up later.

I've also decided to place the workaround on another host (whose guests are also fully monitored) to see if I get the same result.

Thanks

Click to view BTtech's profile Novice 10 posts since
Jan 20, 2009

An update to the performance issues is that things have settled down. Hosts and guests are showing roughly the same performance (in the mid-term) as before. Having kept a close eye on these systems overnight and throughout today, if I see no further concerns I will be implementing the workaround on the rest of my hosts whether they have exhibited the issue or not.

Thanks!

VMware Developer

SDKs, APIs, Videos, Learn and much more in the Developer community.

Learn More

Developer Sample Code

Increase your developer productivity with VMware API sample code.

Learn More

VMworld Sessions & Labs

Online access to the latest VMworld Sessions & Labs and online services.

Learn more

Purchase PSO Credits Online

Purchase credits to redeem training and consulting services online.

Buy Now

Community Hardware Software

View reported configurations or report your own.

Learn More

VMware vSphere

Come witness the next giant leap in virtualization.

Register Today

Communities