热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

Oracle12.2RAC之Grid安装

#12.2RAC之Grid安装----##创建操作系统用户```shell创建用户组usrsbingroupaddoinstallusrsb
12.2 RAC之Grid安装


创建操作系统用户

创建用户组
/usr/sbin/groupadd oinstall
/usr/sbin/groupadd dba
/usr/sbin/groupadd oper

/usr/sbin/groupadd asmadmin
/usr/sbin/groupadd asmdba
/usr/sbin/groupadd asmoper

/usr/sbin/groupadd backupdba
/usr/sbin/groupadd dgdba
/usr/sbin/groupadd kmdba
/usr/sbin/groupadd racdba
创建用户
/usr/sbin/useradd -g oinstall -G dba,asmadmin,asmdba,asmoper,oper -d /home/grid -m grid
/usr/sbin/useradd -g oinstall -G dba,oper,asmdba,asmoper,asmadmin,backupdba,dgdba,kmdba,racdba -d /home/oracle -m oracle

例如



$ id oracle
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54327(asmdba),54330(racdba)
$ id grid
uid=54331(grid) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54327(asmdba),54328(asmoper),54329(asmadmin),54330(racdba)



为oracle用户设置密码

passwd oracle
passwd grid

设置yum源

挂在os安装盘
mount /dev/cdrom /mnt
设置yum源配置文件
cat >>/etc/yum.repos.d/local.repo <[local]
name=local
baseurl=file:///mnt
gpgcheck=0
enabled=1
EOF

设置系统内核参数

cat >>/etc/sysctl.conf <kernel.shmmni = 4096
kernel.sem = 250 32000 100 128


fs.file-max = 6815744
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048576
kernel.shmall = 67108864
kernel.shmmax = 274877906944
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.tcp_rmem = 4096 87380 4194304
net.ipv4.tcp_wmem = 4096 16384 4194304
EOF

让设置的内核参数生效
sysctl -p

修改用户资源限制


cat >>/etc/security/limits.conf<grid soft nproc 2047
grid hard nproc 16384
grid soft nofile 1024
grid hard nofile 65536
oracle soft nproc 2047
oracle hard nproc 16384
oracle soft nofile 1024
oracle hard nofile 65536

oracle soft stack 10240
oracle hard stack 32768
oracle hard memlock 134217728
oracle soft memlock 134217728

grid soft stack 10240
grid hard stack 32768
grid hard memlock 134217728
grid soft memlock 134217728

EOF


cat >>/etc/pam.d/login<session required pam_limits.so
EOF

cat >>/etc/profile<if [ $USER = "oracle" ] || [ $USER = "grid" ]; then
if [ $SHELL = "/bin/ksh" ]; then
ulimit -p 16384
ulimit -n 65536
else
ulimit -u 16384 -n 65536
fi

umask 022
fi

EOF

#
Preventing Installation Errors Caused by Terminal Output Commands
# During an Oracle Grid Infrastructure installation, OUI uses SSH to run commands and copy files to the other nodes.
# During the installation, hidden files on the system (for example, .bashrc or .cshrc) can cause makefile
# and other installation errors if they contain terminal output commands.

cat >> ~grid/.bashrc<if [ -t 0 ]; then
stty intr ^C
fi
EOF

cat >> ~oracle/.bashrc<if [ -t 0 ]; then
stty intr ^C
fi
EOF


关闭Linux的透明大页功能


手动关闭透明大页

手动关闭透明大页,在终端中使用下面两行命令即可:
echo 'never' | sudo tee /sys/kernel/mm/transparent_hugepage/defrag
echo 'never' | sudo tee /sys/kernel/mm/transparent_hugepage/enabled

自动关闭透明大页

sudo tee /etc/systemd/system/disable-thp.service <<-'EOF'
[Unit]
Description=Disable Transparent Huge Pages (THP)

[Service]
Type=simple
ExecStart=/bin/sh -c "echo 'never' > /sys/kernel/mm/transparent_hugepage/enabled && echo 'never' > /sys/kernel/mm/transparent_hugepage/defrag"

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload

sudo systemctl start disable-thp
sudo systemctl enable disable-thp

创建目录


Create the Oracle Inventory Directory

mkdir -p /u01/app/oraInventory
chown -R grid:oinstall /u01/app/oraInventory
chmod -R 775 /u01/app/oraInventory

Creating the Oracle Grid Infrastructure Home Directory

mkdir -p /u01/app/grid
chown -R 775 /u01/app/grid
chown -R grid:oinstall /u01/app/grid
mkdir -p /u01/app/12.2.0/grid
chown -R grid:oinstall /u01/app/12.2.0/grid
chmod -R 775 /u01/app/12.2.0/grid

Creating the Oracle Base Directory

mkdir -p /u01/app/oracle
mkdir /u01/app/oracle/cfgtoollogs
chown -R oracle:oinstall /u01/app/oracle
chmod -R 775 /u01/app/oracle

Creating the Oracle RDBMS Home Directory

mkdir -p /u01/app/oracle/product/12.2.0/db_1
chown -R oracle:oinstall /u01/app/oracle/product/12.2.0/db_1
chmod -R 775 /u01/app/oracle/product/12.2.0/db_1

