VMware1.0.6 + CentOS5.5 + Oracle10gRAC installed successfully

Source: Internet
Author: User
Tags ftp file ftp file transfer
I have been trying to install an Oracle10gRAC test environment. Today, it is finished. See the specific Tutorial: www.linuxidc.comLinux2011-0231976.htm

I have been trying to install a testing environment for Oracle10g RAC. Today I have finally finished it. For more information, see http://www.linuxidc.com/linux/2011-02/31976.htm

I have been trying to install a testing environment for Oracle10g RAC. Today I have finally finished it. For more information, see:

The specific steps are not listed. The above descriptions are very detailed. I just want to list some errors and solutions I encountered during the installation process.

1. I have not read the documentation for installing the VM at the beginning. Put the four bare devices under the RAC1 directory. Reinstall.

2. Only two NICs are configured in the VM. The ftp card is not configured. Similarly, the subsequent configuration of ftp file transfer is also omitted. The same is true for transferring files with scp.

3. Install the VM using the ISO file. Therefore, the steps for changing the disk are omitted.

4. The network configurations of the two nodes must be carefully configured. The default gateway must be correctly configured.

5. the SSH configuration process is different from that described in this document. His one is too complicated. CentOS5.5 comes with OpenSSH_4.3p2, Which is OK in four steps.

= 1) create key pairs.
Ssh-keygen-t dsa
= 2) copy the keys to local.
Cat id_dsa.pub> authorized_keys2
= 3) copy the keys to remote.
Scp ~ /. Ssh/id_dsa.pub oracle @ rac2:/home/oracle/. ssh/authorized_keys2
= 4) connect and accept.
Ssh rac2 date

6. when you go to the GUI to install clusterware, the Installation failed because the value setting of "network" in "/etc/sysconfig/network-scripts/ifcfg-eth0" and "/etc/sysconfig/NETWORK-scripts/ifcfg-eth1" is incorrect. Unregister the value and reinstall it. OK.

Here we need to talk about the files that need to be cleared during re-installation.

Cd/opt/ora10g
Rm-rf *
Rm-rf/etc/oracle
Rm-f/etc/oraInst. loc

Dd if =/dev/zero of =/dev/raw/raw1 bs = 1024 count = 200000
Dd if =/dev/zero of =/dev/raw/raw2 bs = 1024 count = 200000
Rm-f/etc/init. d/init.css d
Rm-f/etc/init. d/init. crs
Rm-f/etc/init. d/init. crsd
Rm-f/etc/init. d/init. evmd
Rm-f/etc/inittab. crs

Rm-f/etc/inittab
Cp/etc/inittab. no_crs/etc/inittab

Cd/etc/
Find./-name * 96init. crs
= Rm the found files.

7. When running dbca to create a database, an error occurs when you mount disk group. The prompt is a listener problem, but it is not. A waste of half a day. The document also mentions that it is too simple to care about. Later, the crs was restarted on the second node.

/Etc/init. d/init. crs stop
/Etc/init. d/init. crs start

8. During the installation process, there was another error about clock synchronization. During ssh configuration, installation and installation are normal. After that, I cannot remember the number of reboots and retries. the time difference between the two sides is almost one minute, causing an error when I copy data to the second node. Synchronization, redo, OK.

/Usr/sbin/ntpdate ntp.fudan.edu.cn

It took two or three weeks before and after the task was executed intermittently, and many problems were encountered. Thanks again to the article above, I have avoided many detours.

By the way, LD_ASSUME_KERNEL In the "/opt/ora10g/product/10.2.0/db_1/bin/srvctl" file must also be commented out. Otherwise, the following error is reported:

[Oracle @ rac1 bin] $ srvctl
/Opt/ora10g/product/10.2.0/db_1/jdk/jre/bin/java: error while loading shared libraries: libpthread. so.0: cannot open shared object file: No such file or directory
[Oracle @ rac1 bin] $

After the change, let's look at it again:

[Oracle @ rac1 bin] $ srvctl status database-d racdb
Instance RACDB1 is running on node rac1
Instance RACDB2 is running on node rac2
[Oracle @ rac1 bin] $

Current CRS status:

[Oracle @ rac1 bin] $./crs_stat-t
Name Type Target State Host
------------------------------------------------------------
Ora... B1.inst application ONLINE rac1
Ora... B2.inst application ONLINE rac2
Ora. RACDB. db application ONLINE rac1
Ora... SM1.asm application ONLINE rac1
Ora... C1.lsnr application ONLINE rac1
Ora. rac1.gsd application ONLINE rac1
Ora. rac1.ons application ONLINE rac1
Ora. rac1.vip application ONLINE rac1
Ora... SM2.asm application ONLINE rac2
Ora... C2.lsnr application ONLINE rac2
Ora. rac2.gsd application ONLINE rac2
Ora. rac2.ons application ONLINE rac2
Ora. rac2.vip application ONLINE rac2
[Oracle @ rac1 bin] $

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.