Turing's Man Blog

Part 5. Oracle Database 11gR2 installation with Oracle Universal Installer on Solaris 11.1

Bookmark and Share

We will now install Oracle Database 11gR2 with Oracle Universal Installer, which we have successfully run in the end of part 4 of this series. After Oracle Database 11gR2 binaries installation we will create and configure a database instance with the dedicated tool – Oracle Database Configuration Assistant (DBCA). Although, usually DBCA is run in the last stage of OUI installation process, this is not a rule. If the Oracle database environment is configured properly, we can run DBCA at any given moment to handle database instances in our system. Also, we can run DBCA separately, if OUI reported some non-critical errors which prevented successful database creation – as in our case here.

 

Firstly, if OUI started successfully (passed all initial checks in the console mode), but then there was an error message:

[INS-13001] Environment does not meet minimum requirements

 

This can mean two things. In fact, our system does not meet minimum requirements and we have to take care of this issue. Maybe, it is enough to check the whole configuration and prerequisites fulfillment once again? Kernel parameters? Patches? Is our operating system really supported by this version of Oracle Database 10gR2 (which version, exactly)? It's possible that we forgot about something important which can still be more or less easily handled.

However, things can be more enigmatic – if we are sure that all the requirements are met or even exceeded. In such case, the best option is to look for help on free OTN forums or paid My Oracle Support (MOS, previously known as Metalink). There is a chance to get some help from Oracle experts available on the OTN forums – but please note, that due to the license requirements, it is prohibited to publish the information available via My Oracle Support on-line service. All in all it's commercial, requires an user account to be created and assigned to the company's CSI number (valid support contract is necessary).

Finally, to better understand what is going on we can generate the report in response file, by executing the following command:

./runInstaller –executePrereqs –silent –responseFile <responsefile>.rsp

 

Also, in some specific cases, when we are not installing a production environment, we can make a decision to go on with the OUI, even if there was an error reported. Everything depends on type of error. Once again – we can do a little bit more in test environments, but in production environments such approach is not acceptable. We can even skip the prerequisites checks and invoke OUI with the following command:

./runInstaller –ignoreSysPrereqs

 

Although, prerequisites checking is our friend in most cases.

 

Once we ran OUI, we will see the following sequence of screens – each one for each step of OUI.

The first step in OUI is to configure security updates. As we install in the test environment, we can skip this option.

 

Oracle Universal Installer, step 1a

 

Oracle Universal Installer, step 1b

 

Then, in the second step, we have to decide what we plan to do with the help of OUI. In our case we have to select: "Create and configure a database" (this means that after OUI, there will be DBCA launched).

 

Oracle Universal Installer, step 2

 

In the third step, let's select "Desktop class" database. This will make our live simpler and is more adequate to the purpose of our exercise. We're only exploring the basics of standalone Oracle database installation, we don't think about RAC (Realtime Application Cluster) or grid technologies.

 

Oracle Universal Installer, step 3

 

Then, in step four, we have to provide all the required data very carefully. Please note, that if we change paths, we will have to take care about ".bash_profile" file we created previously (see part 4 of this series). Therefore, let's copy all the values from the screenshot presented below.

 

Oracle Universal Installer, step 4

 

In step five we have to provide additional information – path to Oracle Inventory (a place where installation files will be copied) and oraInventory group name (a group which owns oraInventory directory). Sixth step is Prerequisite Checks  if skipped during launch of OUI, then it will not be performed.

 

Oracle Universal Installer, step 5

 

Step seven provides the summary of all options we selected until now. We should refer to them and double-check before going to the next step. Please note, that source location here is different than presented in part 4 of this series. However, this is not an important difference – everything depends on the fact where we unzipped our Oracle Database 11gR2 installation disks and from which location we started OUI. So, this can be also different in your specific case.

 

Oracle Universal Installer, step 7

 

Step eight – actual installation.

 

Oracle Universal Installer, step 8a



We can see that near the end of OUI installation process, DBCA tool is going to be started (database instance creation).

 

Oracle Universal Installer, step 8b

 

Unfortunately, in our case DBCA failed to start. The reported reason is lack of seed database instance schema file – Seed_Database.dbf. This is not critical – however, should be examined separately, if we cannot provide the required file on-demand (in fact this error was generated due improper file copying operation between directories – we will cover this issue in more details later).

 

Oracle Universal Installer, step 8c

 

So, let's continue (OK > Skip). As we can see, Oracle DBCA step was ignored. That's OK. Now, OUI will ask us to execute two scripts from the presented location. Please note, we have to use root role to execute these scripts under Solaris 11.1. Also, it's worth to remember that this is the only moment in which Oracle requires us to work with root role privileges during the whole OUI installation process.

 

Oracle Universal Installer, step 8d

 

Then, 100% of OUI installation process is completed (please note – although, DBCA was skipped).

 

Oracle Universal Installer, step 8e

 

The last step – ninth – "The installation of Oracle Database was successful". However, the fun is yet to begin.

 

 

 We will now continue with the DBCA – Database Configuration Assistant – in the next, sixth, part of this series. We have to create general purpose database instance for the next planned exercises.

 

 

Bookmark and Share

Add comment


Security code
Refresh