Thứ Sáu, 31 tháng 8, 2018

Thay đổi IP, hostname trên Solaris

  1. Assume the Primary Administrator role, or become superuser.
    The Primary Administrator role includes the Primary Administrator profile. To create the role and assign the role to a user, see Chapter 2, Working With the Solaris Management Console (Tasks), in System Administration Guide: Basic Administration.
Sửa bài viết

Xử lý lỗi GoldenGate bị ABEND khi instance down đột ngột

Troubleshoot GoldenGate Process when Instance down suddenly

Mục đích: Khắc phục lỗi tiến trình GoldenGate bị ABEND khi instance shutdown đột ngột
1. Errors message from $GGATE/ggserr.log

2018-08-30 15:19:41  WARNING OGG-00715  Oracle GoldenGate Capture for Oracle, ext1.prm:  [Thread #3] Purging transaction (transaction id: 3607.7.337705, start time: 2018-08-30 15:33:03, start seqno: 85665, start RBA: 2920625168).
2018-08-30 15:19:41  WARNING OGG-00712  Oracle GoldenGate Capture for Oracle, ext1.prm:  Updating I/O checkpoint after purging orphaned transactions on thread 3 with current position (Seq#: 85669, RBA: 615293852).
2018-08-30 15:19:42  WARNING OGG-00723  Oracle GoldenGate Capture for Oracle, consext5.prm:  Record with class# 7092, slt# 12, at seqno 85669, rba 715072016 SCN 2867.4219647111 (12317890884743) has secondary transaction ID that is du
plicate of existing open uncommitted transaction.
.
 ....
2018-08-30 15:20:53  ERROR   OGG-00446  Oracle GoldenGate Capture for Oracle, EXT2.prm:  Could not find archiv
ed log for sequence 87475 thread 1 under default destinations SQL <SELECT  name    FROM v$archived_log   WHERE se
quence# = :ora_seq_no AND         thread# = :ora_thread AND         resetlogs_id = :ora_resetlog_id AND         a
rchived = 'YES' AND         deleted = 'NO>, error retrieving redo file name for sequence 87475, archived = 1, use
_alternate = 0Not able to establish initial position for sequence 87475, rba 1795950096.
2018-08-30 15:20:53  ERROR   OGG-01668  Oracle GoldenGate Capture for Oracle,DP2.prm:  PROCESS ABENDING.
Sửa bài viết

Xử lý lỗi GoldenGate bị ABEND khi instance down đột ngột

Troubleshoot GoldenGate Process when Instance down suddenly

Mục đích: Khắc phục lỗi tiến trình GoldenGate bị ABEND khi instance shutdown đột ngột
1. Errors message from $GGATE/ggserr.log

2018-08-30 15:19:41  WARNING OGG-00715  Oracle GoldenGate Capture for Oracle, ext1.prm:  [Thread #3] Purging transaction (transaction id: 3607.7.337705, start time: 2018-08-30 15:33:03, start seqno: 85665, start RBA: 2920625168).
2018-08-30 15:19:41  WARNING OGG-00712  Oracle GoldenGate Capture for Oracle, ext1.prm:  Updating I/O checkpoint after purging orphaned transactions on thread 3 with current position (Seq#: 85669, RBA: 615293852).
2018-08-30 15:19:42  WARNING OGG-00723  Oracle GoldenGate Capture for Oracle, consext5.prm:  Record with class# 7092, slt# 12, at seqno 85669, rba 715072016 SCN 2867.4219647111 (12317890884743) has secondary transaction ID that is du
plicate of existing open uncommitted transaction.
.
 ....
2018-08-30 15:20:53  ERROR   OGG-00446  Oracle GoldenGate Capture for Oracle, EXT2.prm:  Could not find archiv
ed log for sequence 87475 thread 1 under default destinations SQL <SELECT  name    FROM v$archived_log   WHERE se
quence# = :ora_seq_no AND         thread# = :ora_thread AND         resetlogs_id = :ora_resetlog_id AND         a
rchived = 'YES' AND         deleted = 'NO>, error retrieving redo file name for sequence 87475, archived = 1, use
_alternate = 0Not able to establish initial position for sequence 87475, rba 1795950096.
2018-08-30 15:20:53  ERROR   OGG-01668  Oracle GoldenGate Capture for Oracle,DP2.prm:  PROCESS ABENDING.
Sửa bài viết

Cài đặt VMWare Tools trên máy ảo Solaris

Đối với các máy ảo Solaris, bạn tự cài đặt hoặc nâng cấp VMware Tools bằng cách sử dụng dòng lệnh.
Điều kiện tiên quyết
  • Bật nguồn máy ảo.
  • Xác minh rằng hệ điều hành client đang chạy.
  • Vì trình cài đặt VMware Tools được viết bằng Perl, hãy xác minh rằng Perl đã được cài đặt trong hệ điều hành khách.
Sửa bài viết

Thứ Năm, 30 tháng 8, 2018

Tạo user ftp trên Solaris, AIX, Linux

1. Thêm người dùng chỉ có thể dùng ftp
    #  useradd ftp01
    # passwd ftp01
Sửa bài viết

Quy trình khôi phục Point-in-Time Oracle Database

Bạn có thể thực hiện khôi phục tại thời điểm do máy chủ quản lý bằng các bước sau. Cơ sở dữ liệu phải ở chế độ ARCHIVELOG.
Sửa bài viết

Quy trình khôi phục cơ sở dữ liệu Oracle 11g sau thảm họa

Khôi phục thảm họa bao gồm khôi phục và khôi phục cơ sở dữ liệu đích sau khi mất toàn bộ cơ sở dữ liệu đích, tất cả các control file hiện tại, tất cả các online redo log file, tất cả các pfile và cơ sở dữ liệu recovery catalog (nếu có).
Để thực hiện khắc phục thảm họa, các bản sao lưu sau được yêu cầu tối thiểu:
• Sao lưu các tệp dữ liệu (data file)
• Archived redo log tương ứng được tạo sau thời gian sao lưu
• Ít nhất một autobackup của tệp điều khiển (control file)
Sửa bài viết

ĐỌC NHIỀU

Trần Văn Bình - Oracle Database Master