|
|
| Author |
Message |
cdnvballer
Joined: 25 May 2007 Posts: 31
|
Posted: Fri May 30, 2008 2:07 pm Post subject: moving cacti database to a new server - question |
|
|
is there a quick and pain-free way to do this?
ideally would like to preserve all rrds and device/graph settings...
goal is to replicate my existing cacti setup on a different machine,
located in different geographic region..
pls let me know, so far all I can think of is
backup database,
tarball cacti directory
move both to new machine and extract accordingly..
I'm quite sure I'm missing something here  |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5443 Location: Wisconsin, USA
|
Posted: Mon Jun 02, 2008 5:43 pm Post subject: |
|
|
It is important to note that is the Machines architectures are not the same you will have to dump and import the RRDTool files to the new machine. Also, if the OS is not similar enough, Windows to Linux, FreeBSD to Linux, you will have to dump and import as well.
Also, to prevent data loss, I would suggest you get the database copied over and let the new server start collecting data.
Then dump and import the RRDTool files in batches to the new host. This way you avoid any gaps in your graphs and you make sure your new installation is working.
If you have more question or you need assistance, I have done many moves and maybe I can help you out. |
|
| Back to top |
|
 |
cdnvballer
Joined: 25 May 2007 Posts: 31
|
Posted: Fri Jul 11, 2008 6:43 pm Post subject: |
|
|
Hi,
I'm not very familiar with how dumping rrd's work.
can someone help me with the steps involved in
copying an existing cacti install (data as well) to a newer server?
both servers (old and new) running same OS and hardware;
I need to replicate the old server to a new geographic location...
pls help, thx |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Mon Aug 11, 2008 2:03 pm Post subject: |
|
|
Please see plugin section, there's a new "move cacti" plugin out there!
Reinhard |
|
| Back to top |
|
 |
cdnvballer
Joined: 25 May 2007 Posts: 31
|
Posted: Mon Aug 11, 2008 3:02 pm Post subject: |
|
|
Are you referring to "Bloom" ?
I only see a post with teaser images
this would be great, if I could dl and try it out.. heh |
|
| Back to top |
|
 |
gandalf Developer
Joined: 02 Dec 2004 Posts: 12186 Location: Muenster, Germany
|
Posted: Tue Aug 12, 2008 2:35 pm Post subject: |
|
|
The "streaker" one? Yes, I did not have a closer look. There's no downloadable code in there?
Reinhard |
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Tue Aug 12, 2008 2:42 pm Post subject: |
|
|
| gandalf wrote: | The "streaker" one? Yes, I did not have a closer look. There's no downloadable code in there?
Reinhard |
Actually, we're almost ready for distro. My half of it is done, which is the exporting function. N3ncy is still completing the import function. He said he should have something ready to test by next monday barring anything bad happening.
We've been sending code back and forth for the past week or so working out the bugs. |
|
| Back to top |
|
 |
N3NCY Cacti User
Joined: 22 Sep 2005 Posts: 241 Location: Landenberg, PA
|
Posted: Tue Aug 12, 2008 6:29 pm Post subject: |
|
|
We are doing a test migration tonight.
Source Centos
Destination FreeBSD
Next test will be Linux to Linux
Then FreeBSD to Linux
After that we will add Windows to the mix. |
|
| Back to top |
|
 |
streaker69 Cacti Pro User
Joined: 27 Mar 2006 Posts: 647 Location: Psychic Amish Network Administrator
|
Posted: Wed Aug 13, 2008 10:10 am Post subject: |
|
|
| N3NCY wrote: | We are doing a test migration tonight.
Source Centos
Destination FreeBSD
Next test will be Linux to Linux
Then FreeBSD to Linux
After that we will add Windows to the mix. |
N3ncy brought up an interesting point while we were working on this while he was attempting to import my 900Mb Cacti database. So there's gonna be some major reworking of the Bloom export code. |
|
| Back to top |
|
 |
|