7
 The Gruff DBA When you just want this Oracle @&$! to work… Oracle 12 cR1 12.1.0.1 2-node R  AC on CentOS 6.4 on VMware Workstation 9 – Part I Posted on July 10, 2013 by oraclejedi • Posted in Linux   , Oracle, RAC, VMware • Tagged 12.1.0.1, 12c, 12cR1, 12cR1 RAC, centos, CentOS 6.4, install, red hat, Red Hat 6.4, step by step   , VMWare Workstation • 1 Comment Time Required: 60 minutes Class Materials: 60GB of free disk An operational VMware Workstation 9 or later install CentOS 6.4 64bit ISO install media To create our Oracle 12c RAC database on VMware Workstation 9, we first need to create a Linux VM. Oracle 12c will eventually be released for a multitude of platforms, but the initial release only support Solaris SPARC, Solaris x86 and Oracle Linux 6.4. I don’t own a SPARC machine, so instead I am going to install Oracle 12c RAC on CentOS 6.4.  

Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

  • Upload
    vineet

  • View
    52

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

7/18/2019 Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

http://slidepdf.com/reader/full/oracle-12cr1-12101-2-node-rac-on-centos-6-part-1pdf 1/8

The Gruff DBA

When you just want this Oracle @&$! to work…

Oracle 12cR1 12.1.0.1 2-node R AC on CentOS 6.4 on VMware

Workstation 9 – Part IPosted on July 10, 2013 by oraclejedi • Posted in Linux

 , Oracle, RAC, VMware • Tagged 12.1.0.1, 12c, 12cR1, 12cR1 RAC, centos,CentOS 6.4, install, red hat, Red Hat 6.4, step by step

 , VMWare Workstation • 1 CommentTime Required: 60 minutes

Class Materials:

60GB of free diskAn operational VMware Workstation 9 or later installCentOS 6.4 64‑bit ISO install media

To create our Oracle 12c RAC database on VMware Workstation 9, we first need to create a Linux VM.

Oracle 12c will eventually be released for a multitude of platforms, but the initial release only support Solaris SPARC, Solaris x86and Oracle Linux 6.4.

I don’t own a SPARC machine, so instead I am going to install Oracle 12c RAC on CentOS 6.4.

 

Page 2: Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

7/18/2019 Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

http://slidepdf.com/reader/full/oracle-12cr1-12101-2-node-rac-on-centos-6-part-1pdf 2/8

VMware makes the initial OS install super simple, with the use of the Easy Installer facility. To start, use the VMware interface tocreate a new VM – we are going to create a Custom (advanced) VM.

(https://gruffdba.files.wordpress.com/2013/07/rac12c_newvm01.jpg)

On the next screen we confirm that our new VM will be compatible with Workstation 9.0. On the next screen we point theinstaller at our ISO DVD image containing the CentOS 6.4 install media.

Page 3: Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

7/18/2019 Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

http://slidepdf.com/reader/full/oracle-12cr1-12101-2-node-rac-on-centos-6-part-1pdf 3/8

(https://gruffdba.files.wordpress.com/2013/07/rac12c_newvm02.jpg)

On the next screen we create a basic user. The password specified here will apply to the root account as well. Since I am going tocreate the oracle user later on, I create a dummy account at this point.

(https://gruffdba.files.wordpress.com/2013/07/rac12c_newvm03.jpg)

Page 4: Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

7/18/2019 Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

http://slidepdf.com/reader/full/oracle-12cr1-12101-2-node-rac-on-centos-6-part-1pdf 4/8

On the next screen we name our VM. I am going to continue my operatic theme from my earlier RAC blog posts Oracle 11gR2 2‑node RAC on VMWare Workstation 8 and Oracle 11gR2 11.2.0.3 2‑node RAC on Windows 2008 on VMWare Workstation 9 , and this timedraw from the opera La Rondine. My first VM is named Ruggero , but obviously you can choose whatever you like.

(https://gruffdba.files.wordpress.com/2013/07/rac12c_newvm04.jpg)

VMware Workstation then allows us to set the location for the VM files so accept the default.

At the next screen select a single processor with two cores.

Next we set the amount of RAM for our new VM. In 11g we could get away with a 2GB VM, but no longer. Oracle 12c RACrequires an absolute minimum of 3GB per host, and 4GB is barely usable.

If you have an 8GB host then stick with 3GB per VM. Your implementation will be slow, and you will have to ignore a number ofwarnings and errors from the cluster verification tool, but it will be functional.

If you have 12GB or more, then use 4GB per VM. Note that due to the way Linux manages memory, a setting of 4096KB will yielda visible memory amount of 3.76GB to Linux, which is less than the required 4GB of the 12c cluster verification tool. Considerusing 4416MB per host for minimal clean install.

 

Page 5: Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

7/18/2019 Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

http://slidepdf.com/reader/full/oracle-12cr1-12101-2-node-rac-on-centos-6-part-1pdf 5/8

If you have a 16GB host, then I recommend you use a 6GB per VM setting to avoid a multitude of warnings and problems withthe installer. Yes, this release is a hog.

I have found little advantage to the install process of setting the VM memory size larger than 6GB, but if you plan to do someheavy testing with your virtual 12c RAC then you may choose to use a larger size.

Next we set the networking option. Select “Use Bridged Networking”. This will allow our VM to have its own IP on the network

and should allow you to access the Internet from inside the VM. Since I am deploying this on a laptop, that IP will change as Itravel, but that’s okay.

Next we add a SCSI controller. Again we will revisit this later on, but for now we can select the recommended LSI Logic option.

(https://gruffdba.files.wordpress.com/2013/07/009‑new‑vm.jpg)

Next we add a SCSI disk to our VM. Each of our two RAC VMs will eventually have a local disk each, plus access to shared disks, but for now we can simply “Create a new virtual disk”.

(https://gruffdba.files.wordpress.com/2013/07/010‑new‑vm.jpg)

Next we select SCSI  as the disk type.

(https://gruffdba.files.wordpress.com/2013/07/011‑new‑vm.jpg)

Next we size the new disk at 40GB and select “Split virtual disk into multiple files”. At the end of the install the new disk willactually be about 6GB, but sizing it larger allows us to install the Oracle binaries later on.

Page 6: Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

7/18/2019 Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

http://slidepdf.com/reader/full/oracle-12cr1-12101-2-node-rac-on-centos-6-part-1pdf 6/8

(https://gruffdba.files.wordpress.com/2013/07/rac12c_newvm06.jpg)

Specify the disk file name and click Next. Finally we are ready to create our new VM. If everything looks good, click the Finish button to start the Easy Install process.

VMware Workstation will now load the CentOS 6.4 operating system into your new VM as well as handle all initial start up taskssuch as setting time zones, setting security policy, partitioning the local disk and so on.

If we are successful, at the end of the process we should have a CentOS 6.4 login screen:

(https://gruffdba.files.wordpress.com/2013/07/rac12c_newvm19.png)

Page 8: Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

7/18/2019 Oracle 12cR1 12.1.0.1 2-node RAC on CentOS 6 Part 1.pdf

http://slidepdf.com/reader/full/oracle-12cr1-12101-2-node-rac-on-centos-6-part-1pdf 8/8

Create a free website or blog at WordPress.com. The Skylark Theme.

Follow

Follow “The Gruff DBA”

Build a website with WordPress.com