Monthly Archives: February 2014

Oracle Database 12c on Oracle Linux 6 – Step 3: Configure an Oracle Linux Virtual Machine

This is part of this series of posts: Oracle 12c on Oracle Linux 6

In this step we’ll configure a virtual machine that we will install Oracle Linux on in the next step.

03-01

Double click the Oracle VM VirtualBox icon on your desktop.

03-02

Click New to create a new VM.

03-03

Enter Oracle 12c on Oracle Linux 6.4 as the name, choose Linux for the type and Oracle (64 bit) as the Version.

Note:

Make sure that the Version is Oracle (64 bit) and not just Oracle which ends up getting auto populated for you.

03-04

Enter an amount of memory and click Next.

Note:

Use as much memory as you can on your machine. Since I’ve got 8 GB of RAM, I used 6 GB for the virtual machine. If you use less than 4 GB of memory, you’ll get some warnings during the install of Oracle grid which you can ignore. If you only have 4 GB of RAM total on your machine, then use at least 3 GB for the VM.

If you only have 4 GB of RAM on your machine then it might be better to go with 11g R2 instead of 12c. Some folks have had failures when only 4GB was allocated to the virtual machine.

03-05

Choose Create a virtual hard drive now and click Create.

03-06

Select VDI (VirtualBox Disk Image) and click Next.

03-07

Choose Dynamically allocated and click Next.

Note:

This is a test system so we’re going to go with dynamically allocated disks. Fixed size disks are faster, but they will take up much more room. Using all the disk sizes presented in the guide, I ended up with 40.5 GB of used space for the VM by the end of the install.

03-08

Change the size to 100 GB and click Create.

Note:

When entering the size in the box (much easier than using the slider) you have to add the GB at the end of your 100 to get 100 GB. If you don’t put the GB you’ll end up with 100 MB which won’t work.

03-09

Click the word System in the details pane to bring up the System dialog box.

03-10

Remove the Floppy (uncheck) and optionally change the order of the Hard Disk and the CD/DVD-ROM.

03-11

Click the Processor Tab and enter the number of processors.

Note:

Ideally you can set this to be as many physical cores as there are on your CPU(s), I chose 4.

03-12

Click the Acceleration tab and confirm that the two boxes are checked.

Note:

Remember that your processor has to support these features.

03-13

Select the Storage choice on the left hand side of the dialog and then select Empty below the Controller: IDE and then click the disk icon in the Attributes section.

03-14

Navigate to your Downloads folder, select the Oracle Linux 6.4.iso file and click Open.

03-15

You should see the Oracle Linux 6.4.iso under the Controller: IDE.

03-16

Select Controller: SATA in the Storage Tree and click on the Add Hard Disk icon (the one on the right).

03-17

Click Create new disk.

03-18

Choose VDI (Virtual Disk Image) and click Next.

03-19

Choose Dynamically allocated and click Next.

03-20

Name the disk ASMDISK01 and change the size to 300 GB.

Note:

300GB is big, but using Oracle 12c Oracle now requires 22 GB to install a container DB with a pluggable DB. 300 GB is also a common size for fast 15K hard drives, so I went with 300 GB. Since these are dynamically allocated disks, they are not going to take up 300 GB each. If you decided to go the fixed disk route, then you’ll need to make these about 12 GB each.

03-21

Repeat the previous ASM disk creation steps 12 more times changing the disk names to ASMDISK02 to ASMDISK13.

Note:

We really only need this many disks to follow the Oracle training (for 11g classes). 8 gives us 4 each for the +DATA and +FRA disk groups which would be more than enough.

03-22

When finished you should have a storage configuration that looks like the above. Click OK.

Oracle Database 12c on Oracle Linux 6 – Step 2: Download the Oracle Linux 6.4 iso < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 4: Install Oracle Linux in the Virtual Machine

Advertisements

Oracle Database 12c on Oracle Linux 6 – Step 2: Download the Oracle Linux 6.4 iso

Part of this series of posts: Oracle Database 12c on Oracle Linux 6

In this step we’ll grab Oracle Linux from the eDelivery site. Note that you could see a different (more recent) version and give that a try if you’d like. I used 6.4 and it worked just fine.

02-01

Using your browser, go to http://edelivery.oracle.com/linux and click Sign In/Register.

Note:

There are two different Oracle Software Delivery Cloud sites. One is for Oracle Linux and Oracle VM, the other if for everything else Oracle. Make sure to add the /linux to the eDelivery url or you’ll end up in the wrong place.

02-02

Enter your Oracle.com Username and Password and click Sign In.

Note:

If you didn’t sign up for an Oracle.com account yet, click the Sign Up button and complete the registration process.

02-03

Check both agreement terms and click Continue.

02-04

Choose Oracle Linux for Select a Product Pack and x86 64 bit for Platform and click Go.

02-05

Click the Oracle Linux Release 6 Update 4 Media Pack for x86_64 (64 bit) link.

Note:

If, by the time you read this, there is a later version of the Oracle Linux media, feel free to give it a try. As long as it’s a higher release than 6.4, it probably should work. If it doesn’t just look for the 6.4 version and use that.

02-06

Click the Download button for Oracle Linux Release 6 Update 4 for x86_64 (64 bit).

02-07

Chose Save File and click OK.

02-08

Using Windows Explorer, open your Downloads folder and find the V37084-01.iso file.

Note:

The name of the file could be different if you’ve used a later version of the file. Adjust accordingly.

02-09

Change the file name to Oracle Linux 6.4.iso.

Oracle Database 12c on Oracle Linux 6 – Step 1: Download and Install Oracle VirtualBox and Oracle VirtualBox Extension Pack < Previous Post – Next Post > Oracle Database 12c on Oracle Linux 6 – Step 3: Configure an Oracle Linux Virtual Machine