[DRBD-user] Upgrade PVE 4.4 to 5.1 DRB9
Shafeek Sumser
shafeeks at gmail.com
Mon Mar 19 11:13:51 CET 2018
HI Roland,
Yes it is the case of a drbd 8.4 vs 9. A cat /proc/drbd gives mes
version: 8.4.7 (api:1/proto:86-101)
srcversion: 2DCC561E7F1E3D63526E90D
I checked the link regarding the docs. I fact, I changed my sources.list
file to deb http://packages.linbit.com/proxmox/ proxmox-5 drbd-9.0 before
upgrade.
But still drbd fall to version 8.4.
I have already installed drbd-dkms (Version: 9.0.9+linbit-1) provided by
Linbit. Which kernel-headers we need to install?
Thanks
Shafeek
On Mon, Mar 19, 2018 at 1:59 PM, Roland Kammerer <roland.kammerer at linbit.com
> wrote:
> On Mon, Mar 19, 2018 at 01:39:39PM +0400, Shafeek Sumser wrote:
> > Hello,
> >
> > We have a cluster of 3 servers with Proxmox 4.4 avec DRBD9.
> > We have upgraded Proxmox from 4.4 to 5.1 but drbd cluster failed.
> >
> > No DRBD resources are to be found.
> >
> > Below is the status of DRBD9
> >
> > root at srv2:~# /etc/init.d/drbd status
> > ● drbd.service - DRBD -- please disable. Unless you are NOT using a
> cluster
> > manager.
> > Loaded: loaded (/lib/systemd/system/drbd.service; disabled; vendor
> > preset: enabled)
> > Active: inactive (dead)
> > root at srv2:~# /etc/init.d/drbd start
> > [....] Starting drbd (via systemctl): drbd.serviceJob for drbd.service
> > failed because the control process exited with error code.
> > See "systemctl status drbd.service" and "journalctl -xe" for details.
> > failed!
> > root at srv2:~# journalctl -xe
> > Mar 19 13:17:01 srv2 CRON[6301]: (root) CMD ( cd / && run-parts
> --report
> > /etc/cron.hourly)
> > Mar 19 13:17:01 srv2 CRON[6296]: pam_unix(cron:session): session closed
> for
> > user root
> > Mar 19 13:17:01 srv2 systemd[1]: Started Proxmox VE replication runner.
> > -- Subject: Unit pvesr.service has finished start-up
> > -- Defined-By: systemd
> > -- Support: https://www.debian.org/support
> > --
> > -- Unit pvesr.service has finished starting up.
> > --
> > -- The start-up result is done.
> > Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value in split
> at
> > /usr/share/perl5/PVE/Storage/Custom/DRBDPlugin.pm line 217.
> > Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value
> $free_space
> > in multiplication (*) at /usr/share/perl5/PVE/Storage/Custom/DRBD
> > Mar 19 13:17:24 srv2 pvestatd[1685]: Use of uninitialized value
> > $total_space in multiplication (*) at
> > /usr/share/perl5/PVE/Storage/Custom/DRB
> > Mar 19 13:17:24 srv2 pvestatd[1685]: status update time (32.584 seconds)
> > Mar 19 13:17:47 srv2 pmxcfs[1604]: [status] notice: received log
> > Mar 19 13:17:54 srv2 systemd[1]: Starting DRBD -- please disable. Unless
> > you are NOT using a cluster manager....
> > -- Subject: Unit drbd.service has begun start-up
> > -- Defined-By: systemd
> > -- Support: https://www.debian.org/support
> > --
> > -- Unit drbd.service has begun starting up.
> > Mar 19 13:17:54 srv2 drbd[6389]: Starting DRBD resources:
> > Mar 19 13:17:54 srv2 drbd[6389]: drbd.d/drbdctrl.res:18: Parse error:
> 'disk
> > | device | address | meta-disk | flexible-meta-disk' expected,
> > Mar 19 13:17:54 srv2 drbd[6389]: but got 'node-id'
> > Mar 19 13:17:54 srv2 drbd[6389]: failed!
> > Mar 19 13:17:54 srv2 systemd[1]: drbd.service: Main process exited,
>
> Looks like another drbd 8.4 vs 9 case...
>
> Check cat /proc/drbd, probably you fell back to 8.4. That is because
> IIRC Proxmox shipped the drbd9 kernel module, but dropped that. A drbd9
> dkms is publicly available, you have to install kernel-headers and then
> install the dkms.
>
> You can find some infos here:
> https://docs.linbit.com/docs/users-guide-9.0/#ch-proxmox
>
> Regards, rck
> _______________________________________________
> drbd-user mailing list
> drbd-user at lists.linbit.com
> http://lists.linbit.com/mailman/listinfo/drbd-user
>
--
Shafeek SUMSER
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20180319/8131665f/attachment.htm>
More information about the drbd-user
mailing list