server experts - how would you set this up
We have 2 servers, same spec. Each server has 2 ssd drives. These servers can be linked through a virtual rack.
I was told it would be best to do this but not sure it looks correct.
Server 1
main website - drive1
mysql data base replicated (from drive 2 on server 2) - drive 2
Server 2
mysql data base master - drive 1
mysql replicated - drive 2
we have a small nas too for backing up the main site and data base daily.
The mysql is growing rather large.
Is this a strange way of doing things?
what is the difference between say mysql replicated, or master and slave say and having the 2 drives in server2 just put in a raid 1 config??
I have no idea really about this kind of thing.
Sorry just to make it clear what i meant in the last part...
on server 2 - why not just put the database on a raid 1 to replicate it. Why has he put DB replicated (slave) for drive 2.
Is not backing up a db the same as replicating it?
I would have thought just do it like this
Server 1 -
main site - drive 1
main site - drive 2
in raid 1
server 2
mysql - drive1
mysql- drive 2
in raid 1
nas storage
mysql backed up and website backed up.
|