Oracle一键安装
技术博客
本章目标:掌握本章核心知识点 前置要求:完成前序章节学习 预计时长:60 分钟
Oracle 一键安装脚本,演示 openEuler 22.03 LTS SP3 一键安装 Oracle 11GR2 RAC(231017)过程(全程无需人工干预):(脚本包括 ORALCE PSU/OJVM 等补丁自动安装)
⭐️ 脚本下载地址:Shell脚本安装Oracle数据库
脚本第三代支持 N 节点一键安装,不限制节点数!
参考:
在 Oracle Linux 8 (openEuler 22.03 LTS SP3)安装 11GR2 RAC 数据库,需要安装 19.14 版本之后的 Grid 软件补丁,然后再安装 11GR2 数据:
✨ 偷懒可以直接下载本文安装包合集:openEuler 22.03 LTS SP3(华为欧拉)一键安装 Oracle 11GR2 RAC(231017)安装包合集(包含补丁!!!)
++==📢注意:Oracle 11GR2 RAC 安装主机名不能有大写字符,否则安装失败!==++
# 主机版本[root@openeuler01 soft]# cat /etc/openeuler-release openEuler release 22.03 (LTS-SP3)# 网络信息## 节点一[root@openeuler01 soft]# ip a2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 00:0c:29:51:f8:ca brd ff:ff:ff:ff:ff:ff inet 192.168.6.130/24 brd 192.168.6.255 scope global noprefixroute ens33 valid_lft forever preferred_lft forever inet6 fe80::6bae:9840:87e5:b777/64 scope link noprefixroute valid_lft forever preferred_lft forever3: ens37: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 00:0c:29:51:f8:de brd ff:ff:ff:ff:ff:ff inet 1.1.1.1/24 brd 1.1.1.255 scope global noprefixroute ens37 valid_lft forever preferred_lft forever inet6 fe80::7590:c66c:2046:880c/64 scope link noprefixroute valid_lft forever preferred_lft forever## 节点二[root@openeuler02 ~]# ip a2: ens33: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 00:0c:29:6e:b2:2c brd ff:ff:ff:ff:ff:ff inet 192.168.6.131/24 brd 192.168.6.255 scope global noprefixroute ens33 valid_lft forever preferred_lft forever inet6 fe80::20c:29ff:fe6e:b22c/64 scope link noprefixroute valid_lft forever preferred_lft forever3: ens37: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000 link/ether 00:0c:29:6e:b2:40 brd ff:ff:ff:ff:ff:ff inet 1.1.1.2/24 brd 1.1.1.255 scope global noprefixroute ens37 valid_lft forever preferred_lft forever inet6 fe80::683c:1c48:9251:7df7/64 scope link noprefixroute valid_lft forever preferred_lft forever# 挂载本地 ISO 镜像## 节点一[root@openeuler01 soft]# mount | grep iso | grep -v "/run/media"/dev/sr0 on /mnt type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)[root@openeuler01 soft]# df -h|grep /mnt/dev/sr0 18G 18G 0 100% /mnt## 节点二[root@openeuler02 soft]# mount | grep iso | grep -v "/run/media"/dev/sr0 on /mnt type iso9660 (ro,relatime,nojoliet,check=s,map=n,blocksize=2048,iocharset=utf8)[root@openeuler02 soft]# df -h|grep /mnt/dev/sr0 18G 18G 0 100% /mnt# starwind 共享磁盘挂载(有存储就不需要使用 starwind,直接存储上划盘挂载就可)yum install -y iscsi-initiator-utils*systemctl start iscsid.servicesystemctl enable iscsid.serviceiscsiadm -m discovery -t st -p 192.168.6.188## 挂载 ASM 磁盘iscsiadm -m node -T iqn.2008-08.com.starwindsoftware:192.168.6.188-lucifer -p 192.168.6.188 -l## 配置开机自动挂载iscsiadm -m node -T iqn.2008-08.com.starwindsoftware:192.168.6.188-lucifer -p 192.168.6.188 --op update -n node.startup -v automatic## 节点一[root@openeuler01 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsda 8:0 0 100G 0 disk ├─sda1 8:1 0 1G 0 part /boot└─sda2 8:2 0 99G 0 part ├─openeuler-root 253:0 0 91G 0 lvm / └─openeuler-swap 253:1 0 8G 0 lvm [SWAP]sdb 8:16 0 10G 0 disk sdc 8:32 0 50G 0 disk sr0 11:0 1 17.1G 0 rom /mnt## 节点二[root@openeuler02 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsda 8:0 0 100G 0 disk ├─sda1 8:1 0 1G 0 part /boot└─sda2 8:2 0 99G 0 part ├─openeuler-root 253:0 0 91G 0 lvm / └─openeuler-swap 253:1 0 8G 0 lvm [SWAP]sdb 8:16 0 10G 0 disk sdc 8:32 0 50G 0 disk sr0 11:0 1 17.1G 0 rom /mnt# 安装包存放在 /soft 目录下[root@openeuler01 ~]# cd /soft/[root@openeuler01 soft]# ll-rwx------. 1 root root 2889184573 Mar 29 15:00 LINUX.X64_193000_grid_home.zip-rwxr-xr-x. 1 root root 180800 Mar 29 14:59 OracleShellInstall-rwx------. 1 root root 1395582860 Mar 29 14:59 p13390677_112040_Linux-x86-64_1of7.zip-rwx------. 1 root root 1151304589 Mar 29 14:59 p13390677_112040_Linux-x86-64_2of7.zip-rwx------. 1 root root 8684 Mar 29 14:58 p33991024_11204220118_Generic.zip-rwx------. 1 root root 562188912 Mar 29 14:58 p35574075_112040_Linux-x86-64.zip-rwx------. 1 root root 86183099 Mar 29 14:58 p35685663_112040_Linux-x86-64.zip-rwx------. 1 root root 3153297056 Mar 29 15:00 p35940989_190000_Linux-x86-64.zip-rwx------. 1 root root 128433424 Mar 29 14:58 p6880880_112000_Linux-x86-64.zip-rwx------. 1 root root 127774864 Mar 29 14:59 p6880880_190000_Linux-x86-64.zip-rwx------. 1 root root 321590 Mar 20 13:58 rlwrap-0.44.tar.gz# 修改 root 密码,脚本不支持特殊字符,例如 @ 符号# 去除密码复杂度sed -i 's/^password\+[[:space:]]\+requisite[[:space:]]\+pam_pwquality.so/#&/g' /etc/pam.d/system-authsed -i 's/use_authtok$//' /etc/pam.d/system-auth# 修改 root 密码[root@openeuler01 soft]# passwd rootChanging password for user root.New password:Retype new password:passwd: all authentication tokens updated successfully.[root@openeuler02 ~]# passwd rootChanging password for user root.New password:Retype new password:passwd: all authentication tokens updated successfully.默认使用专业版脚本。脚本下载:ora100.com/shell-install 以上配置完成后,建议重启两台主机,重启后记得再次挂载 ISO:
[root@openeuler01:/soft]$ mount /dev/cdrom /mnt/mount: /mnt: WARNING: source write-protected, mounted read-only.[root@openeuler02:/root]$ mount /dev/cdrom /mnt/mount: /mnt: WARNING: source write-protected, mounted read-only.确保安装环境准备完成后,即可执行一键安装。
使用标准生产环境安装参数(安装过程若失败,脚本支持重复执行安装):
# 根据脚本 README 或者 -h 命令提示,编辑好一键安装命令,进入 /soft 目录执行安装:./OracleShellInstall -n openeuler `# hostname prefix`\-hn openeuler01,openeuler02 `# rac node hostname`\-cn openeuler-cls `# cluster_name`\-rp oracle `# root password`\-gp oracle `# grid password`\-op oracle `# oracle password`\-lf ens33 `# local ip ifname`\-pf ens37 `# rac private ip ifname`\-ri 192.168.6.130,192.168.6.131 `# rac node public ip`\-vi 192.168.6.132,192.168.6.133 `# rac virtual ip`\-si 192.168.6.134 `# rac scan ip`\-od /dev/sdb `# rac ocr asm disk`\-dd /dev/sdc `# rac data asm disk`\-o lucifer `# dbname`\-ds AL32UTF8 `# database character`\-ns AL16UTF16 `# national character`\-redo 100 `# redo size`\-dp oracle `# sys/system password`\-gpa 35940989 `# grid PSU/RU`\-opa 35574075 `# db PSU/RU`\-jpa 35685663 `# OJVM PSU/RU`\-opd Y `# optimize db`\-giv 19 `# grid version`默认使用专业版脚本。脚本下载:ora100.com/shell-install
选择需要安装的模式以及版本,即可开始安装:
███████ ██ ████████ ██ ██ ██ ██ ██ ██ ██ ██░░░░░██ ░██ ██░░░░░░ ░██ ░██ ░██░██ ░██ ░██ ░██ ██ ░░██ ██████ ██████ █████ ░██ █████ ░██ ░██ █████ ░██ ░██░██ ███████ ██████ ██████ ██████ ░██ ░██░██ ░██░░██░░█ ░░░░░░██ ██░░░██ ░██ ██░░░██░█████████░██████ ██░░░██ ░██ ░██░██░░██░░░██ ██░░░░ ░░░██░ ░░░░░░██ ░██ ░██░██ ░██ ░██ ░ ███████ ░██ ░░ ░██░███████░░░░░░░░██░██░░░██░███████ ░██ ░██░██ ░██ ░██░░█████ ░██ ███████ ░██ ░██░░██ ██ ░██ ██░░░░██ ░██ ██ ░██░██░░░░ ░██░██ ░██░██░░░░ ░██ ░██░██ ░██ ░██ ░░░░░██ ░██ ██░░░░██ ░██ ░██ ░░███████ ░███ ░░████████░░█████ ███░░██████ ████████ ░██ ░██░░██████ ███ ███░██ ███ ░██ ██████ ░░██ ░░████████ ███ ███ ░░░░░░░ ░░░ ░░░░░░░░ ░░░░░ ░░░ ░░░░░░ ░░░░░░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░ ░░░ ░░ ░░░░░░ ░░ ░░░░░░░░ ░░░ ░░░ 请选择安装模式 [单机(si)/单机ASM(sa)/集群(rac)] : rac数据库安装模式: rac 请选择数据库版本 [11/12/19/21] : 11数据库版本: 11 #==============================================================# 配置本地 YUM 源 #==============================================================# [openEuler]name=openEulerbaseurl=file:////mntenabled=1gpgcheck=1gpgkey=file:////mnt/RPM-GPG-KEY-openEuler#==============================================================# 获取 ASM 磁盘 UUID && 格式化磁盘头 #==============================================================# 格式化 OCR 磁盘:/dev/sdb 1+0 records in1+0 records out1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00418647 s, 245 kB/sOCR磁盘组的磁盘UUID: 2e87e4f535c397171 格式化 DATA 磁盘:/dev/sdc 1+0 records in1+0 records out1024 bytes (1.0 kB, 1.0 KiB) copied, 0.00881888 s, 116 kB/sDATA磁盘组的磁盘UUID: 2f218dae15b551c5d #==============================================================# 配置 root 用户互信 #==============================================================# Generating public/private rsa key pair.Your identification has been saved in /root/.ssh/id_rsaYour public key has been saved in /root/.ssh/id_rsa.pubThe key fingerprint is:SHA256:4n424QDugUwB1I7Jg2/uybw6syWK8xmg+Ixya0JUHxk root@openEuler01The key's randomart image is:+---[RSA 3072]----+|oo. Eo || .o o ||o =.. . ||.*.... ||o+.o .. S ||oo= o.... ||=oo. ..o . ||OO++.. = ||B%%o .o . |+----[SHA256]-----+#==============================================================# 打印系统信息 #==============================================================# 服务器时间: Fri Mar 29 03:08:56 PM CST 2024操作系统版本: NAME="openEuler"VERSION="22.03 (LTS-SP3)"ID="openEuler"VERSION_ID="22.03"PRETTY_NAME="openEuler 22.03 (LTS-SP3)"ANSI_COLOR="0;31"内核信息: Linux version 5.10.0-182.0.0.95.oe2203sp3.x86_64 (root@dc-64g.compass-ci) (gcc_old (GCC) 10.3.1, GNU ld (GNU Binutils) 2.37) #1 SMP Sat Dec 30 13:10:36 CST 2023服务器属性: vmwarecpu信息: Architecture: x86_64CPU op-mode(s): 32-bit, 64-bitAddress sizes: 43 bits physical, 48 bits virtualByte Order: Little EndianCPU(s): 8On-line CPU(s) list: 0-7Vendor ID: GenuineIntelBIOS Vendor ID: GenuineIntelModel name: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHzBIOS Model name: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHzCPU family: 6Model: 62Thread(s) per core: 1Core(s) per socket: 1Socket(s): 8Stepping: 4BogoMIPS: 5187.49Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust smep arat md_clear flush_l1d arch_capabilitiesHypervisor vendor: VMwareVirtualization type: fullL1d cache: 256 KiB (8 instances)L1i cache: 256 KiB (8 instances)L2 cache: 2 MiB (8 instances)L3 cache: 120 MiB (8 instances)NUMA node(s): 1NUMA node0 CPU(s): 0-7Vulnerability Gather data sampling: Not affectedVulnerability Itlb multihit: KVM: Mitigation: VMX unsupportedVulnerability L1tf: Mitigation; PTE InversionVulnerability Mds: Mitigation; Clear CPU buffers; SMT Host state unknownVulnerability Meltdown: Mitigation; PTIVulnerability Mmio stale data: Unknown: No mitigationsVulnerability Retbleed: Mitigation; IBRSVulnerability Spec rstack overflow: Not affectedVulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccompVulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitizationVulnerability Spectre v2: Mitigation; IBRS, IBPB conditional, STIBP disabled, RSB filling, PBRSB-eIBRS Not affectedVulnerability Srbds: Not affectedVulnerability Tsx async abort: Not affected内存信息: total used free shared buff/cache availableMem: 7433 527 126 8 7096 6906Swap: 8187 0 8187 total used free shared buff/cache availableMem: 7.3Gi 527Mi 126Mi 8.7Mi 6.9Gi 6.7GiSwap: 8.0Gi 524Ki 8.0Gi挂载信息: /dev/mapper/openeuler-root / ext4 defaults 1 1UUID=07e6a80f-f2f4-42f8-a1ad-df05bd354960 /boot ext4 defaults 1 2/dev/mapper/openeuler-swap none swap defaults 0 0目录信息: Filesystem Size Used Avail Use% Mounted ondevtmpfs 4.0M 0 4.0M 0% /devtmpfs 3.7G 0 3.7G 0% /dev/shmtmpfs 1.5G 8.8M 1.5G 1% /runtmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup/dev/mapper/openeuler-root 90G 11G 74G 14% /tmpfs 3.7G 0 3.7G 0% /tmp/dev/sda1 974M 174M 733M 20% /boot/dev/sr0 18G 18G 0 100% /mnt#==============================================================# 禁用防火墙 #==============================================================# ○ firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:firewalld(1)Mar 29 14:49:36 openEuler01 systemd[1]: Starting firewalld - dynamic firewall daemon...Mar 29 14:49:38 openEuler01 systemd[1]: Started firewalld - dynamic firewall daemon.Mar 29 15:08:56 openEuler01 systemd[1]: Stopping firewalld - dynamic firewall daemon...Mar 29 15:08:57 openEuler01 systemd[1]: firewalld.service: Deactivated successfully.Mar 29 15:08:57 openEuler01 systemd[1]: Stopped firewalld - dynamic firewall daemon.#==============================================================# 禁用 SELinux #==============================================================# SELinux status: enabledSELinuxfs mount: /sys/fs/selinuxSELinux root directory: /etc/selinuxLoaded policy name: targetedCurrent mode: permissiveMode from config file: disabledPolicy MLS status: enabledPolicy deny_unknown status: allowedMemory protection checking: actual (secure)Max kernel policy version: 33#==============================================================# 配置 nsysctl.conf #==============================================================# NOZEROCONF=yes#==============================================================# YUM 静默安装依赖包 #==============================================================# bc-1.07.1-12.oe2203sp3.x86_64binutils-2.37-24.oe2203sp3.x86_64package compat-libcap1 is not installedgcc-10.3.1-49.oe2203sp3.x86_64gcc-c++-10.3.1-49.oe2203sp3.x86_64package elfutils-libelf is not installedpackage elfutils-libelf-devel is not installedglibc-2.34-143.oe2203sp3.x86_64glibc-devel-2.34-143.oe2203sp3.x86_64libaio-0.3.113-9.oe2203sp3.x86_64libaio-devel-0.3.113-9.oe2203sp3.x86_64libgcc-10.3.1-49.oe2203sp3.x86_64libstdc++-10.3.1-49.oe2203sp3.x86_64libstdc++-devel-10.3.1-49.oe2203sp3.x86_64libxcb-1.15-1.oe2203sp3.x86_64libX11-1.7.2-8.oe2203sp3.x86_64libXau-1.0.10-1.oe2203sp3.x86_64libXi-1.8-2.oe2203sp3.x86_64libXrender-0.9.10-12.oe2203sp3.x86_64make-4.3-4.oe2203sp3.x86_64net-tools-2.10-3.oe2203sp3.x86_64smartmontools-7.2-2.oe2203sp3.x86_64sysstat-12.5.4-9.oe2203sp3.x86_64e2fsprogs-1.46.4-24.oe2203sp3.x86_64package e2fsprogs-libs is not installedunzip-6.0-50.oe2203sp3.x86_64openssh-clients-8.8p1-23.oe2203sp3.x86_64readline-8.1-3.oe2203sp3.x86_64readline-devel-8.1-3.oe2203sp3.x86_64psmisc-23.5-2.oe2203sp3.x86_64ksh-2020.0.0-10.oe2203sp3.x86_64nfs-utils-2.5.4-15.oe2203sp3.x86_64tar-1.34-5.oe2203sp3.x86_64package device-mapper-multipath is not installedavahi-0.8-18.oe2203sp3.x86_64ntp-4.2.8p15-13.oe2203sp3.x86_64chrony-4.1-6.oe2203sp3.x86_64libXtst-1.2.4-1.oe2203sp3.x86_64libXrender-devel-0.9.10-12.oe2203sp3.x86_64fontconfig-devel-2.13.94-3.oe2203sp3.x86_64policycoreutils-3.3-8.oe2203sp3.x86_64package policycoreutils-python is not installedlibcap-devel-2.61-6.oe2203sp3.x86_64xorg-x11-utils-7.5-31.oe2203sp3.x86_64xorg-x11-xauth-1.1.2-1.oe2203sp3.x86_64glibc-compat-2.17-2.34-143.oe2203sp3.x86_64elfutils-0.185-18.oe2203sp3.x86_64elfutils-devel-0.185-18.oe2203sp3.x86_64libnsl2-devel-2.0.0-5.oe2203sp3.x86_64package librdmacm is not installedlibnsl-2.34-143.oe2203sp3.x86_64package libibverbs is not installedpackage compat-openssl10 is not installedpolicycoreutils-python-utils-3.3-8.oe2203sp3.noarch#==============================================================# 配置主机名 #==============================================================# Static hostname: openeuler01 Icon name: computer-vm Chassis: vm Machine ID: 141e08aec07949dbb1be4d025526e6de Boot ID: 07e7a034d0d248988b39171ec1f10f2c Virtualization: vmwareOperating System: openEuler 22.03 (LTS-SP3) Kernel: Linux 5.10.0-182.0.0.95.oe2203sp3.x86_64 Architecture: x86-64 Hardware Vendor: VMware, Inc. Hardware Model: VMware Virtual Platform#==============================================================# 配置 /etc/hosts 文件 #==============================================================# 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.6.130 openeuler01192.168.6.132 openeuler01-vip1.1.1.1 openeuler01-priv192.168.6.131 openeuler02192.168.6.133 openeuler02-vip1.1.1.2 openeuler02-priv192.168.6.134 openeuler-scan#==============================================================# 创建用户和组 #==============================================================# oracle 用户: uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba),54327(asmdba),54328(asmoper),54329(asmadmin)grid 用户: uid=11012(grid) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba),54327(asmdba),54328(asmoper),54329(asmadmin)#==============================================================# 配置 Avahi-daemon 服务 #==============================================================# ○ avahi-daemon.service - Avahi mDNS/DNS-SD Stack Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: enabled) Active: inactive (dead)TriggeredBy: ○ avahi-daemon.socket#==============================================================# 配置透明大页 && NUMA && 磁盘 IO 调度器 #==============================================================# args="ro resume=/dev/mapper/openeuler-swap rd.lvm.lv=openeuler/root rd.lvm.lv=openeuler/swap cgroup_disable=files apparmor=0 crashkernel=512M rhgb quiet numa=off transparent_hugepage=never elevator=deadline"-resume=/dev/mapper/openeuler-swap-args="roargs="ro resume=/dev/mapper/openeuler-swap rd.lvm.lv=openeuler/root rd.lvm.lv=openeuler/swap cgroup_disable=files apparmor=0 crashkernel=512M rhgb quiet numa=off transparent_hugepage=never elevator=deadline"-rhgb-crashkernel=512M#==============================================================# 配置 sysctl.conf #==============================================================# kernel.sysrq = 0net.ipv4.ip_forward = 0net.ipv4.conf.all.send_redirects = 0net.ipv4.conf.default.send_redirects = 0net.ipv4.conf.all.accept_source_route = 0net.ipv4.conf.default.accept_source_route = 0net.ipv4.conf.all.accept_redirects = 0net.ipv4.conf.default.accept_redirects = 0net.ipv4.conf.all.secure_redirects = 0net.ipv4.conf.default.secure_redirects = 0net.ipv4.icmp_echo_ignore_broadcasts = 1net.ipv4.icmp_ignore_bogus_error_responses = 1net.ipv4.conf.all.rp_filter = 1net.ipv4.conf.default.rp_filter = 1net.ipv4.tcp_syncookies = 1kernel.dmesg_restrict = 1net.ipv6.conf.all.accept_redirects = 0net.ipv6.conf.default.accept_redirects = 0fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 7795097599kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576vm.min_free_kbytes = 30449net.ipv4.conf.ens33.rp_filter = 1vm.swappiness = 10kernel.panic_on_oops = 1kernel.randomize_va_space = 2kernel.numa_balancing = 0net.ipv4.conf.ens37.rp_filter = 2#==============================================================# 配置 RemoveIPC #==============================================================# [Login]RemoveIPC=no#==============================================================# 配置 /etc/security/limits.conf 和 /etc/pam.d/login #==============================================================# 查看 /etc/security/limits.conf: oracle soft nofile 1024oracle hard nofile 65536oracle soft stack 10240oracle hard stack 32768oracle soft nproc 2047oracle hard nproc 16384oracle hard memlock unlimitedoracle soft memlock unlimitedgrid soft nofile 1024grid hard nofile 65536grid soft stack 10240grid hard stack 32768grid soft nproc 2047grid hard nproc 16384查看 /etc/pam.d/login 文件: auth substack system-authauth include postloginaccount required pam_nologin.soaccount include system-authpassword include system-authsession required pam_selinux.so closesession required pam_loginuid.sosession required pam_selinux.so opensession required pam_namespace.sosession optional pam_keyinit.so force revokesession include system-authsession include postlogin-session optional pam_ck_connector.sosession required pam_limits.sosession required /lib64/security/pam_limits.so#==============================================================# 配置 /dev/shm #==============================================================# /dev/mapper/openeuler-root / ext4 defaults 1 1UUID=07e6a80f-f2f4-42f8-a1ad-df05bd354960 /boot ext4 defaults 1 2/dev/mapper/openeuler-swap none swap defaults 0 0tmpfs /dev/shm tmpfs size=7612400k 0 0#==============================================================# 安装 rlwrap 插件 #==============================================================# 成功安装 rlwrap: rlwrap 0.44 #==============================================================# Root 用户环境变量 #==============================================================# if [ -f ~/.bashrc ]; then . ~/.bashrcfiPATH=$PATH:$HOME/binexport PATHalias so='su - oracle'export PS1="[`whoami`@`hostname`:"'$PWD]$ 'alias sg='su - grid'alias crsctl='/u01/app/19.3.0/grid/bin/crsctl'alias srvctl='/u01/app/19.3.0/grid/bin/srvctl'#==============================================================# Oracle 用户环境变量,实例名:lucifer1 #==============================================================# [ -f ~/.bashrc ] && . ~/.bashrcumask 022export TMP=/tmpexport TMPDIR=$TMPexport NLS_LANG=AMERICAN_AMERICA.AL32UTF8export ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbexport ORACLE_TERM=xtermexport TNS_ADMIN=$ORACLE_HOME/network/adminexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/libexport ORACLE_SID=lucifer1export PATH=/usr/sbin:$PATHexport PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:$PATHexport PERL5LIB=$ORACLE_HOME/perl/libalias sas='sqlplus / as sysdba'alias awr='sqlplus / as sysdba @?/rdbms/admin/awrrpt'alias ash='sqlplus / as sysdba @?/rdbms/admin/ashrpt'alias alert='vi $ORACLE_BASE/diag/rdbms/*/$ORACLE_SID/trace/alert_$ORACLE_SID.log'export PS1="[`whoami`@`hostname`:"'$PWD]$ 'export CV_ASSUME_DISTID=OL7alias sqlplus='rlwrap sqlplus'alias rman='rlwrap rman'alias adrci='rlwrap adrci'#==============================================================# Grid 用户环境变量 #==============================================================# [ -f ~/.bashrc ] && . ~/.bashrcumask 022export TMP=/tmpexport TMPDIR=$TMPexport NLS_LANG=AMERICAN_AMERICA.AL32UTF8export ORACLE_BASE=/u01/app/gridexport ORACLE_HOME=/u01/app/19.3.0/gridexport ORACLE_TERM=xtermexport TNS_ADMIN=$ORACLE_HOME/network/adminexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/libexport ORACLE_SID=+ASM1export PATH=/usr/sbin:$PATHexport PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATHalias sas='sqlplus / as sysasm'export PS1="[`whoami`@`hostname`:"'$PWD]$ 'export CV_ASSUME_DISTID=OL7alias sqlplus='rlwrap sqlplus'alias asmcmd='rlwrap asmcmd'alias adrci='rlwrap adrci'#==============================================================# 配置 multipath 多路径 #==============================================================# 1469.451287 | asm_ocr_1: addmap [0 20971520 multipath 0 0 1 1 service-time 0 1 1 8:16 1]1469.645569 | asm_data_1: addmap [0 104857600 multipath 0 0 1 1 service-time 0 1 1 8:32 1]create: asm_ocr_1 (2e87e4f535c397171) undef ROCKET,IMAGEFILEsize=10G features='0' hwhandler='0' wp=undef`-+- policy='service-time 0' prio=1 status=undef `- 3:0:0:0 sdb 8:16 undef ready runningcreate: asm_data_1 (2f218dae15b551c5d) undef ROCKET,IMAGEFILEsize=50G features='0' hwhandler='0' wp=undef`-+- policy='service-time 0' prio=1 status=undef `- 3:0:0:1 sdc 8:32 undef ready running#==============================================================# 配置 UDEV 绑盘 #==============================================================# KERNEL=="dm-*",ENV{DM_UUID}=="mpath-2e87e4f535c397171",SYMLINK+="asm_ocr_1",OWNER="grid",GROUP="asmadmin",MODE="0660"KERNEL=="dm-*",ENV{DM_UUID}=="mpath-2f218dae15b551c5d",SYMLINK+="asm_data_1",OWNER="grid",GROUP="asmadmin",MODE="0660"/dev/asm_data_1/dev/asm_ocr_1UDEV 配置完成! #==============================================================# 配置 RAC 节点:192.168.6.131 #==============================================================# 正在节点:192.168.6.131 上执行脚本: ███████ ██ ████████ ██ ██ ██ ██ ██ ██ ██ ██░░░░░██ ░██ ██░░░░░░ ░██ ░██ ░██░██ ░██ ░██ ░██ ██ ░░██ ██████ ██████ █████ ░██ █████ ░██ ░██ █████ ░██ ░██░██ ███████ ██████ ██████ ██████ ░██ ░██░██ ░██░░██░░█ ░░░░░░██ ██░░░██ ░██ ██░░░██░█████████░██████ ██░░░██ ░██ ░██░██░░██░░░██ ██░░░░ ░░░██░ ░░░░░░██ ░██ ░██░██ ░██ ░██ ░ ███████ ░██ ░░ ░██░███████░░░░░░░░██░██░░░██░███████ ░██ ░██░██ ░██ ░██░░█████ ░██ ███████ ░██ ░██░░██ ██ ░██ ██░░░░██ ░██ ██ ░██░██░░░░ ░██░██ ░██░██░░░░ ░██ ░██░██ ░██ ░██ ░░░░░██ ░██ ██░░░░██ ░██ ░██ ░░███████ ░███ ░░████████░░█████ ███░░██████ ████████ ░██ ░██░░██████ ███ ███░██ ███ ░██ ██████ ░░██ ░░████████ ███ ███ ░░░░░░░ ░░░ ░░░░░░░░ ░░░░░ ░░░ ░░░░░░ ░░░░░░░░ ░░ ░░ ░░░░░░ ░░░ ░░░ ░░ ░░░ ░░ ░░░░░░ ░░ ░░░░░░░░ ░░░ ░░░ #==============================================================# 配置本地 YUM 源 #==============================================================# [openEuler]name=openEulerbaseurl=file:////mntenabled=1gpgcheck=1gpgkey=file:////mnt/RPM-GPG-KEY-openEuler#==============================================================# 打印系统信息 #==============================================================# 服务器时间: Fri Mar 29 03:13:56 PM CST 2024操作系统版本: NAME="openEuler"VERSION="22.03 (LTS-SP3)"ID="openEuler"VERSION_ID="22.03"PRETTY_NAME="openEuler 22.03 (LTS-SP3)"ANSI_COLOR="0;31"内核信息: Linux version 5.10.0-182.0.0.95.oe2203sp3.x86_64 (root@dc-64g.compass-ci) (gcc_old (GCC) 10.3.1, GNU ld (GNU Binutils) 2.37) #1 SMP Sat Dec 30 13:10:36 CST 2023服务器属性: vmwarecpu信息: Architecture: x86_64CPU op-mode(s): 32-bit, 64-bitAddress sizes: 43 bits physical, 48 bits virtualByte Order: Little EndianCPU(s): 8On-line CPU(s) list: 0-7Vendor ID: GenuineIntelBIOS Vendor ID: GenuineIntelModel name: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHzBIOS Model name: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHzCPU family: 6Model: 62Thread(s) per core: 1Core(s) per socket: 1Socket(s): 8Stepping: 4BogoMIPS: 5187.49Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx rdtscp lm constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc cpuid pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cpuid_fault pti ssbd ibrs ibpb stibp fsgsbase tsc_adjust smep arat md_clear flush_l1d arch_capabilitiesHypervisor vendor: VMwareVirtualization type: fullL1d cache: 256 KiB (8 instances)L1i cache: 256 KiB (8 instances)L2 cache: 2 MiB (8 instances)L3 cache: 120 MiB (8 instances)NUMA node(s): 1NUMA node0 CPU(s): 0-7Vulnerability Gather data sampling: Not affectedVulnerability Itlb multihit: KVM: Mitigation: VMX unsupportedVulnerability L1tf: Mitigation; PTE InversionVulnerability Mds: Mitigation; Clear CPU buffers; SMT Host state unknownVulnerability Meltdown: Mitigation; PTIVulnerability Mmio stale data: Unknown: No mitigationsVulnerability Retbleed: Mitigation; IBRSVulnerability Spec rstack overflow: Not affectedVulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccompVulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitizationVulnerability Spectre v2: Mitigation; IBRS, IBPB conditional, STIBP disabled, RSB filling, PBRSB-eIBRS Not affectedVulnerability Srbds: Not affectedVulnerability Tsx async abort: Not affected内存信息: total used free shared buff/cache availableMem: 7433 451 6664 8 574 6982Swap: 8187 0 8187 total used free shared buff/cache availableMem: 7.3Gi 451Mi 6.5Gi 8.7Mi 574Mi 6.8GiSwap: 8.0Gi 0B 8.0Gi挂载信息: /dev/mapper/openeuler-root / ext4 defaults 1 1UUID=3b8b94fa-6595-453b-938d-16b973646ae1 /boot ext4 defaults 1 2/dev/mapper/openeuler-swap none swap defaults 0 0目录信息: Filesystem Size Used Avail Use% Mounted ondevtmpfs 4.0M 0 4.0M 0% /devtmpfs 3.7G 0 3.7G 0% /dev/shmtmpfs 1.5G 8.8M 1.5G 1% /runtmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup/dev/mapper/openeuler-root 90G 2.4G 83G 3% /tmpfs 3.7G 0 3.7G 0% /tmp/dev/sda1 974M 174M 733M 20% /boot/dev/sr0 18G 18G 0 100% /mnt#==============================================================# 禁用防火墙 #==============================================================# ○ firewalld.service - firewalld - dynamic firewall daemon Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled) Active: inactive (dead) Docs: man:firewalld(1)Mar 29 14:49:38 openEuler02 systemd[1]: Starting firewalld - dynamic firewall daemon...Mar 29 14:49:39 openEuler02 systemd[1]: Started firewalld - dynamic firewall daemon.Mar 29 15:13:56 openEuler02 systemd[1]: Stopping firewalld - dynamic firewall daemon...Mar 29 15:13:57 openEuler02 systemd[1]: firewalld.service: Deactivated successfully.Mar 29 15:13:57 openEuler02 systemd[1]: Stopped firewalld - dynamic firewall daemon.#==============================================================# 禁用 SELinux #==============================================================# SELinux status: enabledSELinuxfs mount: /sys/fs/selinuxSELinux root directory: /etc/selinuxLoaded policy name: targetedCurrent mode: permissiveMode from config file: disabledPolicy MLS status: enabledPolicy deny_unknown status: allowedMemory protection checking: actual (secure)Max kernel policy version: 33#==============================================================# 配置 nsysctl.conf #==============================================================# NOZEROCONF=yes#==============================================================# YUM 静默安装依赖包 #==============================================================# bc-1.07.1-12.oe2203sp3.x86_64binutils-2.37-24.oe2203sp3.x86_64package compat-libcap1 is not installedgcc-10.3.1-49.oe2203sp3.x86_64gcc-c++-10.3.1-49.oe2203sp3.x86_64package elfutils-libelf is not installedpackage elfutils-libelf-devel is not installedglibc-2.34-143.oe2203sp3.x86_64glibc-devel-2.34-143.oe2203sp3.x86_64libaio-0.3.113-9.oe2203sp3.x86_64libaio-devel-0.3.113-9.oe2203sp3.x86_64libgcc-10.3.1-49.oe2203sp3.x86_64libstdc++-10.3.1-49.oe2203sp3.x86_64libstdc++-devel-10.3.1-49.oe2203sp3.x86_64libxcb-1.15-1.oe2203sp3.x86_64libX11-1.7.2-8.oe2203sp3.x86_64libXau-1.0.10-1.oe2203sp3.x86_64libXi-1.8-2.oe2203sp3.x86_64libXrender-0.9.10-12.oe2203sp3.x86_64make-4.3-4.oe2203sp3.x86_64net-tools-2.10-3.oe2203sp3.x86_64smartmontools-7.2-2.oe2203sp3.x86_64sysstat-12.5.4-9.oe2203sp3.x86_64e2fsprogs-1.46.4-24.oe2203sp3.x86_64package e2fsprogs-libs is not installedunzip-6.0-50.oe2203sp3.x86_64openssh-clients-8.8p1-23.oe2203sp3.x86_64readline-8.1-3.oe2203sp3.x86_64readline-devel-8.1-3.oe2203sp3.x86_64psmisc-23.5-2.oe2203sp3.x86_64ksh-2020.0.0-10.oe2203sp3.x86_64nfs-utils-2.5.4-15.oe2203sp3.x86_64tar-1.34-5.oe2203sp3.x86_64package device-mapper-multipath is not installedavahi-0.8-18.oe2203sp3.x86_64ntp-4.2.8p15-13.oe2203sp3.x86_64chrony-4.1-6.oe2203sp3.x86_64libXtst-1.2.4-1.oe2203sp3.x86_64libXrender-devel-0.9.10-12.oe2203sp3.x86_64fontconfig-devel-2.13.94-3.oe2203sp3.x86_64policycoreutils-3.3-8.oe2203sp3.x86_64package policycoreutils-python is not installedlibcap-devel-2.61-6.oe2203sp3.x86_64xorg-x11-utils-7.5-31.oe2203sp3.x86_64xorg-x11-xauth-1.1.2-1.oe2203sp3.x86_64glibc-compat-2.17-2.34-143.oe2203sp3.x86_64elfutils-0.185-18.oe2203sp3.x86_64elfutils-devel-0.185-18.oe2203sp3.x86_64libnsl2-devel-2.0.0-5.oe2203sp3.x86_64package librdmacm is not installedlibnsl-2.34-143.oe2203sp3.x86_64package libibverbs is not installedpackage compat-openssl10 is not installedpolicycoreutils-python-utils-3.3-8.oe2203sp3.noarch#==============================================================# 配置主机名 #==============================================================# Static hostname: openeuler02 Icon name: computer-vm Chassis: vm Machine ID: 0bd1701e143a461fa6e237ae9d4d9f5d Boot ID: a2e49180dc274d06a9751930095c4228 Virtualization: vmwareOperating System: openEuler 22.03 (LTS-SP3) Kernel: Linux 5.10.0-182.0.0.95.oe2203sp3.x86_64 Architecture: x86-64 Hardware Vendor: VMware, Inc. Hardware Model: VMware Virtual Platform#==============================================================# 配置 /etc/hosts 文件 #==============================================================# 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.6.130 openeuler01192.168.6.132 openeuler01-vip1.1.1.1 openeuler01-priv192.168.6.131 openeuler02192.168.6.133 openeuler02-vip1.1.1.2 openeuler02-priv192.168.6.134 openeuler-scan#==============================================================# 创建用户和组 #==============================================================# oracle 用户: uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba),54327(asmdba),54328(asmoper),54329(asmadmin)grid 用户: uid=11012(grid) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba),54327(asmdba),54328(asmoper),54329(asmadmin)#==============================================================# 配置 Avahi-daemon 服务 #==============================================================# ○ avahi-daemon.service - Avahi mDNS/DNS-SD Stack Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: enabled) Active: inactive (dead)TriggeredBy: ○ avahi-daemon.socket#==============================================================# 配置透明大页 && NUMA && 磁盘 IO 调度器 #==============================================================# args="ro resume=/dev/mapper/openeuler-swap rd.lvm.lv=openeuler/root rd.lvm.lv=openeuler/swap cgroup_disable=files apparmor=0 crashkernel=512M rhgb quiet numa=off transparent_hugepage=never elevator=deadline"-resume=/dev/mapper/openeuler-swap-args="roargs="ro resume=/dev/mapper/openeuler-swap rd.lvm.lv=openeuler/root rd.lvm.lv=openeuler/swap cgroup_disable=files apparmor=0 crashkernel=512M rhgb quiet numa=off transparent_hugepage=never elevator=deadline"-rhgb-crashkernel=512M#==============================================================# 配置 sysctl.conf #==============================================================# kernel.sysrq = 0net.ipv4.ip_forward = 0net.ipv4.conf.all.send_redirects = 0net.ipv4.conf.default.send_redirects = 0net.ipv4.conf.all.accept_source_route = 0net.ipv4.conf.default.accept_source_route = 0net.ipv4.conf.all.accept_redirects = 0net.ipv4.conf.default.accept_redirects = 0net.ipv4.conf.all.secure_redirects = 0net.ipv4.conf.default.secure_redirects = 0net.ipv4.icmp_echo_ignore_broadcasts = 1net.ipv4.icmp_ignore_bogus_error_responses = 1net.ipv4.conf.all.rp_filter = 1net.ipv4.conf.default.rp_filter = 1net.ipv4.tcp_syncookies = 1kernel.dmesg_restrict = 1net.ipv6.conf.all.accept_redirects = 0net.ipv6.conf.default.accept_redirects = 0fs.aio-max-nr = 1048576fs.file-max = 6815744kernel.shmall = 2097152kernel.shmmax = 7795085311kernel.shmmni = 4096kernel.sem = 250 32000 100 128net.ipv4.ip_local_port_range = 9000 65500net.core.rmem_default = 262144net.core.rmem_max = 4194304net.core.wmem_default = 262144net.core.wmem_max = 1048576vm.min_free_kbytes = 30449net.ipv4.conf.ens33.rp_filter = 1vm.swappiness = 10kernel.panic_on_oops = 1kernel.randomize_va_space = 2kernel.numa_balancing = 0net.ipv4.conf.ens37.rp_filter = 2#==============================================================# 配置 RemoveIPC #==============================================================# [Login]RemoveIPC=no#==============================================================# 配置 /etc/security/limits.conf 和 /etc/pam.d/login #==============================================================# 查看 /etc/security/limits.conf: oracle soft nofile 1024oracle hard nofile 65536oracle soft stack 10240oracle hard stack 32768oracle soft nproc 2047oracle hard nproc 16384oracle hard memlock unlimitedoracle soft memlock unlimitedgrid soft nofile 1024grid hard nofile 65536grid soft stack 10240grid hard stack 32768grid soft nproc 2047grid hard nproc 16384查看 /etc/pam.d/login 文件: auth substack system-authauth include postloginaccount required pam_nologin.soaccount include system-authpassword include system-authsession required pam_selinux.so closesession required pam_loginuid.sosession required pam_selinux.so opensession required pam_namespace.sosession optional pam_keyinit.so force revokesession include system-authsession include postlogin-session optional pam_ck_connector.sosession required pam_limits.sosession required /lib64/security/pam_limits.so#==============================================================# 配置 /dev/shm #==============================================================# /dev/mapper/openeuler-root / ext4 defaults 1 1UUID=3b8b94fa-6595-453b-938d-16b973646ae1 /boot ext4 defaults 1 2/dev/mapper/openeuler-swap none swap defaults 0 0tmpfs /dev/shm tmpfs size=7612388k 0 0#==============================================================# 安装 rlwrap 插件 #==============================================================# 成功安装 rlwrap: rlwrap 0.44 #==============================================================# Root 用户环境变量 #==============================================================# if [ -f ~/.bashrc ]; then . ~/.bashrcfiPATH=$PATH:$HOME/binexport PATHalias so='su - oracle'export PS1="[`whoami`@`hostname`:"'$PWD]$ 'alias sg='su - grid'alias crsctl='/u01/app/19.3.0/grid/bin/crsctl'alias srvctl='/u01/app/19.3.0/grid/bin/srvctl'#==============================================================# Oracle 用户环境变量,实例名:lucifer2 #==============================================================# [ -f ~/.bashrc ] && . ~/.bashrcumask 022export TMP=/tmpexport TMPDIR=$TMPexport NLS_LANG=AMERICAN_AMERICA.AL32UTF8export ORACLE_BASE=/u01/app/oracleexport ORACLE_HOME=/u01/app/oracle/product/11.2.0/dbexport ORACLE_TERM=xtermexport TNS_ADMIN=$ORACLE_HOME/network/adminexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/libexport ORACLE_SID=lucifer2export PATH=/usr/sbin:$PATHexport PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:$PATHexport PERL5LIB=$ORACLE_HOME/perl/libalias sas='sqlplus / as sysdba'alias awr='sqlplus / as sysdba @?/rdbms/admin/awrrpt'alias ash='sqlplus / as sysdba @?/rdbms/admin/ashrpt'alias alert='vi $ORACLE_BASE/diag/rdbms/*/$ORACLE_SID/trace/alert_$ORACLE_SID.log'export PS1="[`whoami`@`hostname`:"'$PWD]$ 'export CV_ASSUME_DISTID=OL7alias sqlplus='rlwrap sqlplus'alias rman='rlwrap rman'alias adrci='rlwrap adrci'#==============================================================# Grid 用户环境变量 #==============================================================# [ -f ~/.bashrc ] && . ~/.bashrcumask 022export TMP=/tmpexport TMPDIR=$TMPexport NLS_LANG=AMERICAN_AMERICA.AL32UTF8export ORACLE_BASE=/u01/app/gridexport ORACLE_HOME=/u01/app/19.3.0/gridexport ORACLE_TERM=xtermexport TNS_ADMIN=$ORACLE_HOME/network/adminexport LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/libexport ORACLE_SID=+ASM2export PATH=/usr/sbin:$PATHexport PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATHalias sas='sqlplus / as sysasm'export PS1="[`whoami`@`hostname`:"'$PWD]$ 'export CV_ASSUME_DISTID=OL7alias sqlplus='rlwrap sqlplus'alias asmcmd='rlwrap asmcmd'alias adrci='rlwrap adrci'#==============================================================# 配置 multipath 多路径 #==============================================================# 1765.943440 | asm_ocr_1: addmap [0 20971520 multipath 0 0 1 1 service-time 0 1 1 8:16 1]1766.204540 | asm_data_1: addmap [0 104857600 multipath 0 0 1 1 service-time 0 1 1 8:32 1]create: asm_ocr_1 (2e87e4f535c397171) undef ROCKET,IMAGEFILEsize=10G features='0' hwhandler='0' wp=undef`-+- policy='service-time 0' prio=1 status=undef `- 3:0:0:0 sdb 8:16 undef ready runningcreate: asm_data_1 (2f218dae15b551c5d) undef ROCKET,IMAGEFILEsize=50G features='0' hwhandler='0' wp=undef`-+- policy='service-time 0' prio=1 status=undef `- 3:0:0:1 sdc 8:32 undef ready running#==============================================================# 配置 UDEV 绑盘 #==============================================================# KERNEL=="dm-*",ENV{DM_UUID}=="mpath-2e87e4f535c397171",SYMLINK+="asm_ocr_1",OWNER="grid",GROUP="asmadmin",MODE="0660"KERNEL=="dm-*",ENV{DM_UUID}=="mpath-2f218dae15b551c5d",SYMLINK+="asm_data_1",OWNER="grid",GROUP="asmadmin",MODE="0660"/dev/asm_data_1/dev/asm_ocr_1UDEV 配置完成! 配置 RAC 节点:192.168.6.131 结束! #==============================================================# 配置 GRID 用户 SSH 互信 #==============================================================# Generating public/private rsa key pair.Your identification has been saved in /home/grid/.ssh/id_rsaYour public key has been saved in /home/grid/.ssh/id_rsa.pubThe key fingerprint is:SHA256:y7Hmr8fLTuQsIl+R0BrljMRKpJ78CVn4YlDUV5mnwqU grid@openeuler01The key's randomart image is:+---[RSA 3072]----+| .oo....oo || . oo.o*+ . ||. o..++o+o || + =. E+.. || O . ..S . || . + . . O || + . B.+ || o = +o || . o==. |+----[SHA256]-----+#==============================================================# 配置 ORACLE 用户 SSH 互信 #==============================================================# Generating public/private rsa key pair.Your identification has been saved in /home/oracle/.ssh/id_rsaYour public key has been saved in /home/oracle/.ssh/id_rsa.pubThe key fingerprint is:SHA256:9MGel36DBMDynQztOGkEn80kfybfS+B+rnpF+YZzRB8 oracle@openeuler01The key's randomart image is:+---[RSA 3072]----+| .oo.. || ..+X. E.|| ++BO.+ oo|| .*o=X +o o|| .S.+ *.o+ || = o+.+|| +.=+ || .+ . || .o... |+----[SHA256]-----+#==============================================================# 静默解压缩 Grid 软件包 #==============================================================# 正在静默解压缩 Grid 软件包,请稍等: .---- -. -. . . . .( .',----- - - ' ' ' __ \_/ ;--:- __--------------------___ ____=========_||_____U__n_^_''__[. ooo___ | |_!_||_!_||_!_||_!_| | |..|_i_|..|_i_|..|c(_ ..(_ ..(_ ..( /,,,,,,] | |___||___||___||___| | | |,_\___________'_|,L______],|______________________|_i,!________________!_i/;_(@)(@)==(@)(@) (o)(o) (o)^(o)--(o)^(o) (o)(o)-(o)(o)""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"'""静默解压 Grid 软件安装包: /soft/LINUX.X64_193000_grid_home.zip 静默解压 OPatch 软件补丁包: /soft/p6880880_190000_Linux-x86-64.zip 静默解压 Grid 软件补丁包: /soft/p35940989_190000_Linux-x86-64.zip #==============================================================# 静默解压 Oracle 软件包 #==============================================================# 正在静默解压缩 Oracle 软件包,请稍等: .---- -. -. . . . .( .',----- - - ' ' ' __ \_/ ;--:- __--------------------___ ____=========_||_____U__n_^_''__[. ooo___ | |_!_||_!_||_!_||_!_| | |..|_i_|..|_i_|..|c(_ ..(_ ..(_ ..( /,,,,,,] | |___||___||___||___| | | |,_\___________'_|,L______],|______________________|_i,!________________!_i/;_(@)(@)==(@)(@) (o)(o) (o)^(o)--(o)^(o) (o)(o)-(o)(o)""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"""~"'""静默解压 Oracle 软件安装包: /soft/p13390677_112040_Linux-x86-64_1of7.zip,/soft/p13390677_112040_Linux-x86-64_2of7.zip 静默解压 Oracle 软件补丁包: /soft/p35574075_112040_Linux-x86-64.zip 静默解压 Oracle 软件补丁包:/soft/p33991024_11204220118_Generic.zip 静默解压 OJVM 软件补丁包: /soft/p35685663_112040_Linux-x86-64.zip #==============================================================# Grid 安装静默文件 #==============================================================# INVENTORY_LOCATION=/u01/app/oraInventoryoracle.install.option=CRS_CONFIGORACLE_BASE=/u01/app/gridoracle.install.asm.OSDBA=asmdbaoracle.install.asm.OSOPER=asmoperoracle.install.asm.OSASM=asmadminoracle.install.crs.config.gpnp.scanName=openeuler-scanoracle.install.crs.config.gpnp.scanPort=1521oracle.install.crs.config.clusterName=openeuler-clsoracle.install.crs.config.gpnp.configureGNS=falseoracle.install.crs.config.clusterNodes=openeuler01:openeuler01-vip,openeuler02:openeuler02-viporacle.install.crs.config.networkInterfaceList=ens33:192.168.6.0:1,ens37:1.1.1.0:5oracle.install.crs.config.useIPMI=falseoracle.install.asm.SYSASMPassword=oracleoracle.install.asm.diskGroup.name=OCRoracle.install.asm.diskGroup.redundancy=EXTERNALoracle.install.asm.diskGroup.disks=/dev/asm_ocr_1oracle.install.asm.diskGroup.diskDiscoveryString=/dev/asm*oracle.install.asm.monitorPassword=oracleoracle.install.crs.config.ClusterConfiguration=STANDALONEoracle.install.crs.config.configureAsExtendedCluster=falseoracle.install.crs.configureGIMR=falseoracle.install.asm.storageOption=ASMoracle.install.asm.diskGroup.AUSize=4oracle.install.asm.configureAFD=falseoracle.install.crs.config.ignoreDownNodes=falseoracle.install.config.managementOption=NONEoracle.install.crs.rootconfig.executeRootScript=falseoracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v19.0.0oracle.install.crs.config.scanType=LOCAL_SCAN#==============================================================# 静默安装 Grid 软件 #==============================================================# Preparing the home to patch...Applying the patch /soft/35940989...Successfully applied the patch.The log can be found at: /tmp/GridSetupActions2024-03-29_03-24-27PM/installerPatchActions_2024-03-29_03-24-27PM.logLaunching Oracle Grid Infrastructure Setup Wizard...[WARNING] [INS-30011] The SYS password entered does not conform to the Oracle recommended standards. CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. ACTION: Provide a password that conforms to the Oracle recommended standards.[WARNING] [INS-30011] The ASMSNMP password entered does not conform to the Oracle recommended standards. CAUSE: Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. ACTION: Provide a password that conforms to the Oracle recommended standards.The response file for this session can be found at: /u01/app/19.3.0/grid/install/response/grid_2024-03-29_03-24-27PM.rspYou can find the log of this install session at: /tmp/GridSetupActions2024-03-29_03-24-27PM/gridSetupActions2024-03-29_03-24-27PM.logAs a root user, execute the following script(s): 1. /u01/app/oraInventory/orainstRoot.sh 2. /u01/app/19.3.0/grid/root.shExecute /u01/app/oraInventory/orainstRoot.sh on the following nodes: [openeuler01, openeuler02]Execute /u01/app/19.3.0/grid/root.sh on the following nodes: [openeuler01, openeuler02]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.As install user, execute the following command to complete the configuration. /u01/app/19.3.0/grid/gridSetup.sh -executeConfigTools -responseFile /soft/grid.rsp [-silent]Moved the install session logs to: /u01/app/oraInventory/logs/GridSetupActions2024-03-29_03-24-27PM#==============================================================# 执行 root 脚本 #==============================================================# 节点 192.168.6.130 : 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.Check /u01/app/19.3.0/grid/install/root_openeuler01_2024-03-29_15-56-43-828462409.log for the output of root script节点 192.168.6.131 : 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.Check /u01/app/19.3.0/grid/install/root_openeuler02_2024-03-29_16-05-40-207970145.log for the output of root script#==============================================================# Grid 软件版本 #==============================================================# SQL*Plus: Release 19.0.0.0.0 - ProductionVersion 19.22.0.0.0#==============================================================# Grid 补丁信息 #==============================================================# 36115038;TOMCAT RELEASE UPDATE 19.0.0.0.0 (36115038)35967489;OCW RELEASE UPDATE 19.22.0.0.0 (35967489)35956421;ACFS RELEASE UPDATE 19.22.0.0.0 (35956421)35943157;Database Release Update : 19.22.0.0.240116 (35943157)33575402;DBWLM RELEASE UPDATE 19.0.0.0.0 (33575402)OPatch succeeded.#==============================================================# ASM 磁盘组创建 #==============================================================# State Type Rebal Sector Logical_Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files NameMOUNTED EXTERN N 512 512 4096 1048576 51200 51092 0 51092 0 N DATA/MOUNTED EXTERN N 512 512 4096 4194304 10240 9900 0 9900 0 Y OCR/#==============================================================# Grid 资源检查 #==============================================================# --------------------------------------------------------------------------------Name Target State Server State details --------------------------------------------------------------------------------Local Resources--------------------------------------------------------------------------------ora.LISTENER.lsnr ONLINE ONLINE openeuler01 STABLE ONLINE ONLINE openeuler02 STABLEora.chad ONLINE ONLINE openeuler01 STABLE ONLINE ONLINE openeuler02 STABLEora.net1.network ONLINE ONLINE openeuler01 STABLE ONLINE ONLINE openeuler02 STABLEora.ons ONLINE ONLINE openeuler01 STABLE ONLINE ONLINE openeuler02 STABLE--------------------------------------------------------------------------------Cluster Resources--------------------------------------------------------------------------------ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 STABLEora.DATA.dg(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 STABLEora.LISTENER_SCAN1.lsnr 1 ONLINE ONLINE openeuler01 STABLEora.OCR.dg(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 STABLEora.asm(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 Started,STABLEora.asmnet1.asmnetwork(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 STABLEora.cvu 1 ONLINE ONLINE openeuler01 STABLEora.openeuler01.vip 1 ONLINE ONLINE openeuler01 STABLEora.openeuler02.vip 1 ONLINE ONLINE openeuler02 STABLEora.qosmserver 1 ONLINE ONLINE openeuler01 STABLEora.scan1.vip 1 ONLINE ONLINE openeuler01 STABLE--------------------------------------------------------------------------------#==============================================================# Oracle 安装静默文件 #==============================================================# oracle.install.option=INSTALL_DB_SWONLYUNIX_GROUP_NAME=oinstallINVENTORY_LOCATION=/u01/app/oraInventoryORACLE_BASE=/u01/app/oracleoracle.install.db.InstallEdition=EEoracle.install.db.DBA_GROUP=dbaoracle.install.db.OPER_GROUP=operoracle.install.db.CLUSTER_NODES=openeuler01,openeuler02oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0SELECTED_LANGUAGES=en,zh_CNORACLE_HOME=/u01/app/oracle/product/11.2.0/dbDECLINE_SECURITY_UPDATES=trueoracle.installer.autoupdates.option=SKIP_UPDATES#==============================================================# 静默安装数据库软件 #==============================================================# Starting Oracle Universal Installer...Checking Temp space: must be greater than 120 MB. Actual 3716 MB PassedChecking swap space: must be greater than 150 MB. Actual 8158 MB PassedPreparing to launch Oracle Universal Installer from /tmp/OraInstall2024-03-29_04-14-32PM. Please wait ...You can find the log of this install session at: /u01/app/oraInventory/logs/installActions2024-03-29_04-14-32PM.logPrepare in progress................................................... 9% Done.Prepare successful.Copy files in progress................................................... 14% Done................................................... 19% Done................................................... 25% Done................................................... 30% Done................................................... 36% Done................................................... 41% Done................................................... 46% Done................................................... 51% Done................................................... 56% Done.Copy files successful...........Link binaries in progress.Link binaries successful................................................... 77% Done.Setup files in progress................................................... 94% Done.Setup files successful.The installation of Oracle Database 11g was successful.Please check '/u01/app/oraInventory/logs/silentInstall2024-03-29_04-14-32PM.log' for more details.Execute Root Scripts in progress.As a root user, execute the following script(s): 1. /u01/app/oracle/product/11.2.0/db/root.shExecute /u01/app/oracle/product/11.2.0/db/root.sh on the following nodes: [openeuler01, openeuler02].................................................. 100% Done.Execute Root Scripts successful.Successfully Setup Software.#==============================================================# 执行 root 脚本 #==============================================================# 节点 192.168.6.130 : 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.Check /u01/app/oracle/product/11.2.0/db/install/root_openeuler01_2024-03-29_16-27-59.log for the output of root script节点 192.168.6.131 : 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.Check /u01/app/oracle/product/11.2.0/db/install/root_openeuler02_2024-03-29_16-27-30.log for the output of root script#==============================================================# Oracle 软件安装补丁 #==============================================================# 节点 192.168.6.130 : Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.PREREQ sessionOracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-28-13PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-28-24PM_1.logVerifying environment and performing prerequisite checks...OPatch continues with these patches: 17478514 18031668 18522509 19121551 19769489 20299013 20760982 21352635 21948347 22502456 23054359 24006111 24732075 25869727 26609445 26392168 26925576 27338049 27734982 28204707 28729262 29141056 29497421 29913194 30298532 30670774 31103343 31537677 31983472 32328626 32758711 33128584 33477185 33711103 34057724 34386237 34677698 34998337 35269283 35574075 Do you want to proceed? [y|n]Y (auto-answered by -silent)User Responded with: YAll checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]Y (auto-answered by -silent)User Responded with: YBacking up files...Applying sub-patch '17478514' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sdo, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.sdo.locator, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '18031668' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.rdbms.crs, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '18522509' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Applying sub-patch '19121551' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.ordim.client, 11.2.0.4.0...Patching component oracle.ordim.jai, 11.2.0.4.0...Applying sub-patch '19769489' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.sysman.agent, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.ovm, 11.2.0.4.0...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.oraolap, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Applying sub-patch '20299013' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.oci, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.sysman.common, 10.2.0.4.5...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.common.core, 10.2.0.4.5...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Applying sub-patch '20760982' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '21352635' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Applying sub-patch '21948347' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.ovm, 11.2.0.4.0...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.oms.core, 10.2.0.4.5...Applying sub-patch '22502456' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.oraolap.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.olap, 11.2.0.4.0...Patching component oracle.oraolap, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Applying sub-patch '23054359' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '24006111' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sqlplus.ic, 11.2.0.4.0...Patching component oracle.sqlplus, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Applying sub-patch '24732075' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.plugin.db.main.agent, 11.2.0.4.0...Patching component oracle.sqlplus.ic, 11.2.0.4.0...Patching component oracle.sqlplus, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.ordim.client, 11.2.0.4.0...Patching component oracle.ordim.jai, 11.2.0.4.0...Patching component oracle.ordim.server, 11.2.0.4.0...Applying sub-patch '25869727' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '26609445' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Applying sub-patch '26392168' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.client, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.network.listener, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '26925576' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '27338049' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.assistants.server, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Applying sub-patch '27734982' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ctx.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '28204707' to OH '/u01/app/oracle/product/11.2.0/db'Applying changes to emctl script on the home: /u01/app/oracle/product/11.2.0/db ...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.ldap.security.osdt, 11.2.0.4.0...Patching component oracle.ldap.owm, 11.2.0.4.0...Patching component oracle.sqlplus.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '28729262' to OH '/u01/app/oracle/product/11.2.0/db'INFO: Script isn't applicable to this port!Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '29141056' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '29497421' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '29913194' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Applying sub-patch '30298532' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.rdbms.tg4tera, 11.2.0.4.0 ] , [ oracle.rdbms.tg4sybs, 11.2.0.4.0 ] , [ oracle.rdbms.tg4ifmx, 11.2.0.4.0 ] , [ oracle.rdbms.tg4db2, 11.2.0.4.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Applying sub-patch '30670774' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.swd.oui, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '31103343' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '31537677' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.dbdev, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Applying sub-patch '31983472' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '32328626' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Applying sub-patch '32758711' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Applying sub-patch '33128584' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '33477185' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...Applying sub-patch '33711103' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.rdbms.tg4tera, 11.2.0.4.0 ] , [ oracle.rdbms.tg4sybs, 11.2.0.4.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.4.0 ] , [ oracle.rdbms.tg4ifmx, 11.2.0.4.0 ] , [ oracle.rdbms.tg4db2, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...Patching component oracle.rdbms.hs_common, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Applying sub-patch '34057724' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.swd.oui.core, 11.2.0.4.0...Applying sub-patch '34386237' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.swd.oui.core, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '34677698' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...Applying sub-patch '34998337' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '35269283' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.dbdev, 11.2.0.4.0...Applying sub-patch '35574075' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.oms.core, 10.2.0.4.5...Patching component oracle.marvel, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...Patching component oracle.dbjava.ucp, 11.2.0.4.0...Patching component oracle.owb.rsf, 11.2.0.4.0...Patching component oracle.sysman.ccr, 10.3.8.1.0...Patching component oracle.sysman.ccr.client, 10.3.2.1.0...Patching component oracle.sysman.common, 10.2.0.4.5...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...Composite patch 35574075 successfully applied.Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-28-24PM_1.logOPatch succeeded.节点 192.168.6.131 : Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.PREREQ sessionOracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-42-10PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-42-15PM_1.logVerifying environment and performing prerequisite checks...OPatch continues with these patches: 17478514 18031668 18522509 19121551 19769489 20299013 20760982 21352635 21948347 22502456 23054359 24006111 24732075 25869727 26609445 26392168 26925576 27338049 27734982 28204707 28729262 29141056 29497421 29913194 30298532 30670774 31103343 31537677 31983472 32328626 32758711 33128584 33477185 33711103 34057724 34386237 34677698 34998337 35269283 35574075 Do you want to proceed? [y|n]Y (auto-answered by -silent)User Responded with: YAll checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]Y (auto-answered by -silent)User Responded with: YBacking up files...Applying sub-patch '17478514' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sdo, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.sdo.locator, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '18031668' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.rdbms.crs, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '18522509' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Applying sub-patch '19121551' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.ordim.client, 11.2.0.4.0...Patching component oracle.ordim.jai, 11.2.0.4.0...Applying sub-patch '19769489' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.sysman.agent, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.ovm, 11.2.0.4.0...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.oraolap, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Applying sub-patch '20299013' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.oci, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.sysman.common, 10.2.0.4.5...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.common.core, 10.2.0.4.5...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.deconfig, 11.2.0.4.0...Applying sub-patch '20760982' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '21352635' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Applying sub-patch '21948347' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.ovm, 11.2.0.4.0...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.oms.core, 10.2.0.4.5...Applying sub-patch '22502456' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.oraolap.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.olap, 11.2.0.4.0...Patching component oracle.oraolap, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Applying sub-patch '23054359' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '24006111' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.sqlplus.ic, 11.2.0.4.0...Patching component oracle.sqlplus, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Applying sub-patch '24732075' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.sysman.plugin.db.main.agent, 11.2.0.4.0...Patching component oracle.sqlplus.ic, 11.2.0.4.0...Patching component oracle.sqlplus, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.ordim.client, 11.2.0.4.0...Patching component oracle.ordim.jai, 11.2.0.4.0...Patching component oracle.ordim.server, 11.2.0.4.0...Applying sub-patch '25869727' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '26609445' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Applying sub-patch '26392168' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.client, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.xdk, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.network.listener, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...Patching component oracle.xdk.parser.java, 11.2.0.4.0...Patching component oracle.xdk.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '26925576' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '27338049' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.assistants.server, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Applying sub-patch '27734982' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ctx.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Applying sub-patch '28204707' to OH '/u01/app/oracle/product/11.2.0/db'Applying changes to emctl script on the home: /u01/app/oracle/product/11.2.0/db ...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.sysman.agent, 10.2.0.4.5...Patching component oracle.sysman.console.db, 11.2.0.4.0...Patching component oracle.ldap.security.osdt, 11.2.0.4.0...Patching component oracle.ldap.owm, 11.2.0.4.0...Patching component oracle.sqlplus.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '28729262' to OH '/u01/app/oracle/product/11.2.0/db'INFO: Script isn't applicable to this port!Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '29141056' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '29497421' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '29913194' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Applying sub-patch '30298532' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.rdbms.tg4tera, 11.2.0.4.0 ] , [ oracle.rdbms.tg4sybs, 11.2.0.4.0 ] , [ oracle.rdbms.tg4ifmx, 11.2.0.4.0 ] , [ oracle.rdbms.tg4db2, 11.2.0.4.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Applying sub-patch '30670774' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.swd.oui, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '31103343' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '31537677' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.oracore.rsf, 11.2.0.4.0...Patching component oracle.rdbms.util, 11.2.0.4.0...Patching component oracle.dbdev, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Applying sub-patch '31983472' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '32328626' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...Patching component oracle.rdbms.rman, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Applying sub-patch '32758711' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Applying sub-patch '33128584' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '33477185' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dv, 11.2.0.4.0...Applying sub-patch '33711103' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.rdbms.tg4tera, 11.2.0.4.0 ] , [ oracle.rdbms.tg4sybs, 11.2.0.4.0 ] , [ oracle.rdbms.tg4msql, 11.2.0.4.0 ] , [ oracle.rdbms.tg4ifmx, 11.2.0.4.0 ] , [ oracle.rdbms.tg4db2, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...Patching component oracle.rdbms.hs_common, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Applying sub-patch '34057724' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf, 11.2.0.4.0...Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...Patching component oracle.swd.oui.core, 11.2.0.4.0...Applying sub-patch '34386237' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.swd.oui.core, 11.2.0.4.0...Patching component oracle.ctx, 11.2.0.4.0...Applying sub-patch '34677698' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...Applying sub-patch '34998337' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Applying sub-patch '35269283' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.dbdev, 11.2.0.4.0...Applying sub-patch '35574075' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.network.rsf, 11.2.0.4.0...Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.sysman.oms.core, 10.2.0.4.5...Patching component oracle.marvel, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...Patching component oracle.dbjava.ucp, 11.2.0.4.0...Patching component oracle.owb.rsf, 11.2.0.4.0...Patching component oracle.sysman.ccr, 10.3.8.1.0...Patching component oracle.sysman.ccr.client, 10.3.2.1.0...Patching component oracle.sysman.common, 10.2.0.4.5...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.javavm.containers, 11.2.0.4.0...Composite patch 35574075 successfully applied.Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-42-15PM_1.logOPatch succeeded.#==============================================================# Oracle 软件安装补丁 33991024 #==============================================================# 节点 192.168.6.130 : Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.PREREQ sessionOracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-56-32PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-56-37PM_1.logVerifying environment and performing prerequisite checks...OPatch continues with these patches: 33991024 Do you want to proceed? [y|n]Y (auto-answered by -silent)User Responded with: YAll checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]Y (auto-answered by -silent)User Responded with: YBacking up files...Applying interim patch '33991024' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Patching component oracle.has.db, 11.2.0.4.0...Patch 33991024 successfully applied.Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-56-37PM_1.logOPatch succeeded.Oracle 执行 relink: writing relink log to: /u01/app/oracle/product/11.2.0/db/install/relink.log节点 192.168.6.131 : Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.PREREQ sessionOracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-57-44PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-57-49PM_1.logVerifying environment and performing prerequisite checks...OPatch continues with these patches: 33991024 Do you want to proceed? [y|n]Y (auto-answered by -silent)User Responded with: YAll checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]Y (auto-answered by -silent)User Responded with: YBacking up files...Applying interim patch '33991024' to OH '/u01/app/oracle/product/11.2.0/db'Patching component oracle.rdbms.rsf, 11.2.0.4.0...Patching component oracle.buildtools.rsf, 11.2.0.4.0...Patching component oracle.has.db, 11.2.0.4.0...Patch 33991024 successfully applied.Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-57-49PM_1.logOPatch succeeded.节点 192.168.6.131 :Oracle 执行 relink: writing relink log to: /u01/app/oracle/product/11.2.0/db/install/relink.log#==============================================================# OJVM 补丁安装 #==============================================================# 节点 192.168.6.130 : Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.PREREQ sessionOracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_17-00-08PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_17-00-13PM_1.logVerifying environment and performing prerequisite checks...OPatch continues with these patches: 35685663 Do you want to proceed? [y|n]Y (auto-answered by -silent)User Responded with: YAll checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]Y (auto-answered by -silent)User Responded with: YBacking up files...Applying interim patch '35685663' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.sqlj, 11.2.0.4.0 ] , [ oracle.sqlj.companion, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.javavm.server, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.javavm.client, 11.2.0.4.0...Patching component oracle.dbjava.jdbc, 11.2.0.4.0...Patching component oracle.dbjava.ic, 11.2.0.4.0...Patch 35685663 successfully applied.Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_17-00-13PM_1.logOPatch succeeded.节点 192.168.6.131 : Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.PREREQ sessionOracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_17-00-26PM_1.logInvoking prereq "checkconflictagainstohwithdetail"Prereq "checkConflictAgainstOHWithDetail" passed.OPatch succeeded.Oracle Interim Patch Installer version 11.2.0.3.44Copyright (c) 2024, Oracle Corporation. All rights reserved.Oracle Home : /u01/app/oracle/product/11.2.0/dbCentral Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.locOPatch version : 11.2.0.3.44OUI version : 11.2.0.4.0Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_17-00-30PM_1.logVerifying environment and performing prerequisite checks...OPatch continues with these patches: 35685663 Do you want to proceed? [y|n]Y (auto-answered by -silent)User Responded with: YAll checks passed.Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.(Oracle Home = '/u01/app/oracle/product/11.2.0/db')Is the local system ready for patching? [y|n]Y (auto-answered by -silent)User Responded with: YBacking up files...Applying interim patch '35685663' to OH '/u01/app/oracle/product/11.2.0/db'ApplySession: Optional component(s) [ oracle.sqlj, 11.2.0.4.0 ] , [ oracle.sqlj.companion, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.Patching component oracle.javavm.server, 11.2.0.4.0...Patching component oracle.precomp.common, 11.2.0.4.0...Patching component oracle.rdbms, 11.2.0.4.0...Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...Patching component oracle.javavm.client, 11.2.0.4.0...Patching component oracle.dbjava.jdbc, 11.2.0.4.0...Patching component oracle.dbjava.ic, 11.2.0.4.0...Patch 35685663 successfully applied.Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_17-00-30PM_1.logOPatch succeeded.#==============================================================# Oracle 软件版本 #==============================================================# SQL*Plus: Release 11.2.0.4.0 Production#==============================================================# Oracle 补丁信息 #==============================================================# 35685663;OJVM PATCH SET UPDATE 11.2.0.4.23101733991024;11204CERT ON OL8: LINKING ERRORS DURING 11204 FOR DB INSTALL ON OL8.235574075;Database Patch Set Update : 11.2.0.4.231017 (35574075)OPatch succeeded.#==============================================================# 静默建库命令:lucifer #==============================================================# dbca -silent -createDatabase \-templateName General_Purpose.dbc \-responseFile NO_VALUE \-gdbname lucifer \-sid lucifer \-sysPassword oracle \-systemPassword oracle \-redoLogFileSize 100 \-diskGroupName DATA \-storageType ASM \-listeners LISTENER \-nodeinfo openeuler01,openeuler02 \-characterSet AL32UTF8 \-nationalCharacterSet AL16UTF16 \-emConfiguration NONE \-automaticMemoryManagement false \-totalMemory 3716 \-databaseType OLTP #==============================================================# 创建数据库实例:lucifer #==============================================================# Copying database files1% complete3% complete9% complete15% complete21% complete27% complete30% completeCreating and starting Oracle instance32% complete36% complete40% complete44% complete45% complete48% complete50% completeCreating cluster database views52% complete70% completeCompleting Database Creation73% complete76% complete77% complete78% complete79% complete80% complete81% complete90% complete99% complete100% completeLook at the log file "/u01/app/oracle/cfgtoollogs/dbca/lucifer/lucifer.log" for further details.#==============================================================# 配置 OMF && 优化 RMAN #==============================================================# Recovery Manager: Release 11.2.0.4.0 - Production on Fri Mar 29 17:19:51 2024Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.connected to target database: LUCIFER (DBID=4020789513)RMAN> using target database control file instead of recovery catalognew RMAN configuration parameters:CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATA/snapcf_fdcdb1.f';new RMAN configuration parameters are successfully storedRMAN> RMAN configuration parameters for database with db_unique_name LUCIFER are:CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATA/snapcf_fdcdb1.f';RMAN> Recovery Manager complete.NAME TYPE VALUE------------------------------------ ----------- ------------------------------db_create_file_dest string +DATA#==============================================================# 配置 Oracle 数据库控制文件复用 #==============================================================# Recovery Manager: Release 11.2.0.4.0 - Production on Fri Mar 29 17:21:07 2024Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.connected to target database: LUCIFER (not mounted)RMAN> Starting restore at 29-MAR-24using target database control file instead of recovery catalogallocated channel: ORA_DISK_1channel ORA_DISK_1: SID=156 instance=lucifer1 device type=DISKchannel ORA_DISK_1: copied control file copyFinished restore at 29-MAR-24Recovery Manager complete.数据库控制文件: NAME----------------------------------------------------------------------------------------------------+DATA/lucifer/controlfile/current.260.1164906249+DATA/lucifer/controlfile/control02.ctl#==============================================================# 配置在线重做日志 #==============================================================# 数据库在线重做日志文件: THREAD# GROUP# MEMBER size(M)---------- ---------- ------------------------------------------------------------------------------------------------------------------------ ---------- 1 1 +DATA/lucifer/onlinelog/group_1.261.1164906251 100 1 2 +DATA/lucifer/onlinelog/group_2.262.1164906253 100 1 11 +DATA/lucifer/onlinelog/group_11.272.1164907323 100 1 12 +DATA/lucifer/onlinelog/group_12.273.1164907325 100 1 13 +DATA/lucifer/onlinelog/group_13.274.1164907331 100 1 14 +DATA/lucifer/onlinelog/group_14.275.1164907333 100 1 15 +DATA/lucifer/onlinelog/group_15.276.1164907335 100 2 3 +DATA/lucifer/onlinelog/group_3.265.1164907119 100 2 4 +DATA/lucifer/onlinelog/group_4.266.1164907121 100 2 21 +DATA/lucifer/onlinelog/group_21.277.1164907337 100 2 22 +DATA/lucifer/onlinelog/group_22.278.1164907339 100 2 23 +DATA/lucifer/onlinelog/group_23.279.1164907339 100 2 24 +DATA/lucifer/onlinelog/group_24.280.1164907343 100 2 25 +DATA/lucifer/onlinelog/group_25.281.1164907345 100#==============================================================# 配置 Oracle 数据库开机自启 #==============================================================# #==============================================================# 配置 RMAN 备份任务 #==============================================================# ## OracleBegin00 02 * * * /home/oracle/scripts/del_arch_lucifer.sh#00 00 * * 0 /home/oracle/scripts/dbbackup_lv0_lucifer.sh#00 00 * * 1,2,3,4,5,6 /home/oracle/scripts/dbbackup_lv1_lucifer.sh#==============================================================# 优化数据库参数 #==============================================================# 数据库参数: NAME SID SPVALUE VALUE-------------------------------------------------- ---------- -------------------------------------------------------------------------------- --------------------------------------------------------------------------------_b_tree_bitmap_plans * FALSE FALSE_datafile_write_errors_crash_instance * FALSE FALSEaudit_file_dest * /u01/app/oracle/admin/lucifer/adump /u01/app/oracle/admin/lucifer/adumpaudit_trail * NONE DBcluster_database * true TRUEcompatible * 11.2.0.4.0 11.2.0.4.0control_file_record_keep_time * 31 31db_block_size * 8192 8192db_create_file_dest * +DATA +DATAdb_file_multiblock_read_count * 128db_files * 5000 200db_name * lucifer luciferdb_writer_processes * 1deferred_segment_creation * FALSE FALSEdiagnostic_dest * /u01/app/oracle /u01/app/oracledispatchers * (PROTOCOL=TCP) (SERVICE=luciferXDB) (PROTOCOL=TCP) (SERVICE=luciferXDB)enable_ddl_logging * TRUE FALSEevent * 10949 trace name context forever,level 1event * 28401 trace name context forever,level 1fast_start_parallel_rollback * LOWlog_archive_dest_1 * location=+DATA location=+DATAlog_archive_format * %t_%s_%r.dbf %t_%s_%r.dbfmax_dump_file_size * unlimitedopen_cursors * 1000 300optimizer_index_caching * 0optimizer_mode * ALL_ROWSparallel_force_local * TRUE FALSEparallel_max_servers * 64 64pga_aggregate_target * 1246756864 779091968processes * 2000 150remote_login_passwordfile * exclusive EXCLUSIVEresource_limit * TRUE FALSEresource_manager_plan * force:sec_case_sensitive_logon * FALSE TRUEsession_cached_cursors * 300 50sessions * 248sga_max_size * 4988076032 3120562176sga_target * 4988076032 3120562176spfile * +DATA/lucifer/spfilelucifer.orastatistics_level * TYPICALundo_retention * 10800 900#==============================================================# 配置 glogin.sql #==============================================================# define _editor=viset serveroutput on size 1000000set pagesize 9999set long 99999set trimspool oncol name format a80set termout offdefine gname=idlecolumn global_name new_value gnameselect lower(user) || '@' || substr( global_name, 1, decode( dot, 0, length(global_name), dot-1) ) global_name from (select global_name, instr(global_name,'.') dot from global_name );ALTER SESSION SET nls_date_format = 'YYYY-MM-DD HH24:MI:SS';set sqlprompt '&gname _DATE> 'set termout on恭喜!Oracle RAC 安装成功,现在是否重启主机:[Y/N] Y检查集群状态:
[grid@openeuler01:/home/grid]$ crsctl stat res -t--------------------------------------------------------------------------------Name Target State Server State details --------------------------------------------------------------------------------Local Resources--------------------------------------------------------------------------------ora.LISTENER.lsnr ONLINE ONLINE openeuler01 STABLE ONLINE ONLINE openeuler02 STABLEora.chad ONLINE ONLINE openeuler01 STABLE ONLINE ONLINE openeuler02 STABLEora.net1.network ONLINE ONLINE openeuler01 STABLE ONLINE ONLINE openeuler02 STABLEora.ons ONLINE ONLINE openeuler01 STABLE ONLINE ONLINE openeuler02 STABLE--------------------------------------------------------------------------------Cluster Resources--------------------------------------------------------------------------------ora.ASMNET1LSNR_ASM.lsnr(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 STABLEora.DATA.dg(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 STABLEora.LISTENER_SCAN1.lsnr 1 ONLINE ONLINE openeuler02 STABLEora.OCR.dg(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 STABLEora.asm(ora.asmgroup) 1 ONLINE ONLINE openeuler01 Started,STABLE 2 ONLINE ONLINE openeuler02 Started,STABLEora.asmnet1.asmnetwork(ora.asmgroup) 1 ONLINE ONLINE openeuler01 STABLE 2 ONLINE ONLINE openeuler02 STABLEora.cvu 1 ONLINE ONLINE openeuler02 STABLEora.lucifer.db 1 ONLINE ONLINE openeuler01 Open,HOME=/u01/app/o racle/product/11.2.0 /db,STABLE 2 ONLINE ONLINE openeuler02 Open,HOME=/u01/app/o racle/product/11.2.0 /db,STABLEora.openeuler01.vip 1 ONLINE ONLINE openeuler01 STABLEora.openeuler02.vip 1 ONLINE ONLINE openeuler02 STABLEora.qosmserver 1 ONLINE ONLINE openeuler02 STABLEora.scan1.vip 1 ONLINE ONLINE openeuler02 STABLE--------------------------------------------------------------------------------