设置IP地址解析


修改hosts文件

cat >>/etc/hosts <#public
10.25.79.101 uat-racdb01
10.25.79.102 uat-racdb02
# vip
10.25.79.201 uat-racdb01-vip
10.25.79.202 uat-racdb02-vip
# scan-vip 在dnsmasq的配置文件/etc/dnsmasq.d/hosts中设置.
#10.25.79.203 uat-racdb-scan
# private
192.168.78.101 uat-racdb01-priv
192.168.78.102 uat-racdb02-priv
EOF

关闭selinux功能

sed -i 's/^SELINUX=.*/SELINUX=disabled/' /etc/selinux/config;
setenforce 0 ;
cat /etc/selinux/config | grep -i SELINUX= | grep -v "^#"

关闭防火墙

systemctl stop firewalld
systemctl disable firewalld

设置主机名

hostnamectl set-hostname uat-racdb02
hostname

安装oracleasm软件包


下载oracleasm软件包

redhat enterprise linux 7的下载地址

一定要下载对应版本的软件包,否则安装grid执行root.sh时会导致读写asm磁盘失败而无法启动css进程!!!

oracleasmlib-2.0.12-1.el7.x86_64.rpm
oracleasm-support-2.1.11-2.el7.x86_64.rpm
https://www.oracle.com/linux/downloads/linux-asmlib-rhel7-downloads.html

如果可以连接网络,可以配置yum源

[oracleasm]
name=Oracle ASMLib Kernel Drivers for Red Hat Enterprise Linux Server 5
baseurl=//yum.oracle.com/repo/OracleASM/RHEL5/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

配置好yum源后,使用以下命令安装asmlib包

yum install oracleasm-`uname -r`

cd /etc/yum.repos.d/
mv public-yum-ol7.repo public-yum-ol7.repo.bak
yum install -y oracleasm*
oracleasm --help

配置oracleasm

注意,asm磁盘的owner应该是grid,group应该是asmadmin

[root@ca-test1 /]# oracleasm configure -i
Configuring the Oracle ASM library driver.

This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.

Default user to own the driver interface []: grid
Default group to own the driver interface []: asmadmin
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration [ OK ]
Creating /dev/oracleasm mount point [ OK ]
Loading module "oracleasm" [ OK ]
Mounting ASMlib driver filesystem [ OK ]
Scanning system for ASM disks [ OK ]

创建分区

oracle的asm磁盘必须使用分区,不能直接使用/dev/sdb之类的裸设备!!!

fdisk /dev/sdb

创建asm磁盘

/usr/sbin/oracleasm scandisks
/usr/sbin/oracleasm listdisks
/usr/sbin/oracleasm createdisk data01 /dev/sdb1
/usr/sbin/oracleasm createdisk data02 /dev/sdc1

修改磁盘的IO调度算法

Setting Disk I/O Scheduler on Linux

echo deadline > /sys/block/sdb/queue/scheduler
echo deadline > /sys/block/sdc/queue/scheduler

安装vncserver

yum install -y vnc-server

安装依赖包

yum install -y \
bc \
binutils \
compat-libcap1 \
compat-libstdc++ \
compat-libstdc++ \
glibc \
glibc-devel \
ksh \
libaio \
libaio-devel \
libX11 \
libXau \
libXi \
libXtst \
libgcc \
libstdc++ \
libstdc++-devel \
libxcb \
make \
nfs-utils \
net-tools \
smartmontools \
sysstat \
tree


yum install -y compat-libcap1
yum install -y glibc-devel
yum install -y ksh libstdc++ libaio-devel cvuqdisk
yum install -y libstdc++-devel


yum install -y bc \
binutils-2.23.52.0.1-12.el7 \(x86_64\)_ \
compat-libcap1-1.10-3.el7 \(x86_64\)_ \
compat-libstdc++-33-3.2.3-71.el7 \(i686\)_ \
compat-libstdc++-33-3.2.3-71.el7 \(x86_64\)_ \
glibc-2.17-36.el7 \(i686\)_ \
glibc-2.17-36.el7 \(x86_64\)_ \
glibc-devel-2.17-36.el7 \(i686\)_ \
glibc-devel-2.17-36.el7 \(x86_64\)_ \
ksh \
libaio-0.3.109-9.el7 \(i686\)_ \
libaio-0.3.109-9.el7 \(x86_64\)_ \
libaio-devel-0.3.109-9.el7 \(i686\)_ \
libaio-devel-0.3.109-9.el7 \(x86_64\)_ \
libX11-1.6.0-2.1.el7 \(i686\)_ \
libX11-1.6.0-2.1.el7 \(x86_64\)_ \
libXau-1.0.8-2.1.el7 \(i686\)_ \
libXau-1.0.8-2.1.el7 \(x86_64\)_ \
libXi-1.7.2-1.el7 \(i686\)_ \
libXi-1.7.2-1.el7 \(x86_64\)_ \
libXtst-1.2.2-1.el7 \(i686\)_ \
libXtst-1.2.2-1.el7 \(x86_64\)_ \
libXrender \(i686\)_ \
libXrender \(x86_64\)_ \
libXrender-devel \(i686\)_ \
libXrender-devel \(x86_64\)_ \
libgcc-4.8.2-3.el7 \(i686\)_ \
libgcc-4.8.2-3.el7 \(x86_64\)_ \
libstdc++-4.8.2-3.el7 \(i686\)_ \
libstdc++-4.8.2-3.el7 \(x86_64\)_ \
libstdc++-devel-4.8.2-3.el7 \(i686\)_ \
libstdc++-devel-4.8.2-3.el7 \(x86_64\)_ \
libxcb-1.9-5.el7 \(i686\)_ \
libxcb-1.9-5.el7 \(x86_64\)_ \
make-3.82-19.el7 \(x86_64\)_ \
nfs-utils-1.3.0-0.21.el7.x86_64 \(for Oracle ACFS\)_ \
net-tools-2.0-0.17.20131004git.el7 \(x86_64\)_ \(for Oracle RAC and Oracle Clusterware\)_ \
smartmontools-6.2-4.el7 \(x86_64\)_ \
sysstat-10.1.5-1.el7 \(x86_64\)_

