Disabling mirroring
This information describes how to disable a Event Streams mirroring Enterprise cluster.
Currently, disabling mirroring for an Event Streams service instance requires the use of the IBM Cloud CLI.
To install the CLI, see Extending IBM Cloud CLI with plug-ins.
The IBM Cloud CLI uses the service-instance-update command to update your Event Streams service instance resource. The user ID in the account used to run the service-instance-update command must be assigned the same access policies that are needed when you create resources. For information about access requirements, see Required access for creating resources.
The time required to disable mirroring for the Event Streams service instance varies, but under normal circumstances it does not exceed 2 hours.
Step 1: Disable mirroring
To disable mirroring, you need to run a service-instance-update command against your target cluster by using the CLI. Run the following command:
ibmcloud resource service-instance-update "Event Streams resource instance name" -p '{"mirroring":{"disable":true}}'
If the cluster is provisioned with or scaled up to a throughput higher than the default value of 150, the service-instance-update command must also include "throughput":"current throughput value" in the update parameter body.
Step 2: Validation
You can get the current service instance information by running the following command:
ibmcloud resource service-instance "Event Streams resource instance name" --output=json
Review the last operation section of the output. The information is continuously updated as the update proceeds. When the mirroring disablement process has completed, the last operation information indicates whether the update succeeded or the sync succeeded.
"last_operation": {
"type": "update",
"state": "in progress",
"description": "Update in progress.",
"updated_at": null,
"cancelable": false
}
Run the command again until success is indicated as follows:
"last_operation": {
"type": "update",
"state": "succeeded",
"description": "Update succeeded.",
"updated_at": null,
"cancelable": false
}
The IBM Cloud Monitoring dashboard Event Streams Mirroring shows the state of mirroring.