Re: [asterisk-users] Which is the most FHS-esque way to run several Asterisk instances on a single host ?
Link [1] interestingly details how you can run several daemon instances with systemctl. Note that the author uses things like /run/asterisk/instance-foo /var/lib/asterisk/instance-foo [1] https://opensource.com/article/20/12/multiple-service-instances-systemctl Le ven. 20 nov. 2020 à 18:29, Olivier a écrit : > Hello, > > What is the most FHS-esque (see [1]) way to run several Asterisk > instances on a single (Debian) host ? > > What would you recommend ? > Would gather each instance directories (etc/, run/, lib/, ...) in > something like /srv/instance1/ > (it doesn't please me as I like to put variable data in /var and on so) ? > > Alternatively, would you with /etc/asterisk1/, /var/lib/asterisk1, ... ? > > Would you even create a dedicated system user, one per instance, to > further isolate asterisk instances data ? > > [1] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard > > Cheers > > PS: On a Debian-packaged Asterisk, I've got /usr/sbin/rasterisk linked to > /usr/sbin/asterisk. How can you explain directly running /usr/sbin/asterisk > "requires" a -r option while /usr/sbin/rasterisk does not ? > > -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Re: [asterisk-users] Which is the most FHS-esque way to run several Asterisk instances on a single host ?
On Friday 20 November 2020 at 18:29:58, Olivier wrote: > Hello, > > What is the most FHS-esque (see [1]) way to run several Asterisk instances > on a single (Debian) host ? How about using https://en.wikipedia.org/wiki/Lxc ? It's much lighter in resource usage on the physical server than doing full KVM- or XEN-style virtualisation, but provides all the separation and compartmentalisation you need. Antony. -- I don't know, maybe if we all waited then cosmic rays would write all our software for us. Of course it might take a while. - Ron Minnich, Los Alamos National Laboratory Please reply to the list; please *don't* CC me. -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
[asterisk-users] Which is the most FHS-esque way to run several Asterisk instances on a single host ?
Hello, What is the most FHS-esque (see [1]) way to run several Asterisk instances on a single (Debian) host ? What would you recommend ? Would gather each instance directories (etc/, run/, lib/, ...) in something like /srv/instance1/ (it doesn't please me as I like to put variable data in /var and on so) ? Alternatively, would you with /etc/asterisk1/, /var/lib/asterisk1, ... ? Would you even create a dedicated system user, one per instance, to further isolate asterisk instances data ? [1] https://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard Cheers PS: On a Debian-packaged Asterisk, I've got /usr/sbin/rasterisk linked to /usr/sbin/asterisk. How can you explain directly running /usr/sbin/asterisk "requires" a -r option while /usr/sbin/rasterisk does not ? -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users