[hobbit] Migrate hobbit data
Martin Flemming
martin.flemming at desy.de
Tue Aug 5 18:42:07 CEST 2008
Maybe this thread helps ...
http://www.hswn.dk/hobbiton/2007/01/msg00346.html
cheers,
martin
On Tue, 5 Aug 2008, Everett, Vernon wrote:
> You are a glutton for punishment, aren't you?
>
> You have to use rrdtool and export the data from every .rrd file into an
> XML file.
> Then copy the XML dumps over to the new server, and import them back
> into .rrd files of the same name.
>
> The issue has to do with Solaris/Sparc being big-endian and Linux/Intel
> is little-endian, and how the data is stored on different architecture.
> Read more here http://en.wikipedia.org/wiki/Big-endian (If I try and
> explain, I will probably stuff it up. It's late here)
>
> You can read more about the migration here.
> http://osdir.com/ml/network.smokeping.user/2003-06/msg00019.html
> You can script it to make it easier, but your migration will take a LOT
> longer.
>
> Cheers
> V
>
>
> ________________________________
>
> From: Roberts, James [mailto:James.Roberts at hants.gov.uk]
> Sent: Tuesday, 5 August 2008 8:54 PM
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] Migrate hobbit data
>
>
> ok sledgehammer at the ready....what's the work around?
>
>
> ________________________________
>
> From: Everett, Vernon [mailto:Vernon.Everett at woodside.com.au]
> Sent: 05 August 2008 13:36
> To: hobbit at hswn.dk
> Subject: RE: [hobbit] Migrate hobbit data
>
>
> Yes, but with a caveat.
> If you change architecture, your rrd files might not survive.
> If you go like for like e.g. x86 to x86, you should be fine.
> However, you will have problems if you migrate from X86 to Sparc, or
> vice-versa.
> There is a workaround, but I would rather have my head set on fire, and
> put out with a sledghammer.
>
> If you are going to the same OS, and the same hardware, then it's full
> steam ahead, and f*** the icebergs.
> Make sure your new server has all the prerequisites for Hobbit
> installed.
> Install Hobbit. Check it starts, then shut it down.
> Now simply shut down the old Hobbit installation, copy the data and
> config files, and start up the new one.
>
> Your data will include ~/server/etc
> And /wherever/you/put/hobbit/data
> Don't forget any custom scripts in ~server/ext
>
> Make sure the clients are pointing to the new server.
> The easiest way is to change the IP address of the new server to look
> like the old.
> Failing that, change DNS or host lookup to point ot the new server.
>
> You should then be back in business.
>
>
>
>
> ________________________________
>
> From: T.J. Yang [mailto:tj_yang at hotmail.com]
> Sent: Tuesday, 5 August 2008 7:15 PM
> To: hobbit at hswn.dk
> Subject: Re: [hobbit] Migrate hobbit data
>
>
> a very good entry for FAQ or HOWTO if it is not already in hobbitmon
> wiki site.
> http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs
>
>
> tj
>
> From: Roberts, James <mailto:James.Roberts at hants.gov.uk>
> Sent: Tuesday, August 05, 2008 6:00 AM
> To: hobbit at hswn.dk
> Subject: [hobbit] Migrate hobbit data
>
>
> I am planning to move my hobbit server install to a new server...
>
> If it possible to migrate all the data from the old install to the new
> one?
>
>
>
> James Roberts
> IT Consultant - IT Services
> Hampshire County Council
> Room 415,Elizabeth II Court, The Castle,
> Winchester, Hants SO23 8US
> Internal HPSN: (200) 5037
> Tel: +44 (0)1962 845037
> Fax: +44 (0)1962 847434
> james.roberts at hants.gov.uk
> Web: WWW.Hants.Gov.UK <file://WWW.Hants.Gov.UK>
>
> NOTICE: This email and any attachments are confidential.
> They may contain legally privileged information or
> copyright material. You must not read, copy, use or
> disclose them without authorisation. If you are not an
> intended recipient, please contact us at once by return
> email and then delete both messages and all attachments.
>
> NOTICE: This email and any attachments are confidential.
> They may contain legally privileged information or
> copyright material. You must not read, copy, use or
> disclose them without authorisation. If you are not an
> intended recipient, please contact us at once by return
> email and then delete both messages and all attachments.
>
More information about the Xymon
mailing list