转载自:https://www.modb.pro/db/622283
1、 配置 hosts
vi /etc/hosts #public 10.229.120.4 rac1 10.229.120.6 rac2 #private 192.168.10.11 rac1-prv 192.168.10.12 rac2-prv #virtual 10.229.120.5 rac1-vip 10.229.120.7 rac2-vip #Scan 10.229.120.8 rac-scan
复制
2、 关闭 SELINIX、防火墙
echo "SELINUX=disabled" >> /etc/selinux/config echo "#SELINUXTYPE=targeted " >> /etc/selinux/config setenforce 1 systemctl stop firewalld.service systemctl disable firewalld.service
复制
3、禁止 NTP
systemctl stop ntpd systemctl disable ntpd systemctl stop chronyd.service systemctl disable chronyd.service rm -f /etc/chrony.conf
复制
4、配置目录–如果目录已经创建,则略过此步骤!!!
mkdir /u01 mount /dev/sdb1 /oracle vi /etc/fstab /dev/sdb1 /u01 xfs defaults 0 0
复制
5、检查系统语言环境:
如果是运行数据库,建议更改为英语使用UTF8,查看命令如下:
localectl status|grep LANG 调整方法: --rhel7 localectl set-locale LANG=en_US.UTF8 && localectl status|grep LANG --其它的版本 LANG="en_US.UTF-8"
复制
6、主机时间、时区检查:
--RHEL7 查看时间时区 timedatectl 设置时区 timedatectl set-timezone "Asia/Shanghai" timedatectl set-time HH:MM:SS timedatectl set-time "2012-10-30 18:17:16" --将系统时间同步给硬件时间 timedatectl set-local-rtc 1 --RHEL 7之前的版本 查看时间 date -R && grep "ZONE=" /etc/sysconfig/clock echo -e "5\n9\n1\n1" | tzselect && ln /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 下面修改系统时间 date -s "2023-04-03 11:10:00" && hwclock --systohc
复制
7、配置NOZEROCONF:(防止169.254.0.0/255.255.0.0添加到自动路由表,影响集群)
echo "NOZEROCONF=yes" >> /etc/sysconfig/network
复制
8、修改内核参数
echo "fs.file-max = 6815744 kernel.sem = 250 32000 100 128 kernel.shmmni = 4096 kernel.shmall = 94371840 kernel.shmmax = 386547056640 vm.nr_hugepages = 184320 kernel.panic_on_oops = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.all.rp_filter = 2 net.ipv4.conf.default.rp_filter = 2 fs.aio-max-nr = 1048576 net.ipv4.ip_local_port_range = 9000 65500" >> /etc/sysctl.conf sysctl –p
复制
9、修改系统资源限制参数:
vi /etc/security/limits.conf End of file grid soft nproc 16384 grid hard nproc 16384 grid soft nofile 65536 grid hard nofile 65536 grid soft stack 32768 grid hard stack 32768 oracle soft nproc 16384 oracle hard nproc 16384 oracle soft nofile 65536 oracle hard nofile 65536 oracle soft stack 32768 oracle hard stack 32768 oracle hard memlock 536870912 oracle soft memlock 536870912
复制
10、控制给用户分配的资源(登录生效!):
echo "session required pam_limits.so" >> /etc/pam.d/login cat /etc/pam.d/login
复制
11、关闭透明页:(生产环境中开启了大内存页之后,就需要关闭透明页!!!)
cat /sys/kernel/mm/transparent_hugepage/defrag - -查看该文档 [always] madvise never --如果显示always,说明需要关闭! cat /sys/kernel/mm/transparent_hugepage/enabled --查看该文档 [always] madvise never --如果显示always,说明需要关闭! vi /etc/rc.d/rc.local --编辑该文档,加入下面一段代码!然后,再将下面这段代码拷贝粘贴,执行一遍,接着,再用cat命令查询! if test -f /sys/kernel/mm/transparent_hugepage/enabled; then echo never > /sys/kernel/mm/transparent_hugepage/enabled fi if test -f /sys/kernel/mm/transparent_hugepage/defrag; then echo never > /sys/kernel/mm/transparent_hugepage/defrag fi chmod +x /etc/rc.d/rc.local --设置开机执行
复制
12、创建用户和组:
/usr/sbin/groupadd -g 60001 oinstall /usr/sbin/groupadd -g 60002 dba /usr/sbin/groupadd -g 60003 oper /usr/sbin/groupadd -g 60004 backupdba /usr/sbin/groupadd -g 60005 dgdba /usr/sbin/groupadd -g 60006 kmdba /usr/sbin/groupadd -g 60007 asmdba /usr/sbin/groupadd -g 60008 asmoper /usr/sbin/groupadd -g 60009 asmadmin useradd -u 61001 -g oinstall -G dba,asmdba,backupdba,dgdba,kmdba,oper oracle useradd -u 61002 -g oinstall -G asmadmin,asmdba,asmoper,dba grid
复制
13、更改Oracle、grid用户密码:
id grid id oracle echo grid:oracle|chpasswd echo oracle:oracle|chpasswd
复制
14、创建数据库目录:
mkdir -p /u01/app/19.3.0/grid mkdir -p /u01/app/grid mkdir -p /u01/app/oracle/product/19.3.0/db_1 chown -R grid:oinstall /u01 chown -R oracle:oinstall /u01/app/oracle chmod -R 775 /u01/
复制
15、配置环境变量:
su - grid vi ~/.bash_profile export ORACLE_SID=+ASM1 export ORACLE_BASE=/u01/app/grid export ORACLE_HOME=/u01/app/19.3.0/grid export PATH=$ORACLE_HOME/bin:$PATH:/usr/local/bin/:. export TEMP=/tmp export TMP=/tmp export TMPDIR=/tmp umask 022 export PATH
复制
su - oracle(如果创建容器数据库,Oracle环境变量里的ORACLE_UNQNAME值,需要设置为CDB名称!)
vi ~/.bash_profile #alias sqlplus="rlwrap sqlplus" #alias rman="rlwrap rman" export TMP=/tmp export LANG=en_US export TMPDIR=$TMP export ORACLE_UNQNAME=rac1 ORACLE_BASE=/u01/app/oracle; export ORACLE_BASE ORACLE_HOME=$ORACLE_BASE/product/19.3.0/db_1; export ORACLE_HOME ORACLE_SID=rac; export ORACLE_SID ORACLE_TERM=xterm; export ORACLE_TERM NLS_DATE_FORMAT="yyyy-mm-dd HH24:MI:SS"; export NLS_DATE_FORMAT NLS_LANG=AMERICAN_AMERICA.ZHS16GBK;export NLS_LANG PATH=.:$PATH:$HOME/bin:$ORACLE_BASE/product/19.3.0/db_1/bin:$ORACLE_HOME/bin; export PATH THREADS_FLAG=native; export THREADS_FLAG 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
复制
16、依赖包
[root@rac2 u01]# yum install bc gcc gcc-c++ binutils make gdb cmake glibc ksh \ > elfutils-libelf elfutils-libelf-devel fontconfig-devel glibc-devel \ > libaio libaio-devel libXrender libXrender-devel libX11 libXau sysstat \ > libXi libXtst libgcc librdmacm-devel libstdc++ libstdc++-devel libxcb \ > net-tools nfs-utils compat-libcap1 compat-libstdc++ smartmontools targetcli \ > python python-configshell python-rtslib python-six unixODBC unixODBC-devel Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager This system is not registered with an entitlement server. You can use subscription-manager to register. Package bc-1.06.95-13.el7.x86_64 already installed and latest version Package gcc-4.8.5-28.el7.x86_64 already installed and latest version Package gcc-c++-4.8.5-28.el7.x86_64 already installed and latest version Package binutils-2.27-27.base.el7.x86_64 already installed and latest version Package 1:make-3.82-23.el7.x86_64 already installed and latest version Package gdb-7.6.1-110.el7.x86_64 already installed and latest version
复制
17、存储规划:
Disk /dev/sda: 479.6 GB, 479559942144 bytes, 936640512 sectors Disk /dev/sdb: 7198.2 GB, 7198230970368 bytes, 14059044864 sectors Disk /dev/sdc: 7198.2 GB, 7198230970368 bytes, 14059044864 sectors Disk /dev/sdd: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sde: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdf: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdg: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdh: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdi: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdj: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdk: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdl: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdm: 1099.5 GB, 1099511627776 bytes, 2147483648 sectors Disk /dev/sdn: 53.7 GB, 53687091200 bytes, 104857600 sectors Disk /dev/sdo: 53.7 GB, 53687091200 bytes, 104857600 sectors Disk /dev/sdp: 53.7 GB, 53687091200 bytes, 104857600 sectors \-- 这是一个简易shell脚本,只能取出逻辑盘符对应的磁盘UUID号: for i in d e f g h i j k l m n o p; do echo "KERNEL==\"sd?\",SUBSYSTEM==\"block\", PROGRAM==\"/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/\$name\",RESULT==\"`/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i`\", SYMLINK+=\"asmdisk/asmdisk$i\",OWNER=\"grid\", GROUP=\"asmadmin\",MODE=\"0660\"" done for i in c d e f g h; do echo "sd$i" "/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i "; done fdisk -l|grep "Disk"|grep -E "sd|vd"
复制
18、使用udev绑定设备权限:
[root@rac2 u01]# for i in d e f g h i j k l m n o p; > do > echo "KERNEL==\"sd?\",SUBSYSTEM==\"block\", PROGRAM==\"/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/\$name\",RESULT==\"`/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/sd$i`\", SYMLINK+=\"asmdisk/asmdisk$i\",OWNER=\"grid\", GROUP=\"asmadmin\",MODE=\"0660\"" > done KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="36888603000000007cc05098715151752", SYMLINK+="asmdisk/asmdiskd",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="36888603000000008cc05098715151752", SYMLINK+="asmdisk/asmdiske",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="36888603000000009cc05098715151752", SYMLINK+="asmdisk/asmdiskf",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3688860300000000acc05098715151752", SYMLINK+="asmdisk/asmdiskg",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3688860300000000bcc05098715151752", SYMLINK+="asmdisk/asmdiskh",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3688860300000000ccc05098715151752", SYMLINK+="asmdisk/asmdiski",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="36888603000000010cc05098715151752", SYMLINK+="asmdisk/asmdiskj",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3688860300000000dcc05098715151752", SYMLINK+="asmdisk/asmdiskk",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3688860300000000ecc05098715151752", SYMLINK+="asmdisk/asmdiskl",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="3688860300000000fcc05098715151752", SYMLINK+="asmdisk/asmdiskm",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="36888603000000004cc05098715151752", SYMLINK+="asmdisk/asmdiskn",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="36888603000000005cc05098715151752", SYMLINK+="asmdisk/asmdisko",OWNER="grid", GROUP="asmadmin",MODE="0660" KERNEL=="sd?",SUBSYSTEM=="block", PROGRAM=="/usr/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/$name",RESULT=="36888603000000006cc05098715151752", SYMLINK+="asmdisk/asmdiskp",OWNER="grid", GROUP="asmadmin",MODE="0660" 编辑以下文件: vi /etc/udev/rules.d/99-oracle-asmdevices.rules /sbin/udevadm control --reload-rules /sbin/udevadm trigger --type=devices --action=change(Linux7.X的命令) ls -lsa /dev/asmdisk/
复制
19、安装grid组件:
Oracle19c(12.2.0.3)安装的时候,由于grid安装包相当于一个绿色版的压缩包,解压缩时需要注意以下两点: --su - grid 切换到grid用户解压缩包 --/oracle/app/19.3.0/grid 解压缩到grid家目录
复制
20、安装cvuqdisk
cd /oracle/app/19.3.0/grid/cv/rpm su - root export CVUQDISK_GRP=asmadmin rpm –ivh cvuqdisk-1.0.10-1.rpm \*\*将cvuqdisk-1.0.10-1.rpm拷贝到另一节点,执行安装。
复制
21、互信
[grid@rac1 ~]$ $ORACLE_HOME/oui/prov/resources/scripts/sshUserSetup.sh -user grid -hosts "rac1 rac2" -advanced -noPromptPassphrase The output of this script is also logged into /tmp/sshUserSetup_2023-04-04-15-04-55.log Hosts are rac1 rac2 root@rac1 u01]# /u01/app/19.3.0/grid/oui/prov/resources/scripts/sshUserSetup.sh -user oracle -hosts "rac1 rac2" -advanced -noPromptPassphrase The output of this script is also logged into /tmp/sshUserSetup_2023-04-04-15-06-52.log Hosts are rac1 rac2 user is oracle
复制
22、安装前检查
$ORACLE_HOME/runcluvfy.sh stage -pre crsinst -n "rac1,rac2" -verbose [grid@rac1 ~]$ $ORACLE_HOME/runcluvfy.sh stage -pre crsinst -n "rac1,rac2" -verbose ERROR: PRVG-10467 : The default Oracle Inventory group could not be determined. Verifying Physical Memory ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 376.3555GB (3.94637344E8KB) 8GB (8388608.0KB) passed rac1 376.3562GB (3.9463806E8KB) 8GB (8388608.0KB) passed Verifying Physical Memory ...PASSED Verifying Available Physical Memory ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 370.9442GB (3.88963212E8KB) 50MB (51200.0KB) passed rac1 370.2885GB (3.8827564E8KB) 50MB (51200.0KB) passed Verifying Available Physical Memory ...PASSED Verifying Swap Size ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 64GB (6.710886E7KB) 16.3555GB (1.7149984E7KB) passed rac1 64GB (6.710886E7KB) 16.3562GB (1.71507E7KB) passed Verifying Swap Size ...PASSED Verifying Free Space: rac2:/usr,rac2:/etc,rac2:/sbin ... Path Node Name Mount point Available Required Status ---------------- ------------ ------------ ------------ ------------ ------------ /usr rac2 / 43.4307GB 25MB passed /etc rac2 / 43.4307GB 25MB passed /sbin rac2 / 43.4307GB 10MB passed Verifying Free Space: rac2:/usr,rac2:/etc,rac2:/sbin ...PASSED Verifying Free Space: rac2:/var ... Path Node Name Mount point Available Required Status ---------------- ------------ ------------ ------------ ------------ ------------ /var rac2 /var 17.292GB 5MB passed Verifying Free Space: rac2:/var ...PASSED Verifying Free Space: rac2:/tmp ... Path Node Name Mount point Available Required Status ---------------- ------------ ------------ ------------ ------------ ------------ /tmp rac2 /tmp 10.4268GB 1GB passed Verifying Free Space: rac2:/tmp ...PASSED Verifying Free Space: rac1:/usr,rac1:/etc,rac1:/sbin ... Path Node Name Mount point Available Required Status ---------------- ------------ ------------ ------------ ------------ ------------ /usr rac1 / 40.4385GB 25MB passed /etc rac1 / 40.4385GB 25MB passed /sbin rac1 / 40.4385GB 10MB passed Verifying Free Space: rac1:/usr,rac1:/etc,rac1:/sbin ...PASSED Verifying Free Space: rac1:/var ... Path Node Name Mount point Available Required Status ---------------- ------------ ------------ ------------ ------------ ------------ /var rac1 /var 17.502GB 5MB passed Verifying Free Space: rac1:/var ...PASSED Verifying Free Space: rac1:/tmp ... Path Node Name Mount point Available Required Status ---------------- ------------ ------------ ------------ ------------ ------------ /tmp rac1 /tmp 10.4248GB 1GB passed Verifying Free Space: rac1:/tmp ...PASSED Verifying User Existence: grid ... Node Name Status Comment ------------ ------------------------ ------------------------ rac2 passed exists(61002) rac1 passed exists(61002) Verifying Users With Same UID: 61002 ...PASSED Verifying User Existence: grid ...PASSED Verifying Group Existence: asmadmin ... Node Name Status Comment ------------ ------------------------ ------------------------ rac2 passed exists rac1 passed exists Verifying Group Existence: asmadmin ...PASSED Verifying Group Existence: asmdba ... Node Name Status Comment ------------ ------------------------ ------------------------ rac2 passed exists rac1 passed exists Verifying Group Existence: asmdba ...PASSED Verifying Group Membership: asmdba ... Node Name User Exists Group Exists User in Group Status ---------------- ------------ ------------ ------------ ---------------- rac2 yes yes yes passed rac1 yes yes yes passed Verifying Group Membership: asmdba ...PASSED Verifying Group Membership: asmadmin ... Node Name User Exists Group Exists User in Group Status ---------------- ------------ ------------ ------------ ---------------- rac2 yes yes yes passed rac1 yes yes yes passed Verifying Group Membership: asmadmin ...PASSED Verifying Run Level ... Node Name run level Required Status ------------ ------------------------ ------------------------ ---------- rac2 3 3,5 passed rac1 3 3,5 passed Verifying Run Level ...PASSED Verifying Hard Limit: maximum open file descriptors ... Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- rac2 hard 65536 65536 passed rac1 hard 65536 65536 passed Verifying Hard Limit: maximum open file descriptors ...PASSED Verifying Soft Limit: maximum open file descriptors ... Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- rac2 soft 65536 1024 passed rac1 soft 65536 1024 passed Verifying Soft Limit: maximum open file descriptors ...PASSED Verifying Hard Limit: maximum user processes ... Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- rac2 hard 16384 16384 passed rac1 hard 16384 16384 passed Verifying Hard Limit: maximum user processes ...PASSED Verifying Soft Limit: maximum user processes ... Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- rac2 soft 16384 2047 passed rac1 soft 16384 2047 passed Verifying Soft Limit: maximum user processes ...PASSED Verifying Soft Limit: maximum stack size ... Node Name Type Available Required Status ---------------- ------------ ------------ ------------ ---------------- rac2 soft 32768 10240 passed rac1 soft 32768 10240 passed Verifying Soft Limit: maximum stack size ...PASSED Verifying Architecture ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 x86_64 x86_64 passed rac1 x86_64 x86_64 passed Verifying Architecture ...PASSED Verifying OS Kernel Version ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 3.10.0-862.el7.x86_64 3.10.0 passed rac1 3.10.0-862.el7.x86_64 3.10.0 passed Verifying OS Kernel Version ...PASSED Verifying OS Kernel Parameter: semmsl ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 250 250 250 passed rac2 250 250 250 passed Verifying OS Kernel Parameter: semmsl ...PASSED Verifying OS Kernel Parameter: semmns ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 32000 32000 32000 passed rac2 32000 32000 32000 passed Verifying OS Kernel Parameter: semmns ...PASSED Verifying OS Kernel Parameter: semopm ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 100 100 100 passed rac2 100 100 100 passed Verifying OS Kernel Parameter: semopm ...PASSED Verifying OS Kernel Parameter: semmni ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 128 128 128 passed rac2 128 128 128 passed Verifying OS Kernel Parameter: semmni ...PASSED Verifying OS Kernel Parameter: shmmax ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 386547056640 386547056640 202054686720 passed rac2 386547056640 386547056640 202054320128 passed Verifying OS Kernel Parameter: shmmax ...PASSED Verifying OS Kernel Parameter: shmmni ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 4096 4096 4096 passed rac2 4096 4096 4096 passed Verifying OS Kernel Parameter: shmmni ...PASSED Verifying OS Kernel Parameter: shmall ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 94371840 94371840 94371840 passed rac2 94371840 94371840 94371840 passed Verifying OS Kernel Parameter: shmall ...PASSED Verifying OS Kernel Parameter: file-max ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 6815744 6815744 6815744 passed rac2 6815744 6815744 6815744 passed Verifying OS Kernel Parameter: file-max ...PASSED Verifying OS Kernel Parameter: ip_local_port_range ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 between 9000 & 65500 between 9000 & 65500 between 9000 & 65535 passed rac2 between 9000 & 65500 between 9000 & 65500 between 9000 & 65535 passed Verifying OS Kernel Parameter: ip_local_port_range ...PASSED Verifying OS Kernel Parameter: rmem_default ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 262144 262144 262144 passed rac2 262144 262144 262144 passed Verifying OS Kernel Parameter: rmem_default ...PASSED Verifying OS Kernel Parameter: rmem_max ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 4194304 4194304 4194304 passed rac2 4194304 4194304 4194304 passed Verifying OS Kernel Parameter: rmem_max ...PASSED Verifying OS Kernel Parameter: wmem_default ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 262144 262144 262144 passed rac2 262144 262144 262144 passed Verifying OS Kernel Parameter: wmem_default ...PASSED Verifying OS Kernel Parameter: wmem_max ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 1048576 1048576 1048576 passed rac2 1048576 1048576 1048576 passed Verifying OS Kernel Parameter: wmem_max ...PASSED Verifying OS Kernel Parameter: aio-max-nr ... Node Name Current Configured Required Status Comment ---------------- ------------ ------------ ------------ ------------ ------------ rac1 1048576 1048576 1048576 passed rac2 1048576 1048576 1048576 passed Verifying OS Kernel Parameter: aio-max-nr ...PASSED Verifying Package: kmod-20-21 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 kmod(x86_64)-20-21.el7 kmod(x86_64)-20-21 passed rac1 kmod(x86_64)-20-21.el7 kmod(x86_64)-20-21 passed Verifying Package: kmod-20-21 (x86_64) ...PASSED Verifying Package: kmod-libs-20-21 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 kmod-libs(x86_64)-20-21.el7 kmod-libs(x86_64)-20-21 passed rac1 kmod-libs(x86_64)-20-21.el7 kmod-libs(x86_64)-20-21 passed Verifying Package: kmod-libs-20-21 (x86_64) ...PASSED Verifying Package: binutils-2.23.52.0.1 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 binutils-2.27-27.base.el7 binutils-2.23.52.0.1 passed rac1 binutils-2.27-27.base.el7 binutils-2.23.52.0.1 passed Verifying Package: binutils-2.23.52.0.1 ...PASSED Verifying Package: compat-libcap1-1.10 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 compat-libcap1-1.10-7.el7 compat-libcap1-1.10 passed rac1 compat-libcap1-1.10-7.el7 compat-libcap1-1.10 passed Verifying Package: compat-libcap1-1.10 ...PASSED Verifying Package: libgcc-4.8.2 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libgcc(x86_64)-4.8.5-28.el7 libgcc(x86_64)-4.8.2 passed rac1 libgcc(x86_64)-4.8.5-28.el7 libgcc(x86_64)-4.8.2 passed Verifying Package: libgcc-4.8.2 (x86_64) ...PASSED Verifying Package: libstdc++-4.8.2 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libstdc++(x86_64)-4.8.5-28.el7 libstdc++(x86_64)-4.8.2 passed rac1 libstdc++(x86_64)-4.8.5-28.el7 libstdc++(x86_64)-4.8.2 passed Verifying Package: libstdc++-4.8.2 (x86_64) ...PASSED Verifying Package: libstdc++-devel-4.8.2 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libstdc++-devel(x86_64)-4.8.5-28.el7 libstdc++-devel(x86_64)-4.8.2 passed rac1 libstdc++-devel(x86_64)-4.8.5-28.el7 libstdc++-devel(x86_64)-4.8.2 passed Verifying Package: libstdc++-devel-4.8.2 (x86_64) ...PASSED Verifying Package: sysstat-10.1.5 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 sysstat-10.1.5-13.el7 sysstat-10.1.5 passed rac1 sysstat-10.1.5-13.el7 sysstat-10.1.5 passed Verifying Package: sysstat-10.1.5 ...PASSED Verifying Package: gcc-c++-4.8.2 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 gcc-c++-4.8.5-28.el7 gcc-c++-4.8.2 passed rac1 gcc-c++-4.8.5-28.el7 gcc-c++-4.8.2 passed Verifying Package: gcc-c++-4.8.2 ...PASSED Verifying Package: ksh ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 ksh ksh passed rac1 ksh ksh passed Verifying Package: ksh ...PASSED Verifying Package: make-3.82 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 make-3.82-23.el7 make-3.82 passed rac1 make-3.82-23.el7 make-3.82 passed Verifying Package: make-3.82 ...PASSED Verifying Package: glibc-2.17 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 glibc(x86_64)-2.17-222.el7 glibc(x86_64)-2.17 passed rac1 glibc(x86_64)-2.17-222.el7 glibc(x86_64)-2.17 passed Verifying Package: glibc-2.17 (x86_64) ...PASSED Verifying Package: glibc-devel-2.17 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 glibc-devel(x86_64)-2.17-222.el7 glibc-devel(x86_64)-2.17 passed rac1 glibc-devel(x86_64)-2.17-222.el7 glibc-devel(x86_64)-2.17 passed Verifying Package: glibc-devel-2.17 (x86_64) ...PASSED Verifying Package: libaio-0.3.109 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libaio(x86_64)-0.3.109-13.el7 libaio(x86_64)-0.3.109 passed rac1 libaio(x86_64)-0.3.109-13.el7 libaio(x86_64)-0.3.109 passed Verifying Package: libaio-0.3.109 (x86_64) ...PASSED Verifying Package: libaio-devel-0.3.109 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libaio-devel(x86_64)-0.3.109-13.el7 libaio-devel(x86_64)-0.3.109 passed rac1 libaio-devel(x86_64)-0.3.109-13.el7 libaio-devel(x86_64)-0.3.109 passed Verifying Package: libaio-devel-0.3.109 (x86_64) ...PASSED Verifying Package: nfs-utils-1.2.3-15 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 nfs-utils-1.3.0-0.54.el7 nfs-utils-1.2.3-15 passed rac1 nfs-utils-1.3.0-0.54.el7 nfs-utils-1.2.3-15 passed Verifying Package: nfs-utils-1.2.3-15 ...PASSED Verifying Package: smartmontools-6.2-4 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 smartmontools-6.5-1.el7 smartmontools-6.2-4 passed rac1 smartmontools-6.5-1.el7 smartmontools-6.2-4 passed Verifying Package: smartmontools-6.2-4 ...PASSED Verifying Package: net-tools-2.0-0.17 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 net-tools-2.0-0.22.20131004git.el7 net-tools-2.0-0.17 passed rac1 net-tools-2.0-0.22.20131004git.el7 net-tools-2.0-0.17 passed Verifying Package: net-tools-2.0-0.17 ...PASSED Verifying Package: compat-libstdc++-33-3.2.3 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 missing compat-libstdc++-33(x86_64)-3.2.3 failed rac1 missing compat-libstdc++-33(x86_64)-3.2.3 failed Verifying Package: compat-libstdc++-33-3.2.3 (x86_64) ...FAILED (PRVF-7532) Verifying Package: libxcb-1.11 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libxcb(x86_64)-1.12-1.el7 libxcb(x86_64)-1.11 passed rac1 libxcb(x86_64)-1.12-1.el7 libxcb(x86_64)-1.11 passed Verifying Package: libxcb-1.11 (x86_64) ...PASSED Verifying Package: libX11-1.6.3 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libX11(x86_64)-1.6.5-1.el7 libX11(x86_64)-1.6.3 passed rac1 libX11(x86_64)-1.6.5-1.el7 libX11(x86_64)-1.6.3 passed Verifying Package: libX11-1.6.3 (x86_64) ...PASSED Verifying Package: libXau-1.0.8 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libXau(x86_64)-1.0.8-2.1.el7 libXau(x86_64)-1.0.8 passed rac1 libXau(x86_64)-1.0.8-2.1.el7 libXau(x86_64)-1.0.8 passed Verifying Package: libXau-1.0.8 (x86_64) ...PASSED Verifying Package: libXi-1.7.4 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libXi(x86_64)-1.7.9-1.el7 libXi(x86_64)-1.7.4 passed rac1 libXi(x86_64)-1.7.9-1.el7 libXi(x86_64)-1.7.4 passed Verifying Package: libXi-1.7.4 (x86_64) ...PASSED Verifying Package: libXtst-1.2.2 (x86_64) ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 libXtst(x86_64)-1.2.3-1.el7 libXtst(x86_64)-1.2.2 passed rac1 libXtst(x86_64)-1.2.3-1.el7 libXtst(x86_64)-1.2.2 passed Verifying Package: libXtst-1.2.2 (x86_64) ...PASSED Verifying Port Availability for component "Oracle Notification Service (ONS)" ... Node Name Port Number Protocol Available Status ---------------- ------------ ------------ ------------ ---------------- rac2 6200 TCP yes successful rac1 6200 TCP yes successful rac2 6100 TCP yes successful rac1 6100 TCP yes successful Verifying Port Availability for component "Oracle Notification Service (ONS)" ...PASSED Verifying Port Availability for component "Oracle Cluster Synchronization Services (CSSD)" ... Node Name Port Number Protocol Available Status ---------------- ------------ ------------ ------------ ---------------- rac2 42424 TCP yes successful rac1 42424 TCP yes successful Verifying Port Availability for component "Oracle Cluster Synchronization Services (CSSD)" ...PASSED Verifying Users With Same UID: 0 ...PASSED Verifying Current Group ID ...PASSED Verifying Root user consistency ... Node Name Status ------------------------------------ ------------------------ rac2 passed rac1 passed Verifying Root user consistency ...PASSED Verifying Package: cvuqdisk-1.0.10-1 ... Node Name Available Required Status ------------ ------------------------ ------------------------ ---------- rac2 cvuqdisk-1.0.10-1 cvuqdisk-1.0.10-1 passed rac1 cvuqdisk-1.0.10-1 cvuqdisk-1.0.10-1 passed Verifying Package: cvuqdisk-1.0.10-1 ...PASSED Verifying Host name ...PASSED Verifying Node Connectivity ... Verifying Hosts File ... Node Name Status ------------------------------------ ------------------------ rac1 passed rac2 passed Verifying Hosts File ...PASSED Interface information for node "rac1" Name IP Address Subnet Gateway Def. Gateway HW Address MTU ------ --------------- --------------- --------------- --------------- ----------------- ------ eno2 192.168.10.11 192.168.10.0 0.0.0.0 10.229.120.1 AC:1F:6B:C3:C5:2F 1500 bond1 172.121.10.11 172.121.10.0 0.0.0.0 10.229.120.1 80:3A:F4:57:4F:C6 1500 bond0.301 172.124.10.51 172.124.10.0 0.0.0.0 10.229.120.1 80:3A:F4:57:4F:C5 1500 bond0.401 10.229.120.4 10.229.120.0 0.0.0.0 10.229.120.1 80:3A:F4:57:4F:C5 1500 Interface information for node "rac2" Name IP Address Subnet Gateway Def. Gateway HW Address MTU ------ --------------- --------------- --------------- --------------- ----------------- ------ eno2 192.168.10.12 192.168.10.0 0.0.0.0 10.229.120.1 AC:1F:6B:C3:A1:C9 1500 bond1 172.121.10.12 172.121.10.0 0.0.0.0 10.229.120.1 80:3A:F4:57:4F:52 1500 bond0.301 172.124.10.52 172.124.10.0 0.0.0.0 10.229.120.1 80:3A:F4:57:4F:51 1500 bond0.401 10.229.120.6 10.229.120.0 0.0.0.0 10.229.120.1 80:3A:F4:57:4F:51 1500 Check: MTU consistency of the subnet "10.229.120.0". Node Name IP Address Subnet MTU ---------------- ------------ ------------ ------------ ---------------- rac1 bond0.401 10.229.120.4 10.229.120.0 1500 rac2 bond0.401 10.229.120.6 10.229.120.0 1500 Check: MTU consistency of the subnet "172.121.10.0". Node Name IP Address Subnet MTU ---------------- ------------ ------------ ------------ ---------------- rac1 bond1 172.121.10.11 172.121.10.0 1500 rac2 bond1 172.121.10.12 172.121.10.0 1500 Check: MTU consistency of the subnet "192.168.10.0". Node Name IP Address Subnet MTU ---------------- ------------ ------------ ------------ ---------------- rac1 eno2 192.168.10.11 192.168.10.0 1500 rac2 eno2 192.168.10.12 192.168.10.0 1500 Check: MTU consistency of the subnet "172.124.10.0". Node Name IP Address Subnet MTU ---------------- ------------ ------------ ------------ ---------------- rac1 bond0.301 172.124.10.51 172.124.10.0 1500 rac2 bond0.301 172.124.10.52 172.124.10.0 1500 Verifying Check that maximum (MTU) size packet goes through subnet ...PASSED Source Destination Connected? ------------------------------ ------------------------------ ---------------- rac1[bond0.401:10.229.120.4] rac2[bond0.401:10.229.120.6] yes Source Destination Connected? ------------------------------ ------------------------------ ---------------- rac1[bond1:172.121.10.11] rac2[bond1:172.121.10.12] yes Source Destination Connected? ------------------------------ ------------------------------ ---------------- rac1[eno2:192.168.10.11] rac2[eno2:192.168.10.12] yes Source Destination Connected? ------------------------------ ------------------------------ ---------------- rac1[bond0.301:172.124.10.51] rac2[bond0.301:172.124.10.52] yes Verifying subnet mask consistency for subnet "10.229.120.0" ...PASSED Verifying subnet mask consistency for subnet "172.121.10.0" ...PASSED Verifying subnet mask consistency for subnet "192.168.10.0" ...PASSED Verifying subnet mask consistency for subnet "172.124.10.0" ...PASSED Verifying Node Connectivity ...PASSED Verifying Multicast or broadcast check ... Checking subnet "10.229.120.0" for multicast communication with multicast group "224.0.0.251" Verifying Multicast or broadcast check ...PASSED Verifying Network Time Protocol (NTP) ... Verifying '/etc/ntp.conf' ... Node Name File exists? ------------------------------------ ------------------------ rac2 yes rac1 yes Verifying '/etc/ntp.conf' ...PASSED Verifying Network Time Protocol (NTP) ...FAILED (PRVG-1017) Verifying Same core file name pattern ...PASSED Verifying User Mask ... Node Name Available Required Comment ------------ ------------------------ ------------------------ ---------- rac2 0022 0022 passed rac1 0022 0022 passed Verifying User Mask ...PASSED Verifying User Not In Group "root": grid ... Node Name Status Comment ------------ ------------------------ ------------------------ rac2 passed does not exist rac1 passed does not exist Verifying User Not In Group "root": grid ...PASSED Verifying Time zone consistency ...PASSED Verifying Time offset between nodes ...PASSED Verifying resolv.conf Integrity ... Node Name Status ------------------------------------ ------------------------ rac1 failed rac2 failed Verifying resolv.conf Integrity ...FAILED (PRVF-5636, PRVG-2064) Verifying DNS/NIS name service ...PASSED Verifying Domain Sockets ...PASSED Verifying /boot mount ...PASSED Verifying Daemon "avahi-daemon" not configured and running ... Node Name Configured Status ------------ ------------------------ ------------------------ rac2 no passed rac1 no passed Node Name Running? Status ------------ ------------------------ ------------------------ rac2 no passed rac1 no passed Verifying Daemon "avahi-daemon" not configured and running ...PASSED Verifying Daemon "proxyt" not configured and running ... Node Name Configured Status ------------ ------------------------ ------------------------ rac2 no passed rac1 no passed Node Name Running? Status ------------ ------------------------ ------------------------ rac2 no passed rac1 no passed Verifying Daemon "proxyt" not configured and running ...PASSED Verifying User Equivalence ...PASSED Verifying RPM Package Manager database ...INFORMATION (PRVG-11250) Verifying /dev/shm mounted as temporary file system ...FAILED (PRVE-0421) Verifying File system mount options for path /var ...PASSED Verifying DefaultTasksMax parameter ...PASSED Verifying zeroconf check ...PASSED Verifying ASM Filter Driver configuration ...PASSED Pre-check for cluster services setup was unsuccessful on all the nodes. Failures were encountered during execution of CVU verification request "stage -pre crsinst". Verifying Package: compat-libstdc++-33-3.2.3 (x86_64) ...FAILED rac2: PRVF-7532 : Package "compat-libstdc++-33(x86_64)" is missing on node "rac2" rac1: PRVF-7532 : Package "compat-libstdc++-33(x86_64)" is missing on node "rac1" Verifying Network Time Protocol (NTP) ...FAILED rac2: PRVG-1017 : NTP configuration file "/etc/ntp.conf" is present on nodes "rac2,rac1" on which NTP daemon or service was not running rac1: PRVG-1017 : NTP configuration file "/etc/ntp.conf" is present on nodes "rac2,rac1" on which NTP daemon or service was not running Verifying resolv.conf Integrity ...FAILED rac2: PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: rac1,rac2 rac2: PRVG-2064 : There are no configured name servers in the file '/etc/resolv.conf' on the nodes "rac1,rac2" rac1: PRVF-5636 : The DNS response time for an unreachable node exceeded "15000" ms on following nodes: rac1,rac2 rac1: PRVG-2064 : There are no configured name servers in the file '/etc/resolv.conf' on the nodes "rac1,rac2" Verifying RPM Package Manager database ...INFORMATION PRVG-11250 : The check "RPM Package Manager database" was not performed because it needs 'root' user privileges. Verifying /dev/shm mounted as temporary file system ...FAILED rac2: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm rac1: PRVE-0421 : No entry exists in /etc/fstab for mounting /dev/shm CVU operation performed: stage -pre crsinst Date: Apr 4, 2023 3:09:03 PM CVU home: /u01/app/19.3.0/grid/ User: grid
复制
23、响应文件
oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v19.0.0 INVENTORY_LOCATION=/u01/app/oraInventory oracle.install.option=CRS_CONFIG ORACLE_BASE=/u01/app/grid oracle.install.asm.OSDBA=asmdba oracle.install.asm.OSOPER=asmoper oracle.install.asm.OSASM=asmadmin oracle.install.crs.config.scanType=LOCAL_SCAN oracle.install.crs.config.SCANClientDataFile= oracle.install.crs.config.gpnp.scanName=rac-scan oracle.install.crs.config.gpnp.scanPort=1521 oracle.install.crs.config.ClusterConfiguration=STANDALONE oracle.install.crs.config.configureAsExtendedCluster=false oracle.install.crs.config.memberClusterManifestFile= oracle.install.crs.config.clusterName=crmcluster oracle.install.crs.config.gpnp.configureGNS=false oracle.install.crs.config.autoConfigureClusterNodeVIP=false oracle.install.crs.config.clusterNodes=rac1:rac1-vip:HUB,rac2:rac2-vip:HUB oracle.install.crs.config.networkInterfaceList=bond0.401:10.229.120.0:1,eno2:192.168.10.0:5 oracle.install.crs.configureGIMR=false oracle.install.asm.configureGIMRDataDG=false oracle.install.crs.config.storageOption=FLEX_ASM_STORAGE oracle.install.crs.config.sharedFileSystemStorage.votingDiskLocations= oracle.install.crs.config.sharedFileSystemStorage.ocrLocations= oracle.install.crs.config.useIPMI=false oracle.install.asm.SYSASMPassword=oracle oracle.install.asm.diskGroup.name=OCRDG oracle.install.asm.diskGroup.redundancy=NORMAL oracle.install.asm.diskGroup.AUSize=4 oracle.install.asm.diskGroup.FailureGroups= oracle.install.asm.diskGroup.disksWithFailureGroupNames= oracle.install.asm.diskGroup.disks=/dev/asmdisk/asmdiskn,/dev/asmdisk/asmdisko,/dev/asmdisk/asmdiskp oracle.install.asm.diskGroup.quorumFailureGroupNames= oracle.install.asm.diskGroup.diskDiscoveryString=/dev/asmdisk/* oracle.install.asm.monitorPassword=oracle oracle.install.asm.configureAFD=false oracle.install.crs.config.ignoreDownNodes= oracle.install.config.managementOption=NONE oracle.install.crs.rootconfig.executeRootScript=false
复制
24、安装、按要求执行脚本
[grid@rac1 grid]$ ./gridSetup.sh -silent -ignorePrereqFailure -responseFile /home/grid/gi.rsp Launching Oracle Grid Infrastructure Setup Wizard... [FATAL] [INS-40709] The specified value for Cluster name (rac_cluster) contains invalid characters. ACTION: Specify a valid value for the cluster name. Valid characters can be any combination of lower and uppercase alphanumeric characters (a - z, A - Z, 0 - 9), and hyphen(-). Moved the install session logs to: /oracle/app/oraInventory/logs/GridSetupActions2023-04-04_03-51-13PM [grid@rac1 grid]$ ./gridSetup.sh -silent -ignorePrereqFailure -responseFile /home/grid/gi.rsp Launching Oracle Grid Infrastructure Setup Wizard... [WARNING] [INS-13013] Target environment does not meet some mandatory requirements. CAUSE: Some of the mandatory prerequisites are not met. See logs for details. /tmp/GridSetupActions2023-04-04_03-56-08PM/gridSetupActions2023-04-04_03-56-08PM.log ACTION: Identify the list of failed prerequisite checks from the log: /tmp/GridSetupActions2023-04-04_03-56-08PM/gridSetupActions2023-04-04_03-56-08PM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually. The response file for this session can be found at: /u01/app/19.3.0/grid/install/response/grid_2023-04-04_03-56-08PM.rsp You can find the log of this install session at: /tmp/GridSetupActions2023-04-04_03-56-08PM/gridSetupActions2023-04-04_03-56-08PM.log As a root user, execute the following script(s): 1. /u01/app/oraInventory/orainstRoot.sh 2. /u01/app/19.3.0/grid/root.sh Execute /u01/app/oraInventory/orainstRoot.sh on the following nodes: [rac1, rac2] Execute /u01/app/19.3.0/grid/root.sh on the following nodes: [rac1, rac2] Run the script on the local node first. After successful completion, you can start the script in parallel on all other nodes. Successfully Setup Software with warning(s). As install user, execute the following command to complete the configuration. /u01/app/19.3.0/grid/gridSetup.sh -executeConfigTools -responseFile /home/grid/gi.rsp [-silent] Moved the install session logs to: /u01/app/oraInventory/logs/GridSetupActions2023-04-04_03-56-08PM [grid@rac1 grid]$ exit logout [root@rac1 u01]# /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. [root@rac1 u01]# /u01/app/19.3.0/grid/root.sh Check /u01/app/19.3.0/grid/install/root_rac1_2023-04-04_16-04-18-321090873.log for the output of root script [root@rac1 u01]# [root@rac1 u01]# su - grid Last login: Tue Apr 4 16:15:13 CST 2023 [grid@rac1 ~]$ /u01/app/19.3.0/grid/gridSetup.sh -executeConfigTools -responseFile /home/grid/gi.rsp ERROR: Unable to verify the graphical display setup. This application requires X display. Make sure that xdpyinfo exist under PATH variable. No X11 DISPLAY variable was set, but this program performed an operation which requires it. [grid@rac1 ~]$ /u01/app/19.3.0/grid/gridSetup.sh -executeConfigTools -responseFile /home/grid/gi.rsp -silent Launching Oracle Grid Infrastructure Setup Wizard... You can find the logs of this session at: /u01/app/oraInventory/logs/GridSetupActions2023-04-04_04-20-38PM You can find the log of this install session at: /u01/app/oraInventory/logs/UpdateNodeList2023-04-04_04-20-38PM.log Configuration failed. [WARNING] [INS-43080] Some of the configuration assistants failed, were cancelled or skipped. ACTION: Refer to the logs or contact Oracle Support Services.
复制
25、查看日志
[root@rac1 ~]# tailf /tmp/GridSetupActions2023-04-04_03-56-08PM/gridSetupActions2023-04-04_03-56-08PM.log INFO: [Apr 4, 2023 4:01:29 PM] ConfigClient.endSession method called INFO: [Apr 4, 2023 4:01:29 PM] Completed preparation for configuration INFO: [Apr 4, 2023 4:01:29 PM] Completed 'Prepare for configuration steps' INFO: [Apr 4, 2023 4:01:29 PM] Copying /u01/app/19.3.0/grid to remote nodes INFO: [Apr 4, 2023 4:01:30 PM] Job:Copy Files to Remote Nodes started. Status:INPROGRESS INFO: [Apr 4, 2023 4:01:30 PM] Copying /u01/app/19.3.0/grid to remote nodes [rac2] INFO: [Apr 4, 2023 4:01:36 PM] Transferring data to 1 nodes INFO: [Apr 4, 2023 4:01:43 PM] 10% complete INFO: [Apr 4, 2023 4:01:45 PM] 20% complete INFO: [Apr 4, 2023 4:01:50 PM] 30% complete INFO: [Apr 4, 2023 4:02:25 PM] 40% complete INFO: [Apr 4, 2023 4:02:28 PM] 50% complete INFO: [Apr 4, 2023 4:02:32 PM] 60% complete INFO: [Apr 4, 2023 4:02:35 PM] 70% complete INFO: [Apr 4, 2023 4:02:38 PM] 80% complete INFO: [Apr 4, 2023 4:02:40 PM] 90% complete INFO: [Apr 4, 2023 4:02:45 PM] 100% complete INFO: [Apr 4, 2023 4:02:45 PM] Job:Copy Files to Remote Nodes completed with the status:SUCCEEDED INFO: [Apr 4, 2023 4:02:45 PM] Using default oui proxy mapping URL INFO: [Apr 4, 2023 4:02:45 PM] Loading proxy mapping from jar:file:/u01/app/19.3.0/grid/install/jlib/installcommons_1.0.0b.jar!/oracle/install/driver/oui/proxy-mappings.properties INFO: [Apr 4, 2023 4:02:45 PM] Using class oracle.install.commons.net.support.DefaultSSHSupportManager as proxy for oracle.install.commons.net.support.SSHSupportManager INFO: [Apr 4, 2023 4:02:45 PM] Using class oracle.install.driver.oui.OUIOracleServiceRegistry as proxy for oracle.install.commons.base.util.OracleServiceRegistry INFO: [Apr 4, 2023 4:02:45 PM] Set proxy mappings to System.properties INFO: [Apr 4, 2023 4:02:45 PM] ORACLE_HOME=/u01/app/19.3.0/grid INFO: [Apr 4, 2023 4:02:45 PM] fwhome=/u01/app/19.3.0/grid INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isCRSConfigured() returns value false INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isApplicationCluster() returns value :false INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isCRSConfigured() returns value false INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isExtendedCluster() returns value :false INFO: [Apr 4, 2023 4:02:45 PM] Starting to setup Add Node INFO: [Apr 4, 2023 4:02:45 PM] Initializing setup Add Node INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isCRSConfigured() returns value false INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isCRSConfiguredInHome() returns value :false for the CRS home :/u01/app/19.3.0/grid INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isCRSConfigured() returns value false INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isFlexCluster() returns false INFO: [Apr 4, 2023 4:02:45 PM] Gathering system details... INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isCRSConfigured() returns value false INFO: [Apr 4, 2023 4:02:45 PM] oracle.install.library.crs.CRSInfo.isFlexCluster() returns false INFO: [Apr 4, 2023 4:02:45 PM] Session Details : ---------------------------------------------------------- PROPERTY VALUE ---------------------------------------------------------- CLUSTER_NEW_HOST_NAMES rac2 CLUSTER_NEW_NODES rac2 CLUSTER_NEW_VIRTUAL_HOSTNAMES rac2-vip CRS_ADDNODE true CRS_DHCP_ENABLED false LOCAL_NODE rac1 ORACLE_HOME /u01/app/19.3.0/grid oracle_addnode_crs_NewNodeRoles HUB oracle_install_crs_AFD_DiskString oracle_install_crs_IsBigCluster true oracle_install_crs_IsFlexCluster true ---------------------------------------------------------- INFO: [Apr 4, 2023 4:02:45 PM] ApplicationHelper.getProperty: key:oracle.installer.remotecopy.standalone is set as system property INFO: [Apr 4, 2023 4:02:45 PM] ApplicationHelper.getProperty: key:oracle.installer.remotecopy.standalone is set as system property **************************************************************************** INFO: Oracle Universal Installer version is 12.2.0.7.0 INFO: Environment Variables: INFO: ORACLE_HOME = /u01/app/19.3.0/grid INFO: PATH = /u01/app/19.3.0/grid/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/grid/.local/bin:/home/grid/bin:/usr/local/bin/:. INFO: CLASSPATH = INFO: Username:grid INFO: =================================================================JVM PROPERTIES=========================================================== oracle.installer.warningonremovefiles = true oracle.installer.removeHome = false file.encoding.pkg = sun.io oracle.installer.ORACLE_BASEvar = ORACLE_BASE oracle.installer.ignoreDiskLabel = false java.home = /u01/app/19.3.0/grid/jdk/jre oracle.installer.rootaddnode.vars = HOME_LOCATION_API = /u01/app/19.3.0/grid actionable.validation.advisor.severity = FATAL autoConfigureVIP_helpid = S_HELP_AUTOCONFIGURE_VIP@oracle.sysman.oii.oiir.OiirRuntimeRes oracle.install.customizedeinstall = true sun.font.fontmanager = sun.awt.X11FontManager oracle.installer.waitforcompletion = false java.endorsed.dirs = /u01/app/19.3.0/grid/jdk/jre/lib/endorsed readme.exist = false oracle.installer.silent = true oracle.install.asm.util.asmtoolg.ASMTOOL_HOME = /u01/app/19.3.0/grid/bin oracle.installer.suppressedSource = false oracle.installer.rootshbackup = true oracle.installer.fastcopy = true sun.os.patch.level = unknown java.vendor.url = http://java.oracle.com/ oracle.installer.acceptUntrustedCertificates = false java.version = 1.8.0_201 oracle.installer.cleanup = false org.xml.sax.parser = oracle.xml.parser.v2.SAXParser oracle.installer.suppressPostCopyScript = false oracle.installer.LibPerms = 0755 oracle.installer.installAddOns = false oracle.installer.generateGUID = true oracle.installer.help = false oracle.srvm.formCluster = true oracle.install.commons.base.driver.common.SetupDriver = oracle.install.ivw.crs.driver.CRSImageSetupDriver oracle.installer.setupWizard = true oracle.installer.silentVariableValidation = false oracle.installer.oui_loc = /u01/app/19.3.0/grid/oui java.vendor.url.bug = http://bugreport.sun.com/bugreport/ java.protocol.handler.pkgs = |oracle.sysman.oii oracle.installer.skipUserEquivalenceCheck = true oracle.install.library.partition.diskmanager.ORAREMOTESERVICE_PATH = /u01/app/19.3.0/grid/bin oracle.installer.addNode = true user.name = grid sun.io.unicode.encoding = UnicodeLittle oracle.installer.paramFile = /u01/app/19.3.0/grid/clone/clone_oraparam.ini sun.jnu.encoding = UTF-8 oracle.installer.custom_inventory = /u01/app/oraInventory oracle.install.asm.util.kfod.PATH = /u01/app/19.3.0/grid/bin java.runtime.name = Java(TM) SE Runtime Environment oracle.installer.printmemory = false oracle.installer.performRemoteCopyInAPIMode = false oracle.installer.nobootStrap = false oracle.installer.dynamicLoadOnPrereqRetry = true oracle.installer.ntw32FoldersActions = true oracle.installer.preCloneSetup = false oracle.installer.removeallfiles = true java.specification.name = Java Platform API Specification oracle.installer.exitOnPrereqFailure = false user.timezone = Asia/Shanghai path.separator = : oracle.installer.LibExtns = .sl,.sl.19.0,.so,.so.19.0,.sl.1.0,.so.1.0 file.encoding = UTF-8 application.commandline.validateForMandatoryDependentArgs = true oracle.installer.ignorePatchConflicts = false sun.java.command = oracle.install.ivw.crs.driver.CRSConfigWizard -printtime ORACLE_HOME=/u01/app/19.3.0/grid -silent -ignorePrereqFailure -responseFile /home/grid/gi.rsp oracle.installer.continueOnAllChecksPass = false oracle.installer.executeSysPrereqs = false oracle.installer.forceDeinstall = false oracle.installer.timeout.publicnode = 30 oracle.installer.timestamp = 2023-04-04_03-56-08PM oracle.installer.detachHome = false oracle.perl.exepath = /u01/app/19.3.0/grid/perl/bin/perl oracle.installer.silentLogs = false java.io.tmpdir = /tmp/GridSetupActions2023-04-04_03-56-08PM oracle.installer.scratchPath = /u01/app/19.3.0/grid/inventory/Scripts user.language = en oracle.installer.skipACLSetting = false line.separator = oracle.installer.enableRollingUpgrade = true oracle.installer.deinstall = false oracle.installer.rootshcumulative = false oracle.installer.handleExitForRegisterForMake = true TRACING.ENABLED = false oracle.installer.defaultHomeName = false oracle.installer.ignoreSharedInventory = true java.vm.info = mixed mode java.vm.specification.name = Java Virtual Machine Specification oracle.srvm.remoteshell = /usr/bin/ssh oracle.installer.cleanUpOnExit = false oracle.installer.addnode.excludeFileListFile = crs/install/install.excl oracle.installer.startup_location = /u01/app/19.3.0/grid/oui/bin oracle.installer.tempLogDir = /tmp/GridSetupActions2023-04-04_03-56-08PM oracle.installer.invPtrLoc = /u01/app/19.3.0/grid/oraInst.loc oracle.installer.ouiApiChainInstall = true oracle.installer.font = SansSerif exitOnMakeFailure_helpid = S_HELP_OPTION_EXITONMAKEFAILURE@oracle.sysman.oii.oiir.OiirRuntimeRes oracle.installer.summary_expand_nodes = NewLangs,Global,Space,Langs oracle.installer.upgradeOUI = false oracle.install.commons.base.util.OracleServiceRegistry = oracle.install.driver.oui.OUIOracleServiceRegistry java.awt.printerjob = sun.print.PSPrinterJob oracle.installer.install.showproductname = true oracle.installer.showVariables = false oracle.installer.remoteActions = true oracle.installer.useORACLE_BASE = true oracle.installer.supportBinaryInventory = false OUI_TEMP_OB = /tmp/GridSetupActions2023-04-04_03-56-08PM/temp_ob oracle.installer.globalvarxml = /u01/app/19.3.0/grid/oui/bin/../stage/globalvariables/globalvar.xml oracle.installer.console = true oracle.installer.welcome = true os.name = Linux oracle.installer.exitOnVarValidationFailure = false java.specification.vendor = Oracle Corporation java.vm.name = Java HotSpot(TM) 64-Bit Server VM oracle.installer.updateNodeList = false oracle.installer.suppressPreCopyScript = false java.library.path = /u01/app/19.3.0/grid/lib:/u01/app/19.3.0/grid/oui/lib/linux64:/u01/app/19.3.0/grid/bin:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib SRVM_SAVE_CACHE = true java.class.version = 52.0 oracle.install.commons.net.support.SSHSupportManager = oracle.install.commons.net.support.DefaultSSHSupportManager oracle.installer.printdiskusage = false java.util.prefs.systemRoot = /u01/app/19.3.0/grid/inventory/Scripts oracle.installer.jre_loc = /u01/app/19.3.0/grid/jdk/jre oracle.installer.copy = true oracle.installer.config = true oracle.installer.allDepHomes = false application.commandline.currentContextId = GridSetup oracle.installer.record = false oracle.installer.remote = false oracle.installer.install.showinstalledproducts = true oracle.installer.fileActions = true sun.boot.library.path = /u01/app/19.3.0/grid/jdk/jre/lib/amd64 example_ids = S_HELP_VARIABLE_DEFINITION,S_HELP_SESSION_VARIABLE_TITLE,S_HELP_SESSION_EX1,S_HELP_SESSION_EX2,S_HELP_SESSION_VARIABLE_LOOKUP,S_HELP_COMPONENT_VARIABLE_TITLE,S_HELP_COMPONENT_EX1,S_HELP_COMPONENT_EX2,S_HELP_COMPONENT_VARIABLE_LOOKUP oracle.installer.timeout.virtualhostname = 3 sun.management.compiler = HotSpot 64-Bit Tiered Compilers java.awt.graphicsenv = sun.awt.X11GraphicsEnvironment oracle.installer.install.showproductversion = true oracle.installer.wait = true oracle.install.tb.globalvarpath = /u01/app/19.3.0/grid/oui/bin/../stage/globalvariables/globalvar.xml oracle.installer.printtimeverbose = false oracle.installer.ignoreLogMsg = true oracle.install.customdeinstallcommand = %ORACLE_HOME%/deinstall/deinstall oracle.installer.clusterEnabled = true oracle.install.asm.util.kfod.KFOD_ORACLE_HOME = /u01/app/19.3.0/grid oracle.installer.depHomesOnly = false oracle.installer.configWizard = true oracle.installer.clone = true oracle.installer.removeAllPatches = false java.vm.specification.version = 1.8 oracle.installer.installUpdates = false java.util.prefs.userRoot = /u01/app/19.3.0/grid/inventory/Scripts awt.toolkit = sun.awt.X11.XToolkit oracle.installer.remotecopy.standalone = true sun.cpu.isalist = oracle.installer.entryPoint = oracle.crs_Complete_cluster_install java.ext.dirs = /u01/app/19.3.0/grid/jdk/jre/lib/ext:/usr/java/packages/lib/ext oracle.installer.forceClone = false os.version = 3.10.0-862.el7.x86_64 oracle.installer.appendConfigCommands = false application.commandline.toolName = gridSetup.sh oracle.installer.backupInventory = true user.home = /home/grid oracle.installer.testForAutoUpdates = false java.vm.vendor = Oracle Corporation oracle.installer.h = false oracle.installer.skipLogsToHome = false oracle.installer.exitOnStopInstall = false oracle.installer.splash = true oracle.installer.rootaddnode.delimiter = % oracle.installer.putTimestamp = false oracle.installer.mandatorySetup = false user.dir = /u01/app/19.3.0/grid oracle.installer.setCustomNodelist = true oracle.installer.printtime = true oracle.installer.executeRemotePrereqs = false oracle.installer.updateNodeListEx = false oracle.installer.exitonback = false oracle.installer.oh_admin_acl = false oracle.installer.responseFile = /home/grid/gi.rsp oracle.install.cvu.prereq_xml_loc = /u01/app/19.3.0/grid/cv/cvdata/cvu_prereq.xml sun.cpu.endian = little oracle.installer.sessionType = Clone oracle.sysman.prov.PathsPropertiesLoc = /u01/app/19.3.0/grid/oui/prov/resources oracle.installer.link = true oracle.installer.library_loc = /u01/app/19.3.0/grid/oui/lib/linux64 getFreePort_portlist = 6150 6250 java.vm.version = 25.201-b09 ORACLE_HOME = /u01/app/19.3.0/grid java.class.path = /u01/app/19.3.0/grid/install/jlib/installcommons_1.0.0b.jar:/u01/app/19.3.0/grid/install/jlib/instcommon.jar:/u01/app/19.3.0/grid/install/jlib/instcrs.jar:/u01/app/19.3.0/grid/install/jlib/pilot_1.0.0b.jar:/u01/app/19.3.0/grid/install/jlib/instdb.jar:/u01/app/19.3.0/grid/install/jlib/instclient.jar:/u01/app/19.3.0/grid/install/jlib/emCoreConsole.jar:/u01/app/19.3.0/grid/jlib/cvu.jar:/u01/app/19.3.0/grid/jlib/srvmhas.jar:/u01/app/19.3.0/grid/jlib/srvmasm.jar:/u01/app/19.3.0/grid/jlib/gns.jar:/u01/app/19.3.0/grid/jlib/srvm.jar:/u01/app/19.3.0/grid/jlib/oraclepki.jar:/u01/app/19.3.0/grid/jlib/mgmtca.jar:/u01/app/19.3.0/grid/jlib/mgmtua.jar:/u01/app/19.3.0/grid/jlib/clscred.jar:/u01/app/19.3.0/grid/jlib/oracle.dbtools-common.jar:/u01/app/19.3.0/grid/jlib/wsclient_extended.jar:/u01/app/19.3.0/grid/jlib/adf-share-ca.jar:/u01/app/19.3.0/grid/jlib/jmxspi.jar:/u01/app/19.3.0/grid/jlib/emca.jar:/u01/app/19.3.0/grid/jlib/entityManager_proxy.jar:/u01/app/19.3.0/grid/jlib/javax.security.jacc_1.0.0.0_1-1.jar:/u01/app/19.3.0/grid/jlib/orai18n-mapping.jar:/u01/app/19.3.0/grid/jlib/orai18n-utility.jar:/u01/app/19.3.0/grid/jlib/orai18n-translation.jar:/u01/app/19.3.0/grid/jlib/jwc-cred.jar:/u01/app/19.3.0/grid/jdbc/lib/ojdbc8.jar:/u01/app/19.3.0/grid/OPatch/jlib/opatchsdk.jar:/u01/app/19.3.0/grid/OPatch/jlib/opatch.jar:/u01/app/19.3.0/grid/oui/jlib/OraPrereqChecks.jar:/u01/app/19.3.0/grid/oui/jlib/prov_fixup.jar:/u01/app/19.3.0/grid/oui/jlib/ssh.jar:/u01/app/19.3.0/grid/oui/jlib/jsch.jar:/u01/app/19.3.0/grid/oui/jlib/remoteinterfaces.jar:/u01/app/19.3.0/grid/oui/jlib/OraPrereq.jar:/u01/app/19.3.0/grid/oui/jlib/com.oracle.glcm.patch.opatch-common-api-schema_13.9.3.0.jar:/u01/app/19.3.0/grid/oui/jlib/share.jar:/u01/app/19.3.0/grid/oui/jlib/OraSuiteInstaller.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_pt_BR.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_fr.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_ja.jar:/u01/app/19.3.0/grid/oui/jlib/swingaccess.jar:/u01/app/19.3.0/grid/oui/jlib/ewt3.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_es.jar:/u01/app/19.3.0/grid/oui/jlib/xml.jar:/u01/app/19.3.0/grid/oui/jlib/OraInstallerNet.jar:/u01/app/19.3.0/grid/oui/jlib/com.oracle.glcm.patch.opatch-common-api-interfaces_13.9.3.0.jar:/u01/app/19.3.0/grid/oui/jlib/jewt4.jar:/u01/app/19.3.0/grid/oui/jlib/emCfg.jar:/u01/app/19.3.0/grid/oui/jlib/oui.jar:/u01/app/19.3.0/grid/oui/jlib/filesList.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp.jar:/u01/app/19.3.0/grid/oui/jlib/orai18n-collation.jar:/u01/app/19.3.0/grid/oui/jlib/ohj.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_zh_CN.jar:/u01/app/19.3.0/grid/oui/jlib/com.oracle.glcm.patch.opatch-common-api_13.9.3.0.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_it.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_zh_TW.jar:/u01/app/19.3.0/grid/oui/jlib/classes12.jar:/u01/app/19.3.0/grid/oui/jlib/xmlparserv2.jar:/u01/app/19.3.0/grid/oui/jlib/http_client.jar:/u01/app/19.3.0/grid/oui/jlib/OraCheckPoint.jar:/u01/app/19.3.0/grid/oui/jlib/oneclick.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_de.jar:/u01/app/19.3.0/grid/oui/jlib/InstImages.jar:/u01/app/19.3.0/grid/oui/jlib/ojmisc.jar:/u01/app/19.3.0/grid/oui/jlib/oracle_ice.jar:/u01/app/19.3.0/grid/oui/jlib/InstHelp_ko.jar:/u01/app/19.3.0/grid/oui/jlib/help-share.jar:/u01/app/19.3.0/grid/oui/jlib/OraInstaller.jar:/u01/app/19.3.0/grid/oui/jlib/ewt3-swingaccess.jar oracle.installer.oneclick = false oracle.installer.ouiApiMode = true os.arch = amd64 oracle.installer.attachHome = false oracle.installer.addLangs = false oracle.installer.ignoreDiskWarning = false oracle.installer.createLinkBackup = true oracle.installer.compsdeinstall = false oracle.installer.homepermissioncheck = true oracle.installer.force = true oracle.installer.cfs = false oracle.installer.repeat = true oracle.installer.doNotUpdateNodeList = true sun.java.launcher = SUN_STANDARD CV_HOME = /u01/app/19.3.0/grid oracle.installer.rootaddnode.source = java.vm.specification.vendor = Oracle Corporation oracle.installer.showLoadProgress = false oracle.installer.defaultifyLanguages = false file.separator = / oracle.installer.ignorePreReq = false CVU_OS_SETTINGS = SHELL_NOFILE_SOFT_LIMIT:65536,SHELL_STACK_SOFT_LIMIT:32768,SHELL_UMASK:0022 java.runtime.version = 1.8.0_201-b09 sun.boot.class.path = /u01/app/19.3.0/grid/jdk/jre/lib/resources.jar:/u01/app/19.3.0/grid/jdk/jre/lib/rt.jar:/u01/app/19.3.0/grid/jdk/jre/lib/sunrsasign.jar:/u01/app/19.3.0/grid/jdk/jre/lib/jsse.jar:/u01/app/19.3.0/grid/jdk/jre/lib/jce.jar:/u01/app/19.3.0/grid/jdk/jre/lib/charsets.jar:/u01/app/19.3.0/grid/jdk/jre/lib/jfr.jar:/u01/app/19.3.0/grid/jdk/jre/classes oracle.installer.NatLibDir = /u01/app/19.3.0/grid/inventory/Scripts/ oracle.installer.inventory_location = /u01/app/oraInventory java.security.policy = jar:file:/u01/app/19.3.0/grid/install/jlib/installcommons_1.0.0b.jar!/oracle/install/commons/base/driver/common/installer.policy oracle.installer.relink = false user.country = US oracle.installer.ignoreSysPrereqs = false oracle.installer.rootaddnode.value_vars = oracle.installer.noCopy = true oracle.installer.debug = false oracle.installer.remoteInvocation = false oracle.installer.local = false oracle.installer.useExistingInventory = true oracle.installer.clusterSwitch = ON oracle.installer.background = true java.vendor = Oracle Corporation oracle.installer.logCopyRequired = false oracle.installer.timeout.privatenode = 30 java.specification.version = 1.8 oracle.installer.logPrefix = gridSetupActions oracle.installer.rootaddnode.destn = sun.arch.data.model = 64 ========================================================================================================================================== INFO: Checkpoint:Index file :/u01/app/grid/checkpoints/oui/index.xml written in this session, found. INFO: Checkpoint:Index session closed from OiicExitOps. . INFO: Dispose the current Session instance INFO: Dispose the install area control object INFO: Update the state machine to STATE_CLEAN INFO: The Runconfig command constructed is /u01/app/19.3.0/grid/oui/bin/runConfig.sh ORACLE_HOME=/u01/app/19.3.0/grid MODE=perform ACTION=configure RERUN=true $* INFO: Creating a new config log : /u01/app/19.3.0/grid/cfgtoollogs/configToolAllCommands INFO: OS: Linux, Platform-id: 46, JVM Architecture: amd64, ARU-ID: 226 INFO: Initializing the OiiiInstallAreaControl INFO: Install area Control created with access level 1 INFO: Update the state machine to STATE_INIT_ENV INFO: Initializing Logs dir to - /tmp/GridSetupActions2023-04-04_03-56-08PM INFO: Initializing the Session for ADDNODE INFO: Creating a new OiicAddNodeAPISession INFO: Install area Control created with access level 1 INFO: Setting variable 'CLUSTER_NEW_NODES' to ''. Received the value from the command line. INFO: Initializing the OiicAddNodeAPISession INFO: Checking if there are any OiicAPISessionDetails object registered INFO: Select the OiicAPISessionDetail object from the given list INFO: There is currently no OiicAPISessionDetails object that has been initialized. So Initializing the object 1 from the list INFO: OiicAPISessionDetails object selected for initialization OiicAPISessionDetails : Oracle Home Name = null Oracle Home Location = /u01/app/19.3.0/gridGlobal variables xml location = /u01/app/19.3.0/grid/oui/bin/../stage/globalvariables/globalvar.xmlNumber of Key,Value pairs in the Variable Map = 19 INFO: Resetting the Command line arguments table before adding the contents of the OiicAPISessionDetails to it INFO: Updating the user provided variables to session vars and component vars INFO: Setting the value /u01/app/19.3.0/grid for ORACLE_HOME variable INFO: Setting variable 'ORACLE_HOME' to '/u01/app/19.3.0/grid'. Received the value from the command line. INFO: Setting the global Var property to the value : /u01/app/19.3.0/grid/oui/bin/../stage/globalvariables/globalvar.xml INFO: Setting the entries of Variable HashMap provided in OiicAPISessionDetails INFO: adding the variable oracle_install_crs_AFD_DiskString to command line args table INFO: adding the variable oracle_install_ProductName to command line args table INFO: Setting the value for LOCAL_NODE variable INFO: Setting variable 'LOCAL_NODE' to 'rac1'. Received the value from the command line. INFO: adding the variable oracle_install_architecture to command line args table INFO: adding the variable CRS_ADDNODE to command line args table INFO: adding the variable CRS_DHCP_ENABLED to command line args table INFO: adding the variable oracle_install_user to command line args table INFO: Setting the value for CLUSTER_NEW_NODES variable INFO: Setting variable 'CLUSTER_NEW_NODES' to 'rac2'. Received the value from the command line. INFO: adding the variable oracle_install_crs_IsFlexCluster to command line args table INFO: adding the variable oracle_install_classpath_separator to command line args table INFO: adding the variable CLUSTER_NEW_VIRTUAL_HOSTNAMES to command line args table INFO: adding the variable oracle_addnode_crs_NewNodeRoles to command line args table INFO: adding the variable oracle_install_PlatformDirectoryName to command line args table INFO: adding the variable oracle_install_OUILibraryLocation to command line args table INFO: Setting the value for ORACLE_HOME variable INFO: Setting variable 'ORACLE_HOME' to '/u01/app/19.3.0/grid'. Received the value from the command line. INFO: adding the variable oracle_install_UnixMakePath to command line args table INFO: adding the variable oracle_install_crs_IsBigCluster to command line args table INFO: adding the variable CLUSTER_NEW_HOST_NAMES to command line args table INFO: Setting variable 'FROM_LOCATION' to '/u01/app/19.3.0/grid/inventory/ContentsXML/comps.xml'. Received the value from a code block. INFO: Setting variable 'ROOTSH_LOCATION' to '/u01/app/19.3.0/grid/root.sh'. Received the value from a code block. INFO: Setting variable 'ROOTSH_STATUS' to '3'. Received the value from a code block. INFO: Update the State machine to STATE_INIT_SESSION INFO: Creating & Initializing the Session Interface Manager INFO: Calling OiicInstallAPISession's prepareForInstallOperations INFO: Do the iterator execution till Summary INFO: Setting variable 'ORACLE_HOME_NAME' to 'OraGI19Home1'. Received the value from a code block. INFO: OIIFP1015 INFO: Local node 'rac1' is specified by the user. INFO: Setting variable 'REMOTE_NODES' to 'rac2'. Received the value from a code block. INFO: Setting the 'ExistingClusterNodes' property to ''. INFO: Setting the 'NewNodes ( CLUSTER_NEW_NODES )' property to 'rac2'. Received the value from the command line. INFO: Setting variable 'REMOTE_NODES' to 'rac2'. Received the value from a code block. INFO: Setting variable 'CLUSTER_NODES' to 'rac2'. Received the value from a code block. INFO: Initializing OUI access setup INFO: [Apr 4, 2023 4:02:47 PM] Loading products list. Please wait. INFO: [Apr 4, 2023 4:02:47 PM] Loading products list. Please wait. INFO: Loading global variables for component oracle.crs INFO: Loading of globalvariables complete INFO: Setting variable 'oracle_install_ProductName' to 'crs'. Received the value from the command line. INFO: Setting variable 'oracle_install_db_SkipPathUpdate' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_architecture' to '64'. Received the value from the command line. INFO: Setting variable 'oracle_install_db_dbcaCmd' to 'bin/dbca'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_db_dbuaCmd' to 'bin/dbua'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_netcaCmd' to 'bin/netca'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_netcaDeinstCmd' to 'bin/netca_deinst'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_crsInstCmd' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_crsDeinstCmd' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_crsUpgrdCmd' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_cluvfyCmd' to 'bin/cluvfy'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_cluvfyargs' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_asmcaCmd' to 'asmca'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_emcaCmd' to 'bin/emca'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_configuredCRSHome' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_NoMigration' to 'true'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_StorageOption' to '0'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_DiskGroupName' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_DiskDiscoveryString' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_Disks' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_DiskGroupRedundancy' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_UseExistingDG' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_ClusterName' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_CommaSeparatedNodes' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_DiskDriveMapping' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_OCRDeviceList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_VotingDiskList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_SWOnly' to 'true'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_SwitchGIHome' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_PatchGIHome' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_swonly_multinode' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_SwitchGIHome_transparent' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_mgmtcaCmd' to 'bin/mgmtca'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_ConfigureMgmtDB' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_MgmtDB_Spfile' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_Upgrade' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_ConfigureGNS' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_GNSType' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_GNSSubDomain' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_GNSVIPAddress' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_SCANName' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_SCANPortNumber' to '0'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_FinalInterfaceList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_NodeVips' to ''. Received the value from the variable calculation. INFO: Setting variable 's_windowsSystemDirectory' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_UseIPMI' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_PublicNodeListWithoutDomain' to ''. Received the value from the variable calculation. INFO: Setting variable 's_args' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_IsBigCluster' to 'true'. Received the value from the command line. INFO: Setting variable 'oracle_install_crs_IsFlexCluster' to 'true'. Received the value from the command line. INFO: Setting variable 'oracle_install_asm_ConfigurationType' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_GNSClientDataFile' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_ClientDataFile' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_TargetHubSize' to '0'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_HUBNodesList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_AUTONodesList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_RIMNodesList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_LEAFNodesList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_HUBVipList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_AUTOVipList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_RIMVipList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_LEAFVipList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_MigrateASM' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_UnixMakePath' to '/usr/bin/make'. Received the value from the command line. INFO: Setting variable 'oracle_install_installerCmd' to 'runInstaller'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_windowsCommandLine' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_classpath_separator' to ':'. Received the value from the command line. INFO: Setting variable 'oracle_install_PlatformDirectoryName' to 'linux64'. Received the value from the command line. INFO: Setting variable 'oracle_install_rootConfiguration_ExecuteRootScript' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_addnode_crs_NewNodeRoles' to 'HUB'. Received the value from the command line. INFO: Setting variable 'CLUSTER_NEW_VIRTUAL_HOSTNAMES' to 'rac2-vip'. Received the value from the command line. INFO: Setting variable 'CLUSTER_NEW_HOST_NAMES' to 'rac2'. Received the value from the command line. INFO: Setting variable 'CRS_DHCP_ENABLED' to 'false'. Received the value from the command line. INFO: Setting variable 'CRS_ADDNODE' to 'true'. Received the value from the command line. INFO: Setting variable 'oracle_install_tg_drdaasPortNumber' to '0'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_user' to 'grid'. Received the value from the command line. INFO: Setting variable 'oracle_install_isHostExadata' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_linkRDS' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_rootUpgradeMessage' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_Ping_Targets' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_dropDBCmd' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asmca_additionalArgs' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_ClusterType' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_ClusterClass' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_app_VIPAddress' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_GIMRType' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_RemoteGIMRDataFile' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_MemberClusterDataFile' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_FailureGroups' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_QuorumFailureGroups' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_backupDG_Name' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_backupDG_Disks' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_backupDG_Redundancy' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_backupDG_FailureGroups' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_backupDG_QuorumFailureGroups' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_UseIOService' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_IsExtendedCluster' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_Sites' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_SitesList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_asm_backupDG_SitesList' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_ConfigureAFD' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_AFD_DiskString' to ''. Received the value from the command line. INFO: Setting variable 'oracle_install_crs_ConfigureRHPS' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_RHPUpgradeCmd' to 'bin/rhprepos'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_RHPUpgrade_args' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_OPC_Cluster_Type' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_OPC_NAT_Address' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_ODA_Config' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_ODA_SCAN_IPs' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_srvctlCmd' to 'bin/srvctl'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_RHPS_args' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_asmOnNAS_ocrDGSize' to '0'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_asmOnNAS_gimrDGSize' to '0'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_SCANType' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_SCANClientDataFile' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_MgmtDB_UpgradeArgs' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_mgmtuaCmd' to 'bin/mgmtua'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_mgmtua_args' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_SiteGUIDs' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_post_GIMR_upgrade_args' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_srvmhelperCmd' to 'srvm/admin/srvmhelper'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_CHAmodel_upgradeArgs' to ''. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_perlCommandLine' to 'perl/bin/perl '. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_CHAmodel_upgradeCmd' to 'crs/install/post_gimr_ugdg.pl'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_DryRunForGIUpgrade' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_Wizard' to 'false'. Received the value from the variable calculation. INFO: Setting variable 'oracle_install_crs_HAConfig' to 'false'. Received the value from the variable calculation. INFO: Performing operation for OUI access setup INFO: Trying to load the properties file for oracle.crs with install type Complete INFO: loading install properties filename: /u01/app/19.3.0/grid/inventory/Scripts/oracle.crs_Complete.properties INFO: Re-Install OUI component ( oracle.swd.oui ) : false INFO: Installed component build time : 20190417.011546 INFO: New component build time : 20190417.011546 INFO: Re-Install OUI component ( oracle.swd.oui.core ) : false INFO: Installed component build time : 20190417.011546 INFO: New component build time : 20190417.011546 INFO: Re-Install OUI component ( oracle.swd.oui.core.min ) : false INFO: Installed component build time : 20190417.011546 INFO: New component build time : 20190417.011546 INFO: *** Cluster Node Addition Summary Page*** INFO: ### The specified OH is present : /u01/app/19.3.0/grid INFO: ### The Directory to be checked is : /u01/app/19.3.0/grid INFO: Native Volume Name:/u01/app/19.3.0/grid/install/ INFO: Nodes:rac1,rac2 INFO: Local Node:rac1 INFO: Native Volume Name:/u01/app/19.3.0/grid/ INFO: Nodes:rac1,rac2 INFO: Local Node:rac1 INFO: INFO: ----------------------------------------------------------------------------- INFO: Cluster Node Addition Summary INFO: Global Settings INFO: Source: /u01/app/19.3.0/grid INFO: New Nodes INFO: Space Requirements INFO: Native Volume Name:/u01/app/19.3.0/grid/ INFO: Nodes:rac1,rac2 INFO: Local Node:rac1 INFO: New Nodes INFO: rac2 INFO: /u01: Required 9.94GB : Available 185.96GB INFO: Installed Products INFO: Product Names INFO: Oracle Grid Infrastructure 19c 19.0.0.0.0 INFO: Java Development Kit 1.8.0.201.0 INFO: oracle.swd.oui.core.min 12.2.0.7.0 INFO: Installer SDK Component 12.2.0.7.0 INFO: Oracle One-Off Patch Installer 12.2.0.1.15 INFO: Oracle Universal Installer 12.2.0.7.0 INFO: Tomcat Container 19.0.0.0.0 INFO: Oracle Grid Infrastructure Bundled Agents 19.0.0.0.0 INFO: Oracle Core Required Support Files for Core DB 19.0.0.0.0 INFO: Oracle Grid Management Database 19.0.0.0.0 INFO: Oracle USM Deconfiguration 19.0.0.0.0 INFO: Oracle DBCA Deconfiguration 19.0.0.0.0 INFO: Oracle Quality of Service Management (Server) 19.0.0.0.0 INFO: Universal Storage Manager Files 19.0.0.0.0 INFO: Oracle Text Required Support Files 19.0.0.0.0 INFO: Oracle JDBC Server Support Package 19.0.0.0.0 INFO: Database Workspace Manager 19.0.0.0.0 INFO: Hadoopcore Component 19.0.0.0.0 INFO: Automatic Storage Management Assistant 19.0.0.0.0 INFO: Oracle Database 19c Multimedia Files 19.0.0.0.0 INFO: Oracle Multimedia Java Advanced Imaging 19.0.0.0.0 INFO: Oracle Globalization Support 19.0.0.0.0 INFO: Oracle Multimedia Locator Java Required Support Files 19.0.0.0.0 INFO: Oracle Multimedia Locator RDBMS Files 19.0.0.0.0 INFO: Oracle Bali Share 11.1.1.6.0 INFO: Oracle Globalization Support For Core 19.0.0.0.0 INFO: Expat libraries 2.0.1.0.4 INFO: BLASLAPACK Component 19.0.0.0.0 INFO: DB TOOLS Listener 19.0.0.0.0 INFO: Oracle Database Deconfiguration 19.0.0.0.0 INFO: RHP Files for Common 19.0.0.0.0 INFO: RHP Files for DB 19.0.0.0.0 INFO: Perl Modules 5.28.1.0.0 INFO: Oracle JVM For Core 19.0.0.0.0 INFO: Perl Interpreter 5.28.1.0.0 INFO: Secure Socket Layer 19.0.0.0.0 INFO: Oracle Universal Connection Pool 19.0.0.0.0 INFO: Oracle JDBC/OCI Instant Client 19.0.0.0.0 INFO: Oracle Multimedia Client Option 19.0.0.0.0 INFO: Oracle Java Client 19.0.0.0.0 INFO: Database Migration Assistant for Unicode 19.0.0.0.0 INFO: Oracle JFC Extended Windowing Toolkit 11.1.1.6.0 INFO: OLAP SQL Scripts 19.0.0.0.0 INFO: PL/SQL Embedded Gateway 19.0.0.0.0 INFO: Database SQL Scripts 19.0.0.0.0 INFO: SSL Required Support Files for InstantClient 19.0.0.0.0 INFO: LDAP Required Support Files 19.0.0.0.0 INFO: SQL*Plus Files for Instant Client 19.0.0.0.0 INFO: Oracle Net Required Support Files 19.0.0.0.0 INFO: Oracle Notification Service for Instant Client 19.0.0.0.0 INFO: Deinstallation Tool 19.0.0.0.0 INFO: Oracle Locale Builder 19.0.0.0.0 INFO: XML Parser for Java 19.0.0.0.0 INFO: Oracle Security Developer Tools 19.0.0.0.0 INFO: Oracle Wallet Manager 19.0.0.0.0 INFO: Installation Plugin Files 19.0.0.0.0 INFO: Platform Required Support Files 19.0.0.0.0 INFO: Oracle Help Share Library 11.1.1.7.0 INFO: Oracle Help for Java 11.1.1.7.0 INFO: RDBMS Required Support Files for Instant Client 19.0.0.0.0 INFO: Oracle Extended Windowing Toolkit 11.1.1.6.0 INFO: oracle.swd.commonlogging 13.3.0.0.0 INFO: Tracle File Analyzer 19.0.0.0.0 INFO: oracle.swd.opatchautodb 12.2.0.1.5 INFO: Oracle LDAP administration 19.0.0.0.0 INFO: RHP Files for CRS 19.0.0.0.0 INFO: Cluster Verification Utility Files 19.0.0.0.0 INFO: RDBMS Required Support Files 19.0.0.0.0 INFO: Cluster Verification Utility CRS Files 19.0.0.0.0 INFO: Cluster Verification Utility Common Files 19.0.0.0.0 INFO: Oracle Clusterware RDBMS Files 19.0.0.0.0 INFO: Oracle Ice Browser 11.1.1.7.0 INFO: Oracle Globalization Support 19.0.0.0.0 INFO: Buildtools Common Files 19.0.0.0.0 INFO: Oracle RAC Required Support Files-HAS 19.0.0.0.0 INFO: SQL*Plus Required Support Files 19.0.0.0.0 INFO: XDK Required Support Files 19.0.0.0.0 INFO: Parser Generator Required Support Files 19.0.0.0.0 INFO: Precompiler Required Support Files 19.0.0.0.0 INFO: Installation Common Files 19.0.0.0.0 INFO: Oracle Core Required Support Files 19.0.0.0.0 INFO: HAS Common Files 19.0.0.0.0 INFO: Required Support Files 19.0.0.0.0 INFO: Oracle JDBC/THIN Interfaces 19.0.0.0.0 INFO: Oracle Multimedia Locator 19.0.0.0.0 INFO: Assistant Common Files 19.0.0.0.0 INFO: Oracle Multimedia 19.0.0.0.0 INFO: Oracle Netca Client 19.0.0.0.0 INFO: Oracle Net 19.0.0.0.0 INFO: HAS Files for DB 19.0.0.0.0 INFO: PL/SQL 19.0.0.0.0 INFO: Oracle Recovery Manager 19.0.0.0.0 INFO: Oracle Database Utilities 19.0.0.0.0 INFO: Oracle Notification Service 19.0.0.0.0 INFO: SQL*Plus 19.0.0.0.0 INFO: Oracle Advanced Security 19.0.0.0.0 INFO: Cluster Ready Services Files 19.0.0.0.0 INFO: Database Configuration and Upgrade Assistants 19.0.0.0.0 INFO: Oracle JVM 19.0.0.0.0 INFO: Oracle Internet Directory Client 19.0.0.0.0 INFO: Oracle Net Listener 19.0.0.0.0 INFO: Oracle Database 19c 19.0.0.0.0 INFO: ----------------------------------------------------------------------------- INFO: ### The specified OH is present : /u01/app/19.3.0/grid INFO: ### The Directory to be checked is : /u01/app/19.3.0/grid INFO: Native Volume Name:/u01/app/19.3.0/grid/ INFO: Nodes:rac1,rac2 INFO: Local Node:rac1 INFO: Update the state machine to STATE_READY INFO: Update the state machine to STATE_DONE INFO: Calling OiicAddNodeAPISession's doOperation INFO: Does the pre installation setup INFO: Adding the iterator oracle.sysman.oii.oiic.OiicAddNodeAPISession$OiicAPISelCompsInstall INFO: [Apr 4, 2023 4:02:52 PM] InstallProgressMonitor: Total Bytes to Install 100 INFO: Instantiating root scripts for add node INFO: [Apr 4, 2023 4:02:52 PM] InstallProgressMonitor: Starting phase 128 INFO: [Apr 4, 2023 4:02:52 PM] Instantiating root scripts for add node INFO: [Apr 4, 2023 4:02:52 PM] Instantiating root scripts for add node INFO: Setting variable 'ORACLE_BASE' to '/u01/app/grid'. Received the value from a code block. INFO: [Apr 4, 2023 4:02:52 PM] InstallProgressMonitor: Completed phase 128 INFO: Native Volume Name:/u01/app/19.3.0/grid/ INFO: Nodes:rac1,rac2 INFO: Local Node:rac1 INFO: Native Volume Name:/u01/app/grid/ INFO: Nodes:rac1,rac2 INFO: Local Node:rac1 INFO: Saving Cluster Inventory INFO: [Apr 4, 2023 4:02:55 PM] InstallProgressMonitor: Starting phase 1,024 INFO: [Apr 4, 2023 4:02:55 PM] Saving Cluster Inventory INFO: [Apr 4, 2023 4:02:55 PM] Saving Cluster Inventory INFO: Native Volume Name:/u01/app/oraInventory/ INFO: Nodes:rac1,rac2 INFO: Local Node:rac1 INFO: Native Volume Name:/u01/app/19.3.0/grid/ INFO: Nodes:rac1,rac2 INFO: Local Node:rac1 INFO: Starting remote cmd threads............... INFO: All remote cmd threads started............... INFO: New thread started for node : rac2 INFO: Running command '/u01/app/19.3.0/grid/oui/bin/runInstaller -paramFile /u01/app/19.3.0/grid/oui/clusterparam.ini -silent -ignoreSysPrereqs -attachHome -noClusterEnabled ORACLE_HOME=/u01/app/19.3.0/grid ORACLE_HOME_NAME=OraGI19Home1 "CLUSTER_NODES={rac2}" -force INVENTORY_LOCATION=/u01/app/oraInventory LOCAL_NODE=rac2 -remoteInvocation -invokingNodeName rac1 -logFilePath "/tmp/GridSetupActions2023-04-04_03-56-08PM" -timestamp 2023-04-04_03-56-08PM -doNotUpdateNodeList ' on the nodes 'rac2'. INFO: Invoking OUI on cluster nodes rac2 INFO: /u01/app/19.3.0/grid/oui/bin/runInstaller -paramFile /u01/app/19.3.0/grid/oui/clusterparam.ini -silent -ignoreSysPrereqs -attachHome -noClusterEnabled ORACLE_HOME=/u01/app/19.3.0/grid ORACLE_HOME_NAME=OraGI19Home1 "CLUSTER_NODES={rac2}" -force INVENTORY_LOCATION=/u01/app/oraInventory LOCAL_NODE=rac2 -remoteInvocation -invokingNodeName rac1 -logFilePath "/tmp/GridSetupActions2023-04-04_03-56-08PM" -timestamp 2023-04-04_03-56-08PM -doNotUpdateNodeList INFO: Command execution completes for node : rac2 INFO: Command execution sucess for node : rac2 INFO: All threads completed its operations INFO: Saving the install inventory which has the access of 1 INFO: The flags set for this home (/u01/app/19.3.0/grid) are:clean INFO: Home:/u01/app/19.3.0/grid oraclehomeproperties.xml is not saved because the flags indicate no changes to this file. INFO: Updating XML inventory. INFO: Please execute the '/u01/app/oraInventory/orainstRoot.sh' script at the end of the session. INFO: Current Inventory: Oracle Home: OraGI19Home1 Oracle Grid Infrastructure 19c 19.0.0.0.0 Java Development Kit 1.8.0.201.0 oracle.swd.oui.core.min 12.2.0.7.0 Installer SDK Component 12.2.0.7.0 Oracle One-Off Patch Installer 12.2.0.1.15 Oracle Universal Installer 12.2.0.7.0 Tomcat Container 19.0.0.0.0 Oracle Grid Infrastructure Bundled Agents 19.0.0.0.0 Oracle Core Required Support Files for Core DB 19.0.0.0.0 Oracle Grid Management Database 19.0.0.0.0 Oracle USM Deconfiguration 19.0.0.0.0 Oracle DBCA Deconfiguration 19.0.0.0.0 Oracle Quality of Service Management (Server) 19.0.0.0.0 Universal Storage Manager Files 19.0.0.0.0 Oracle Text Required Support Files 19.0.0.0.0 Oracle JDBC Server Support Package 19.0.0.0.0 Database Workspace Manager 19.0.0.0.0 Hadoopcore Component 19.0.0.0.0 Automatic Storage Management Assistant 19.0.0.0.0 Oracle Database 19c Multimedia Files 19.0.0.0.0 Oracle Multimedia Java Advanced Imaging 19.0.0.0.0 Oracle Globalization Support 19.0.0.0.0 Oracle Multimedia Locator Java Required Support Files 19.0.0.0.0 Oracle Multimedia Locator RDBMS Files 19.0.0.0.0 Oracle Bali Share 11.1.1.6.0 Oracle Globalization Support For Core 19.0.0.0.0 Expat libraries 2.0.1.0.4 BLASLAPACK Component 19.0.0.0.0 DB TOOLS Listener 19.0.0.0.0 Oracle Database Deconfiguration 19.0.0.0.0 RHP Files for Common 19.0.0.0.0 RHP Files for DB 19.0.0.0.0 Perl Modules 5.28.1.0.0 Oracle JVM For Core 19.0.0.0.0 Perl Interpreter 5.28.1.0.0 Secure Socket Layer 19.0.0.0.0 Oracle Universal Connection Pool 19.0.0.0.0 Oracle JDBC/OCI Instant Client 19.0.0.0.0 Oracle Multimedia Client Option 19.0.0.0.0 Oracle Java Client 19.0.0.0.0 Database Migration Assistant for Unicode 19.0.0.0.0 Oracle JFC Extended Windowing Toolkit 11.1.1.6.0 OLAP SQL Scripts 19.0.0.0.0 PL/SQL Embedded Gateway 19.0.0.0.0 Database SQL Scripts 19.0.0.0.0 SSL Required Support Files for InstantClient 19.0.0.0.0 LDAP Required Support Files 19.0.0.0.0 SQL*Plus Files for Instant Client 19.0.0.0.0 Oracle Net Required Support Files 19.0.0.0.0 Oracle Notification Service for Instant Client 19.0.0.0.0 Deinstallation Tool 19.0.0.0.0 Oracle Locale Builder 19.0.0.0.0 XML Parser for Java 19.0.0.0.0 Oracle Security Developer Tools 19.0.0.0.0 Oracle Wallet Manager 19.0.0.0.0 Installation Plugin Files 19.0.0.0.0 Platform Required Support Files 19.0.0.0.0 Oracle Help Share Library 11.1.1.7.0 Oracle Help for Java 11.1.1.7.0 RDBMS Required Support Files for Instant Client 19.0.0.0.0 Oracle Extended Windowing Toolkit 11.1.1.6.0 oracle.swd.commonlogging 13.3.0.0.0 Tracle File Analyzer 19.0.0.0.0 oracle.swd.opatchautodb 12.2.0.1.5 Oracle LDAP administration 19.0.0.0.0 RHP Files for CRS 19.0.0.0.0 Cluster Verification Utility Files 19.0.0.0.0 RDBMS Required Support Files 19.0.0.0.0 Cluster Verification Utility CRS Files 19.0.0.0.0 Cluster Verification Utility Common Files 19.0.0.0.0 Oracle Clusterware RDBMS Files 19.0.0.0.0 Oracle Ice Browser 11.1.1.7.0 Oracle Globalization Support 19.0.0.0.0 Buildtools Common Files 19.0.0.0.0 Oracle RAC Required Support Files-HAS 19.0.0.0.0 SQL*Plus Required Support Files 19.0.0.0.0 XDK Required Support Files 19.0.0.0.0 Parser Generator Required Support Files 19.0.0.0.0 Precompiler Required Support Files 19.0.0.0.0 Installation Common Files 19.0.0.0.0 Oracle Core Required Support Files 19.0.0.0.0 HAS Common Files 19.0.0.0.0 Required Support Files 19.0.0.0.0 Oracle JDBC/THIN Interfaces 19.0.0.0.0 Oracle Multimedia Locator 19.0.0.0.0 Assistant Common Files 19.0.0.0.0 Oracle Multimedia 19.0.0.0.0 Oracle Netca Client 19.0.0.0.0 Oracle Net 19.0.0.0.0 HAS Files for DB 19.0.0.0.0 PL/SQL 19.0.0.0.0 Oracle Recovery Manager 19.0.0.0.0 Oracle Database Utilities 19.0.0.0.0 Oracle Notification Service 19.0.0.0.0 SQL*Plus 19.0.0.0.0 Oracle Advanced Security 19.0.0.0.0 Cluster Ready Services Files 19.0.0.0.0 Database Configuration and Upgrade Assistants 19.0.0.0.0 Oracle JVM 19.0.0.0.0 Oracle Internet Directory Client 19.0.0.0.0 Oracle Net Listener 19.0.0.0.0 Oracle Database 19c 19.0.0.0.0 Interim Patch# 29401763 Interim Patch# 29517242 Interim Patch# 29517247 Interim Patch# 29585399 INFO: [Apr 4, 2023 4:03:01 PM] InstallProgressMonitor: Completed phase 1,024 INFO: Setting variable 'ROOTSH_STATUS' to '0'. Received the value from a code block. INFO: Since operation was successful, move the current OiicAPISessionDetails to installed list INFO: [Apr 4, 2023 4:03:01 PM] Number of root scripts to be executed = 1 INFO: [Apr 4, 2023 4:03:01 PM] isSuccessfullInstallation: true INFO: [Apr 4, 2023 4:03:01 PM] isSuccessfullRemoteInstallation: true INFO: [Apr 4, 2023 4:03:01 PM] Adding ExitStatus SUCCESS to the exit status set INFO: [Apr 4, 2023 4:03:01 PM] Completed setting up Add Node WARNING: [Apr 4, 2023 4:03:01 PM] Could not locate file: /u01/app/19.3.0/grid/install/files.lst INFO: [Apr 4, 2023 4:03:01 PM] Verifying contents of OH inventory pointer. INFO: [Apr 4, 2023 4:03:01 PM] Finished verifying contents of OH inventory pointer. INFO: [Apr 4, 2023 4:03:01 PM] PreferenceHelper.getProperty: key:oracle.installer.invPtrLoc is set as system proeprty INFO: [Apr 4, 2023 4:03:01 PM] Executing [/u01/app/19.3.0/grid/bin/diagsetup, clustercheck=false, basedir=/u01/app/grid, oraclehome=/u01/app/19.3.0/grid, localnode=rac1, nodelist=rac1,rac2, remotenodes=rac2] INFO: [Apr 4, 2023 4:03:01 PM] Starting Output Reader Threads for process /u01/app/19.3.0/grid/bin/diagsetup INFO: [Apr 4, 2023 4:03:11 PM] The process /u01/app/19.3.0/grid/bin/diagsetup exited with code 0 INFO: [Apr 4, 2023 4:03:11 PM] Waiting for output processor threads to exit. INFO: [Apr 4, 2023 4:03:11 PM] Output processor threads exited. INFO: [Apr 4, 2023 4:03:11 PM] Relocating srvm cache to Oracle Base location. INFO: [Apr 4, 2023 4:03:11 PM] oracle.install.library.crs.CRSInfo.relocateEnvironmentCache() completed successfully INFO: [Apr 4, 2023 4:03:11 PM] Relocating srvm cache to Oracle Base completed. INFO: [Apr 4, 2023 4:03:11 PM] Script orainstRoot.sh location: /u01/app/oraInventory/orainstRoot.sh INFO: [Apr 4, 2023 4:03:11 PM] Gathering system details... INFO: [Apr 4, 2023 4:03:11 PM] Number of scripts to be executed as root user = 2 INFO: [Apr 4, 2023 4:03:11 PM] All forked task are completed at state setup INFO: [Apr 4, 2023 4:03:11 PM] Completed background operations INFO: [Apr 4, 2023 4:03:11 PM] Validating state <setup> INFO: [Apr 4, 2023 4:03:11 PM] Completed validating state <setup> INFO: [Apr 4, 2023 4:03:11 PM] Verifying route success INFO: [Apr 4, 2023 4:03:11 PM] Waiting for completion of background operations INFO: [Apr 4, 2023 4:03:11 PM] Completed background operations INFO: [Apr 4, 2023 4:03:11 PM] Waiting for completion of background operations INFO: [Apr 4, 2023 4:03:11 PM] Completed background operations INFO: [Apr 4, 2023 4:03:11 PM] Executing action at state finish INFO: [Apr 4, 2023 4:03:11 PM] FinishAction Actions.execute called INFO: [Apr 4, 2023 4:03:11 PM] Finding the most appropriate exit status for the current application INFO: [Apr 4, 2023 4:03:11 PM] Config tools command: /u01/app/19.3.0/grid/gridSetup.sh INFO: [Apr 4, 2023 4:03:11 PM] Finding the most appropriate exit status for the current application INFO: [Apr 4, 2023 4:03:11 PM] Completed executing action at state <finish> INFO: [Apr 4, 2023 4:03:11 PM] Waiting for completion of background operations INFO: [Apr 4, 2023 4:03:11 PM] Completed background operations INFO: [Apr 4, 2023 4:03:11 PM] Waiting for completion of background operations INFO: [Apr 4, 2023 4:03:11 PM] Completed background operations INFO: [Apr 4, 2023 4:03:11 PM] Moved to state <finish> INFO: [Apr 4, 2023 4:03:11 PM] Waiting for completion of background operations INFO: [Apr 4, 2023 4:03:11 PM] Completed background operations INFO: [Apr 4, 2023 4:03:11 PM] Validating state <finish> WARNING: [Apr 4, 2023 4:03:11 PM] Validation disabled for the state finish INFO: [Apr 4, 2023 4:03:11 PM] Completed validating state <finish> INFO: [Apr 4, 2023 4:03:11 PM] Terminating all background operations INFO: [Apr 4, 2023 4:03:11 PM] Terminated all background operations INFO: [Apr 4, 2023 4:03:11 PM] Successfully executed the flow in SILENT mode INFO: [Apr 4, 2023 4:03:11 PM] Finding the most appropriate exit status for the current application INFO: [Apr 4, 2023 4:03:11 PM] The inventory does not exist, but the location of the inventory is known: /u01/app/oraInventory INFO: [Apr 4, 2023 4:03:11 PM] Adding ExitStatus SUCCESS_WITH_WARNINGS to the exit status set INFO: [Apr 4, 2023 4:03:11 PM] Finding the most appropriate exit status for the current application INFO: [Apr 4, 2023 4:03:11 PM] Exit Status is 6 INFO: [Apr 4, 2023 4:03:11 PM] List of warnings encountered in this Application: INFO: [Apr 4, 2023 4:03:11 PM] PREREQUISITES_IGNORED INFO: [Apr 4, 2023 4:03:11 PM] Shutdown Oracle Grid Infrastructure 19c Installer [root@rac1 ~]# tailf /u01/app/19.3.0/grid/install/root_rac1_2023-04-04_16-04-18-321090873.log for the output of root scrip CRS-4266: Voting file(s) successfully replaced ## STATE File Universal Id File Name Disk group -- ----- ----------------- --------- --------- 1. ONLINE cbf6df9dd4794fb6bf511ccbc4ed2ed7 (/dev/asmdisk/asmdisko) [OCRDG] 2. ONLINE eb3553ab17c64fd1bf4325d2a42e3549 (/dev/asmdisk/asmdiskn) [OCRDG] 3. ONLINE c312d2574fbb4f9dbfb171266f669bf4 (/dev/asmdisk/asmdiskp) [OCRDG] Located 3 voting disk(s). 2023/04/04 16:11:22 CLSRSC-594: Executing installation step 17 of 19: 'StartCluster'. 2023/04/04 16:12:34 CLSRSC-343: Successfully started Oracle Clusterware stack 2023/04/04 16:12:34 CLSRSC-594: Executing installation step 18 of 19: 'ConfigNode'. 2023/04/04 16:14:05 CLSRSC-594: Executing installation step 19 of 19: 'PostConfig'. 2023/04/04 16:14:34 CLSRSC-325: Configure Oracle Grid Infrastructure for a Cluster ... succeeded
复制
26、磁盘组
SQL> select name,path from v$asm_disk; NAME PATH ------------------------------ -------------------------------------------------- NAME PATH ------------------------------ -------------------------------------------------- /dev/asmdisk/asmdiskl /dev/asmdisk/asmdiski /dev/asmdisk/asmdiskh /dev/asmdisk/asmdiskg /dev/asmdisk/asmdiskd /dev/asmdisk/asmdiskk /dev/asmdisk/asmdiskf /dev/asmdisk/asmdiske /dev/asmdisk/asmdiskm /dev/asmdisk/asmdiskj OCRDG_0001 /dev/asmdisk/asmdiskn OCRDG_0002 /dev/asmdisk/asmdiskp OCRDG_0000 /dev/asmdisk/asmdisko SQL> create diskgroup DATA EXTERNAL REDUNDANCY disk '/dev/asmdisk/asmdiskd'; Diskgroup created. SQL> select name,path from v$asm_disk; NAME PATH ------------------------------ -------------------------------------------------- /dev/asmdisk/asmdiskl /dev/asmdisk/asmdiski /dev/asmdisk/asmdiskh /dev/asmdisk/asmdiskg /dev/asmdisk/asmdiskk /dev/asmdisk/asmdiskf /dev/asmdisk/asmdiskj /dev/asmdisk/asmdiske /dev/asmdisk/asmdiskm OCRDG_0001 /dev/asmdisk/asmdiskn OCRDG_0002 /dev/asmdisk/asmdiskp OCRDG_0000 /dev/asmdisk/asmdisko DATA_0000 /dev/asmdisk/asmdiskd SQL> alter diskgroup DATA add disk '/dev/asmdisk/asmdiskl','/dev/asmdisk/asmdiski','/dev/asmdisk/asmdiskh','/dev/asmdisk/asmdiskg','/dev/asmdisk/asmdiskk','/dev/asmdisk/asmdiskf','/dev/asmdisk/asmdiskj','/dev/asmdisk/asmdiske','/dev/asmdisk/asmdiskm'; Diskgroup altered. [grid@rac1 ~]$ asmcmd lsdg State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files Name MOUNTED EXTERN N 512 512 4096 1048576 10485760 10485600 0 10485600 0 N DATA/ MOUNTED NORMAL N 512 512 4096 4194304 153600 152684 51200 50742 0 Y OCRDG/
复制
27、准备数据库响应文件
oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0 oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oraInventory ORACLE_HOME=/u01/app/oracle/product/19.3.0/db_1 ORACLE_BASE=/u01/app/oracle oracle.install.db.InstallEdition=EE oracle.install.db.OSDBA_GROUP=dba oracle.install.db.OSOPER_GROUP=oper oracle.install.db.OSBACKUPDBA_GROUP=dba oracle.install.db.OSDGDBA_GROUP=dba oracle.install.db.OSKMDBA_GROUP=dba oracle.install.db.OSRACDBA_GROUP=dba oracle.install.db.rootconfig.executeRootScript=false oracle.install.db.CLUSTER_NODES=rac1,rac2
复制
28、安装数据库
[oracle@rac1 db_1]$ ./runInstaller -silent -ignorePrereqFailure -responseFile /home/oracle/db.rsp -logLevel info Launching Oracle Database Setup Wizard... [WARNING] [INS-13013] Target environment does not meet some mandatory requirements. CAUSE: Some of the mandatory prerequisites are not met. See logs for details. /u01/app/oraInventory/logs/InstallActions2023-04-06_08-47-44AM/installActions2023-04-06_08-47-44AM.log ACTION: Identify the list of failed prerequisite checks from the log: /u01/app/oraInventory/logs/InstallActions2023-04-06_08-47-44AM/installActions2023-04-06_08-47-44AM.log. Then either from the log file or from installation manual find the appropriate configuration to meet the prerequisites and fix it manually. The response file for this session can be found at: /u01/app/oracle/product/19.3.0/db_1/install/response/db_2023-04-06_08-47-44AM.rsp You can find the log of this install session at: /u01/app/oraInventory/logs/InstallActions2023-04-06_08-47-44AM/installActions2023-04-06_08-47-44AM.log l find the appropriate configuration to meet the prerequisites and fix it manually. The response file for this session can be found at: /u01/app/oracle/product/19.3.0/db_1/install/response/db_2023-04-06_08-47-44AM.rsp You can find the log of this install session at: /u01/app/oraInventory/logs/InstallActions2023-04-06_08-47-44AM/installActions2023-04-06_08-47-44AM.log As a root user, execute the following script(s): 1. /u01/app/oracle/product/19.3.0/db_1/root.sh Execute /u01/app/oracle/product/19.3.0/db_1/root.sh on the following nodes: [rac1, rac2]
复制
29、查看日志
[root@rac1 ~]# tailf /u01/app/oraInventory/logs/InstallActions2023-04-06_08-47-44AM/installActions2023-04-06_08-47-44AM.log -lskjcx19 -lslax19 -lpls19 -lrt -lplp19 -ldmext -lserver19 -lclient19 -lvsnst19 -lcommon19 -lgeneric19 `if [ -f /u01/app/oracle/product/19.3.0/db_1/lib/libavserver19.a ] ; then echo "-lavserver19" ; else echo "-lavstub19"; fi` `if [ -f /u01/app/oracle/product/19.3.0/db_1/lib/libavclient19.a ] ; then echo "-lavclient19" ; fi` -lknlopt -lslax19 -lpls19 -lrt -lplp19 -ljavavm19 -lserver19 -lwwg `cat /u01/app/oracle/product/19.3.0/db_1/lib/ldflags` -lncrypt19 -lnsgr19 -lnzjs19 -ln19 -lnl19 -lngsmshd19 - INFO: lnro19 `cat /u01/app/oracle/product/19.3.0/db_1/lib/ldflags` -lncrypt19 -lnsgr19 -lnzjs19 -ln19 -lnl19 -lngsmshd19 -lnnzst19 -lzt19 -lztkg19 -lmm -lsnls19 -lnls19 -lcore19 -lsnls19 -lnls19 -lcore19 -lsnls19 -lnls19 -lxml19 -lcore19 -lunls19 -lsnls19 -lnls19 -lcore19 -lnls19 -lztkg19 `cat /u01/app/oracle/product/19.3.0/db_1/lib/ldflags` -lncrypt19 -lnsgr19 -lnzjs19 -ln19 -lnl19 -lngsmshd19 -lnro19 `cat /u01/app/oracle/product/19.3.0/db_1/lib/ldflags` -lncrypt19 -lnsgr19 -lnzjs19 -ln19 -lnl19 -lngsm INFO: shd19 -lnnzst19 -lzt19 -lztkg19 -lsnls19 -lnls19 -lcore19 -lsnls19 -lnls19 -lcore19 -lsnls19 -lnls19 -lxml19 -lcore19 -lunls19 -lsnls19 -lnls19 -lcore19 -lnls19 `if /usr/bin/ar tv /u01/app/oracle/product/19.3.0/db_1/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo19 -lserver19"; fi` -L/u01/app/oracle/product/19.3.0/db_1/ctx/lib/ -lctxc19 -lctx19 -lzx19 -lgx19 -lctx19 -lzx19 -lgx19 -lclscest19 -loevm -lclsra19 -ldbcfg19 -lhasgen19 -lskgxn2 -lnnzst19 -lzt19 -lx INFO: ... INFO: [Apr 6, 2023 8:55:50 AM] Completed background operations INFO: [Apr 6, 2023 8:55:50 AM] Validating state <finish> WARNING: [Apr 6, 2023 8:55:50 AM] Validation disabled for the state finish INFO: [Apr 6, 2023 8:55:50 AM] Completed validating state <finish> INFO: [Apr 6, 2023 8:55:50 AM] Terminating all background operations INFO: [Apr 6, 2023 8:55:50 AM] Terminated all background operations INFO: [Apr 6, 2023 8:55:50 AM] Successfully executed the flow in SILENT mode INFO: [Apr 6, 2023 8:55:50 AM] Finding the most appropriate exit status for the current application INFO: [Apr 6, 2023 8:55:50 AM] inventory location is/u01/app/oraInventory INFO: [Apr 6, 2023 8:55:50 AM] Adding ExitStatus SUCCESS_WITH_WARNINGS to the exit status set INFO: [Apr 6, 2023 8:55:50 AM] Finding the most appropriate exit status for the current application INFO: [Apr 6, 2023 8:55:50 AM] Exit Status is 6 INFO: [Apr 6, 2023 8:55:50 AM] List of warnings encountered in this Application: INFO: [Apr 6, 2023 8:55:50 AM] PREREQUISITES_IGNORED INFO: [Apr 6, 2023 8:55:50 AM] Shutdown Oracle Database 19c Installer INFO: [Apr 6, 2023 8:55:50 AM] Unloading Setup Driver
复制
30、创建数据库响应文件
--非pdb [oracle@rac1 ~]$ vi orcl.rsp responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v19.0.0 gdbName=orcl sid=orcl nodelist=rac1,rac2 databaseConfigType=RAC policyManaged=FALSE createServerPool=FALSE serverPoolName= createAsContainerDatabase=false templateName=/u01/app/oracle/product/19.3.0/db_1/assistants/dbca/templates/General_Purpose.dbc sysPassword=oracle systemPassword=oracle runCVUChecks=true dbsnmpPassword=oracle dvConfiguration=False olsConfiguration=False datafileJarLocation=/u01/app/oracle/product/19.3.0/db_1/assistants/dbca/templates/ datafileDestination=DATA storageType=ASM diskGroupName=DATA asmsnmpPassword=oracle recoveryGroupName=DATA characterSet=ZHS16GBK nationalCharacterSet=AL16UTF16 registerWithDirService=FALSE listeners=LISTENER sampleSchema=FALSE memoryPercentage=50 databaseType=MULTIPURPOSE automaticMemoryManagement=FALSE dbsnmpPassword=oracle
复制
--pdb egrep -v "^#|^$" /oraapp/oracle/product/19.0.0/dbhome_1/assistants/dbca/dbca.rsp > /home/oracle/my_dbca.rsp vi /home/oracle/my_dbca.rsp responseFileVersion=/oracle/assistants/rspfmt_dbca_response_schema_v19.0.0 gdbName=cdb databaseConfigType=RAC createAsContainerDatabase=false numberOfPDBs=1 pdbName=mypdb useLocalUndoForPDBs=true pdbAdminPassword=Pass#123 nodelist=soradbs05,soradbs06,soradbs07 templateName=/home/oracle/my_New_Database.dbt sysPassword=your_password systemPassword=your_password emConfiguration=NONE datafileJarLocation=+FLASHDG datafileDestination=+DATADG recoveryAreaDestination=+FLASHDG storageType=ASM diskGroupName=DATADG recoveryGroupName=FLASHDG characterSet=AL32UTF8 nationalCharacterSet=AL16UTF16 initParams=pga_aggregate_target='16384M',sga_target='32768M',processes=1000,log_archive_dest_1='LOCATION=+FLASHDG' memoryPercentage=85 databaseType=MULTIPURPOSE automaticMemoryManagement=FALSE totalMemory=55705
复制
31、创建数据库
[oracle@rac1 ~]$ dbca -silent -ignorePreReqs -ignorePrereqFailure -createDatabase -responseFile /home/oracle/orcl.rsp [FATAL] [DBT-05802] Creating password file on diskgroup (DATA) would fail since it requires compatible.asm of version (12.1.0.0.0) or higher. Current compatible.asm version is '11.2.0.2.0'. ACTION: Choose a diskgroup with correct value for compatible.asm attribute 磁盘组compatible.asm of version不对,不能放密码文件,改吧改吧 SQL> set linesize 1000 SQL> col name for a40 SQL> select name,compatibility,database_compatibility from v$asm_diskgroup; NAME COMPATIBILITY DATABASE_COMPATIBILITY ---------------------------------------- ------------------------------------------------------------ ------------------------------------------------------------ OCRDG 19.0.0.0.0 10.1.0.0.0 DATA 11.2.0.2.0 10.1.0.0.0 手工创建磁盘组的时候可以指定这个参数的。现在也可以该,低于12的磁盘组磁盘不能大于2T,而且不能放密码文件。 SQL> alter diskgroup DATA set attribute 'compatible.asm'='19.0'; Diskgroup altered. SQL> select name,compatibility,database_compatibility from v$asm_diskgroup; NAME COMPATIBILITY DATABASE_COMPATIBILITY ---------------------------------------- ------------------------------------------------------------ ------------------------------------------------------------ OCRDG 19.0.0.0.0 10.1.0.0.0 DATA 19.0.0.0.0 10.1.0.0.0 [oracle@rac1 ~]$ dbca -silent -ignorePreReqs -ignorePrereqFailure -createDatabase -responseFile /home/oracle/orcl.rsp Prepare for db operation 10% complete Registering database with Oracle Restart 14% complete Copying database files 43% complete Creating and starting Oracle instance 45% complete 49% complete 53% complete 56% complete 62% complete Completing Database Creation 68% complete 70% complete 71% complete Executing Post Configuration Actions 100% complete Database creation complete. For details check the logfiles at: /u01/app/oracle/cfgtoollogs/dbca/orcl. Database Information: Global Database Name:orcl System Identifier(SID):orcl Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/orcl/orcl.log" for further details.
复制
32、删除数据库
SQL> startup mount exclusive restrict pfile='/home/oracle/pfile.ora'; ORACLE instance started. Total System Global Area 1.5234E+10 bytes Fixed Size 15992192 bytes Variable Size 2113929216 bytes Database Buffers 1.3053E+10 bytes Redo Buffers 51113984 bytes Database mounted. SQL> Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0 [oracle@rac1 ~]$ ss SQL*Plus: Release 19.0.0.0.0 - Production on Thu Apr 6 10:18:50 2023 Version 19.3.0.0.0 Copyright (c) 1982, 2019, Oracle. All rights reserved. Connected to: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0 SQL> alter system enbale restricted session; alter system enbale restricted session * ERROR at line 1: ORA-02065: illegal option for ALTER SYSTEM SQL> alter system enable restricted session; System altered. SQL> drop database; Database dropped. Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.3.0.0.0 SQL> exit [oracle@rac1 ~]$ [oracle@rac1 ~]$ ps -ef|grep pmon oracle 19797 163541 0 10:19 pts/0 00:00:00 grep --color=auto
复制
33、重新创建
[oracle@rac1 ~]$ dbca -silent -ignorePreReqs -ignorePrereqFailure -createDatabase -responseFile /home/oracle/orcl.rsp [FATAL] [DBT-10317] Specified GDB Name (orcl) already exists. ACTION: Specify a different GDB Name that does not already exist. [WARNING] [DBT-10328] Specified GDB Name (orcl) may have a potential conflict with an already existing database on the system. ACTION: Specify a different GDB Name that does not conflict with existing databases on the system. [WARNING] [DBT-10331] Specified SID Prefix (orcl) may have a potential conflict with an already existing database on the system. CAUSE: The specified SID Prefix without the trailing numeric characters (orcl) may have a potential conflict with an already existing database on the system. ACTION: Specify a different SID Prefix that does not conflict with existing databases on the system. [oracle@rac1 ~]$ srvctl config database orcl [oracle@rac1 ~]$ srvctl remove database -d orcl Remove the database orcl? (y/[n]) yes [oracle@rac1 ~]$ dbca -silent -ignorePreReqs -ignorePrereqFailure -createDatabase -responseFile /home/oracle/orcl.rsp Prepare for db operation 8% complete Copying database files 33% complete Creating and starting Oracle instance 34% complete 35% complete 39% complete 42% complete 45% complete 50% complete Creating cluster database views 52% complete 67% complete Completing Database Creation 71% complete 73% complete 75% complete Executing Post Configuration Actions 100% complete Database creation complete. For details check the logfiles at: /u01/app/oracle/cfgtoollogs/dbca/orcl. Database Information: Global Database Name:orcl System Identifier(SID) Prefix:orcl Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/orcl/orcl0.log" for further details.
复制
文章转载自D,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。
评论
相关阅读
Oracle RAC 一键安装翻车?手把手教你如何排错!
Lucifer三思而后行
579次阅读
2025-04-15 17:24:06
【纯干货】Oracle 19C RU 19.27 发布,如何快速升级和安装?
Lucifer三思而后行
531次阅读
2025-04-18 14:18:38
Oracle SQL 执行计划分析与优化指南
Digital Observer
485次阅读
2025-04-01 11:08:44
墨天轮个人数说知识点合集
JiekeXu
471次阅读
2025-04-01 15:56:03
XTTS跨版本迁移升级方案(11g to 19c RAC for Linux)
zwtian
466次阅读
2025-04-08 09:12:48
Oracle数据库一键巡检并生成HTML结果,免费脚本速来下载!
陈举超
458次阅读
2025-04-20 10:07:02
【ORACLE】记录一些ORACLE的merge into语句的BUG
DarkAthena
449次阅读
2025-04-22 00:20:37
【ORACLE】你以为的真的是你以为的么?--ORA-38104: Columns referenced in the ON Clause cannot be updated
DarkAthena
425次阅读
2025-04-22 00:13:51
Oracle 19c RAC更换IP实战,运维必看!
szrsu
412次阅读
2025-04-08 23:57:08
【活动】分享你的压箱底干货文档,三篇解锁进阶奖励!
墨天轮编辑部
399次阅读
2025-04-17 17:02:24