同步並建立備份

現在您已完成組態並具有完全執行中的 PeopleSoft 應用程式,就可以建立備份。

將待命資料庫轉換回實體待命

將快照待命資料庫轉換回實體待命資料庫,並允許它與生產環境同步,並套用所有未處理的 redo

  1. 在 PIA 和應用程式層的每個運算執行處理上,使用「基本工作」中的命令檔關閉 PeopleSoft 應用程式。
  2. 以 oracle 使用者身分,在主目錄中,尋找待命資料庫環境。
    $ . ./CDBHCM.env
  3. 啟動「資料保全代理程式」,然後輸入 SYS 密碼。
    $ dgmgrl
  4. 以 oracle 使用者身分在任何 Oracle Exadata Database Service on Dedicated Infrastructure domUs 上,使用「資料保全中介」將快照待命資料庫轉換回實體待命資料庫。
    DGMGRL> convert database CDBHCM_iad1dx to physical standby
    Converting database "CDBHCM_iad1dx" to a Physical Standby database, please wait...
    Database "CDBHCM_iad1dx" converted successfully
  5. 請稍候幾分鐘,讓受管理的復原處理作業 (MRP) 開始套用重做。然後在仍登入「資料保全中介」時,顯示組態
    DGMGRL> show configuration lag
    
    Configuration - ZDM_ CDBHCM_iad1dx
    
      Protection Mode: MaxPerformance
      Members:
       CDBHCM_sca6dp - Primary database
       CDBHCM_iad1dx  - Physical standby database 
                         Transport Lag:      0 seconds (computed 2 seconds ago)
                         Apply Lag:          10 minutes 14 seconds (computed 2 seconds ago)
          CDBHCM_phx5s - Physical standby database (receiving current redo)
                         Transport Lag:      1 second (computed 1 second ago)
                         Apply Lag:          2 seconds (computed 1 second ago)
    
    Fast-Start Failover:  Disabled
    
    Configuration Status:
    SUCCESS   (status updated 60 seconds ago)

    您可能會看見指出傳輸延遲已超過臨界值的警告。此警告將在數分鐘後消失。

  6. 繼續顯示組態,直到「傳輸延遲」和「套用延遲」達到 0 分鐘且接近 0 秒為止。
    此時,實體待命資料庫會落在延遲臨界值內,並與主要資料庫一同擷取。