create_operation_plan

Creates an operational plan for the Oracle Site Guard operation.

Format

emcli create_operation_plan
        -primary_system_name="name_of_primary_system"
        -standby_system_name="name_of_standby_system"
        -system_name="name_of_system"
        -operation="name_of_operation"
        -name="name_of_operation_plan"
        -role="role_associated_with_system"

Options

  • primary_system_name

    Name of your system associated with the primary site. Enter this parameter for switchover or failover operations.

  • standby_system_name

    Name of your system associated with the standby site. Enter this parameter for switch-over or fail-over operations.

  • system_name

    Name of the system. Enter this parameter for start or stop operations.

  • operation

    The function of the operation. Examples: switchover, failover, start, or stop.

  • name

    Name of the operation plan.

  • role

    Role associated with a system when you run an operation (start or stop).

Examples

Example 1

emcli create_operation_plan
      -primary_system_name="BISystem1"
      -standby_system_name="BISystem2"
      -operation="switchover"
      -name="BISystem1-switchover-plan"

Example 2

emcli create_operation_plan
      -system_name="austin"
      -operation="start"
      -name="BISystem1-start-plan"
      -role="Primary"