Get the App
SLTechnology News&Howtos  ›  Database  › 

The Construction of RAC by Oracle 11gR2 (3)-- Environment Detection before installing grid

Shulou Source: shulou.com Published: 2022-06-01 09:14:24 10月01日 Update

The Construction of RAC by Oracle 11gR2 (3)-- Environment Detection before installing grid

System environment:

Operating system: RedHat EL5

Cluster: Oracle GI (Grid Infrastructure)

Oracle: Oracle 11.2.0.1.0

As shown in the figure: RAC system architecture

Before installing GI, you can detect the environment as a grid user.

Verify the installation environment as the grid user (in the grid installation package directory)

[grid@node1 grid] $. / runcluvfy.sh stage-pre crsinst-n node1,node2-fixup-verbose-indicates the location of "failed" in the test Fixup.1 is required, Software package (all nodes) to be installed configure yum installation environment: [root@node1 yum.repos.d] # cp rhel-debuginfo.repo yum.repo [root@node1 yum.repos.d] # lsrhel-debuginfo.repo yum.repo [root@node1 yum.repos.d] # cat yum.repo [Base] name=Red Hat Enterprise Linux baseurl= file:///media/Serverenabled=1gpgcheck=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release mount linux ISO CD: [root@ Node1 yum.repos.d] # mount / dev/hdc / media installation software: libaio-devel.i386 0VOR 0.3.106-5 sysstat.i386 0RH 7.0.2-3.el5 unixODBC-2.2.11-7.1unixODBC-devel-2.2.11-7.1unixODBC-kde-2.2.11-7.12, Configure trust relationships between users (oracle and grid) to establish oracle between nodes, Trust between grid users (establishing public and private keys through ssh) = Oracle=1) generate a key pair (all nodes) [oracle@node1 ~] $ssh-keygen-t rsaGenerating public/private rsa key pair.Enter file in which to save the key (/ home/oracle/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in / home/oracle/.ssh/id_rsa.Your public key has been saved in / home/oracle/.ssh/ Id_rsa.pub.The key fingerprint is:64:a6:4a:77:db:33:a4:aa:6e:ca:8f:5f:2f:77:0f:40 oracle@node1 [oracle@node1 ~] $ssh-keygen-t dsaGenerating public/private dsa key pair.Enter file in which to save the key (/ home/oracle/.ssh/id_dsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in / home/oracle/.ssh/id_dsa.Your Public key has been saved in / home/oracle/.ssh/id_dsa.pub.The key fingerprint is:7c:41:b5:0f:81:06:ad:30:07:4f:8b:1a:9b:94:68:14 oracle@node12) configure trust relationship [oracle@node1 ~] $ls .sshid _ dsa id_dsa.pub id_rsa id_rsa.pub known_ hosts [oracle @ node1 ~] $cat .ssh / id_rsa.pub > > .ssh/authorized_ keys [oracle @ oracle @] Node1 ~] $cat .ssh / id_dsa.pub > > .ssh/authorized_ Keys [oracle @ node1 ~] $ssh node2 cat .ssh / id_rsa.pub > > .ssh/authorized_keysoracle@node2's password: [oracle@node1 ~] $ssh node2 cat .ssh / id_dsa.pub > > .ssh/authorized_keysoracle@node2's password: [oracle@node1 ~] $scp .ssh / authorized_keys node2:~/.sshoracle@node2's password: authorized_keys 1992 2.0KB/s 00:00 3) verify the trust relationship (all nodes) [oracle@node1 ~] $ssh node2 dateThu May 2 14:46:30 CST 2013 [oracle@node1 ~] $ssh node2-priv dateThe authenticity of host 'node2-priv (10.10.10.2)' can't be established.RSA key fingerprint is 16:28:88:50:27:30:92:cb:49:be:55:61:f6:c2: A1:3f.Are you sure you want to continue connecting (yes/no)? YesWarning: Permanently added 'node2-priv 10.10.10.2' (RSA) to the list of known hosts.Thu May 2 14:47:03 CST 2013 [oracle@node1 ~] $ssh node1 dateThu May 2 14:48:19 CST 2013 [oracle@node1 ~] $ssh node1-priv dateThe authenticity of host 'node1-priv (10.10.10.1)' can't be established.RSA key fingerprint is 39:04:88:3b:54:34:3c:34:d2:df:74:37:fe:5f:92:2d.Are You sure you want to continue connecting (yes/no)? YesWarning: Permanently added 'node1-priv,10.10.10.1' (RSA) to the list of known hosts.Thu May 2 14:48:35 CST 2013 installation grid = steps are the same as oracle @ so far, preparations for GI installation are almost complete.

Tags: Environment user detection inter system software configuration identity software package operating system location CD public key key architecture detection system step directory so far node Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Xiaomi Shulou Technology Docker Linux