Drupal 7 now provides built-in support for setting up master/slave relationships for a database. This is done within the
settings.php file. To specify a database connection that support master/slave relationships, you will need to define multiple targets for a single connection within your
Each database connection must have one default target that will be used in the event that none of the slave servers are available.