1. Stop the replication
  2. Replace the schema.xml for the Master with your new version
  3. Stop and restart the Master so it knows about the new schema
  4. Rebuild the Master index with the new schema.xml
    1. Careful - the normal script that does this rebuild restarts the replication at the end. I need to fix this since it only takes a few seconds to replicate.
    2. The cron job runs the rebuild without the no-replication flag set, so run it from the command line:
      1. bash$ php virtual_library_rebuild2.php test no-replication
        or
        bash$ php virtual_library_rebuild2.php production no-replication

  5. Test the Master to see if the new schema.xml is working as expected. Go back to step 2 if necessary.
  6. Start up the replication again
    1. Replication will copy the new schema.xml to the slave
    2. I *think* it's not necessary to stop/start the slave since the new indexes get copied by replication
  • No labels