oracle11.2.0.4 RAC 保姆级静默安装(一) GI集群软件

一、响应文件准备

我们直接使用软件解压后的response文件夹中的响应文件模板进行修改

选择当前服务器的主机名,产品目录是在已存在的/u01/app目录基础上自动创建的无需提前创建oraInventory

按需选择语言,具体语言配置参考表格

一般rac默认选择安装类型为CRS_CONFIG

对应正常的用户组即可

集群名称GNS及相关参数配置成false

集群节点得主机名和VIP名进行配置需要与hosts文件保持一致,网卡类型按照实际网卡配置进行选择:1为public 2为private

hosts

ASM配置

asm的管理员密码必须配置否则安装报错,配置创建voting disk的磁盘组CRS

配置磁盘组所需的共享磁盘及共享磁盘路径,配置monitor的密码

二、所有节点ssh互信配置

在一节点软件安装目录下执行

[root@racdg2-1 software]# su - grid
[grid@racdg2-1 ~]$ cd /software/grid/sshsetup/
[grid@racdg2-1 sshsetup]$ ls
sshUserSetup.sh
[grid@racdg2-1 sshsetup]$
./sshUserSetup.sh -user grid -hosts "racdg2-1 racdg2-2 racdg2-3" -advanced -noPromptPassphrase

[grid@racdg2-1 sshsetup]$ ./sshUserSetup.sh -user grid -hosts "racdg2-1 racdg2-2 racdg2-3" -advanced -noPromptPassphrase
The output of this script is also logged into /tmp/sshUserSetup_2024-06-25-16-17-49.log
Hosts are racdg2-1 racdg2-2 racdg2-3
user is grid
Platform:- Linux
Checking if the remote hosts are reachable
PING racdg2-1.com.cn (192.168.213.131) 56(84) bytes of data.
64 bytes from racdg2-1.com.cn (192.168.213.131): icmp_seq=1 ttl=64 time=0.014 ms
64 bytes from racdg2-1.com.cn (192.168.213.131): icmp_seq=2 ttl=64 time=0.021 ms
64 bytes from racdg2-1.com.cn (192.168.213.131): icmp_seq=3 ttl=64 time=0.020 ms
64 bytes from racdg2-1.com.cn (192.168.213.131): icmp_seq=4 ttl=64 time=0.022 ms
64 bytes from racdg2-1.com.cn (192.168.213.131): icmp_seq=5 ttl=64 time=0.018 ms

--- racdg2-1.com.cn ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 3999ms
rtt min/avg/max/mdev = 0.014/0.019/0.022/0.003 ms
PING racdg2-2.com.cn (192.168.213.132) 56(84) bytes of data.
64 bytes from racdg2-2.com.cn (192.168.213.132): icmp_seq=1 ttl=64 time=0.159 ms
64 bytes from racdg2-2.com.cn (192.168.213.132): icmp_seq=2 ttl=64 time=0.178 ms
64 bytes from racdg2-2.com.cn (192.168.213.132): icmp_seq=3 ttl=64 time=0.162 ms
64 bytes from racdg2-2.com.cn (192.168.213.132): icmp_seq=4 ttl=64 time=0.213 ms
64 bytes from racdg2-2.com.cn (192.168.213.132): icmp_seq=5 ttl=64 time=0.154 ms

--- racdg2-2.com.cn ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4000ms
rtt min/avg/max/mdev = 0.154/0.173/0.213/0.023 ms
PING racdg2-3.com.cn (192.168.213.133) 56(84) bytes of data.
64 bytes from racdg2-3.com.cn (192.168.213.133): icmp_seq=1 ttl=64 time=0.261 ms
64 bytes from racdg2-3.com.cn (192.168.213.133): icmp_seq=2 ttl=64 time=0.205 ms
64 bytes from racdg2-3.com.cn (192.168.213.133): icmp_seq=3 ttl=64 time=0.348 ms
64 bytes from racdg2-3.com.cn (192.168.213.133): icmp_seq=4 ttl=64 time=0.211 ms
64 bytes from racdg2-3.com.cn (192.168.213.133): icmp_seq=5 ttl=64 time=0.357 ms