yum install -y binutils compat-libstdc++ gcc glibc libaio libgcc libstdc++ make sysstat unixodbc

rpm -ivh /u01/app/12.2.0/grid/cv/rpm/cvuqdisk-1.0.10-1.rpm

配置用户环境变量

cat >> ~oracle/.bash_profile<# User specific environment and startup programs
export ORACLE_SID=rac01
export ORACLE_UNQNAME=rac01

export JAVA_HOME=/usr/local/java
export ORACLE_BASE=/u01/app/oracle
export ORACLE_HOME=\$ORACLE_BASE/product/12.2.0/dbhome_1
export ORACLE_TERM=xterm
export NLS_DATE_FORMAT="YYYY:MM:DDHH24:MI:SS"
#export NLS_LANG=american_america.AL32UTF8
export TNS_ADMIN=\$ORACLE_HOME/network/admin
export ORA_NLS11=\$ORACLE_HOME/nls/data
export PATH=.:\${JAVA_HOME}/bin:\${PATH}:\$HOME/bin:\$ORACLE_HOME/bin:\$ORA_CRS_HOME/bin
export LD_LIBRARY_PATH=\$ORACLE_HOME/lib
export LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:\$ORACLE_HOME
export LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:/lib:/usr/lib:/usr/local/lib
export CLASSPATH=\$ORACLE_HOME/JRE:\$ORACLE_HOME/jlib:\$ORACLE_HOME/rdbms/jlib:\$ORACLE_HOME/network/jlib
export THREADS_FLAG=native
export TEMP=/tmp
export TMPDIR=/tmp
umask 022
EOF


cat >> ~grid/.bash_profile<# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export ORACLE_SID=+ASM1
#export ORACLE_SID=+ASM2
export ORACLE_BASE=/u01/app/grid
export ORACLE_HOME=/u01/app/12.2.0/grid
export PATH=$ORACLE_HOME/bin:$PATH:/usr/local/bin/:.
export TEMP=/tmp
export TMP=/tmp
export TMPDIR=/tmp
umask 022
export PATH
EOF

安装 dnsmasq

注意,12.2版本开始,scan ip必须使用dns解析,不能再通过/etc/hosts解析了

安装dnsmasq

yum install -y dnsmasq

配置dnsmasq

dnsmasq不需要任何配置即可满足我们的需求。


启动dnsmasq服务

systemctl stop dnsmasq
systemctl start dnsmasq
systemctl status dnsmasq

设置dnsmasq服务器地址

cat >>/etc/resolv.conf<nameserver 127.0.0.1
EOF

修改文件/etc/nsswitch.conf

修改前:
hosts: files dns myhostname


修改后:
hosts: files dns myhostname

设置swap

dd if=/dev/zero of=/tmp/tempswap bs=512k count=32000
chmod 600 /tmp/tempswap
mkswap /tmp/tempswap
swapon /tmp/tempswap
free -g

安装grid软件

从12.2版本开始,grid已经没有runInstall.sh脚本了。从该版本开始,grid的下载包就是解压包,解压后放在$ORACLE_HOME目录,然后执行以下命令即可开始安装grid

./gridSetup.sh

执行root.sh脚本


第一个节点执行root.sh脚本

注意,第一个节点执行root.sh的输出信息。注意,第一个节点和第二个节点的输出信息是不一样的。

