Configuring Adobe Connect to take Advantage of Database Mirroring
Full redundancy requires that the Connect database be either mirrored or clustered; Adobe uses mirroring as the preferred solution.
The following example settings in the custom.ini file are needed to configure Connect to take advantage of SQL Mirroring:
DB_NAME=ConnectDBName
DB_HOST=ConnectDBPrimaryHostName
DB_BACKUP_HOST=ConnectDBSecondaryHostName
DB_URL=jdbc:macromedia:sqlserver://{DB_HOST}:{DB_PORT};databaseName={DB_NAME};user={DB_USER};password={DB_PASSWORD};AlternateServers=({DB_BACKUP_HOST}:{DB_PORT};DatabaseName={DB_NAME});ConnectionRetryCount=12;ConnectionRetryDelay=10;FailoverMode=extended;FailoverPreconnect=false;FailoverGranularity=atomic
Note: Change the first three variables as appropriate, but do not make any changes to the DB_URL. It is all one line and it pulls the values from the other three entries in custom.ini:
The follwoing setting is always pudent whether using mirroring or clustering, but it is particularly important if you are clustering SQL. If you are running the Connect SQL database in a SQL cluster rather than in a mirrored environment, you will want to make sure that Connect makes multiple database connection attempts during SQL fail-over. If Connect loses its SQL database, the entire Connect cluster will go down and it will wait for an administrator to manually reconnect to the database through launching the Connect configuration console on port 8510. Add the following to the custom.ini file to support any delays in clustered SQL fail-over:
DB_URL_CONNECTION_RETRY_COUNT=15
DB_URL_CONNECTION_RETRY_DELAY=30
The actual JDBC string That invokes these variables is in the config.ini file:
DB_URL=jdbc:macromedia:sqlserver://{DB_HOST}:{DB_PORT};databaseName={DB_NAME};user={DB_USER};password={DB_PASSWORD};ConnectionRetryCount={DB_URL_CONNECTION_RETRY_COUNT};ConnectionRetryDelay={DB_URL_CONNECTION_RETRY_DELAY}
Save the custom.ini and cycle the services.