Hi, After testing a little bit more, I see that I must do drbdmanage export "*" and drbd adjust all for retrieving my configuration and having my VM resources updated.
Why does it not done automatically ? Is there any way to do that automatically in the boot process and when ? Thanks. Regards. Jean-Daniel Le 05/09/2016 à 11:54, Robert Altnoeder a écrit : > On 09/02/2016 06:05 PM, Jean-Daniel TISSOT wrote: >> Hi list, >> >> I remark i have a file /var/lib/drbd.d/drbdmanage_vm-100-disk-2.res [...] >> If i reboot a node, this file disappear on this node [...] >> [...] if i do drbdadm connect vm-100-disk-2 i receive : >> 'vm-100-disk-2' not defined in your config (for this host). >> > The DRBD resources on ProxMox with DRBD9 are managed by drbdmanage instead of > just by drbdadm. > You can run: > drbdmanage export vm-100-disk-2 > which will recreate the configuration file in /var/lib/drbd.d for use with > drbdadm > > This command will also implicitly start the drbdmanage server if it is not > yet started (otherwise, drbdmanage startup can be used to start the > drbdmanage server, which also starts all resources managed by drbdmanage). > > Apart from that, since the resource appears to be running, but is marked as > Outdated and StandAlone, there might also be something wrong with the > resource itself. If the resource does not reconnect/resync after a 'drbdadm > adjust' command, the system log should be checked for messages regarding the > state of that resource (such as e.g. a split-brain alert) > > -- > Robert Altnoeder > DRBD - Corosync - Pacemaker > +43 (1) 817 82 92 - 0 <tel:43181782920> > robert.altnoe...@linbit.com <mailto:robert.altnoe...@linbit.com> > > DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. > > > > _______________________________________________ > drbd-user mailing list > drbd-user@lists.linbit.com > http://lists.linbit.com/mailman/listinfo/drbd-user -- Bien cordialement, Jean-Daniel TISSOT <http://chrono-environnement.univ-fcomte.fr/spip.php?article457> Administrateur Systèmes et Réseaux Tel: +33 3 81 666 440 Fax: +33 3 81 666 568 Laboratoire Chrono-environnement <http://chrono-environnement.univ-fcomte.fr/> 16, Route de Gray 25030 BESANÇON Cédex Plan et Accès <https://mapsengine.google.com/map/viewer?mid=zjsxW4ZzZPLY.kp2qPHUBD45c>
_______________________________________________ drbd-user mailing list drbd-user@lists.linbit.com http://lists.linbit.com/mailman/listinfo/drbd-user