{"id":7,"date":"2004-06-25T12:44:44","date_gmt":"2004-06-25T19:44:44","guid":{"rendered":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/?p=7"},"modified":"2004-06-25T12:44:44","modified_gmt":"2004-06-25T19:44:44","slug":"oracle-10g-on-vmware","status":"publish","type":"post","link":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/2004\/06\/25\/oracle-10g-on-vmware\/","title":{"rendered":"Oracle 10g on VMWare"},"content":{"rendered":"<p>I&#8217;m working on a customer site that is using <a href=\"http:\/\/www.vmware.com\">VMWare<\/a>.  While the regular DBA group insisted that none of their production databases are hosted on VMWare, a new BI project was scheduled to be the &#8220;test&#8221; to see if Oracle products (AS\/EE DB) could run successfully on these &#8220;virtual machines.&#8221;<\/p>\n<p>As a developer who is aware of the burstable nature of resource utilization, the promise of VMWare is immense.  Our applications often use immense amounts of I\/O, CPU, and Memory while doing their real work.  However, a great deal of the time they sit waiting for human operators to catch up.  The idea of housing many enterprise class servers on one physical system with a central location of management\/provisioning\/performance evaluation\/etc sounds brilliant.<\/p>\n<p>Now I&#8217;ve read the VMWare product material, and an overall positive set of opinions and <a href=\"http:\/\/usuarios.lycos.es\/hernandp\/articles\/vpcvsII.html\">benchmarks <\/a>from people running on vmware.  From where I sit, the VMWare stack is a good solutions for most systems.  If I were running a farm of JBoss, Apache, MySql, IIS or other commodity-esque servers VMWare would be an ideal solution.  Actually, I should rephrase, the programs that I refer to are those that have a VERY WIDE installation base and have been installed on a diverse and very hetergenous set of &#8220;Linux&#8221; or &#8220;Windows&#8221; hardware combinations.  These programs are the ones that I believe would do very well in VMWare because they are used to &#8220;funny&#8221; hardware readings, etc.<\/p>\n<p>Again, this is the experience of one consultant on one project, but I feel it forms a valid recommendation all the same&#8230;<\/p>\n<p><strong>Oracle on VMWare is possible but not recommended, currently.  <\/strong>  Oracle&#8217;s official position (note <a href=\"http:\/\/metalink.oracle.com\/metalink\/plsql\/ml2_documents.showFrameDocument?p_database_id=NOT&amp;p_id=249212.1\">249212.1<\/a> on Metalink) is that it is supported as long as you prove to them the same bug exists on a regular PC (having to have an identical physical system to prove to Oracle that it&#8217;s not VMWare sort of defeats the purpose of VMWare now doesn&#8217;t it!)<\/p>\n<p>My primary reasoning being that &#8220;Oracle is an application built to determine intimately, the structure and performance of the underlying hardware in an effort to increase it&#8217;s own performance.&#8221;  It has hooks into system areas trying to poll and read Memory Usage, I\/O performance, CPU utilization, etc.  Oracle endeavors to understand, at a low level, the configuration and the performance of the platform that supports it.  VMWare, in my experience, tends to report some &#8220;funny&#8221; readings when it comes to Hardware.<\/p>\n<ul> On my project, the laundry list of &#8220;funny&#8221; behavior include:<\/p>\n<li>df commands that hang with no Ctrl-C response.  Must log in on another term and kill -9.\n<li>applications do not use swap space.  Linux sees the swap space but does not use it.\n<li>CPU readings show no idle time, full system time, with oracle Idle.\n<li>random startup\/shutdown errors with Oracle with regards to obtaining network information\n<li>10g AS EM Website has difficulty keeping track of processes (nearly always, the control panels show the component as down\/unavailable\/etc) when the components are operating properly.\n<li>Server can be &#8220;rolled back&#8221; to a save point in the past without any visible warnings of such an event (when a physical server is lost, the backup team typically notifies users that it was restored from X backup).  VMWare can be rolled back with a simple reboot (obivously this is configured but it has to play into the physical deployment of your Oracle to ensure you get the right behavior).<\/ul>\n<p><i>Note: I&#8217;m no OS expert, and many of these can likely be resolved by a RH 2.1 Admin with proper VMWare knowledgable.  Really though, are the admin\/consulting dollars well spent resolving issues?<\/i><\/p>\n<p>Some may flame me for being such a &#8220;business solution&#8221; biggot, but hardware is a cheap commodity and should be factored as such  The price of a few 2way Xeon servers with RAID and copious amounts of RAM could easily be overshadowed by enough admin\/consulting days lost on tracking down &#8220;funny&#8221; behavior.<\/p>\n<p>The saving grace for VMWare may be a feature which I have not used.  Live, <a href=\"http:\/\/www.vmware.com\/support\/ws45\/doc\/running_snapshot_ws.html#1054314\">development snapshotting<\/a>.  What I wouldn&#8217;t give for a great, easy way to take live snapshots throughout time while doing my work.  Development is many times, exploration, and the ability to &#8220;play it safe&#8221; with the click of a button is brilliant.<\/p>\n<p>I&#8217;d love to hear from anyone out there on their experiences with Oracle on VMWare.  Perhaps I&#8217;ve just had a bad go at it&#8230;  Hope, for reasons of happy Oracle professionals, your experience has been better!<\/p>\n<p><em>UPDATE:<\/em> The servers have also &#8220;FROZEN ENTIRELY&#8221; a la Blue Screen of death however this is RH Enterprise Linux.  Just another item on the laundry list.<br \/>\n<em>UPDATE 2:<\/em> Servers have frozen up again, and the systems staff can not, for the life of them, figure out why the phase of the clock is so awful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m working on a customer site that is using VMWare. While the regular DBA group insisted that none of their production databases are hosted on VMWare, a new BI project was scheduled to be the &#8220;test&#8221; to see if Oracle products (AS\/EE DB) could run successfully on these &#8220;virtual machines.&#8221; As a developer who is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/posts\/7"}],"collection":[{"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/comments?post=7"}],"version-history":[{"count":0,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/posts\/7\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/media?parent=7"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/categories?post=7"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.nicholasgoodman.com\/bt\/blog\/wp-json\/wp\/v2\/tags?post=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}