Migrate from 0.8.6j to 0.8.7a - New Hardware and OS

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
turlockaviator
Posts: 25
Joined: Wed Sep 12, 2007 12:17 pm
Contact:

Migrate from 0.8.6j to 0.8.7a - New Hardware and OS

Post by turlockaviator »

It's been a learning experience with a number of challenges maintaining my Cacti installation. I started at 0.8.6h if I recall, made it to 0.8.6j without too much hair loss. Needless to say, my Linux administration skills have improved (I'm no longer just a network manager).

So, here's the deal. Looking to migrate off of a Suse Linux Enterprise Server 10 running Cacti 0.8.6j to an Ubuntu 7.10 Feisty Fawn Server running Cacti 0.8.7a. We're talking about separate hardware here with fresh installation of Cacti 0.8.7a on the Ubuntu host (actually, this is all running on VMWare ESX guest hosts).

Haven't a clue where to begin. Would like to retain all of my historical data. So I'm guessing some sort of mysql backup and restoration as well as copying all my rrd files? How about plugins? Saw some mention somewhere that all plugins would have to be rewritten to support 0.8.7? I'm using PHP Network Weathermap, Thold, Superlinks, and a couple of other plugins. Certainly want to retain those.

I guess I'm wondering if there is any sort of documentation that might help me get through this and/or if anyone else has any advice.

Sure do appreciate the invaluable assistance these forums provide.

Thanks in advance...

Happy Holidays to ALL!!!
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Moving to the proper forum.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
turlockaviator
Posts: 25
Joined: Wed Sep 12, 2007 12:17 pm
Contact:

Proper Forum

Post by turlockaviator »

Which forum might that be?

Thanks!!!
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

This one :)
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
turlockaviator
Posts: 25
Joined: Wed Sep 12, 2007 12:17 pm
Contact:

The light

Post by turlockaviator »

I see the light!!!

Thanks. Hopefully my questions will garner some responses now that they're in the correct location...
User avatar
fmangeant
Cacti Guru User
Posts: 2345
Joined: Fri Sep 19, 2003 8:36 am
Location: Sophia-Antipolis, France
Contact:

Post by fmangeant »

Here's what I would do :
  • copy your Cacti 0.8.6j directory from the Suse to the Ubuntu
  • export your MySQL database from the Suse, and import it on the Ubuntu
  • create a MySQL user on the Ubuntu
  • check that Cacti 0.8.6j works on the Ubuntu
  • upgrade to Cacti to 0.8.7a on the Ubuntu
That way, you can't break anything, as your Suse server won't be touched.
[size=84]
[color=green]HOWTOs[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15353]Install and configure the Net-SNMP agent for Unix[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=26151]Install and configure the Net-SNMP agent for Windows[/url]
[*][url=http://forums.cacti.net/viewtopic.php?t=28175]Graph multiple servers using an SNMP proxy[/url][/list]
[color=green]Templates[/color] :
[list][*][url=http://forums.cacti.net/viewtopic.php?t=15412]Multiple CPU usage for Linux[/url]
[*][url=http://forums.cacti.net/viewtopic.php?p=125152]Memory & swap usage for Unix[/url][/list][/size]
turlockaviator
Posts: 25
Joined: Wed Sep 12, 2007 12:17 pm
Contact:

Thanks

Post by turlockaviator »

Hmm, didn't look at it that way. Expected a migration to 0.8.7a through moving data and not the application itself would be cleaner. I'll have to see if I can make this work. If my suspicions turn out that many of my plugins won't work unless modified tor 0.8.7, I may end up sticking with 0.8.6j for a while as I don't really want to do all that work again.

Appreciate the help...

I'm looking forward to the day when there are automated scripts to do upgrades and a Cacti upgrade doesn't break anything else (i.e. plugins, existing scripts, etc.). Of course, if it was all that easy, then there wouldn't be a need for those of us with these skills sets.

:D

Thanks again...
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

I am in full agreeent. Nothing like a challenge once and a while. Once we include the PIA into Cacti itself, we will be in better shape. We also have discussed process changes with some of the "key" plugin developers to avoid problems in the future.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest