Hello all.
We have a mailserver running on FreeBSD 8.2.
Some time ago we had a power glitch, and the server went down.
You guess it real panic !!
Now we want some failover.
I was thinking about ZFS on top of HAST and carp to switch between the machines if things drop out.
The Mailserver is build with the following software.
Postfix
Dovecot
Apache (roundcube webmail)
Mysql Server
PostgreSQL (davical)
and that is about it.
My main question is, is this do able.
And is it possible to make the switch if postfix or dovecot dies?
My concerns are with HAST and the mail storage.
We have about 500 GB mail stored, so it could even be done without ZFS on one 2 TB disk.
If not going with ZFS, can i use a gmirror with HAST?
So that i at least have a mirror of my data on the master.
I would like ZFS, because i can use some smaller disk and use raidz{2|3} whatever
My main concern is in case of a server shutdown, are things going to be working flawlessly.
And what if the Master comes back up.
So master dies, and all new data(mails) is stored on the Slave hast providers, what happens if the master gets alive again.
Does it promote itself back as master? and if so how does it cope with the new data on the slave server?
I nice moment to switch to 9.0 also
Thaks for your time.
regards,
Johan Hendriks
We have a mailserver running on FreeBSD 8.2.
Some time ago we had a power glitch, and the server went down.
You guess it real panic !!
Now we want some failover.
I was thinking about ZFS on top of HAST and carp to switch between the machines if things drop out.
The Mailserver is build with the following software.
Postfix
Dovecot
Apache (roundcube webmail)
Mysql Server
PostgreSQL (davical)
and that is about it.
My main question is, is this do able.
And is it possible to make the switch if postfix or dovecot dies?
My concerns are with HAST and the mail storage.
We have about 500 GB mail stored, so it could even be done without ZFS on one 2 TB disk.
If not going with ZFS, can i use a gmirror with HAST?
So that i at least have a mirror of my data on the master.
I would like ZFS, because i can use some smaller disk and use raidz{2|3} whatever
My main concern is in case of a server shutdown, are things going to be working flawlessly.
And what if the Master comes back up.
So master dies, and all new data(mails) is stored on the Slave hast providers, what happens if the master gets alive again.
Does it promote itself back as master? and if so how does it cope with the new data on the slave server?
I nice moment to switch to 9.0 also
Thaks for your time.
regards,
Johan Hendriks