recreate

透過重新建立環境,將環境還原至純淨狀態。

您可以重新建立環境來完成這些任務:

  • 匯入完整快照之前清除環境。
  • 變更可在環境中部署的商業程序。

注意:

  • 此命令會從環境中刪除現有的應用程式,並依選擇刪除所有使用者定義的物件。此外,它也會重新建立資料庫並移除所有現有資料。重新建立服務之後,您可以使用移轉或 EPM Automate 來建立新的商業程序或匯入商業程序。
  • 此命令會刪除移轉歷史記錄。因此,移轉中的「移轉狀態報表」將不會包含歷史資訊。
  • 使用此命令之前,請先執行完整的環境備份。您可以執行 runDailyMaintenance 命令建立備份快照。

適用於

Planning、Planning 模組、FreeForm、Financial Consolidation and Close、Tax Reporting、Account Reconciliation、Profitability and Cost Management、Enterprise Profitability and Cost Management、Oracle Enterprise Data Management Cloud、Narrative Reporting、Sales Planning 及 Strategic Workforce Planning。

必要角色

服務管理員

用法

epmautomate recreate [-f] [removeAll=true|false] [TempServiceType=Service_type],其中:
  • -f 強制重新建立要啟動的程序,而不需要使用者確認。如果您未使用 -f 選項,命令會提示您以確認動作。
  • removeAll (選擇性) 刪除所有快照、Oracle Object Storage 中的封存快照,並清除收件匣 (上傳的檔案) 與寄件匣。在環境中發出此命令加上 removeAll=true 選項之後:
    • listFiles 命令將不會列出快照或收件匣與寄件匣的內容。
    • listBackups 命令將不會列出任何封存的快照。
  • TempServiceType (選擇性) 會將環境轉換為不同的服務環境。

    您可以在環境中部署的商業程序由您所具有的訂閱類型所管理。例如,如果您具有 EPM Standard Cloud Service 訂閱,則無法在將環境從 Account Reconciliation 轉換為 Planning 之後建立任意格式應用程式。如果您具有 EPM Enterprise Cloud Service 訂閱,則可以在適當變更服務類型之後,在環境中建立任何商業程序。請參閱管理員適用的入門手冊中的關於新 Cloud EPM 服務

    此參數的行為會視您的訂閱而定。

    • EPM Standard Cloud Service 與 EPM Enterprise Cloud Service 以外的訂閱:

      您可以使用 TempServiceType 選項將 Planning、Enterprise Planning、Tax Reporting 或 Financial Consolidation and Close 環境暫時轉換成 Account Reconciliation、Oracle Enterprise Data Management Cloud 或 Profitability and Cost Management 環境。例如,如果您已購買 Planning 環境,您可以執行下列命令將其轉換成 Account Reconciliation 環境:

      epmautomate recreate -f removeAll=true TempServiceType=ARCS

      在將環境轉換為 Account Reconciliation 之後,可以使用適當的 TempServiceType 值將它轉換為 Oracle Enterprise Data Management Cloud 或 Profitability and Cost Management 環境。例如,若要將它轉換為 Profitability and Cost Management 環境,請執行下列命令:

      epmautomate recreate -f removeAll=true TempServiceType=PCMCS

      若要將環境轉換回原始服務類型,請執行下列命令:

      epmautomate recreate -f

      Profitability and Cost Management:您可以透過執行下列命令,將 Profitability and Cost Management 環境轉換為 Planning、Enterprise Planning 或 Enterprise Profitability and Cost Management 環境:

      epmautomate recreate -f removeAll=true TempServiceType=PBCS

      若要將環境轉換回原始 Profitability and Cost Management 環境,請使用下列命令:

      epmautomate recreate -f TempServiceType=PCMCS

      註:

      Profitability and Cost Management 環境無法轉換為 Account Reconciliation、Oracle Enterprise Data Management Cloud 或 Narrative Reporting 環境。
    • EPM Standard Cloud Service 與 EPM Enterprise Cloud Service 訂閱:

      您可以使用 TempServiceType 選項將 Oracle Fusion Cloud Enterprise Performance Management 環境轉換成任何其他支援的環境。

      EPM Enterprise Cloud Service 訂閱使用通用的 Cloud EPM 平台。一開始,您可以部署任何支援的 Cloud EPM 商業程序。

      若要將部署的商業程序切換至另一個商業程序,您可以指定環境的新服務類型來重新建立環境。例如,如果您已建立 Account Reconciliation 商業程序,但現在想要建立 Oracle Enterprise Data Management Cloud 環境,則必須執行重新建立命令如下。

      epmautomate recreate -f removeAll=true TempServiceType=EDMCS

      若要將商業程序 (例如,Account Reconciliation) 轉換至 Planning、Tax Reporting 或 Financial Consolidation and Close,請勿指定 TempServiceType 值。例如,如果您已建立 Account Reconciliation 商業程序,但現在想要建立 Planning 模組環境,則必須執行重新建立命令如下。

      epmautomate recreate -f removeAll=true

    可接受的 TempServiceType 值:

    • ARCS - 可將環境轉換成 Account Reconciliation 環境
    • EDMCS - 可將環境轉換成 Oracle Enterprise Data Management Cloud 環境
    • EPRCS - 可將環境轉換成 Narrative Reporting 環境
    • PCMCS - 可將環境轉換成 Profitability and Cost Management 環境

範例

  • 重新建立目前環境、將它還原成原始服務類型 (如果之前已使用 TempServiceType 參數發出重新建立命令),而不移除快照、收件匣與寄件匣的內容以及 Object Storage 中的封存快照:

    epmautomate recreate -f
  • 重新建立目前環境、將它還原成原始服務類型 (如果之前已使用 TempServiceType 參數發出重新建立命令),然後移除快照、收件匣與寄件匣的內容以及 Object Storage 中儲存的封存快照:

    epmautomate recreate -f removeAll=true

  • 將目前環境重新建立為 Enterprise Data Management 環境,然後移除快照、收件匣與寄件匣的內容以及 Object Storage 中儲存的封存快照:

    epmautomate recreate -f removeAll=true TempServiceType=EDMCS

  • 在 Financial Consolidation and Close 環境中重新建立目前的 EPM Enterprise Cloud Service Account Reconciliation 環境,然後移除收件匣和寄件匣的內容、現有的快照以及 Object Storage 中儲存的封存快照:

    epmautomate recreate -f removeAll=true