5.installing oracle grid_11g_r2_on_red_hat_enterp

35
Installing Oracle Grid 11gR2 on Red Hat Enterprise Linux 5

description

Huong dan cai dat Oracle grid tren RedHat Enterprise Linux.

Transcript of 5.installing oracle grid_11g_r2_on_red_hat_enterp

Page 1: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Installing Oracle Grid 11gR2 on Red Hat Enterprise Linux 5 

Page 2: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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 ~]$ date

              Wed Jun  9 22:17:06 PDT 2010

              [grid@jerry ~]$ date

              Wed 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 adjust the 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

Page 3: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 4: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Select "Advanced installation".

Page 5: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Accept "English".

Page 6: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 7: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 8: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 9: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Wait for Installer to establish SSH connectivity between the nodes.

Page 10: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 11: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Click "Next" to proceed to the next window.

Page 12: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 13: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Choose "Automatic Storage Management".

Page 14: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Enter required Disk Group information.

Page 15: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 16: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

message box pops up, click “Yes” to proceed.

Page 17: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 18: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Select the OS groups as indicated.

Page 19: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 20: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Confirm the Inventory Directory location.

Page 21: 5.installing oracle grid_11g_r2_on_red_hat_enterp

The Installer will perform prerequisite checks.

Page 22: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Select “Ignore All” checkbox on the upper right.

Page 23: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 24: 5.installing oracle grid_11g_r2_on_red_hat_enterp

 Oracle Grid 11gR2 installation starts.

Page 25: 5.installing oracle grid_11g_r2_on_red_hat_enterp

"Execute Configuration scripts" window will pop up after some time.

Page 26: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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.

Page 27: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 28: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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)

Page 29: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Click "Close" button to exit the Installer.

Page 30: 5.installing oracle grid_11g_r2_on_red_hat_enterp

 

The Grid software installation is complete!

Page 31: 5.installing oracle grid_11g_r2_on_red_hat_enterp

 

Creating Additional Disk Groups before Oracle 11gR2 RAC installation

Page 32: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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

Page 33: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Create disk group "Data".

Page 34: 5.installing oracle grid_11g_r2_on_red_hat_enterp

Create disk group "FRA".

Page 35: 5.installing oracle grid_11g_r2_on_red_hat_enterp

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