<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-36081665</id><updated>2012-01-31T08:47:41.389+01:00</updated><category term='oracle soa keepalive soap exception load balancer'/><category term='XEN'/><category term='OVS'/><category term='OVS Virtual server Oracle XEN guest'/><category term='Virtual'/><category term='server'/><category term='storage'/><category term='nfs'/><category term='disk'/><category term='oracle application server log  control ascontrol logging'/><category term='Oracle'/><category term='laptop'/><category term='Virtual server'/><title type='text'>Serious and silly musings of an Oracle DBA</title><subtitle type='html'>Just some stories mostly on Oracle related things I like to share.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://tonyvanesch.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://tonyvanesch.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Tony</name><uri>http://www.blogger.com/profile/00933609801855389527</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>5</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-36081665.post-4195083822665963885</id><published>2010-07-16T21:03:00.000+02:00</published><updated>2010-07-16T21:03:09.892+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle soa keepalive soap exception load balancer'/><title type='text'>Calling webservice through loadbalancer with Oracle Soasuite 10gR3</title><content type='html'>We have all our services configured in some form of a cluster, like the SoaSuite (10.1.3.4), Filenet, Siebel etc.&lt;br /&gt;&lt;br /&gt;When a new BPEL process was deployed and being used moe and more, we saw SOAP errors occurring and the BPEL process would timeout. The BPEL process instance was calling an external webservice through the Oracle ESB.&lt;br /&gt;&lt;br /&gt;This is the error:&lt;br /&gt;&lt;br /&gt;Exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Message send failed: Premature EOF encountered&lt;br /&gt;&lt;br /&gt;The solution was to add an option to the start parameters of the containers running SOA.&lt;br /&gt;&lt;br /&gt;-DHTTPClient.disableKeepAlives=true&lt;br /&gt;&lt;br /&gt;I've seen other SOAPExceptions in my search that all relate to this issue.&lt;br /&gt;&lt;br /&gt;On Oracle support its documented as a problem concerning the http_client.jar (article id 803186.1).&lt;br /&gt;&lt;br /&gt;As we do not see this problem in non-clustered environments, it looks like the combination of a loadbalancer and http_client using keepalive is not working well. From the viewpoint of a loadbalancer it is strange to persistent connections as it cannot do the work its supposed to do.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/36081665-4195083822665963885?l=tonyvanesch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonyvanesch.blogspot.com/feeds/4195083822665963885/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tonyvanesch.blogspot.com/2010/07/calling-webservice-through-loadbalancer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/4195083822665963885'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/4195083822665963885'/><link rel='alternate' type='text/html' href='http://tonyvanesch.blogspot.com/2010/07/calling-webservice-through-loadbalancer.html' title='Calling webservice through loadbalancer with Oracle Soasuite 10gR3'/><author><name>Tony</name><uri>http://www.blogger.com/profile/13685591077545818250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_sIAlyaVietA/SaRYspb-4cI/AAAAAAAAAA0/And7TYMCv-4/S220/tony.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36081665.post-4010266184594745685</id><published>2009-07-24T13:51:00.003+02:00</published><updated>2009-07-24T13:57:10.429+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='oracle application server log  control ascontrol logging'/><title type='text'>Add custom logfiles to 10.1.3 AS Control</title><content type='html'>Developers and testers have been asking us for the custom logfiles generated by the java application deployed on Oracle AS 10gR3. In AS Control you can watch and search the standard logfiles, but no options are available to view these extra logfiles.&lt;br /&gt;Searching through metalink a teammember found a bug on 10.1.3 to fix some logfile viewing issues with AS control (metalink bug 5901925). This helped us to create the solution to our problem. The ascontrol application has two configuration files which controls which logfiles to process.&lt;br /&gt;&lt;br /&gt;OC4J.xml - configuration for logfiles of Oracle Diagnostic logging feature&lt;br /&gt;OPMN.xml - opmn logging configuration&lt;br /&gt;&lt;br /&gt;These can be found in: $ORACLE_HOME/j2ee/home/applications/ascontrol/ascontrol/WEB-INF/config/registration&lt;br /&gt;&lt;br /&gt;So now we would like to add the custom logfiles generated by applications and place them in the APPS viewpath in AS Control.&lt;br /&gt;&lt;br /&gt;add the following to OC4J.xml&lt;br /&gt;&lt;br /&gt;&amp;#60log path="&lt;b&gt;j2ee/%OC4J%/log/%OC4J_APP%.log&lt;/b&gt;" componentId="j2ee"&amp;#62&lt;br /&gt;&amp;#60logreader type="SimpleTextLog"&amp;#62&lt;br /&gt;&amp;#60property name="TimestampFormat" value="yy/MM/dd HH:mm:ss.SSS"/&amp;#62&lt;br /&gt;&amp;#60property name="ModuleId" value="%OC4J%_%OC4J_APP%"/&amp;#62&lt;br /&gt;&amp;#60property name="ComponentId" value="j2ee"/&amp;#62&lt;br /&gt;&amp;#60/logreader&amp;#62&lt;br /&gt;&amp;#60logviewer LogType="OC4J_APPLICATION" ComponentName="%OC4J%"&lt;br /&gt;ComponentType="OC4J"&amp;#62&lt;br /&gt;&amp;#60property name="COMPONENT_TYPE" value="&lt;b&gt;APPS&lt;/b&gt;"/&amp;#62&lt;br /&gt;&amp;#60property name="OC4J_APP" value="default"/&amp;#62&lt;br /&gt;&amp;#60property name="displayPath"&lt;br /&gt;value="/%COMPONENT_TYPE%/%OC4J_APP_DISPLAY%/%LOG_NAME%"/&amp;#62&lt;br /&gt;&amp;#60property name="category" value="application|diagnostic"/&amp;#62&lt;br /&gt;&amp;#60/logviewer&amp;#62&lt;br /&gt;&amp;#60/log&amp;#62&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The trick is in the dynamic 'variables' which are enclosed in % symbols. These you can use to control the resulting view in AS Control. In this case the custom log should be generated with the name &amp;#60application name&amp;#62.log, where we use the %OC4J_APP% variable to dynamically pick up ALL custom logs of all applications in all the containers running on the Application server instance.&lt;br /&gt;&lt;br /&gt;This way you can also add viewing of configuration files (in the logs section) of AS Control.&lt;br /&gt;&lt;br /&gt;Btw: this is not documented and probably also not supported by Oracle :-) Applying patchsets probably overwrite your changes aswell, so beware.&lt;br /&gt;&lt;br /&gt;Tony&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/36081665-4010266184594745685?l=tonyvanesch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonyvanesch.blogspot.com/feeds/4010266184594745685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tonyvanesch.blogspot.com/2009/07/add-custom-logfiles-to-1013-as-control.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/4010266184594745685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/4010266184594745685'/><link rel='alternate' type='text/html' href='http://tonyvanesch.blogspot.com/2009/07/add-custom-logfiles-to-1013-as-control.html' title='Add custom logfiles to 10.1.3 AS Control'/><author><name>Tony</name><uri>http://www.blogger.com/profile/13685591077545818250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_sIAlyaVietA/SaRYspb-4cI/AAAAAAAAAA0/And7TYMCv-4/S220/tony.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36081665.post-2261107595788306529</id><published>2009-04-03T20:11:00.012+02:00</published><updated>2009-04-08T09:40:29.975+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='disk'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtual server'/><category scheme='http://www.blogger.com/atom/ns#' term='OVS Virtual server Oracle XEN guest'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='storage'/><category scheme='http://www.blogger.com/atom/ns#' term='OVS'/><title type='text'>OVS: Add a new disk to a guest</title><content type='html'>Running out of disk space is something that happens all to soon in today's (database) systems. Even on my laptop! So I needed more disks. How do I do that when working with OVS and guests?&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;That's actually quite easy to accomplish on linuxy OS'es. As every device is treated as a 'file' you can therefore create new devices by making a file and connect it to a device driver.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In our case we need to add a disk to a linux guest from OVS. Following are the steps to create the device and present it to the guest.&lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;create a file in Domain0 for the guest (e.g.: in the running_pool)&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;dd if=/dev/zero of=disk2.img bs=1M count=(1024*#GB_needed)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;change the disk configuration of the guest&lt;br /&gt;edit your vm.cfg and add the disk to the &lt;span style="font-family:courier new;"&gt;disk&lt;/span&gt; parameter.&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;disk = ['file:/OVS/vm1/running_pool/system.img,hda,w'&lt;span style="font-weight: bold;"&gt;,'file:/OVS/vm1/running_pool/disk2.img,hd&lt;span style="color: rgb(255, 0, 0);"&gt;b&lt;/span&gt;,w'&lt;/span&gt;]&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;reboot the guest&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;xm shutdown guest&lt;br /&gt;xm create guest&lt;/span&gt;&lt;/li&gt;&lt;li&gt;logon to guest&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;ssh hostname&lt;/span&gt;&lt;/li&gt;&lt;li&gt;partition the new disk&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;fdisk /dev/hdb&lt;/span&gt;&lt;/li&gt;&lt;li&gt;create the desired filesystem on the partition(s). Example ext3&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;mkfs -t ext3 /dev/hdb1&lt;/span&gt;&lt;/li&gt;&lt;li&gt;Add filesystem to /etc/fstab for automatic mounting at boot&lt;br /&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;/dev/hdb1&lt;span class="Apple-tab-span" style="white-space: pre;"&gt; /u02&lt;/span&gt;&lt;mountpoint&gt; ext3 defaults 0 0&lt;br /&gt;&lt;/mountpoint&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'courier new';"&gt;&lt;br /&gt;That's all!&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/36081665-2261107595788306529?l=tonyvanesch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonyvanesch.blogspot.com/feeds/2261107595788306529/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tonyvanesch.blogspot.com/2009/04/ovs-add-new-disk-to-guest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/2261107595788306529'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/2261107595788306529'/><link rel='alternate' type='text/html' href='http://tonyvanesch.blogspot.com/2009/04/ovs-add-new-disk-to-guest.html' title='OVS: Add a new disk to a guest'/><author><name>Tony</name><uri>http://www.blogger.com/profile/13685591077545818250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_sIAlyaVietA/SaRYspb-4cI/AAAAAAAAAA0/And7TYMCv-4/S220/tony.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36081665.post-4047738743252334294</id><published>2009-02-26T20:08:00.014+01:00</published><updated>2009-07-16T10:11:30.264+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OVS Virtual server Oracle XEN guest'/><category scheme='http://www.blogger.com/atom/ns#' term='nfs'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='OVS'/><title type='text'>adding NFS to Oracle VM Server</title><content type='html'>After setting up OVS, I wanted to install some software in one of my guest (11g database). But I didn't have any access to shares/mounts with all the ISO's and software trees in Dom0 from my guests! The first solution is to actually copy (scp) the software from Dom0 to the guest. This ofcourse works, but is tedious and as again unnecessary.&lt;br /&gt;Why not expose the mountpoints to my guests with NFS! We need to setup Dom0 as an NFS server and the guest as clients.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NFS Server configuration&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;What to make available through NFS:&lt;br /&gt;&lt;br /&gt;create the file: &lt;span style="font-family:courier new;"&gt;/etc/exports&lt;/span&gt;&lt;br /&gt;format: directory client-ip(options)    &lt;span style="font-family:courier new;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;directory=Which directory to export&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;/span&gt;client-ip=hostname/range,ip-address/range&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;(options)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-ro&lt;/span&gt;=readonly for client&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-rw&lt;/span&gt;=read/write for client&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-no_root_squash&lt;/span&gt;=client as root gets root access to nfs aswell, instead of as nobody&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;-sync&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;example&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/OVS/remote     *.vanesch.nl(rw,sync,no_root_squash)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;/mnt/share/software     *.vanesch.nl(ro,sync)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;How to make NFS available&lt;br /&gt;We need to activate two services: portmapper and nfs(which start several daemons)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;service nfs start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;service portmap start&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Let's make sure these services are started across reboots:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;chkconfig --level 35 nfs on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;chkconfig --level 35 portmap on&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;NFS client configuration&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;What to have availableWe need to edit: &lt;span style="font-family:courier new;"&gt;/etc/fstab&lt;/span&gt;&lt;br /&gt;format: &lt;span style="font-family:courier new;"&gt;source mountpoint nsf options 0 0&lt;/span&gt;&lt;br /&gt;Options: &lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;rw,bg,intr,hard,timeo=600,wsize=32768,rsize=32768,nfsvers=3,tcp&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I will add both exports from my NFS Server (dom0.vanesch.nl) to this guest:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:verdana;"&gt;dom0.vanesch.nl:/OVS/remote /mnt/nfs       nfs     rw,bg,intr,hard,timeo=600,wsize=32768,rsize=32768,nfsvers=3,tcp 0 0&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;"&gt;&lt;br /&gt;&lt;span style="font-family:verdana;"&gt;dom0.vanesch.nl:/mnt/share/software /mnt/software       nfs     ro,bg,intr,hard,timeo=600,wsize=32768,rsize=32768,nfsvers=3,tcp 0 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;How to make NFS available&lt;br /&gt;Again we need to start the same two services&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;service nfs start&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;service portmap start&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Let's make sure these services are started across reboots:&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;chkconfig --level 35 nfs on&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;chkconfig --level 35 portmap on&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;One other thing is important! Turn off the firewalls in Dom0 and your guests.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;service iptables stop&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;chkconfig iptables off&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you can run installations (or mount ISO's) from your NFS shares.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/36081665-4047738743252334294?l=tonyvanesch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonyvanesch.blogspot.com/feeds/4047738743252334294/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tonyvanesch.blogspot.com/2009/02/adding-nfs-to-oracle-vm-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/4047738743252334294'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/4047738743252334294'/><link rel='alternate' type='text/html' href='http://tonyvanesch.blogspot.com/2009/02/adding-nfs-to-oracle-vm-server.html' title='adding NFS to Oracle VM Server'/><author><name>Tony</name><uri>http://www.blogger.com/profile/13685591077545818250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_sIAlyaVietA/SaRYspb-4cI/AAAAAAAAAA0/And7TYMCv-4/S220/tony.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-36081665.post-7655784285703776749</id><published>2009-02-17T20:04:00.023+01:00</published><updated>2009-07-16T09:18:56.789+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='server'/><category scheme='http://www.blogger.com/atom/ns#' term='laptop'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtual'/><category scheme='http://www.blogger.com/atom/ns#' term='OVS Virtual server Oracle XEN guest'/><category scheme='http://www.blogger.com/atom/ns#' term='Oracle'/><category scheme='http://www.blogger.com/atom/ns#' term='XEN'/><category scheme='http://www.blogger.com/atom/ns#' term='OVS'/><title type='text'>Native Oracle VM Server on a laptop</title><content type='html'>Together with my DBA collegues we work on our Oracle skills by getting our hands dirty. To be able to practice all kinds of scenarios, everybody runs vmware with linux guests on their Windows laptop. For some time  Oracle has a virtualisation solution with Oracle VM Server and we wanted to experiment with this product aswell.&lt;br /&gt;Our setup consisted of Windows with vmware in which we run Oracle VM Server (OVS). In OVS we then create guests for our scenarios. Not really an ideal situation, due to the limited resources of laptops in general and also the unnecessary overhead. As a DBA I have a need/desire to remove unnecessary &lt;i&gt;&lt;/i&gt;resource consumption whenever possible.  And I wanted to keep my original Windows install intact (which I need for my wireless connectivity).&lt;br /&gt;&lt;br /&gt;Originally this was a small and simple instruction for me and my collegues in Dutch. Some sections have been removed/cut for not being relevant.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Setup/necessities&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;laptop/machine prefferably with Hardware Virtualization capable CPU &amp;amp; BIOS.&lt;/li&gt;&lt;li&gt;partition magic (not free, but easy to use) or parted (linux and free)&lt;/li&gt;&lt;li&gt;downloads from edelivery.oracle.com&lt;/li&gt;&lt;/ul&gt;&lt;span style="white-space: pre;"&gt; &lt;/span&gt;- Oracle VM Server (burn on a bootable cd)&lt;br /&gt;&lt;span style="white-space: pre;"&gt; &lt;/span&gt;- vmmanager iso&lt;br /&gt;&lt;span style="white-space: pre;"&gt; &lt;/span&gt;- DVD iso of Oracle Enterprise Linux 5 update 2 32 bit (V15098-10)&lt;br /&gt;&lt;span style="white-space: pre;"&gt; &lt;/span&gt;- templates (PVM's)&lt;br /&gt;&lt;ul&gt;&lt;li&gt;ovm console plugin(http://oss.oracle.com/oraclevm/manager/RPMS)&lt;/li&gt;&lt;li&gt;patience&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Execution plan&lt;/span&gt;&lt;br /&gt;This is the general plan for getting OVS running on a laptop with Windows already installed.&lt;br /&gt;&lt;ol&gt;&lt;li&gt;activate Hardware Virtualisation in bios&lt;/li&gt;&lt;li&gt;redefine partitions&lt;/li&gt;&lt;li&gt;create dualboot configuration&lt;/li&gt;&lt;li&gt;installation of OVS&lt;/li&gt;&lt;li&gt;transfer ovs bootsector for dualboot&lt;/li&gt;&lt;li&gt;installation of GUI in dom0&lt;/li&gt;&lt;li&gt;installation of firefox&lt;/li&gt;&lt;li&gt;installation OVS console plugin&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;1. activate Hardware Virtualisation in bios&lt;/span&gt;&lt;br /&gt;Current laptop models have CPU's capable of running with Hardware Virtualisation. This gives some extra possibilities, like running guests without PV drivers (HVM's). Often HV is not enabled by default. Refer to your vendor's manuals on how to enter the bios to adjust this setting.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;2. redefine partitions&lt;/span&gt;&lt;br /&gt;To be able to boot OVS from the same internal disk, you need to create the boot partition within the first 1024 cylinders of the disk. As I had Windows already pre-installed I needed to juggle with my partitions. The trick is to create a small partition of 101MB at the beginning of the disk (cylinder 1). With Pmagic I moved my Windows partition (C:), to create the necessary space.&lt;br /&gt;&lt;br /&gt;When installing OVS will try to create four partitions.&lt;br /&gt;&lt;ol style="font-family: courier new;"&gt;&lt;li&gt;/boot&lt;/li&gt;&lt;li&gt;/&lt;/li&gt;&lt;li&gt;/OVS&lt;/li&gt;&lt;li&gt;swap&lt;/li&gt;&lt;/ol&gt;We already have one partition with windows (primary partition) and we need one primary partition for &lt;span style="font-family: courier new;"&gt;/boot&lt;/span&gt;. If you let OVS do the work it will try to create all four partitions as primary partitions. This will fail as you can have only four primary partitions on one disk.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://4.bp.blogspot.com/_sIAlyaVietA/SZsWybbl7QI/AAAAAAAAAAk/Be-h7R9EPcs/s1600-h/partition+table+laptop.jpeg" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img alt="" border="0" id="BLOGGER_PHOTO_ID_5303858041771650306" src="http://4.bp.blogspot.com/_sIAlyaVietA/SZsWybbl7QI/AAAAAAAAAAk/Be-h7R9EPcs/s320/partition+table+laptop.jpeg" style="cursor: pointer; float: left; height: 154px; margin: 0pt 10px 10px 0pt; width: 320px;" /&gt;&lt;/a&gt;Solution: Create an extended partition, which can hold logical partitions.&lt;br /&gt;&lt;br /&gt;I also created an extra FAT32 partition as a shared disk between my Windows and OVS installation. This could have been NTFS, but writing on an NTFS partition from Linux seems not to be stable enough yet (this is not verified by me, btw).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3. create dualboot configuration&lt;/span&gt; Edit your c:\boot.ini and add the bold line as shown below.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;[boot loader]&lt;/span&gt; &lt;span style="font-family: courier new;"&gt;timeout=30&lt;/span&gt; &lt;span style="font-family: courier new;"&gt;default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS&lt;/span&gt; &lt;span style="font-family: courier new;"&gt;[operating systems]&lt;/span&gt; &lt;span style="font-family: courier new;"&gt;multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /noexecute=optin&lt;/span&gt;&lt;span style="font-family: courier new;"&gt; /fastdetect&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family: courier new; font-weight: bold;"&gt;c:\ovs_boot.dos="Oracle Virtual Server"&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;4. Installation of OVS&lt;/span&gt; Boot your laptop from the OVS boot cd.&lt;br /&gt;&lt;br /&gt;In the bootscreen just hit [enter]&lt;enter&gt;&lt;br /&gt;When you get the question to select a partiotn layout choose: &lt;span style="font-style: italic;"&gt;use all empty partitions&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;PS: If you get errors stating there is not enough room, you probably didn't create the extended partition.&lt;br /&gt;&lt;br /&gt;When asked where to write the bootloader, DON'T select MBR!!! Select to write bootstrap on linux bootpartition.&lt;br /&gt;&lt;br /&gt;When OVS has installed it will want to reboot. Now you need to boot from de OVS cd again!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5. transfer OVS bootsector&lt;br /&gt;&lt;/span&gt; You rebooted from the OVS cd again, right? Good! We created a second OS, but we can't boot to OVS yet. We need to get the bootsector onto the Windows bootpartition as a file.&lt;br /&gt;&lt;br /&gt;Linux to the rescue! As we booted from the OVS cd, we have the option of starting linux right from cd.&lt;br /&gt;&lt;br /&gt;On the prompt type: linux resuce&lt;br /&gt;network: not needed&lt;br /&gt;mounting system image: choose 'skip'&lt;br /&gt;&lt;br /&gt;When linux has finished booting, we need to identify two partitions&lt;br /&gt;1&amp;gt; source: /boot partition of OVS (it starts with cylinder 1)&lt;br /&gt;2&amp;gt; the Windows boot partition (or FAT32 partition) to write the bootsector to&lt;br /&gt;&lt;br /&gt;#Use fdisk to print the partition table&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;fdisk /dev/sda&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;p &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#Create a mountpoint to mount windows partition&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mkdir /mnt/share&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mount &lt;win&gt; /mnt/share &lt;windows&gt;&lt;/windows&gt;&lt;/win&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#Extract bootsector to file&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;dd if=bootpartition bs=512 count=1 of=/mnt/share/ovs_boot.dos&lt;/boot&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;#we can now reboot again (remove the cd)&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;exit&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you didn't create ovs_boot.dos directly onto the c: partition, you need to boot into Windows and copy &lt;span style="font-family: courier new;"&gt;ovs_boot.dos&lt;/span&gt; to &lt;span style="font-family: courier new;"&gt;c:\&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You should now be able to boot directly to OVS.&lt;br /&gt;&lt;br /&gt;When booting to OVS, you get five boot options. Just select the default which is probably xen-64 (third option).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6. Installation of GUI in dom0&lt;/span&gt;&lt;br /&gt;When you have booted into OVS, you should now be on the console. Log onto the console with root/ovsroot.&lt;br /&gt;&lt;br /&gt;In linux the GUI consist of X11 and a desktop manager like Gnome or KDE. We will install Gnome. The packages to install these products are located on the Oracle Enterpise Linux 5 update 2 DVD iso image, so we need to mount it.&lt;br /&gt;&lt;br /&gt;#create mountpoint &amp;amp; mount iso&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mkdir /mnt/cdrom&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;mount pathto/dvd_el5u2.iso /mnt/cdrom -o loop,ro&lt;/path&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We don't want to use rpm to install all the required packages, because it doesn't resolve dependencies for you. That's what &lt;span style="font-style: italic;"&gt;yum&lt;/span&gt; is for. Before we can use yum, we need to setup a yum repository. This is a file with a reference to some xml files on the DVD image.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;cd /etc/yum.repos.d/&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;vi EL5.repo&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Contents of EL5.repo&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;[EL5u2]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;name=Oracle enterprise Linux 5&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;baseurl=file:///mnt/cdrom/&lt;span style="color: red;"&gt;Server&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We need to import a key to make yum work properly.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY*&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now lets install all required components.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;yum groupinstall "X Window System"&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;yum groupinstall "GNOME Desktop Environment"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;7. Installation of firefox&lt;/span&gt;&lt;br /&gt;Installing firefox canbe done with rpm.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;rpm -ivf /mnt/cdrom/Server/fire*.rpm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;8. Installation of OVS plugin&lt;/span&gt;&lt;br /&gt;This plugin will enable you to logon to the console from the vmmanager webinterface.&lt;br /&gt;&lt;br /&gt;#dependency: install package from EL5u2 DVD iso&lt;br /&gt;rpm -ivh &lt;/enter&gt;&lt;span style="font-family: courier new;"&gt;/mnt/cdrom/Server&lt;/span&gt;&lt;enter&gt;/m4*.rpm&lt;br /&gt;&lt;br /&gt;#install plugin&lt;br /&gt;rpm -ivh &lt;path&gt;&lt;path&gt;/ovm-console-1.0.0-2.i386.rpm&lt;br /&gt;cp /opt/ovm-console/etc/mozpluggerrc /etc/&lt;br /&gt;cp /opt/ovm-console/bin/* /usr/bin&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;9. starting GUI&lt;/span&gt;&lt;br /&gt;You can now start the GUI&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;startx&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;10. play!&lt;/span&gt;&lt;br /&gt;Exercise: Create a VM and install vmmanager.&lt;br /&gt;&lt;br /&gt;Have fun! Any comments are welcome.&lt;br /&gt;&lt;br /&gt;regards, Tony&lt;br /&gt;&lt;/path&gt;&lt;/path&gt;&lt;/enter&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/36081665-7655784285703776749?l=tonyvanesch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://tonyvanesch.blogspot.com/feeds/7655784285703776749/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://tonyvanesch.blogspot.com/2009/02/native-oracle-vm-server-on-laptop.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/7655784285703776749'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/36081665/posts/default/7655784285703776749'/><link rel='alternate' type='text/html' href='http://tonyvanesch.blogspot.com/2009/02/native-oracle-vm-server-on-laptop.html' title='Native Oracle VM Server on a laptop'/><author><name>Tony</name><uri>http://www.blogger.com/profile/13685591077545818250</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://3.bp.blogspot.com/_sIAlyaVietA/SaRYspb-4cI/AAAAAAAAAA0/And7TYMCv-4/S220/tony.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_sIAlyaVietA/SZsWybbl7QI/AAAAAAAAAAk/Be-h7R9EPcs/s72-c/partition+table+laptop.jpeg' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
