[Xymon] migrating from i386 to x86_64

Martin Flemming martin.flemming at desy.de
Tue Sep 13 00:01:21 CEST 2011


Great, thanks a lot !

 	martin

On Mon, 12 Sep 2011, Johan Sjöberg wrote:

> I used this on the old server (run from the rrd directory)
>
> #!/bin/bash
> for j in $(ls -d */)
> do
>        cd $j
>        for i in $(ls *.rrd)
>        do
>                RRD=$(echo $i | sed s/\.rrd/\.xml/)
>                rrdtool dump $i $RRD
>        done
>        cd ..
> done
>
> And on the new server, after scp:ing the rrd directory and deleting old the .rrd files:
>
> #!/bin/bash
> for j in $(ls -d */)
> do
>        cd $j
>        echo $j
>        for i in $(ls *.xml)
>        do
>                RRD=$(echo $i | sed s/\.xml/\.rrd/)
>                rrdtool restore $i $RRD
>        done
>        cd ..
> done
>
> It can probably be done nicer, but it worked.
>
> /Johan
>
> -----Original Message-----
> From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Martin Flemming
> Sent: den 12 september 2011 22:18
> To: xymon at xymon.com
> Subject: [Xymon] migrating from i386 to x86_64
>
>
> Hi !
>
> Got somebody already a script for migrating all rrd's from i386 to x86_64 ?
>
> I want to migrate in the near future to SL6 and we will provide only
> x86_64 as platform anymore ...
>
> Thanks & Cheers,
>
>        Martin
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>

Gruss

        Martin Flemming


______________________________________________________
Martin Flemming
DESY / IT          office : Building 2b / 008a
Notkestr. 85       phone  : 040 - 8998 - 4667
22603 Hamburg      mail   : martin.flemming at desy.de
______________________________________________________


More information about the Xymon mailing list