Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Alright, I am starting to loose my mind trying to get this two node cluster setup. I'm currently stuck on getting the crossover connection between my two blades working. The network admin just got it plugged in for me. I've currently got 2 FCoE cards in each blade, trunked for front-end/back-end/back-up network access. Then I've got the copper port with a crossover cable between the blades. I've tried setting up the interface like such:
But when I bring the interface up it's not attaching an IP:
eth4 Link encap:Ethernet HWaddr 84:2B:2B:25:E4:F0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:178 Memory:da000000-da012800
And of course I can't actually use the interface. Am I setting something up wrong here?
I'm confused, why would your gateway be the IP of the other machine and vice versa? Are both these blades on the same switch or vlan? How are you bringing them up? What if you manually add the ip info for each, what happens?
I did the gateway thing after reading around. It was mentioned that it wasn't necessary, but I thought I'd try it. Origionally the gateway wasn't specified. Both blades are on the same switch and in the same VLANs. This crossover connection is directly from one blade to the other, though, no switch involved. I am just doing an "ipconfig eth4 up" to bring up the interface. I am now able to get an IP assigned to the interface, but it's still not usable. When I try to force a route into the routing table for the crossover I cannot add it:
[root@usxsl227 network-scripts]# route add -net 10.200.23.0 gw 10.200.23.118 netmask 255.255.255.0 dev eth5
SIOCADDRT: Network is unreachable
Should I try something else as the gateway? I mean, logically I shouldn't need a gateway because there's no switch involved, the problem is the box won't use the interface, at all.
So you have eth4 on each connected by crossover? You know if you have open ports on the switch you don't need a crossover to achieve clustering. Just connect eth4 to the switch, don't use the crossover and configure accordingly for the cluster.
The switch is an FCoE swich (a cisco nexus) so there's only a handful of copper ports available. I mean, if I don't need to use a crossover that's excellent, but I can't get the multicast to work over the trunk at all. I'm guessing because something's not setup on the switch for it. When I sent the documentation to the network admin his was response was that he'd put in this crossover cable for me. I assumed it would be a pretty simple setup! (always a mistake, assuming!)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.