I run my asterisk DB in RAM on my regular asterisk servers.. I have an agent
that automatically backs that up every so often to set a of files.. if my
asterisk system crashes then it reloads my asterisk DB on boot.. persistence
is maintained via storing my asterisk DB as a datadump style file on regular
storage and not just copying the astdb file (you'll corrupt it if you do
that)..
its fast.. I use a LOT of astdb lookups in my normal call processing..
-Christopher
From: David Kerr <da...@kerr.net>
To: Mehdi Shirazi <mahdi_shir...@yahoo.com>; AstLinux Users Mailing List
<astlinux-users@lists.sourceforge.net>
Sent: Saturday, July 8, 2017 12:06 PM
Subject: Re: [Astlinux-users] RAMdisk and HA
Astlinux already uses a tmpfs for most files. For those specific files that
need to be persistent astlinux uses a soft link to /mnt/kd which is persistent
store. You can see this e.g. in /var/spool/asterisk. Is there a specific
file you want to have on tmpfs that is not?
Astlinux has HA for the external network interface. If the primary internet
link goes down it can failover to a second interface. If you are asking about
application layer asterisk HA then I am not aware of anything specific in
Astlinux for that -- you would need to research how to do that yourself
Use rsync for file synchronization? That is what I use for daily backup to a
remote system.
I can understand the interest in HA, but I'm curious what performance issues
you are running into with the filesystem, Astlinux is already very efficient
here.
Regards,David
On Sat, Jul 8, 2017 at 1:33 AM, Mehdi Shirazi via Astlinux-users
<astlinux-users@lists.sourceforge.net> wrote:
HiThanks for maintaining good project.1-Is it possible to put internal Asterisk
database in RAMdisk (tmpfs) for performance and save other persistence database
in another database?2-Is there any HA solution ? (Active /Standby,
keepalived)3-Is there any automatic two way file(database) synchronization
utility ?
RegardsM.Shirazi
------------------------------ ------------------------------ ------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
______________________________ _________________
Astlinux-users mailing list
Astlinux-users@lists. sourceforge.net
https://lists.sourceforge.net/ lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
http://sdm.link/slashdot_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
pay...@krisk.org.