VMware

This Question is Possibly Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
4 Replies Last post: Apr 8, 2008 11:42 PM by jbbroccard  

Need a light, reliable & sable version of Linux Guest OS for MRTG appliance (under 64-bit Ubuntu 6.06LTS on AMD 64 Opteron) posted: Apr 8, 2008 6:52 PM

Click to view zonex's profile Lurker 2 posts since
Apr 8, 2008
So, nearly each hair on my head has been pulled out... and replaced.

Host OS: Ubuntu 6.06 Server (64-bit) - AMD 64-bit Opteron 1212

WHAT I WANT: I want a guest OS (linux) that will be light and easy and run apache with MRTG on it. Nothing too fancy.

PROBLEMS: If you know about MRTG, you know it uses the date() of the running OS (in this case the guest VM OS) to keep historical records of utilization graphs. Each OS I have installed has had a wild ride with the time/date function. I went so far as to run a crontab entry of ntpdate every minute. The problem with that, sometimes it would be 10 minutes (in real time) before the guest OS advanced 1 minute. Not good.

I followed all the tricks:


  • Change kernel boot to clock=pit
  • Install VMware tools and set clock sync TRUE
  • Disable CPUSPEED, POWERNOD, etc
  • Disable NTPD

I tried CentOS 5.1 (i386 & x86_64), Ubuntu 6.06 (32-bit and 64-bit); Ubuntu 7.10, Ubuntu JeOS 7.10.

All had time issues after countless reboots.

Any advice? I just want a clean MRTG appliance that I can use cleanly...

HELP!!!!!

Re: Need a light version of Linux for MRTG appliance

1. Apr 8, 2008 6:24 AM in response to: zonex
Click to view SMB's profile Expert 403 posts since
Mar 14, 2006
Disable NTPD - You're having time problems and you disable this? If the VMware tools don't keep the time synced (you did install them right?) then NTP is the way to keep time correct, just like any other server.

Have you seen this doc? www.vmware.com/pdf/vmware_timekeeping.pdf
Going over this is what we used to solve time problems in one of our guests.

Re: Need a light version of Linux for MRTG appliance

2. Apr 8, 2008 6:25 AM in response to: zonex
Click to view MaxVernon's profile Hot Shot 143 posts since
Jun 15, 2006
I have an AMD Opteron server running SUSE Linux 10 which had severe and strange problems that seemed related to clocking. The only fix that worked for me was to disable all power-saving functions in the BIOS. After I did that, all guests run just as expected.

Re: Need a light version of Linux for MRTG appliance

4. Apr 8, 2008 11:42 PM in response to: zonex
Click to view jbbroccard's profile Novice 6 posts since
Apr 8, 2008

Hi,

I guess your problem is the same as mine, I just soved it here:

http://communities.vmware.com/message/909345

I think if you run a little command-lie script like this, the seconds don't last 1 second:

$ while true ; do date ; sleep 1 ; done

Check the pdf mentionend above, but unfortunately, you'll have to go through a kernel rebuild. And it's tricky if you're not familiar with Linux :(

BTW, I have 8 VMs running on top of Ubuntu server 7, and 4 Red Hat hosts with the issue, 4 Debian/Ubuntu running normally.

:p

Good luck, if you need tips to recompile, do not hesitate :)

JB

VMware Beta Programs

Want to be Considered for Future Beta Programs?

Learn More

VMware Developer

Download SDKs, APIs, videos,
training, and 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

Only VMware ... Delivers Nexus 1000V

Ensure consistent, policy-based network capabilities to virtual machines across your data center.

Learn More

Communities