Ceph node crashes

abarakat

Member
Oct 19, 2022
27
2
8
Hello, 4 node cluster running ceph 18.2.2. all 4 as monitors, all 4 setup for manager, all 4 have osd. Pool size 2 with min 2. After one of the nodes had 1 drive fail and 1 drive go offline it fully crashed. I am not using HA. Is it possible to move the VM's to other working nodes?

New to Ceph but my understanding is that it keeps copies on other node osd so theoratically I should be able to recover but how?

thanks
 
The VM configs are stored in the pmxcfs. If the disk images (and other resources) are available on the other nodes, you could manually move them to another node:
Code:
mv /etc/pve/nodes/{crashed node}/qemu-server/* /etc/pve/nodes/{target node}/qemu-server/
 
  • Like
Reactions: abarakat
The VM configs are stored in the pmxcfs. If the disk images (and other resources) are available on the other nodes, you could manually move them to another node:
Code:
mv /etc/pve/nodes/{crashed node}/qemu-server/* /etc/pve/nodes/{target node}/qemu-server/
Thank you this worked effortlessly
 
  • Like
Reactions: aaron
You may want to look into open vSwitch, which could handle this.
Yes on my list of things to try but it's an engineering dev/test envirenment and dedicated ports are connected to dedicated devices. they don't want anyting in the middle. Alas word on the net is that openvs is not so stable is it???
 
I have no idea, I've never tried it myself, yet I heard good things about it and that it can be used to have defined ingress and egress routes over specific ports for the whole cluster.
Defenitly something to play with when time permits. Thanks for your input.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!