Archived community.zenoss.org | full text search
Skip navigation
12208 Views 5 Replies Latest reply: Feb 10, 2009 10:59 AM by jamesroman RSS
jamesroman Rank: Green Belt 118 posts since
Apr 19, 2007
Currently Being Moderated

Feb 4, 2009 1:42 PM

Planning a 32-bit to 64-bit migration

We are planning on migrating from a 32-bit Zenoss 2.2.4 install to a 64-bit Zenoss 2.3.2 install (on a new server). I've read the upgrade instructions but do not see any special instructions. My upgrade plan looks something like this.
[*:4482d29a26]Record and document internal zenpack components, custom graphs, etc.
[*:4482d29a26]Install new 64-bit Centos 5.2 server with 2.3.2 stack installer [*:4482d29a26]Backup existing 32-bit Zenoss 4.6 server using zenbackup [*:4482d29a26]Upgrade existing 32-bit Zenoss 4.6 server using el4 RPM and RPM upgrade process (including migrating database)
[*:4482d29a26]Test 32-bit Zenoss 2.3.2 install [*:4482d29a26]Run zenbackup on 32-bit install and copy to 64-bit install
[*:4482d29a26]run zenrestore on 64-bit instance
There are some differences between the 32-bit net-snmp and rrdtool packages, which could be consequential when monitoring. The obvious difference is in size of integers that can be processed. This may be irrelevant if Zenoss itself does not handle/allow 64-bit numbers.

Does anyone know if the are any special migration steps for the RRD files to make them capable of storing larger numbers? (export the data inside the RRD files to an xml file, create 64-bit rrd file, import historical data, etc)?

Are there any additional steps that one might need to take to migrate from 32 to 64 bit installs.

 

 

--

James D. Roman
Sr. Network Administrator
Science Systems and Application, Inc.
Phone: 301-867-2101

  • Wouter DHaeseleer ZenossMaster 204 posts since
    Jun 22, 2007
    Currently Being Moderated
    1. Feb 4, 2009 1:50 PM (in response to jamesroman)
    RE: Planning a 32-bit to 64-bit migration
    I did the same migration pad as you are planning last year.

    Do you know that the rrd files are platform specific?
    So what I did was created a shell shell script which exports every rrd file to xml

    and on the 64bit I did the same and imported all xml files into rrd files.
    I wouldn't use the zenbackup/restore to do this

    Rather I would copy things manually
    so:
    - mysqldump -uzenoss -pzenoss events > /tmp/events.sql
    On the 64-bit do an import
    - Convert the rrd files
    - copy the Data.fs file to the 64-bit server
    - copy the $ZENHOME/etc to the 64 bit server

    If I didn't forget something that should be all
  • spyder40 Rank: White Belt 45 posts since
    Apr 17, 2008
    Currently Being Moderated
    2. Feb 4, 2009 5:10 PM (in response to Wouter DHaeseleer)
    migration
    I just went through this moving from 32bit RedHat 5.2 to 64bit Centos 5.2 using 2.3.2. I started down the path of migrating the rrd files but decided it was more of a pain than it was worth so I went through and deleted them after the restore. I installed all my zenpacks then did the restore. Zenhub wouldn't start before I deleted all the 32bit rrd files but fired up nicely aftwards. All in all it was a very painless migration.
  • Andreas Trawoeger Rank: Green Belt 109 posts since
    Apr 10, 2008
    Currently Being Moderated
    3. Feb 5, 2009 9:14 AM (in response to spyder40)
    Re: Planning a 32-bit to 64-bit migration

    "jamesroman" wrote:

     

    We are planning on migrating from a 32-bit Zenoss 2.2.4 install to a 64-bit Zenoss 2.3.2 install (on a new server).


    I'm going do exactly that within our Zenoss production server in the next couple of days.

    After upgrading my test environment I came to the following conclusions:
    - Migrating Zenoss & MySql from 32 to 64bit using the same Zenoss version is pretty painless
    - Migrating from 32 to 64bit and updating Zenoss at the same time should be possible, but I would advice against it.
    - Migrating RRD files from 32 to 64bit is a real pain in the ass.

    So my current migration strategy looks like this:
    - Configuring a new 64bit server with Zenoss 2.2.3. (the version we use on our production server).
    - Restore MySql Event & Zope Database via ZenRestore
    - Write a script that dumps & restores the RRD files between the old and new server
    - Upgrading the new server to Zenoss 2.3.2

    One of the things I'm toying with is the idea to add an --rrd-dump option to zenbackup that backups RRD files in XML format instead of native integer format. But I don't know if its really worth the effort.
  • Wouter DHaeseleer ZenossMaster 204 posts since
    Jun 22, 2007
    Currently Being Moderated
    4. Feb 5, 2009 10:44 AM (in response to Andreas Trawoeger)
    Re: Planning a 32-bit to 64-bit migration

    "atrawog" wrote:

     


    One of the things I'm toying with is the idea to add an --rrd-dump option to zenbackup that backups RRD files in XML format instead of native integer format. But I don't know if its really worth the effort.



    Would be a good thing, I you add that function I will create a trac request to commit that back to zenoss.

    I follow the forums for a while and I notice this is a question which comes quite often...

More Like This

  • Retrieving data ...