On Sat, Jul 06, 2019 at 09:47:56AM +0430, Ehsan Shahrokhi wrote:
> Hi, refer to the following thread reply,
> http://lists.linbit.com/pipermail/drbd-user/2019-July/025106.html I
> want to write a program to configure DRBD completely. I need something
> like a programming api or command in order to connect DRBD and
> configure resources and other parameters.

I see 2 possibilities:
- If it is really easy, write some kind of template .res file and
  rsync/scp these filled in templates to your nodes. And then still use
  "drbdadm" (which acts on res files) to create meta-data, bring
  resource up, trigger the initial sync...
- If your scenario is more complicated and you want a full featured
  SDS, with a REST-API and what not: Use LINSTOR.

Regards, rck
_______________________________________________
Star us on GITHUB: https://github.com/LINBIT
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user

Reply via email to