Hello,
I am currently testing HA linstor controller vm as explained in:
https://docs.linbit.com/docs/users-guide-9.0/#s-proxmox-ls-HA
As recommennded, I enabled the drbd service (and set the --keep-res flag
in linstor-satellite startup) in in order to have the controller vm
storage resource brought up at boot.
I noted that after boot more or less half of links in /dev/drbd/by-res
are missing, and this has the unpleasant effect to block startup of
related vm.
This issue started appearing after having enabled drbd systemd unit, and
does not happens if I keep only one of the two services enabled.
I guess that there is some race condition between drbd and
linstor-satellite startup (with the latter deleting .res files while
drbd bis basing on them to bring resorces up). So I tried to setup a
dependency on drbd using "systemctl edit linstore-satellite" (similarly
to the "Service" stance which I already set)
[Unit]
After=
After=network-online.target drbd.service
[Service]
ExecStart=
ExecStart=/usr/share/linstor-server/bin/Satellite
--logs=/var/log/linstor-satellite --config-directory=/etc/linstor
--keep-res=vm-200
This seems to resolve, may be there are more elegant ways to cope with that.
bye,
rob
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user