[DRBD-user] Drbdmanage to linstor

Sebastian Blajszczak sb at outlook.de
Thu Mar 26 14:13:58 CET 2020


Hello together,

I need to migrate from proxmox drbdmanager to linstor.
To be secure, I am having some questions.

I created the dmmmigrate.sh script. Do I have to stop the running virtual machines for the migration process?

The first lines of dmmigrate.sh looks:

### Nodes ###
linstor node create --node-type Satellite srv2 192.168.11.2
linstor node create --node-type Controller srv1 192.168.11.1

### Storage ###
linstor storage-pool create lvm srv2 drbdpool drbdpool
linstor storage-pool create lvm srv1 drbdpool drbdpool

### Resource: vm-127-disk-1 ###
linstor resource-definition create --port 7023 vm-127-disk-1
linstor resource-definition drbd-options --allow-two-primaries yes vm-127-disk-1
linstor volume-definition create --vlmnr 0 --minor 179 vm-127-disk-1 104857600K
linstor volume-definition set-property vm-127-disk-1 0 OverrideVlmId vm-127-disk-1_00
linstor volume-definition set-property vm-127-disk-1 0 AllowLargerVolumeSize true
linstor volume-definition set-property vm-127-disk-1 0 DrbdCurrentGi 12FFA14FD277E5E9
linstor resource create-transactional begin --terminate-on-error <<EOF
linstor resource create --node-id 1 --storage-pool drbdpool srv2 vm-127-disk-1
linstor resource create --node-id 0 --storage-pool drbdpool srv1 vm-127-disk-1
linstor resource create-transactional commit
EOF


The scripts for generating the dmmmigrate.sh asked me the node typ for each server. Is this relevant what node type it was before/it is currenty? The installation is four years ago, so I dont know which one was controller or satellite.

Is there anything to preper before or to do after that dmmmigrate?
I already have drbd running in version 9.0.22-1

After that I want to upgrade proxmox from 5.4 to 6.1

With best regards
Sebastian




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linbit.com/pipermail/drbd-user/attachments/20200326/90e763a9/attachment.htm>


More information about the drbd-user mailing list