Automatic trigger to backup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi. Is there any possibility for creating trigger file automatically in postgres. Scenario is as follows :

There are some application which is having this postgres database. There are main & backup database. Application is normally connected to first server. If main server fails, application should connect to backup server. This is PITR environment where WAL files are transferring from the main to backup.

Manually we are creating the trigger file for that application to connect to backup database which will be master. Then we need to make previous master as slave.

I need to know the automatic creation of trigger file....?

Vinay

[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux