Quantcast
Channel: TechCenter
Viewing all articles
Browse latest Browse all 2350

4.1.1.1.0 How do I Install a Standalone Oracle Database?

$
0
0
Revision 8 posted to Oracle Solutions by DELL-Balamurugan B on 3/18/2013 1:14:00 AM

4.1.1.1.0 How do I Install a Standalone Oracle Database?

How do I Install a Standalone Oracle Database?

Applies to:

RHEL 5.x, RHEL6.x

Author:

Kamal

Problem:

How do I install a Standalone Oracle Database?

Solution:

Before you install the Oracle 11g R2 Grid Infrastructure software for a Standalone Server on your system:

  • Ensure that you have already configured your operating system, network, and storage based on the steps from the previous sections within this document.
  • Locate your Oracle 11g R2 media kit.
  • Log in as root
  •  If you are not in a graphical environment, start the X Window System by typing: startx
  • Open a terminal window and type: xhost +
  • Mount the Oracle Grid Infrastructure media.
  • Log in as grid user, for example: su - grid.
  • Type the following command to start the Oracle Universal Installer:<CD_mountpoint>/runInstaller
  • In the Download Software Updates window, enter your My Oracle Support credentials to download the latest patch updates. If you choose not to download the latest patches, select Skip software updates.

In the Select Installation Option window, select Install and Configure Grid Infrastructure for a Standalone Server and click Next.

In the Create ASM Disk Group window, enter the following information:

  • ASM diskgroup— Enter a name, for example: DATA
  • Redundancy— For your ASM disks, select High if five ASM disks are available, select Normal if three ASM disks are available, or select External if one ASM disk is available (not recommended).

NOTE: If no candidate disks are displayed, click Change Discovery Path and enter ORCL:*or /dev/oracleasm/disks/*. Ensure that you have marked your Oracle ASM disks, for more informations see,"Using ASMLib to Mark the Shared Disks as Candidate Disks".

Click on Use Same Passwords for these accounts & Click Next

Leave the Operating System Groups to be default, Ignore the Warning and Click Next

Choose the Oracle Base and Software Location, and Click Next.

The Prerequisite Checks are performed& the summary screen is presented. Click Next on the summary screen.

The Installation proceeds. And the Progress is seen in the setup screen.

After the installation is complete, the Execute Configuration Scripts wizard is displayed. Complete the instructions in the wizard and click Ok.



Now that the Grid Infrastructure is installed, let’s now install the Database. 

Installing Oracle 11g R2 Database (RDBMS) Software

The following steps are for node 1 of your cluster environment, unless otherwise specified.

  1. Log in as root and type: xhost +.
  2. Mount the Oracle Database 11gR2 media. 
  3. Log out as root user and log in as Oracle user by typing: 
    su - oracle 
  4. Run the installer script from your Oracle database media:
    <CD_mount>/runInstaller
  5. In the Configure Security Updates window, enter your My Oracle
    Support credentials to receive security updates, else click Next.



  • In the Download Software Updates window, enter your My Oracle Support credentials to download patch updates available after the initial release. If you choose not to update at this time, select Skip software updates and click Next.



  • In the Select Installation Option window, select Install database software only.



  • In the Grid Installation Options window: Select Single Instance database installation and Click Next.


  • In the Select Product Lanaguages window, select English as the Language Option and click Next.

  • In the Select Database Edition window, select Enterprise Edition and click Next.



  • In the Installation Location window,
    • Specify the location of your Oracle Base configured within the Dell oracle utilities RPM.
    • NOTE: The default locations used within the Dell Oracle utilites RPM are as follows:
      • Oracle Base—/u01/app/oracle
      • Software Location—/u01/app/oracle/product/11.2.0/db_1






     
  • In the Privileged Operating System Groups window, select dba for Database Administrator (OSDBA) Group and oinstall for Database Operator (OSOPER) Group and click Next.



  • In the Perform Prerequisite Checks window, check the overall status of all the prerequisites.
    • If any prerequisites fail and have the status as Fixable, click the Fix & Check Again button.
    • Execute the runfixup.sh script provided by the Oracle OUI.

      NOTE: If there are other prerequisites that display status Error, repeat step 13, If the Error status still persists after all changes have been fixed, select Ignore All.






    • In the Summary window, select Install.



    • On completion of the installation process, the Execute Configuration scripts wizard is displayed. Follow the instructions in the wizard and click Ok.






    • In the Finish window, click Close.

    Creating Database Using DBCA

    1. Login as oracle user.
    2. From $<ORACLE_HOME>, run the DBCA utility by typing:
      $<ORACLE_HOME>/bin/dbca &
    3. In the Welcome window, select Oracle Single Instance Database and click Next.

    In the operations window, select Create Database, and Click Next

    Select Custom Database Option the Database Templates Screen

    In the Database Identification window:

    1. Provide the Global Database Name
    2. Provide the SID

    In the Management Options window, select the default values and click Next.



    In the Database Credentials window, enter the appropriate credentials for your Database.

    In the Database File Location window, select:

    1. Automatic Storage Management (ASM) for Storage Type.
    2. Use Oracle-Managed Files for Storage Location.
    3. Browse to select the ASM disk group that you created to store the database files (DBDG)for Database Area.



    In the Select Disk Group sub window, Select the Disk Group

    In the Recovery Configuration window,

    a)      Specify Fast Recovery Area

    b)      Enable Archiving  

    Choose these options according to your environment and click Next



    In the Database Content Window, Click Next

    In the Initialization Parameters window:

    1. Select Custom.
    2. For the Memory Management section, select Automatic Shared Memory Management.
    3. Specify appropriate values for the SGA Size and PGA Size.
    4. Click Next.

    In the Database Storage window, click Next

    In the Creation Options Window, click Next

    In the Summary window, click Ok to create Database.



    Click Exit on the Database Configuration Assistant window after the database creation is complete.




    Viewing all articles
    Browse latest Browse all 2350

    Trending Articles



    <script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>