recreate

通过重新创建环境将环境还原到干净状态。

通过重新创建环境来完成以下任务:

  • 在导入完整快照之前清理环境。
  • 更改可在环境中部署的业务流程。

注意:

  • 此命令将从环境中删除现有应用程序,以及所有用户定义的对象(可选)。此外,它还会重新创建数据库并删除所有现有数据。重新创建服务后,您可以使用迁移或 EPM Automate 创建新业务流程或导入业务流程。
  • 此命令会删除迁移历史记录。因此,迁移中提供的迁移状态报表将不包含历史信息。
  • 使用此命令之前,请先对环境执行完整备份。可执行 runDailyMaintenance 命令来创建备份快照。

适用于

Planning、Planning 模块、自由形式、Financial Consolidation and Close、Tax Reporting、Account Reconciliation、Profitability and Cost Management、Enterprise Profitability and Cost Management、Oracle Enterprise Data Management Cloud、Narrative Reporting、销售规划和战略性人员规划。

所需角色

服务管理员

用法

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 订阅,则可以在相应地更改服务类型之后在环境中创建任何业务流程。请参阅《管理员入门指南》中的“关于新的云 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 订阅使用通用的云 EPM 平台。最初,您可以部署任何受支持的云 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 参数的 recreate),且不删除快照、收件箱和发件箱的内容,以及对象存储中的存档快照:

    epmautomate recreate -f
  • 重新创建当前环境,将其还原为原始服务类型(如果之前发出了包含 TempServiceType 参数的 recreate),并删除快照、收件人和发件箱的内容,以及存储在对象存储中的存档快照:

    epmautomate recreate -f removeAll=true

  • 将当前环境重新创建为 Enterprise Data Management 环境,并删除快照、收件箱和发件箱的内容,以及存储在对象存储中的存档快照:

    epmautomate recreate -f removeAll=true TempServiceType=EDMCS

  • 将当前 EPM Enterprise Cloud Service Account Reconciliation 环境重新创建为 Financial Consolidation and Close 环境,并删除收件箱和发件箱的内容、现有快照,以及存储在对象存储中的存档快照:

    epmautomate recreate -f removeAll=true