Device 11g_rac Configuration Peering

Source: Internet
Author: User

Linux Platform installation Oracle 11GSSH equivalent configuration simple

Construct a grid user relationship

Landing Rac1,rac2 run separately :

$ su-grid

$mkdir ~/.ssh

$chmod ~/.ssh

$ ssh-keygen-t RSA

$ ssh-keygen-t DSA

Login Rac1:

$CD ~/.ssh

$ cat Id_rsa.pub >> Authorized_keys

$cat id_dsa.pub >> Authorized_keys

$ SCP Authorized_keys rac2:/home/grid/.ssh/----(input grid password, return to car)

Login RAC2:

$CD ~/.ssh

$ cat Id_rsa.pub >> Authorized_keys

$cat id_dsa.pub >> Authorized_keys

$ SCP Authorized_keys rac1:/home/grid/.ssh/----(input grid password, return to car)

Perform the next noodle operation in Rac1&rac2 , run several times .

$ ssh Rac1 date; SSH RAC2 Date

$ ssh Rac1-priv date; SSH Rac2-priv Date

Configure Oracle User Trust relationships

Landing Rac1,rac2 run separately :

$ su-oracle

$mkdir ~/.ssh

$chmod ~/.ssh

$ ssh-keygen-t RSA

$ ssh-keygen-t DSA

Landing Rac1:

$ su-oracle

$CD ~/.ssh

$ cat Id_rsa.pub >> Authorized_keys

$cat id_dsa.pub >> Authorized_keys

$ SCP Authorized_keys rac2:/home/oracle/.ssh/----(Enter the oracle password. return car)

Landing RAC2:

$ su-oracle

$CD ~/.ssh

$ cat Id_rsa.pub >> Authorized_keys

$cat id_dsa.pub >> Authorized_keys

$ SCP Authorized_keys rac1:/home/oracle/.ssh/----(Enter the oracle password. return car)

Perform the following operations on RAC1&RAC2

$ ssh Rac1 date; SSH RAC2 Date

$ ssh Rac1-priv date; SSH Rac2-priv Date

Attention:

1. assume that the display time is not synchronized. must be manually synchronized;

2. The system is configured with a few net cards (hostname) must ensure that each network card and also have a node ssh does not need to input password!

Copyright notice: This article Bo Master original articles, blogs, without consent may not be reproduced.

Device 11g_rac Configuration Peering

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.