Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Is Asterisk really good??

Goto page Previous  1, 2
 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
asterisk.org at sedwar...
Guest





PostPosted: Sat Apr 12, 2008 3:40 pm    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On Sat, 12 Apr 2008, Jay R. Ashworth wrote:

Quote:
On Fri, Apr 11, 2008 at 06:11:45PM -0700, Eugen Soare wrote:
Quote:
That was cool!
thanks for the pdf.

I'm in the midst of rearranging things (which are 2 to 3 times as large
as they were then); I'll update that once I'm done.

Double-plus cool.

I'd be interested in sections like "Rolling out a new server" or "How we
maintain all the little configuration files without losing our sanity."

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Back to top
jra at baylink.com
Guest





PostPosted: Sun Apr 13, 2008 5:18 pm    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On Sat, Apr 12, 2008 at 01:40:44PM -0700, Steve Edwards wrote:
Quote:
On Sat, 12 Apr 2008, Jay R. Ashworth wrote:
Quote:
On Fri, Apr 11, 2008 at 06:11:45PM -0700, Eugen Soare wrote:
Quote:
That was cool!
thanks for the pdf.

I'm in the midst of rearranging things (which are 2 to 3 times as large
as they were then); I'll update that once I'm done.

Double-plus cool.

I'd be interested in sections like "Rolling out a new server" or "How we
maintain all the little configuration files without losing our sanity."

I smell a magazine article. Smile

The answer to the second question is likely going to become "rsync or
cfengine", but I haven't gotten that far yet... and we don't change
them all that much anyway. VICIdial has *lots* of knobs.

Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274

Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin)
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Sun Apr 13, 2008 6:39 pm    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On Sun, 13 Apr 2008, Jay R. Ashworth wrote:

Quote:
On Sat, Apr 12, 2008 at 01:40:44PM -0700, Steve Edwards wrote:
Quote:
On Sat, 12 Apr 2008, Jay R. Ashworth wrote:
Quote:
On Fri, Apr 11, 2008 at 06:11:45PM -0700, Eugen Soare wrote:
Quote:
That was cool!
thanks for the pdf.

I'm in the midst of rearranging things (which are 2 to 3 times as large
as they were then); I'll update that once I'm done.

Double-plus cool.

I'd be interested in sections like "Rolling out a new server" or "How we
maintain all the little configuration files without losing our sanity."

I smell a magazine article. Smile

That works, but I'm impatient. I'm up for "peer review" before
publication.

Quote:
The answer to the second question is likely going to become "rsync or
cfengine", but I haven't gotten that far yet... and we don't change
them all that much anyway. VICIdial has *lots* of knobs.

I'm mainly interested in "consistency" in configuration. The "method" has
to be sophisticated enough to handle "this box has 2 Ethernet interfaces
so I should configure OpenSER and Asterisk to listen to both IP addresses
on ports 5060 and 5061 respectively." This would preclude rsync.

I currently do it with shell scripts but I'm looking for something a bit
more sophisticated.

