将 OCI 全栈灾难恢复服务与 Oracle WebLogic Server 域结合使用 准备计算实例 准备计算实例 Oracle Cloud Infrastructure Full Stack Disaster Recovery Service 使用 Oracle Cloud Agent 在计算实例中运行脚本。 在计算实例中准备 Oracle Cloud Agent 完成以下要求以允许 Oracle Cloud Agent 在计算实例中运行脚本: 确保 Oracle Identity Management 策略允许 Oracle Cloud Infrastructure Full Stack Disaster Recovery Service 运行命令。例如: 允许组 Administrators 管理区间 my_compartment 中的 instance-agent-command-family。 允许动态组 dynamic_group_that_include_compute_instances 在区间 my_compartment 中使用 instance-agent-command-execution-family。 请参阅在实例上运行命令 请参阅Oracle Cloud Agent 策略 允许 Oracle Cloud Agent 以其他用户身份运行命令。 Oracle Cloud Agent 使用用户 ocarun 运行脚本。要与其他用户(例如 opc 或 oracle)一起运行脚本,需要 Administrator 特权。 向计划运行定制脚本的每个计算实例中的 Oracle Cloud Agent 提供管理员权限。请参阅运行具有管理员权限的命令 在计算实例中重新启动代理。 sudo systemctl restart oracle-cloud-agent