Hello,
For the largest VMs is the declaration of the XML file for the VM ..
example:
<disk type='network' device='disk'>
<driver name='qemu' type='raw'/>
<auth username='opennebula'>
<secret type='ceph' uuid='xxxxx'/>
</auth>
<source protocol='rbd' name='opennebula/one-4-1043-0'>
<host name='10.4.0.1' port='6789'/>
<host name='10.4.0.3' port='6789'/>
<host name='10.4.0.4' port='6789'/>
</source>
<target dev='vda' bus='virtio'/>
<address type='pci' domain='0x0000' bus='0x00' slot='0x03'
function='0x0'/>
</disk>
Try adding a ""<host name='A.B.C.D' port='6789'/>""" via "virsh"
and via the command ""netstat -laputen" verify that the CEPH-MON is
well supported ..
And there you can delete the old CEPH-MON
Jimmy
On Wed, 30 Sep 2015 09:20:19 +0000, george.ryall@xxxxxxxxxx wrote:
Hi,
I have also posted on the OpenNebula community forum
(https://forum.opennebula.org/t/changing-ceph-monitors-for-running-vms/1266
[1]).
Does anyone have any experience of changing the monitors in their
Ceph
cluster whilst running OpenNebula VMs?
We have recently bought new hardware to replace our old Ceph
monitors,
I have replaced two of the three monitors in the Ceph cluster (one at
a time, adding one then removing one). I have updated the CEPH_HOST
property of our OpenNebula datastore and newly launched VMs pick this
up and use the right mons. However VMs instantiated before I made
this
change are still using the old mons for CEPH_HOST. In practice they
are all talking to the one original mon remaining as the others are
no
longer in the Ceph cluster and are now shutdown. I would very much
like to migrate these remaining VMs to using the new mons, as I would
like to remove the remaining old one (and it is precarious having
them
rely on a single host).
George Ryall
Scientific Computing | STFC Rutherford Appleton Laboratory | Harwell
Oxford | Didcot | OX11 0QX
Links:
------
[1]
https://forum.opennebula.org/t/changing-ceph-monitors-for-running-vms/1266
--
Jimmy Goffaux
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com