Installing API Connect on the active data center
Add the multiSiteHA
configuration to the API Connect Management and
Portal CR YAML files before they are applied.
Before you begin
Verify that all the secrets, certificates, and issuers are
ready:
oc get secrets -n <namespace>
ingress-ca kubernetes.io/tls 3 3d21h
mgmt-replication-client kubernetes.io/tls 3 3d21h
ptl-replication-client kubernetes.io/tls 3 3d21h
oc get certs -n <namespace>
ingress-ca True ingress-ca 3d21h 2032-08-15T13:01:47Z
mgmt-replication-client True mgmt-replication-client 3d21h 2024-08-17T13:04:27Z
ptl-replication-client True ptl-replication-client 3d21h 2024-08-17T13:04:26Z
oc get issuer -n <namespace>
ingress-issuer True 3d21h
self-signed True 3d21h
Where <namespace>
are the namespaces
you created for API Connect.Note: If you have separate namespaces for Management and Portal
subsystems, then run the check in both namespaces. You should not see the
mgmt-replication-client
in the portal namespace, nor the
ptl-replication-client
in the management namespace.Procedure
Results
Warning
state with
oc get mgmt
:oc get mgmt -n <namespace>
NAME READY STATUS VERSION RECONCILED VERSION MESSAGE AGE
management n/n Warning 10.0.8.0-0 10.0.8.0-0 Management is ready. HA Status Warning - see HAStatus in CR for details 8m59s
oc get mgmt -n <namespace> -o yaml
...
status:
haStatus
{
"lastTransitionTime": "2023-12-31T19:47:08Z",
"message": "Replication not working, install or upgrade in progress.",
"reason": "na",
"status": "True",
"type": "Pending"
}
Warning
until the warm-standby management subsystem
is deployed, and both management subsystems complete data replication. When you see the status
message Management is ready. HA Status Warning - see HAStatus in CR for details, you can move on to Installing API Connect on the warm-standby data center.
What to do next
Install API Connect in your warm-standby data center Installing API Connect on the warm-standby data center.
Deploy your Gateway and Analytics subsystems in your active data center. For shared namespace: Installing API Connect in a single namespace on OpenShift or multiple namespaces: Installing API Connect subsystems in different namespaces or environments on OpenShift.