Oracle 10g RAC On Linux Using VMware Server This article describes the induction of Oracle 10g launch 2 (10.2.0.1) RAC on Linux (CentOS 4) using VMware Server with no additional shared disk devices. most of all IntroductionDownload SoftwareVMware Server InstallationVirtual Machine SetupGuest Operating System InstallationOracle Installation PrerequisitesInstall VMware Client ToolsCreate Shared DisksClone the Virtual MachineInstall the Clusterware SoftwareInstall the Database Software and Create an ASM InstanceCreate a Database using the DBCATNS ConfigurationCheck the Status of the RAC most of all depreciatory Introduction One of the biggest obstacles preventing people from scenery up investigation RAC environments is the provision in the embody shared storage. In a acting surroundings, shared storage is frequently provided within reach a SAN or high-end NAS authentication, but both of these options are entirely valuable when all you be deficient in to do is crack by some suffer installing and using RAC. A third modus operandi faulty is to have recourse to VMware Server to mountebank the shared storage. A cheaper surrogate is to have recourse to a FireWire disk irritate to allot two machines to access the constant disk(s), but that even costs means and requires two servers. Using VMware Server you can chance multiple Virtual Machines (VMs) on a distinct server, allowing you to chance both RAC nodes on a distinct contrivance. most of all Before you inauguration into this induction, here are a not abundant things to about.
In additon, it allows you to nullify up shared effective disks, overcoming the impediment of valuable shared storage. most of all The finished structure includes the about b dally the host operating structure, two lodger operating systems, two sets of Oracle Clusterware, two ASM instances and two Database instances all on a distinct server. I tried this induction on a 3.4G Pentium 4 with 2G of retention and it failed abysmally. As you can envision, this requires a substantive amount of disk place, CPU and retention. When I tolerant of a dual 3.0G Xeon server with 4G of retention it worked supple, but it wasn’t absolutely choleric. There is no redundancy in the Clusterware induction or the ASM induction.
This MO herself provides a defoliate bones induction to crack by the RAC working. To calculate up this, openly bloom two-ply the amount of shared disks and intimate the Normal redundancy modus operandi faulty when it is offered. During the effective disk the cosmos, I in any case opt in the embody not to preallocate the disk place.
Of briskness, this see fit caricature more disk place. This makes effective disk access slower during the induction, but saves on wasted disk place. It’s openly to allot you to crack by tolerant of to installing and using RAC. This is not, and should not be considered, a production-ready structure. most of all depreciatory Download Software most of all Download the following software.
Regardless of the about b dally the host OS, the setup of the effective machines should be like. most of all CentOS 4.xVMware ServerOracle 10g (10.2.0.1) CRS and DB software most of all depreciatory VMware Server Installation For this article, I tolerant of CentOS 4.3 as both the about b dally the host and lodger operating systems. most of all First, instate the VMware Server software. most of all # rpm -Uvh VMware-server-*.rpmPreparing. On Linux you do this with the following mandate as the burgeon buyer.
most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory ########################################### [100%] most of all 1:VMware-server most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all ########################################### [100%]# Then close the configuration within reach perpetual the vmware-config.pl manuscript as the burgeon buyer. The bluff out buried shows my responses to the questions. Most of the questions can be answered with the non-fulfilment come back within reach momentous the come back reduce. most of all # vmware-config.plMaking secure services in the embody VMware Server are stopped. Press come in to spread it. Stopping VMware services: most of all Virtual contrivance CRT most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory [ most of all OK most of all ]You essential skim and reconciled to oneself to the End User License Agreement to on. VMWARE, INC.
Configuring fallback GTK+ 2.4 libraries. SOFTWARE BETA TEST AGREEMENT*** Editied faulty authorize accord ***Do you reconciled to oneself to? (yes/no) yesThank you. In which directory do you be deficient in to instate the mime specimen icons?[/usr/share/icons]What directory contains your desktop menu entrВe files? These files would instead a.desktop enter widening. The module bld-2.6.9-5.EL-i686smp-RHEL4 loads unambiguously in the perpetual essence. [/usr/share/applications]In which directory do you be deficient in to instate the application’s icon?[/usr/share/pixmaps]Trying to option a befitting vmmon module in the embody your perpetual essence. Do you be deficient in networking in the embody your effective machines? (yes/no/help) [yes]Configuring a bridged network in the embody vmnet0.
vmnet0 is bridged to eth0All your ethernet interfaces are already bridged. The following bridged networks would instead been defined:. Do you be deficient in to be high-class to have recourse to NAT networking in your effective machines? (yes/no)[yes]Configuring a NAT network in the embody vmnet8. The subnet 172.16.210.0/255.255.255.0 appears to be disused. Do you be deficient in this program to poke into in the embody an disused sneakily subnet? (yes/no/help)[yes]Probing in the embody an disused sneakily subnet (this can caricature some time). The following NAT networks would instead been defined:. Do you foist to configure another NAT network? (yes/no) [no]Do you be deficient in to be high-class to have recourse to host-only networking in your effective machines?[yes] noTrying to option a befitting vmnet module in the embody your perpetual essence.
vmnet8 is a NAT network on sneakily subnet 172.16.210.0. The module bld-2.6.9-5.EL-i686smp-RHEL4 loads unambiguously in the perpetual essence. Building the VMware VmPerl Scripting API.
Please forth a mooring in the embody removed endure connections to have recourse to [902]Stopping xinetd: most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory [ most of all OK most of all ]Starting xinetd: most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory [ most of all OK most of all ]Configuring the VMware VmPerl Scripting API. Using compiler /usr/bin/gcc. The induction of the VMware VmPerl Scripting API succeeded.
Use surroundings unpredictable CC to override. Do you be deficient in this program to nullify up permissions in the embody your registered virtualmachines? most of all This see fit be done within reach scenery rejuvenated permissions on all files start inthe /etc/vmware/vm-list enter. Type XXXXX-XXXXX-XXXXX-XXXXX or ‘Enter’ to invalidate: most of all ENTER-YOUR-SERIAL-NUMBERStarting VMware services: most of all Virtual contrivance CRT most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory [ most of all OK most of all ] most of all Virtual ethernet most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all [ most of all OK most of all ] most of all Bridged networking on /dev/vmnet0 most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory [ most of all OK most of all ] most of all Host-only networking on /dev/vmnet8 (background) most of all depreciatory most of all depreciatory most of all depreciatory most of all [ most of all OK most of all ] most of all NAT utilization on /dev/vmnet8 most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all [ most of all OK most of all ] most of all Starting VMware effective machines. [no] yesGenerating SSL Server CertificateIn which directory do you be deficient in to detain your effective contrivance files?[/var/lib/vmware/Virtual Machines] /u01/VMDo you be deficient in to come in a serial crowd expeditiously? (yes/no/help) [no] yesPlease come in your 20-character serial crowd.
most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all [ most of all OK most of all ]The configuration of VMware Server e.x.p build-22874 in the embody Linux in the embody this runningkernel completed successfully. most of all On the Connect to Host dialog, reconciled to oneself to the Local host modus operandi faulty within reach clicking the Connect button. # The VMware Server Console is started within reach issuing the mandate vmware at the mandate cue, or within reach selecting it from the System Tools menu.
You are then presented with the energy VMware Server Console cover. most of all depreciatory Virtual Machine Setup most of all Now we essential forth the two effective RAC nodes. most of all The VMware Server is expeditiously installed and on the point of to have recourse to. We can put by for the moment within reach defining unified VM, then cloning it when it is installed. Click the Next button onthe entitled bellman.
Click the Create a rejuvenated effective machine button to start the New Virtual Machine Wizard. most of all Select the Custom effective contrivance configuration and click the Next button. most of all Enter the handle RAC1 and the berth should non-fulfilment to /u01/VM/RAC1, then click the Next button. Select the Linux lodger operating structure modus operandi faulty, and nullify the reading to Red Hat Enterprise Linux 4, then click the Next button. most of all Select the required crowd of processors and click the Next button. Select the amount of retention to associate with the effective contrivance. most of all Uncheck the Make this effective contrivance private checkbox and click the Next button.
Remember, you are active to exigency two instances, so don’t associate too much, but you are active to exigency almost 1 Gig (1024 Meg) to contend the induction successfully. most of all Accept the LSI Logic modus operandi faulty within reach clicking the Next button. most of all Accept the Use bridged networking modus operandi faulty within reach clicking the Next button. most of all Select the Create a rejuvenated effective disk modus operandi faulty and click the Next button. It’s a effective disk, so you can even have recourse to this modus operandi faulty unrelieved if your palpable disk is IDE or SATA. Accept the SCSI modus operandi faulty within reach clicking the Next button. Set the disk rate to 10.0 GB and uncheck the Allocate all disk place now modus operandi faulty.
Accept RAC1.vmdk as the disk enter handle and accomplish the VM the cosmos within reach clicking the Finish button. The latter see fit make tracks disk access slower, but see fit put by you wasting disk place. most of all On the VMware Server Console cover, click the Edit effective contrivance settings button. most of all Click the + Add button and intimate a devices specimen of Ethernet Adapter, then click the Next button. most of all On the Virtual Machine Settings cover, highlight the Floppy 1 need and click the – Remove button.
Accept the Bridged modus operandi faulty within reach clicking the Finish button. Finish within reach clicking the OK button. Click on the Options bill, highlight the Startup/Shutdown scenery and intimate the Don’t power on effective machine in the On about b dally the host startup modus operandi faulty. most of all The effective contrivance is expeditiously configured so we can start the lodger operating structure induction. The privilege glass of the VMware Server Console should spread a boot loader, then the CentOS induction cover. most of all depreciatory Guest Operating System Installation Place the peak CentOS 4 disk in the CD need and start the effective contrivance within reach clicking the Power on this effective machine button. Continue from head to foot the CentOS 4 induction as you would in the embody a painstaking server.
More specifically, it should be a server induction with a slightest of 2G swap, hypothecate Linux damaged and the following package deal groups installed: X Window SystemGNOME Desktop EnvironmentEditorsGraphical InternetServer Configuration ToolsFTP ServerDevelopment ToolsLegacy Software DevelopmentAdministration ToolsSystem Tools most of all To be agreeing with the residue of the article, the following advice should be nullify during the induction: hostname: rac1.localdomainIP Address eth0: 192.168.2.101 (public address)Default Gateway eth0: 192.168.2.1 (public address)IP Address eth1: 192.168.0.101 (private address)Default Gateway eth1: noneYou are unbind to reorient the IP addresses to accommodate your network, but about to halt agreeing with those adjustments all the modus operandi through the residue of the article. A ill-defined charming conduct to the induction can be start here. most of all Once the idol induction is accomplish, instate the following packages whilst logged in as the burgeon buyer. most of all The /etc/hosts enter essential confine the following advice. most of all # From CentOS4 Disk 1cd /media/cdrecorder/CentOS/RPMSrpm -Uvh setarch-1*rpm -Uvh compat-libstdc++-33-3*rpm -Uvh make-3*rpm -Uvh glibc-2*cd /eject# From CentOS4 Disk 2cd /media/cdrecorder/CentOS/RPMSrpm -Uvh openmotif-2*rpm -Uvh compat-db-4*rpm -Uvh gcc-3*cd /eject# From CentOS4 Disk 3cd /media/cdrecorder/CentOS/RPMSrpm -Uvh libaio-0*rpm -Uvh rsh-*rpm -Uvh compat-gcc-32-3*rpm -Uvh compat-gcc-32-c++-3*rpm -Uvh openmotif21*cd /eject most of all depreciatory Oracle Installation Prerequisites most of all Perform the following steps whilst logged into the RAC1 effective contrivance as the burgeon buyer. most of all 127.0.0.1 most of all depreciatory most of all depreciatory most of all depreciatory localhost.localdomain most of all depreciatory localhost# Public192.168.2.101 most of all depreciatory rac1.localdomain most of all depreciatory most of all depreciatory most of all depreciatory most of all rac1192.168.2.102 most of all depreciatory rac2.localdomain most of all depreciatory most of all depreciatory most of all depreciatory most of all rac2#Private192.168.0.101 most of all depreciatory rac1-priv.localdomain most of all depreciatory rac1-priv192.168.0.102 most of all depreciatory rac2-priv.localdomain most of all depreciatory rac2-priv#Virtual192.168.2.111 most of all depreciatory rac1-vip.localdomain most of all depreciatory most of all rac1-vip192.168.2.112 most of all depreciatory rac2-vip.localdomain most of all depreciatory most of all rac2-vip most of all Add the following lines to the /etc/sysctl.conf enter.
/sbin/sysctl -p most of all depreciatory Add the following lines to the /etc/security/limits.conf enter. most of all essence.shmall = 2097152kernel.shmmax = 2147483648kernel.shmmni = 4096# semaphores: semmsl, semmns, semopm, semmnikernel.sem = 250 32000 100 128fs.file-max = 65536net.ipv4.ip_local_port_range = 1024 65000net.core.rmem_default=262144net.core.rmem_max=262144net.core.wmem_default=262144net.core.wmem_max=262144 most of all Run the following mandate to reorient the rip tide essence parameters. most of all * most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory fuzzy most of all depreciatory most of all nproc most of all depreciatory 2047* most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory skint most of all depreciatory most of all nproc most of all depreciatory 16384* most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory fuzzy most of all depreciatory most of all nofile most of all 1024* most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory skint most of all depreciatory most of all nofile most of all 65536 most of all Add the following approach to the /etc/pam.d/login enter, if it does not already pull from head to foot. most of all SELINUX=disabled Alternatively, this reorient can be done using the GUI gadget (Applications > System Settings > Security Level). most of all sitting most of all depreciatory most of all required most of all depreciatory most of all depreciatory /lib/security/pam_limits.so most of all depreciatory Disable hypothecate linux within reach editing the /etc/selinux/config enter, making secure the SELINUX give way is nullify as follows.
Click on the SELinux bill and disable the headline. most of all options hangcheck-timer hangcheck_tick=30 hangcheck_margin=180 most of all To burden the module instantly, carry faulty modprobe -v hangcheck-timer. most of all Set the hangcheck essence module parameters within reach adding the following approach to the /etc/modprobe.conf enter. most of all Create the rejuvenated groups and users. most of all mkdir -p /u01/crs/oracle/product/10.2.0/crsmkdir -p /u01/app/oracle/product/10.2.0/db_1mkdir -p /u01/oradatachown -R augury.oinstall /u01 most of all During the induction, both RSH and RSH-Server were installed. most of all groupadd oinstallgroupadd dbagroupadd operuseradd -g oinstall -G dba oraclepasswd augury most of all Create the directories in which the Oracle software see fit be installed.
Enable removed upon and rlogin within reach doing the following. most of all stack up to /etc/hosts.equivchmod 600 /etc/hosts.equivchown burgeon:root /etc/hosts.equiv most of all Edit the /etc/hosts.equiv enter to contain all the RAC nodes: most of all +rac1 oracle+rac2 oracle+rac1-priv oracle+rac2-priv augury most of all Login as the augury buyer and calculate up the following lines at the outdo of the most of all.bash_profile enter. most of all chkconfig rsh onchkconfig rlogin onservice xinetd reload most of all Create the /etc/hosts.equiv enter as the burgeon buyer. most of all # Oracle SettingsTMP=/tmp; export TMPTMPDIR=$TMP; export TMPDIRORACLE_BASE=/u01/app/oracle; export ORACLE_BASEORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1; export ORACLE_HOMEORACLE_SID=RAC1; export ORACLE_SIDORACLE_TERM=xterm; export ORACLE_TERMPATH=/usr/sbin:$PATH; export PATHPATH=$ORACLE_HOME/bin:$PATH; export PATHLD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; export LD_LIBRARY_PATHCLASSPATH=$ORACLE_HOME/JRE:$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; export CLASSPATHif [ $USER = oracle ]; then if [ $SHELL = /bin/ksh ]; then most of all depreciatory ulimit -p 16384 most of all depreciatory ulimit -n 65536 else most of all depreciatory ulimit -u 16384 -n 65536 fifi most of all depreciatory Install VMware Client Tools Login as the burgeon buyer on the RAC1 effective contrivance, then intimate the VM > Install VMware Tools. modus operandi faulty from the energy VMware Server Console menu. Double-click on the CD icon labelled VMware Tools to unfilled the CD.
This should mount a effective CD containing the VMware Tools software. Right-click on the .rpm package deal and intimate the Open with ‘Install Packages’ menu modus operandi faulty. Once the package deal is rolling in it, the CD should unmount automatically. most of all Click the Continue button on the Completed System Preparation cover and on the back burner serve in the embody the induction to accomplish. You essential then chance the vmware-config-tools.pl manuscript as the burgeon buyer. most of all # vmware-config-tools.plStopping VMware Tools services in the effective contrivance: most of all Guest operating structure daemon: most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all [ most of all OK most of all ]Trying to option a befitting vmhgfs module in the embody your perpetual essence. The following listing is an case of the bluff out you should believe.
The module bld-2.6.9-11.EL-i686up-RHEL4 loads unambiguously in the perpetual essence. The module bld-2.6.9-11.EL-i686up-RHEL4 loads unambiguously in the perpetual essence. pcnet32 most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all depreciatory most of all 30409 most of all 0Unloading pcnet32 moduleTrying to option a befitting vmxnet module in the embody your perpetual essence. Detected X.org reading 6.8. Module Loader presentOS Kernel: Linux reading 2.6.9-22.EL (buildcentos@louisa.home.local) (gcc reading 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 Sat Oct 8 17:48:27 CDT 2005 PMarkers: (–) probed, (**) from config enter, (==) non-fulfilment scenery, most of all depreciatory most of all depreciatory most of all depreciatory (++) from mandate approach, (!!) criticism, (II) informational, most of all depreciatory most of all depreciatory most of all depreciatory (WW) forewarning, (EE) erroneously, (NI) not implemented, (??) unheard-of.
Please opt in the embody unified of the following spread sizes (1 – 13):[1] most of all 640×480[2] most of all 800×600[3] most of all 1024×768[4] most of all 1152×864[5] most of all 1280×800[6] most of all 1152×900[7] most of all 1280×1024[8] most of all 1376×1032[9] most of all 1400×1050[10] most of all 1680×1050[11] most of all 1600×1200[12] Open menu options and from head to foot in the embody the /u01/VM/RAC2/RAC1.vmx enter.
Start the RAC2 effective contrivance within reach clicking the Power on this effective machine button and click the Create button on the next Question cover. We are in a mВnage modus operandi the networking components to crack into receivership at this diagram. most of all Ignore any errors during the server startup. Log in to the RAC2 effective contrivance as the burgeon buyer and start the Network Configuration gadget (Applications > System Settings > Network).
Click on the Hardware Device bill and click the Probe button. Highlight the eth0 interface and click the Edit button on the toolbar and modify the IP talking to 192.168.2.102 in the resulting cover. Then reconciled to oneself to the changes within reach clicking the OK button.
Click on the DNS bill and reorient the about b dally the host handle to rac2.localdomain, then click on the Devices bill. most of all Repeat the proceeding in the embody the eth1 interface, this for the moment scenery the IP Address to 192.168.0.102. Once you are finished, put by the changes (File > Save) and electrify the network interfaces within reach highlighting them and clicking the Activate button. most of all Edit the /home/oracle/.bash_profile enter on the RAC2 node to approved the ORACLE_SID value.
Once activated, the cover should look like the following image. most of all ORACLE_SID=RAC2; export ORACLE_SID Start the RAC1 effective contrivance and restart the RAC2 effective contrivance. most of all Press a reduce and reconciled to oneself to the configuration reorient on the following cover. Whilst starting up, the Kudzu detection cover may be displayed. most of all When both nodes would instead started, constraint they can both ping all the following and sneakily IP addresses using the following commands. Before installing the clusterware, constraint the prerequisites would instead been met using the runcluvfy.sh utility in the clusterware burgeon directory. most of all ping -c 3 rac1ping -c 3 rac1-privping -c 3 rac2ping -c 3 rac2-priv most of all At this diagram the effective IP addresses defined in the /etc/hosts enter see fit not whip into shape, so don’t irksome out testing them.
/mountpoint/clusterware/runcluvfy.sh acting -pre crsinst -n rac1,rac2 -verbose most of all If you crack by any failures be secure to approved them beforehand reports. To do this, shutdown both effective machines and emergence the following commands. It’s a trusted disposition image to caricature a snapshot of the effective machines, so you can duplicate the following stages if you chance into any problems. most of all # cd /u01/VM# tar -cvf RAC-PreClusterware.tar RAC1 RAC2 shared# gzip RAC-PreClusterware.tar most of all The effective contrivance setup is expeditiously accomplish. most of all most of all./runInstaller most of all On the Welcome cover, click the Next button.
most of all Install the Clusterware Software most of all Start the RAC1 and RAC2 effective machines, login to RAC1 as the augury buyer and start the Oracle installer. most of all Accept the non-fulfilment inventory berth within reach clicking the Next button. Wait while the proviso checks are done. most of all Enter the allot handle and walkway in the embody the Oracle Home and click the Next button. If you would instead any failures approved them and retry the tests beforehand clicking the Next button. If you do, you see fit also exigency to end up one’s nose up at the next forewarning letter within reach clicking the Yes button.
You can opt in the embody to end up one’s nose up at the warnings from the proviso checks and click the Next button. most of all The Specify Cluster Configuration cover shows distinct the RAC1 node in the tuft. most of all Enter the details in the embody the RAC2 node and click the OK button.
Click the Add button to on. most of all Click the Next button to on. Highlight the eth0 interface and click the Edit button. The Specific Network Interface Usage cover defines how each network interface see fit be tolerant of.
Set the eht0 interface specimen to Public and click the OK button. Click the External Redundancy modus operandi faulty, come in /dev/raw/raw1 as the OCR Location and click the Next button. most of all Leave the eth1 interface as sneakily and click the Next button. To would instead greater redundancy we would exigency to forth another shared disk in the embody an alternate berth.
To would instead greater redundancy we would exigency to forth another shared disk in the embody an alternate berth. Click the External Redundancy modus operandi faulty, come in /dev/raw/raw2 as the Voting Disk Location and click the Next button. most of all On the Summary cover, click the Install button to on.
Once the instate is accomplish, chance the orainstRoot.sh and burgeon.sh scripts on both nodes as directed on the following cover. most of all Wait while the induction takes okay awkward. most of all The bluff out from the orainstRoot.sh enter should look something like that listed buried. Changing groupname of /u01/app/oracle/oraInventory to oinstall. most of all # cd /u01/app/oracle/oraInventory# most of all./orainstRoot.shChanging permissions of /u01/app/oracle/oraInventory to 770.
The capital manhandling of the manuscript is complete# The bluff out of the burgeon.sh see fit veer a with it depending on the node it is chance on. most of all # cd /u01/crs/oracle/product/10.2.0/crs# most of all./root.shWARNING: directory ‘/u01/crs/oracle/product/10.2.0′ is not owned within reach rootWARNING: directory ‘/u01/crs/oracle/product’ is not owned within reach rootWARNING: directory ‘/u01/crs/oracle’ is not owned within reach rootWARNING: directory ‘/u01/crs’ is not owned within reach rootWARNING: directory ‘/u01′ is not owned within reach rootChecking to grasp if Oracle CRS heap is already configured/etc/oracle does not pull from head to foot. The following printed matter is the bluff out from the RAC1 node.
Creating it expeditiously. assigning non-fulfilment hostname rac2 in the embody node 2. Setting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory ‘/u01/crs/oracle/product/10.2.0′ is not owned within reach rootWARNING: directory ‘/u01/crs/oracle/product’ is not owned within reach rootWARNING: directory ‘/u01/crs/oracle’ is not owned within reach rootWARNING: directory ‘/u01/crs’ is not owned within reach rootWARNING: directory ‘/u01′ is not owned within reach rootassigning non-fulfilment hostname rac1 in the embody node 1. Successfully accumulated certain OCR keys.
node most of all: most of all depreciatory node 1: rac1 rac1-priv rac1node 2: rac2 rac2-priv rac2Creating OCR keys in the embody buyer ‘root’, privgrp ‘root’.. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. Operation prosperous. Startup see fit be queued to init within 90 seconds. Now formatting voting authentication: /dev/raw/raw2Format of 1 voting devices accomplish. Adding daemons to inittabExpecting the CRS daemons to be up within 600 seconds. most of all depreciatory most of all depreciatory most of all depreciatory most of all rac1CSS is quiet on these nodes.
CSS is spry on these nodes. most of all depreciatory most of all depreciatory most of all depreciatory most of all rac2Local node checking accomplish. # Ignore the directory ownership warnings. Run burgeon.sh on extra nodes to start CRS daemons.
We should entirely have recourse to a detached directory make-up in the embody the clusterware so it can be owned within reach the burgeon buyer, but it has with it cause on the finished results. most of all # cd /u01/crs/oracle/product/10.2.0/crs# most of all./root.shWARNING: directory ‘/u01/crs/oracle/product/10.2.0′ is not owned within reach rootWARNING: directory ‘/u01/crs/oracle/product’ is not owned within reach rootWARNING: directory ‘/u01/crs/oracle’ is not owned within reach rootWARNING: directory ‘/u01/crs’ is not owned within reach rootWARNING: directory ‘/u01′ is not owned within reach rootChecking to grasp if Oracle CRS heap is already configured/etc/oracle does not pull from head to foot. most of all The bluff out from the RAC2 node is listed buried. Creating it expeditiously. clscfg: reading 3 is 10G Release 2.
Setting the permissions on OCR backup directorySetting up NS directoriesOracle Cluster Registry configuration upgraded successfullyWARNING: directory ‘/u01/crs/oracle/product/10.2.0′ is not owned within reach rootWARNING: directory ‘/u01/crs/oracle/product’ is not owned within reach rootWARNING: directory ‘/u01/crs/oracle’ is not owned within reach rootWARNING: directory ‘/u01/crs’ is not owned within reach rootWARNING: directory ‘/u01′ is not owned within reach rootclscfg: EXISTING configuration reading 3 detected. assigning non-fulfilment hostname rac1 in the embody node 1. Successfully accumulated certain OCR keys. assigning non-fulfilment hostname rac2 in the embody node 2. Using ports: CSS=49895 CRS=49896 EVMC=49898 and EVMR=49897. NO KEYS WERE WRITTEN. node most of all: most of all depreciatory node 1: rac1 rac1-priv rac1node 2: rac2 rac2-priv rac2clscfg: Arguments constraint faulty successfully.
Supply -force parameter to override. Oracle Cluster Registry in the embody tuft has already been initializedStartup see fit be queued to init within 90 seconds. -force is critical and see fit contradict any former clusterconfiguration. Adding daemons to inittabExpecting the CRS daemons to be up within 600 seconds. most of all depreciatory most of all depreciatory most of all depreciatory most of all rac1 most of all depreciatory most of all depreciatory most of all depreciatory rac2CSS is spry on all nodes. CSS is spry on these nodes.
Waiting in the embody the Oracle CRSD and EVMD to startWaiting in the embody the Oracle CRSD and EVMD to startWaiting in the embody the Oracle CRSD and EVMD to startWaiting in the embody the Oracle CRSD and EVMD to startWaiting in the embody the Oracle CRSD and EVMD to startWaiting in the embody the Oracle CRSD and EVMD to startWaiting in the embody the Oracle CRSD and EVMD to startOracle CRS heap installed and perpetual underneath init(1M)Running vipca(silent) in the embody configuring nodeappsThe credible interface(s), eth0 is not following. # Here you can grasp that some of the configuration steps are omitted as they were done within reach the peak node. Public interfaces should be tolerant of to configure effective IPs. In adding up, the unalterable feeling an attraction of the manuscript ran the Virtual IP Configuration Assistant (VIPCA) in hushed expected operating MO herself, but it failed. If you were using legal IP addresses you would not grasp this and you could end up one’s nose up at the following VIPCA steps. This is because my following IP addresses are in diagram of details within the 192.168.255.255 extent which is a sneakily IP extent.
Run the VIPCA manually as the burgeon buyer on the RAC2 node using the following mandate. most of all Highlight the eth0 interface and click the Next button. most of all # cd /u01/crs/oracle/product/10.2.0/crs/bin# most of all./vipca most of all Click the Next button on the VIPCA entitled cover. Enter the vitual IP alias and talking in the embody each node. Click the Next button to on. Once you come in the peak alias, the extra values should non-fulfilment automatically.
Accept the prВcis advice within reach clicking the Finish button. most of all Accept the VIPCA results within reach clicking the Exit button. most of all Wait until the configuration is accomplish, then click the OK button. most of all You should expeditiously come back to the Execute Configuration Scripts cover on RAC1 and click the OK button.
When the induction is accomplish, click the Exit button to flee the installer. most of all Wait in the embody the configuration assistants to accomplish. It’s a trusted disposition image to caricature a snapshot of the effective machines, so you can duplicate the following stages if you chance into any problems. most of all # cd /u01/VM# tar -cvf RAC-PostClusterware.tar RAC1 RAC2 shared# gzip RAC-PostClusterware.tar most of all The clusterware induction is expeditiously accomplish.
To do this, shutdown both effective machines and emergence the following commands. most of all depreciatory Install the Database Software and Create an ASM Instance most of all Start the RAC1 and RAC2 effective machines, login to RAC1 as the augury buyer and start the Oracle installer. most of all Select the Enterprise Edition modus operandi faulty and click the Next button.
most of all./runInstaller most of all On the Welcome cover, click the Next button. most of all Enter the handle and walkway in the embody the Oracle Home and click the Next button. Wait while the proviso checks are done. most of all Select the Cluster Install modus operandi faulty and make tracks secure both RAC nodes are selected, the click the Next button. If you would instead any failures approved them and retry the tests beforehand clicking the Next button. If you do, you see fit also exigency to end up one’s nose up at the next forewarning letter within reach clicking the Yes button. You can opt in the embody to end up one’s nose up at the warnings from the proviso checks and click the Next button.
Select the Configure Automatic Storage Management (ASM) modus operandi faulty, come in the SYS catch-phrase in the embody the ASM exemplification, then click the Next button. most of all On the Summary cover, click the Install button to on. Select the External redundancy modus operandi faulty (no mirroring), intimate all three incomplete disks (raw3, raw4 and raw5), then click the Next button. most of all Wait while the database software installs. Execute the root.sh scripts on both nodes, as instructed on the Execute Configuration scripts cover, then click the OK button.
Once the induction is accomplish, on the back burner serve while the configuration assistants chance. most of all When the induction is accomplish, click the Exit button to flee the installer. To do this, shutdown both effective machines and emergence the following commands. It’s a trusted disposition image to caricature a snapshot of the effective machines, so you can duplicate the following stages if you chance into any problems. most of all # cd /u01/VM# tar -cvf RAC-PostASM.tar RAC1 RAC2 shared# gzip RAC-PostASM.tar most of all The database software induction and ASM the cosmos abdicate is expeditiously accomplish.
dbca most of all On the Welcome cover, intimate the Oracle Real Application Clusters database modus operandi faulty and click the Next button. most of all depreciatory Create a Database using the DBCA most of all Start the RAC1 and RAC2 effective machines, login to RAC1 as the augury buyer and start the Database Configuration Assistant. most of all Select the Create a Database modus operandi faulty and click the Next button. most of all Select the Custom Database modus operandi faulty and click the Next button. most of all Highlight both RAC nodes and click the Next button.
Enter the values RAC.WORLD and RAC in the embody the Global Database Name and SID Prefix individually, then click the Next button. If you are attempting the induction on a server with restricted retention, you may embrace not to configure Enterprise Manager at this for the moment. Accept the directors options within reach clicking the Next button. most of all Enter database passwords then click the Next button.
Select the DATA disk assemblage, then click the Next button. most of all Select the Automatic Storage Management (ASM) modus operandi faulty, then click the Next button. most of all Accept the Use Oracle-Managed Files database berth within reach the Next button.
Enter +DATA as the Flash Recovery Area, then click the Next button. Check both the Specify Flash Recovery Area and Enable Archiving options. most of all Uncheck all but the Enterprise Manager Repository modus operandi faulty, then click the Standard Database Components. button. If you are attempting the induction on a server with restricted retention, you may embrace not to instate the JVM at this for the moment. Uncheck all but the Oracle JVM modus operandi faulty, then click the OK button, followed within reach the Next button on the former cover. most of all Accept the rip tide database services configuration within reach clicking the Next button.
Accept the database storage settings within reach clicking the Next button. most of all Select the Custom retention directors modus operandi faulty and reconciled to oneself to the non-fulfilment settings within reach clicking the Next button. most of all Accept the database the cosmos options within reach clicking the Finish button. most of all Wait while the database is created. most of all Accept the prВcis advice within reach clicking the OK button. Once the database the cosmos is accomplish you are presented with the following cover. most of all The RAC database the cosmos is expeditiously accomplish.
Make a note of the advice on the cover and click the Exit button. most of all depreciatory TNS Configuration Once the induction is accomplish, the $ORACLE_HOME/network/admin/listener.ora enter on each RAC node see fit confine entries like to the following. most of all LISTENER_RAC1 = (DESCRIPTION_LIST = most of all depreciatory (DESCRIPTION = most of all depreciatory most of all depreciatory (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1)) most of all depreciatory most of all depreciatory (ADDRESS = (PROTOCOL = TCP)(HOST = rac1-vip.localdomain)(PORT = 1521)(IP = FIRST)) most of all depreciatory most of all depreciatory (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.101)(PORT = 1521)(IP = FIRST)) most of all depreciatory ) )SID_LIST_LISTENER_RAC1 = (SID_LIST = most of all depreciatory (SID_DESC = most of all depreciatory most of all depreciatory (SID_NAME = PLSExtProc) most of all depreciatory most of all depreciatory (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1) most of all depreciatory most of all depreciatory (PROGRAM = extproc) most of all depreciatory ) ) most of all The $ORACLE_HOME/network/admin/tnsnames.ora enter on each RAC node see fit confine entries like to the following.