sles101 sles101-vip.test.com 172.16.2.177 255.255.255.0
sles102 sles102-vip.test.com 172.16.2.178 255.255.255.0
Click Finish, and the vipca program will create the VIP, GSD and ONS application on 2 nodes, then it will start these applications on 2 nodes successfully. After that, you can run crs_stats to check the status, or run cluvfy again. And you will see no issue with the cluster verification utility on all RAC nodes.
[oracle@sles101.test.com /u01/app/oracle/product/10.2.0/crs_1/bin] ./crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....c01.gsd application ONLINE ONLINE sles101
ora....c01.ons application ONLINE ONLINE sles101
ora....c01.vip application ONLINE ONLINE sles101
ora....c02.gsd application ONLINE ONLINE sles102
ora....c02.ons application ONLINE ONLINE sles102
ora....c02.vip application ONLINE ONLINE sles102
Now, CRS is installed successfully on both nodes, you can reboot the machines to check if the CRS services could be started automatically.
Some useful command lines to configure CRS services:
$ /etc/init.d/init.crs enable # Enable automatic startup for system boot.
$ /etc/init.d/init.crs disable # Disable automatic startup for system boot.
$ /etc/init.d/init.crs start # start CRS services.
$ /etc/init.d/init.crs stop # stop CRS services.
You will see the following processes running at backgroup if CRS is started correctly.
$ ps -ef |grep cssd
root 3914 1 0 Nov18 ? 00:17:41 /bin/sh /etc/init.d/init.cssd fatal
root 15053 3914 0 Nov18 ? 00:00:00 /bin/sh /etc/init.d/init.cssd daemon
oracle 15122 15053 0 Nov18 ? 00:00:00 /bin/su -l oracle -c /bin/sh -c 'ulimit -c unlimited; cd /u01/app/oracle/product/10.2/crs_1/log/sles101/cssd; /u01/app/oracle/product/10.2/crs_1/bin/ocssd || exit $?'
oracle 15123 15122 0 Nov18 ? 00:00:00 /bin/sh -c ulimit -c unlimited; cd /u01/app/oracle/product/10.2/crs_1/log/sles101/cssd; /u01/app/oracle/product/10.2/crs_1/bin/ocssd || exit $?
oracle 15158 15123 0 Nov18 ? 00:14:07 /u01/app/oracle/product/10.2/crs_1/bin/ocssd.bin
root 32414 3914 4 14:33 ? 00:00:00 /bin/sh /etc/init.d/init.cssd runcheck
root 32428 32414 1 14:33 ? 00:00:00 /bin/sh /etc/init.d/init.cssd bootid
root 32432 32428 0 14:33 ? 00:00:00 /bin/sh /etc/init.d/init.cssd bootid
root 32433 32432 0 14:33 ? 00:00:00 /bin/sh /etc/init.d/init.cssd bootid
root 32434 32432 0 14:33 ? 00:00:00 /bin/sh /etc/init.d/init.cssd bootid
Part3
- Installing Database software only
IXDBA.NET社区论坛
- Configuring Listener
- Configuring ASM
- Creating database with RAC
Part3
--------------------------------------------------------------
Installing Oracle Database 10g Software only:
--------------------------------------------------------------
1. Login with "oracle" user and unset some variables
$unset ORA_CRS_HOME
$unset ORACLE_HOME
$unset ORA_NLS10
$unset TNS_ADMIN
2. Verify the variables on node1
$ env |grep ORA
ORA_CRS_HOME=/u01/app/oracle/product/10.2/crs_1
ORACLE_SID=sles1
ORACLE_BASE=/u01/app/oracle
ORACLE_TERM=xterm
ORACLE_HOME=/u01/app/oracle/product/10.2/db_1
3. Verify the variables on node2
$ env |grep ORA
ORA_CRS_HOME=/u01/app/oracle/product/10.2/crs_1
ORACLE_SID=sles2
ORACLE_BASE=/u01/app/oracle
ORACLE_TERM=xterm
ORACLE_HOME=/u01/app/oracle/product/10.2/db_1
4. Start Installation GUI on sles101:
$/mnt/oracle/database/runInstaller -ignoreSysPrereqs
● Welcome:
Click [Next]
● Select Installation Type:
Select Enterprise Edition
Click [Next]
● Specify Home Details:
Name: OraDb10g_home1
Location: /u01/app/oracle/product/10.2/db_1
Click [Next]
● Specify Hardware Cluster Installation Mode:
Select Cluster Installation, and select both nodes
Click [Next]
● Product-Specific Prerequisite Checks:
Click [Next]
On my machine, the Prerequisite check got the following results:
Checking operating system requirements ...
Expected result: One of redhat-3,redhat-4,SuSE-9,asianux-1,asianux-2
Actual Result: SuSE-9
Check complete. The overall result of this check is: Passed
=======================================================================
Checking operating system package requirements ...
Checking for make-3.79; found make-3.80-202.2. Passed
Checking for binutils-2.14; found binutils-2.16.91.0.5-23.4. Passed
Checking for gcc-3.2; found gcc-4.1.0-28.4. Passed
Checking for libaio-0.3.96; found libaio-0.3.104-14.2. Passed
Check complete. The overall result of this check is: Passed
=======================================================================
Checking kernel parameters
Checking for semmsl=250; found semmsl=1250. Passed
Checking for semmns=32000; found semmns=32000. Passed
Checking for semopm=100; found semopm=100. Passed
Checking for semmni=128; found semmni=256. Passed
Checking for shmmax=536870912; found shmmax=3294967296. Passed
Checking for shmmni=4096; found shmmni=4096. Passed
Checking for shmall=2097152; found shmall=2097152. Passed
Checking for file-max=65536; found file-max=131072. Passed
Checking for VERSION=2.6.5-7.97; found VERSION=2.6.16.21-0.8-smp. Passed
Checking for ip_local_port_range=1024 - 65000; found ip_local_port_range=1024 - 65000. Passed
Checking for rmem_default=262144; found rmem_default=262144. Passed
Checking for rmem_max=262144; found rmem_max=262144. Passed
Checking for wmem_default=262144; found wmem_default=262144. Passed
Checking for wmem_max=262144; found wmem_max=262144. Passed
Check complete. The overall result of this check is: Passed
=======================================================================
Checking Recommended glibc version
Expected result: ATLEAST=2.3.3-98.28
Actual Result: 2.4-31.2
Check complete. The overall result of this check is: Passed
=======================================================================
Checking physical memory requirements ...
Expected result: 922MB
Actual Result: 1008MB
Check complete. The overall result of this check is: Passed
=======================================================================
Checking available swap space requirements ...
Expected result: 1512MB
Actual Result: 1435MB
Check complete. The overall result of this check is: Failed <<<<
Problem: The system does not have the required swap space.
Recommendation: Make more swap space available to perform the install.
=======================================================================
Checking Network Configuration requirements ...
Check complete. The overall result of this check is: Not executed <<<<
Recommendation: Oracle supports installations on systems with DHCP-assigned public IP addresses. However, the primary network interface on the system should be configured with a static IP address in order for the Oracle Software to function properly. See the Installation Guide for more details on installing the software on systems configured with DHCP.