Moving config to a fresh install

How hard is it to move/copy the Observium config to a newly built machine?
Best regards, Scott Brawner IS Manager - Infrastructure Kratos Defense and Security Solutions, Inc. o. 843-308-2364 m. 843-814-3912
Description: cid:image002.jpg@01CBD278.0CADB410
For every complex problem, there is a solution that is simple, neat, and wrong. -- H. L. Mencken

The config itself is one file, the data though, can be fairly substantial, you need to copy all your rrd's and any other data (possibly your mysql database). On my installation I have something like 60G of data in RRDs.
On Fri, Feb 28, 2014 at 6:37 AM, Scott Brawner < Scott.Brawner@kratosdefense.com> wrote:
How hard is it to move/copy the Observium config to a newly built machine?
Best regards, Scott Brawner IS Manager - Infrastructure Kratos Defense and Security Solutions, Inc. o. 843-308-2364 m. 843-814-3912
[image: Description: cid:image002.jpg@01CBD278.0CADB410]
*For every complex problem, there is a solution that is simple, neat, and wrong. -- H. L. Mencken*
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Even if I didn't care about the RRDs? Just want the devices, strings etc. It's all in the db right?
Thanks, Scott Brawner Description: cid:image002.jpg@01CBD278.0CADB410
From: observium [mailto:observium-bounces@observium.org] On Behalf Of Michael Loftis Sent: Friday, February 28, 2014 10:54 AM To: Observium Network Observation System Subject: Re: [Observium] Moving config to a fresh install
The config itself is one file, the data though, can be fairly substantial, you need to copy all your rrd's and any other data (possibly your mysql database). On my installation I have something like 60G of data in RRDs.
On Fri, Feb 28, 2014 at 6:37 AM, Scott Brawner Scott.Brawner@kratosdefense.com wrote:
How hard is it to move/copy the Observium config to a newly built machine?
Best regards, Scott Brawner IS Manager - Infrastructure Kratos Defense and Security Solutions, Inc. o. 843-308-2364 m. 843-814-3912
Description: cid:image002.jpg@01CBD278.0CADB410
For every complex problem, there is a solution that is simple, neat, and wrong. -- H. L. Mencken
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

On 02/28/2014 05:15 PM, Scott Brawner wrote:
Even if I didn't care about the RRDs? Just want the devices, strings etc. It's all in the db right?
Yes. Database+config file then.
Thanks, Scott Brawner Description: cid:image002.jpg@01CBD278.0CADB410
*From:*observium [mailto:observium-bounces@observium.org] *On Behalf Of *Michael Loftis *Sent:* Friday, February 28, 2014 10:54 AM *To:* Observium Network Observation System *Subject:* Re: [Observium] Moving config to a fresh install
The config itself is one file, the data though, can be fairly substantial, you need to copy all your rrd's and any other data (possibly your mysql database). On my installation I have something like 60G of data in RRDs.
On Fri, Feb 28, 2014 at 6:37 AM, Scott Brawner <Scott.Brawner@kratosdefense.com mailto:Scott.Brawner@kratosdefense.com> wrote:
How hard is it to move/copy the Observium config to a newly built machine?
Best regards, Scott Brawner IS Manager - Infrastructure Kratos Defense and Security Solutions, Inc. o. 843-308-2364 tel:843-308-2364 m. 843-814-3912 tel:843-814-3912
Description: cid:image002.jpg@01CBD278.0CADB410
/For every complex problem, there is a solution that is simple, neat, and wrong. -- H. L. Mencken/
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--
"Genius might be described as a supreme capacity for getting its possessors into trouble of all kinds." -- Samuel Butler
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

I've done this several times already, even from Ubuntu to Centos. My short version is as follows:
New build: setup observium as if it was a new install but make sure when creating the mysql db to use the same username password as the old build. DO NOT setup cron yet.
Old box: backup mysql db, copy everything to new box, restore old db to the new mysql db.
setup cron, start mysqld, start httpd.
Fin
On 02/28/2014 09:53 AM, Michael Loftis wrote:
The config itself is one file, the data though, can be fairly substantial, you need to copy all your rrd's and any other data (possibly your mysql database). On my installation I have something like 60G of data in RRDs.
On Fri, Feb 28, 2014 at 6:37 AM, Scott Brawner <Scott.Brawner@kratosdefense.com mailto:Scott.Brawner@kratosdefense.com> wrote:
How hard is it to move/copy the Observium config to a newly built machine? Best regards, Scott Brawner IS Manager - Infrastructure Kratos Defense and Security Solutions, Inc. o. 843-308-2364 <tel:843-308-2364> m. 843-814-3912 <tel:843-814-3912> Description: cid:image002.jpg@01CBD278.0CADB410 /For every complex problem, there is a solution that is simple, neat, and wrong. -- H. L. Mencken/ _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
--
"Genius might be described as a supreme capacity for getting its possessors into trouble of all kinds." -- Samuel Butler
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

Pretty easy, I have rsync'd the files and DB quite a few times before. Just need to make sure all your paths and permissions are the same.

On 02/28/2014 03:37 PM, Scott Brawner wrote:
How hard is it to move/copy the Observium config to a newly built machine?
Either you move the whole of /opt/observium + your mysql db + cronjobs ,or you do a fresh install (think of the dependencies!), import your database, copy your config.php and rrd directories, and off you go.
Note: if you're moving from 32 to 64 bits, you're in for a world of pain (thanks Tobi!)
Tom

Moving RRD from 32 to 64 is a well know if wall clock consuming process. Just a loop to dump the XML format to SSH and recover the binaries
Typographical errors courtesy of iPhone
On Feb 28, 2014, at 11:55, "Tom Laermans" <tom.laermans@powersource.cxmailto:tom.laermans@powersource.cx> wrote:
On 02/28/2014 03:37 PM, Scott Brawner wrote: How hard is it to move/copy the Observium config to a newly built machine?
Either you move the whole of /opt/observium + your mysql db + cronjobs ,or you do a fresh install (think of the dependencies!), import your database, copy your config.php and rrd directories, and off you go.
Note: if you're moving from 32 to 64 bits, you're in for a world of pain (thanks Tobi!)
Tom _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium

I think you are confusing a wall clock with a calendar :D
adam.
On 2014-02-28 11:00, Alex Latzko wrote:
Moving RRD from 32 to 64 is a well know if wall clock consuming process. Just a loop to dump the XML format to SSH and recover the binaries
Typographical errors courtesy of iPhone
On Feb 28, 2014, at 11:55, "Tom Laermans" <tom.laermans@powersource.cxmailto:tom.laermans@powersource.cx> wrote:
On 02/28/2014 03:37 PM, Scott Brawner wrote: How hard is it to move/copy the Observium config to a newly built machine?
Either you move the whole of /opt/observium + your mysql db + cronjobs ,or you do a fresh install (think of the dependencies!), import your database, copy your config.php and rrd directories, and off you go.
Note: if you're moving from 32 to 64 bits, you're in for a world of pain (thanks Tobi!)
Tom _______________________________________________ observium mailing list observium@observium.orgmailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium _______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
participants (7)
-
Adam Armstrong
-
Alex Latzko
-
Darius Seroka
-
Michael Loftis
-
Ryan Prihoda
-
Scott Brawner
-
Tom Laermans