root@uat-racdb02 grid]# /u01/app/12.2.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/12.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
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.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/uat-racdb02/crsconfig/rootcrs_uat-racdb02_2020-08-11_05-03-52PM.log
2020/08/11 17:03:54 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2020/08/11 17:03:54 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2020/08/11 17:04:22 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2020/08/11 17:04:22 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2020/08/11 17:04:24 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2020/08/11 17:04:25 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2020/08/11 17:04:26 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2020/08/11 17:04:30 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2020/08/11 17:04:31 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2020/08/11 17:04:31 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2020/08/11 17:04:49 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2020/08/11 17:04:54 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2020/08/11 17:04:54 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2020/08/11 17:04:57 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2020/08/11 17:05:13 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2020/08/11 17:05:40 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2020/08/11 17:05:44 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'uat-racdb02'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'uat-racdb02' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2020/08/11 17:06:03 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2020/08/11 17:06:06 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'uat-racdb02'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'uat-racdb02' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.evmd' on 'uat-racdb02'
CRS-2672: Attempting to start 'ora.mdnsd' on 'uat-racdb02'
CRS-2676: Start of 'ora.mdnsd' on 'uat-racdb02' succeeded
CRS-2676: Start of 'ora.evmd' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'uat-racdb02'
CRS-2676: Start of 'ora.gpnpd' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'uat-racdb02'
CRS-2672: Attempting to start 'ora.gipcd' on 'uat-racdb02'
CRS-2676: Start of 'ora.cssdmonitor' on 'uat-racdb02' succeeded
CRS-2676: Start of 'ora.gipcd' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'uat-racdb02'
CRS-2672: Attempting to start 'ora.diskmon' on 'uat-racdb02'
CRS-2676: Start of 'ora.diskmon' on 'uat-racdb02' succeeded
CRS-2676: Start of 'ora.cssd' on 'uat-racdb02' succeeded
Disk groups created successfully. Check /u01/app/grid/cfgtoollogs/asmca/asmca-200811PM050642.log for details.
2020/08/11 17:07:15 CLSRSC-482: Running command: '/u01/app/12.2.0/grid/bin/ocrconfig -upgrade grid oinstall'
CRS-2672: Attempting to start 'ora.crf' on 'uat-racdb02'
CRS-2672: Attempting to start 'ora.storage' on 'uat-racdb02'
CRS-2676: Start of 'ora.storage' on 'uat-racdb02' succeeded
CRS-2676: Start of 'ora.crf' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'uat-racdb02'
CRS-2676: Start of 'ora.crsd' on 'uat-racdb02' succeeded
CRS-4256: Updating the profile
Successful addition of voting disk 268ecda0bb404f0fbf82856be9075c6b.
Successfully replaced voting disk group with +DATA.
CRS-4256: Updating the profile
CRS-4266: Voting file(s) successfully replaced
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 268ecda0bb404f0fbf82856be9075c6b (/dev/sdc) [DATA]
Located 1 voting disk(s).
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'uat-racdb02'
CRS-2673: Attempting to stop 'ora.crsd' on 'uat-racdb02'
CRS-2677: Stop of 'ora.crsd' on 'uat-racdb02' succeeded
CRS-2673: Attempting to stop 'ora.storage' on 'uat-racdb02'
CRS-2673: Attempting to stop 'ora.crf' on 'uat-racdb02'
CRS-2673: Attempting to stop 'ora.gpnpd' on 'uat-racdb02'
CRS-2673: Attempting to stop 'ora.mdnsd' on 'uat-racdb02'
CRS-2677: Stop of 'ora.crf' on 'uat-racdb02' succeeded
CRS-2677: Stop of 'ora.gpnpd' on 'uat-racdb02' succeeded
CRS-2677: Stop of 'ora.storage' on 'uat-racdb02' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'uat-racdb02'
CRS-2677: Stop of 'ora.mdnsd' on 'uat-racdb02' succeeded
CRS-2677: Stop of 'ora.asm' on 'uat-racdb02' succeeded
CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'uat-racdb02'
CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'uat-racdb02' succeeded
CRS-2673: Attempting to stop 'ora.ctssd' on 'uat-racdb02'
CRS-2673: Attempting to stop 'ora.evmd' on 'uat-racdb02'
CRS-2677: Stop of 'ora.ctssd' on 'uat-racdb02' succeeded
CRS-2677: Stop of 'ora.evmd' on 'uat-racdb02' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'uat-racdb02'
CRS-2677: Stop of 'ora.cssd' on 'uat-racdb02' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'uat-racdb02'
CRS-2677: Stop of 'ora.gipcd' on 'uat-racdb02' succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'uat-racdb02' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2020/08/11 17:07:53 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.evmd' on 'uat-racdb02'
CRS-2672: Attempting to start 'ora.mdnsd' on 'uat-racdb02'
CRS-2676: Start of 'ora.mdnsd' on 'uat-racdb02' succeeded
CRS-2676: Start of 'ora.evmd' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'uat-racdb02'
CRS-2676: Start of 'ora.gpnpd' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'uat-racdb02'
CRS-2676: Start of 'ora.gipcd' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'uat-racdb02'
CRS-2676: Start of 'ora.cssdmonitor' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'uat-racdb02'
CRS-2672: Attempting to start 'ora.diskmon' on 'uat-racdb02'
CRS-2676: Start of 'ora.diskmon' on 'uat-racdb02' succeeded
CRS-2676: Start of 'ora.cssd' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'uat-racdb02'
CRS-2672: Attempting to start 'ora.ctssd' on 'uat-racdb02'
CRS-2676: Start of 'ora.ctssd' on 'uat-racdb02' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'uat-racdb02'
CRS-2676: Start of 'ora.asm' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'uat-racdb02'
CRS-2676: Start of 'ora.storage' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'uat-racdb02'
CRS-2676: Start of 'ora.crf' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'uat-racdb02'
CRS-2676: Start of 'ora.crsd' on 'uat-racdb02' succeeded
CRS-6023: Starting Oracle Cluster Ready Services-managed resources
CRS-6017: Processing resource auto-start for servers: uat-racdb02
CRS-6016: Resource auto-start has completed for server uat-racdb02
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2020/08/11 17:09:22 CLSRSC-343: Successfully started Oracle Clusterware stack
2020/08/11 17:09:22 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'uat-racdb02'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'uat-racdb02'
CRS-2676: Start of 'ora.asm' on 'uat-racdb02' succeeded
CRS-2672: Attempting to start 'ora.DATA.dg' on 'uat-racdb02'
CRS-2676: Start of 'ora.DATA.dg' on 'uat-racdb02' succeeded
2020/08/11 17:10:36 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.
2020/08/11 17:10:55 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

