<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Andy France wrote:
<blockquote
 cite="midOF3303EE48.C0B2D0E1-ONCC257124.00106307-CC257124.0010DE7B@zespri.com"
 type="cite"><br>
  <font size="2"><tt>ZanDAhaR <a class="moz-txt-link-rfc2396E" href="mailto:allan@zandahar.net"><allan@zandahar.net></a> wrote on
01/03/2006
03:52:41 p.m.:<br>
  <br>
> David Pullman wrote:<br>
> > I also had to do the export/import of rrd files when moving
from
RHEL4 <br>
> > on an i686 to RHEL 4 on a x86_64 processor type.<br>
> ><br>
> > --David<br>
> ><br>
> > Andy France wrote:<br>
> >><br>
> >> ZanDAhaR wrote on 28/02/2006 06:56:12 p.m.:<br>
> >><br>
> >>  > Hey guys,<br>
> >>  ><br>
> >>  > Can't seem to find anything on this but then again
I haven't gone<br>
> >>  > through all the results that come up on the mailing
list search <br>
> >> either.<br>
> >>  ><br>
> >>  > We moved from BB server to a Hobbit server a while
ago but it was <br>
> >> on the<br>
> >>  > same box so there was no issue there. We are
shuffling
some old <br>
> >> hardware<br>
> >>  > around and decided to give our hobbit server some
more grunt and also<br>
> >>  > add some other odd apps on it. We'll want to
progrssively
move the <br>
> >> hosts<br>
> >>  > over to the new server so the clients are cool,
just update the ip in<br>
> >>  > windows ones, and the ip and hostname in the nix
ones<br>
> >>  ><br>
> >>  > As for the server I'm assuming I can just copy
the data dir over <br>
> >> for the<br>
> >>  > host I'm moving. I cannot imagine there being
anything server <br>
> >> specific<br>
> >>  > in any of the status messages or graphs ?<br>
> >><br>
> >> Watch out if you are changing OS/filesystem at all.
 Existing
RRD <br>
> >> files will need to be exported and imported rather copied
if this is <br>
> >> the case (I had to do this for a small-ish migration from
Solaris x86 <br>
> >> to Solaris Sparc).<br>
> >><br>
> >>  > So action plan would be, shut down client on XYZ,
define it in <br>
> >> bb-hosts<br>
> >>  > file on NEWHOBBIT, has it out in the OLDHOBBIT
bb-hosts file, copy<br>
> >>  > appropriate data folders from OLDHOBBIT to
NEWHOBBIT
(update <br>
> >> ownership<br>
> >>  > if need be), update ip addy and hostname in XYZ
client settings, <br>
> >> start<br>
> >>  > client XYZ, be happy :)<br>
> >>  ><br>
> >>  > Any flaws in this thinking or suggestions of easier
way even though I<br>
> >>  > cannot imagine one can you please let me know<br>
> >>  ><br>
> >>  > Thanks<br>
> >>  ><br>
> >>  > Allan<br>
> >>  ><br>
> >><br>
> >> Andy.<br>
> >><br>
> >><br>
> ><br>
> > To unsubscribe from the hobbit list, send an e-mail to<br>
> > <a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
> ><br>
> Hmm ok I hadnt thought about that as I don't understand the inner
  <br>
> workings of RRD etc. We're moving from a Pentium Pro 200 box on
Redhat
  <br>
> 7.2 to a Dual Athlon MP System on Redhat 9 (why RH9 you ask, its
the
  <br>
> ONLY supported OS for another application thats going on there and
if we <br>
> hit any problems if its not RH9 they will not help us, poverty I
know)<br>
> <br>
> If I do a uname -m they both say i686, uname -p one says unknown
other
  <br>
> says athlon. Should this be an issue ? Also if they are different
enough <br>
> will the graphs just not work or be corrupted or not update ? Can
  <br>
> someone please assist me in how to import/export the rrd files
then
as I <br>
> have never done that before. Been looking in the rrd docs but
still
not <br>
> entirely sure what I need/want.<br>
> <br>
> The proxy idea sounds good although I don't know if its going to
be
  <br>
> warranted in this case as we don't have a huge number of hosts to
deal with.<br>
> <br>
> Thanks for the feedback guys<br>
> <br>
> Allan<br>
> <br>
> To unsubscribe from the hobbit list, send an e-mail to<br>
> <a class="moz-txt-link-abbreviated" href="mailto:hobbit-unsubscribe@hswn.dk">hobbit-unsubscribe@hswn.dk</a><br>
> <br>
> <br>
  </tt></font>
  <br>
  <font face="sans-serif" size="2">As the systems are both Linux, are
same-endian
(i686). and same FS (ext3?), I can only surmise that you should be able
to just copy the RRD files.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">If they are not compatible then the
updates will fail as rrdtool will not be able to read the existing
format.</font>
  <br>
  <br>
  <font face="sans-serif" size="2">As far as actually converting them
goes,
I kind of did it on the fly so don't have any useful scripts to pass on
:-)  It's pretty easy and the RRDTOOL website does provide examples
(<a class="moz-txt-link-freetext" href="http://rrdtool.trexle.net/doc/rrddump.en.html">http://rrdtool.trexle.net/doc/rrddump.en.html</a>)</font>
  <br>
  <br>
  <font face="sans-serif" size="2">HTH,</font>
  <br>
  <font face="sans-serif" size="2">Andy.</font>
  <p>#####################################################################################</p>
  <p>This email is intended for the person to whom it is addressed<br>
only. If you are not the intended recipient, do not read, copy<br>
or use the contents in any way. The opinions expressed may not<br>
necessarily reflect those of ZESPRI Group of Companies ('ZESPRI').</p>
  <p>While every effort has been made to verify the information<br>
contained herein, ZESPRI does not make any representations <br>
as to the accuracy of the information or to the performance<br>
of any data, information or the products mentioned herein.<br>
ZESPRI will not accept liability for any losses, damage or<br>
consequence, however, resulting directly or indirectly from<br>
the use of this e-mail/attachments.<br>
#####################################################################################</p>
</blockquote>
Ok cool so basically the graphs stop updating if theyre NQR after the
move, I guess thats pretty effortless to test, move a host onto the new
box and come back in a day and see what happens I suppose.<br>
<br>
As for the import/export I did the the convert to xml bit but I wasnt
sure if thats what I was supposed to be looking at. <br>
<br>
Wicked thanks for the input guys, has certainly cleared some things up,
confirmed some things, and alerted me to things I probably never would
have thought of and then gone 'uhhh wont doesnt this thing work'<br>
<br>
THanks all<br>
<br>
Allan<br>
</body>
</html>