Migration
This section describes the migration of drbd9 to bsr.
1. Check the gi of the running drbd resource.
> drbdadm get-gi r0
889F2655AB057656:0000000000000000:889F2655AB057656:3EC5441227834D80:1:1:0:0:0:0:0:1:0:0:0:1
2. Remove drbd (requires preliminary work such as resource down and service shutdown)
3. Install bsr.
4. Copy the existing drbd configuration file to the bsr path.
5. Change the device name drbd to bsr in the resource configuration file.
#device /dev/drbd0;
device /dev/bsr0;
6. Start(up) the resource. (If the status of the existing disk was UpToDate, UpToDate status is maintained.)
7. Make sure the resource's gi matches the pre-migration gi value.
> bsradm get-gi r0
889F2655AB057656:0000000000000000:889F2655AB057656:3EC5441227834D80:1:1:0:0:0:0:1:0:0:0:1
8. bsr migration is complete.