第二个节点执行root.sh

第二个节点执行root.sh的输出日志信息


[root@uat-racdb01 ~]# /u01/app/12.2.0/grid/root.sh
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/12.2.0/grid
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.
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.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/uat-racdb01/crsconfig/rootcrs_uat-racdb01_2020-08-12_09-14-43AM.log
2020/08/12 09:14:45 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2020/08/12 09:14:45 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2020/08/12 09:16:26 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2020/08/12 09:16:26 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2020/08/12 09:16:27 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2020/08/12 09:16:28 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2020/08/12 09:16:28 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2020/08/12 09:16:31 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2020/08/12 09:16:31 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2020/08/12 09:16:31 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2020/08/12 09:16:33 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2020/08/12 09:16:35 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2020/08/12 09:16:35 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2020/08/12 09:16:36 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2020/08/12 09:16:51 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2020/08/12 09:17:17 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2020/08/12 09:17:18 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'uat-racdb01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'uat-racdb01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2020/08/12 09:17:34 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2020/08/12 09:17:36 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'uat-racdb01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'uat-racdb01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'uat-racdb01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'uat-racdb01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
2020/08/12 09:17:54 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'.
CRS-4123: Starting Oracle High Availability Services-managed resources
CRS-2672: Attempting to start 'ora.evmd' on 'uat-racdb01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'uat-racdb01'
CRS-2676: Start of 'ora.mdnsd' on 'uat-racdb01' succeeded
CRS-2676: Start of 'ora.evmd' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'uat-racdb01'
CRS-2676: Start of 'ora.gpnpd' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.gipcd' on 'uat-racdb01'
CRS-2676: Start of 'ora.gipcd' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'uat-racdb01'
CRS-2676: Start of 'ora.cssdmonitor' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'uat-racdb01'
CRS-2672: Attempting to start 'ora.diskmon' on 'uat-racdb01'
CRS-2676: Start of 'ora.diskmon' on 'uat-racdb01' succeeded
CRS-2676: Start of 'ora.cssd' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'uat-racdb01'
CRS-2672: Attempting to start 'ora.ctssd' on 'uat-racdb01'
CRS-2676: Start of 'ora.ctssd' on 'uat-racdb01' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'uat-racdb01'
CRS-2676: Start of 'ora.asm' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.storage' on 'uat-racdb01'
CRS-2676: Start of 'ora.storage' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.crf' on 'uat-racdb01'
CRS-2676: Start of 'ora.crf' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'uat-racdb01'
CRS-2676: Start of 'ora.crsd' on 'uat-racdb01' succeeded
CRS-6017: Processing resource auto-start for servers: uat-racdb01
CRS-2672: Attempting to start 'ora.ASMNET1LSNR_ASM.lsnr' on 'uat-racdb01'
CRS-2672: Attempting to start 'ora.net1.network' on 'uat-racdb01'
CRS-2676: Start of 'ora.net1.network' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.ons' on 'uat-racdb01'
CRS-2676: Start of 'ora.ASMNET1LSNR_ASM.lsnr' on 'uat-racdb01' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'uat-racdb01'
CRS-2676: Start of 'ora.ons' on 'uat-racdb01' succeeded
CRS-2676: Start of 'ora.asm' on 'uat-racdb01' succeeded
CRS-6016: Resource auto-start has completed for server uat-racdb01
CRS-6024: Completed start of Oracle Cluster Ready Services-managed resources
CRS-4123: Oracle High Availability Services has been started.
2020/08/12 09:19:22 CLSRSC-343: Successfully started Oracle Clusterware stack
2020/08/12 09:19:22 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'.
2020/08/12 09:19:33 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'.
2020/08/12 09:19:42 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded

asmlib版本不对,导致以下错误!!!!

[root@mdbuat2-ractestdbs-lv01 ~]# /u01/app/12.2.0/grid/root.sh -verbose
Performing root user operation.

The following environment variables are set as:
ORACLE_OWNER= grid
ORACLE_HOME= /u01/app/12.2.0/grid

