1[root@openeuler:/root]$ cat /soft/print_ora_install_20240329150802.log
2
3#==============================================================#
4配置本地 YUM 源
5#==============================================================#
6
7[openEuler]
8name=openEuler
9baseurl=file:////mnt
10enabled=1
11gpgcheck=1
12gpgkey=file:////mnt/RPM-GPG-KEY-openEuler
13
14#==============================================================#
15获取 ASM 磁盘 UUID && 格式化磁盘头
16#==============================================================#
17格式化 DATA 磁盘:/dev/sdc
18
19DATA磁盘组的磁盘UUID: 2f218dae15b551c5d
20
21#==============================================================#
22打印系统信息
23#==============================================================#
24
25服务器时间:
26
27Fri Mar 29 03:08:08 PM CST 2024
28
29操作系统版本:
30
31NAME="openEuler"
32VERSION="22.03 (LTS-SP3)"
33ID="openEuler"
34VERSION_ID="22.03"
35PRETTY_NAME="openEuler 22.03 (LTS-SP3)"
36ANSI_COLOR="0;31"
37
38
39内核信息:
40
41Linux 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
42
43服务器属性:
44
45vmware
46
47cpu信息:
48
49$2型号名称 :Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
50$2物理 CPU 个数 :8
51$2每个物理 CPU 的逻辑核数 :1
52$2系统的 CPU 线程数 :8
53
54内存信息:
55
56 total used free shared buff/cache available
57Mem: 7433 525 121 8 7103 6908
58Swap: 8187 0 8187
59 total used free shared buff/cache available
60Mem: 7.3Gi 525Mi 121Mi 8.7Mi 6.9Gi 6.7Gi
61Swap: 8.0Gi 268Ki 8.0Gi
62
63挂载信息:
64
65/dev/mapper/openeuler-root / ext4 defaults 1 1
66UUID=07e6a80f-f2f4-42f8-a1ad-df05bd354960 /boot ext4 defaults 1 2
67/dev/mapper/openeuler-swap none swap defaults 0 0
68
69目录信息:
70
71Filesystem Size Used Avail Use% Mounted on
72devtmpfs 4.0M 0 4.0M 0% /dev
73tmpfs 3.7G 0 3.7G 0% /dev/shm
74tmpfs 1.5G 8.8M 1.5G 1% /run
75tmpfs 4.0M 0 4.0M 0% /sys/fs/cgroup
76/dev/mapper/openeuler-root 90G 11G 74G 13% /
77tmpfs 3.7G 0 3.7G 0% /tmp
78/dev/sda1 974M 174M 733M 20% /boot
79/dev/sr0 18G 18G 0 100% /mnt
80
81#==============================================================#
82禁用防火墙
83#==============================================================#
84
85○ firewalld.service - firewalld - dynamic firewall daemon
86 Loaded: loaded (/usr/lib/systemd/system/firewalld.service; disabled; vendor preset: enabled)
87 Active: inactive (dead)
88 Docs: man:firewalld(1)
89
90Mar 29 14:49:36 openEuler01 systemd[1]: Starting firewalld - dynamic firewall daemon...
91Mar 29 14:49:38 openEuler01 systemd[1]: Started firewalld - dynamic firewall daemon.
92Mar 29 15:08:10 openEuler01 systemd[1]: Stopping firewalld - dynamic firewall daemon...
93Mar 29 15:08:11 openEuler01 systemd[1]: firewalld.service: Deactivated successfully.
94Mar 29 15:08:11 openEuler01 systemd[1]: Stopped firewalld - dynamic firewall daemon.
95
96#==============================================================#
97禁用 SELinux
98#==============================================================#
99
100SELinux status: enabled
101SELinuxfs mount: /sys/fs/selinux
102SELinux root directory: /etc/selinux
103Loaded policy name: targeted
104Current mode: permissive
105Mode from config file: disabled
106Policy MLS status: enabled
107Policy deny_unknown status: allowed
108Memory protection checking: actual (secure)
109Max kernel policy version: 33
110
111#==============================================================#
112配置 nsysctl.conf
113#==============================================================#
114
115NOZEROCONF=yes
116
117#==============================================================#
118YUM 静默安装依赖包
119#==============================================================#
120
121bc-1.07.1-12.oe2203sp3.x86_64
122binutils-2.37-24.oe2203sp3.x86_64
123package compat-libcap1 is not installed
124gcc-10.3.1-49.oe2203sp3.x86_64
125gcc-c++-10.3.1-49.oe2203sp3.x86_64
126package elfutils-libelf is not installed
127package elfutils-libelf-devel is not installed
128glibc-2.34-143.oe2203sp3.x86_64
129glibc-devel-2.34-143.oe2203sp3.x86_64
130libaio-0.3.113-9.oe2203sp3.x86_64
131libaio-devel-0.3.113-9.oe2203sp3.x86_64
132libgcc-10.3.1-49.oe2203sp3.x86_64
133libstdc++-10.3.1-49.oe2203sp3.x86_64
134libstdc++-devel-10.3.1-49.oe2203sp3.x86_64
135libxcb-1.15-1.oe2203sp3.x86_64
136libX11-1.7.2-8.oe2203sp3.x86_64
137libXau-1.0.10-1.oe2203sp3.x86_64
138libXi-1.8-2.oe2203sp3.x86_64
139libXrender-0.9.10-12.oe2203sp3.x86_64
140make-4.3-4.oe2203sp3.x86_64
141net-tools-2.10-3.oe2203sp3.x86_64
142smartmontools-7.2-2.oe2203sp3.x86_64
143sysstat-12.5.4-9.oe2203sp3.x86_64
144e2fsprogs-1.46.4-24.oe2203sp3.x86_64
145package e2fsprogs-libs is not installed
146unzip-6.0-50.oe2203sp3.x86_64
147openssh-clients-8.8p1-23.oe2203sp3.x86_64
148readline-8.1-3.oe2203sp3.x86_64
149readline-devel-8.1-3.oe2203sp3.x86_64
150psmisc-23.5-2.oe2203sp3.x86_64
151ksh-2020.0.0-10.oe2203sp3.x86_64
152nfs-utils-2.5.4-15.oe2203sp3.x86_64
153tar-1.34-5.oe2203sp3.x86_64
154package device-mapper-multipath is not installed
155avahi-0.8-18.oe2203sp3.x86_64
156ntp-4.2.8p15-13.oe2203sp3.x86_64
157chrony-4.1-6.oe2203sp3.x86_64
158libXtst-1.2.4-1.oe2203sp3.x86_64
159libXrender-devel-0.9.10-12.oe2203sp3.x86_64
160fontconfig-devel-2.13.94-3.oe2203sp3.x86_64
161policycoreutils-3.3-8.oe2203sp3.x86_64
162package policycoreutils-python is not installed
163libcap-devel-2.61-6.oe2203sp3.x86_64
164xorg-x11-utils-7.5-31.oe2203sp3.x86_64
165xorg-x11-xauth-1.1.2-1.oe2203sp3.x86_64
166glibc-compat-2.17-2.34-143.oe2203sp3.x86_64
167elfutils-0.185-18.oe2203sp3.x86_64
168elfutils-devel-0.185-18.oe2203sp3.x86_64
169libnsl2-devel-2.0.0-5.oe2203sp3.x86_64
170package librdmacm is not installed
171libnsl-2.34-143.oe2203sp3.x86_64
172package libibverbs is not installed
173package compat-openssl10 is not installed
174policycoreutils-python-utils-3.3-8.oe2203sp3.noarch
175
176#==============================================================#
177配置主机名
178#==============================================================#
179
180 Static hostname: openeuler
181 Icon name: computer-vm
182 Chassis: vm
183 Machine ID: 141e08aec07949dbb1be4d025526e6de
184 Boot ID: 07e7a034d0d248988b39171ec1f10f2c
185 Virtualization: vmware
186Operating System: openEuler 22.03 (LTS-SP3)
187 Kernel: Linux 5.10.0-182.0.0.95.oe2203sp3.x86_64
188 Architecture: x86-64
189 Hardware Vendor: VMware, Inc.
190 Hardware Model: VMware Virtual Platform
191
192#==============================================================#
193配置 /etc/hosts 文件
194#==============================================================#
195
196
197#==============================================================#
198创建用户和组
199#==============================================================#
200
201127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
202::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
203192.168.6.130 openeuler
204oracle 用户:
205
206uid=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)
207
208grid 用户:
209
210uid=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)
211
212
213#==============================================================#
214配置 Avahi-daemon 服务
215#==============================================================#
216
217○ avahi-daemon.service - Avahi mDNS/DNS-SD Stack
218 Loaded: loaded (/usr/lib/systemd/system/avahi-daemon.service; disabled; vendor preset: enabled)
219 Active: inactive (dead)
220TriggeredBy: ○ avahi-daemon.socket
221
222#==============================================================#
223配置透明大页 && NUMA && 磁盘 IO 调度器
224#==============================================================#
225
226args="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"
227-resume=/dev/mapper/openeuler-swap
228-args="ro
229args="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"
230-rhgb
231-crashkernel=512M
232
233#==============================================================#
234配置 sysctl.conf
235#==============================================================#
236
237kernel.sysrq = 0
238net.ipv4.ip_forward = 0
239net.ipv4.conf.all.send_redirects = 0
240net.ipv4.conf.default.send_redirects = 0
241net.ipv4.conf.all.accept_source_route = 0
242net.ipv4.conf.default.accept_source_route = 0
243net.ipv4.conf.all.accept_redirects = 0
244net.ipv4.conf.default.accept_redirects = 0
245net.ipv4.conf.all.secure_redirects = 0
246net.ipv4.conf.default.secure_redirects = 0
247net.ipv4.icmp_echo_ignore_broadcasts = 1
248net.ipv4.icmp_ignore_bogus_error_responses = 1
249net.ipv4.conf.all.rp_filter = 1
250net.ipv4.conf.default.rp_filter = 1
251net.ipv4.tcp_syncookies = 1
252kernel.dmesg_restrict = 1
253net.ipv6.conf.all.accept_redirects = 0
254net.ipv6.conf.default.accept_redirects = 0
255fs.aio-max-nr = 1048576
256fs.file-max = 6815744
257kernel.shmall = 2097152
258kernel.shmmax = 7795097599
259kernel.shmmni = 4096
260kernel.sem = 250 32000 100 128
261net.ipv4.ip_local_port_range = 9000 65500
262net.core.rmem_default = 262144
263net.core.rmem_max = 4194304
264net.core.wmem_default = 262144
265net.core.wmem_max = 1048576
266vm.min_free_kbytes = 30449
267net.ipv4.conf.ens33.rp_filter = 1
268vm.swappiness = 10
269kernel.panic_on_oops = 1
270kernel.randomize_va_space = 2
271kernel.numa_balancing = 0
272
273#==============================================================#
274配置 RemoveIPC
275#==============================================================#
276
277[Login]
278RemoveIPC=no
279
280#==============================================================#
281配置 /etc/security/limits.conf 和 /etc/pam.d/login
282#==============================================================#
283
284查看 /etc/security/limits.conf:
285
286oracle soft nofile 1024
287oracle hard nofile 65536
288oracle soft stack 10240
289oracle hard stack 32768
290oracle soft nproc 2047
291oracle hard nproc 16384
292oracle hard memlock unlimited
293oracle soft memlock unlimited
294grid soft nofile 1024
295grid hard nofile 65536
296grid soft stack 10240
297grid hard stack 32768
298grid soft nproc 2047
299grid hard nproc 16384
300
301查看 /etc/pam.d/login 文件:
302
303auth substack system-auth
304auth include postlogin
305account required pam_nologin.so
306account include system-auth
307password include system-auth
308session required pam_selinux.so close
309session required pam_loginuid.so
310session required pam_selinux.so open
311session required pam_namespace.so
312session optional pam_keyinit.so force revoke
313session include system-auth
314session include postlogin
315-session optional pam_ck_connector.so
316session required pam_limits.so
317session required /lib64/security/pam_limits.so
318
319#==============================================================#
320配置 /dev/shm
321#==============================================================#
322
323/dev/mapper/openeuler-root / ext4 defaults 1 1
324UUID=07e6a80f-f2f4-42f8-a1ad-df05bd354960 /boot ext4 defaults 1 2
325/dev/mapper/openeuler-swap none swap defaults 0 0
326tmpfs /dev/shm tmpfs size=7612400k 0 0
327
328#==============================================================#
329安装 rlwrap 插件
330#==============================================================#
331
332成功安装 rlwrap: rlwrap 0.44
333
334#==============================================================#
335Root 用户环境变量
336#==============================================================#
337
338if [ -f ~/.bashrc ]; then
339 . ~/.bashrc
340fi
341PATH=$PATH:$HOME/bin
342export PATH
343alias so='su - oracle'
344export PS1="[`whoami`@`hostname`:"'$PWD]$ '
345alias sg='su - grid'
346alias crsctl='/u01/app/19.3.0/grid/bin/crsctl'
347alias srvctl='/u01/app/19.3.0/grid/bin/srvctl'
348
349#==============================================================#
350Oracle 用户环境变量,实例名:lucifer
351#==============================================================#
352
353[ -f ~/.bashrc ] && . ~/.bashrc
354umask 022
355export TMP=/tmp
356export TMPDIR=$TMP
357export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
358export ORACLE_BASE=/u01/app/oracle
359export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db
360export ORACLE_TERM=xterm
361export TNS_ADMIN=$ORACLE_HOME/network/admin
362export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
363export ORACLE_SID=lucifer
364export PATH=/usr/sbin:$PATH
365export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:$PATH
366export PERL5LIB=$ORACLE_HOME/perl/lib
367alias sas='sqlplus / as sysdba'
368alias awr='sqlplus / as sysdba @?/rdbms/admin/awrrpt'
369alias ash='sqlplus / as sysdba @?/rdbms/admin/ashrpt'
370alias alert='vi $ORACLE_BASE/diag/rdbms/*/$ORACLE_SID/trace/alert_$ORACLE_SID.log'
371export PS1="[`whoami`@`hostname`:"'$PWD]$ '
372export CV_ASSUME_DISTID=OL7
373alias sqlplus='rlwrap sqlplus'
374alias rman='rlwrap rman'
375alias adrci='rlwrap adrci'
376
377#==============================================================#
378Grid 用户环境变量
379#==============================================================#
380
381[ -f ~/.bashrc ] && . ~/.bashrc
382umask 022
383export TMP=/tmp
384export TMPDIR=$TMP
385export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
386export ORACLE_BASE=/u01/app/grid
387export ORACLE_HOME=/u01/app/19.3.0/grid
388export ORACLE_TERM=xterm
389export TNS_ADMIN=$ORACLE_HOME/network/admin
390export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib
391export ORACLE_SID=+ASM
392export PATH=/usr/sbin:$PATH
393export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$PATH
394alias sas='sqlplus / as sysasm'
395export PS1="[`whoami`@`hostname`:"'$PWD]$ '
396export CV_ASSUME_DISTID=OL7
397alias sqlplus='rlwrap sqlplus'
398alias asmcmd='rlwrap asmcmd'
399alias adrci='rlwrap adrci'
400
401#==============================================================#
402配置 multipath 多路径
403#==============================================================#
404
405
406#==============================================================#
407配置 UDEV 绑盘
408#==============================================================#
409
410KERNEL=="dm-*",ENV{DM_UUID}=="mpath-2f218dae15b551c5d",SYMLINK+="asm_data_1",OWNER="grid",GROUP="asmadmin",MODE="0660"
411mpatha (2e87e4f535c397171) dm-2 ROCKET,IMAGEFILE
412size=10G features='0' hwhandler='0' wp=rw
413`-+- policy='service-time 0' prio=1 status=active
414 `- 3:0:0:0 sdb 8:16 active ready running
415asm_data_1 (2f218dae15b551c5d) dm-3 ROCKET,IMAGEFILE
416size=50G features='0' hwhandler='0' wp=rw
417`-+- policy='service-time 0' prio=1 status=active
418 `- 3:0:0:1 sdc 8:32 active ready running
419UDEV 配置完成!
420/dev/asm_data_1
421
422#==============================================================#
423静默解压缩 Grid 软件包
424#==============================================================#
425
426正在静默解压缩 Grid 软件包,请稍等:
427
428静默解压 Grid 软件安装包: /soft/LINUX.X64_193000_grid_home.zip
429
430静默解压 OPatch 软件补丁包: /soft/p6880880_190000_Linux-x86-64.zip
431
432静默解压 Grid 软件补丁包: /soft/p35940989_190000_Linux-x86-64.zip
433
434#==============================================================#
435静默解压 Oracle 软件包
436#==============================================================#
437
438正在静默解压缩 Oracle 软件包,请稍等:
439静默解压 Oracle 软件安装包: /soft/p13390677_112040_Linux-x86-64_1of7.zip,/soft/p13390677_112040_Linux-x86-64_2of7.zip
440
441静默解压 Oracle 软件补丁包: /soft/p35574075_112040_Linux-x86-64.zip
442
443静默解压 Oracle 软件补丁包:/soft/p33991024_11204220118_Generic.zip
444
445静默解压 OJVM 软件补丁包: /soft/p35685663_112040_Linux-x86-64.zip
446
447#==============================================================#
448Grid 安装静默文件
449#==============================================================#
450
451INVENTORY_LOCATION=/u01/app/oraInventory
452oracle.install.option=HA_CONFIG
453ORACLE_BASE=/u01/app/grid
454oracle.install.asm.OSDBA=asmdba
455oracle.install.asm.OSOPER=asmoper
456oracle.install.asm.OSASM=asmadmin
457oracle.install.crs.config.gpnp.configureGNS=false
458oracle.install.crs.config.useIPMI=false
459oracle.install.asm.SYSASMPassword=oracle
460oracle.install.asm.diskGroup.name=DATA
461oracle.install.asm.diskGroup.redundancy=EXTERNAL
462oracle.install.asm.diskGroup.disks=/dev/asm_data_1
463oracle.install.asm.diskGroup.diskDiscoveryString=/dev/asm*
464oracle.install.asm.monitorPassword=oracle
465oracle.install.crs.config.ClusterConfiguration=STANDALONE
466oracle.install.crs.config.configureAsExtendedCluster=false
467oracle.install.crs.configureGIMR=false
468oracle.install.asm.storageOption=ASM
469oracle.install.asm.diskGroup.AUSize=4
470oracle.install.asm.configureAFD=false
471oracle.install.crs.config.ignoreDownNodes=false
472oracle.install.config.managementOption=NONE
473oracle.install.crs.rootconfig.executeRootScript=false
474oracle.install.responseFileVersion=/oracle/install/rspfmt_crsinstall_response_schema_v19.0.0
475oracle.install.crs.config.scanType=LOCAL_SCAN
476
477#==============================================================#
478静默安装 Grid 软件
479#==============================================================#
480
481Preparing the home to patch...
482Applying the patch /soft/35940989...
483Successfully applied the patch.
484The log can be found at: /tmp/GridSetupActions2024-03-29_03-18-02PM/installerPatchActions_2024-03-29_03-18-02PM.log
485Launching Oracle Grid Infrastructure Setup Wizard...
486
487[WARNING] [INS-30011] The SYS password entered does not conform to the Oracle recommended standards.
488 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].
489 ACTION: Provide a password that conforms to the Oracle recommended standards.
490[WARNING] [INS-30011] The ASMSNMP password entered does not conform to the Oracle recommended standards.
491 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].
492 ACTION: Provide a password that conforms to the Oracle recommended standards.
493The response file for this session can be found at:
494 /u01/app/19.3.0/grid/install/response/grid_2024-03-29_03-18-02PM.rsp
495
496You can find the log of this install session at:
497 /tmp/GridSetupActions2024-03-29_03-18-02PM/gridSetupActions2024-03-29_03-18-02PM.log
498
499As a root user, execute the following script(s):
500 1. /u01/app/oraInventory/orainstRoot.sh
501 2. /u01/app/19.3.0/grid/root.sh
502
503Execute /u01/app/19.3.0/grid/root.sh on the following nodes:
504[openeuler]
505
506
507
508Successfully Setup Software.
509As install user, execute the following command to complete the configuration.
510 /u01/app/19.3.0/grid/gridSetup.sh -executeConfigTools -responseFile /soft/grid.rsp [-silent]
511
512
513Moved the install session logs to:
514 /u01/app/oraInventory/logs/GridSetupActions2024-03-29_03-18-02PM
515
516#==============================================================#
517执行 root 脚本
518#==============================================================#
519
520Changing permissions of /u01/app/oraInventory.
521Adding read,write permissions for group.
522Removing read,write,execute permissions for world.
523
524Changing groupname of /u01/app/oraInventory to oinstall.
525The execution of the script is complete.
526Check /u01/app/19.3.0/grid/install/root_openeuler_2024-03-29_15-42-53-525578127.log for the output of root script
527
528#==============================================================#
529Grid 软件版本
530#==============================================================#
531
532
533SQL*Plus: Release 19.0.0.0.0 - Production
534Version 19.22.0.0.0
535
536
537#==============================================================#
538Grid 补丁信息
539#==============================================================#
540
54136115038;TOMCAT RELEASE UPDATE 19.0.0.0.0 (36115038)
54235967489;OCW RELEASE UPDATE 19.22.0.0.0 (35967489)
54335956421;ACFS RELEASE UPDATE 19.22.0.0.0 (35956421)
54435943157;Database Release Update : 19.22.0.0.240116 (35943157)
54533575402;DBWLM RELEASE UPDATE 19.0.0.0.0 (33575402)
546
547OPatch succeeded.
548
549
550#==============================================================#
551Grid 资源检查
552#==============================================================#
553
554--------------------------------------------------------------------------------
555Name Target State Server State details
556--------------------------------------------------------------------------------
557Local Resources
558--------------------------------------------------------------------------------
559ora.DATA.dg
560 ONLINE ONLINE openeuler STABLE
561ora.LISTENER.lsnr
562 ONLINE ONLINE openeuler STABLE
563ora.asm
564 ONLINE ONLINE openeuler Started,STABLE
565ora.ons
566 OFFLINE OFFLINE openeuler STABLE
567--------------------------------------------------------------------------------
568Cluster Resources
569--------------------------------------------------------------------------------
570ora.cssd
571 1 ONLINE ONLINE openeuler STABLE
572ora.diskmon
573 1 OFFLINE OFFLINE STABLE
574ora.evmd
575 1 ONLINE ONLINE openeuler STABLE
576--------------------------------------------------------------------------------
577
578
579#==============================================================#
580Oracle 安装静默文件
581#==============================================================#
582
583oracle.install.option=INSTALL_DB_SWONLY
584UNIX_GROUP_NAME=oinstall
585INVENTORY_LOCATION=/u01/app/oraInventory
586ORACLE_BASE=/u01/app/oracle
587oracle.install.db.InstallEdition=EE
588oracle.install.db.DBA_GROUP=dba
589oracle.install.db.OPER_GROUP=oper
590oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0
591SELECTED_LANGUAGES=en,zh_CN
592ORACLE_HOME=/u01/app/oracle/product/11.2.0/db
593DECLINE_SECURITY_UPDATES=true
594oracle.installer.autoupdates.option=SKIP_UPDATES
595
596#==============================================================#
597静默安装数据库软件
598#==============================================================#
599
600Starting Oracle Universal Installer...
601
602Checking Temp space: must be greater than 120 MB. Actual 3716 MB Passed
603Checking swap space: must be greater than 150 MB. Actual 8175 MB Passed
604Preparing to launch Oracle Universal Installer from /tmp/OraInstall2024-03-29_03-46-17PM. Please wait ...You can find the log of this install session at:
605 /u01/app/oraInventory/logs/installActions2024-03-29_03-46-17PM.log
606
607Prepare in progress.
608.................................................. 9% Done.
609
610Prepare successful.
611
612Copy files in progress.
613.................................................. 14% Done.
614.................................................. 20% Done.
615.................................................. 26% Done.
616.................................................. 31% Done.
617.................................................. 36% Done.
618.................................................. 41% Done.
619.................................................. 47% Done.
620.................................................. 52% Done.
621.................................................. 57% Done.
622.................................................. 63% Done.
623.................................................. 68% Done.
624.................................................. 73% Done.
625.................................................. 78% Done.
626.................................................. 83% Done.
627..............................
628Copy files successful.
629
630Link binaries in progress.
631..........
632Link binaries successful.
633
634Setup files in progress.
635.................................................. 88% Done.
636.................................................. 94% Done.
637
638Setup files successful.
639The installation of Oracle Database 11g was successful.
640Please check '/u01/app/oraInventory/logs/silentInstall2024-03-29_03-46-17PM.log' for more details.
641
642Execute Root Scripts in progress.
643
644As a root user, execute the following script(s):
645 1. /u01/app/oracle/product/11.2.0/db/root.sh
646
647
648.................................................. 100% Done.
649
650Execute Root Scripts successful.
651Successfully Setup Software.
652
653#==============================================================#
654执行 root 脚本
655#==============================================================#
656
657Changing permissions of /u01/app/oraInventory.
658Adding read,write permissions for group.
659Removing read,write,execute permissions for world.
660
661Changing groupname of /u01/app/oraInventory to oinstall.
662The execution of the script is complete.
663Check /u01/app/oracle/product/11.2.0/db/install/root_openeuler_2024-03-29_15-50-27.log for the output of root script
664
665#==============================================================#
666Oracle 软件安装补丁
667#==============================================================#
668
669Oracle Interim Patch Installer version 11.2.0.3.44
670Copyright (c) 2024, Oracle Corporation. All rights reserved.
671
672PREREQ session
673
674Oracle Home : /u01/app/oracle/product/11.2.0/db
675Central Inventory : /u01/app/oraInventory
676 from : /u01/app/oracle/product/11.2.0/db/oraInst.loc
677OPatch version : 11.2.0.3.44
678OUI version : 11.2.0.4.0
679Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_15-50-32PM_1.log
680
681Invoking prereq "checkconflictagainstohwithdetail"
682
683Prereq "checkConflictAgainstOHWithDetail" passed.
684
685OPatch succeeded.
686Oracle Interim Patch Installer version 11.2.0.3.44
687Copyright (c) 2024, Oracle Corporation. All rights reserved.
688
689
690Oracle Home : /u01/app/oracle/product/11.2.0/db
691Central Inventory : /u01/app/oraInventory
692 from : /u01/app/oracle/product/11.2.0/db/oraInst.loc
693OPatch version : 11.2.0.3.44
694OUI version : 11.2.0.4.0
695Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_15-50-36PM_1.log
696
697Verifying environment and performing prerequisite checks...
698OPatch 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
699
700Do you want to proceed? [y|n]
701Y (auto-answered by -silent)
702User Responded with: Y
703All checks passed.
704
705Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
706(Oracle Home = '/u01/app/oracle/product/11.2.0/db')
707
708
709Is the local system ready for patching? [y|n]
710Y (auto-answered by -silent)
711User Responded with: Y
712Backing up files...
713Applying sub-patch '17478514' to OH '/u01/app/oracle/product/11.2.0/db'
714
715Patching component oracle.rdbms, 11.2.0.4.0...
716
717Patching component oracle.rdbms.rsf, 11.2.0.4.0...
718
719Patching component oracle.sdo, 11.2.0.4.0...
720
721Patching component oracle.sysman.agent, 10.2.0.4.5...
722
723Patching component oracle.xdk, 11.2.0.4.0...
724
725Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
726
727Patching component oracle.sdo.locator, 11.2.0.4.0...
728
729Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...
730
731Patching component oracle.xdk.rsf, 11.2.0.4.0...
732
733Patching component oracle.rdbms.rman, 11.2.0.4.0...
734Applying sub-patch '18031668' to OH '/u01/app/oracle/product/11.2.0/db'
735
736Patching component oracle.rdbms, 11.2.0.4.0...
737
738Patching component oracle.rdbms.rsf, 11.2.0.4.0...
739
740Patching component oracle.ldap.rsf, 11.2.0.4.0...
741
742Patching component oracle.rdbms.crs, 11.2.0.4.0...
743
744Patching component oracle.precomp.common, 11.2.0.4.0...
745
746Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
747
748Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
749
750Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
751
752Patching component oracle.rdbms.rman, 11.2.0.4.0...
753Applying sub-patch '18522509' to OH '/u01/app/oracle/product/11.2.0/db'
754
755Patching component oracle.rdbms.rsf, 11.2.0.4.0...
756
757Patching component oracle.rdbms, 11.2.0.4.0...
758
759Patching component oracle.precomp.common, 11.2.0.4.0...
760
761Patching component oracle.rdbms.rman, 11.2.0.4.0...
762
763Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
764
765Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
766Applying sub-patch '19121551' to OH '/u01/app/oracle/product/11.2.0/db'
767
768Patching component oracle.precomp.common, 11.2.0.4.0...
769
770Patching component oracle.sysman.console.db, 11.2.0.4.0...
771
772Patching component oracle.rdbms.rsf, 11.2.0.4.0...
773
774Patching component oracle.rdbms.rman, 11.2.0.4.0...
775
776Patching component oracle.rdbms, 11.2.0.4.0...
777
778Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
779
780Patching component oracle.ordim.client, 11.2.0.4.0...
781
782Patching component oracle.ordim.jai, 11.2.0.4.0...
783Applying sub-patch '19769489' to OH '/u01/app/oracle/product/11.2.0/db'
784ApplySession: Optional component(s) [ oracle.sysman.agent, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
785
786Patching component oracle.precomp.common, 11.2.0.4.0...
787
788Patching component oracle.ovm, 11.2.0.4.0...
789
790Patching component oracle.xdk, 11.2.0.4.0...
791
792Patching component oracle.rdbms.util, 11.2.0.4.0...
793
794Patching component oracle.rdbms, 11.2.0.4.0...
795
796Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
797
798Patching component oracle.xdk.parser.java, 11.2.0.4.0...
799
800Patching component oracle.oraolap, 11.2.0.4.0...
801
802Patching component oracle.rdbms.rsf, 11.2.0.4.0...
803
804Patching component oracle.xdk.rsf, 11.2.0.4.0...
805
806Patching component oracle.rdbms.rman, 11.2.0.4.0...
807
808Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
809Applying sub-patch '20299013' to OH '/u01/app/oracle/product/11.2.0/db'
810
811Patching component oracle.rdbms.dv, 11.2.0.4.0...
812
813Patching component oracle.rdbms.oci, 11.2.0.4.0...
814
815Patching component oracle.precomp.common, 11.2.0.4.0...
816
817Patching component oracle.sysman.agent, 10.2.0.4.5...
818
819Patching component oracle.xdk, 11.2.0.4.0...
820
821Patching component oracle.sysman.common, 10.2.0.4.5...
822
823Patching component oracle.rdbms, 11.2.0.4.0...
824
825Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
826
827Patching component oracle.xdk.parser.java, 11.2.0.4.0...
828
829Patching component oracle.sysman.console.db, 11.2.0.4.0...
830
831Patching component oracle.xdk.rsf, 11.2.0.4.0...
832
833Patching component oracle.rdbms.rsf, 11.2.0.4.0...
834
835Patching component oracle.sysman.common.core, 10.2.0.4.5...
836
837Patching component oracle.rdbms.rman, 11.2.0.4.0...
838
839Patching component oracle.rdbms.deconfig, 11.2.0.4.0...
840Applying sub-patch '20760982' to OH '/u01/app/oracle/product/11.2.0/db'
841
842Patching component oracle.sysman.console.db, 11.2.0.4.0...
843
844Patching component oracle.rdbms, 11.2.0.4.0...
845
846Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
847
848Patching component oracle.rdbms.rsf, 11.2.0.4.0...
849Applying sub-patch '21352635' to OH '/u01/app/oracle/product/11.2.0/db'
850
851Patching component oracle.sysman.agent, 10.2.0.4.5...
852
853Patching component oracle.rdbms.rsf, 11.2.0.4.0...
854
855Patching component oracle.rdbms.rman, 11.2.0.4.0...
856
857Patching component oracle.rdbms, 11.2.0.4.0...
858Applying sub-patch '21948347' to OH '/u01/app/oracle/product/11.2.0/db'
859ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
860
861Patching component oracle.sysman.agent, 10.2.0.4.5...
862
863Patching component oracle.ovm, 11.2.0.4.0...
864
865Patching component oracle.xdk, 11.2.0.4.0...
866
867Patching component oracle.rdbms, 11.2.0.4.0...
868
869Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...
870
871Patching component oracle.xdk.parser.java, 11.2.0.4.0...
872
873Patching component oracle.sysman.console.db, 11.2.0.4.0...
874
875Patching component oracle.xdk.rsf, 11.2.0.4.0...
876
877Patching component oracle.rdbms.rsf, 11.2.0.4.0...
878
879Patching component oracle.sysman.oms.core, 10.2.0.4.5...
880Applying sub-patch '22502456' to OH '/u01/app/oracle/product/11.2.0/db'
881ApplySession: Optional component(s) [ oracle.tfa, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
882
883Patching component oracle.precomp.common, 11.2.0.4.0...
884
885Patching component oracle.oraolap.dbscripts, 11.2.0.4.0...
886
887Patching component oracle.rdbms.olap, 11.2.0.4.0...
888
889Patching component oracle.oraolap, 11.2.0.4.0...
890
891Patching component oracle.rdbms.rsf, 11.2.0.4.0...
892
893Patching component oracle.rdbms.rman, 11.2.0.4.0...
894
895Patching component oracle.rdbms, 11.2.0.4.0...
896
897Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
898Applying sub-patch '23054359' to OH '/u01/app/oracle/product/11.2.0/db'
899
900Patching component oracle.rdbms.dv, 11.2.0.4.0...
901
902Patching component oracle.rdbms, 11.2.0.4.0...
903
904Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
905
906Patching component oracle.rdbms.rsf, 11.2.0.4.0...
907Applying sub-patch '24006111' to OH '/u01/app/oracle/product/11.2.0/db'
908
909Patching component oracle.sqlplus.ic, 11.2.0.4.0...
910
911Patching component oracle.sqlplus, 11.2.0.4.0...
912
913Patching component oracle.rdbms.rsf, 11.2.0.4.0...
914
915Patching component oracle.rdbms, 11.2.0.4.0...
916
917Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
918Applying sub-patch '24732075' to OH '/u01/app/oracle/product/11.2.0/db'
919
920Patching component oracle.precomp.common, 11.2.0.4.0...
921
922Patching component oracle.sysman.plugin.db.main.agent, 11.2.0.4.0...
923
924Patching component oracle.sqlplus.ic, 11.2.0.4.0...
925
926Patching component oracle.sqlplus, 11.2.0.4.0...
927
928Patching component oracle.rdbms.rsf, 11.2.0.4.0...
929
930Patching component oracle.rdbms, 11.2.0.4.0...
931
932Patching component oracle.rdbms.util, 11.2.0.4.0...
933
934Patching component oracle.ordim.client, 11.2.0.4.0...
935
936Patching component oracle.ordim.jai, 11.2.0.4.0...
937
938Patching component oracle.ordim.server, 11.2.0.4.0...
939Applying sub-patch '25869727' to OH '/u01/app/oracle/product/11.2.0/db'
940ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
941
942Patching component oracle.ldap.rsf, 11.2.0.4.0...
943
944Patching component oracle.oracore.rsf, 11.2.0.4.0...
945
946Patching component oracle.rdbms, 11.2.0.4.0...
947
948Patching component oracle.rdbms.rsf, 11.2.0.4.0...
949
950Patching component oracle.rdbms.rman, 11.2.0.4.0...
951Applying sub-patch '26609445' to OH '/u01/app/oracle/product/11.2.0/db'
952
953Patching component oracle.oracore.rsf, 11.2.0.4.0...
954
955Patching component oracle.rdbms, 11.2.0.4.0...
956Applying sub-patch '26392168' to OH '/u01/app/oracle/product/11.2.0/db'
957ApplySession: Optional component(s) [ oracle.oid.client, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
958
959Patching component oracle.network.rsf, 11.2.0.4.0...
960
961Patching component oracle.ldap.client, 11.2.0.4.0...
962
963Patching component oracle.sysman.agent, 10.2.0.4.5...
964
965Patching component oracle.xdk, 11.2.0.4.0...
966
967Patching component oracle.rdbms, 11.2.0.4.0...
968
969Patching component oracle.network.listener, 11.2.0.4.0...
970
971Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
972
973Patching component oracle.nlsrtl.rsf, 11.2.0.4.0...
974
975Patching component oracle.xdk.parser.java, 11.2.0.4.0...
976
977Patching component oracle.xdk.rsf, 11.2.0.4.0...
978
979Patching component oracle.rdbms.rsf, 11.2.0.4.0...
980
981Patching component oracle.rdbms.rman, 11.2.0.4.0...
982Applying sub-patch '26925576' to OH '/u01/app/oracle/product/11.2.0/db'
983
984Patching component oracle.rdbms, 11.2.0.4.0...
985
986Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
987
988Patching component oracle.rdbms.rman, 11.2.0.4.0...
989
990Patching component oracle.rdbms.rsf, 11.2.0.4.0...
991Applying sub-patch '27338049' to OH '/u01/app/oracle/product/11.2.0/db'
992
993Patching component oracle.assistants.server, 11.2.0.4.0...
994
995Patching component oracle.rdbms.rsf, 11.2.0.4.0...
996
997Patching component oracle.rdbms, 11.2.0.4.0...
998
999Patching component oracle.rdbms.rman, 11.2.0.4.0...
1000
1001Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1002Applying sub-patch '27734982' to OH '/u01/app/oracle/product/11.2.0/db'
1003
1004Patching component oracle.ctx, 11.2.0.4.0...
1005
1006Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1007
1008Patching component oracle.ctx.rsf, 11.2.0.4.0...
1009
1010Patching component oracle.rdbms, 11.2.0.4.0...
1011
1012Patching component oracle.rdbms.rman, 11.2.0.4.0...
1013Applying sub-patch '28204707' to OH '/u01/app/oracle/product/11.2.0/db'
1014Applying changes to emctl script on the home: /u01/app/oracle/product/11.2.0/db ...
1015
1016Patching component oracle.rdbms, 11.2.0.4.0...
1017
1018Patching component oracle.oracore.rsf, 11.2.0.4.0...
1019
1020Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1021
1022Patching component oracle.ldap.rsf, 11.2.0.4.0...
1023
1024Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1025
1026Patching component oracle.network.rsf, 11.2.0.4.0...
1027
1028Patching component oracle.sysman.agent, 10.2.0.4.5...
1029
1030Patching component oracle.sysman.console.db, 11.2.0.4.0...
1031
1032Patching component oracle.ldap.security.osdt, 11.2.0.4.0...
1033
1034Patching component oracle.ldap.owm, 11.2.0.4.0...
1035
1036Patching component oracle.sqlplus.rsf, 11.2.0.4.0...
1037
1038Patching component oracle.ctx, 11.2.0.4.0...
1039Applying sub-patch '28729262' to OH '/u01/app/oracle/product/11.2.0/db'
1040INFO: Script isn't applicable to this port!
1041
1042Patching component oracle.rdbms, 11.2.0.4.0...
1043
1044Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1045
1046Patching component oracle.rdbms.util, 11.2.0.4.0...
1047
1048Patching component oracle.ldap.rsf, 11.2.0.4.0...
1049
1050Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1051
1052Patching component oracle.network.rsf, 11.2.0.4.0...
1053
1054Patching component oracle.rdbms.rman, 11.2.0.4.0...
1055
1056Patching component oracle.ctx, 11.2.0.4.0...
1057Applying sub-patch '29141056' to OH '/u01/app/oracle/product/11.2.0/db'
1058
1059Patching component oracle.rdbms, 11.2.0.4.0...
1060
1061Patching component oracle.rdbms.rman, 11.2.0.4.0...
1062
1063Patching component oracle.oracore.rsf, 11.2.0.4.0...
1064
1065Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1066
1067Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1068Applying sub-patch '29497421' to OH '/u01/app/oracle/product/11.2.0/db'
1069
1070Patching component oracle.rdbms, 11.2.0.4.0...
1071
1072Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1073
1074Patching component oracle.rdbms.rman, 11.2.0.4.0...
1075
1076Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1077
1078Patching component oracle.ldap.rsf, 11.2.0.4.0...
1079
1080Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1081
1082Patching component oracle.oracore.rsf, 11.2.0.4.0...
1083
1084Patching component oracle.ctx, 11.2.0.4.0...
1085Applying sub-patch '29913194' to OH '/u01/app/oracle/product/11.2.0/db'
1086
1087Patching component oracle.rdbms, 11.2.0.4.0...
1088
1089Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1090
1091Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1092
1093Patching component oracle.network.rsf, 11.2.0.4.0...
1094
1095Patching component oracle.ldap.rsf, 11.2.0.4.0...
1096
1097Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1098
1099Patching component oracle.rdbms.util, 11.2.0.4.0...
1100Applying sub-patch '30298532' to OH '/u01/app/oracle/product/11.2.0/db'
1101ApplySession: 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.
1102
1103Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1104
1105Patching component oracle.rdbms, 11.2.0.4.0...
1106
1107Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1108
1109Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...
1110
1111Patching component oracle.ldap.rsf, 11.2.0.4.0...
1112
1113Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1114Applying sub-patch '30670774' to OH '/u01/app/oracle/product/11.2.0/db'
1115
1116Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1117
1118Patching component oracle.rdbms, 11.2.0.4.0...
1119
1120Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1121
1122Patching component oracle.network.rsf, 11.2.0.4.0...
1123
1124Patching component oracle.ldap.rsf, 11.2.0.4.0...
1125
1126Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1127
1128Patching component oracle.swd.oui, 11.2.0.4.0...
1129
1130Patching component oracle.ctx, 11.2.0.4.0...
1131Applying sub-patch '31103343' to OH '/u01/app/oracle/product/11.2.0/db'
1132
1133Patching component oracle.rdbms, 11.2.0.4.0...
1134
1135Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1136
1137Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1138Applying sub-patch '31537677' to OH '/u01/app/oracle/product/11.2.0/db'
1139
1140Patching component oracle.rdbms, 11.2.0.4.0...
1141
1142Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1143
1144Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1145
1146Patching component oracle.rdbms.dv, 11.2.0.4.0...
1147
1148Patching component oracle.rdbms.rman, 11.2.0.4.0...
1149
1150Patching component oracle.ldap.rsf, 11.2.0.4.0...
1151
1152Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1153
1154Patching component oracle.oracore.rsf, 11.2.0.4.0...
1155
1156Patching component oracle.rdbms.util, 11.2.0.4.0...
1157
1158Patching component oracle.dbdev, 11.2.0.4.0...
1159
1160Patching component oracle.ctx, 11.2.0.4.0...
1161
1162Patching component oracle.buildtools.rsf, 11.2.0.4.0...
1163Applying sub-patch '31983472' to OH '/u01/app/oracle/product/11.2.0/db'
1164
1165Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1166
1167Patching component oracle.rdbms, 11.2.0.4.0...
1168
1169Patching component oracle.ctx, 11.2.0.4.0...
1170Applying sub-patch '32328626' to OH '/u01/app/oracle/product/11.2.0/db'
1171
1172Patching component oracle.rdbms, 11.2.0.4.0...
1173
1174Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1175
1176Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1177
1178Patching component oracle.rdbms.dv, 11.2.0.4.0...
1179
1180Patching component oracle.rdbms.rman, 11.2.0.4.0...
1181
1182Patching component oracle.ldap.rsf, 11.2.0.4.0...
1183
1184Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1185Applying sub-patch '32758711' to OH '/u01/app/oracle/product/11.2.0/db'
1186
1187Patching component oracle.rdbms, 11.2.0.4.0...
1188
1189Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1190
1191Patching component oracle.ctx, 11.2.0.4.0...
1192
1193Patching component oracle.network.rsf, 11.2.0.4.0...
1194Applying sub-patch '33128584' to OH '/u01/app/oracle/product/11.2.0/db'
1195
1196Patching component oracle.rdbms, 11.2.0.4.0...
1197
1198Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1199
1200Patching component oracle.ctx, 11.2.0.4.0...
1201Applying sub-patch '33477185' to OH '/u01/app/oracle/product/11.2.0/db'
1202
1203Patching component oracle.rdbms, 11.2.0.4.0...
1204
1205Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1206
1207Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1208
1209Patching component oracle.network.rsf, 11.2.0.4.0...
1210
1211Patching component oracle.rdbms.dv, 11.2.0.4.0...
1212Applying sub-patch '33711103' to OH '/u01/app/oracle/product/11.2.0/db'
1213ApplySession: 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.
1214
1215Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1216
1217Patching component oracle.rdbms, 11.2.0.4.0...
1218
1219Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1220
1221Patching component oracle.network.rsf, 11.2.0.4.0...
1222
1223Patching component oracle.rdbms.hsodbc, 11.2.0.4.0...
1224
1225Patching component oracle.rdbms.hs_common, 11.2.0.4.0...
1226
1227Patching component oracle.buildtools.rsf, 11.2.0.4.0...
1228
1229Patching component oracle.buildtools.rsf, 11.2.0.4.0...
1230Applying sub-patch '34057724' to OH '/u01/app/oracle/product/11.2.0/db'
1231ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
1232
1233Patching component oracle.rdbms, 11.2.0.4.0...
1234
1235Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1236
1237Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1238
1239Patching component oracle.network.rsf, 11.2.0.4.0...
1240
1241Patching component oracle.ldap.rsf, 11.2.0.4.0...
1242
1243Patching component oracle.ldap.rsf.ic, 11.2.0.4.0...
1244
1245Patching component oracle.swd.oui.core, 11.2.0.4.0...
1246Applying sub-patch '34386237' to OH '/u01/app/oracle/product/11.2.0/db'
1247ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
1248
1249Patching component oracle.rdbms, 11.2.0.4.0...
1250
1251Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1252
1253Patching component oracle.network.rsf, 11.2.0.4.0...
1254
1255Patching component oracle.swd.oui.core, 11.2.0.4.0...
1256
1257Patching component oracle.ctx, 11.2.0.4.0...
1258Applying sub-patch '34677698' to OH '/u01/app/oracle/product/11.2.0/db'
1259ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
1260
1261Patching component oracle.rdbms, 11.2.0.4.0...
1262
1263Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1264
1265Patching component oracle.javavm.containers, 11.2.0.4.0...
1266Applying sub-patch '34998337' to OH '/u01/app/oracle/product/11.2.0/db'
1267ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
1268
1269Patching component oracle.rdbms, 11.2.0.4.0...
1270
1271Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1272Applying sub-patch '35269283' to OH '/u01/app/oracle/product/11.2.0/db'
1273ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
1274
1275Patching component oracle.rdbms, 11.2.0.4.0...
1276
1277Patching component oracle.network.rsf, 11.2.0.4.0...
1278
1279Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1280
1281Patching component oracle.dbdev, 11.2.0.4.0...
1282Applying sub-patch '35574075' to OH '/u01/app/oracle/product/11.2.0/db'
1283ApplySession: Optional component(s) [ oracle.network.cman, 11.2.0.4.0 ] not present in the Oracle Home or a higher version is found.
1284
1285Patching component oracle.rdbms, 11.2.0.4.0...
1286
1287Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1288
1289Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1290
1291Patching component oracle.network.rsf, 11.2.0.4.0...
1292
1293Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1294
1295Patching component oracle.sysman.oms.core, 10.2.0.4.5...
1296
1297Patching component oracle.marvel, 11.2.0.4.0...
1298
1299Patching component oracle.javavm.containers, 11.2.0.4.0...
1300
1301Patching component oracle.dbjava.ucp, 11.2.0.4.0...
1302
1303Patching component oracle.owb.rsf, 11.2.0.4.0...
1304
1305Patching component oracle.sysman.ccr, 10.3.8.1.0...
1306
1307Patching component oracle.sysman.ccr.client, 10.3.2.1.0...
1308
1309Patching component oracle.sysman.common, 10.2.0.4.5...
1310
1311Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1312
1313Patching component oracle.javavm.containers, 11.2.0.4.0...
1314Composite patch 35574075 successfully applied.
1315Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_15-50-36PM_1.log
1316
1317OPatch succeeded.
1318
1319#==============================================================#
1320Oracle 软件安装补丁 33991024
1321#==============================================================#
1322
1323Oracle Interim Patch Installer version 11.2.0.3.44
1324Copyright (c) 2024, Oracle Corporation. All rights reserved.
1325
1326PREREQ session
1327
1328Oracle Home : /u01/app/oracle/product/11.2.0/db
1329Central Inventory : /u01/app/oraInventory
1330 from : /u01/app/oracle/product/11.2.0/db/oraInst.loc
1331OPatch version : 11.2.0.3.44
1332OUI version : 11.2.0.4.0
1333Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-06-56PM_1.log
1334
1335Invoking prereq "checkconflictagainstohwithdetail"
1336
1337Prereq "checkConflictAgainstOHWithDetail" passed.
1338
1339OPatch succeeded.
1340Oracle Interim Patch Installer version 11.2.0.3.44
1341Copyright (c) 2024, Oracle Corporation. All rights reserved.
1342
1343
1344Oracle Home : /u01/app/oracle/product/11.2.0/db
1345Central Inventory : /u01/app/oraInventory
1346 from : /u01/app/oracle/product/11.2.0/db/oraInst.loc
1347OPatch version : 11.2.0.3.44
1348OUI version : 11.2.0.4.0
1349Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-06-59PM_1.log
1350
1351Verifying environment and performing prerequisite checks...
1352OPatch continues with these patches: 33991024
1353
1354Do you want to proceed? [y|n]
1355Y (auto-answered by -silent)
1356User Responded with: Y
1357All checks passed.
1358
1359Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
1360(Oracle Home = '/u01/app/oracle/product/11.2.0/db')
1361
1362
1363Is the local system ready for patching? [y|n]
1364Y (auto-answered by -silent)
1365User Responded with: Y
1366Backing up files...
1367Applying interim patch '33991024' to OH '/u01/app/oracle/product/11.2.0/db'
1368
1369Patching component oracle.rdbms.rsf, 11.2.0.4.0...
1370
1371Patching component oracle.buildtools.rsf, 11.2.0.4.0...
1372
1373Patching component oracle.has.db, 11.2.0.4.0...
1374Patch 33991024 successfully applied.
1375Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-06-59PM_1.log
1376
1377OPatch succeeded.
1378
1379Oracle 执行 relink:
1380
1381writing relink log to: /u01/app/oracle/product/11.2.0/db/install/relink.log
1382
1383#==============================================================#
1384OJVM 补丁安装
1385#==============================================================#
1386
1387Oracle Interim Patch Installer version 11.2.0.3.44
1388Copyright (c) 2024, Oracle Corporation. All rights reserved.
1389
1390PREREQ session
1391
1392Oracle Home : /u01/app/oracle/product/11.2.0/db
1393Central Inventory : /u01/app/oraInventory
1394 from : /u01/app/oracle/product/11.2.0/db/oraInst.loc
1395OPatch version : 11.2.0.3.44
1396OUI version : 11.2.0.4.0
1397Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-09-01PM_1.log
1398
1399Invoking prereq "checkconflictagainstohwithdetail"
1400
1401Prereq "checkConflictAgainstOHWithDetail" passed.
1402
1403OPatch succeeded.
1404Oracle Interim Patch Installer version 11.2.0.3.44
1405Copyright (c) 2024, Oracle Corporation. All rights reserved.
1406
1407
1408Oracle Home : /u01/app/oracle/product/11.2.0/db
1409Central Inventory : /u01/app/oraInventory
1410 from : /u01/app/oracle/product/11.2.0/db/oraInst.loc
1411OPatch version : 11.2.0.3.44
1412OUI version : 11.2.0.4.0
1413Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-09-04PM_1.log
1414
1415Verifying environment and performing prerequisite checks...
1416OPatch continues with these patches: 35685663
1417
1418Do you want to proceed? [y|n]
1419Y (auto-answered by -silent)
1420User Responded with: Y
1421All checks passed.
1422
1423Please shutdown Oracle instances running out of this ORACLE_HOME on the local system.
1424(Oracle Home = '/u01/app/oracle/product/11.2.0/db')
1425
1426
1427Is the local system ready for patching? [y|n]
1428Y (auto-answered by -silent)
1429User Responded with: Y
1430Backing up files...
1431Applying interim patch '35685663' to OH '/u01/app/oracle/product/11.2.0/db'
1432ApplySession: 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.
1433
1434Patching component oracle.javavm.server, 11.2.0.4.0...
1435
1436Patching component oracle.precomp.common, 11.2.0.4.0...
1437
1438Patching component oracle.rdbms, 11.2.0.4.0...
1439
1440Patching component oracle.rdbms.dbscripts, 11.2.0.4.0...
1441
1442Patching component oracle.javavm.client, 11.2.0.4.0...
1443
1444Patching component oracle.dbjava.jdbc, 11.2.0.4.0...
1445
1446Patching component oracle.dbjava.ic, 11.2.0.4.0...
1447Patch 35685663 successfully applied.
1448Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2024-03-29_16-09-04PM_1.log
1449
1450OPatch succeeded.
1451
1452#==============================================================#
1453Oracle 软件版本
1454#==============================================================#
1455
1456
1457SQL*Plus: Release 11.2.0.4.0 Production
1458
1459
1460#==============================================================#
1461Oracle 补丁信息
1462#==============================================================#
1463
146435685663;OJVM PATCH SET UPDATE 11.2.0.4.231017
146533991024;11204CERT ON OL8: LINKING ERRORS DURING 11204 FOR DB INSTALL ON OL8.2
146635574075;Database Patch Set Update : 11.2.0.4.231017 (35574075)
1467
1468OPatch succeeded.
1469
1470
1471#==============================================================#
1472静默建库命令:lucifer
1473#==============================================================#
1474
1475dbca -silent -createDatabase \
1476-templateName General_Purpose.dbc \
1477-responseFile NO_VALUE \
1478-gdbname lucifer \
1479-sid lucifer \
1480-sysPassword oracle \
1481-systemPassword oracle \
1482-redoLogFileSize 100 \
1483-diskGroupName DATA \
1484-storageType ASM \
1485-characterSet AL32UTF8 \
1486-nationalCharacterSet AL16UTF16 \
1487-emConfiguration NONE \
1488-automaticMemoryManagement false \
1489-totalMemory 3716 \
1490-databaseType OLTP
1491
1492#==============================================================#
1493创建数据库实例:lucifer
1494#==============================================================#
1495
1496Copying database files
14971% complete
14983% complete
149910% complete
150017% complete
150124% complete
150231% complete
150335% complete
1504Creating and starting Oracle instance
150537% complete
150642% complete
150747% complete
150852% complete
150953% complete
151056% complete
151158% complete
1512Registering database with Oracle Restart
151364% complete
1514Completing Database Creation
151568% complete
151671% complete
151775% complete
151876% complete
151977% complete
152078% complete
152179% complete
152280% complete
152381% complete
152482% complete
152592% complete
1526100% complete
1527Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/lucifer/lucifer.log" for further details.
1528
1529#==============================================================#
1530配置 OMF && 优化 RMAN
1531#==============================================================#
1532
1533
1534Recovery Manager: Release 11.2.0.4.0 - Production on Fri Mar 29 16:25:42 2024
1535
1536Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved.
1537
1538connected to target database: LUCIFER (DBID=4020786356)
1539
1540RMAN>
1541using target database control file instead of recovery catalog
1542new RMAN configuration parameters:
1543CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATA/snapcf_fdcdb1.f';
1544new RMAN configuration parameters are successfully stored
1545
1546RMAN>
1547RMAN configuration parameters for database with db_unique_name LUCIFER are:
1548CONFIGURE SNAPSHOT CONTROLFILE NAME TO '+DATA/snapcf_fdcdb1.f';
1549
1550RMAN>
1551
1552Recovery Manager complete.
1553
1554NAME TYPE VALUE
1555------------------------------------ ----------- ------------------------------
1556db_create_file_dest string +DATA
1557
1558#==============================================================#
1559配置 Oracle 数据库控制文件复用
1560#==============================================================#
1561
1562
1563数据库控制文件:
1564
1565
1566NAME
1567----------------------------------------------------------------------------------------------------
1568+DATA/lucifer/controlfile/current.262.1164903093
1569+DATA/lucifer/controlfile/current.261.1164903093
1570
1571#==============================================================#
1572配置在线重做日志
1573#==============================================================#
1574
1575数据库在线重做日志文件:
1576
1577
1578 THREAD# GROUP# MEMBER size(M)
1579---------- ---------- ------------------------------------------------------------------------------------------------------------------------ ----------
1580 1 1 +DATA/lucifer/onlinelog/group_1.263.1164903097 100
1581 1 1 +DATA/lucifer/onlinelog/group_1.264.1164903103 100
1582 1 2 +DATA/lucifer/onlinelog/group_2.265.1164903105 100
1583 1 2 +DATA/lucifer/onlinelog/group_2.266.1164903107 100
1584 1 3 +DATA/lucifer/onlinelog/group_3.267.1164903109 100
1585 1 3 +DATA/lucifer/onlinelog/group_3.268.1164903111 100
1586 1 11 +DATA/lucifer/onlinelog/group_11.271.1164903945 100
1587 1 11 +DATA/lucifer/onlinelog/group_11.272.1164903949 100
1588 1 12 +DATA/lucifer/onlinelog/group_12.273.1164903951 100
1589 1 12 +DATA/lucifer/onlinelog/group_12.274.1164903953 100
1590 1 13 +DATA/lucifer/onlinelog/group_13.275.1164903957 100
1591 1 13 +DATA/lucifer/onlinelog/group_13.276.1164903957 100
1592 1 14 +DATA/lucifer/onlinelog/group_14.277.1164903961 100
1593 1 14 +DATA/lucifer/onlinelog/group_14.278.1164903963 100
1594 1 15 +DATA/lucifer/onlinelog/group_15.279.1164903963 100
1595 1 15 +DATA/lucifer/onlinelog/group_15.280.1164903965 100
1596
1597#==============================================================#
1598配置 Oracle 数据库开机自启
1599#==============================================================#
1600
1601
1602#==============================================================#
1603配置 RMAN 备份任务
1604#==============================================================#
1605
1606## OracleBegin
160700 02 * * * /home/oracle/scripts/del_arch_lucifer.sh
1608#00 00 * * 0 /home/oracle/scripts/dbbackup_lv0_lucifer.sh
1609#00 00 * * 1,2,3,4,5,6 /home/oracle/scripts/dbbackup_lv1_lucifer.sh
1610
1611#==============================================================#
1612优化数据库参数
1613#==============================================================#
1614
1615数据库参数:
1616
1617
1618NAME SID SPVALUE VALUE
1619-------------------------------------------------- ---------- -------------------------------------------------------------------------------- --------------------------------------------------------------------------------
1620_b_tree_bitmap_plans * FALSE FALSE
1621_datafile_write_errors_crash_instance * FALSE FALSE
1622audit_file_dest * /u01/app/oracle/admin/lucifer/adump /u01/app/oracle/admin/lucifer/adump
1623audit_trail * NONE DB
1624compatible * 11.2.0.4.0 11.2.0.4.0
1625control_file_record_keep_time * 31 31
1626db_block_size * 8192 8192
1627db_create_file_dest * +DATA +DATA
1628db_file_multiblock_read_count * 128
1629db_files * 5000 200
1630db_name * lucifer lucifer
1631db_recovery_file_dest * +DATA +DATA
1632db_recovery_file_dest_size * 4857004032 4857004032
1633db_writer_processes * 1
1634deferred_segment_creation * FALSE FALSE
1635diagnostic_dest * /u01/app/oracle /u01/app/oracle
1636dispatchers * (PROTOCOL=TCP) (SERVICE=luciferXDB) (PROTOCOL=TCP) (SERVICE=luciferXDB)
1637enable_ddl_logging * TRUE FALSE
1638event * 10949 trace name context forever,level 1
1639event * 28401 trace name context forever,level 1
1640fast_start_parallel_rollback * LOW
1641log_archive_dest_1 * location=+DATA location=+DATA
1642log_archive_format * %t_%s_%r.dbf %t_%s_%r.dbf
1643max_dump_file_size * unlimited
1644open_cursors * 1000 300
1645optimizer_index_caching * 0
1646optimizer_mode * ALL_ROWS
1647parallel_force_local * FALSE
1648parallel_max_servers * 64 64
1649pga_aggregate_target * 1246756864 779091968
1650processes * 2000 150
1651remote_login_passwordfile * EXCLUSIVE EXCLUSIVE
1652resource_limit * TRUE FALSE
1653resource_manager_plan * force:
1654sec_case_sensitive_logon * FALSE TRUE
1655session_cached_cursors * 300 50
1656sessions * 248
1657sga_max_size * 4988076032 3120562176
1658sga_target * 4988076032 3120562176
1659spfile * +DATA/lucifer/spfilelucifer.ora
1660statistics_level * TYPICAL
1661undo_retention * 10800 900
1662
1663#==============================================================#
1664配置 glogin.sql
1665#==============================================================#
1666
1667define _editor=vi
1668set serveroutput on size 1000000
1669set pagesize 9999
1670set long 99999
1671set trimspool on
1672col name format a80
1673set termout off
1674define gname=idle
1675column global_name new_value gname
1676select 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 );
1677ALTER SESSION SET nls_date_format = 'YYYY-MM-DD HH24:MI:SS';
1678set sqlprompt '&gname _DATE> '
1679set termout on