After migrating Enswitch to a new cluster, the following actions are recommended to ensure that no problems are caused by stale data on the new machines or activity on the old machines.
On the old cluster
- Disable Enswitch /etc/crontab entries on the old master database server.
- Disable any registrations in /etc/asterisk/sip.conf on the old Asterisk machines.
On the new cluster
- enswitch sql "delete from active"
- enswitch sql "delete from active_customers"
- enswitch sql "delete from actions"
- enswitch sql "delete from location"
- enswitch sql "delete from subscriptions"
- Update System » Domains.
- Update System » Machines.
- Restart enswitch_routed on each Asterisk machine.