Enter the full pathname of the local bin directory: [/usr/local/bin]:
The contents of "dbhome" have not changed. No need to overwrite.
The contents of "oraenv" have not changed. No need to overwrite.
The contents of "coraenv" have not changed. No need to overwrite.

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.
Relinking oracle with rac_on option
Using configuration parameter file: /u01/app/12.2.0/grid/crs/install/crsconfig_params
The log of current session can be found at:
/u01/app/grid/crsdata/mdbuat2-ractestdbs-lv01/crsconfig/rootcrs_mdbuat2-ractestdbs-lv01_2020-08-03_02-32-44PM.log
2020/08/03 14:32:46 CLSRSC-594: Executing installation step 1 of 19: 'SetupTFA'.
2020/08/03 14:32:46 CLSRSC-4001: Installing Oracle Trace File Analyzer (TFA) Collector.
2020/08/03 14:33:10 CLSRSC-4002: Successfully installed Oracle Trace File Analyzer (TFA) Collector.
2020/08/03 14:33:10 CLSRSC-594: Executing installation step 2 of 19: 'ValidateEnv'.
2020/08/03 14:33:15 CLSRSC-363: User ignored prerequisites during installation
2020/08/03 14:33:15 CLSRSC-594: Executing installation step 3 of 19: 'CheckFirstNode'.
2020/08/03 14:33:17 CLSRSC-594: Executing installation step 4 of 19: 'GenSiteGUIDs'.
2020/08/03 14:33:18 CLSRSC-594: Executing installation step 5 of 19: 'SaveParamFile'.
2020/08/03 14:33:24 CLSRSC-594: Executing installation step 6 of 19: 'SetupOSD'.
2020/08/03 14:33:25 CLSRSC-594: Executing installation step 7 of 19: 'CheckCRSConfig'.
2020/08/03 14:33:25 CLSRSC-594: Executing installation step 8 of 19: 'SetupLocalGPNP'.
2020/08/03 14:33:44 CLSRSC-594: Executing installation step 9 of 19: 'ConfigOLR'.
2020/08/03 14:33:52 CLSRSC-594: Executing installation step 10 of 19: 'ConfigCHMOS'.
2020/08/03 14:33:52 CLSRSC-594: Executing installation step 11 of 19: 'CreateOHASD'.
2020/08/03 14:33:57 CLSRSC-594: Executing installation step 12 of 19: 'ConfigOHASD'.
2020/08/03 14:34:13 CLSRSC-330: Adding Clusterware entries to file 'oracle-ohasd.service'
2020/08/03 14:34:42 CLSRSC-594: Executing installation step 13 of 19: 'InstallAFD'.
2020/08/03 14:34:48 CLSRSC-594: Executing installation step 14 of 19: 'InstallACFS'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'mdbuat2-ractestdbs-lv01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'mdbuat2-ractestdbs-lv01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
2020/08/03 14:35:09 CLSRSC-594: Executing installation step 15 of 19: 'InstallKA'.
2020/08/03 14:35:14 CLSRSC-594: Executing installation step 16 of 19: 'InitConfig'.
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'mdbuat2-ractestdbs-lv01'
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'mdbuat2-ractestdbs-lv01' has completed
CRS-4133: Oracle High Availability Services has been stopped.
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.evmd' on 'mdbuat2-ractestdbs-lv01'
CRS-2672: Attempting to start 'ora.mdnsd' on 'mdbuat2-ractestdbs-lv01'
CRS-2676: Start of 'ora.mdnsd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2676: Start of 'ora.evmd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'mdbuat2-ractestdbs-lv01'
CRS-2676: Start of 'ora.gpnpd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'mdbuat2-ractestdbs-lv01'
CRS-2672: Attempting to start 'ora.gipcd' on 'mdbuat2-ractestdbs-lv01'
CRS-2676: Start of 'ora.cssdmonitor' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2676: Start of 'ora.gipcd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'mdbuat2-ractestdbs-lv01'
CRS-2672: Attempting to start 'ora.diskmon' on 'mdbuat2-ractestdbs-lv01'
CRS-2676: Start of 'ora.diskmon' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2674: Start of 'ora.cssd' on 'mdbuat2-ractestdbs-lv01' failed
CRS-2679: Attempting to clean 'ora.cssd' on 'mdbuat2-ractestdbs-lv01'
CRS-2681: Clean of 'ora.cssd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2673: Attempting to stop 'ora.gipcd' on 'mdbuat2-ractestdbs-lv01'
CRS-2677: Stop of 'ora.gipcd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'mdbuat2-ractestdbs-lv01'
CRS-2677: Stop of 'ora.cssdmonitor' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2673: Attempting to stop 'ora.gpnpd' on 'mdbuat2-ractestdbs-lv01'
CRS-2677: Stop of 'ora.gpnpd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2673: Attempting to stop 'ora.mdnsd' on 'mdbuat2-ractestdbs-lv01'
CRS-2677: Stop of 'ora.mdnsd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-2673: Attempting to stop 'ora.evmd' on 'mdbuat2-ractestdbs-lv01'
CRS-2677: Stop of 'ora.evmd' on 'mdbuat2-ractestdbs-lv01' succeeded
CRS-4000: Command Start failed, or completed with errors.
2020/08/03 14:47:49 CLSRSC-119: Start of the exclusive mode cluster failed