Puppet (http://reductivelabs.com/trac/puppet/wiki/AboutPuppet) was
suggested during the Friday morning VOIP Users Conference. It's open
source and written in Ruby. I just feel a bit silly installing "yet
another language" just to support a support tool.

The "shell script" approach has the advantage of "light weight." I do a
"minimal" Centos 5 install and wget a single script which does everything
-- configures the network, installs packages (OpenSER, Asterisk, Zaptel,
Libpri, MySQL), adds users, and configures everything from services to
timezone. I may stick with it, but it's getting a bit combersome and am
interested in what has worked for others.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Back to top
bernie at innovative.i...
Guest





PostPosted: Sun Apr 13, 2008 8:10 pm    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

Steve Edwards <asterisk.org at sedwards.com> wrote:
Quote:
On Sun, 13 Apr 2008, Jay R. Ashworth wrote:
Quote:
On Sat, Apr 12, 2008 at 01:40:44PM -0700, Steve Edwards wrote:

Quote:
Quote:
Quote:
I'd be interested in sections like "Rolling out a new server" or "How we
maintain all the little configuration files without losing our sanity."

Quote:
Quote:
I smell a magazine article. Smile

Quote:
That works, but I'm impatient. I'm up for "peer review" before
publication.

Quote:
Quote:
The answer to the second question is likely going to become "rsync or
cfengine", but I haven't gotten that far yet... and we don't change
them all that much anyway. VICIdial has *lots* of knobs.

Quote:
I'm mainly interested in "consistency" in configuration. The "method" has
to be sophisticated enough to handle "this box has 2 Ethernet interfaces
so I should configure OpenSER and Asterisk to listen to both IP addresses
on ports 5060 and 5061 respectively." This would preclude rsync.

Why do you think that that would preclude rsync?
--
/"\ Bernd Felsche - Innovative Reckoning, Perth, Western Australia
\ / ASCII ribbon campaign | Great minds discuss ideas;
X against HTML mail | Average minds discuss events;
/ \ and postings | Small minds discuss people. -- Eleanor Roosevelt
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Sun Apr 13, 2008 9:08 pm    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On Mon, 14 Apr 2008, Bernd Felsche wrote:

Quote:
Steve Edwards <asterisk.org at sedwards.com> wrote:

Quote:
I'm mainly interested in "consistency" in configuration. The "method" has
to be sophisticated enough to handle "this box has 2 Ethernet interfaces
so I should configure OpenSER and Asterisk to listen to both IP addresses
on ports 5060 and 5061 respectively." This would preclude rsync.

Why do you think that that would preclude rsync?

Well, it may be based on my ignorance Smile

Can rsync mung a stanza from iax.conf like:

[general]
disallow = all
allow = ulaw
mailboxdetail = no
notransfer = yes
port = 5036
register = ${HOSTNAME}:${PASSWORD}@example.com
trunk = no

and insert the appropriate values?

Can rsync create /etc/sysconfig/openser like:

# Created by ./host-setup.sh on 2008-04-12 17:55:03

OPTIONS=
OPTIONS="$OPTIONS -l a.b.c.d:5060"
OPTIONS="$OPTIONS -l a.b.c.e:5060"

# (end of /etc/sysconfig/openser)

where a.b.c.d and a.b.c.e are the IP address of eth0 and eth1? (And the
3rd line would only be created if there are 2 interfaces.)

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Back to top
bwentdg at pipeline.com
Guest





PostPosted: Mon Apr 14, 2008 5:02 am    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

why yes, my rsync does that just fine, you must not be running
the latest version

Steve Edwards wrote:
Quote:
On Mon, 14 Apr 2008, Bernd Felsche wrote:


Quote:
Steve Edwards <asterisk.org at sedwards.com> wrote:


Quote:
I'm mainly interested in "consistency" in configuration. The "method" has
to be sophisticated enough to handle "this box has 2 Ethernet interfaces
so I should configure OpenSER and Asterisk to listen to both IP addresses
on ports 5060 and 5061 respectively." This would preclude rsync.

Why do you think that that would preclude rsync?


Well, it may be based on my ignorance Smile

Can rsync mung a stanza from iax.conf like:

[general]
disallow = all
allow = ulaw
mailboxdetail = no
notransfer = yes
port = 5036
register = ${HOSTNAME}:${PASSWORD}@example.com
trunk = no

and insert the appropriate values?

Can rsync create /etc/sysconfig/openser like:

# Created by ./host-setup.sh on 2008-04-12 17:55:03

OPTIONS=
OPTIONS="$OPTIONS -l a.b.c.d:5060"
OPTIONS="$OPTIONS -l a.b.c.e:5060"

# (end of /etc/sysconfig/openser)

where a.b.c.d and a.b.c.e are the IP address of eth0 and eth1? (And the
3rd line would only be created if there are 2 interfaces.)

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


Back to top
jra at baylink.com
Guest





PostPosted: Mon Apr 14, 2008 8:54 am    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On Sun, Apr 13, 2008 at 04:39:39PM -0700, Steve Edwards wrote:
Quote:
Quote:
Quote:
Quote:
I'm in the midst of rearranging things (which are 2 to 3 times as large
as they were then); I'll update that once I'm done.

Double-plus cool.

I'd be interested in sections like "Rolling out a new server" or "How we
maintain all the little configuration files without losing our sanity."

I smell a magazine article. Smile

That works, but I'm impatient. I'm up for "peer review" before
publication.

Understood. Real Magazines tend to be picky about first pub, though.

Quote:
Quote:
The answer to the second question is likely going to become "rsync or
cfengine", but I haven't gotten that far yet... and we don't change
them all that much anyway. VICIdial has *lots* of knobs.

I'm mainly interested in "consistency" in configuration. The "method" has
to be sophisticated enough to handle "this box has 2 Ethernet interfaces
so I should configure OpenSER and Asterisk to listen to both IP addresses
on ports 5060 and 5061 respectively." This would preclude rsync.

True. That's why I was leaning towards cfengine, which I gather is
tuned for that sort of thing.

Quote:
I currently do it with shell scripts but I'm looking for something a bit
more sophisticated.

Puppet (http://reductivelabs.com/trac/puppet/wiki/AboutPuppet) was
suggested during the Friday morning VOIP Users Conference. It's open
source and written in Ruby. I just feel a bit silly installing "yet
another language" just to support a support tool.

Indeed.

Quote:
The "shell script" approach has the advantage of "light weight." I do a
"minimal" Centos 5 install and wget a single script which does everything
-- configures the network, installs packages (OpenSER, Asterisk, Zaptel,
Libpri, MySQL), adds users, and configures everything from services to
timezone. I may stick with it, but it's getting a bit combersome and am
interested in what has worked for others.

Noted. Our solution may not help you all that much; I gather that with
the exception of one small chunk of one file, all our boxen are
configured exactly the same.

Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274

Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin)
Back to top
jra at baylink.com
Guest





