# Testing environments for demos before upgrade

**URL:** <https://forum.opennebula.io/t/testing-environments-for-demos-before-upgrade/3064>\
**Category:** Product Support\
**Created:** [October 5, 2016, 7:55am UTC](https://forum.opennebula.io/t/testing-environments-for-demos-before-upgrade/3064 "2016-10-05T07:55:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Skymix](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/skymix/32/4199_2.png) [@Skymix](https://forum.opennebula.io/u/Skymix)\
**Post date:** [October 5, 2016, 7:55am UTC](https://forum.opennebula.io/t/testing-environments-for-demos-before-upgrade/3064/1 "2016-10-05T07:55:17Z")

</div>

Hello

I have some ONE installations with differents FileSystems (XFS, EXT4) , Datastores (SAN (fslvm), NAS (Glusterfs, NFS), Networks (VLAN, isolateds), Hosts (Physical, Blades), HA for Sunstone…

My problem is when i must to evaluate the migration to other new ONE version.

I have think the possibility to virtualize my installation but with a backup the problem is that we dont have similar specs on the virtual environment so i couldnt evaluate the environment correctly.

Do you have any best practices to make a test environment based on a production cluster?

What is the best practices to clone an production opennebula to a for example virtualbox environment?

How do you make the test for brokens evolution from a production environment?

Thanks a lot!!

---

<div class="post-metadata">

**Author:** ![Skymix](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/skymix/32/4199_2.png) [@Skymix](https://forum.opennebula.io/u/Skymix)\
**Post date:** [October 5, 2016, 8:09am UTC](https://forum.opennebula.io/t/testing-environments-for-demos-before-upgrade/3064/2 "2016-10-05T08:09:37Z")

</div>

My steps to clone an installation are:

1. Take a backup from /etc/one

2. Take a backup from /var/lib/one/.one

3. Take a backup from mysql database

4. Restore all the backups on a new system with an clean installation of ONE

5. Try to upgrade the environment.

Problems:

The hosts are not the same

The images, templates, VNIC, VMs are not the same

Could it be a test environment for upgrades?

Jose Angel Diaz Diaz  
Coordinador Tecnologico

Centro de Excelencia de Fuentes Abiertas (CENATIC)  
Dirección adjunta de Sistemas de Información

red.es  
Edificio Cenatic  
Calle Clara Campoamor s/n  
06200 Almendralejo. España  
Telf: 924 677 316  
www.red.es  
www.unblogenred.es
