Learning Linstor

Been working on setting up a Linstor deployment to support several terabytes of data and ran into an issue that took some fiddling to sort out. I installed Linstor on a fresh Ubuntu 20.04 install per Linbit’s instructions and was able to enroll the node but it showed up as offline. The Linstor service was running on the satellite and firewall was open between the two but I just couldn’t get it online.

After a fair bit of fiddling i ran cat /proc/drbd and got the following:

version: 9.2.1 (api:2/proto:86-121)
GIT-hash: 86ec2326fef3aede9f4d46f52bfd35aac4d5eb7e build by <server1>, 2023-03-28 06:03:07
Transports (api:18):

While on a normal healthy node i got this:

version: 9.2.1 (api:2/proto:86-121)
GIT-hash: 86ec2326fef3aede9f4d46f52bfd35aac4d5eb7e build by <server2>, 2023-04-28 06:35:08
Transports (api:18): tcp (9.2.1)

The fix was easy, just run the following:

sudo modprobe drbd_transport_tcp

Also ran into an issue when setting up high availability for linstor converting existing nodes from satellite to combined. I couldnt find it in Linbit’s documentation but you can switch between modes:

linstor node modify <node name> --node-type <combined|satellite|controller>