Chi tiết cấu hình môi trường:
Phiên bản phần mềm OEM : Oracle Enterprise Manager Cloud Control 24ai Release 1 (24.1.0.0.0)
Hệ điều hành: Oracle Linux 8.10 64 bit
Hướng dẫn lắp đặt OEM 24ai từng bước:
Phần 1: Tải xuống phần mềm - Cài đặt hệ điều hành Virtual Box và Linux.
Phần 2: Cài đặt VirtualBox và Hệ điều hành (OEL 8.10 64 Bit).
Phần 3: Tạo cơ sở dữ liệu kho lưu trữ
Phần 4: Cài đặt OEM
Phần 5: Triển khai tác nhân OEM 24ai từ máy chủ OMS từng bước một
Phần 4: Cài đặt OEM
Bước 1: Tải xuống các tệp cài đặt OEM từ Oracle.
Bước 2: Chuyển các tệp cài đặt OEM sang máy chủ đích và giải nén các tệp cài đặt.
[oracle@oemdb oracle]$ id uid=1001(oracle) gid=1002(oinstall) groups=1002(oinstall),1003(dba) [oracle@oemdb ~]$ cd /u01/app/oracle [oracle@oemdb oracle]$ ls -ltr drwxr-xr-x. 3 oracle oinstall 20 Feb 27 11:45 product drwxr-xr-x 2 oracle oinstall 6 Feb 27 13:26 checkpoints drwxrwxr-x 23 oracle oinstall 4096 Feb 27 13:26 diag drwxr-x--- 3 oracle oinstall 17 Feb 27 14:12 admin drwxr-x--- 3 oracle oinstall 17 Feb 27 14:14 audit drwxr-x--- 5 oracle oinstall 47 Feb 27 14:14 cfgtoollogs Directory Structure Creation export OMS_HOME=/u01/app/oracle/middleware export AGENT_HOME=/u01/app/oracle/agent [oracle@oemdb oracle]$ mkdir middleware agent [oracle@oemdb oracle]$ ls -ltr drwxr-xr-x. 3 oracle oinstall 20 Feb 27 11:45 product drwxr-xr-x 2 oracle oinstall 6 Feb 27 13:26 checkpoints drwxrwxr-x 23 oracle oinstall 4096 Feb 27 13:26 diag drwxr-x--- 3 oracle oinstall 17 Feb 27 14:12 admin drwxr-x--- 3 oracle oinstall 17 Feb 27 14:14 audit drwxr-x--- 5 oracle oinstall 47 Feb 27 14:14 cfgtoollogs drwxr-xr-x 2 oracle oinstall 6 Mar 6 10:16 middleware drwxr-xr-x 2 oracle oinstall 6 Mar 6 10:16 agent [root@oemdb ~]# cd /media/sf_Softwares/OEM/OEM_24/ [root@oemdb OEM_24]# ls -ltr -rwxrwx--- 1 root vboxsf 1669545916 Feb 6 15:05 V1046955-01.zip -rwxrwx--- 1 root vboxsf 1921746284 Feb 6 15:06 V1046953-01.zip -rwxrwx--- 1 root vboxsf 1624006261 Feb 6 15:06 V1046951-01.zip -rwxrwx--- 1 root vboxsf 1532547469 Feb 6 15:08 V1046952-01.zip -rwxrwx--- 1 root vboxsf 1679195404 Feb 6 15:08 V1046954-01.zip [root@oemdb OEM_24]# cp V* /home/oracle/setup [root@oemdb setup]# chmod 777 * [root@oemdb setup]# ls -ltr -rwxrwxrwx 1 root root 1624006261 Mar 6 10:20 V1046951-01.zip -rwxrwxrwx 1 root root 1532547469 Mar 6 10:22 V1046952-01.zip -rwxrwxrwx 1 root root 1921746284 Mar 6 10:23 V1046953-01.zip -rwxrwxrwx 1 root root 1679195404 Mar 6 10:26 V1046954-01.zip -rwxrwxrwx 1 root root 1669545916 Mar 6 10:31 V1046955-01.zip Giair nén các file nén bằng user oracle. Sau khi giải nén xong thì xóa các file nén để tiết kiệm dung lượng [oracle@oemdb setup]$ id uid=1001(oracle) gid=1002(oinstall) groups=1002(oinstall),1003(dba) [oracle@oemdb setup]$ unzip V1046951-01.zip Archive: V1046951-01.zip inflating: em24100_linux64.bin [oracle@oemdb setup]$ unzip V1046952-01.zip Archive: V1046952-01.zip extracting: em24100_linux64-2.zip [oracle@oemdb setup]$ unzip V1046953-01.zip Archive: V1046953-01.zip extracting: em24100_linux64-3.zip [oracle@oemdb setup]$ unzip V1046954-01.zip Archive: V1046954-01.zip extracting: em24100_linux64-4.zip [oracle@oemdb setup]$ unzip V1046955-01.zip Archive: V1046955-01.zip extracting: em24100_linux64-5.zip [oracle@oemdb setup]$ ls -ltr -r--r--r-- 1 oracle oinstall 1532547277 Dec 5 15:50 em24100_linux64-2.zip -r--r--r-- 1 oracle oinstall 1921746092 Dec 5 15:50 em24100_linux64-3.zip -r--r--r-- 1 oracle oinstall 1669545724 Dec 5 15:52 em24100_linux64-5.zip -r-xr-xr-x 1 oracle oinstall 1624325096 Dec 5 15:53 em24100_linux64.bin -rwxrwxrwx 1 root root 1624006261 Mar 6 10:20 V1046951-01.zip -rwxrwxrwx 1 root root 1532547469 Mar 6 10:22 V1046952-01.zip -rwxrwxrwx 1 root root 1921746284 Mar 6 10:23 V1046953-01.zip -rwxrwxrwx 1 root root 1679195404 Mar 6 10:26 V1046954-01.zip -rwxrwxrwx 1 root root 1669545916 Mar 6 10:31 V1046955-01.zip [oracle@oemdb setup]$ rm V*.zip [oracle@oemdb setup]$ ls -ltr -r--r--r-- 1 oracle oinstall 1532547277 Dec 5 15:50 em24100_linux64-2.zip -r--r--r-- 1 oracle oinstall 1921746092 Dec 5 15:50 em24100_linux64-3.zip -r--r--r-- 1 oracle oinstall 1669545724 Dec 5 15:52 em24100_linux64-5.zip -r-xr-xr-x 1 oracle oinstall 1624325096 Dec 5 15:53 em24100_linux64.bin |
Bước 3: Chạy OEM EMPPREREQ_KIT để kiểm tra các điều kiện tiên quyết trước khi cài đặt OEM. Thao tác này sẽ không thực hiện cài đặt mà chỉ kiểm tra các điều kiện tiên quyết.
Bộ công cụ kiểm tra điều kiện tiên quyết EM chạy các kiểm tra điều kiện tiên quyết của kho lưu trữ OEM để đảm bảo bạn đáp ứng tất cả các yêu cầu để cài đặt hoặc nâng cấp OEM. Nó cũng tự động thực hiện các hành động khắc phục khi kiểm tra điều kiện tiên quyết thất bại. Bộ công cụ kiểm tra điều kiện tiên quyết EM cũng được chạy nội bộ bởi Trình hướng dẫn cài đặt OEM trong quá trình cài đặt hoặc nâng cấp OEM, nhưng nếu bạn muốn chạy nó trước khi cài đặt, bạn có thể thực hiện bằng cách truyền tham số "EMPREREQ_KIT=true" . Bộ công cụ kiểm tra điều kiện tiên quyết EM không thực hiện cài đặt, thay vào đó nó hiển thị các kiểm tra còn thiếu hoặc đã thành công.
Với tư cách người dùng oracle , hãy thực thi lệnh sau.
[oracle@oemdb ] $ cd /home/oracle/setup
[oracle@oemdb setup]$ ./em24100_linux64.bin EMPREREQ_KIT=true
Bước 4: Thực hiện các bước cần thiết trước khi cài đặt OEM 24ai.
A) Ma trận chứng nhận: Nền tảng quản lý doanh nghiệp Enterprise Manager Base Platform - OMS 24.1.0.0.0 đã được chứng nhận trên hệ điều hành Linux x86-64 Oracle Linux 8.x. Hệ điều hành hiện tại: Oracle Enterprise Linux 8.10 64 bit B) Yêu cầu phần cứng:
B) Các tham số kernel và Shell limits. [root@oemdb ~]# id uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 [root@oemdb ~]# vi /etc/sysctl.conf [root@oemdb ~]# cat /etc/sysctl.conf | grep -v "#" fs.file-max = 6815744 kernel.sem = 250 32000 100 128 kernel.shmmni = 4096 kernel.shmall = 1073741824 kernel.shmmax = 4398046511104 kernel.panic_on_oops = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.all.rp_filter = 2 net.ipv4.conf.default.rp_filter = 2 fs.aio-max-nr = 1048576 net.ipv4.ip_local_port_range = 9000 65500 #Lệnh để phản ánh các thay đổi. [root@oemdb ~]# sysctl -p fs.file-max = 6815744 kernel.sem = 250 32000 100 128 kernel.shmmni = 4096 kernel.shmall = 1073741824 kernel.shmmax = 4398046511104 kernel.panic_on_oops = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.all.rp_filter = 2 net.ipv4.conf.default.rp_filter = 2 fs.aio-max-nr = 1048576 net.ipv4.ip_local_port_range = 9000 65500 #Thay đổi trong tệp limits.conf cho người dùng oracle [root@oemdb ~]# id uid=0(root) gid=0(root) groups=0(root) context=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 [root@oemdb ~]# vi /etc/security/limits.conf [root@oemdb ~]# cat /etc/security/limits.conf | grep -v "#" oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 16384 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768 oracle hard memlock 134217728 oracle soft memlock 134217728 oracle soft data unlimited oracle hard data unlimited C) Thay đổi tham số cơ sở dữ liệu kho lưu trữ 1) Thông số Compatible : Khuyến nghị: Tham số phiên bản tương thích phải được đặt thành cùng giá trị phiên bản với phiên bản cơ sở dữ liệu của kho lưu trữ EM. 2) db_block_size: Khuyến nghị: Tham số instance db_block_size cần được đặt thành 8192. 3) Processes : Khuyến nghị: Tham số quy trình cần được đặt tối thiểu là 300. 4) pga_aggregate_target: Khuyến nghị: Tham số pga_aggregate_target nên được đặt tối thiểu là 191 MB. 5) workarea_size_policy: Khuyến nghị: Tham số workarea_size_policy nên được phép sử dụng giá trị mặc định. Giá trị mặc định là AUTO. 6) session_cached_cursors: Khuyến nghị: Tham số session_cached_cursors nên được đặt thành bất kỳ giá trị nào từ 200 đến 500. 7) open_cursors: Khuyến nghị: Tham số instance open_cursors nên được đặt tối thiểu là 300. 8) sga_target: Khuyến nghị: Tham số instance sga_target nên được đặt tối thiểu là 763 MB, gấp đôi kích thước của thiết lập pga_aggregate_target. 9) log_buffer: Khuyến nghị: Tham số log_buffer nên được đặt tối thiểu là 977 KB. 10) shared_pool_size: Khuyến nghị: Tham số instance shared_pool_size nên được đặt tối thiểu là 429 MB hoặc bằng một phần ba kích thước sga_target. 11) db_cache_size : Khuyến nghị: Tham số instance db_cache_size nên được phép sử dụng giá trị mặc định. Giá trị mặc định là TRUE. 12) kích thước_pool_lớn: Khuyến nghị: Tham số instance large_pool_size nên được phép sử dụng giá trị mặc định. Giá trị mặc định là TRUE. 13 java_pool_size : Khuyến nghị: Tham số instance java_pool_size nên được phép sử dụng giá trị mặc định. Giá trị mặc định là TRUE. 14 streams_pool_size : Khuyến nghị: Tham số thể hiện streams_pool_size nên được phép sử dụng giá trị mặc định. Giá trị mặc định là TRUE. 15) timed_statistics : Khuyến nghị: Tham số thể hiện timed_statistics nên được phép sử dụng giá trị mặc định hoặc nên được đặt thành TRUE, là giá trị mặc định. 16) statistics_level : Khuyến nghị: Tham số thể hiện statistics_level nên được phép sử dụng giá trị mặc định. Không bao giờ được đặt thành BASIC. 17) Kích thước nhật ký hoàn tác: Khuyến nghị: Kích thước của phiên bản cơ sở dữ liệu EM nên từ 48 MB trở lên. Thông thường, nên có từ 3 tệp nhật ký redo trở lên với kích thước này. 18) _allow_insert_with_update_check: Khuyến nghị: Tham số này nên được đặt là TRUE để kích hoạt khả năng tương thích ngược trong cài đặt chính sách. Có thể đặt thành FALSE sau khi quá trình cài đặt hoàn tất. 19) Invalid Objects: Khuyến nghị: Biên dịch các đối tượng không hợp lệ trong cơ sở dữ liệu được chọn cho Kho lưu trữ EM. 20) job_queue_processes : Khuyến nghị: Tham số instance job_queue_processes nên có giá trị tối thiểu là 20. 21) nls_length_semantics : Khuyến nghị: Đặt nls_length_semantics thành BYTE. 22) Quản lý UNDO: Khuyến nghị: Đặt chế độ quản lý UNDO thành tự động. 23) Khả năng tự động mở rộng cho UNDO, SYSTEM, TEMP: Khuyến nghị: Hãy đảm bảo rằng tablespace undo có ít nhất một datafile được thiết lập là autoextensible. Hãy đảm bảo rằng tablespace SYSTEM có ít nhất một datafile được thiết lập là autoextensible. Hãy đảm bảo rằng tablespace TEMP có ít nhất một tempfile được thiết lập ở chế độ tự động mở rộng. 24) Tùy chọn phân vùng (Partitioning) : Khuyến nghị: Cài đặt tùy chọn phân vùng trên cơ sở dữ liệu kho lưu trữ EM. 25) remote_login_passwordfile: Sự giới thiệu: 26) Tính khả dụng của lược đồ SYSMAN và SYSMAN_STB : Khuyến nghị: Cần loại bỏ các lược đồ SYSMAN và SYSMAN_STB trước khi cài đặt. 27) Sự tồn tại của Public Synonyms: Khuyến nghị: Loại bỏ các từ đồng nghĩa công khai. 28) Sự tồn tại của Tablespace quản lý: Khuyến nghị: Loại bỏ các từ đồng nghĩa công khai. 29) Sự tồn tại của lược đồ EM: Khuyến nghị: Loại bỏ lược đồ EM. 30) Ghi lại đường cơ sở của kế hoạch SQL (SQL Plan Baseline): Khuyến nghị: Tham số optimizer_capture_sql_plan_baselines của phiên bản cơ sở dữ liệu kho lưu trữ EM phải được đặt thành FALSE (hoặc giá trị mặc định) cho EM. 31) Kiểm tra sự tồn tại của Tablespace TEMP: Khuyến nghị: EM Deployment cần tablespace tạm thời TEMP. 32) Tất cả các tham số tính năng thích ứng: Khuyến nghị: Tất cả các tham số của tính năng thích ứng nên được bỏ thiết lập để cải thiện hiệu suất SQL. alter system reset "_optimizer_nlj_hj_adaptive_join" scope=both sid='*'; alter system reset "_optimizer_strans_adaptive_pruning" scope=both sid='*'; alter system reset "_px_adaptive_dist_method" scope=both sid='*'; alter system reset "_sql_plan_directive_mgmt_control" scope=both sid='*'; alter system reset "_optimizer_dsdir_usage_control" scope=both sid='*'; alter system reset "_optimizer_use_feedback" scope=both sid='*'; alter system reset "_optimizer_gather_feedback" scope=both sid='*'; alter system reset "_optimizer_performance_feedback" scope=both sid='*'; D) Repository DB Listener: Khuyến nghị: Trình lắng nghe cơ sở dữ liệu kho lưu trữ cần được khởi chạy để kết nối với cơ sở dữ liệu kho lưu trữ thông qua cổng thông tin OEM. E) Các gói RPM cần thiết cho Linux 8: Khuyến nghị: Nên cài đặt các gói RPM dưới đây trên máy chủ Linux 8 trước khi cài đặt OEM. Yêu cầu gói phần mềm cho Dịch vụ Quản lý Oracle ( Oracle Linux 8):
Yêu cầu gói phần mềm cho Oracle Management Agent ( Oracle Linux 8) :
F) Phiên bản bản vá tối thiểu Vui lòng lưu ý rằng phiên bản vá lỗi tối thiểu cần thiết để cài đặt OEM 24ai là 19.22 . [oracle@oemdb PATCH]$ su - Password: [root@oemdb ~]# cd /media/sf_Softwares/Oracle_19c/ [root@oemdb Oracle_19c]# ll -rwxrwx--- 1 root vboxsf 3369893688 Mar 17 19:27 p36916690_190000_Linux-x86-64.zip -rwxrwx--- 1 root vboxsf 131979850 Mar 17 19:32 p6880880_190000_Linux-x86-64.zip [root@oemdb Oracle_19c]# cp p* /u01/PATCH [oracle@oemdb PATCH]$ su - Password: [root@oemdb Oracle_19c]# cd /u01/PATCH/ [root@oemdb PATCH]# ll -rwxr-x--- 1 root root 3369893688 Mar 17 19:41 p36916690_190000_Linux-x86-64.zip -rwxr-x--- 1 root root 131979850 Mar 17 19:41 p6880880_190000_Linux-x86-64.zip [root@oemdb PATCH]# chmod 777 p* [root@oemdb PATCH]# ll -rwxrwxrwx 1 root root 3369893688 Mar 17 19:41 p36916690_190000_Linux-x86-64.zip -rwxrwxrwx 1 root root 131979850 Mar 17 19:41 p6880880_190000_Linux-x86-64.zip [root@oemdb PATCH]# exit logout [oracle@oemdb PATCH]$ id uid=1001(oracle) gid=1002(oinstall) groups=1002(oinstall),1003(dba) [oracle@oemdb PATCH]$ df -TH . Filesystem Type Size Used Avail Use% Mounted on /dev/mapper/ol-root xfs 52G 26G 27G 50% / [oracle@oemdb PATCH]$ ls -ltr -rwxrwxrwx 1 root root 3369893688 Mar 17 19:41 p36916690_190000_Linux-x86-64.zip -rwxrwxrwx 1 root root 131979850 Mar 17 19:41 p6880880_190000_Linux-x86-64.zip [oracle@oemdb PATCH]$ cp p6880880_190000_Linux-x86-64.zip /u01/app/oracle/product/19.0.0/dbhome_1/ [oracle@oemdb PATCH]$ cd /u01/app/oracle/product/19.0.0/dbhome_1/ [oracle@oemdb dbhome_1]$ cd OPatch [oracle@oemdb OPatch]$ ./opatch version OPatch Version: 12.2.0.1.17 OPatch succeeded. [oracle@oemdb OPatch]$ cd .. [oracle@oemdb dbhome_1]$ mv OPatch OPatch_old [oracle@oemdb dbhome_1]$ unzip p6880880_190000_Linux-x86-64.zip Archive: p6880880_190000_Linux-x86-64.zip creating: OPatch/ creating: OPatch/auto/ creating: OPatch/auto/database/ creating: OPatch/auto/database/bin/ inflating: OPatch/auto/database/bin/BootStrapping.pl .... creating: OPatch/oracle_common/ creating: OPatch/oracle_common/modules/ inflating: OPatch/oracle_common/modules/com.oracle.glcm.common-logging_1.6.5.0.jar inflating: OPatch/oracle_common/modules/common-logging-config.jar inflating: OPatch/datapatch [oracle@oemdb dbhome_1]$ [oracle@oemdb dbhome_1]$ cd OPatch [oracle@oemdb OPatch]$ ./opatch version OPatch Version: 12.2.0.1.45 OPatch succeeded. [oracle@oemdb dbhome_1]$ rm -rf p6880880_190000_Linux-x86-64.zip [oracle@oemdb dbhome_1]$ cd /u01/PATCH/ [oracle@oemdb PATCH]$ ll -rwxrwxrwx 1 root root 3369893688 Mar 17 19:41 p36916690_190000_Linux-x86-64.zip -rwxrwxrwx 1 root root 131979850 Mar 17 19:41 p6880880_190000_Linux-x86-64.zip [oracle@oemdb PATCH]$ unzip p36916690_190000_Linux-x86-64.zip Archive: p36916690_190000_Linux-x86-64.zip creating: 36916690/ creating: 36916690/36917416/ creating: 36916690/36917416/etc/ creating: 36916690/36917416/etc/config/ ... inflating: 36916690/automation/bp1-rollback-inplace-non-rolling-automation.xml inflating: 36916690/automation/messages.properties inflating: 36916690/README.txt inflating: 36916690/README.html inflating: 36916690/bundle.xml inflating: PatchSearch.xml [oracle@oemdb PATCH]$ [oracle@oemdb PATCH]$ ll drwxr-x--- 8 oracle oinstall 159 Oct 11 11:16 36916690 -rwxrwxrwx 1 root root 3369893688 Mar 17 19:41 p36916690_190000_Linux-x86-64.zip -rwxrwxrwx 1 root root 131979850 Mar 17 19:41 p6880880_190000_Linux-x86-64.zip -rw-rw-r-- 1 oracle oinstall 2537084 Oct 15 20:06 PatchSearch.xml [oracle@oemdb PATCH]$ cd 36916690 [oracle@oemdb 36916690]$ ll drwxr-x--- 4 oracle oinstall 48 Oct 11 11:17 36758186 drwxr-x--- 5 oracle oinstall 81 Oct 11 11:17 36912597 drwxr-x--- 5 oracle oinstall 62 Oct 11 11:17 36917397 drwxr-x--- 5 oracle oinstall 62 Oct 11 11:16 36917416 drwxr-x--- 4 oracle oinstall 48 Oct 11 11:17 36940756 drwxr-x--- 2 oracle oinstall 4096 Oct 11 11:20 automation -rw-rw-r-- 1 oracle oinstall 5824 Oct 11 17:13 bundle.xml -rw-r--r-- 1 oracle oinstall 134032 Oct 14 15:31 README.html -rw-r--r-- 1 oracle oinstall 0 Oct 11 11:20 README.txt [oracle@oemdb 36916690]$ cd 36912597 [oracle@oemdb 36912597]$ ll drwxr-x--- 3 oracle oinstall 21 Oct 11 11:20 custom drwxr-x--- 3 oracle oinstall 20 Oct 11 11:20 etc drwxr-x--- 46 oracle oinstall 4096 Oct 11 11:17 files -rw-rw-r-- 1 oracle oinstall 88918 Oct 15 15:05 README.html -rw-r--r-- 1 oracle oinstall 21 Oct 11 11:20 README.txt [oracle@oemdb 36912597]$ . oraenv ORACLE_SID = [oracle] ? oem The Oracle base has been set to /u01/app/oracle [oracle@oemdb 36912597]$ [oracle@oemdb 36912597]$ env | grep ORA ORACLE_SID=oem ORACLE_BASE=/u01/app/oracle ORACLE_HOME=/u01/app/oracle/product/19.0.0/dbhome_1 [oracle@oemdb 36912597]$ export PATH=$ORACLE_HOME/OPatch:$PATH [oracle@oemdb 36912597]$ opatch prereq CheckConflictAgainstOHWithDetail -ph ./ Oracle Interim Patch Installer version 12.2.0.1.45 Copyright (c) 2025, Oracle Corporation. All rights reserved. PREREQ session Oracle Home : /u01/app/oracle/product/19.0.0/dbhome_1 Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc OPatch version : 12.2.0.1.45 OUI version : 12.2.0.7.0 Log file location : /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2025-03-17_19-55-00PM_1.log Invoking prereq "checkconflictagainstohwithdetail" Prereq "checkConflictAgainstOHWithDetail" passed. OPatch succeeded. [oracle@oemdb 36912597]$ [oracle@oemdb 36912597]$ opatch apply Oracle Interim Patch Installer version 12.2.0.1.45 Copyright (c) 2025, Oracle Corporation. All rights reserved. Oracle Home : /u01/app/oracle/product/19.0.0/dbhome_1 Central Inventory : /u01/app/oraInventory from : /u01/app/oracle/product/19.0.0/dbhome_1/oraInst.loc OPatch version : 12.2.0.1.45 OUI version : 12.2.0.7.0 Log file location : /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2025-03-17_19-56-53PM_1.log Verifying environment and performing prerequisite checks... OPatch continues with these patches: 36912597 Do you want to proceed? [y|n] y 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/19.0.0/dbhome_1') Is the local system ready for patching? [y|n] y User Responded with: Y Backing up files... Applying interim patch '36912597' to OH '/u01/app/oracle/product/19.0.0/dbhome_1' ApplySession: Optional component(s) [ oracle.network.gsm, 19.0.0.0.0 ] , [ oracle.crypto.rsf, 19.0.0.0.0 ] , [ oracle.pg4appc, 19.0.0.0.0 ] , [ oracle.pg4mq, 19.0.0.0.0 ] , [ oracle.precomp.companion, 19.0.0.0.0 ] , [ oracle.rdbms.ic, 19.0.0.0.0 ] , [ oracle.rdbms.tg4db2, 19.0.0.0.0 ] , [ oracle.tfa, 19.0.0.0.0 ] , [ oracle.sdo.companion, 19.0.0.0.0 ] , [ oracle.net.cman, 19.0.0.0.0 ] , [ oracle.oid.client, 19.0.0.0.0 ] , [ oracle.xdk.companion, 19.0.0.0.0 ] , [ oracle.options.olap.api, 19.0.0.0.0 ] , [ oracle.ons.eons.bwcompat, 19.0.0.0.0 ] , [ oracle.rdbms.tg4msql, 19.0.0.0.0 ] , [ oracle.network.cman, 19.0.0.0.0 ] , [ oracle.rdbms.tg4tera, 19.0.0.0.0 ] , [ oracle.rdbms.tg4ifmx, 19.0.0.0.0 ] , [ oracle.rdbms.tg4sybs, 19.0.0.0.0 ] , [ oracle.ldap.ztk, 19.0.0.0.0 ] , [ oracle.ons.cclient, 19.0.0.0.0 ] , [ oracle.options.olap, 19.0.0.0.0 ] , [ oracle.jdk, 1.8.0.191.0 ] , [ oracle.jdk, 1.8.0.391.11 ] not present in the Oracle Home or a higher version is found. Patching component oracle.rdbms, 19.0.0.0.0... Patching component oracle.rdbms.util, 19.0.0.0.0... Patching component oracle.rdbms.rsf, 19.0.0.0.0... Patching component oracle.assistants.acf, 19.0.0.0.0... Patching component oracle.assistants.deconfig, 19.0.0.0.0... Patching component oracle.assistants.server, 19.0.0.0.0... Patching component oracle.blaslapack, 19.0.0.0.0... Patching component oracle.buildtools.rsf, 19.0.0.0.0... Patching component oracle.ctx, 19.0.0.0.0... Patching component oracle.dbdev, 19.0.0.0.0... Patching component oracle.dbjava.ic, 19.0.0.0.0... Patching component oracle.dbjava.jdbc, 19.0.0.0.0... Patching component oracle.dbjava.ucp, 19.0.0.0.0... Patching component oracle.duma, 19.0.0.0.0... Patching component oracle.javavm.client, 19.0.0.0.0... Patching component oracle.ldap.owm, 19.0.0.0.0... Patching component oracle.ldap.rsf, 19.0.0.0.0... Patching component oracle.ldap.security.osdt, 19.0.0.0.0... Patching component oracle.marvel, 19.0.0.0.0... Patching component oracle.network.rsf, 19.0.0.0.0... Patching component oracle.odbc.ic, 19.0.0.0.0... Patching component oracle.ons, 19.0.0.0.0... Patching component oracle.ons.ic, 19.0.0.0.0... Patching component oracle.oracore.rsf, 19.0.0.0.0... Patching component oracle.perlint, 5.28.1.0.0... Patching component oracle.precomp.common.core, 19.0.0.0.0... Patching component oracle.precomp.rsf, 19.0.0.0.0... Patching component oracle.rdbms.crs, 19.0.0.0.0... Patching component oracle.rdbms.dbscripts, 19.0.0.0.0... Patching component oracle.rdbms.deconfig, 19.0.0.0.0... Patching component oracle.rdbms.oci, 19.0.0.0.0... Patching component oracle.rdbms.rsf.ic, 19.0.0.0.0... Patching component oracle.rdbms.scheduler, 19.0.0.0.0... Patching component oracle.rhp.db, 19.0.0.0.0... Patching component oracle.rsf, 19.0.0.0.0... Patching component oracle.sdo, 19.0.0.0.0... Patching component oracle.sdo.locator.jrf, 19.0.0.0.0... Patching component oracle.sqlplus, 19.0.0.0.0... Patching component oracle.sqlplus.ic, 19.0.0.0.0... Patching component oracle.wwg.plsql, 19.0.0.0.0... Patching component oracle.xdk.rsf, 19.0.0.0.0... Patching component oracle.javavm.server, 19.0.0.0.0... Patching component oracle.xdk.xquery, 19.0.0.0.0... Patching component oracle.ctx.rsf, 19.0.0.0.0... Patching component oracle.ovm, 19.0.0.0.0... Patching component oracle.oraolap, 19.0.0.0.0... Patching component oracle.nlsrtl.rsf.lbuilder, 19.0.0.0.0... Patching component oracle.rdbms.rat, 19.0.0.0.0... Patching component oracle.ldap.rsf.ic, 19.0.0.0.0... Patching component oracle.rdbms.dv, 19.0.0.0.0... Patching component oracle.xdk, 19.0.0.0.0... Patching component oracle.mgw.common, 19.0.0.0.0... Patching component oracle.ldap.client, 19.0.0.0.0... Patching component oracle.install.deinstalltool, 19.0.0.0.0... Patching component oracle.rdbms.rman, 19.0.0.0.0... Patching component oracle.oraolap.api, 19.0.0.0.0... Patching component oracle.dbtoolslistener, 19.0.0.0.0... Patching component oracle.rdbms.drdaas, 19.0.0.0.0... Patching component oracle.rdbms.hs_common, 19.0.0.0.0... Patching component oracle.rdbms.lbac, 19.0.0.0.0... Patching component oracle.sdo.locator, 19.0.0.0.0... Patching component oracle.rdbms.dm, 19.0.0.0.0... Patching component oracle.ldap.ssl, 19.0.0.0.0... Patching component oracle.xdk.parser.java, 19.0.0.0.0... Patching component oracle.odbc, 19.0.0.0.0... Patching component oracle.network.listener, 19.0.0.0.0... Patching component oracle.ctx.atg, 19.0.0.0.0... Patching component oracle.rdbms.install.common, 19.0.0.0.0... Patching component oracle.rdbms.hsodbc, 19.0.0.0.0... Patching component oracle.network.aso, 19.0.0.0.0... Patching component oracle.rdbms.locator, 19.0.0.0.0... Patching component oracle.rdbms.install.plugins, 19.0.0.0.0... Patching component oracle.nlsrtl.rsf, 19.0.0.0.0... Patching component oracle.nlsrtl.rsf.core, 19.0.0.0.0... Patching component oracle.nlsrtl.rsf.ic, 19.0.0.0.0... Patching component oracle.oraolap.dbscripts, 19.0.0.0.0... Patching component oracle.network.client, 19.0.0.0.0... Patching component oracle.precomp.common, 19.0.0.0.0... Patching component oracle.precomp.lang, 19.0.0.0.0... Patching component oracle.jdk, 1.8.0.201.0... Patch 36912597 successfully applied. Sub-set patch [29517242] has become inactive due to the application of a super-set patch [36912597]. Please refer to Doc ID 2161861.1 for any possible further required actions. Log file location: /u01/app/oracle/product/19.0.0/dbhome_1/cfgtoollogs/opatch/opatch2025-03-17_19-56-53PM_1.log OPatch succeeded. [oracle@oemdb 36912597]$ [oracle@oemdb 36912597]$ opatch lspatches 36912597;Database Release Update : 19.25.0.0.241015 (36912597) 29585399;OCW RELEASE UPDATE 19.3.0.0.0 (29585399) OPatch succeeded. [oracle@oemdb 36912597]$ sqlplus -v SQL*Plus: Release 19.0.0.0.0 - Production Version 19.25.0.0.0 [oracle@oemdb 36912597]$ cd /u01/PATCH [oracle@oemdb PATCH]$ ls -ltr drwxr-x--- 8 oracle oinstall 159 Oct 11 11:16 36916690 -rw-rw-r-- 1 oracle oinstall 2537084 Oct 15 20:06 PatchSearch.xml -rwxrwxrwx 1 root root 3369893688 Mar 17 19:41 p36916690_190000_Linux-x86-64.zip -rwxrwxrwx 1 root root 131979850 Mar 17 19:41 p6880880_190000_Linux-x86-64.zip = [oracle@oemdb PATCH]$ rm -rf * [oracle@oemdb PATCH]$ ll total 0 Datapatch -Verbose Command: SQL> shut immediate; Database closed. Database dismounted. ORACLE instance shut down. SQL> startup ORACLE instance started. Total System Global Area 2415915888 bytes Fixed Size 8942448 bytes Variable Size 520093696 bytes Database Buffers 1879048192 bytes Redo Buffers 7831552 bytes Database mounted. Database opened. SQL> exit Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.25.0.0.0 [oracle@oemdb setup]$ cd $ORACLE_HOME/OPatch [oracle@oemdb OPatch]$ ./datapatch -sanity_checks SQL Patching sanity checks version 19.25.0.0.0 on Mon 17 Mar 2025 08:35:12 PM IST Copyright (c) 2021, 2025, Oracle. All rights reserved. Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20250317_203512_16281/sanity_checks_20250317_203512_16281.log Running checks JSON report generated in /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20250317_203512_16281/sqlpatch_sanity_checks_summary.json file Checks completed. Printing report: Check: Database component status - OK Check: PDB Violations - OK Check: Invalid System Objects - OK Check: Tablespace Status - OK Check: Backup jobs - OK Check: Temp file exists - OK Check: Temp file online - OK Check: Data Pump running - OK Check: Container status - OK Check: Oracle Database Keystore - OK Check: Dictionary statistics gathering - OK Check: Scheduled Jobs - OK Check: GoldenGate triggers - OK Check: Logminer DDL triggers - OK Check: Check sys public grants - OK Check: Statistics gathering running - OK Check: Optim dictionary upgrade parameter - OK Check: Symlinks on oracle home path - OK Check: Central Inventory - OK Check: Queryable Inventory dba directories - OK Check: Queryable Inventory locks - OK Check: Queryable Inventory package - ERROR Datapatch uses Queryable Inventory to get OPatch Inventory information and create a patching installation plan. The Queryable Inventory package is not able to retrieve OPatch Inventory information. Refer to MOS Note 1602089.1 for details on verifying the Queryable Inventory package before patching. oem: | RESULT | |---------| | Failure | |---------| Check: Queryable Inventory external table - SKIPPED (ERROR) Message: Skipped as previous check wasn't executed successfully. Check: Imperva processes - OK Check: Guardium processes - OK Check: Locale - OK Refer to MOS Note 2680521.1 and debug log /u01/app/oracle/cfgtoollogs/sqlpatch/sanity_checks_20250317_203512_16281/sanity_checks_debug_20250317_203512_16281.log SQL Patching sanity checks completed on Mon 17 Mar 2025 08:35:17 PM IST [oracle@oemdb OPatch]$ ./datapatch -verbose SQL Patching tool version 19.25.0.0.0 Production on Mon Mar 17 20:35:45 2025 Copyright (c) 2012, 2024, Oracle. All rights reserved. Log file for this invocation: /u01/app/oracle/cfgtoollogs/sqlpatch/sqlpatch_16520_2025_03_17_20_35_45/sqlpatch_invocation.log Connecting to database...OK Gathering database info...done Bootstrapping registry and package to current versions...done Determining current state...done Current state of interim SQL patches: No interim patches found Current state of release update SQL patches: Binary registry: 19.25.0.0.0 Release_Update 241010184253: Installed SQL registry: Applied 19.3.0.0.0 Release_Update 190410122720 successfully on 27-FEB-25 02.16.44.274657 PM Adding patches to installation queue and performing prereq checks...done Installation queue: No interim patches need to be rolled back Patch 36912597 (Database Release Update : 19.25.0.0.241015 (36912597)): Apply from 19.3.0.0.0 Release_Update 190410122720 to 19.25.0.0.0 Release_Update 241010184253 No interim patches need to be applied Installing patches... Patch installation complete. Total patches installed: 1 Validating logfiles...done Patch 36912597 apply: SUCCESS logfile: /u01/app/oracle/cfgtoollogs/sqlpatch/36912597/25871884/36912597_apply_OEM_2025Mar17_20_36_33.log (no errors) SQL Patching tool complete on Mon Mar 17 20:44:55 2025 | ||||||||||||||||||||||||||||||
Bước 5: Bắt đầu cài đặt OEM 24ai
Đăng nhập bằng tài khoản người dùng oracle , truy cập vào thư mục cài đặt và chạy lệnh bên dưới để khởi động giao diện người dùng đồ họa OEM.
[oracle@oemdb ~]$ id
uid=1001(oracle) gid=1002(oinstall) groups=1002(oinstall),1003(dba)
[oracle@oemdb ~]$ cd setup/
[oracle@oemdb setup]$ ls -ltr
-r--r--r-- 1 oracle oinstall 1532547277 Dec 5 15:50 em24100_linux64-2.zip
-r--r--r-- 1 oracle oinstall 1921746092 Dec 5 15:50 em24100_linux64-3.zip
-r--r--r-- 1 oracle oinstall 1679195212 Dec 5 15:51 em24100_linux64-4.zip
-r--r--r-- 1 oracle oinstall 1669545724 Dec 5 15:52 em24100_linux64-5.zip
-r-xr-xr-x 1 oracle oinstall 1624325096 Dec 5 15:53 em24100_linux64.bin
[oracle@oemdb setup]$ ./em24100_linux64.bin
Launcher log file is /tmp/OraInstall2025-04-11_05-42-52PM/launcher2025-04-11_05-42-52PM.log.
Extracting the installer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Done
Checking monitor: must be configured to display at least 256 colors. Actual 16777216 Passed
Checking swap space: must be greater than 512 MB. Actual 8083 MB Passed
Checking if this platform requires a 64-bit JVM. Actual 64 Passed (-d64 flag is not required)
Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2025-04-11_05-42-52PM
......
Tên máy chủ: oem.localdomain
CỔNG: 1521
Dịch vụ: OEM
Mật khẩu người dùng hệ thống: sys123
SQL> set lines 300 pages 3000
SQL> col property_name for a30
SQL> col property_value for a30
SQL> select property_name,property_value from database_properties where PROPERTY_NAME in('NLS_CHARACTERSET','NLS_NCHAR_CHARACTERSET') order by 1;
PROPERTY_NAME PROPERTY_VALUE
-------------------------- ----------------
NLS_CHARACTERSET AL32UTF8
NLS_NCHAR_CHARACTERSET AL16UTF16
Vui lòng ghi lại tên người dùng SYSMAN và mật khẩu Agent Regitration . Màn hình này hiển thị tên và vị trí các tệp dữ liệu của Management, Configuration và JVM.
OEM yêu cầu phân bổ một số cổng để liên lạc nội bộ giữa các thành phần hệ thống và cung cấp quyền truy cập vào bảng điều khiển thông qua trình duyệt. Trong hình ảnh bên dưới, phạm vi cổng được đề xuất đã được cung cấp cho mỗi thành phần. Theo mặc định, cổng khả dụng đầu tiên trong phạm vi cổng được chỉ định đã được sử dụng.
Bạn có thể thấy định dạng văn bản của tập lệnh allroot.sh như bên dưới. [root@oemdb ~]# hostname oemdb.localdomain [root@oemdb ~]# id uid=0(root) gid=0(root) groups=0(root) [root@oemdb ~]# /u01/app/oracle/middleware/oms_home/allroot.sh Starting to execute allroot.sh ......... Starting to execute /u01/app/oracle/middleware/oms_home/root.sh ...... Check /u01/app/oracle/middleware/oms_home/install/root_oemdb.localdomain_2025-04-28_21-09-34-206849739.log for the output of root script Finished product-specific root actions. /etc exist Finished execution of /u01/app/oracle/middleware/oms_home/root.sh ...... Starting to execute /u01/app/oracle/agent/agent_24.1.0.0.0/root.sh ...... Finished product-specific root actions. /etc exist Finished execution of /u01/app/oracle/agent/agent_24.1.0.0.0/root.sh ...... [root@oemdb ~]# Chúng ta có thể xem tệp nhật ký của kịch bản allroot.sh. [root@oemdb ~]# cat /u01/app/oracle/middleware/oms_home/install/root_oemdb.localdomain_2025-04-28_21-09-34-206849739.log Performing root user operation. The following environment variables are set as: ORACLE_OWNER= oracle ORACLE_HOME= /u01/app/oracle/middleware/oms_home Copying dbhome to /usr/local/bin ... Copying oraenv to /usr/local/bin ... Copying coraenv to /usr/local/bin ... Entries will be added to the /etc/oratab file as needed by Database Configuration Assistant when a database is created Finished running generic part of root script. Now product-specific root actions will be performed. /etc exist Creating /etc/oragchomelist file... Creating /etc/oragchomelist file... /u01/app/oracle/middleware/oms_home |
Sau khi script allroot.sh hoàn tất, hãy nhấp vào OK để tiếp tục.
Sử dụng URL sau để truy cập:
1. URL của Enterprise Manager Cloud Control: https://oemdb.localdomain:7803/em
2. URL máy chủ quản trị: https://oemdb.localdomain:7102/console
Cần cung cấp các thông tin sau khi cài đặt OMS:
1. Tên máy chủ quản trị: oemdb.localdomain
2. Cổng máy chủ quản trị: 7102
Trên máy Linux, mở trình duyệt Firefox và sao chép cả hai URL có sẵn. Chúng ta đã ghi lại tên người dùng và mật khẩu để đăng nhập.
Các vấn đề gặp phải trong quá trình cài đặt:
1) Vấn đề: Quá trình cài đặt mất nhiều thời gian hơn dự kiến do có nhiều thao tác thay đổi kích thước tập dữ liệu được ghi nhận trong nhật ký cảnh báo. 2025-04-28T20:07:56.644938+05:30 Resize operation completed for file# 3, fname /u01/oradata/data/OEM/sysaux01.dbf, old size 880640K, new size 890880K 2025-04-28T20:07:57.586795+05:30 ... 2025-04-28T20:07:56.644938+05:30 Resize operation completed for file# 3, fname /u01/oradata/data/OEM/sysaux01.dbf, old size 880640K, new size 890880K 2025-04-28T20:07:57.586795+05:30 Process termination requested for pid 269479 [source = rdbms], [info = 0] [request issued by pid: 269619, uid: 1001] 2025-04-28T20:08:05.292709+05:30 Resize operation completed for file# 1, fname /u01/oradata/data/OEM/system01.dbf, old size 1464320K, new size 1474560K 2025-04-28T20:09:45.051018+05:30 ..... Giải pháp: Vì tệp dữ liệu đã ở chế độ TỰ ĐỘNG MỞ RỘNG, nên việc thay đổi kích thước là không cần thiết, nhưng thao tác này cần thiết để tránh các thao tác thay đổi kích thước hoặc bạn có thể thay đổi kích thước tệp dữ liệu đến kích thước tối đa và tắt tính năng tự động mở rộng. SQL> alter database datafile 8 resize 5g; Database altered. SQL> alter database datafile 1 resize 3g; Database altered. SQL> alter database datafile 3 resize 1g; Database altered. 2) Vấn đề: Các sự kiện chờ "log buffer space" và "shared pool latch" đã được quan sát thấy trong phiên làm việc trong quá trình cài đặt. +---+-----+---------+-------------+------------------------+---+--------+----+ |INS| SID | USERNAME| SQL_ID | EVENT |ET | STATUS | BS | +---+-----+---------+-------------+------------------------+---+--------+----+ | 1 | 290| SYS |4z66cpjz29fcu| log buffer space 0 | ACTIVE | | | 1 | 10| | | log file parallel write|48 | ACTIVE | | +---+-----+---------+-------------+------------------------+---+--------+----+ +---+-----+---------+-------------+------------------------+---+--------+----+ |INS| SID | USERNAME| SQL_ID | EVENT |ET | STATUS | BS | +---+-----+---------+-------------+------------------------+---+--------+----+ | 1 | 290| SYS |cdamsm7xtd4p6| log buffer space 0 | ACTIVE | | +---+-----+---------+-------------+------------------------+---+--------+----+ +---+-----+---------+-------------+------------------------+---+--------+----+ |INS| SID | USERNAME| SQL_ID | EVENT |ET | STATUS | BS | +---+-----+---------+-------------+------------------------+---+--------+----+ | 1 | 290| SYS |4t6vftg9a223b| log buffer space 0 | ACTIVE | | | 1 | 10| | | log file parallel write|48 | ACTIVE | | +---+-----+---------+-------------+------------------------+---+--------+----+ +---+-----+---------+-------------+------------------------+---+--------+----+ |INS| SID | USERNAME| SQL_ID | EVENT |ET | STATUS | BS | +---+-----+---------+-------------+------------------------+---+--------+----+ | 1 | 290| SYS |csx5utrfc1jbf| log buffer space 0 | ACTIVE | | +---+-----+---------+-------------+------------------------+---+--------+----+ +---+-----+---------+-------------+------------------------+---+--------+----+ |INS| SID | USERNAME| SQL_ID | EVENT |ET | STATUS | BS | +---+-----+---------+-------------+------------------------+---+--------+----+ | 1 | 290| SYS |5rx3aznhpwu28| latch: shared pool 0 | ACTIVE | | | 1 | 10| | | log file parallel write|48 | ACTIVE | | +---+-----+---------+-------------+------------------------+---+--------+----+ Giải pháp : 1) Tăng kích thước shared_pool lên 900MB vì nó đang tăng lên trong v$SGA_dynamic_components. SQL> alter system set shared_pool_size=900m; System altered.. 2) Tăng kích thước tệp nhật ký hoàn tác lên 300MB. SQL> set lines 300 pages 3000 SQL> select * from v$log; +--------+-----------+------------+------------+---------+----------+ | GROUP# | SEQUENCE# | BYTES | BLOCKSIZE | MEMBERS | STATUS | +--------+-----------+------------+------------+---------+----------+ | 1 | 13 | 209,715,200| 512 | 1 | INACTIVE | | 2 | 14 | 209,715,200| 512 | 1 | CURRENT | | 3 | 12 | 209,715,200| 512 | 1 | INACTIVE | +--------+-----------+------------+------------+---------+----------+ SQL> alter database add logfile group 4 ('/u01/oradata/data/OEM/redo04.log') size 300m; Database altered. SQL> alter database add logfile group 5 ('/u01/oradata/data/OEM/redo05.log') size 300m; Database altered. SQL> alter database add logfile group 6 ('/u01/oradata/data/OEM/redo06.log') size 300m; Database altered. SQL> select GROUP#,SEQUENCE#,BYTES,BLOCKSIZE,MEMBERS,STATUS from v$log; +--------+-----------+------------+------------+---------+----------+ | GROUP# | SEQUENCE# | BYTES | BLOCKSIZE | MEMBERS | STATUS | +--------+-----------+------------+------------+---------+----------+ | 1 | 13 | 209,715,200| 512 | 1 | INACTIVE | | 2 | 14 | 209,715,200| 512 | 1 | CURRENT | | 3 | 12 | 209,715,200| 512 | 1 | INACTIVE | | 4 | 0 | 314,572,800| 512 | 1 | UNUSED | | 5 | 0 | 314,572,800| 512 | 1 | UNUSED | | 6 | 0 | 314,572,800| 512 | 1 | UNUSED | +--------+-----------+------------+------------+---------+----------+ SQL> alter database drop logfile group 1; Database altered. SQL> alter database drop logfile group 2; Database altered. SQL> alter database drop logfile group 3; Database altered. SQL> select GROUP#,SEQUENCE#,BYTES,BLOCKSIZE,MEMBERS,STATUS from v$log; +--------+-----------+------------+------------+---------+----------+ | GROUP# | SEQUENCE# | BYTES | BLOCKSIZE | MEMBERS | STATUS | +--------+-----------+------------+------------+---------+----------+ | 4 | 15 | 314,572,800| 512 | 1 | CURRENT | | 5 | 0 | 314,572,800| 512 | 1 | UNUSED | | 6 | 0 | 314,572,800| 512 | 1 | UNUSED | +--------+-----------+------------+------------+---------+----------+ |
Cảm ơn bạn đã đọc bài viết này! Hãy bình luận nếu bạn thích bài viết này! Nhấn THEO DÕI để nhận thông báo cập nhật bài viết trong tương lai!
TƯ VẤN: Click hoặc Hotline/Zalo 090.29.12.888
=============================
Website không chứa bất kỳ quảng cáo nào, mọi đóng góp để duy trì phát triển cho website (donation) xin vui lòng gửi về STK 90.2142.8888 - Ngân hàng Vietcombank Thăng Long - TRAN VAN BINH
=============================
Nếu bạn không muốn bị AI thay thế và tiết kiệm 3-5 NĂM trên con đường trở thành DBA chuyên nghiệp hay làm chủ Database thì hãy đăng ký ngay KHOÁ HỌC ORACLE DATABASE A-Z ENTERPRISE, được Coaching trực tiếp từ tôi với toàn bộ bí kíp thực chiến, thủ tục, quy trình của gần 20 năm kinh nghiệm (mà bạn sẽ KHÔNG THỂ tìm kiếm trên Internet/Google) từ đó giúp bạn dễ dàng quản trị mọi hệ thống Core tại Việt Nam và trên thế giới, đỗ OCP.
- CÁCH ĐĂNG KÝ: Gõ (.) hoặc để lại số điện thoại hoặc inbox https://m.me/tranvanbinh.vn hoặc Hotline/Zalo 090.29.12.888
- Chi tiết tham khảo:
https://bit.ly/oaz_w
=============================
2 khóa học online qua video giúp bạn nhanh chóng có những kiến thức nền tảng về Linux, Oracle, học mọi nơi, chỉ cần có Internet/4G:
- Oracle cơ bản: https://bit.ly/admin_1200
- Linux: https://bit.ly/linux_1200
=============================
KẾT NỐI VỚI CHUYÊN GIA TRẦN VĂN BÌNH:
📧 Mail: binhoracle@gmail.com
☎️ Mobile/Zalo: 0902912888
👨 Facebook: https://www.facebook.com/BinhOracleMaster
👨 Inbox Messenger: https://m.me/101036604657441 (profile)
👨 Fanpage: https://www.facebook.com/tranvanbinh.vn
👨 Inbox Fanpage: https://m.me/tranvanbinh.vn
👨👩 Group FB: https://www.facebook.com/groups/DBAVietNam
👨 Website: https://www.tranvanbinh.vn
👨 Blogger: https://tranvanbinhmaster.blogspot.com
🎬 Youtube: https://www.youtube.com/@binhguru
👨 Tiktok: https://www.tiktok.com/@binhguru
👨 Linkin: https://www.linkedin.com/in/binhoracle
👨 Twitter: https://twitter.com/binhguru
👨 Podcast: https://www.podbean.com/pu/pbblog-eskre-5f82d6
👨 Địa chỉ: Tòa nhà Sun Square - 21 Lê Đức Thọ - Phường Mỹ Đình 1 - Quận Nam Từ Liêm - TP.Hà Nội
=============================
cơ sở dữ liệu, cơ sở dữ liệu quốc gia, database, AI, trí tuệ nhân tạo, artificial intelligence, machine learning, deep learning, LLM, ChatGPT, DeepSeek, Grok, oracle tutorial, học oracle database, Tự học Oracle, Tài liệu Oracle 12c tiếng Việt, Hướng dẫn sử dụng Oracle Database, Oracle SQL cơ bản, Oracle SQL là gì, Khóa học Oracle Hà Nội, Học chứng chỉ Oracle ở đầu, Khóa học Oracle online,sql tutorial, khóa học pl/sql tutorial, học dba, học dba ở việt nam, khóa học dba, khóa học dba sql, tài liệu học dba oracle, Khóa học Oracle online, học oracle sql, học oracle ở đâu tphcm, học oracle bắt đầu từ đâu, học oracle ở hà nội, oracle database tutorial, oracle database 12c, oracle database là gì, oracle database 11g, oracle download, oracle database 19c/21c/23c/23ai, oracle dba tutorial, oracle tunning, sql tunning , oracle 12c, oracle multitenant, Container Databases (CDB), Pluggable Databases (PDB), oracle cloud, oracle security, oracle fga, audit_trail,oracle RAC, ASM, oracle dataguard, oracle goldengate, mview, oracle exadata, oracle oca, oracle ocp, oracle ocm , oracle weblogic, postgresql tutorial, mysql tutorial, mariadb tutorial, ms sql server tutorial, nosql, mongodb tutorial, oci, cloud, middleware tutorial, docker, k8s, micro service, hoc solaris tutorial, hoc linux tutorial, hoc aix tutorial, unix tutorial, securecrt, xshell, mobaxterm, putty







































































