Introduction The HA and DR Automation for IBM® Power® Virtual Server service allows you to easily configure and automate High Availability HA and disaster recovery DR solutions for your IBM Power Virtual Server environments. It simplifies and automates PowerHA Cluster for virtual servers running on AIX workloads and DR operations for virtual servers running on AIX, IBM i, or Linux RHEL and SLES workloads, ensuring high availability and business continuity in the event of an outage. With this service: - By selecting DR Automation plan, you can orchestrate the end-to-end DR process, including provisioning, replication, failover, and failback, without complex manual configurations. - By selecting PowerHA Automation plan, you can download the PowerHA SystemMirror software and perform installation and uninstallation. To learn about using High Availability and Disaster Recovery Automation for Power Virtual Serve, see: - Getting started with IBM HA and DR Automation for Power Virtual Serverhttps://cloud.ibm.com/docs/dr-automation-powervs?topic=dr-automation-powervs-getting-started - IBM HA and DR Automation for IBM® Power® Virtual Server CLI Referencehttps://cloud.ibm.com/docs/dr-automation-powervs?topic=dr-automation-powervs-dr-automation-cli-version SDKs SDKs for Java, Node, Python, and Go are available for this API. The client libraries that are provided by the SDKs implement best practices for using the API and reduce the amount of code that you need to write. The tab for each language includes code examples that demonstrate how to use the client libraries. To learn about using HA and DR Automation for IBM® Power® Virtual Server, see: - Getting started with HA and DR Automation for IBM® Power® Virtual Serverhttps://cloud.ibm.com/docs/dr-automation-powervs?topic=dr-automation-powervs-getting-started This documentation describes the Go SDKhttps://github.com/IBM/dra-go-sdk/ version 1.0.0. This SDK uses Semantic Versioninghttps://semver.org, and as such, there may be backward-incompatible changes for any new 0.y.z version. For information about the latest Go SDK, see Releaseshttps://github.com/IBM/dra-go-sdk/releases. For instructions and examples on using IBM Cloud services in an IBM Cloud SDK client library, see IBM Cloud SDK Common projecthttps://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.mdusing-the-sdk. This documentation describes the Java SDKhttps://github.com/IBM/dra-java-sdk version 1.0.0. This SDK uses Semantic Versioninghttps://semver.org, and as such, there may be backward-incompatible changes for any new 0.y.z version. For information about the latest Java SDK, see Releaseshttps://github.com/IBM/dra-java-sdk/releases. For instructions and examples on using IBM Cloud services in an IBM Cloud SDK client library, see IBM Cloud SDK Common projecthttps://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.mdusing-the-sdk. This documentation describes the Node SDKhttps://github.com/IBM/dra-node-sdk version 1.0.0. This SDK uses Semantic Versioninghttps://semver.org, and as such, there may be backward-incompatible changes for any new 0.y.z version. For information about the latest Node SDK, see Releaseshttps://github.com/IBM/dra-node-sdk/releases. For instructions and examples on using IBM Cloud services in an IBM Cloud SDK client library, see IBM Cloud SDK Common projecthttps://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.mdusing-the-sdk. This documentation describes the Python SDKhttps://github.com/IBM/dra-python-sdk version 1.0.0. This SDK uses Semantic Versioninghttps://semver.org, and as such, there may be backward-incompatible changes for any new 0.y.z version. For information about the latest Python SDK, see Releaseshttps://github.com/IBM/dra-python-sdk/releases. For instructions and examples on using IBM Cloud services in an IBM Cloud SDK client library, see IBM Cloud SDK Common projecthttps://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.mdusing-the-sdk. The code examples on this tab use the client library that is provided for Go. Installation: sh go get github.com/IBM/dra-go-sdk@v1.0.0 For more information, view the project on GitHub: https://github.com/IBM/dra-go-sdk/https://github.com/IBM/dra-go-sdk/. See also IBM Cloud SDK Common projecthttps://github.com/IBM/ibm-cloud-sdk-common/blob/main/README.mdusing-the-sdk. The code examples on this tab use the client library that is provided for Java. Maven example: Method Path Summary PUT /drautomation/v1/apikey/{instance_id} Updates the API key for the specified service instance GET /drautomation/v1/dr_grs_location_pairs/{instance_id} Get GRS location pairs based on managed vms GET /drautomation/v1/dr_locations/{instance_id} Get Disaster recovery locations GET /drautomation/v1/dr_managed_vms/{instance_id} Get managed vms for the instance GET /drautomation/v1/dr_summary/{instance_id} Disaster recovery deployment details GET /drautomation/v1/last_operation/{instance_id} View details of Last operation performed on the instance GET /drautomation/v1/machinetypes/{instance_id} Get MachineTypes based on selected workspaces GET /drautomation/v1/powervs_workspaces/{instance_id} List of primary and standby powervs workspaces POST /drautomation/v1/manage_dr/{instance_id} Create DR Deployment GET /drautomation/v1/service_instances/{instance_id}/events Get events from the cloud instance since a specific timestamp GET /drautomation/v1/service_instances/{instance_id}/events/{event_id} Get a single event POST /powerha_automation/v1/api_key/{pha_instance_id} Update the apikey for the specified PowerHA service instance GET /powerha_automation/v1/cluster_nodes/{pha_instance_id} Retrieves the cluster node details for the specified PowerHA instance POST /powerha_automation/v1/cluster_nodes/{pha_instance_id} Add a new cluster node DELETE /powerha_automation/v1/cluster_nodes/{pha_instance_id} Delete a cluster node GET /powerha_automation/v1/powervs_workspaces/{pha_instance_id} List of PowerVS workspaces based on location GET /powerha_automation/v1/last_operation/{pha_instance_id} View details of the last operation performed on the PowerHA instance GET /powerha_automation/v1/pha_deployment/{pha_instance_id} Retrieves deployment details POST /powerha_automation/v1/pha_deployment/{pha_instance_id} Create a new deployment GET /powerha_automation/v1/supported_locations/{pha_instance_id} Get PowerVS locations GET /powerha_automation/v1/pha_agent/download/{pha_instance_id} Downloads PowerHA Agent file GET /powerha_automation/v1/pha_agent/download/{pha_instance_id}/jobs/{pha_job_id} Get the Job status of the downloaded powerHA agent file