Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

VMware: Client Operating System

Oracle Tips by Burleson Consulting
 

Again, I do not want to start any heated debates or religious wars, but for simple demo purposes, Linux makes a very good OS choice. It is free, Oracle is primarily developed there (so new releases and patches come earlier) and it just feels somewhat more realistic to have Windows based applications talking to non-Windows based databases (which is similar to many historically popular Oracle deployment scenarios). While Redhat and SuSE are both popular Oracle Linux platforms, there are some nice free alternatives: CentOS and Oracles Enterprise Linux. Both are essentially compatible with Redhat and so easy to use with plenty of good reference materials that apply. In this book, I will use CentOS. That is not a reflection of any superiority of that Linux distribution, it's just that it is close enough to Redhat and I am both very comfortable with and accustomed to it.

To initiate the OS installation process, simply place the Linux DVD in your laptops/notebooks DVD drive and tell VMware to start that virtual machine. The process is now essentially 100% the same as if being done on a standalone machine. We will review some very important Oracle optimizations to make during the Linux installation process and also afterwards.

When asked which type of install to perform, it is generally better to choose a custom Linux install so that you can specifically pick only those items that you know your database setup will need. Also choose to manually define your partitions. Then, when the Disk Setup screen comes up, choose setup values such as those shown here in Figure 11 on the next page. The /boot area is where the kernel images are kept to boot the machine. The swap area is kept to a minimum (i.e. 1 GB or swap = RAM), since you are aiming for a very minimal database setup on a limited laptop/notebook for basic demo purposes.

Figure 11:   Custom Setup Values

When the Network Configuration screen comes up, you need to define your network as shown in Figure 12 (next page). Keep in mind that you are choosing to create a static IP address for a private network, i.e. a VMware host-only connection to the network. Also remember that by using consistent alias names whenever possible throughout the client operating system install process, you will be able to reproduce this 11g setup quite easily anytime.

Figure 12:  Network Configuration Definitions

When the Firewall Configuration screen comes up, you need to not enable the client operating systems firewall or Security Enhanced (SE) Linux security options as shown in Figure 13. The reason for this is very simple you are creating a private network, so there will be little or no need for firewall protection. Besides, database server based firewalls just add one additional level of complexity for configuring Oracle because the Oracle listener watches port 1521 by default, which would require you opening the port so that database traffic flows unimpeded. Therefore, it is easier to not install the firewall and thus avoid that step. Furthermore, you will avoid additional overhead on your client operating system, which was defined as a critical issue in keeping this system minimal since you want to be able to run Oracle 11g on a laptop/notebook for doing demos.

Figure 13:  Custom Firewall Configuration

When the Package Selection screen comes up (shown on the next page in Figure 14), take your time and choose just those software packages that you know that you will want to be able to use while keeping your selections to a minimum wherever possible. There are two reasons for this. First, as mentioned before in creating a minimal system, you want to keep the overhead to a minimum. The more software you choose, the more services, demons or processes that may need to run. And second, you defined your virtual machine using dynamic disk space allocation (i.e. it grows). So the more you choose to install, the larger your virtual machines file on the host will become. While that can slow performance a wee bit, it is the zipping and unzipping delays that quickly become the real issue. The smaller you keep the client, the smaller and faster working with the zip files will be. That can be critical for when you want to do quick rebuilds.

Figure 14:  Software Package Selection

So what do I recommend as some minimal choices? Well, as much as I would like to skip X-Windows (i.e. boot in terminal mode), you do need the X-Windows environment to run the Oracle installer, which is a Java based GUI (Graphical User Interface) product. So the first two choices for X-Windows and the Gnome Desktop are the bare minimums. From there, it all depends on how you like to work. Some people like to include an FTP server so that they can transfer files over to the client (e.g. the Oracle install image). And while that is a relatively easy and straightforward process, nonetheless, it is very inefficient because you are storing the same data twice on your laptops/notebooks limited disk space. Thus, it is often wise to install the Windows File Server, i.e. Samba. We will go with Samba for now and later we will set it up so that it can see the hosts file system.

Towards the very end of the install process, the Linux installer will present what it thinks the default Display characteristics are (shown below in Figure 15). This is a very easy screen to ignore and rush through. But there are some real performance and usability implications here, so you should make some wiser choices.

Figure 15:  Display Characteristics Screen

The default display type most often comes up as 800x600. And while that is an efficient setting, with today's higher display resolution capabilities, 1024x768 is a reasonable choice that balances efficiency with usability. As for the color depth, thousands of colors will more than suffice. You do not need millions of colors, especially if you don't plan to do much via the GUI on the client other than to run the Oracle installer and occasionally show that you are running Linux under the covers. Besides, it is quite possible that you have already made the exact same concession on your Windows display settings. You can't really tell Windows to restrict it's color palette and then turn around and tell one of it's applications (i.e. VMware) to use more than the operating system permits. The display characteristics discussion also nicely segues into the next topic.


This is an excerpt from
Oracle on VMWare: Expert tips for database virtualization by Rampant TechPress.


 

 
��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.