Install javaslerac and use NFS for shared storage

Source: Internet
Author: User
1. The/etc/hostsfilemustcontainthefollowinginformation.127.0.0.1localhost. localdomainlocalhost # Public192.168.2.101rac1. localdomainrac1191_2.102rac2. localdoma

1. The/etc/hosts file must contain the followinginformation.

127.0.0.1 localhost. localdomain localhost

# Public

192.168.2.101 rac1.localdomain rac1

192.168.2.102 rac2.localdomain rac2

# Private

192.168.0.101 rac1-priv.localdomain rac1-priv

192.168.0.102 rac2-priv.localdomain rac2-priv

# Virtual

192.168.2.111 rac1-vip.localdomain rac1-vip

192.168.2.112 rac2-vip.localdomain rac2-vip

# NAS

192.168.2.101 nas1.localdomain nas1

2. create shared disks

First we need to set up some NFS shares. in this case we wildrop this on the RAC1 node, but you can do the on a NAS or a thirdserver if you have one available. on the RAC1 node create thefollowing directories.

Mkdir/share1

Mkdir/ipv2add the following lines to the/etc/exportsfile.

/Share1 * (rw, sync, no_wdelay, insecure_locks, no_root_squash)

/Share2 * (rw, sync, no_wdelay, insecure_locks, no_root_squash) Run the followingcommand to export the NFS shares.

Chkconfig nfs on

Service nfs restartOn both RAC1 and RAC2 create some mountpoints to mount the NFS shares.

Mkdir/u01

Mkdir/u02Add the following lines to the "/etc/fstab" file. The mount options are suggestions from Kevin Closson.

Nas1:/share1/u01 nfs rw, bg, hard, nointr, tcp, vers = 3, timeo = 300, rsize = 32768, wsize = 32768, actimeo = 0 0 0

Nas1:/share2/u02 nfs rw, bg, hard, nointr, tcp, vers = 3, timeo = 300, rsize = 32768, wsize = 32768, actimeo = 0 0 0 Mount the NFS shares on both servers.

Mount/u01

Mount/u02Create the shared CRS Configuration and Voting Diskfiles.

Touch/u01/crs_configuration

Touch/u01/voting_diskCreate the directories in which theOracle software will be installed.

Mkdir-p/u01/crs/oracle/product/10.2.0/crs

Mkdir-p/u01/app/oracle/product/10.2.0/db_1

Mkdir-p/u01/oradata

Chown-R oracle: oinstall/u01/u02

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.