[DRBD-user] Minor version upgrade procedures

Lars Ellenberg Lars.Ellenberg at linbit.com
Fri Jun 17 21:33:13 CEST 2005

Note: "permalinks" may not be as permanent as we would like,
direct links of old sources may well be a few messages off.


/ 2005-06-08 10:33:52 -0400
\ Diego Julian Remolina:
> Hi,
> 
> Are there any precautions that need to be taken to upgrade between minor
> versions?  I am currently running 0.7.10 and 0.7.11 is out. Any reasons not to
> upgrade?
> 
> I have already compiled the rpms and was planning to do the following:
> 
> 1. Stop HA and drbd on NODE2
> 2. Reboot NODE2 in single user mode
   not necessary.
   instead:
   # drbdadm down all
   # rmmod drbd
> 3. rpm -e drbd-0.7.10 NODE2
> 4. rpm -ivh drbd-0.7.11 NODE2
    rpm -Uhv will do the same.
    don't forget the _kernel module_ part,
    rpm -Uhv drbd-km-whatever...
> 5. Go to run level 3 and let NODE2 come to a consistent state.
  instead:
  modprobe drbd

> 6. Bring down the NODE1 so that the NODE2 takes over through HA.
  do it gracefully: use hb_standby

> 7. Boot NODE1 in single user mode
  see above.
> 8. rpm -e drbd-0.7.10 NODE1
> 9. rpm -ivh drbd-0.7.11 NODE1.
> 10. Bring NODE1 back up and let it become the PRIMARY.
> 
> Questions:
> - Does this look like a good/safe procedure?
> - Should I avoid the reboots and simply stop ha and drbd and rmmod the drbd
> module and then just rpm -Uvh drbd-0.7.11, load the module again and start drbd
> and ha?

don't forget to update the _kernel module_ part,
    rpm -Uhv drbd-km-whatever...

> - Is it fine to run 0.7.10 on primary and 0.7.11 on secondary during the
> upgrade?  Will this cause problems?

-- 
: Lars Ellenberg                                  Tel +43-1-8178292-0  :
: LINBIT Information Technologies GmbH            Fax +43-1-8178292-82 :
: Schoenbrunner Str. 244, A-1120 Vienna/Europe   http://www.linbit.com :
__
please use the "List-Reply" function of your email client.



More information about the drbd-user mailing list