5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

download 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

of 35

Transcript of 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    1/35

    Installing Oracle Grid 11gR2 onRed Hat Enterprise Linux 5

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    2/35

    Preparation Steps Login to virtual server tom as user grid. Copy linux_11gR2_grid.zip into /u01/staging. Unzip the file using "unzip" command:

    [grid@tom staging]$ unzip linux_11gR2_grid.zip Make sure the time settings on tom and jerry are in sync:

    [grid@tom ~]$ dateWed Jun 9 22:17:06 PDT 2010[grid@jerry ~]$ dateWed Jun 9 22:17:07 PDT 2010

    If the time difference is more than a few seconds, the installation could fail, so you would have to adjustthe time, for example:

    [root@tom ~]$ date +%T -s "10:13:13"[root@jerry ~]$ date +%T -s "10:13:13"

    Go to /u01/staging/grid directory and start the installation by issuing:./runInstaller

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    3/35

    Select "Install and Configure Grid Infrastructure for a Cluster".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    4/35

    Select "Advanced installation".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    5/35

    Accept "English".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    6/35

    Enter values for "Cluster Name", "SCAN Name", and "SCAN Port". Also,deselect "Configure GNS" checkbox.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    7/35

    Click "Add" button to add jerry to the Grid Infrastructure configuration.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    8/35

    Click "SSH Connectivity" button, enter OS password for user "grid", andthen click "Setup".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    9/35

    Wait for Installer to establish SSH connectivity between the nodes.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    10/35

    After SSH connectivity between the nodes is successfully established,click "OK".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    11/35

    Click "Next" to proceed to the next window.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    12/35

    Confirm settings on the "Network Interface Usage" screen. Ifnecessary, make appropriate changes.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    13/35

    Choose "Automatic Storage Management".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    14/35

    Enter required Disk Group information.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    15/35

    Select "Use same password for these accounts"; enter and confirmpassword of your choice.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    16/35

    For our purpose we can ignore "[INS-30011] The password entereddoes not conform to the Oracle recommended standards." warning. If

    the message box pops up, click Yes to proceed.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    17/35

    Select "Do not use Intelligent Platform Management Interface (IPMI)".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    18/35

    Select the OS groups as indicated.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    19/35

    Confirm the locations for "Oracle Base" and "Software Location".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    20/35

    Confirm the Inventory Directory location.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    21/35

    The Installer will perform prerequisite checks.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    22/35

    Select Ignore All checkbox on the upper right.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    23/35

    Verify information one the "Summary" screen and click "Finish".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    24/35

    Oracle Grid 11gR2 installation starts.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    25/35

    E ti " t" i t i th i ht d

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    26/35

    Executing "root" scripts in the right order

    a. Execute orainstRoot.sh script on tom first and wait for successful comlpetion:[root@tom ~]$ /u01/app/oraInventory/orainstRoot.sh

    b. Execute orainstRoot.sh script on jerry only after it successfully completes on tom:[root@jerry ~]$ /u01/app/oraInventory/orainstRoot.sh

    c. Execute root.sh script on tom first and wait for successful comlpetion:[root@tom ~]$ /u01/app/11.2.0/grid/root.sh

    d. Execute root.sh script on jerry only after it successfully completes on tom:[root@jerry ~]$ /u01/app/11.2.0/grid/root.sh

    e. Click "OK" on "Execute Configuration Scripts" window.

    Wh t if t i t f il ?

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    27/35

    What if a root script fails?

    If any of the above scripts fails, do not try to rerun. To deconfigure unsuccessful installation (as user root):

    # cd /u01/app/11.2.0/grid/crs/install# perl rootcrs.pl - deconfig -force [-lastnode]

    To completely uninstall (as user grid):

    $ /u01/app/11.2.0/grid/deinstall/deinstall

    P ibl B 8670579

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    28/35

    Possible Bug 8670579

    Happens when 32-bit client OS (Linux) is installed on 64 bit host OS on certain types of hardware Known bug 8670579 Download Patch 8670579 (p8670579_112010_LINUX.zip) from Oracle Support site (account

    required) Deconfigure Grid as previously explained

    Install Patch 8670579

    Rerun root script(s)

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    29/35

    Click "Close" button to exit the Installer.

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    30/35

    The Grid softwareinstallation is complete!

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    31/35

    Creating Additional DiskGroups before Oracle

    11gR2 RAC installation

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    32/35

    Login to virtual server tom as user grid and start ASMCA. Click "Create".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    33/35

    Create disk group "Data".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    34/35

    Create disk group "FRA".

  • 7/28/2019 5.Installing Oracle Grid 11gR2 on Red Hat Enterp (1)

    35/35

    Verify information for the 2 newly created groups and click "Exit".