Test failover CEPH not work

teerawich

New Member
Jan 17, 2018
5
1
1
34
Hello,

I have 3 nodes clusters with CEPH test Proxmox VE 5.4
- 3 Mon
- 6 OSD (2 x per node)
- Configured 2 Replica
- Running VM on CEPH storage

Then I have shutdown 1 node for testing VM on CEPH, VM running but can't write to disk.

How can I fix it ? Please recommended.

Thank you.
 

Attachments

  • Screen Shot 2562-05-16 at 17.43.29.png
    Screen Shot 2562-05-16 at 17.43.29.png
    140.6 KB · Views: 6
  • Screen Shot 2562-05-16 at 17.44.55.png
    Screen Shot 2562-05-16 at 17.44.55.png
    794.5 KB · Views: 5
  • Screen Shot 2562-05-16 at 17.44.16.png
    Screen Shot 2562-05-16 at 17.44.16.png
    95.4 KB · Views: 5
- Configured 2 Replica
First off, don't run with replica 2, especially in small clusters. It can happen that no copy of an object is written on disk during failure/recovery. Besides that, if your min_size is also 2, then Ceph doesn't allow writes till 2 copies are established of all the objects in a pool. Best run with size 3 / min_size 2.
 
Hello,

First off, don't run with replica 2, especially in small clusters. It can happen that no copy of an object is written on disk during failure/recovery. Besides that, if your min_size is also 2, then Ceph doesn't allow writes till 2 copies are established of all the objects in a pool. Best run with size 3 / min_size 2.

It's work.

Thank you.