I have a django application running. The database backend that i use for it is PostGreSql. Everything is working fine for me.

Now I want to create a master slave replication for my database, such that:

Whatever change happens on master, is replicated on slave. If the master shuts down, the slave takes charge, and an error notification is sent. Backup is created automatically of the database. Logging is taken care of. Monitoring is taken care of.

I went through https://docs.djangoproject.com/en/dev/topics/db/multi-db/ the entire article. But I don't have much idea, how to implement the all 5 steps above. As you would have understood, I don't have much experience, hence please suggest pointers around, how to proceed. Thanks.

Have I missed, anything which should be kept in mind for database purpose??