Upload
others
View
12
Download
0
Embed Size (px)
Citation preview
Building an R12.1.1 Sandbox Environment Using VMWare
James J. Morrow
Independent Oracle Consultant
mailto: [email protected]
Overview
This document is presented in a transcript form to allow the reader to replicate the installation.
Support Statement
According to Note: 794016.1:
“The use of hardware vendors' virtualization technologies to host Oracle E-Business Suite 11i and R12 follows the same policy as Oracle's policy with regards to customizations - that is, they are 'not explicitly certified, but supported'.
What this means is that while these technologies are not certified with the E-Business Suite, Oracle will not turn away a customer reporting an issue solely due to the use of these technologies. When possible, Oracle will triage and attempt to diagnose the issue reported - Oracle Support may attempt to replicate the issue in a non-virtualized environment and work with the customer to verify if the problem exhibits in such an environment.
Any specific problem isolated to the hardware vendor virtualization technology (i.e. a problem that cannot be reproduced in a standard, non-virtualized environment) will need to be referred to the specific vendor for resolution.
This statement of support covers the Oracle E-Business Suite Applications product, which includes as part of its distribution other Oracle products such as the Oracle Database (10g, 11g) as well as Fusion Middleware (10g). These technology components and products are, in some cases, explicitly certified with hardware Vendors' virtualization solutions. These certifications may be found under the respective products' section in Certify on OracleMetaLink. Customers should review all relevant Oracle documentation on the use of such virtualization technologies for known issues and limitations with respect to Oracle E-Business Suite technology components such as the Oracle Database, RAC, Fusion Middleware, etc. Virtualization products that are listed as not certified or supported for these technology components implies that they are not with Oracle E-Business Suite either. Any published limitations that are relevant for the underlying technology components will also necessarily apply to the Oracle E-Business Suite.
Customers intending to use hardware vendor virtualization technologies covered under this policy in production environments should conduct appropriate levels of testing and also have contingency plans to revert to a standard certified configuration (that is, non-virtualized environment) if necessary for purposes of triage and analysis. “
Hardware Components
Component Quantity Price Total
HDD: Seagate Barracuda 7200.11 (ST31500341AS) 1.5TB
3 $120.00 $360.00
DVD Burner 1 $30.00 $30.00
CPU: Intel Core i7-920 1 $280.00 $280.00
Motherboard: Asus P6T Deluxe V2 1 $290.00 $290.00
Video Card 1 $150.00 $150.00
Power Supply 1 $125.00 $125.00
RAM: (Total 12GB) 2GB KIT 240-PIN DIMM 3 $125.00 $375.00
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 1 of 61
256MX64 DDR3 PC3-10600 UNBUFF (Crucial CT3KIT25664BA1339)
Case 1 $100.00 $100.00
Total $1,710.00
Note that there are cheaper video cards available, you don't really need 4.5TB of disk space for this, and my parts list doesn't include a display, keyboard, or a mouse. Prices above are from on-line purchases made in August of 2009 and are quite likely lower today.
Host Software
Ubuntu Linux 9.04 “Jaunty Jackelope” (x86-64)VMWare Server 2.0 (x86-64)VMWare Server License Key (obtain for free from http://www.vmware.com)
Virtual Machine Software
Centos 5.3 (x86-64)Oracle E-Business Suite 12.1.1 (Linux x86-32)
Install LinuxIn our case, we're using the x86-64 version of Ubuntu Linux 9.04 “Jaunty Jackelope”.
Install additional packages
Install additional packages to support 32-bit operations.
sudo su aptget ia32sunjava6binaptget install ia32libsaptget updateaptget upgradeaptget install buildessential linuxheaders`uname r` xinetd
Patch VMWare Server
Following: https://help.ubuntu.com/community/VMware/Server cd ${HOME}/DL/VMWare/vmwareserverdistrib patch ./bin/vmwareconfig.pl ../vmwareconfig.pl.patch.txt
Install VMWare Server
root@quattro:/home/jmorrow/DL/VMWare/vmwareserverdistrib# ./vmwareinstall.plCreating a new VMware Server installer database using the tar4 format.
Installing VMware Server.
In which directory do you want to install the binary files? [/usr/bin]
What is the directory that contains the init directories (rc0.d/ to rc6.d/)? [/etc]
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 2 of 61
What is the directory that contains the init scripts? [/etc/init.d]
In which directory do you want to install the daemon files? [/usr/sbin]
In which directory do you want to install the library files? [/usr/lib/vmware]
The path "/usr/lib/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes]
In which directory do you want to install the manual files? [/usr/share/man]
In which directory do you want to install the documentation files? [/usr/share/doc/vmware]
The path "/usr/share/doc/vmware" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?[yes]
The installation of VMware Server 2.0.1 build156745 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmwareuninstall.pl".
Before running VMware Server for the first time, you need to configure it by invoking the following command: "/usr/bin/vmwareconfig.pl". Do you want this program to invoke the command for you now? [yes]
Making sure services for VMware Server are stopped.
Stopping VMware autostart virtual machines: Virtual machines failedStopping VMware management services: VMware Virtual Infrastructure Web Access VMware Server Host Agent failedStopping VMware services: VMware Authentication Daemon done Virtual machine monitor done
You must read and accept the End User License Agreement to continue.Press enter to display it.
Do you accept? (yes/no) yes
Thank you.
None of the prebuilt vmmon modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmmon module for your system (you need to have a C compiler installed on your system)? [yes]
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 3 of 61
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your runningkernel? [/lib/modules/2.6.2815generic/build/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.make: Entering directory `/tmp/vmwareconfig0/vmmononly'make C /lib/modules/2.6.2815generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modulesmake[1]: Entering directory `/usr/src/linuxheaders2.6.2815generic' CC [M] /tmp/vmwareconfig0/vmmononly/linux/driver.o CC [M] /tmp/vmwareconfig0/vmmononly/linux/driverLog.o CC [M] /tmp/vmwareconfig0/vmmononly/linux/hostif.o CC [M] /tmp/vmwareconfig0/vmmononly/common/comport.o CC [M] /tmp/vmwareconfig0/vmmononly/common/cpuid.o CC [M] /tmp/vmwareconfig0/vmmononly/common/hashFunc.o CC [M] /tmp/vmwareconfig0/vmmononly/common/memtrack.o CC [M] /tmp/vmwareconfig0/vmmononly/common/phystrack.o CC [M] /tmp/vmwareconfig0/vmmononly/common/task.o CC [M] /tmp/vmwareconfig0/vmmononly/common/vmx86.o CC [M] /tmp/vmwareconfig0/vmmononly/vmcore/moduleloop.o LD [M] /tmp/vmwareconfig0/vmmononly/vmmon.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmwareconfig0/vmmononly/vmmon.mod.o LD [M] /tmp/vmwareconfig0/vmmononly/vmmon.komake[1]: Leaving directory `/usr/src/linuxheaders2.6.2815generic'cp f vmmon.ko ./../vmmon.omake: Leaving directory `/tmp/vmwareconfig0/vmmononly'The vmmon module loads perfectly into the running kernel.
None of the prebuilt vmci modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmci module for your system (you need to have a C compiler installed on your system)? [yes]
Extracting the sources of the vmci module.
Building the vmci module.
Using 2.6.x kernel build system.make: Entering directory `/tmp/vmwareconfig0/vmcionly'make C /lib/modules/2.6.2815generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modulesmake[1]: Entering directory `/usr/src/linuxheaders2.6.2815generic' CC [M] /tmp/vmwareconfig0/vmcionly/linux/driver.o CC [M] /tmp/vmwareconfig0/vmcionly/linux/driverLog.o CC [M] /tmp/vmwareconfig0/vmcionly/linux/vmciKernelIf.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciContext.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciDatagram.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciDriver.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciDs.o
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 4 of 61
CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciEvent.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciGroup.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciHashtable.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciProcess.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciQueuePair.o CC [M] /tmp/vmwareconfig0/vmcionly/common/vmciResource.o LD [M] /tmp/vmwareconfig0/vmcionly/vmci.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmwareconfig0/vmcionly/vmci.mod.o LD [M] /tmp/vmwareconfig0/vmcionly/vmci.komake[1]: Leaving directory `/usr/src/linuxheaders2.6.2815generic'cp f vmci.ko ./../vmci.omake: Leaving directory `/tmp/vmwareconfig0/vmcionly'The vmci module loads perfectly into the running kernel.
VMWare config patch VMCI!`/tmp/vmwareconfig0/vmcionly/Module.symvers' > `/tmp/vmwareconfig0/../Module.symvers'None of the prebuilt vsock modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vsock module for your system (you need to have a C compiler installed on your system)? [yes]
Extracting the sources of the vsock module.
VMWare config patch VSOCK!`/tmp/vmwareconfig0/../Module.symvers' > `/tmp/vmwareconfig0/vsockonly/Module.symvers'Building the vsock module.
Using 2.6.x kernel build system.make: Entering directory `/tmp/vmwareconfig0/vsockonly'make C /lib/modules/2.6.2815generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modulesmake[1]: Entering directory `/usr/src/linuxheaders2.6.2815generic' CC [M] /tmp/vmwareconfig0/vsockonly/linux/af_vsock.o CC [M] /tmp/vmwareconfig0/vsockonly/linux/driverLog.o CC [M] /tmp/vmwareconfig0/vsockonly/linux/util.o/tmp/vmwareconfig0/vsockonly/linux/util.c: In function VSockVmciLogPkt :� �/tmp/vmwareconfig0/vsockonly/linux/util.c:157: warning: format not a string literal and no format arguments CC [M] /tmp/vmwareconfig0/vsockonly/linux/vsockAddr.o LD [M] /tmp/vmwareconfig0/vsockonly/vsock.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmwareconfig0/vsockonly/vsock.mod.o LD [M] /tmp/vmwareconfig0/vsockonly/vsock.komake[1]: Leaving directory `/usr/src/linuxheaders2.6.2815generic'cp f vsock.ko ./../vsock.omake: Leaving directory `/tmp/vmwareconfig0/vsockonly'The vsock module loads perfectly into the running kernel.
Do you want networking for your virtual machines? (yes/no/help) [yes]
Configuring a bridged network for vmnet0.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 5 of 61
Please specify a name for this network. [Bridged]
Your computer has multiple ethernet network interfaces available: eth0, eth1, pan0. Which one do you want to bridge to vmnet0? [eth0]
The following bridged networks have been defined:
. vmnet0 is bridged to eth0
Do you wish to configure another bridged network? (yes/no) [no]
Do you want to be able to use NAT networking in your virtual machines? (yes/no)[yes]
Configuring a NAT network for vmnet8.
Please specify a name for this network. [NAT]
Do you want this program to probe for an unused private subnet? (yes/no/help) [yes] help
Virtual machines configured to use NAT networking are placed on a virtual network that is confined to this host. Virtual machines on this network can communicate with the network through the NAT process, with each other, and withthe host.
To setup NAT networking you need to select a network number that is normally unreachable from the host. We can automatically select this number for you, oryou can specify a network number that you want.
The automatic selection process works by testing a series of Class C subnet numbers to see if they are reachable from the host. The first one that is unreachable is used. The subnet numbers are chosen from the private network numbers specified by the Internet Engineering Task Force (IETF) in RFC 1918 (http://www.isi.edu/innotes/rfc1918.txt).
Virtual machines residing on the NAT network will appear as the host when accessing the network. These virtual machines on the NAT network will not be accessible from outside the host machine. This means that it is OK to use the same number on different systems so long as you do not enable IP forwarding on the host.
Do you want this program to probe for an unused private subnet? (yes/no/help) [yes]
Probing for an unused private subnet (this can take some time)...
The subnet 172.16.197.0/255.255.255.0 appears to be unused.
The following NAT networks have been defined:
. vmnet8 is a NAT network on private subnet 172.16.197.0.
Do you wish to configure another NAT network? (yes/no) [no]
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 6 of 61
Do you want to be able to use hostonly networking in your virtual machines? [yes]
Configuring a hostonly network for vmnet1.
Please specify a name for this network. [HostOnly]
Do you want this program to probe for an unused private subnet? (yes/no/help) [yes]
Probing for an unused private subnet (this can take some time)...
The subnet 192.168.185.0/255.255.255.0 appears to be unused.
The following hostonly networks have been defined:
. vmnet1 is a hostonly network on private subnet 192.168.185.0.
Do you wish to configure another hostonly network? (yes/no) [no]
None of the prebuilt vmnet modules for VMware Server is suitable for your running kernel. Do you want this program to try to build the vmnet module for your system (you need to have a C compiler installed on your system)? [yes]
Extracting the sources of the vmnet module.
Building the vmnet module.
Using 2.6.x kernel build system.make: Entering directory `/tmp/vmwareconfig0/vmnetonly'make C /lib/modules/2.6.2815generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modulesmake[1]: Entering directory `/usr/src/linuxheaders2.6.2815generic' CC [M] /tmp/vmwareconfig0/vmnetonly/driver.o CC [M] /tmp/vmwareconfig0/vmnetonly/hub.o CC [M] /tmp/vmwareconfig0/vmnetonly/userif.o CC [M] /tmp/vmwareconfig0/vmnetonly/netif.o CC [M] /tmp/vmwareconfig0/vmnetonly/bridge.o CC [M] /tmp/vmwareconfig0/vmnetonly/filter.o CC [M] /tmp/vmwareconfig0/vmnetonly/procfs.o CC [M] /tmp/vmwareconfig0/vmnetonly/smac_compat.o CC [M] /tmp/vmwareconfig0/vmnetonly/smac.o CC [M] /tmp/vmwareconfig0/vmnetonly/vnetEvent.o CC [M] /tmp/vmwareconfig0/vmnetonly/vnetUserListener.o LD [M] /tmp/vmwareconfig0/vmnetonly/vmnet.o Building modules, stage 2. MODPOST 1 modules CC /tmp/vmwareconfig0/vmnetonly/vmnet.mod.o LD [M] /tmp/vmwareconfig0/vmnetonly/vmnet.komake[1]: Leaving directory `/usr/src/linuxheaders2.6.2815generic'cp f vmnet.ko ./../vmnet.omake: Leaving directory `/tmp/vmwareconfig0/vmnetonly'The vmnet module loads perfectly into the running kernel.
Please specify a port for remote connections to use [902]
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 7 of 61
Please specify a port for standard http connections to use [8222]
Please specify a port for secure http (https) connections to use [8333]
The current administrative user for VMware Server is ''. Would you like to specify a different administrator? [no] yes
Please specify the user whom you wish to be the VMware Server administrator jmorrow
Using jmorrow as the VMware Server administrator.
In which directory do you want to keep your virtual machine files? [/var/lib/vmware/Virtual Machines]
The path "/var/lib/vmware/Virtual Machines" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want? [yes]
Please enter your 20character serial number.
Type XXXXXXXXXXXXXXXXXXXX or 'Enter' to cancel: A2J84P6FAG0END541NUN
Creating a new VMware VIX API installer database using the tar4 format.
Installing VMware VIX API.
In which directory do you want to install the VMware VIX API binary files? [/usr/bin]
In which directory do you want to install the VMware VIX API library files? [/usr/lib/vmwarevix/lib]
The path "/usr/lib/vmwarevix/lib" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?[yes]
In which directory do you want to install the VMware VIX API document pages? [/usr/share/doc/vmwarevix]
The path "/usr/share/doc/vmwarevix" does not exist currently. This program is going to create it, including needed parent directories. Is this what you want?[yes]
The installation of VMware VIX API 1.6.2 build156745 for Linux completed successfully. You can decide to remove this software from your system at any time by invoking the following command: "/usr/bin/vmwareuninstallvix.pl".
Enjoy,
the VMware team
Starting VMware services: Virtual machine monitor done Virtual machine communication interface done
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 8 of 61
VM communication interface socket family: done Virtual ethernet done Bridged networking on /dev/vmnet0 done Hostonly networking on /dev/vmnet1 (background) done DHCP server on /dev/vmnet1 done Hostonly networking on /dev/vmnet8 (background) done DHCP server on /dev/vmnet8 done NAT service on /dev/vmnet8 done VMware Server Authentication Daemon (background) done Shared Memory Available doneStarting VMware management services: VMware Server Host Agent (background) done VMware Virtual Infrastructure Web AccessStarting VMware autostart virtual machines: Virtual machines done
The configuration of VMware Server 2.0.1 build156745 for Linux for this running kernel completed successfully.
Login to VMWare and create a Virtual Machine
Image 1: Navigate to: http://localhost:8222 and login using the username/password specified above.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 9 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 10 of 61
Image 2: Navigate to Virtual Machine --> Create Virtual Machine
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 11 of 61
Image 3: Choose Datastore where the Virtual Machine will reside. (You may want to create a new datastore)
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 12 of 61
Image 4: In our case, the OS we're using is an unlisted version of 32-bit Linux (using a 2.6 kernel)
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 13 of 61
Image 5: Using 2 CPUs and 2GB of memory for this VM should be decent. You could use more or less, depending on your needs and/or configuration.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 14 of 61
Image 6: We're using an 8GB filesystem at this point for the base operating system install.
(In reality, it will be a little less than 3GB full, so you could go with a 4GB filesystem quite comfortably). We will create another one for E-Business Suite later.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 15 of 61
Image 7: Using a "Bridged" network adapter allows this VM to be visible to your local network. Your other choices are NAT and HostOnly.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 16 of 61
Image 8: Now we're going to add a virtual CD/DVD Drive. At this point, we'll want to use an ISO image. This will mostly be for the OS installation.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 17 of 61
Image 9: Here we point to the ISO image that is going to be "loaded" in our virtual CD/DVD drive. You will be able to “eject” this disc image later and point to another if you wish.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 18 of 61
Image 10: We won't be needing a floppy drive. You can configure a real or virtual one, if you wish.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 19 of 61
Image 11: We're also not going to add a USB controller.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 20 of 61
Image 12: We're going to want to choose "More Hardware" at this point, so that we can add a REAL CD/DVD Drive.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 21 of 61
Image 13: Use a Physical Drive
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 22 of 61
Image 14: It should autodetect your physical drive. You can specify whether or not you want it connected at VM power-on.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 23 of 61
Image 15: Check "Power on your new virtual machine" and click the finish button.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 24 of 61
Image 16: This is the main summary screen. You can see in the tree on the left that we have several virtual machines including "ebiz", “ebiz11i” and "WinXP". The message window at the bottom of the screen shows which actions have recently been taken.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 25 of 61
Image 17: Select the "Console" Tab and click in the black window to open the console and begin OS Installation.
NOTE: I was unable to send a Control+Alt+Delete to a Microsoft Windows VM. Turns out this is an issue with the VMWare Server browser plug-in and Ubuntu Linux. To get around this, use the Control and Alt keys from the left side of the keyboard, and the DEL key from the numeric keypad. http://tinyurl.com/cngtwk
Install CentOS 5.3 into your virtual machine.
Once you've created the virtual machine, you will begin the Operating System installation.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 26 of 61
Image 17: You can choose to test the media (in our case, an ISO image) at this point if you wish.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 27 of 61
Image 18: Choose your language for the install process.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 28 of 61
Image 19: The partition it's referring to is the one you created within the Virtual Machine. It is ok to say "YES" here.
Image 20: Choose to "Remove linux partitions..."
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 29 of 61
Image 21: I believe that the default was for a 4GB root volume and 4GB of swap. We're going to use 6GB for root and 2GB for swap here. (OS only occupies just under 3GB. So, 4GB root and 2GB swap would be sufficient).
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 30 of 61
Image 22: We're going to accept GRUB as our boot loader.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 31 of 61
Image 23: In my environment, I will be dynamically allocating a static IP using DHCP (based on the VM's MAC address). If you want to use a static IP, you can configure that here. Remember, since we're on a "Bridged" network, it needs to be a valid IP on your internal LAN.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 32 of 61
Image 24: Enter the password to be used for the root user.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 33 of 61
Image 25: At this point, we've selected: Desktop - Gnome, Server, and Server – GUI. We will also select “Customize Now”.
Image 26: Navigate through this screen selecting and deselecting packages you will need.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 34 of 61
In our case, we made the following selections:
Desktop EnvironmentsGNOME
ApplicationsEditorsGraphical InternetText-based Internet
DevelopmentDevelopment Tools
ServersFTP Server (optional)Legacy Network Server (optional)Network ServersPrinting SupportServer Configuration Tools
Windows File Server (optional)Base System
Administration ToolsBaseJavaSystem ToolsX Window System
Clustering(None)
Cluster Storage(None)
Languages(None)
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 35 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 36 of 61
Image 27: Installation complete! You will now need to reboot the VM.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 37 of 61
Image 28: We don't need SELinux for this particular exercise.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 38 of 61
Image 29: Kdump is optional
Image 30: If you have an NTP server, configure your VM to point to it at this time.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 39 of 61
Image 31: Create at least one additional (non-root) user.
Image 32: No additional CDs required at this time.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 40 of 61
Image 33: One more reboot! (Don't worry, this isn't Windows!)
Image 34: Congrats! Here's the login screen! Go ahead and login as root at this time.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 41 of 61
Additional Manual Operating System Changes
There are some manual changes you'll want to make within your new CentOS VM:
Edit /etc/sysconfig/network to change your Hostname:
BEFORE:HOSTNAME=localhost.localdomain
AFTER:HOSTNAME=ebiz.morrowclan.local
Add important entries to the /etc/hosts file
192.168.77.175 ebiz.morrowclan.local ebiz192.168.77.63 quattro.morrowclan.local quattro192.168.77.1 rocky.morrowclan.local rocky
Add a staging area via NFS
On the host machine, export the filesystem by adding a line similar to this to the /etc/exports file.
/virtual/StageR1211 192.168.77.175(ro,sync,no_subtree_check)
Next, you'll actually want to perform the export:
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 42 of 61
exportfs va
Create mountpoint you're going to use:
mkdir p /StageR1211
Add an entry to /etc/fstab
quattro:/virtual/StageR1211 /StageR1211 nfs defaults 0 0
Mount the filesystem.
mount va
Install Required Packages
Per MetaLink Note: 761564.1 (Packages not in bold were already installed by the CentOS installation we chose).
compatglibc2.3.42.26.i386.rpm compatglibcheaders2.3.42.26.i386.rpm compatlibstdc++2962.96138.i386.rpm compatlibstdc++333.2.361.i386.rpm elfutilslibelfdevel0.1373.el5.i386.rpm elfutilslibelfdevelstatic0.1373.el5.i386.rpm gcc4.1.244.el5.i386.rpm gccc++4.1.244.el5.i386.rpm gdbm1.8.026.2.1.i386.rpm glibc2.534.i386.rpm glibccommon2.534.i386.rpm glibcdevel2.534.i386.rpm kernelheaders2.6.18128.el5.i386.rpm libaio0.3.1063.2.i386.rpm libaiodevel0.3.1063.2.i386.rpm libgcc4.1.244.el5.i386.rpm libgomp4.3.27.el5.i386.rpm libstdc++4.1.244.el5.i386.rpm libstdc++devel4.1.244.el5.i386.rpm libXp1.0.08.1.el5.i386.rpm make3.813.el5.i386.rpm openmotif212.1.3011.EL5.i386.rpm sysstat7.0.23.el5.i386.rpm unixODBC2.2.117.1.i386.rpm unixODBCdevel2.2.117.1.i386.rpm xorgx11libscompat6.8.21.EL.33.0.1.i386.rpm
NOTE: Your openmotif must be that specific version (newer versions will not work).You will need to download the packages below from Oracle at the following link:
http://oss.oracle.com/projects/compatoracle/files/Enterprise_Linux
openmotif212.1.3011.EL5.i386xorgx11libscompat6.8.21.EL.33.0.1.i386binutils2.17.50.0.66.0.1.i386
NOTE: To see which packages (as well as version and platform):
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 43 of 61
yum list |grep <package>
To install a package:
yum install <packagename.rpm>
To install all packages in a given directory:
yum install `ls 1 *.rpm`
Kernel Settings
Edit /etc/sysctl.conf# # Oracle Specific Entries # net.ipv4.ip_forward = 0 net.ipv4.conf.default.rp_filter = 1 net.ipv4.conf.default.accept_source_route = 0 kernel.sysrq = 0 kernel.core_uses_pid = 1 net.ipv4.tcp_syncookies = 1 kernel.msgmnb = 65536 kernel.sem = 256 32000 100 142 kernel.shmall = 2097152 # minimum values kernel.shmmax = 2147483648 # minimum values kernel.shmmni = 4096 kernel.msgmni = 2878 kernel.msgmax = 8192 fs.filemax = 131072 net.ipv4.ip_local_port_range = 10000 65000 net.core.rmem_default = 262144 net.core.rmem_max = 262144 net.core.wmem_default = 262144 net.core.wmem_max = 262144
Encountered Note 784162.1
During an initial pass, most of the appsTier components failed to start. This was due to Note 784162.1. To avoid this problem, issue the command below:
ln s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
Edit /etc/resolv.conf
options attempts:5options timeout:15
Validate /etc/hosts
Ensure that /etc/hosts is formatted as follows:<IP Address> <hostname>.<domainname> <hostname>
Remove /etc/sysconfig/networking/profile/default/network (if it exists)
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 44 of 61
if [ f /etc/sysconfig/networking/profile/default/network ]; thenrm /etc/sysconfig/networking/profile/default/network
fi
Edit /etc/security/limits.conf
# # Oracle Specific # * hard nofile 65535 * soft nofile 4096 * hard nproc 16384 * soft nproc 2047
Link Motif Library
unlink /usr/lib/libXtst.so.6ln s /usr/X11R6/lib/libXtst.so.6.1 /usr/lib/libXtst.so.6
Create Users and Groups
groupadd g 200 dbauseradd u 3000 g 200 c “Oracle Staging Owner” m k /etc/skel orastageuseradd u 3010 g 200 c “VIS – Oracle Owner” m k /etc/skel oravis
Don't forget to assign passwords.passwd orastagepasswd oravis
Shutdown the VM
From the VMWare Control Panel, shut down your VM at this time.
Add a new disk to support your VIS instance
With your Virtual Machine stopped. Follow the screens below to add a 275GB virtual disk. (You will need just under 250GB, but the installer may complain unless you have a little extra room). Remember that, at this point, we're effectively adding hardware. We will create a logical volume and mount the disk later.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 45 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 46 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 47 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 48 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 49 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 50 of 61
Add the new disk to your operating system
Start your Virtual Machine and login as root.
Create the Physical Volume
[root@ebiz ~]# pvcreate /dev/sdb
Physical volume "/dev/sdb" successfully created
Add the Physical Volume to the Volume Group
[root@ebiz ~]# vgextend VolGroup00 /dev/sdb
/dev/cdromhdc: open failed: Readonly file system /dev/cdromhdc: open failed: Readonly file system Attempt to close device '/dev/cdromhdc' which is not open. Volume group "VolGroup00" successfully extended
Create the Logical Volume
The command we're using here will create a logical volume that uses all remaining space in the Volume Group. You may want to specify how much space is going to be used, however, this is the simplest approach for our installation.
[root@ebiz ~]# lvcreate extents 100%FREE name OraVIS VolGroup00
Logical volume "OraVIS" created
Create the filesystem
mkfs t ext3 /dev/VolGroup00/OraVIS
mke2fs 1.39 (29May2006) Filesystem label= OS type: Linux Block size=4096 (log=2) Fragment size=4096 (log=2) 32768000 inodes, 65527808 blocks 3276390 blocks (5.00%) reserved for the super user First data block=0 Maximum filesystem blocks=0 2000 block groups 32768 blocks per group, 32768 fragments per group 16384 inodes per group Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872
Writing inode tables: done Creating journal (32768 blocks): done Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 26 mounts or
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 51 of 61
180 days, whichever comes first. Use tune2fs c or i to override.
Add to /etc/fstab and create mountpoint
Add this entry to /etc/fstab:
/dev/VolGroup00/OraVIS /oravis ext3 defaults 1 2
Create the mountpoint and mount the filesystem
mkdir /oravis mount /oravis chown R oravis:dba /oravis
Some information on our disk usage at this point
[root@ebiz ~]# df h Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00LogVol00 5.7G 2.2G 3.3G 40% / /dev/sda1 99M 12M 82M 13% /boot tmpfs 1014M 0 1014M 0% /dev/shm quattro:/virtual/Stage/StageR1211 1.1T 192G 836G 19% /StageR1211 /dev/hdc 3.7G 3.7G 0 100% /media/CentOS_5.3_Final /dev/mapper/VolGroup00OraVIS 271G 192M 257G 1% /oravis
[root@ebiz ~]# lvdisplay Logical volume LV Name /dev/VolGroup00/LogVol00 VG Name VolGroup00 LV UUID 4QPUVliN7qeYktYQvLquvhmkTn5JZcRu LV Write Access read/write LV Status available # open 1 LV Size 5.88 GB Current LE 188 Segments 1 Allocation inherit Read ahead sectors auto currently set to 256 Block device 253:0 Logical volume LV Name /dev/VolGroup00/LogVol01 VG Name VolGroup00 LV UUID GB7sujXDrCIYwxc2zjFgRUoUE8xDO1Fe LV Write Access read/write LV Status available # open 1 LV Size 2.00 GB
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 52 of 61
Current LE 64 Segments 1 Allocation inherit Read ahead sectors auto currently set to 256 Block device 253:1 Logical volume LV Name /dev/VolGroup00/OraVIS VG Name VolGroup00 LV UUID gGgaY1Et6OL75zge37CUNyumft64mvCu LV Write Access read/write LV Status available # open 0 LV Size 274.97 GB Current LE 8799 Segments 1 Allocation inherit Read ahead sectors auto currently set to 256 Block device 253:2 [root@ebiz ~]# vgdisplay Volume group VG Name VolGroup00 System ID Format lvm2 Metadata Areas 2 Metadata Sequence No 5 VG Access read/write VG Status resizable MAX LV 0 Cur LV 3 Open LV 2 Max PV 0 Cur PV 2 Act PV 2 VG Size 282.84 GB PE Size 32.00 MB Total PE 9051 Alloc PE / Size 9051 / 282.84 GB Free PE / Size 0 / 0 VG UUID ua7x9Wg8epk8yMR4omk14ECfejsQlGub
[root@ebiz ~]# pvdisplay Physical volume PV Name /dev/sda2 VG Name VolGroup00 PV Size 7.90 GB / not usable 23.41 MB Allocatable yes (but full) PE Size (KByte) 32768 Total PE 252 Free PE 0 Allocated PE 252 PV UUID TWGo016AYDP5x6jFloyJmG6XAy9sRA85
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 53 of 61
Physical volume PV Name /dev/sdb VG Name VolGroup00 PV Size 275.00 GB / not usable 32.00 MB Allocatable yes (but full) PE Size (KByte) 32768 Total PE 8799 Free PE 0 Allocated PE 8799 PV UUID uEI0ct82Uyr6mUI9lU9MzjsJnHr3OieG
Reboot the system
We're rebooting at this point to ensure that all of the changes we made above are applied.
Start your Install
Login as the “oravis” user. Open a terminal window and navigate to your staging area. Installation screenshots follow:
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 54 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 55 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 56 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 57 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 58 of 61
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 59 of 61
Issues
Whenever the host operating system (in our case, Ubuntu 9.04) has a kernel upgrade, you will need to re-run vmwareconfig.pl .
When using a Microsoft Windows VM, I was unable to send “ctrl+alt+delete” to the Windows guest. Apparently, this is an Ubuntu issue. The workaround is to use the “Ctrl” and “Alt” keys from the left side of a keyboard, and the “Del” key from the numeric keypad.
MetaLink Notes
DocID Title761564.1 Oracle Applications Installation and Upgrade Notes Release 12798258.1 Oracle Applications Release Notes, Release 12.1.1794016.1 Hardware Vendor Virtualization Technologies on non x86/x86-64
Architectures and Oracle E-Business Suite
About the Author
James Morrow (mailto:[email protected]) is a Senior Systems Architect and Oracle Applications Database Administrator. He has over 15 years experience in the Information Technology industry including 14+ years as an Oracle Applications DBA and Unix Systems Administrator. He has extensive experience in systems architecture including installations, upgrades, and advanced configurations of Oracle's E-Business Suite applications. Mr. Morrow also has experience with a wide variety of operating systems and platforms, including every major variant of the UNIX operating system and on Microsoft
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 60 of 61
Windows NT. He has authored or co-authored several papers and presentations, including Installing, Upgrading and Maintaining Oracle E-Business Suite Applications Release 11.5.10+.
COLLABORATE 10 Copyright © 2010 by James J. Morrow Page 61 of 61