--- racdg2-3.com.cn ping statistics ---
5 packets transmitted, 5 received, 0% packet loss, time 4003ms
rtt min/avg/max/mdev = 0.205/0.276/0.357/0.066 ms
Remote host reachability check succeeded.
The following hosts are reachable: racdg2-1 racdg2-2 racdg2-3.
The following hosts are not reachable: .
All hosts are reachable. Proceeding further...
firsthost racdg2-1
numhosts 3
The script will setup SSH connectivity from the host racdg2-1 to all
the remote hosts. After the script is executed, the user can use SSH to run
commands on the remote hosts or copy files between this host racdg2-1
and the remote hosts without being prompted for passwords or confirmations.

NOTE 1:
As part of the setup procedure, this script will use ssh and scp to copy
files between the local host and the remote hosts. Since the script does not
store passwords, you may be prompted for the passwords during the execution of
the script whenever ssh or scp is invoked.

NOTE 2:
AS PER SSH REQUIREMENTS, THIS SCRIPT WILL SECURE THE USER HOME DIRECTORY
AND THE .ssh DIRECTORY BY REVOKING GROUP AND WORLD WRITE PRIVILEDGES TO THESE
directories.

Do you want to continue and let the script make the above mentioned changes (yes/no)?
yes

The user chose yes
User chose to skip passphrase related questions.
Creating .ssh directory on local host, if not present already
Creating authorized_keys file on local host
Changing permissions on authorized_keys to 644 on local host
Creating known_hosts file on local host
Changing permissions on known_hosts to 644 on local host
Creating config file on local host
If a config file exists already at /home/grid/.ssh/config, it would be backed up to /home/grid/.ssh/config.backup.
Removing old private/public keys on local host
Running SSH keygen on local host with empty passphrase
Generating public/private rsa key pair.
Your identification has been saved in /home/grid/.ssh/id_rsa.
Your public key has been saved in /home/grid/.ssh/id_rsa.pub.
The key fingerprint is:
0e:c1:44:42:06:60:8b:d4:44:c8:c4:d1:55:64:50:80 grid@racdg2-1
The key's randomart image is:
+--[ RSA 1024]----+
|=*O=*=O=         |
|++.E +.          |
|..    o          |
|       .         |
|      . S        |
|       o         |
|        .        |
|                 |
|                 |
+-----------------+
Creating .ssh directory and setting permissions on remote host racdg2-1
THE SCRIPT WOULD ALSO BE REVOKING WRITE PERMISSIONS FOR group AND others ON THE HOME DIRECTORY FOR grid. THIS IS AN SSH REQUIREMENT.
The script would create ~grid/.ssh/config file on remote host racdg2-1. If a config file exists already at ~grid/.ssh/config, it would be backed up to ~grid/.ssh/config.backup.
The user may be prompted for a password here since the script would be running SSH on host racdg2-1.
Warning: Permanently added 'racdg2-1,192.168.213.131' (RSA) to the list of known hosts.
grid@racdg2-1's password:
Done with creating .ssh directory and setting permissions on remote host racdg2-1.
Creating .ssh directory and setting permissions on remote host racdg2-2
THE SCRIPT WOULD ALSO BE REVOKING WRITE PERMISSIONS FOR group AND others ON THE HOME DIRECTORY FOR grid. THIS IS AN SSH REQUIREMENT.
The script would create ~grid/.ssh/config file on remote host racdg2-2. If a config file exists already at ~grid/.ssh/config, it would be backed up to ~grid/.ssh/config.backup.
The user may be prompted for a password here since the script would be running SSH on host racdg2-2.
Warning: Permanently added 'racdg2-2,192.168.213.132' (RSA) to the list of known hosts.
grid@racdg2-2's password:
Done with creating .ssh directory and setting permissions on remote host racdg2-2.
Creating .ssh directory and setting permissions on remote host racdg2-3
THE SCRIPT WOULD ALSO BE REVOKING WRITE PERMISSIONS FOR group AND others ON THE HOME DIRECTORY FOR grid. THIS IS AN SSH REQUIREMENT.
The script would create ~grid/.ssh/config file on remote host racdg2-3. If a config file exists already at ~grid/.ssh/config, it would be backed up to ~grid/.ssh/config.backup.
The user may be prompted for a password here since the script would be running SSH on host racdg2-3.
Warning: Permanently added 'racdg2-3,192.168.213.133' (RSA) to the list of known hosts.
grid@racdg2-3's password:
Done with creating .ssh directory and setting permissions on remote host racdg2-3.
Copying local host public key to the remote host racdg2-1
The user may be prompted for a password or passphrase here since the script would be using SCP for host racdg2-1.
grid@racdg2-1's password:
Done copying local host public key to the remote host racdg2-1
Copying local host public key to the remote host racdg2-2
The user may be prompted for a password or passphrase here since the script would be using SCP for host racdg2-2.
grid@racdg2-2's password:
Done copying local host public key to the remote host racdg2-2
Copying local host public key to the remote host racdg2-3
The user may be prompted for a password or passphrase here since the script would be using SCP for host racdg2-3.
grid@racdg2-3's password:
Done copying local host public key to the remote host racdg2-3
Creating keys on remote host racdg2-1 if they do not exist already. This is required to setup SSH on host racdg2-1.

