Install 11g_rac configuration equivalence, 11g_rac Configuration

Source: Internet
Author: User

Install 11g_rac configuration equivalence, 11g_rac Configuration

Brief Introduction to oracle 11gssh equivalence configuration on linux

 

Configure the grid user trust relationship

Perform the following operations on the login, rac1, and rac2:

$ Su-grid

$ Mkdir ~ /. Ssh

$ Chmod 700 ~ /. Ssh

$ Ssh-keygen-t rsa

$ Ssh-keygen-t dsa

Log onto rac1:

$ Cd ~ /. Ssh

$ Cat id_rsa.pub> authorized_keys

$ Cat id_dsa.pub> authorized_keys

$ Scp authorized_keys rac2:/home/grid/. ssh/---- (login to grid password, return to the car)

 

Log onto rac2:

$ Cd ~ /. Ssh

$ Cat id_rsa.pub> authorized_keys

$ Cat id_dsa.pub> authorized_keys

$ Scp authorized_keys rac1:/home/grid/. ssh/---- (login to grid password, return to the car)

Perform the merge operation on the rac1 & rac2 rows.

$ Ssh rac1 date; ssh rac2 date

$ Ssh rac1-priv date; ssh rac2-priv date

 

Configure the ORACLE user trust relationship

Perform the following operations on the login, rac1, and rac2:

$ Su-oracle

$ Mkdir ~ /. Ssh

$ Chmod 700 ~ /. Ssh

$ Ssh-keygen-t rsa

$ Ssh-keygen-t dsa

Login rac1:

$ Su-oracle

$ Cd ~ /. Ssh

$ Cat id_rsa.pub> authorized_keys

$ Cat id_dsa.pub> authorized_keys

$ Scp authorized_keys rac2:/home/oracle/. ssh/---- (login to oracle password, car return)

 

Login rac2:

$ Su-oracle

$ Cd ~ /. Ssh

$ Cat id_rsa.pub> authorized_keys

$ Cat id_dsa.pub> authorized_keys

$ Scp authorized_keys rac1:/home/oracle/. ssh/---- (login to oracle password, car return)

Operate Under the rac1 & rac2 rows separately

$ Ssh rac1 date; ssh rac2 date

$ Ssh rac1-priv date; ssh rac2-priv date

 

Note:

1. If the display time is not synchronized, you must manually synchronize it;

2. The system is configuredSeveral NICs (host names) must ensure that each Nic and the other NodeNo Password is required for ssh!

 


To install rac on oracle 11g, you must configure ntp.

Not installed without configuration,
However, we strongly recommend that you configure the time synchronization service (such as ntp, clock synchronization from oracle, or vmware clock synchronization)
To ensure the time between several instances and avoid errors

To install the oracle Database 11g rac, You need to configure udev to solve the problem of persistence of the asm storage device name.

Use UDEV service to solve the rac asm storage device name

In <Why ASMLIB and why not?> We introduced the advantages and disadvantages of using ASMLIB as a kernel support library specially designed for the Oracle Automatic Storage Management feature. We also recommend that you use a mature UDEV solution instead of ASMLIB. Here we will provide specific steps to configure UDEV, which is relatively simple: 1. confirm that the necessary UDEV package has been installed on all RAC nodes [root @ rh2 ~] # Rpm-qa | grep udevudev-095-14.21.el52. obtain the unique identification name of the block device through scsi_id. Assume that the system already has LUN sdc-sdpfor I in c d e f g h I j k l m n o p; doecho "sd $ I" "'scsi _ id-g-u-s/block/sd $ I '"; donesdc 255.255.255.100001iet_00010005sdh 1IET_00010006sdi 20171iet_00010008sdk 1IET_00010009sdl 1IET_0001000asdm 1IET_0001000bsdn 20171iet_0001000dsdp 1IET _ More than 0001000e lists the unique identifiers corresponding to the block device name. 3. Create a required UDEV configuration file. Switch to the configuration file directory [root @ rh2 ~]. # Cd/etc/udev/rules. d define the necessary rule configuration file [root @ rh2 rules. d] # touch 99-oracle-asmdevices.rules [root @ rh2 rules. d] # cat 99-oracle-asmdevices.rulesKERNEL = "sd *", BUS = "scsi", PROGRAM = "/sbin/scsi_id-g-u-s % p ", RESULT = "1IET_00010001", NAME = "ocr1", OWNER = "grid", GROUP = "asmadmin", MODE = "0660" KERNEL = "sd *", BUS = "scsi", PROGRAM = "/sbin/scsi_id-g-u-s % p", RESULT = "1IET_00010002", NAME = "ocr2 ", OWNER = "grid", GROUP = "asmadmin", MODE = "0660" KERNEL = "sd *", BUS = "scsi ", PROGRAM = "/sbin/scsi_id-g-u-s % p", RESULT = "1IET_00010003", NAME = & quo ...... remaining full text>

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.