|
|
| Author |
Message |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Sun Jul 13, 2008 7:14 pm Post subject: Bloom - Cacti Migration Tool (Teaser) |
|
|
N3ncy and I teamed up to make this plugin. The porpoise, to make the migration from one Cacti Box to another as easy as it can possibly be. Every couple of days it seems we have someone on the forums asking how to migrate. Yes there are instructions, but it's still a time consuming process to even learn the steps to do it.
We've come up with this plugin to dump the MySQL database, Export the RRA's to XML, copy your scripts and copy your Plugins directory, it will then either Tar.Gz or Zip all that together into one file so it can be easily transported to your new machine and imported using the included Perl script.
Attached is a screen shot of the interface and a link to a video of how the Perl Script will work. Hopefully this gets your mouths watering for the actual release.
Teaser Video (normal people)
Teaser Video (everyone else)
| Description: |
|
| Filesize: |
32.37 KB |
| Viewed: |
4946 Time(s) |

|
Last edited by streaker69 on Mon Jul 14, 2008 7:38 am; edited 2 times in total |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Mon Jul 14, 2008 2:21 am Post subject: |
|
|
Cool idea!
Just FYI, the video doesn't play in anything on the mac - might be better to reencode with a more common codec?
(edit: or windows)
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Mon Jul 14, 2008 7:39 am Post subject: |
|
|
| Howie wrote: | Cool idea!
Just FYI, the video doesn't play in anything on the mac - might be better to reencode with a more common codec?
(edit: or windows) |
I re-encoded it to Mpeg format. I would do it to QT, but I don't want to be known as one of those people that caters to the whims of Mac people.
|
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2167 Location: United Kingdom
|
Posted: Mon Jul 14, 2008 7:43 am Post subject: |
|
|
| streaker69 wrote: | | Howie wrote: | Cool idea!
Just FYI, the video doesn't play in anything on the mac - might be better to reencode with a more common codec?
(edit: or windows) |
I re-encoded it to Mpeg format. I would do it to QT, but I don't want to be known as one of those people that caters to the whims of Mac people.  |
I know what you mean... just .avi with a codec that has is somewhat heard of (e.g. divx, mp4, cinepak) works OK
|
|
| Back to top |
|
 |
eternal Cacti User
Joined: 14 Dec 2006 Posts: 57 Location: Kingsport TN
|
Posted: Mon Jul 14, 2008 8:33 am Post subject: |
|
|
Thanks for the re encoding
Great idea
From Abi Normal
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Fri Jul 25, 2008 8:10 am Post subject: |
|
|
| Just for an update. I spoke with N3ncy lastnight about the import script for the Bloom project. He's close to having it done. A few more days and it should be ready to test out.
|
|
| Back to top |
|
 |
apperrault Cacti User
Joined: 16 Feb 2007 Posts: 354 Location: Emeryville, CA
|
Posted: Fri Jul 25, 2008 8:29 am Post subject: |
|
|
Woo Hoo!!! I can't wait for this release.
Thanks for the effort guys, i am sure many people will benefit from it
app
|
|
| Back to top |
|
 |
cdnvballer
Joined: 25 May 2007 Posts: 31
|
Posted: Wed Jul 30, 2008 6:16 pm Post subject: |
|
|
This is great to hear, can't wait...
I have to migrate my existing data to another device and this sounds like the perfect solution
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Wed Aug 06, 2008 11:31 am Post subject: |
|
|
A little more of a teaser.
N3ncy's part is almost completed, my part is almost completed. We're almost ready for testers. I'll be sending my changes over to him today for testing with his script.
| Description: |
|
| Filesize: |
33.49 KB |
| Viewed: |
4113 Time(s) |

|
| Description: |
|
| Filesize: |
17.45 KB |
| Viewed: |
4113 Time(s) |

|
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Wed Aug 13, 2008 11:53 am Post subject: |
|
|
N3ncy noticed while he was testing the import function that I was exporting the entire MySQL database with the initial version I gave him. We decided that could be bad. I ended up re-writing a large portion of the export code so that individual databases can be selected for exporting instead of dumping everything in MySQL.
Here's a screencap of the result. We should be back on track for testing now that this is complete.
We're open to suggestions and comments now, as changes will be much easier to implement while we're still actively working on this. If you have an idea or you see something we missed, please post it here so we can address those concerns now.
| Description: |
|
| Filesize: |
26.18 KB |
| Viewed: |
3890 Time(s) |

|
|
|
| Back to top |
|
 |
curious_user2000
Joined: 19 Aug 2008 Posts: 1
|
Posted: Tue Aug 19, 2008 11:37 pm Post subject: Waiting with baited breath |
|
|
| How is the tool comming along, I know we are all looking forward to testing it!
|
|
| Back to top |
|
 |
Linegod Developer
Joined: 20 Feb 2003 Posts: 518 Location: Canada
|
Posted: Fri Aug 22, 2008 9:42 am Post subject: |
|
|
| streaker69 wrote: | | We decided that could be bad. I ended up re-writing a large portion of the export code so that individual databases can be selected for exporting instead of dumping everything in MySQL. |
Why not just dump the database that is global.php?
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Fri Aug 22, 2008 10:24 am Post subject: |
|
|
| Linegod wrote: | | streaker69 wrote: | | We decided that could be bad. I ended up re-writing a large portion of the export code so that individual databases can be selected for exporting instead of dumping everything in MySQL. |
Why not just dump the database that is global.php? |
Well, I was looking at it from the aspect that other people might be doing what I'm doing, which is running a Snort database, an OpenAudIT database and maybe some others and in the process of migrating, they might want to migrate those as well.
Plus it also gives them a method to do a backup of any of their databases that can quickly re-imported or moved to another machine.
N3ncy and I decided we wanted to try to make this all encompassing as much as we can.
As for where we're at in progress, I'm not too sure. I think N3ncy has been a little busy, so I haven't heard from him for a few days, and I've been working on a new project, but that doesn't mean I've abandoned this one, just found something new to play with.
http://members.netjunkies.net/streaker/files/mame
|
|
| Back to top |
|
 |
Linegod Developer
Joined: 20 Feb 2003 Posts: 518 Location: Canada
|
Posted: Fri Aug 22, 2008 11:52 am Post subject: |
|
|
| streaker69 wrote: |
N3ncy and I decided we wanted to try to make this all encompassing as much as we can.
|
Down that path lies madness. Are you going to tar up the snort directory as well? Are you transferring cronjobs?
|
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Fri Aug 22, 2008 12:20 pm Post subject: |
|
|
| Linegod wrote: | | streaker69 wrote: |
N3ncy and I decided we wanted to try to make this all encompassing as much as we can.
|
Down that path lies madness. Are you going to tar up the snort directory as well? Are you transferring cronjobs? |
Yeah, I realize that part as well. We're gonna leave it up to people to do those kinds of configurations. Regardless, I already have the code written to list all the DB's and select the ones that should be exported.
|
|
| Back to top |
|
 |
|