-
Notifications
You must be signed in to change notification settings - Fork 237
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding Failover Location to other PDP Cluster Location #131
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,14 @@ dsconfig create-ldap-health-check \ | |
--type replication-backlog \ | ||
--set enabled:true \ | ||
--set base-dn:dc=example,dc=com | ||
|
||
# Attempt to configure Locations using $Location = this location ; $PDP_LOC2 = secondary - preferred falover location. | ||
# Add 2ndary location - from ENV Var provided - could be derived from (K8S_CLUSTERS | replace K8S_CLUSTER "") | ||
dsconfig create-location \ | ||
--location-name "${PD_LOC2}" --set "preferred-failover-location:${LOCATION}" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks for opening this! |
||
|
||
# current location - set failover to 2ndary just created | ||
dsconfig set-location-prop --location-name "${LOCATION}" --set "preferred-failover-location:${PD_LOC2}" | ||
|
||
# Create an LDAP external server template with the above | ||
dsconfig create-ldap-external-server-template \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo - "falover"