Hello!,
I have a win32 version fo the cacti, and I like to move to linux. Is exist a procedure to move to linux without lost information?
Thanks
Edwin
Migrate from Win32 to Linux
Moderators: Developers, Moderators
I think all you have to do is save your cacti database and your rrds and you're good. I could be way off though. I'd wait for someone who knows more to respond
[size=75]Solaris 10 x86 [color=red][b]||[/b][/color] Cacti - 0.8.7 [color=red][b]||[/b][/color] MySQL - 5.0.45 [color=red][b]||[/b][/color] PHP - 5.2.6 [color=red][b]||[/b][/color] RRDTool - 1.2.23 [color=red][b]||[/b][/color] NET-SNMP - 5.4.1 [color=red][b]||[/b][/color] Syslog-ng 2.0.5
[url=http://www.indigo-networks.com]indigo-networks.com[/url][/size]
[url=http://www.indigo-networks.com]indigo-networks.com[/url][/size]
You will most likely have to export the rrd files to XML and import them on the Linux box. rrdtool does not like different platforms (even x86 and x86-64 Linux).
Everything else should be just a case of installing cacti on the Linux box, and importing a mysqldump from the Windows box, and correcting some paths.
Everything else should be just a case of installing cacti on the Linux box, and importing a mysqldump from the Windows box, and correcting some paths.
--
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
Live fast, die young
You're sucking up my bandwidth.
J.P. Pasnak,CD
CCNA, LPIC-1
http://www.warpedsystems.sk.ca
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
To make absolutely certain, migrating is not too difficult with the exception of the RRD file migration. You should follow the steps below:
1) Freeze your database changes (no more hosts, templates, etc...)
2) Between polls, dump your database and move to the new server
3) Install the new database from the dump
a) mysqladmin -u root -p create cacti
b) mysql -u root -p cacti < mydump.sql
4) Obtain a maintenance window from your customer where you can aford to loose anywhere up to 1 hour of polling (depends on the number of RRD files)
5) Plan a dry run to fix issues
6) Write a windows script, can be a batch file, that xports all RRD files to XML
7) Write a unix script that converts all XML files to RRD files
8) From Windows create a share to your rrd files
9) From Linux, mount the share
10) Once the Windows host has completed creating the XML files, run the script from the Unix side to convert to RRD.
11) Enable the poller in Linux and make sure everything is working as advertised.
12) Once you have worked all the bugs out, rerun this process during your pre-negotiated maintenance window.
LVM, should write a few chapters on this...
TheWitness
1) Freeze your database changes (no more hosts, templates, etc...)
2) Between polls, dump your database and move to the new server
3) Install the new database from the dump
a) mysqladmin -u root -p create cacti
b) mysql -u root -p cacti < mydump.sql
4) Obtain a maintenance window from your customer where you can aford to loose anywhere up to 1 hour of polling (depends on the number of RRD files)
5) Plan a dry run to fix issues
6) Write a windows script, can be a batch file, that xports all RRD files to XML
7) Write a unix script that converts all XML files to RRD files
8) From Windows create a share to your rrd files
9) From Linux, mount the share
10) Once the Windows host has completed creating the XML files, run the script from the Unix side to convert to RRD.
11) Enable the poller in Linux and make sure everything is working as advertised.
12) Once you have worked all the bugs out, rerun this process during your pre-negotiated maintenance window.
LVM, should write a few chapters on this...
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?
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?
- rony
- Developer/Forum Admin
- Posts: 6022
- Joined: Mon Nov 17, 2003 6:35 pm
- Location: Michigan, USA
- Contact:
Read the documentation for rrdtool.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Who is online
Users browsing this forum: No registered users and 7 guests