Solved Replication cable
-
So I'm going to have two KVM hosts with a few VMs replicated at the disk level with Gluster. The rest of the VMs are all replicated at the application level. Am I crazy by wanting to just use a cable between the two servers and not run through a switch?
-
You would not want a switch. The switch would just add latency and a point of failure. Best to be switchless when possible.
-
A switch is handy for when you want to grow to more nodes. You can do three with direct cabling, but that's really the reasonable limit and even then it turns into a pain.
-
@scottalanmiller said in Replication cable:
You would not want a switch. The switch would just add latency and a point of failure. Best to be switchless when possible.
Ok. I've had some weird looks when I said that's how I wanted to do it. We would need a whole different VLAN for this if we used the switch and we already have enough latency as it is (it's being worked on and out of my control).
You can do three with direct cabling, but that's really the reasonable limit and even then it turns into a pain.
Ya this will only be two. I just wanted as simple as possible with the least amount of parts that can fail.
Thanks!
-
So I can't mark any posts as the correct answer except my own. That's kind of pointless? lol
-
@stacksofplates said in Replication cable:
So I can't mark any posts as the correct answer except my own. That's kind of pointless? lol
That's really weird. I'll try to see if that comes up again. I don't think that I've seen that before. If we see it again, we should open a GitLab ticket.
-
@stacksofplates said in Replication cable:
Ya this will only be two. I just wanted as simple as possible with the least amount of parts that can fail.
Yup, it should be you giving the weird looks to people who want to utilize switches and VLANs for something so simple. Why add risk, cost, latency, complexity, effort, etc.? That's crazy. Even on Wall St., it was always straight cables for this.
-
@scottalanmiller said in Replication cable:
@stacksofplates said in Replication cable:
Ya this will only be two. I just wanted as simple as possible with the least amount of parts that can fail.
Yup, it should be you giving the weird looks to people who want to utilize switches and VLANs for something so simple. Why add risk, cost, latency, complexity, effort, etc.? That's crazy. Even on Wall St., it was always straight cables for this.
I've been giving a good many lately.
-
@stacksofplates I bet!
-
Finally took some time and Gluster is running on both nodes. I get local speed and network replication :).
-
@stacksofplates said in Replication cable:
Finally took some time and Gluster is running on both nodes. I get local speed and network replication :).
Nice