大网数据广告活动
服务器运维问答

Switchless Networking Configuration for Two Directly-Attached Nodes?

· 52CE 我爱测

I have two Windows Server 2019 Datacenter Edition servers, each with RDMA-enabled Mellanox ConnectX‐4 Lx 25GbE DA/SFP NICs. I've directly connected them with a 1 meter SFP28 copper cable. How can I get them to see each other? The…

问题原文

原帖链接 · Louis Waweru · CC BY-SA 4.0

I have two Windows Server 2019 Datacenter Edition servers, each with RDMA-enabled Mellanox ConnectX‐4 Lx 25GbE DA/SFP NICs. I've directly connected them with a 1 meter SFP28 copper cable.

How can I get them to see each other?

The cards try to negotiate and wind up with APIPA addresses.

I read that setting static IPs without a default gateway would work as long as they are on the same subnet, but doing so doesn't seem to work (can't ping each other; Test-Cluster fails).

Two-node, switchless setups are supported configurations (see Storage Spaces Direct hardware requirements):

I can't find any examples of Microsoft or anyone else discussing such a setup. Maybe I don't know what to search for, as I've never used this type of NIC before. I would really like to avoid having to buy a switch for them.

How can I get these two NICs to ping each other without a switch?

社区高分解答

原帖链接 · batistuta09 · CC BY-SA 4.0

To enable DA NICs to communicate with each other, simply assign IPs and subnet and leave gateway and dns server fields blank. For example

Node 1

IP: 192.168.10.1

SubnetMask: 255.255.255.0

Node 2

IP: 192.168.10.2

SubnetMask: 255.255.255.0

If NICs still try to use APIPA, then just remove device/drivers form device management and reinstall NICs drivers.

2-node S2D is broken and can’t survive second node reboot / down w/out losing pool quorum and disconnecting S2D pool. This is known issue and has to be fixed around this fall with some of the fixes (not guaranteed time frame). Example thread with an issue.

If you need 2-node switchless configuration, look at solutions, which have been designed for such setup. Like Starwind vsan

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2019-06-21)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。