PostPosted: Mon Apr 14, 2008 9:07 am    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On Mon, Apr 14, 2008 at 06:02:26AM -0400, Al Baker wrote:
Quote:
Quote:
Quote:
Steve Edwards <asterisk.org at sedwards.com> wrote:
Well, it may be based on my ignorance Smile

Can rsync mung a stanza from iax.conf like:

why yes, my rsync does that just fine, you must not be running
the latest version

April Fools Day was 2 weeks ago, Al. Smile

rsync, to the best of my knowledge and belief, does not make any sort
of changes to the files it pushes -- it merely pushes the changes you
make.

So if you need a given file, let's say extensions.conf, to contain
different things on different machines, then using rsync to push it
from one master will in fact probably not work the way you want it to.

Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274

Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin)
Back to top
astmattf at gmail.com
Guest





PostPosted: Mon Apr 14, 2008 10:08 am    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On 4/14/08, Jay R. Ashworth <jra at baylink.com> wrote:
Quote:
On Sun, Apr 13, 2008 at 04:39:39PM -0700, Steve Edwards wrote:
Quote:
The "shell script" approach has the advantage of "light weight." I do a
"minimal" Centos 5 install and wget a single script which does everything
-- configures the network, installs packages (OpenSER, Asterisk, Zaptel,
Libpri, MySQL), adds users, and configures everything from services to
timezone. I may stick with it, but it's getting a bit combersome and am
interested in what has worked for others.


Noted. Our solution may not help you all that much; I gather that with
the exception of one small chunk of one file, all our boxen are
configured exactly the same.

It is actually two small chunks of two small files in Asterisk and one
line in the vicidial conf file, and that's about it for unique server
configurations, everything else is pretty much the same.

We did recently add a custom backup utility to our SVN for
VICIDIAL(AST_backup.pl) that will backup all conf files, agi, sound
and other files(optionally web files and mysql DB and my.cnf backup)
and tar/gz them then send to FTP server. This has worked well for
multi-server backups for a couple of our clients so far and it will be
included with the next release of VICIDIAL.

The idea behind the script is to create a very simple hot-spare
solution where all you have to do to replace a running machine is
change the IP address of the spare server and un-tar/gz the file on a
base-installed system and it will take the place of the failed machine
within minutes. We haven't had to use it in production in this
capacity yet, but it has worked in testing.

MATT---
Back to top
mark.h at cage151.com
Guest





PostPosted: Mon Apr 14, 2008 10:22 am    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

Steve,

Is this 'shell script' on the public domain? As it sounds really useful. Smile

Mark.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Edwards
Sent: April 13, 2008 7:40 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Is Asterisk really good??

On Sun, 13 Apr 2008, Jay R. Ashworth wrote:

Quote:
On Sat, Apr 12, 2008 at 01:40:44PM -0700, Steve Edwards wrote:
Quote:
On Sat, 12 Apr 2008, Jay R. Ashworth wrote:
Quote:
On Fri, Apr 11, 2008 at 06:11:45PM -0700, Eugen Soare wrote:
Quote:
That was cool!
thanks for the pdf.

I'm in the midst of rearranging things (which are 2 to 3 times as large
as they were then); I'll update that once I'm done.

Double-plus cool.

I'd be interested in sections like "Rolling out a new server" or "How we
maintain all the little configuration files without losing our sanity."

I smell a magazine article. Smile

That works, but I'm impatient. I'm up for "peer review" before
publication.

Quote:
The answer to the second question is likely going to become "rsync or
cfengine", but I haven't gotten that far yet... and we don't change
them all that much anyway. VICIdial has *lots* of knobs.

I'm mainly interested in "consistency" in configuration. The "method" has
to be sophisticated enough to handle "this box has 2 Ethernet interfaces
so I should configure OpenSER and Asterisk to listen to both IP addresses
on ports 5060 and 5061 respectively." This would preclude rsync.

I currently do it with shell scripts but I'm looking for something a bit
more sophisticated.