Creating keys on remote host racdg2-2 if they do not exist already. This is required to setup SSH on host racdg2-2.
Generating public/private rsa key pair.
Your identification has been saved in .ssh/id_rsa.
Your public key has been saved in .ssh/id_rsa.pub.
The key fingerprint is:
6f:43:ad:a5:ea:25:d8:8b:c9:64:9a:da:a3:0c:c9:b4 grid@racdg2-2
The key's randomart image is:
+--[ RSA 1024]----+
|                 |
|                 |
|                 |
|           .     |
| .      S . o    |
|o..    o o +     |
|oE    + o B      |
| o ..* o * .     |
|  +o+.+.+        |
+-----------------+
Creating keys on remote host racdg2-3 if they do not exist already. This is required to setup SSH on host racdg2-3.
Generating public/private rsa key pair.
Your identification has been saved in .ssh/id_rsa.
Your public key has been saved in .ssh/id_rsa.pub.
The key fingerprint is:
42:9b:fa:97:45:95:b9:f2:d1:c2:ad:b8:1a:d7:7b:a7 grid@racdg2-3
The key's randomart image is:
+--[ RSA 1024]----+
|             o   |
|            +    |
|      .    o +   |
|     . o  o = o  |
|      + S. + +   |
|     . .  o.o    |
|    .   .o...    |
|     .  oo.  .. .|
|      ....  ..Eo |
+-----------------+
Updating authorized_keys file on remote host racdg2-1
Updating known_hosts file on remote host racdg2-1
Updating authorized_keys file on remote host racdg2-2
Updating known_hosts file on remote host racdg2-2
Updating authorized_keys file on remote host racdg2-3
Updating known_hosts file on remote host racdg2-3
cat: /home/grid/.ssh/known_hosts.tmp: No such file or directory
cat: /home/grid/.ssh/authorized_keys.tmp: No such file or directory
SSH setup is complete.

