Upgrade Oracle 9i RAC to Oracle 10g RAC - Page 3January 31, 2006 by Vincent ChanStep 3: Install Oracle RAC Software3a. Edit the oracle user environment file[oracle@salmon1]$ more .bash_profile
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
export PATH=$PATH:$HOME/bin
export ORACLE_SID=prod1a
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=$ORACLE_BASE/product/10.2.0/db_1
export ORA_CRS_HOME=$ORACLE_BASE/product/crs
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=$ORACLE_HOME/bin:$PATH
umask 022
[oracle@salmon1]$ mkdir -p /u01/app/oracle/product/10.2.0/db_1
3b. Oracle Database pre-installation checksPerform Oracle Database pre-installation checks and correct any errors: /stage/clusterware/cluvfy/runcluvfy.sh stage pre dbinst -n salmon1,salmon2 verbose 3c. Install RAC softwareMount the Oracle Database 10g Enterprise Edition CD or download the software from http://www.oracle.com/technology/software/products/database/oracle10g/index.html. Launch the OUI on only the first node. During installation, the installer automatically copies the software to the second node. 1. Welcome: Click "Next" 3d. Configure Oracle ListenerThe Network Configuration Assistant (NETCA) should only be launched and configured on one node. At the end of the configuration process, the NETCA starts up the Oracle listener on both nodes. 1. Real Application Clusters, Configuration: 3e. Verify status of servicesOn node 1: [oracle@salmon1]$ srvctl status nodeapps -n salmon1 VIP is running on node: salmon1 GSD is running on node: salmon1 Listener is running on node: salmon1 ONS daemon is running on node: salmon1 On node 2: [oracle@salmon2]$ srvctl status nodeapps -n salmon2 VIP is running on node: salmon2 GSD is running on node: salmon2 Listener is running on node: salmon2 ONS daemon is running on node: salmon2 3f. listener.ora fileOn node 1: LISTENER_SALMON1 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = salmon1-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.184)(PORT = 1521)(IP = FIRST))
)
)
SID_LIST_LISTENER_SALMON1 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
)
On node 2: LISTENER_SALMON2 =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = salmon2-vip)(PORT = 1521)(IP = FIRST))
(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.185)(PORT = 1521)(IP = FIRST))
)
)
SID_LIST_LISTENER_SALMON2 =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = /u01/app/oracle/product/10.2.0/db_1)
(PROGRAM = extproc)
)
)
|