CentOS 4.7 + RAC + Oracle 10g + ASM Installation Problems

Source: Internet
Author: User

1. When installing cluster in Oracle 10g, the following error is prompted during the period from 61%:

WARNING: Error while copying directory/home/oracle/app/oracle/10R2/crs with exclude file list 'null' to nodes 'rac2 '.
[PRKC-1002: All the submitted commands did not execute successfully] (similar)

Solution:

This error can be ignored.

Cause: during the installation of the Oracle cluster, database, and accompanying CD, Oracle Universal Installer (OUI) will first install the software on the local node (the local node that runs the installation program, I am running the installer on rac1 ). Then, copy the software to other nodes in the cluster remotely (that is, rac2 ).

During remote replication, OUI runs the UNIX "tar" command on each remote node to Extract files that have been archived and copied. If the date and time on the node (that is, the local node rac1) to be installed is greater than the date and time on the node (remote node rac2) to be copied, OUI will trigger an error in tar to indicate that it fails to extract a file with a timestamp.

Error while copying directory
/U01/app/oracle/product/crs with exclude file list 'null' to nodes 'rac2 '.
[PRKC-1002: All the submitted commands did not execute successfully]
---------------------------------------------
Rac2:
/Bin/tar:./bin/lsnodes: time stamp 2010-09-13 09:21:34 is 735 s in the future
/Bin/tar:./bin/olsnodes: time stamp 2010-09-13 09:21:34 is 735 s in the future
... (More errors on this node)

Note that although this looks like a serious error in OUI, you can ignore it as a warning. The "tar" command DOES indeed extracts the file; however,
When you execute the file list on a remote node (using ls-l), they will lack the time field until the time on the server is greater than the timestamp of the file.
 
Before starting any of the above mentioned installations, make sure that every member node in the cluster is set to the same time and date as much as possible to synchronize time, but I want to install it smoothly
GenerallyThe local installation node is 10 minutes slower than the remote replication node.

[Root @ rac1 ~] # Date-s "Thu Dec 23 12:22:28 CST 2010"
[Root @ rac2 ~] # Date-s "Thu Dec 23 12:32:28 CST 2010"

2. If clusterware is successfully installed and then oracle software is installed, the following error is reported:

You have chosen to configure Automatic Storage Management (ASM) on
Following nodes:

Rac1
Rac2
Though there is no ASM instance configured for the local node,
Oracle Universal Installer has detected the existence of an ASM instance
On the following remote nodes:
Rac1
Rac2
If you want to configure ASM on this node, you must extend the ASM
Cluster of instances to this node (using the Add Instance procedure ),
Rather than choosing to configure a new ASM instance during the install.

The cause of this error is that the installation was not uninstalled for the first time. As a result, this installation identifies the installed error. The solution is to uninstall the installation again,
To clear the disk header information of asm, run the following command:

For example: dd if =/dev/zero of =/dev/<asm_disk_name> bs = 1024 k count = 50


# Dd if =/dev/zero of =/dev/sdb bs = 1024 k count = 200

3. When an error similar to the following occurs

Command =/u01/app/oracle/crs10g/bin/racgons has failed
Execution Error: WARNING: rac1: 6200 already configured.
WARNING: rac2: 6200 already configured.

You can solve the problem by using the following method. After removal, retry

[Oracle @ rac1 bin] $ racgons remove_config rac1: 6200
Racgons: Existing key value on rac1 = 6200.
Racgons: rac1: 6200 removed from OCR.
[Oracle @ rac1 bin] $ racgons remove_config rac2: 6200
Racgons: Existing key value on rac2 = 6200.
Racgons: rac2: 6200 removed from OCR.

4. Add a gateway

[Root @ rac2 ~] # More/etc/sysconfig/network
NETWORKING = yes
HOSTNAME = rac2.aibo.com
GATEWAY = 192.168.2.1

[Root @ rac2 ~] # More/etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE = eth0
BOOTPROTO = none
BROADCAST = 192.168.2.255
HWADDR = 00: 0C: 29: 81: 22: 38
IPADDR = 192.168.2.21
NETMASK = 255.255.255.0
NETWORK = 192.168.2.0
ONBOOT = yes
TYPE = Ethernet
GATEWAY = 192.168.2.1
[Root @ rac2 ~] #

Note: you need to communicate with the gateway during installation; so in the file "/etc/sysconfig/network" and "/etc/sysconfig/network-scripts/ifcfg-eth0" add GATEWAY "GATEWAY = 192.168.2.1"

5. Modify the hosts file

[Root @ rac2 ~] # More/etc/hosts
# Do not remove the following line, or various programs
# That require network functionality will fail.
127.0.0.1 localhost. localdomain localhost

# Public
192.168.2.11 rac1.aibo.com rac1
192.168.2.21 rac2.aibo.com rac2
# Private
10.10.0.11 rac1-priv.aibo.com rac1-priv
10.10.0.21 rac2-priv.aibo.com rac2-priv
# Virtual
192.168.2.80 rac1-vip.aibo.com rac1-vip
192.168.2.81 rac2-vip.aibo.com rac2-vip
[Root @ rac2 ~] #

In the "/etc/hosts" file, the first line "127.0.0.1 localhost. localdomain localhost" is required. Do not write an error.
In the hosts file, the private ip address (private ip) needs a public ip address. I usually use the ip address segment 10.10.0.11/255.

  • 1
  • 2
  • Next Page

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.