1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205
| [root@lucifer soft]# ./OracleShellInstall -lf enp0s5 `# local ip ifname`\ > -n lucifer `# hostname`\ > -op oracle `# oracle password`\ > -d /u01 `# software base dir`\ > -ord /oradata `# data dir`\ -dp oracle `# sys/system password`\ -ds AL32UTF8 `# database character`\ -ns UTF8 `# national character`\ -redo 100 `# redo size`\ -opa 33477185 `# oracle PSU/RU`\ -opd Y `# optimize db`> -o oradb `# dbname`\ > -dp oracle `# sys/system password`\ > -ds AL32UTF8 `# database character`\ > -ns UTF8 `# national character`\ > -redo 100 `# redo size`\ > -opa 33477185 `# oracle PSU/RU`\ > -opd Y `# optimize db`
请选择安装模式 [单机(si)/集群(rac)] : si
数据库安装模式: single
请选择数据库版本 [11/12/19/21] : 11
数据库版本: 11
配置本地 YUM 源
[BaseOS] name=BaseOS baseurl=file:///mnt/BaseOS enabled=1 gpgcheck=0 [AppStream] name=AppStream baseurl=file:///mnt/AppStream enabled=1 gpgcheck=0
禁用防火墙
● 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)
Feb 27 10:22:31 lucifer systemd[1]: Starting firewalld - dynamic firewall daemon... Feb 27 10:22:32 lucifer systemd[1]: Started firewalld - dynamic firewall daemon. Feb 27 10:22:33 lucifer firewalld[973]: WARNING: AllowZoneDrifting is enabled. This is considered an insecure configuration option. It will be removed in a future release. Please consider disabling it now. Feb 27 11:00:48 lucifer systemd[1]: Stopping firewalld - dynamic firewall daemon... Feb 27 11:00:48 lucifer systemd[1]: firewalld.service: Succeeded. Feb 27 11:00:48 lucifer systemd[1]: Stopped firewalld - dynamic firewall daemon.
禁用 SELinux
SELINUX=disabled SELINUXTYPE=targeted
YUM 静默安装依赖包
warning: rpmdb: BDB2053 Freeing read locks for locker 0xae: 1765/140054324559808 warning: rpmdb: BDB2053 Freeing read locks for locker 0xb0: 1765/140054324559808 bc-1.07.1-5.el8.x86_64 binutils-2.30-93.el8.x86_64 package compat-libcap1 is not installed package compat-libstdc++-33 is not installed gcc-8.4.1-1.el8.x86_64 gcc-c++-8.4.1-1.el8.x86_64 elfutils-libelf-0.182-3.el8.x86_64 elfutils-libelf-devel-0.182-3.el8.x86_64 glibc-2.28-151.el8.x86_64 glibc-devel-2.28-151.el8.x86_64 libaio-0.3.112-1.el8.x86_64 libaio-devel-0.3.112-1.el8.x86_64 libgcc-8.4.1-1.el8.x86_64 libstdc++-8.4.1-1.el8.x86_64 libstdc++-devel-8.4.1-1.el8.x86_64 libxcb-1.13.1-1.el8.x86_64 libX11-1.6.8-4.el8.x86_64 libXau-1.0.9-3.el8.x86_64 libXi-1.7.10-1.el8.x86_64 libXrender-0.9.10-7.el8.x86_64 make-4.2.1-10.el8.x86_64 net-tools-2.0-0.52.20160912git.el8.x86_64 smartmontools-7.1-1.el8.x86_64 sysstat-11.7.3-5.el8.x86_64 e2fsprogs-1.45.6-1.el8.x86_64 e2fsprogs-libs-1.45.6-1.el8.x86_64 unzip-6.0-44.el8.x86_64 openssh-clients-8.0p1-5.el8.x86_64 readline-7.0-10.el8.x86_64 readline-devel-7.0-10.el8.x86_64 psmisc-23.1-5.el8.x86_64 ksh-20120801-254.el8.x86_64 nfs-utils-2.3.3-41.el8.x86_64 tar-1.30-5.el8.x86_64 device-mapper-multipath-0.8.4-10.el8.x86_64 avahi-0.7-20.el8.x86_64 package ntp is not installed chrony-3.5-2.el8.x86_64 libXtst-1.2.3-7.el8.x86_64 libXrender-devel-0.9.10-7.el8.x86_64 fontconfig-devel-2.13.1-3.el8.x86_64 policycoreutils-2.9-14.el8.x86_64 package policycoreutils-python is not installed policycoreutils-python-utils-2.9-14.el8.noarch librdmacm-32.0-4.el8.x86_64 package libnsl* is not installed libibverbs-32.0-4.el8.x86_64 package compat-openssl10) is not installed
配置主机名
lucifer
配置 /etc/hosts 文件
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.211.55.200 lucifer
创建用户和组
oracle 用户:
uid=54321(oracle) gid=54321(oinstall) groups=54321(oinstall),54322(dba),54323(oper),54324(backupdba),54325(dgdba),54326(kmdba),54330(racdba)
配置 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)
Feb 27 10:22:36 lucifer avahi-daemon[923]: Registering new address record for fdb2:2c26:f4e4:0:21c:42ff:febd:df2a on enp0s5.*. Feb 27 10:22:36 lucifer avahi-daemon[923]: Withdrawing address record for fe80::21c:42ff:febd:df2a on enp0s5. Feb 27 11:01:38 lucifer systemd[1]: Stopping Avahi mDNS/DNS-SD Stack... Feb 27 11:01:38 lucifer avahi-daemon[923]: Got SIGTERM, quitting. Feb 27 11:01:38 lucifer avahi-daemon[923]: Leaving mDNS multicast group on interface virbr0.IPv4 with address 192.168.122.1. Feb 27 11:01:38 lucifer avahi-daemon[923]: Leaving mDNS multicast group on interface enp0s5.IPv6 with address fdb2:2c26:f4e4:0:21c:42ff:febd:df2a. Feb 27 11:01:38 lucifer avahi-daemon[923]: Leaving mDNS multicast group on interface enp0s5.IPv4 with address 10.211.55.200. Feb 27 11:01:38 lucifer avahi-daemon[923]: avahi-daemon 0.7 exiting. Feb 27 11:01:38 lucifer systemd[1]: avahi-daemon.service: Succeeded. Feb 27 11:01:38 lucifer systemd[1]: Stopped Avahi mDNS/DNS-SD Stack.
配置透明大页 && NUMA && 磁盘 IO 调度器
args="ro resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet numa=off transparent_hugepage=never elevator=deadline $tuned_params" -resume=/dev/mapper/rhel-swap -args="ro args="ro resume=/dev/mapper/rhel-swap rd.lvm.lv=rhel/root rd.lvm.lv=rhel/swap rhgb quiet numa=off transparent_hugepage=never elevator=deadline" -elevator=deadline" -transparent_hugepage=never
配置 sysctl.conf
fs.aio-max-nr = 1048576 fs.file-max = 6815744 kernel.shmall = 2097152 kernel.shmmax = 8341315583 kernel.shmmni = 4096 kernel.sem = 250 32000 100 128 net.ipv4.ip_local_port_range = 9000 65500 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 vm.min_free_kbytes = 32583 net.ipv4.conf.enp0s5.rp_filter = 1 kernel.numa_balancing = 0
配置 nsysctl.conf
NOZEROCONF=yes
配置 RemoveIPC
[Login] RemoveIPC=no
配置 /etc/security/limits.conf 和 /etc/pam.d/login
查看 /etc/security/limits.conf
oracle soft nofile 1024 oracle hard nofile 65536 oracle soft stack 10240 oracle hard stack 32768 oracle soft nproc 2047 oracle hard nproc 16384 oracle hard memlock unlimited oracle soft memlock unlimited
查看 /etc/pam.d/login 文件
auth substack system-auth auth include postlogin account required pam_nologin.so account include system-auth password include system-auth session required pam_selinux.so close session required pam_loginuid.so session optional pam_console.so session required pam_selinux.so open session required pam_namespace.so session optional pam_keyinit.so force revoke session include system-auth session include postlogin -session optional pam_ck_connector.so session required pam_limits.so session required /lib64/security/pam_limits.so
配置 /dev/shm
/dev/mapper/rhel-root / xfs defaults 0 0 UUID=0c121be3-34c3-4736-a637-2264c24706a7 /boot xfs defaults 0 0 /dev/mapper/rhel-swap none swap defaults 0 0 tmpfs /dev/shm tmpfs size=8145816k 0 0
安装 rlwrap
成功安装 rlwrap: rlwrap 0.42
Root 用户环境变量
if [ -f ~/.bashrc ]; then . ~/.bashrc fi PATH=$PATH:$HOME/bin export PATH alias so='su - oracle' export PS1="[`whoami`@`hostname`:"'\w]# '
Oracle 用户环境变量
if [ -f ~/.bashrc ]; then . ~/.bashrc fi umask 022 export TMP=/tmp export TMPDIR=$TMP export NLS_LANG=AMERICAN_AMERICA.AL32UTF8 export ORACLE_BASE=/u01/app/oracle export ORACLE_HOME=/u01/app/oracle/product/11.2.0/db export ORACLE_TERM=xterm export TNS_ADMIN=$ORACLE_HOME/network/admin export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib export ORACLE_SID=oradb export PATH=/usr/sbin:$PATH export PATH=$ORACLE_HOME/bin:$ORACLE_HOME/OPatch:$ORACLE_HOME/perl/bin:$PATH export PERL5LIB=$ORACLE_HOME/perl/lib alias 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`:"'\w]$ ' export CV_ASSUME_DISTID=OL7 alias sqlplus='rlwrap sqlplus' alias rman='rlwrap rman' alias adrci='rlwrap adrci'
静默解压 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/p33477185_112040_Linux-x86-64.zip
静默解压 Oracle 软件补丁包:p33991024_11204220118_Generic.zip
Oracle 安装静默文件
oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=oinstall INVENTORY_LOCATION=/u01/app/oraInventory ORACLE_BASE=/u01/app/oracle oracle.install.db.InstallEdition=EE oracle.install.db.DBA_GROUP=dba oracle.install.db.OPER_GROUP=oper oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v11_2_0 SELECTED_LANGUAGES=en,zh_CN ORACLE_HOME=/u01/app/oracle/product/11.2.0/db DECLINE_SECURITY_UPDATES=true oracle.installer.autoupdates.option=SKIP_UPDATES
静默安装数据库软件
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 120 MB. Actual 44363 MB Passed Checking swap space: must be greater than 150 MB. Actual 8187 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2023-02-27_11-02-50AM. Please wait ...You can find the log of this install session at: /u01/app/oraInventory/logs/installActions2023-02-27_11-02-50AM.log
Prepare in progress. .................................................. 9% Done.
Prepare successful.
Copy files in progress. .................................................. 14% Done. .................................................. 20% Done. .................................................. 26% Done. .................................................. 31% Done. .................................................. 36% Done. .................................................. 41% Done. .................................................. 47% Done. .................................................. 52% Done. .................................................. 57% Done. .................................................. 63% Done. .................................................. 68% Done. .................................................. 73% Done. .................................................. 78% Done. .................................................. 83% Done. .............................. Copy files successful.
Link binaries in progress. .......... Link binaries successful.
Setup files in progress. .................................................. 88% Done. .................................................. 94% Done.
Setup files successful. The installation of Oracle Database 11g was successful. Please check '/u01/app/oraInventory/logs/silentInstall2023-02-27_11-02-50AM.log' for more details.
Execute Root Scripts in progress.
As a root user, execute the following script(s): 1. /u01/app/oraInventory/orainstRoot.sh 2. /u01/app/oracle/product/11.2.0/db/root.sh
.................................................. 100% Done.
Execute Root Scripts successful. Successfully Setup Software.
执行 root 脚本
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_lucifer_2023-02-27_11-04-41.log for the output of root script
Oracle 软件安装补丁
Oracle Interim Patch Installer version 11.2.0.3.41 Copyright (c) 2023, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/db Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.loc OPatch version : 11.2.0.3.41 OUI version : 11.2.0.4.0 Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2023-02-27_11-04-44AM_1.log
Verifying 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
Do you want to proceed? [y|n] Y (auto-answered by -silent) User Responded with: Y All 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: Y Backing 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, 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... Composite patch 33477185 successfully applied. Log file location: /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2023-02-27_11-04-44AM_1.log
OPatch succeeded.
#==============================================================# Oracle 软件安装补丁 33991024 #==============================================================#
Oracle Interim Patch Installer version 11.2.0.3.41 Copyright (c) 2023, Oracle Corporation. All rights reserved.
Oracle Home : /u01/app/oracle/product/11.2.0/db Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/11.2.0/db/oraInst.loc OPatch version : 11.2.0.3.41 OUI version : 11.2.0.4.0 Log file location : /u01/app/oracle/product/11.2.0/db/cfgtoollogs/opatch/opatch2023-02-27_11-06-58AM_1.log
Verifying 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: Y All 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: Y Backing 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/opatch2023-02-27_11-06-58AM_1.log
OPatch succeeded.
#==============================================================# Oracle 执行 relink #==============================================================#
writing relink log to: /u01/app/oracle/product/11.2.0/db/install/relink.log
#==============================================================# Oracle 软件版本 #==============================================================#
SQL*Plus: Release 11.2.0.4.0 Production
#==============================================================# OPatch 补丁信息 #==============================================================#
33991024;11204CERT ON OL8: LINKING ERRORS DURING 11204 FOR DB INSTALL ON OL8.2 33477185;Database Patch Set Update : 11.2.0.4.220118 (33477185)
OPatch succeeded.
#==============================================================# 配置监听 #==============================================================#
Parsing command line arguments: Parameter "silent" = true Parameter "responsefile" = /u01/app/oracle/product/11.2.0/db/assistants/netca/netca.rsp Done parsing command line arguments. Oracle Net Services Configuration: Profile configuration complete. Oracle Net Listener Startup: Running Listener Control: /u01/app/oracle/product/11.2.0/db/bin/lsnrctl start LISTENER Listener Control complete. Listener started successfully. Listener configuration complete. Oracle Net Services configuration successful. The exit code is 0
检查监听状态:
LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 27-FEB-2023 11:07:35
Copyright (c) 1991, 2013, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521))) STATUS of the LISTENER ------------------------ Alias LISTENER Version TNSLSNR for Linux: Version 11.2.0.4.0 - Production Start Date 27-FEB-2023 11:07:34 Uptime 0 days 0 hr. 0 min. 0 sec Trace Level off Security ON: Local OS Authentication SNMP OFF Listener Parameter File /u01/app/oracle/product/11.2.0/db/network/admin/listener.ora Listener Log File /u01/app/oracle/diag/tnslsnr/lucifer/listener/alert/log.xml Listening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521))) (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=lucifer)(PORT=1521))) The listener supports no services The command completed successfully
#==============================================================# 创建数据库 #==============================================================#
Copying database files 1% complete 3% complete 11% complete 18% complete 37% complete Creating and starting Oracle instance 40% complete 45% complete 50% complete 55% complete 56% complete 60% complete 62% complete Completing Database Creation 66% complete 70% complete 73% complete 74% complete 75% complete 76% complete 77% complete 78% complete 79% complete 80% complete 92% complete 100% complete Look at the log file "/u01/app/oracle/cfgtoollogs/dbca/oradb/oradb.log" for further details.
#==============================================================# 配置在线重做日志 #==============================================================#
数据库在线重做日志文件:
THREAD# GROUP# MEMBER size(M) ---------- ---------- ------------------------------------------------------------ ---------- 1 3 /oradata/oradb/redo03.log 100 1 2 /oradata/oradb/redo02.log 100 1 1 /oradata/oradb/redo01.log 100 1 11 /oradata/ORADB/onlinelog/o1_mf_11_kzr7rf8s_.log 100 1 11 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_11_ 100 kzr7rfc6_.log
1 12 /oradata/ORADB/onlinelog/o1_mf_12_kzr7rffh_.log 100 1 15 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_15_ 100 kzr7rgfk_.log
1 13 /oradata/ORADB/onlinelog/o1_mf_13_kzr7rflm_.log 100 1 13 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_13_ 100 kzr7rfo2_.log
1 14 /oradata/ORADB/onlinelog/o1_mf_14_kzr7rfqx_.log 100 1 14 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_14_ 100 kzr7rfw9_.log
1 15 /oradata/ORADB/onlinelog/o1_mf_15_kzr7rfyv_.log 100 1 12 /u01/app/oracle/fast_recovery_area/ORADB/onlinelog/o1_mf_12_ 100 kzr7rfjb_.log
#==============================================================# 配置 RMAN 备份任务 #==============================================================#
## OracleBegin 00 02 * * * /home/oracle/scripts/del_arch.sh #00 00 * * 0 /home/oracle/scripts/dbbackup_lv0.sh #00 00 * * 1,2,3,4,5,6 /home/oracle/scripts/dbbackup_lv1.sh
#==============================================================# 配置 glogin.sql #==============================================================#
define _editor=vi set serveroutput on size 1000000 set pagesize 9999 set long 99999 set trimspool on col name format a80 set termout off col global_name new_value gname define gname=idle select 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
#==============================================================# 优化数据库参数 #==============================================================#
数据库参数:
NAME SID SPVALUE VALUE -------------------------------------------------- ---------- -------------------------------------------------- -------------------------------------------------- _b_tree_bitmap_plans * FALSE FALSE _datafile_write_errors_crash_instance * FALSE FALSE audit_file_dest * /u01/app/oracle/admin/oradb/adump /u01/app/oracle/admin/oradb/adump audit_trail * NONE DB compatible * 11.2.0.4.0 11.2.0.4.0 control_file_record_keep_time * 31 31 db_block_size * 8192 8192 db_create_file_dest * /oradata /oradata db_file_multiblock_read_count * 128 db_files * 5000 200 db_name * oradb oradb db_recovery_file_dest * /u01/app/oracle/fast_recovery_area /u01/app/oracle/fast_recovery_area db_recovery_file_dest_size * 4857004032 4857004032 db_writer_processes * 1 deferred_segment_creation * FALSE FALSE diagnostic_dest * /u01/app/oracle /u01/app/oracle dispatchers * (PROTOCOL=TCP) (SERVICE=oradbXDB) (PROTOCOL=TCP) (SERVICE=oradbXDB) enable_ddl_logging * TRUE FALSE event * 10949 trace name context forever,level 1 event * 28401 trace name context forever,level 1 fast_start_parallel_rollback * LOW log_archive_dest_1 * location=/oradata/archivelog location=/oradata/archivelog log_archive_format * %t_%s_%r.dbf %t_%s_%r.dbf max_dump_file_size * unlimited open_cursors * 1000 300 optimizer_index_caching * 0 optimizer_mode * ALL_ROWS parallel_force_local * FALSE parallel_max_servers * 64 64 pga_aggregate_target * 1333788672 1333788672 processes * 2000 150 remote_login_passwordfile * EXCLUSIVE EXCLUSIVE resource_limit * TRUE FALSE resource_manager_plan * force: sec_case_sensitive_logon * FALSE TRUE session_cached_cursors * 300 50 sessions * 248 sga_max_size * 5338300416 5351931904 sga_target * 5338300416 5351931904 spfile * /u01/app/oracle/product/11.2.0/db/dbs/spfileoradb. ora
statistics_level * TYPICAL undo_retention * 10800 900
恭喜!Oracle 单机安装成功,现在是否重启主机:[Y/N] y 正在重启 ......
|