------------------------------------------------------------------------
Verifying SSH setup
===================
The script will now run the date command on the remote nodes using ssh
to verify if ssh is setup correctly. IF THE SETUP IS CORRECTLY SETUP,
THERE SHOULD BE NO OUTPUT OTHER THAN THE DATE AND SSH SHOULD NOT ASK FOR
PASSWORDS. If you see any output other than date or are prompted for the
password, ssh is not setup correctly and you will need to resolve the
issue and set up ssh again.
The possible causes for failure could be:
1. The server settings in /etc/ssh/sshd_config file do not allow ssh
for user grid.
2. The server may have disabled public key based authentication.
3. The client public key on the server may be outdated.
4. ~grid or ~grid/.ssh on the remote host may not be owned by grid.
5. User may not have passed -shared option for shared remote users or
may be passing the -shared option for non-shared remote users.
6. If there is output in addition to the date, but no password is asked,
it may be a security alert shown as part of company policy. Append the
additional text to the <OMS HOME>/sysman/prov/resources/ignoreMessages.txt file.
------------------------------------------------------------------------
--racdg2-1:--
Running /usr/bin/ssh -x -l grid racdg2-1 date to verify SSH connectivity has been setup from local host to racdg2-1.
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL. Please note that being prompted for a passphrase may be OK but being prompted for a password is ERROR.
Tue Jun 25 16:18:21 CST 2024
------------------------------------------------------------------------
--racdg2-2:--
Running /usr/bin/ssh -x -l grid racdg2-2 date to verify SSH connectivity has been setup from local host to racdg2-2.
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL. Please note that being prompted for a passphrase may be OK but being prompted for a password is ERROR.
Tue Jun 25 13:02:56 CST 2024
------------------------------------------------------------------------
--racdg2-3:--
Running /usr/bin/ssh -x -l grid racdg2-3 date to verify SSH connectivity has been setup from local host to racdg2-3.
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL. Please note that being prompted for a passphrase may be OK but being prompted for a password is ERROR.
Tue Jun 25 16:18:21 CST 2024
------------------------------------------------------------------------
------------------------------------------------------------------------
Verifying SSH connectivity has been setup from racdg2-1 to racdg2-1
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL.
bash: -c: line 0: unexpected EOF while looking for matching `"'
bash: -c: line 1: syntax error: unexpected end of file
------------------------------------------------------------------------
------------------------------------------------------------------------
Verifying SSH connectivity has been setup from racdg2-1 to racdg2-2
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL.
bash: -c: line 0: unexpected EOF while looking for matching `"'
bash: -c: line 1: syntax error: unexpected end of file
------------------------------------------------------------------------
------------------------------------------------------------------------
Verifying SSH connectivity has been setup from racdg2-1 to racdg2-3
IF YOU SEE ANY OTHER OUTPUT BESIDES THE OUTPUT OF THE DATE COMMAND OR IF YOU ARE PROMPTED FOR A PASSWORD HERE, IT MEANS SSH SETUP HAS NOT BEEN SUCCESSFUL.
bash: -c: line 0: unexpected EOF while looking for matching `"'
bash: -c: line 1: syntax error: unexpected end of file
------------------------------------------------------------------------
-Verification from complete-
SSH verification complete.
 

三、安装前的检查

[grid@racdg2-1 sshsetup]$ cd ..
[grid@racdg2-1 grid]$ ls
install  readme.html  response  rpm  runcluvfy.sh  runInstaller  sshsetup  stage  welcome.html
[grid@racdg2-1 grid]$ ./runcluvfy.sh stage -pre crsinst -n "racdg2-1 racdg2-2 racdg2-3" -verbose -fixup

Check for consistency of root user's primary group passed

Starting Clock synchronization checks using Network Time Protocol(NTP)...

NTP Configuration file check started...
Network Time Protocol(NTP) configuration file not found on any of the nodes. Oracle Cluster Time Synchronization Service(CTSS) can be used instead of NTP for time synchronization on the cluster nodes
No NTP Daemons or Services were found to be running

Result: Clock synchronization check using Network Time Protocol(NTP) passed

Checking Core file name pattern consistency...
Core file name pattern consistency check passed.

Checking to make sure user "grid" is not in "root" group
  Node Name     Status                    Comment
  ------------  ------------------------  ------------------------
  racdg2-1      passed                    does not exist
  racdg2-3      passed                    does not exist
  racdg2-2      passed                    does not exist
Result: User "grid" is not part of "root" group. Check passed

Check default user file creation mask
  Node Name     Available                 Required                  Comment
  ------------  ------------------------  ------------------------  ----------
  racdg2-1      0022                      0022                      passed
  racdg2-3      0022                      0022                      passed
  racdg2-2      0022                      0022                      passed
Result: Default user file creation mask check passed
Checking consistency of file "/etc/resolv.conf" across nodes

Checking the file "/etc/resolv.conf" to make sure only one of domain and search entries is defined
File "/etc/resolv.conf" does not have both domain and search entries defined
Checking if domain entry in file "/etc/resolv.conf" is consistent across the nodes...
domain entry in file "/etc/resolv.conf" is consistent across nodes
Checking if search entry in file "/etc/resolv.conf" is consistent across the nodes...
search entry in file "/etc/resolv.conf" is consistent across nodes
Checking DNS response time for an unreachable node
  Node Name                             Status
  ------------------------------------  ------------------------
  racdg2-1                              failed
  racdg2-3                              failed
  racdg2-2                              failed
PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: racdg2-1,racdg2-3,racdg2-2

File "/etc/resolv.conf" is not consistent across nodes

Check: Time zone consistency
Result: Time zone consistency check passed

Pre-check for cluster services setup was unsuccessful on all the nodes.
到以上问题是因为dns没有配置以及禁用了ntp不影响安装

四、静默安装

 4.1配置三个节点的环境变量

export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/11.2.0.4/grid/
export ORACLE_SID=+ASM1
export PATH=$ORACLE_HOME/bin:$PATH

export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/11.2.0.4/grid/
export ORACLE_SID=+ASM2
export PATH=$ORACLE_HOME/bin:$PATH

export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/11.2.0.4/grid/
export ORACLE_SID=+ASM3
export PATH=$ORACLE_HOME/bin:$PATH

4.2执行安装程序

[grid@racdg2-1 ~]$ cd /software/grid/
[grid@racdg2-1 grid]$ ./runInstaller -silent -ignorePrereq -silent -responseFile /home/grid/grid.rsp
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 120 MB.   Actual 166263 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 16479 MB    Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2024-06-25_05-25-21PM. Please wait ...[grid@racdg2-1 grid]$ MoTTY X11 proxy: Unsupported authorisation protocol
You can find the log of this install session at:
 /u01/app/oraInventory/logs/installActions2024-06-25_05-25-21PM.log

注意:在运行一段时间后会弹出以下信息手动执行root脚本

As a root user, execute the following script(s):
        1. /u01/app/oraInventory/orainstRoot.sh
        2. /u01/app/11.2.0.4/grid/root.sh

Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes:
[racdg2-1, racdg2-2, racdg2-3]
Execute /u01/app/11.2.0.4/grid/root.sh on the following nodes:
[racdg2-1, racdg2-2, racdg2-3]

As install user, execute the following script to complete the configuration.
        1. /u01/app/11.2.0.4/grid/cfgtoollogs/configToolAllCommands RESPONSE_FILE=<response_file>

        Note:
        1. This script must be run on the same host from where installer was run.
        2. This script needs a small password properties file for configuration assistants that require passwords (refer to install guide documentation).


Successfully Setup Software.


4.3执行root脚本

在保持主安装窗口不变的情况下三个节点新打开root访问窗口

按照顺序执行root脚本

4.3.1执行第一个root脚本

1节点另起窗口执行
[root@racdg2-1 ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.

2节点执行
[root@racdg2-2 ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.

3节点执行
[root@racdg2-3 ~]# /u01/app/oraInventory/orainstRoot.sh
Changing permissions of /u01/app/oraInventory.
Adding read,write permissions for group.
Removing read,write,execute permissions for world.

Changing groupname of /u01/app/oraInventory to oinstall.
The execution of the script is complete.

4.3.2执行第二个root脚本

1节点执行第二个脚本
[root@racdg2-1 ~]# /u01/app/11.2.0.4/grid/root.sh
Check /u01/app/11.2.0.4/grid/install/root_racdg2-1_2024-06-25_17-35-38.log for the output of root script

另起窗口查看日志
[root@racdg2-1 ~]# tail -f /u01/app/11.2.0.4/grid/install/root_racdg2-1_2024-06-25_17-35-38.log
  peer root cert TP
  profile reader root cert TP
  pa root cert TP
  peer pa cert TP
  pa peer cert TP
  profile reader pa cert TP
  profile reader peer cert TP
  peer user cert
  pa user cert
Adding Clusterware entries to upstart
CRS-2672: Attempting to start 'ora.mdnsd' on 'racdg2-1'
CRS-2676: Start of 'ora.mdnsd' on 'racdg2-1' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'racdg2-1'
CRS-2676: Start of 'ora.gpnpd' on 'racdg2-1' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'racdg2-1'
CRS-2672: Attempting to start 'ora.gipcd' on 'racdg2-1'
CRS-2676: Start of 'ora.cssdmonitor' on 'racdg2-1' succeeded
CRS-2676: Start of 'ora.gipcd' on 'racdg2-1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'racdg2-1'
CRS-2672: Attempting to start 'ora.diskmon' on 'racdg2-1'
CRS-2676: Start of 'ora.diskmon' on 'racdg2-1' succeeded
CRS-2676: Start of 'ora.cssd' on 'racdg2-1' succeeded

ASM created and started successfully.

Disk Group CRS created successfully.

clscfg: -install mode specified
Successfully accumulated necessary OCR keys.
Creating OCR keys for user 'root', privgrp 'root'..
Operation successful.
CRS-4256: Updating the profile
Successful addition of voting disk 22d1298911704f69bf33a76ef2723e39.
Successful addition of voting disk 80387276db164f82bfa8256042d5736c.
Successful addition of voting disk a025577e96984f77bf5ae3b962d3feeb.
Successfully replaced voting disk group with +CRS.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
##  STATE    File Universal Id                File Name Disk group
--  -----    -----------------                --------- ---------
 1. ONLINE   22d1298911704f69bf33a76ef2723e39 (/dev/mapper/disk_ocr1) [CRS]
 2. ONLINE   80387276db164f82bfa8256042d5736c (/dev/mapper/disk_ocr2) [CRS]
 3. ONLINE   a025577e96984f77bf5ae3b962d3feeb (/dev/mapper/disk_ocr3) [CRS]
Located 3 voting disk(s).
CRS-2672: Attempting to start 'ora.asm' on 'racdg2-1'
CRS-2676: Start of 'ora.asm' on 'racdg2-1' succeeded
CRS-2672: Attempting to start 'ora.CRS.dg' on 'racdg2-1'
CRS-2676: Start of 'ora.CRS.dg' on 'racdg2-1' succeeded
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

2节点执行第二个root
[root@racdg2-2 ~]# /u01/app/11.2.0.4/grid/root.sh
Check /u01/app/11.2.0.4/grid/install/root_racdg2-2_2024-06-25_14-29-42.log for the output of root script
另起窗口查看日志
[root@racdg2-2 ~]# tail -f /u01/app/11.2.0.4/grid/install/root_racdg2-2_2024-06-25_14-29-42.log
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to upstart
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node racdg2-1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded


 
3节点执行第二个root
[root@racdg2-3 ~]# /u01/app/11.2.0.4/grid/root.sh
Check /u01/app/11.2.0.4/grid/install/root_racdg2-3_2024-06-25_17-52-23.log for the output of root script
另起窗口查看日志


[root@racdg2-3 ~]# tail -f /u01/app/11.2.0.4/grid/install/root_racdg2-3_2024-06-25_17-52-23.log
Creating /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Using configuration parameter file: /u01/app/11.2.0.4/grid/crs/install/crsconfig_params
Creating trace directory
User ignored Prerequisites during installation
Installing Trace File Analyzer
OLR initialization - successful
Adding Clusterware entries to upstart
CRS-4402: The CSS daemon was started in exclusive mode but found an active CSS daemon on node racdg2-1, number 1, and is terminating
An active cluster was found during exclusive startup, restarting to join the cluster
Preparing packages for installation...
cvuqdisk-1.0.9-1
Configure Oracle Grid Infrastructure for a Cluster ... succeeded

4.4回到主安装界面完成安装

回到主安装窗口点击回车自动跳出会话即可

五、安装后的检查

[grid@racdg2-1 grid]$ crsctl stat  res -t
--------------------------------------------------------------------------------
NAME           TARGET  STATE        SERVER                   STATE_DETAILS
--------------------------------------------------------------------------------
Local Resources
--------------------------------------------------------------------------------
ora.CRS.dg
               ONLINE  ONLINE       racdg2-1
               ONLINE  ONLINE       racdg2-2
               ONLINE  ONLINE       racdg2-3
ora.LISTENER.lsnr
               ONLINE  ONLINE       racdg2-1
               ONLINE  ONLINE       racdg2-2
               ONLINE  ONLINE       racdg2-3
ora.asm
               ONLINE  ONLINE       racdg2-1                 Started
               ONLINE  ONLINE       racdg2-2                 Started
               ONLINE  ONLINE       racdg2-3                 Started
ora.gsd
               OFFLINE OFFLINE      racdg2-1
               OFFLINE OFFLINE      racdg2-2
               OFFLINE OFFLINE      racdg2-3
ora.net1.network
               ONLINE  ONLINE       racdg2-1
               ONLINE  ONLINE       racdg2-2
               ONLINE  ONLINE       racdg2-3
ora.ons
               ONLINE  ONLINE       racdg2-1
               ONLINE  ONLINE       racdg2-2
               ONLINE  ONLINE       racdg2-3
ora.registry.acfs
               ONLINE  ONLINE       racdg2-1
               ONLINE  ONLINE       racdg2-2
               ONLINE  ONLINE       racdg2-3
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.LISTENER_SCAN1.lsnr
      1        ONLINE  ONLINE       racdg2-2
ora.LISTENER_SCAN2.lsnr
      1        ONLINE  ONLINE       racdg2-3
ora.LISTENER_SCAN3.lsnr
      1        ONLINE  ONLINE       racdg2-1
ora.cvu
      1        ONLINE  ONLINE       racdg2-1
ora.oc4j
      1        ONLINE  ONLINE       racdg2-1
ora.racdg2-1.vip
      1        ONLINE  ONLINE       racdg2-1
ora.racdg2-2.vip
      1        ONLINE  ONLINE       racdg2-2
ora.racdg2-3.vip
      1        ONLINE  ONLINE       racdg2-3
ora.scan1.vip
      1        ONLINE  ONLINE       racdg2-2
ora.scan2.vip
      1        ONLINE  ONLINE       racdg2-3
ora.scan3.vip
      1        ONLINE  ONLINE       racdg2-1
 

各个集群服务正常启动运行正常 GI软件安装完成

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

森森淼淼丶

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值