Koozali.org: home of the SME Server

Can SME server be run from a memorystick?

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
Re: Can SME server be run from a memorystick?
« Reply #15 on: February 02, 2008, 09:46:37 PM »
Quote
Selintra made SME 7 work from a flash disk,

The flash disk install is no different from any other drive (bit slower that's all).   The fiddly bit is minimising write cycles to the flash.  Fortunately, most linux/flash installs handle this the same way, using a combination of ramdisk, or (in our case) tempfs, and then "overmounting" the memory based files on top of their disk siblings.  It's well understood and well documented.  We simply created a simple startable bash script, called ramdisk, which runs very early in the sme startup sequence and does the necessary tomfoolery to deceive SME into writing most of its volatile files to either memory or USB flash.  Experience with the final modification has been very good.  It runs fast and well on half a gig of ram and a 2Gb flash chip (which are very cheap nowadays) and does very little I/O to the flash (at least, on an asterisk only install).  We've also looked at a bootable USB stick but it looks as tho' it requires a fair bit of work to get it to run.   

Best

S

Offline arne

  • *****
  • 1,116
  • +0/-4
Re: Can SME server be run from a memorystick?
« Reply #16 on: February 03, 2008, 03:33:48 PM »
One of my Asterisk servers were made of a second hand HP thin client.

For this one I used an older (and smaller) version of Astlinux as there was only a small flash meory on the board. (64 Mb ?)

This works in that way it loads all the datas from the flash disk during start up, while all file systems is locked during normal runtime. There is also a USB stick used for saving configuration datas. Also this is locked during normal runtime. So if you want to do some reconfiguration you first have to unlock the file system of the USB stick. If not it will not save the new configuration.

This Asterisk server is running at my friends house. As he does not like computers at all, his requirement was "something invisible and completely silent." There is also no heat as well, and can be turned on and off like a lightbulb. It just works and it have had less problems than all the other Asterisk installations I have made.
« Last Edit: February 03, 2008, 03:37:21 PM by arne »
......