[one-users] Zones in 4.6

Carlos Martín Sánchez cmartin at opennebula.org
Fri Jul 11 08:32:01 PDT 2014


Hi Alberto,

If you see your 5 IT VMs in the UK opennebula, maybe is because the whole
master DB was copied into the slave, and not just the few tables needed for
the OpenNebula federation.

Can you please confirm that the dump made during this step [1] only
contains these tables:

user_pool
group_pool
zone_pool
db_versioning
acl

Those same tables should be the only ones in the slave's my.cnf [2].

Regards.

[1]
http://docs.opennebula.org/4.6/advanced_administration/data_center_federation/federationconfig.html#configure-the-mysql-replication-master
[2]
http://docs.opennebula.org/4.6/advanced_administration/data_center_federation/federationconfig.html#configure-the-mysql-replication-slave


--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
<http://twitter.com/opennebula> <cmartin at opennebula.org>


On Thu, Jul 10, 2014 at 1:37 PM, Alberto Zuin - Liste <liste at albertozuin.eu>
wrote:

> Hello,
> just started the upgrade from 4.4 to 4.6 using the zones for multiple
> datacenter federation, but there is something strange in my test setup.
> Just to try, I have 2 datacenter and 1 server for datacenter: so I created
> my first server (Italy), installed One 4.6, mysql, and configured as
> "master" in federation option on oned.conf. I deployed 5 VM on this server.
> After that, I configured the second server (UK), installed One 4.6, mysql,
> imported the master DB, configured mysql replica and configured as Slave on
> oned.conf. Then, in Sunstone, I selected "UK" from the upper menu, I added
> the local host and local datastore and I deployed other 5 VM on it.
> Via sunstone or shell, is the same, I see 10 VM and all the
> hosts/datastores/etc. using UK zone, but only 5 VM and only local resources
> using the master Italy.
> If I stop a VM on IT server, using IT zone, when I switch on UK, it result
> in unknown state, not stop.
> Seems there is something wrong in replication (show slave status on UK
> datacenter is ok), or something similar.
> Can you help me to find my problem?
> Thanks,
> Alberto
>
>
> --
> AZ Network Specialist
> via Mare, 36A
> 36030 Lugo di Vicenza (VI)
> ITALY
> P.I. IT04310790284
> http://www.azns.it
> Tel +39.3286268626
> Fax +39.0492106654
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140711/2c3c7092/attachment-0001.htm>


More information about the Users mailing list