Promotes this consumer to the provider for all configured databases by stripping the syncrepl configuration and changing the providers Dynamic DNS record to point to this server.
This script will fail if this server is already the provider. This server will be identified as the provider if it's public IP address matches the DNS response for $LDAP_REPL_PROVIDER_HOSTNAME.
This script will fail if this server is not a consumer, or if it is a consumer for a different provider.
This script will not make any changes to the current provider, and it is recommended that once this script is run successfully you either terminate the old provider or execute "LDAP Initialize Consumer" on it to make it the new consumer.
Requires the tools installed by the "LDAP Tools Install" RightScript.
Revision 1 | Oct 18, 2010
Sign-up for RightScale
If you have problems with this server template or any of the scripts, feel free to email me at email@example.com.