Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Synchronizer re create with different id

Yuriy Lesyuk edited this page Nov 10, 2020 · 1 revision

Synchronizer: re-create with different id

Skip steps as appropriate.

?. Edit runtime config file

vi hybrid-demo6-1.1.sh
...
export SYNCHRONIZER_ID=apigee-synchronizer1
...

?. Update environment variables

source hybrid-demo6-1.1.sh

?. Regenerate hybrid config file

ahr-runtime-ctl template $AHR_HOME/templates/overrides-large-template.yaml > $RUNTIME_CONFIG

?. Create synchronizer Service Account

ahr-sa-ctl create synchronizer $SYNCHRONIZER_ID

?. Check syncronizer Service Account ?. Create synchronizer Service Account

ahr-sa-ctl config synchronizer $SYNCHRONIZER_ID

?. Set Sync Authorization. Copy-and-paste from ahr-runtime-ctl

(
SYNCHRONIZER_SA_ID=apigee-synchronizer1@emea-cs-hybrid-demo6.iam.gserviceaccount.com

curl -X POST -H "Authorization: Bearer $(token)" -H "Content-Type:application/json" "https://apigee.googleapis.com/v1/organizations/$ORG:setSyncAuthorization" --data-binary @- <<EOF
{
    "identities": [ "serviceAccount:$SYNCHRONIZER_SA_ID" ]
}
EOF
)

?. Re-apply synchronizer

(
cd $APIGEECTL_HOME
apigeectl -c synchronizer delete -f $RUNTIME_CONFIG
apigeectl -c synchronizer apply -f $RUNTIME_CONFIG
)

Scenarios



Deep Dives

Archive

Ingress and TLS

DevPortal

Troubleshooting Flows

Clone this wiki locally