Puppet (http://reductivelabs.com/trac/puppet/wiki/AboutPuppet) was
suggested during the Friday morning VOIP Users Conference. It's open
source and written in Ruby. I just feel a bit silly installing "yet
another language" just to support a support tool.

The "shell script" approach has the advantage of "light weight." I do a
"minimal" Centos 5 install and wget a single script which does everything
-- configures the network, installs packages (OpenSER, Asterisk, Zaptel,
Libpri, MySQL), adds users, and configures everything from services to
timezone. I may stick with it, but it's getting a bit combersome and am
interested in what has worked for others.

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Mike at Trest.COM
Guest





PostPosted: Mon Apr 14, 2008 12:25 pm    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

Quote:
-----Original Message-----
Quote:
Quote:

I'd be interested in sections like "Rolling out a new server" or "How we
maintain all the little configuration files without losing our sanity."

Hi,

I will contribute my 2-cents on how I maintained consistency on a
large application
with 64 + Asterisks that all had to have the same config and links back to
a central DB.

Whenever we needed a new machine, we just

We had a master source location.with a master image
We cloned the hard drive with linux dd copy of master image
boot the new machine with this disk
assign appropriate IP address
perform some sanity checks prior to shipping
Send either disk or full machine to remote COLO for physical install.

After the machine came on line, it would have enough configuration to
join the other members of the farm of asterisks.

For intermediate updates, we used SSL-DSA keys between the master
master image machine and each of the 64+ remotes. We would wrote
our own script and gave it a list of each machine on which to perform
the particular steps. When it was launched, we just went out to lunch
or home at night while the remotes were updated.

This application had as many as 6,000 simultaneous call running and
we wrote the scripts such that each remote were placed in a
"take no calls" status by the script so we did not kill any active traffic.

We found that no "canned package" was useful to do this because each
maintenance cycle was addressing a different part of the overall configuration
and had slightly different commands that were needed.

Any good script writer can do the same for what you described.

Regards, ..mike..
Back to top
jra at baylink.com
Guest





PostPosted: Mon Apr 14, 2008 1:02 pm    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On Mon, Apr 14, 2008 at 11:08:21AM -0400, Matt Florell wrote:
Quote:
The idea behind the script is to create a very simple hot-spare
solution where all you have to do to replace a running machine is
change the IP address of the spare server and un-tar/gz the file on a
base-installed system and it will take the place of the failed machine
within minutes. We haven't had to use it in production in this
capacity yet, but it has worked in testing.

I may have just had an even better idea, crribbing from how DSL does
overlays.

Put said config file on an FTP server on the cluster... named after the
IP of the box, the way Bootp files are.

Put innocuous files on the box as a base install, and have it prospect
the FTP server on boot for an overlay.

Cheers,
-- jra
--
Jay R. Ashworth Baylink jra at baylink.com
Designer The Things I Think RFC 2100
Ashworth & Associates http://baylink.pitas.com '87 e24
St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274

Those who cast the vote decide nothing.
Those who count the vote decide everything.
-- (Joseph Stalin)
Back to top
asterisk.org at sedwar...
Guest





PostPosted: Mon Apr 14, 2008 9:11 pm    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

On Mon, 14 Apr 2008, Mark Hamilton wrote:

Quote:
Is this 'shell script' on the public domain? As it sounds really useful. Smile

You're welcome to it. I'll reply with a link off-list. The script is
definitely a "work-in-progress" and not quite ready for "prime-time."

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards sedwards at sedwards.com Voice: +1-760-468-3867 PST
Newline Fax: +1-760-731-3000
Back to top
bwentdg at pipeline.com
Guest





PostPosted: Tue Apr 15, 2008 3:32 am    Post subject: [asterisk-users] Is Asterisk really good?? Reply with quote

Quote "

We had a master source location.with a master image
We cloned the hard drive with linux dd copy of master image"

Did the dd to clone it actually work on RAID devices ????
Mike Trest - On Travel wrote:
Quote:
Quote:
-----Original Message-----

Quote:
Quote:
I'd be interested in sections like "Rolling out a new server" or "How we
maintain all the little configuration files without losing our sanity."


Hi,

I will contribute my 2-cents on how I maintained consistency on a
large application
with 64 + Asterisks that all had to have the same config and links back to
a central DB.

Whenever we needed a new machine, we just

We had a master source location.with a master image
We cloned the hard drive with linux dd copy of master image
boot the new machine with this disk
assign appropriate IP address
perform some sanity checks prior to shipping
Send either disk or full machine to remote COLO for physical install.

After the machine came on line, it would have enough configuration to
join the other members of the farm of asterisks.

For intermediate updates, we used SSL-DSA keys between the master
master image machine and each of the 64+ remotes. We would wrote
our own script and gave it a list of each machine on which to perform
the particular steps. When it was launched, we just went out to lunch
or home at night while the remotes were updated.

This application had as many as 6,000 simultaneous call running and
we wrote the scripts such that each remote were placed in a
"take no calls" status by the script so we did not kill any active traffic.

We found that no "canned package" was useful to do this because each
maintenance cycle was addressing a different part of the overall configuration
and had slightly different commands that were needed.

Any good script writer can do the same for what you described.

Regards, ..mike..



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services