Fwd: Does observium support snapshot.
Hey All,
Firstly, a big kudos to observium and for making the life of a n/w engineer tad better. :)
Now to my query,
I have a Subscription Edition installed. Was wondering if there is a way to setup two instances say master/slave where the master polls the data and sends a periodic snapshot to the slave. This is basically for backups.
Any pointers in this regard would be much appreciated.
Feel free to revert if any questions.
Thanks
Varun Nair
+1 for cluster
Odesláno ze zařízení Samsung
-------- Původní zpráva -------- Od: "Varun Nair (Tech-OPS)" varun.vn@flipkart.com Datum: 15. 09. 2015 14:37 (GMT+01:00) Komu: observium@observium.org Předmět: [Observium] Fwd: Does observium support snapshot.
Hey All,
Firstly, a big kudos to observium and for making the life of a n/w engineer tad better. :)
Now to my query,
I have a Subscription Edition installed. Was wondering if there is a way to setup two instances say master/slave where the master polls the data and sends a periodic snapshot to the slave. This is basically for backups.
Any pointers in this regard would be much appreciated.
Feel free to revert if any questions.
Thanks
Varun Nair
------------------------------------------------------------------------------------------------------------------------------------------
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although Flipkart has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments
Hi Varun,
I believe what you are looking for is rsync and mysqldump? :-)
We don't do any sort of master/slave set up but for backup purposes you just need to copy the rrd directory and mysql database to another host.
Make sure the version of Observium installed on there is identical though, or it won't understand the other guy's database structure. (or just rsync the entire /opt/observium directory).
Tom
On 2015-09-15 14:37, Varun Nair (Tech-OPS) wrote:
Hey All,
Firstly, a big kudos to observium and for making the life of a n/w engineer tad better. :)
Now to my query,
I have a Subscription Edition installed. Was wondering if there is a way to setup two instances say master/slave where the master polls the data and sends a periodic snapshot to the slave. This is basically for backups.
Any pointers in this regard would be much appreciated.
Feel free to revert if any questions.
Thanks
Varun Nair
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although Flipkart has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
But won't there be any issues with the RRD files being read by rsync at some arbitrary moment when they are in an inconsistent state? The poller constantly updates them. Just thinking... :)
On 2015-09-15 14:41, Tom Laermans wrote:
Hi Varun,
I believe what you are looking for is rsync and mysqldump? :-)
We don't do any sort of master/slave set up but for backup purposes you just need to copy the rrd directory and mysql database to another host.
Make sure the version of Observium installed on there is identical though, or it won't understand the other guy's database structure. (or just rsync the entire /opt/observium directory).
Tom
On 2015-09-15 14:37, Varun Nair (Tech-OPS) wrote:
Hey All,
Firstly, a big kudos to observium and for making the life of a n/w engineer tad better. :)
Now to my query,
I have a Subscription Edition installed. Was wondering if there is a way to setup two instances say master/slave where the master polls the data and sends a periodic snapshot to the slave. This is basically for backups.
Any pointers in this regard would be much appreciated.
Feel free to revert if any questions.
Thanks
Varun Nair
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although Flipkart has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments
observium mailing list 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
Hi Attila,
You can try using LVM snapshots to fix that ;-) But I've not had this issue before. RRDtool "mmaps" the file into memory, so I think it's pretty much updated instantly.
Unfortunately I don't have any other suggestions to make...
Tom
On 2015-09-15 15:48, Attila Nagy wrote:
But won't there be any issues with the RRD files being read by rsync at some arbitrary moment when they are in an inconsistent state? The poller constantly updates them. Just thinking... :)
On 2015-09-15 14:41, Tom Laermans wrote:
Hi Varun,
I believe what you are looking for is rsync and mysqldump? :-)
We don't do any sort of master/slave set up but for backup purposes you just need to copy the rrd directory and mysql database to another host.
Make sure the version of Observium installed on there is identical though, or it won't understand the other guy's database structure. (or just rsync the entire /opt/observium directory).
Tom
On 2015-09-15 14:37, Varun Nair (Tech-OPS) wrote:
Hey All,
Firstly, a big kudos to observium and for making the life of a n/w engineer tad better. :)
Now to my query,
I have a Subscription Edition installed. Was wondering if there is a way to setup two instances say master/slave where the master polls the data and sends a periodic snapshot to the slave. This is basically for backups.
Any pointers in this regard would be much appreciated.
Feel free to revert if any questions.
Thanks
Varun Nair
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Although Flipkart has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments
observium mailing list 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
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
We use rsync & mysqldump for our daily backups. A restore to a DR environment is as simple as building a fresh install, svn to correct level (svn rev stored in tarball name) and untar the archive.
We actually run the rrd & mibs dirs from a ramdisk to reduce the chatter on our nas. We rsync that back to disk every 20-30 mins. Seems to work reliably for us, never had any noticeable rrd corruption.
On 16 September 2015 7:00:37 PM AEST, Tom Laermans tom.laermans@powersource.cx wrote:
Hi Attila,
You can try using LVM snapshots to fix that ;-) But I've not had this issue before. RRDtool "mmaps" the file into memory, so I think it's pretty much updated instantly.
Unfortunately I don't have any other suggestions to make...
Tom
On 2015-09-15 15:48, Attila Nagy wrote:
But won't there be any issues with the RRD files being read by rsync at some arbitrary moment when they are in an inconsistent state? The poller constantly updates them. Just thinking... :)
On 2015-09-15 14:41, Tom Laermans wrote:
Hi Varun,
I believe what you are looking for is rsync and mysqldump? :-)
We don't do any sort of master/slave set up but for backup purposes you just need to copy the rrd directory and mysql database to
another
host.
Make sure the version of Observium installed on there is identical though, or it won't understand the other guy's database structure. (or just rsync the entire /opt/observium directory).
Tom
On 2015-09-15 14:37, Varun Nair (Tech-OPS) wrote:
Hey All,
Firstly, a big kudos to observium and for making the life of a n/w engineer tad better. :)
Now to my query,
I have a Subscription Edition installed. Was wondering if there is
a
way to setup two instances say master/slave where the master polls
the data and sends a periodic snapshot to the slave. This is basically for backups.
Any pointers in this regard would be much appreciated.
Feel free to revert if any questions.
Thanks
Varun Nair
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom
they
are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail
if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any
action
in reliance on the contents of this information is strictly prohibited. Although Flipkart has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use
of
this email or attachments
observium mailing list 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
observium mailing list 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 (5)
-
Attila Nagy
-
chott@praha1.net
-
Michael
-
Tom Laermans
-
Varun Nair (Tech-OPS)