Learn how to set up and configure an Oracle rac 10




Download 0.57 Mb.
NameLearn how to set up and configure an Oracle rac 10
page7/9
A typeDocumentation
manual-guide.com > manual > Documentation
1   2   3   4   5   6   7   8   9

Verifying CRS Installation

After installing CRS, we can run through several tests to verify the install was successful. Run the following commands on all nodes in the RAC cluster.

Check cluster nodes

$ /u01/app/oracle/product/10.1.0/crs_1/bin/olsnodes -n

linux1 1

linux2 2

Check CRS Auto-Start Scripts

$ ls -l /etc/init.d/init.*

-r-xr-xr-x 1 root root 1207 Feb 5 19:41 /etc/init.d/init.crs*

-r-xr-xr-x 1 root root 5492 Feb 5 19:41 /etc/init.d/init.crsd*

-r-xr-xr-x 1 root root 18617 Feb 5 19:41 /etc/init.d/init.cssd*

-r-xr-xr-x 1 root root 4553 Feb 5 19:41 /etc/init.d/init.evmd*
20. Install Oracle Database 10g Software

Perform the following installation procedures on only one node in the cluster! The Oracle database software will be installed to all other nodes in the cluster by the Oracle Universal Installer.

After successfully installing the Oracle CRS software, the next step is to install the Oracle Database 10g (10.1.0.3 or later) with RAC. (Note: At the time of this writing, the OUI for Oracle 10g was unable to discover disks/volumes that were marked as Linux ASMLib. As a result, we will forgo the "Create Database" option when installing the Oracle 10g software. We will, instead, create the database using the Database Creation Assistant, or DBCA, after the Oracle Database 10g install. (For more install information, click here.)

Verifying Environment Variables

Before starting the OUI, you should first run the xhost command as root from the console to allow X Server connections. Then unset the ORACLE_HOME variable and verify that each of the nodes in the RAC cluster defines a unique ORACLE_SID. We also should verify that we are logged in as the oracle user account:

Login as oracle

# xhost +

access control disabled, clients can connect from any host
# su - oracle

Unset ORACLE_HOME

$ unset ORA_CRS_HOME

$ unset ORACLE_HOME

$ unset ORA_NLS33

$ unset TNS_ADMIN

Verify Environment Variables on linux1

$ env | grep ORA

ORACLE_SID=orcl1

ORACLE_BASE=/u01/app/oracle

ORACLE_TERM=xterm

Verify Environment Variables on linux2

$ env | grep ORA

ORACLE_SID=orcl2

ORACLE_BASE=/u01/app/oracle

ORACLE_TERM=xterm

Installing Oracle Database 10g Software

Install the Oracle Database 10g software with the following:

$ cd ~oracle

$ /u01/app/oracle/orainstall/db/Disk1/runInstaller -ignoreSysPrereqs

Screen Name

Response

Welcome Screen

Click Next

Specify File Locations

Ensure that the "Source Path:" is pointing to the products.xml file for the .../db/Disk1/stage/product.xml product installation files.

Set the destination for the ORACLE_HOME name and location as follows:
   Name: OraDb10g_home1
   Location: /u01/app/oracle/product/10.1.0/db_1

Specify Hardware Cluster Installation Mode

Select the Cluster Installation option then select all nodes available. Click Select All to select all servers: linux1 and linux2.

If the installation stops here and the status of any of the RAC nodes is "Node not reachable", perform the following checks:

  • Ensure CRS is running on the node in question.

  • Ensure you are table to reach the node in question from the node you are performing the installation from.

Select Installation Type

I selected the Enterprise Edition option.

Select Database Configuration

Select the option to "Do not create a starter database".

Remember that the OUI for 10g R1 (10.1) cannot discover disks that were marked as Linux ASMLib. We will create the clustered database as a separate step using dbca.

Summary

For some reason, the OUI fails to create a "$ORACLE_HOME/log" for the installation directory before starting the installation. You should manually create this directory before clicking the "Install" button.

For this installation, manually create the file /u01/app/oracle/product/10.1.0/db_1/log on the node you are performing the installation from. The OUI will log all errors to a log file in this directory only if it exists.

Click Install to start the installation!

Root Script Window - Run root.sh

When the installation is complete, you will be prompted to run the root.sh script. It is important to keep in mind that the root.sh script will need to be run on all nodes in the RAC cluster one at a time starting with the node you are running the database installation from.

First, open a new console window on the node from which you are installing the Oracle 10g database software. For me, this was linux1. Before running the root.sh script on the first Linux server, ensure that the console window you are using can run a GUI utility. (Set your $DISPLAY environment variable before running the root.sh script!)

Navigate to the /u01/app/oracle/product/10.1.0/db_1 directory and run root.sh.

At the end of the root.sh script, it will bring up the GUI installer named VIP Configuration Assistant (VIPCA). The VIPCA will only come up on the first node you run the root.sh from. You still, however, need to continue running the root.sh script on all nodes in the cluster one at a time.

When the VIPCA appears, answered the screen prompts like this:

   Welcome: Click Next
   Network interfaces: Select both interfaces - eth0 and eth1
   Virtual IPs for cluster notes:
       Node Name: linux1
       IP Alias Name: vip-linux1
       IP Address: 192.168.1.200
       Subnet Mask: 255.255.255.0

       Node Name: linux2
       IP Alias Name: vip-linux2
       IP Address: 192.168.1.201
       Subnet Mask: 255.255.255.0

   Summary: Click Finish
   Configuration Assistant Progress Dialog: Click OK after configuration is complete.
   Configuration Results: Click Exit

When running the root.sh script on the remaining nodes, the end of the script will display "CRS resources are already configured".

Go back to the OUI and acknowledge the dialog window.

End of installation

At the end of the installation, exit from the OUI.


21. Create the TNS Listener Process

Perform the following configuration procedures on only one node in the cluster! The Network Configuration Assistant will setup the TNS listener in a clustered configuration on all nodes in the cluster.

The DBCA requires the Oracle TNS Listener process to be configured and running on all nodes in the RAC cluster before it can create the clustered database.

The process of creating the TNS listener only needs to be performed on one node in the cluster. All changes will be made and replicated to all nodes in the cluster. On one of the nodes (I will be using linux1) bring up the Network Configuration Assistant (NETCA) and run through the process of creating a new TNS listener process and also configure the node for local access.

Before running the NETCA, make sure to re-login as the oracle user and verify the $ORACLE_HOME environment variable set to the proper location. If you attempt to use the console window used in the previous section, remember that we unset the $ORACLE_HOME environment variable. This will result in a failure when attempting to run netca.

To start the NETCA, run the following GUI utility as the oracle user account:

$ netca &

The following screenshots walk you through the process of creating a new Oracle listener for our RAC environment.

Screen Name

Response

Select the Type of Oracle
Net Services Configuration


Select Cluster Configuration

Select the nodes to configure

Select all of the nodes: linux1 and linux2.

Type of Configuration

Select Listener configuration.

Listener Configuration – Next 6 Screens

The following screens are now like any other normal listener configuration. You can simply accept the default parameters for the next six screens:
   What do you want to do: Add
   Listener name: LISTENER
   Selected protocols: TCP
   Port number: 1521
   Configure another listener: No
   Listener configuration complete! [ Next ]
You will be returned to this Welcome (Type of Configuration) Screen.

Type of Configuration

Select Naming Methods configuration.

Naming Methods Configuration

The following screens are:
   Selected Naming Methods: Local Naming
   Naming Methods configuration complete! [ Next ]
You will be returned to this Welcome (Type of Configuration) Screen.

Type of Configuration

Click Finish to exit the NETCA.
1   2   3   4   5   6   7   8   9

Related:

Learn how to set up and configure an Oracle rac 10 iconSet call options When you first sign in to Lync, you’ll be guided...

Learn how to set up and configure an Oracle rac 10 iconObjectives In this episode you will: Learn about adverbs of frequency....

Learn how to set up and configure an Oracle rac 10 iconPartners in 17 Categories Recognized at Oracle OpenWorld for Excellence...

Learn how to set up and configure an Oracle rac 10 iconFull life cycle development, implementation and support with expertise...

Learn how to set up and configure an Oracle rac 10 iconIdc white Paper sponsored by Oracle Corporation, "Oracle e-business...

Learn how to set up and configure an Oracle rac 10 iconOracle® e-business Suite, Siebel crm, PeopleSoft Enterprise and jd...

Learn how to set up and configure an Oracle rac 10 iconPhp version: 17 set foreign key checks=0; set sql mode="no auto value...

Learn how to set up and configure an Oracle rac 10 iconThe student will learn about reading instruction from birth to secondary...

Learn how to set up and configure an Oracle rac 10 iconDG102sh console Command Set(set coding, set h323, and show)

Learn how to set up and configure an Oracle rac 10 iconResearch into an Intermediate Accounting level practice set was conducted....

Learn how to set up and configure an Oracle rac 10 iconAbstract This integration is a part of Siebel Integrations between...

Learn how to set up and configure an Oracle rac 10 iconTo set up the fw-1884 in Cubase or Nuendo 3 To set up the fw-1884 in Mackie Emulation protocol 3

Learn how to set up and configure an Oracle rac 10 iconDownload and installation: Configure the initial scan

Learn how to set up and configure an Oracle rac 10 iconHow to configure timeGuardian/QuickBooks for direct integration

Learn how to set up and configure an Oracle rac 10 iconConfigure the cics environment for the Debug Tool

Learn how to set up and configure an Oracle rac 10 iconPart 2: Configure ssh access to the Switches

Learn how to set up and configure an Oracle rac 10 iconOracle® SuperCluster T5-8

Learn how to set up and configure an Oracle rac 10 iconOracle® SuperCluster M6-32

Learn how to set up and configure an Oracle rac 10 iconMacBook-Pro-de-Martin-Ortuno: libusb 9 martinortuno$./configure

Learn how to set up and configure an Oracle rac 10 iconLearning to drive -how do you want to learn?




manual




When copying material provide a link © 2017
contacts
manual-guide.com
search