检查ocssd的日志文件

查看日志文件,会发现在读写磁盘/dev/sdb时遇到报错“ CLSB:1270335232: Oracle Clusterware infrastructure error in OCSSD (OS PID 15074): Fatal signal 6 has occurred in program ocssd thread 1270335232; nested signal count is 1”


2020-08-10 17:30:02.580 : SKGFD:1270335232: Lib :UFS:: closing handle 0x7f9a303417e0 for disk :/dev/sdc:


2020-08-10 17:30:02.580 : SKGFD:1270335232: Handle 0x7f9a303432d0 from lib :ASM:ASM Library - Generic Linux, version 2.0.12 (KABI_V2): for disk :ORCL:ASMDISK02:

2020-08-10 17:30:02.580 : CLSF:1270335232: Read header of dev:/dev/sdb:none:
2020-08-10 17:30:02.580 : SKGFD:1270335232: Lib :UFS:: closing handle 0x7f9a303408a0 for disk :/dev/sdb:

2020-08-10 17:30:02.580 : CLSF:1270335232: Read header of dev:/dev/sdc:none:
2020-08-10 17:30:02.580 : SKGFD:1270335232: Lib :UFS:: closing handle 0x7f9a303417e0 for disk :/dev/sdc:

CLSB:1270335232: Oracle Clusterware infrastructure error in OCSSD (OS PID 15074): Fatal signal 6 has occurred in program ocssd thread 1270335232; nested signal c
ount is 1
Trace file /u01/app/grid/diag/crs/uat-racdb01/crs/trace/ocssd.trc
Oracle Database 12c Clusterware Release 12.2.0.1.0 - Production Copyright 1996, 2016 Oracle. All rights reserved.
DDE: Flood control is not active
2020-08-10T17:30:02.610811+08:00
Incident 1 created, dump file: /u01/app/grid/diag/crs/uat-racdb01/crs/incident/incdir_1/ocssd_i1.trc
CRS-8503 [] [] [] [] [] [] [] [] [] [] [] []
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagSelect: endpoint(0x64) authenticated with user(root)
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcessInitialMsg: Handshake successful with agent 1
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcAgReq: got a successful connection
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcAgReq: Sending initdata
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcessInitialMsg: notify agent 1 that it is active
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcessInitialMsg: connection from agent 1, endp 0x64 - agents joined 1
2020-08-10 17:30:03.454 : CSSD:2380109568: clssscagSelect: endpoint(0x53) authenticated with user(root)
2020-08-10 17:30:03.455 : CSSD:2380109568: clssscagProcessInitialMsg: Handshake successful with agent 0
2020-08-10 17:30:03.455 : CSSD:2380109568: clssscagProcAgReq: got a successful connection
2020-08-10 17:30:03.455 : CSSD:2380109568: clssscagProcAgReq: Sending initdata
2020-08-10 17:30:03.455 : CSSD:2380109568: clssscagProcessInitialMsg: connection from agent 0, endp 0x53 - agents joined 1
2020-08-10 17:30:03.523 : CSSD:2376079104: clsssc_CLSFAInit_CB: System not ready for CLSFA initialization
2020-08-10 17:30:02.580 : SKGFD:1270335232: Lib :UFS:: closing handle 0x7f9a303417e0 for disk :/dev/sdc:


2020-08-10 17:30:02.580 : SKGFD:1270335232: Handle 0x7f9a303432d0 from lib :ASM:ASM Library - Generic Linux, version 2.0.12 (KABI_V2): for disk :ORCL:ASMDISK02:

2020-08-10 17:30:02.580 : CLSF:1270335232: Read header of dev:/dev/sdb:none:
2020-08-10 17:30:02.580 : SKGFD:1270335232: Lib :UFS:: closing handle 0x7f9a303408a0 for disk :/dev/sdb:

2020-08-10 17:30:02.580 : CLSF:1270335232: Read header of dev:/dev/sdc:none:
2020-08-10 17:30:02.580 : SKGFD:1270335232: Lib :UFS:: closing handle 0x7f9a303417e0 for disk :/dev/sdc:

CLSB:1270335232: Oracle Clusterware infrastructure error in OCSSD (OS PID 15074): Fatal signal 6 has occurred in program ocssd thread 1270335232; nested signal c
ount is 1
Trace file /u01/app/grid/diag/crs/uat-racdb01/crs/trace/ocssd.trc
Oracle Database 12c Clusterware Release 12.2.0.1.0 - Production Copyright 1996, 2016 Oracle. All rights reserved.
DDE: Flood control is not active
2020-08-10T17:30:02.610811+08:00
Incident 1 created, dump file: /u01/app/grid/diag/crs/uat-racdb01/crs/incident/incdir_1/ocssd_i1.trc
CRS-8503 [] [] [] [] [] [] [] [] [] [] [] []
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagSelect: endpoint(0x64) authenticated with user(root)
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcessInitialMsg: Handshake successful with agent 1
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcAgReq: got a successful connection
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcAgReq: Sending initdata
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcessInitialMsg: notify agent 1 that it is active
2020-08-10 17:30:03.428 : CSSD:2380109568: clssscagProcessInitialMsg: connection from agent 1, endp 0x64 - agents joined 1
2020-08-10 17:30:03.454 : CSSD:2380109568: clssscagSelect: endpoint(0x53) authenticated with user(root)
2020-08-10 17:30:03.455 : CSSD:2380109568: clssscagProcessInitialMsg: Handshake successful with agent 0
2020-08-10 17:30:03.455 : CSSD:2380109568: clssscagProcAgReq: got a successful connection
2020-08-10 17:30:03.455 : CSSD:2380109568: clssscagProcAgReq: Sending initdata
2020-08-10 17:30:03.455 : CSSD:2380109568: clssscagProcessInitialMsg: connection from agent 0, endp 0x53 - agents joined 1
2020-08-10 17:30:03.523 : CSSD:2376079104: clsssc_CLSFAInit_CB: System not ready for CLSFA initialization

