Discussion:
Moving Zenoss Core 2.4.2 to 4.2
Guillaume Leonard
2012-10-10 14:45:24 UTC
Permalink
Guillaume Leonard [http://community.zenoss.org/people/gleonard] created the discussion

"Moving Zenoss Core 2.4.2 to 4.2"

To view the discussion, visit: http://community.zenoss.org/message/68964#68964

--------------------------------------------------------------
Hi,

We've been using a pretty old version of Zenoss Core (2.4.2) for quite some time now. It's running on an Ubuntu 9.04 virtual machine. We would like to upgrade to Zenos Core 4.2, however the upgrade path is not really easy.

Because we are using Ubuntu, and the Supported Operating Systems are Red Hat and CentOS (according to the http://wiki.zenoss.org/Install_Zenoss http://wiki.zenoss.org/Install_Zenoss page). All the prerequisites (MySQL, Python, etc) must also be upgraded and I am unsure that they are supported in Ubuntu 9.04, because 9.04 support ended on October 2010.

I have decided to create a new VM running CentOS 6.3 and Zenos Core 4.2. I have installed Zenoss Core using the auto-deploy script :

# wget --no-check-certificate https://raw.github.com/zenoss/core-autodeploy/master/core-autodeploy-4.2.sh
# chmod +x core-autodeploy-4.2.sh
# ./core-autodeploy-4.2.sh
Zenos Core 4.x is now running fine on CentOS but it is not configured at all. I would like to migrate my settings from 2.4.2 to 4.2. I have read the documentation about upgrading, but since I am moving on another server, and another OS, I don't think I can follow that path. I have also read on these forums that I cannot use a backup from a previous version and restore it into a newer one.

We do not use ZenPacks. We use Zenoss very lightly...basically we have a list of devices (servers, switchs, vpn, access points, etc) that we use to ping. We have 94 devices and still growing. I don't care about moving the events history, we can loose it.

Since I only want to move the devices, is it possible to migrate only the devices to the new version ? It might be easier to only move the devices and not the entire settings.

We are migrating to 4.x because we want to start using Zenoss more. Therefore, we want to use the latest version and make sure that we don't miss anything.

Thank you !

Guillaume.

--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/68964#68964]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
jcurry
2012-10-12 08:09:19 UTC
Permalink
jcurry [http://community.zenoss.org/people/jcurry] created the discussion

"Re: Moving Zenoss Core 2.4.2 to 4.2"

To view the discussion, visit: http://community.zenoss.org/message/69048#69048

--------------------------------------------------------------
Hi Guillaume.

I feel your pain!  I need a SuSE upgrade path and have been pushing for something other than RedHat/CentOS since March.

That said, I have some scripts that may at least help you document / verify any "migration" that you do.  The scripts are in a tar bundle on github here - https://github.com/jcurry/Audit https://github.com/jcurry/Audit .

I have tested them on 3.1 and 4.2.  The only thing that does not work on 4.2 is the alerting rules scripts as this is a major area of change.  Hopefully I will get there eventually - unless someone else does it first :)

This doesn't actually do the port for you but hopefully it does help audit what you have in any given Zenoss environment.

Cheers,
Jane
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69048#69048]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ryan Matte
2012-10-12 08:50:21 UTC
Permalink
Ryan Matte [http://community.zenoss.org/people/rmatte] created the discussion

"Re: Moving Zenoss Core 2.4.2 to 4.2"

To view the discussion, visit: http://community.zenoss.org/message/69054#69054

--------------------------------------------------------------
Your best bet would be to load your event mappings in to a ZenPack so that you can install the pack in 4.2 to migrate them.  You'll also want to dump a list of your devices via zendmd (search around, there are tons of zendmd examples laying around) and then use zenbatchload to load the devices in to Zenoss 4.  You'll also want to install any ZenPacks that you need in to Zenoss 4 before you do that.  After the devices are in Zenoss 4 and have been modeled you can then copy your RRD files over from Zenoss 2 to Zenoss 4 and you should be up and rolling.  There is no clean way to migrate the events as the event system has drastically changed in Zenoss 4, so you'll be out of luck for that.  That's really the best that I can suggest.  I'm in the same boat with a bunch of my production Zenoss instances.  I'm putting all new instances on Zenoss 4 but I will eventually be migrating the old instances and that's essentially the process that I'm going to be following when I do.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/69054#69054]

Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
mikea730
2013-06-03 22:29:34 UTC
Permalink
mikea730 [http://community.zenoss.org/people/mikea730] created the discussion

"Re: Moving Zenoss Core 2.4.2 to 4.2"

To view the discussion, visit: http://community.zenoss.org/message/73459#73459

--------------------------------------------------------------
Ryan,

I'm running 3.2.1 on SUSE and also want to upgrade to 4.2.   I'm considering migrating to Red Hat.  I don't really care about the event history, but I do need to migrate everything else, (devices, event mappings, event "transforms", alert rules, etc...).  Have you had much luck migrating your production instances?  Any information or documentation on the steps you went through?  

Any information is greatly appreciated!

Thanks!
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73459#73459]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Ryan Matte
2013-06-04 14:51:53 UTC
Permalink
Ryan Matte [http://community.zenoss.org/people/rmatte] created the discussion

"Re: Moving Zenoss Core 2.4.2 to 4.2"

To view the discussion, visit: http://community.zenoss.org/message/73481#73481

--------------------------------------------------------------
We haven't tried yet since we're still in the process of deciding whether or not we want to switch to using Zenoss Enterprise.
--------------------------------------------------------------

Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/73481#73481]

Start a new discussion in zenoss-users at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
Loading...