Discussion:
[DRBD-user] drbdmanage issues
Habicht, Mathew (MHABICHT)
2018-10-23 12:43:32 UTC
Permalink
I have used drbd with Pacemaker with no problems. I am now trying to configure drbd with Kubernetes. From the short video I watch it shows I need to use drbdmanage, however when I do I get errors. I have not been able to find the answers for what the problem is or how to configure drbdmanage, so of the answers I have found makes it seem like I should be using linstor but it is unclear.

So how to I start my 2 node cluster?

# drbdmanage list-nodes
Waiting for server: ...............
Error: Startup not successful (no quorum? not *both* nodes up in a 2 node cluster?)

Thanks
Mathew
Roland Kammerer
2018-10-24 07:15:02 UTC
Permalink
Post by Habicht, Mathew (MHABICHT)
I have used drbd with Pacemaker with no problems. I am now trying to
configure drbd with Kubernetes. From the short video I watch it shows
I need to use drbdmanage,
Don't use it. drbdmanage is EoL soon. There is LINSTOR and it works *a
lot* better. And it has k8s integration. Look at github.com/LINBIT and
docs.linbit.com (the LINSTOR section has a subsection on k8s).

Regards, rck
Habicht, Mathew (MHABICHT)
2018-10-24 11:23:09 UTC
Permalink
Yes I switched to Linstor yesterday. But I am still having a few issues.

My screens don't look like the ones from the Linstor Demo videos, mine is all these a's instead of boxed cells. It does appear the commands have change some but it is just a different order. However I have created resources and other object but when I do a list there is nothing there. The only thing I can see is the nodes themselves.

I have attempted to install drbdtop to see if that is needed but I am getting this error there.
go get github.com/LINBIT/drbdtop
package fmt: unrecognized import path "fmt" (import path does not begin with hostname)

***@amrucs311-1:~# linstor resource list -r storage-pool
â­âââââââââââââââââââââââââââââââââââââââââââââ®
â ResourceName â Node â Port â Usage â State â
ââ
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â¡
â°âââââââââââââââââââââââââââââââââââââââââââââ¯
***@amrucs311-1:~#

***@amrucs311-1:~# linstor --controllers=amrucs311-1 node list
â­âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ®
â Node â NodeType â Addresses â State â
ââ
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â
â¡
â amrucs311-1 â COMBINED â 10.100.120.17:3366 (PLAIN) â Online â
â amrucs312-1 â COMBINED â 10.100.120.18:3366 (PLAIN) â Online â
â°âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ¯


Thanks Mathew


-----Original Message-----
From: drbd-user-***@lists.linbit.com [mailto:drbd-user-***@lists.linbit.com] On Behalf Of Roland Kammerer
Sent: Wednesday, October 24, 2018 3:15 AM
To: drbd-***@lists.linbit.com
Subject: Re: [DRBD-user] drbdmanage issues
Post by Habicht, Mathew (MHABICHT)
I have used drbd with Pacemaker with no problems. I am now trying to
configure drbd with Kubernetes. From the short video I watch it shows
I need to use drbdmanage,
Don't use it. drbdmanage is EoL soon. There is LINSTOR and it works *a
lot* better. And it has k8s integration. Look at github.com/LINBIT and
docs.linbit.com (the LINSTOR section has a subsection on k8s).

Regards, rck
Robert Altnoeder
2018-10-25 07:00:55 UTC
Permalink
Post by Habicht, Mathew (MHABICHT)
Yes I switched to Linstor yesterday. But I am still having a few issues.
My screens don't look like the ones from the Linstor Demo videos, mine is all these a's instead of boxed cells.
LINSTOR requires a UTF8-capable terminal for correct display. The client
may have an option to switch to ASCII only - I don't remember, as I
never use it.
drbdtop and drbdmon also have certain terminal requirements (e.g. for
ANSI escape sequences), both use Unicode, drbdmon has an --ascii option
to avoid the Unicode.

The LINSTOR server modules (Satellite/Controller) also assume a terminal
width of 120 characters if run interactively or if using the debug
console. It will work with less, but any table-like output or section
separators etc. may not look very nice.

br,
Robert

Loading...