删除grid配置

如果执行root.sh时报错,可以尝试先删除grid的配置,然后再重新执行root.sh脚本.

./root.sh -verbose -deconfig
/u01/app/12.2.0/grid/root.sh -deconfig -force
cd /u01/app/12.2.0/grid
deinstall/deinstall


推荐阅读
  • 深入解析 Apache Shiro 安全框架架构
    本文详细介绍了 Apache Shiro,一个强大且灵活的开源安全框架。Shiro 专注于简化身份验证、授权、会话管理和加密等复杂的安全操作,使开发者能够更轻松地保护应用程序。其核心目标是提供易于使用和理解的API,同时确保高度的安全性和灵活性。 ... [详细]
  • 本文深入探讨了 Java 中的 Serializable 接口,解释了其实现机制、用途及注意事项,帮助开发者更好地理解和使用序列化功能。 ... [详细]
  • QUIC协议:快速UDP互联网连接
    QUIC(Quick UDP Internet Connections)是谷歌开发的一种旨在提高网络性能和安全性的传输层协议。它基于UDP,并结合了TLS级别的安全性,提供了更高效、更可靠的互联网通信方式。 ... [详细]
  • Explore how Matterverse is redefining the metaverse experience, creating immersive and meaningful virtual environments that foster genuine connections and economic opportunities. ... [详细]
  • 使用 Azure Service Principal 和 Microsoft Graph API 获取 AAD 用户列表
    本文介绍了一段通用代码示例,该代码不仅能够操作 Azure Active Directory (AAD),还可以通过 Azure Service Principal 的授权访问和管理 Azure 订阅资源。Azure 的架构可以分为两个层级:AAD 和 Subscription。 ... [详细]
  • DNN Community 和 Professional 版本的主要差异
    本文详细解析了 DotNetNuke (DNN) 的两种主要版本:Community 和 Professional。通过对比两者的功能和附加组件,帮助用户选择最适合其需求的版本。 ... [详细]
  • MQTT技术周报:硬件连接与协议解析
    本周开发笔记重点介绍了在新项目中使用MQTT协议进行硬件连接的技术细节,涵盖其特性、原理及实现步骤。 ... [详细]
  • ImmutableX Poised to Pioneer Web3 Gaming Revolution
    ImmutableX is set to spearhead the evolution of Web3 gaming, with its innovative technologies and strategic partnerships driving significant advancements in the industry. ... [详细]
  • MongoDB集群配置:副本集与分片详解
    本文详细介绍了如何在MongoDB中配置副本集(Replica Sets)和分片(Sharding),并提供了具体的步骤和命令,帮助读者理解并实现高可用性和水平扩展的MongoDB集群。 ... [详细]
  • 本文详细解析了Python中的os和sys模块,介绍了它们的功能、常用方法及其在实际编程中的应用。 ... [详细]
  • RecyclerView初步学习(一)
    RecyclerView初步学习(一)ReCyclerView提供了一种插件式的编程模式,除了提供ViewHolder缓存模式,还可以自定义动画,分割符,布局样式,相比于传统的ListVi ... [详细]
  • 使用Vultr云服务器和Namesilo域名搭建个人网站
    本文详细介绍了如何通过Vultr云服务器和Namesilo域名搭建一个功能齐全的个人网站,包括购买、配置服务器以及绑定域名的具体步骤。文章还提供了详细的命令行操作指南,帮助读者顺利完成建站过程。 ... [详细]
  • 本文由瀚高PG实验室撰写,详细介绍了如何在PostgreSQL中创建、管理和删除模式。文章涵盖了创建模式的基本命令、public模式的特性、权限设置以及通过角色对象简化操作的方法。 ... [详细]
  • 基于KVM的SRIOV直通配置及性能测试
    SRIOV介绍、VF直通配置,以及包转发率性能测试小慢哥的原创文章,欢迎转载目录?1.SRIOV介绍?2.环境说明?3.开启SRIOV?4.生成VF?5.VF ... [详细]
  • 本文探讨了 Spring Boot 应用程序在不同配置下支持的最大并发连接数,重点分析了内置服务器(如 Tomcat、Jetty 和 Undertow)的默认设置及其对性能的影响。 ... [详细]
author-avatar
重庆车管所
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有