Re: [lxc-users] Snap 2.20 - Default Text Editor

2017-11-21 Thread Ron Kelley
sudo update-alternatives --config editor http://vim.wikia.com/wiki/Set_Vim_as_your_default_editor_for_Unix > On Nov 21, 2017, at 7:49 PM, Lai Wei-Hwa wrote: > > Thanks, but that's the problem, it's still opening in VI > > Thanks! > Lai > > - Original Message - >

Re: [lxc-users] Using a mounted drive to handle storage pool

2017-11-21 Thread Ron Kelley
Perhaps you should use “bind” mount instead of symbolic links here? mount -o bind /storage/lxd /var/snap/lxd You probably also need to make sure survives a reboot. -Ron > On Nov 21, 2017, at 5:47 PM, Lai Wei-Hwa wrote: > > In the following scenario, I: > > $ sudo

Re: [lxc-users] TTY issue

2017-11-20 Thread Ron Kelley
> On Nov 20, 2017, at 1:58 AM, Marat Khalili <m...@rqc.ru> wrote: > > On 19/11/17 22:45, Ron Kelley wrote: >> In all seriousness, I just ran some tests on my servers to see if SSH is >> still the bottleneck on rsync. These servers have dual 10G NICs (linux >&g

Re: [lxc-users] TTY issue

2017-11-19 Thread Ron Kelley
I just checked my calendar, and it says November, 19, 2017. So, I am going to say, 21st century! In all seriousness, I just ran some tests on my servers to see if SSH is still the bottleneck on rsync. These servers have dual 10G NICs (linux bond), 3.6GHz CPU, and 32G RAM. I found some

Re: [lxc-users] TTY issue

2017-11-19 Thread Ron Kelley
Nov 19, 2017 at 8:03 AM, Ron Kelley <rkelley...@gmail.com> wrote: > Can you install an rsync daemon on the server side? If so, simply create > /etc/rsyncd.conf file with this: > > [BACKUP] > comment = Allow RW access for backups > path = /usr/local/backup_dir > uid = roo

Re: [lxc-users] TTY issue

2017-11-19 Thread Ron Kelley
Can you install an rsync daemon on the server side? If so, simply create /etc/rsyncd.conf file with this: [BACKUP] comment = Allow RW access for backups path = /usr/local/backup_dir uid = root hosts allow = 192.168.1.46, 192.168.1.47 read only = yes Next, on each of your remote clients,

Re: [lxc-users] LXC 2.16 - vxlan. migrated from to

2017-09-26 Thread Ron Kelley
e 10.250.1.21 IP is on eth0 and 172.18.22.21 on eth1 > (or the reverse)? that is, you don't have both subnets on eth1. > > On Tue, Sep 26, 2017 at 09:52:37AM -0400, Ron Kelley wrote: >> Thanks Stephane. >> >> Here is a “lxc network

Re: [lxc-users] LXC 2.16 - vxlan. migrated from to

2017-09-26 Thread Ron Kelley
it, it is attached to a VXLAN interface off eth1 (i.e.: vxlan.1115) Thus, I am scratching my head.. -Ron > On Sep 26, 2017, at 9:02 AM, Stéphane Graber <stgra...@ubuntu.com> wrote: > > On Sun, Sep 24, 2017 at 03:27:27PM -0400, Ron Kelley wrote: >> Greetings all, >> >&

[lxc-users] LXC 2.16 - vxlan. migrated from to

2017-09-24 Thread Ron Kelley
Greetings all, Trying to isolate a condition whereby a container providing firewall services seems to stop processing traffic for a short time. We keep getting the below information in /var/log/syslog of the server running the firewall. The IP addresses shown match the network interfaces of

Re: [lxc-users] Setting hostname different than container name

2017-08-19 Thread Ron Kelley
Awesome, thanks Stephane. We can use the raw lxc command as a good fix. On August 19, 2017 7:43:34 PM Stéphane Graber <stgra...@ubuntu.com> wrote: On Sat, Aug 19, 2017 at 04:48:51PM -0400, Ron Kelley wrote: Greetings all, Trying to set the container hostname different that the con

[lxc-users] Setting hostname different than container name

2017-08-19 Thread Ron Kelley
Greetings all, Trying to set the container hostname different that the container name. Editing /etc/hostname and /etc/hosts seems to work on Ubuntu but not on CentOS 6 containers. What is the proper way to set the hostname so it is persistent among reboots for CentOS containers? The LXD

Re: [lxc-users] ?==?utf-8?q? OVS / GRE - guest-transparent mesh networking across multiple hosts

2017-08-03 Thread Ron Kelley
We have implemented something similar to this using VXLAN (outside the scope of LXC). Our setup: 6x servers colocated in the data center running LXD 2.15 - each server with 2x NICs: nic(a) for management and nic(b) * nic(a) is strictly used for all server management tasks (lxd commands) *

Re: [lxc-users] Fastest way to copy containers

2017-07-25 Thread Ron Kelley
As far as I know, LXD does not support incremental copies - either local or remote (“error: Container ‘blahblah2' already exists”). The question I posed earlier was how to copy a container from one LXD server to another. We need to migrate containers to different hosts so we can do

Re: [lxc-users] Fastest way to copy containers

2017-07-25 Thread Ron Kelley
Sorry, typo on my part. Definitely “lxc init” does not show this option. Thanks again for the pointer! On Jul 25, 2017, at 8:39 AM, Fajar A. Nugraha <l...@fajar.net> wrote: On Tue, Jul 25, 2017 at 7:23 PM, Ron Kelley <rkelley...@gmail.com <mailto:rkelley...@gmail.com>> w

Re: [lxc-users] Fastest way to copy containers

2017-07-25 Thread Ron Kelley
t 7:11 PM, Ron Kelley <rkelley...@gmail.com <mailto:rkelley...@gmail.com>> wrote: Greetings all, I am trying to copy sites from one LXD to another - both running BTRFS. The normal “lxc copy” command uses btrfs send/receive which is terribly slow. Since rsync works much, much faster

[lxc-users] Fastest way to copy containers

2017-07-25 Thread Ron Kelley
Greetings all, I am trying to copy sites from one LXD to another - both running BTRFS. The normal “lxc copy” command uses btrfs send/receive which is terribly slow. Since rsync works much, much faster, is there a quick way to create the container “shell” on the remote server (and register it

Re: [lxc-users] LXD 2.14 - Ubuntu 16.04 - kernel 4.4.0-57-generic - SWAP continuing to grow

2017-07-15 Thread Ron Kelley
ven all the issues we have had with memory and swap using LXD, we are > > seriously considering moving back to the traditional VM approach until > > LXC/LXD is better “baked”. > > Did your VMs use less memory? I don't think so. Limits could be better > enforced, but VMs don'

[lxc-users] LXD 2.14 - Ubuntu 16.04 - kernel 4.4.0-57-generic - SWAP continuing to grow

2017-07-14 Thread Ron Kelley
Wondering if anyone else has similar issues. We have 5x LXD 2.12 servers running (U16.04 - kernel 4.4.0-57-generic - 8G RAM, 19G SWAP). Each server is running about 50 LXD containers - Wordpress w/Nginx and PHP7. The servers have been running for about 15 days now, and swap space continues

Re: [lxc-users] Profile settings to limit RAM and SWAP

2017-06-27 Thread Ron Kelley
have “free -m” and “top” show properly). > On Jun 27, 2017, at 8:15 AM, Ron Kelley <rkelley...@gmail.com> wrote: > > Greetings all, > > Running LXD 2.14 on Ubuntu 16.04 and need to find a way to properly set > limits for RAM and SWAP for my containers. > > The g

[lxc-users] Profile settings to limit RAM and SWAP

2017-06-27 Thread Ron Kelley
Greetings all, Running LXD 2.14 on Ubuntu 16.04 and need to find a way to properly set limits for RAM and SWAP for my containers. The goal: profile 512MB of RAM and 512MB of swap per container (total 1G) My current profile: config: limits.cpu: "2" limits.memory: 512MB

Re: [lxc-users] LXD 2.13 - Containers using lots of swap despite having free RAM

2017-06-06 Thread Ron Kelley
ar.net> wrote: On Tue, Jun 6, 2017 at 4:29 PM, Ron Kelley <rkelley...@gmail.com <mailto:rkelley...@gmail.com>> wrote: (Similar to a redit post: https://www.reddit.com/r/LXD/comments/53l7on/how_does_lxd_manage_swap_space <https://www.reddit.com/r/LXD/comments/53l7on/how_does_l

Re: [lxc-users] ?==?utf-8?q? LXD and Kernel Samepage Merging (KSM)

2017-06-06 Thread Ron Kelley
ainers" on > https://openvz.org/KSM_(kernel_same-page_merging) - you will have to use > ksm_preload mentioned. I haven't personally used it with LXD. > > > Tomasz Chmielewski > https://lxadm.com > > > On Monday, June 05, 2017 09:48 JST, Ron Kelley <rkelle

[lxc-users] LXD 2.13 - Containers using lots of swap despite having free RAM

2017-06-06 Thread Ron Kelley
(Similar to a redit post: https://www.reddit.com/r/LXD/comments/53l7on/how_does_lxd_manage_swap_space). Ubuntu 16.04, LXC 2.13 running about 50 containers. System has 8G RAM and 20G swap. From what I can tell, the containers are using lots of swap despite having free memory. Top output

Re: [lxc-users] LXD and Kernel Samepage Merging (KSM)

2017-06-04 Thread Ron Kelley
> On Jun 4, 2017, at 9:58 PM, Fajar A. Nugraha <l...@fajar.net> wrote: > > On Mon, Jun 5, 2017 at 7:48 AM, Ron Kelley <rkelley...@gmail.com> wrote: > > As for the openvz link; I read that a few times but I don’t get any positive > results using those methods. This le

Re: [lxc-users] ?==?utf-8?q? LXD and Kernel Samepage Merging (KSM)

2017-06-04 Thread Ron Kelley
it with LXD. > > > Tomasz Chmielewski > https://lxadm.com > > > On Monday, June 05, 2017 09:48 JST, Ron Kelley <rkelley...@gmail.com> wrote: > >> Thanks Fajar. >> >> This is on-site with our own physical servers, storage, etc. The goal is

Re: [lxc-users] LXD and Kernel Samepage Merging (KSM)

2017-06-04 Thread Ron Kelley
KSM working outside the LXD environment then try to replicate the same tests inside LXD. Thanks again for the feedback. > On Jun 4, 2017, at 6:15 PM, Fajar A. Nugraha <l...@fajar.net> wrote: > > On Sun, Jun 4, 2017 at 11:16 PM, Ron Kelley <rkelley...@gmail.com> wrote: &

[lxc-users] LXD and Kernel Samepage Merging (KSM)

2017-06-04 Thread Ron Kelley
(Reviving the thread about Container Scaling: https://lists.linuxcontainers.org/pipermail/lxc-users/2016-May/011607.html) We have hit critical mass with LXD 2.12 and I need to get Kernel Samepage Merging (KSM) working as soon as possible. All my research has come to a dead-end, and I am

[lxc-users] LXD - upgrade from 2.08 to 2.12 enables BTRFS quota

2017-06-04 Thread Ron Kelley
Greetings all. I recently upgraded a number of LXD 2.08 servers to 2.12 and noticed the btrfs “quota” option was enabled where it was disabled before. Enabling quotas on a filesystem with lots of snapshots can cause huge performance issues (as indicated by our 20min outage this morning when I

Re: [lxc-users] Broken on Gentoo linux-4.8.17-hardened-r2, LXD 2.11, and lxc 1.0.8

2017-06-01 Thread Ron Kelley
Mike, I don’t know anything about Gentoo Linux, but can you consider using Ubuntu 16 or 17 as your LXD host? These OS installs definitely support LXD out of the box. As for the network bridge question; You don’t have to connect any network interface to the container. You can simply remove

Re: [lxc-users] Can I setup a private nat ipv4 and a public ipv6 address at same time for a lxc2 container?

2017-06-01 Thread Ron Kelley
How about adding two NICs to the container: one for private networking (via lxdbridge) and one for public networking (via macvlan)? > On May 31, 2017, at 10:31 PM, littlebat wrote: > > Hi, > Thanks for all of your help for building so cool thing - lxc. > > I have

Re: [lxc-users] near-live migration

2017-05-30 Thread Ron Kelley
While not a direct answer, I filled an enhancement bug recently for this exact topic (incremental snapshots to remote server). The enhancement was approved, but I don't know when it will be included in the next LXD version. On May 30, 2017 11:52:34 AM Kees Bos wrote:

Re: [lxc-users] Bind public IP that is available on host's ens3:1 to a specific LXD container?

2017-05-20 Thread Ron Kelley
Great suggestions from Fajar. A couple more ideas if you only have one public IP on your container: * Use HAProxy on the container’s main IP address with Server Name Identification (SNI) and a local DNS server. This way, all your sites are tied to the same IP address as the container with

Re: [lxc-users] LXD firewall container?

2017-05-05 Thread Ron Kelley
share with everyone. Hope this helps. -Ron On Apr 27, 2017, at 8:25 PM, Fajar A. Nugraha <l...@fajar.net> wrote: On Fri, Apr 28, 2017 at 1:05 AM, Ron Kelley <rkelley...@gmail.com <mailto:rkelley...@gmail.com>> wrote: Thanks for the feedback, Spike. After looking around for a

Re: [lxc-users] LXD firewall container?

2017-04-27 Thread Ron Kelley
Thanks Fajar. Always appreciate seeing other people’s input on stuff like this. > On Apr 27, 2017, at 8:25 PM, Fajar A. Nugraha <l...@fajar.net> wrote: > > On Fri, Apr 28, 2017 at 1:05 AM, Ron Kelley <rkelley...@gmail.com> wrote: > Thanks for the feedback, Spik

Re: [lxc-users] LXD firewall container?

2017-04-27 Thread Ron Kelley
> Spike > > On Mon, Apr 24, 2017 at 10:07 PM gunnar.wagner <gunnar.wag...@netcologne.de> > wrote: > I know that's only touching your point slightly but (as far as I know) > pfSense requires 2 physical WAN ports in order to run. > So I'd doubt is can be containerized to be

Re: [lxc-users] lxc network create - macvlan

2017-04-26 Thread Ron Kelley
qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 The network interface is definitely there. > On Apr 26, 2017, at 4:02 PM, Stéphane Graber <stgra...@ubuntu.com> wrote: > > On Wed, Apr 26, 2017 at 03:55:58PM -0400, Ron Kelley wrote: >> Thanks. It seems the

Re: [lxc-users] lxc network create - macvlan

2017-04-26 Thread Ron Kelley
nd returns with “error: json: cannot unmarshal array into Go value of type api.Network". I have just filed a bug (#3230) to track this issue. > On Apr 26, 2017, at 3:49 PM, Stéphane Graber <stgra...@ubuntu.com> wrote: > > On Wed, Apr 26, 2017 at 03:37:25PM -0400, Ron Kel

[lxc-users] lxc network create - macvlan

2017-04-26 Thread Ron Kelley
Trying to create a macvlan network type using LXD 2.12 but can’t figure out the syntax. I have a number of vxlan interfaces created via the “ip link” command and would like to create the corresponding LXD networks without having to create separate profiles. I tried the commands "lxc network

Re: [lxc-users] lxc info - how to show connected network interface

2017-04-26 Thread Ron Kelley
rather than what's actually in the > container's namespace. > > On Wed, Apr 26, 2017 at 02:35:10PM -0400, Ron Kelley wrote: >> As soon as I get “send” I found the command: lxc config show >> >> >> Sorry for the noise… >> >> >> >>> On Apr 26, 2017, at

Re: [lxc-users] lxc info - how to show connected network interface

2017-04-26 Thread Ron Kelley
As soon as I get “send” I found the command: lxc config show Sorry for the noise… > On Apr 26, 2017, at 2:33 PM, Ron Kelley <rkelley...@gmail.com> wrote: > > Running LXD 2.12 on a couple of Ubuntu 17.04 servers with a local “manager” > node and a remote worker node.

[lxc-users] lxc info - how to show connected network interface

2017-04-26 Thread Ron Kelley
Running LXD 2.12 on a couple of Ubuntu 17.04 servers with a local “manager” node and a remote worker node. I started a remote CentOS 6 container on the worker node then attached a network via "lxc network attach eth1 LXD-Server-01:centos6-testing” (the default profile does not have a network

Re: [lxc-users] discuss.linuxcontainers.org experiment

2017-04-25 Thread Ron Kelley
Stéphane, Thanks for setting up the discussion group. I just joined… As a suggestion, it would be great if we could have an official “best practices” section supported/endorsed by the Canonical team. Or, a section whereby people can contribute their designs and others can add their

[lxc-users] LXD firewall container?

2017-04-24 Thread Ron Kelley
Greetings all, I am looking for an easy-to-configure firewall tool that provides NAT/Gateway/Firewall functions for other containers. I know I can use iptables, etc, but I would like something more easily managed (web-based tool?) like pfSense, IPFire, IPCop, etc. Unfortunately, many of the

Re: [lxc-users] LXD 2.12 - VXLAN configuration connected to eth1

2017-04-23 Thread Ron Kelley
mplementation I > always selected the default interface for those, so that explains why no > amount of routing trickery would help. > > Stéphane > > On Sun, Apr 23, 2017 at 04:36:43PM -0400, Ron Kelley wrote: >> Thanks for the speedy reply! From my testing, the VXLAN tunne

[lxc-users] LXD 2.12 - VXLAN configuration connected to eth1

2017-04-23 Thread Ron Kelley
Greetings all. Following Stéphane’s excellent guide on using multicast VXLAN with LXD (https://stgraber.org/2016/10/27/network-management-with-lxd-2-3/). In my lab, I have setup a few servers running Ubuntu 16.04 with LXD 2.12 and multiple interfaces (eth0, eth1, eth2). My goal is to setup a

Re: [lxc-users] LXD (lxc 2.0.6 + lxd 2.0.8) - OOM problem

2017-01-17 Thread Ron Kelley
Follow-up. Seems to be a bug with the kernel (4.4.0-59). Heads-up to everyone… https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1655842 <https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1655842> On Jan 17, 2017, at 7:15 AM, Ron Kelley <rkelley...@gmail.com> wrote: G

[lxc-users] LXD (lxc 2.0.6 + lxd 2.0.8) - OOM problem

2017-01-17 Thread Ron Kelley
Greetings all, Running Ubuntu 16.04 with 5G RAM, 20G SWAP, and LXD (LXC v.2.0.6 and LXD 2.0.8). We recently did a system update on our LXD servers and started getting a whole bunch of OOM messages from the containers. Something like this:

Re: [lxc-users] would there be value in starting an LXD community online collection of how-to related information

2017-01-09 Thread Ron Kelley
Brian, Absolutely agree on an online collection of how-to docs for LXD. We started using LXD about 8mos ago as an alternative to full-blown VMs for hosting WordPress websites. Since then, we are now have 4 main LXD containers hosting over 100 sites, and we are expanding every day. Our goal

Re: [lxc-users] Strange freezes with btrfs backend

2016-12-03 Thread Ron Kelley
My 0.02 We have been using btrfs in production for more than a year on other projects and about 6mos with LXD. It has been rock solid. I have multiple LXD servers each with >20 containers. We have a separate btrfs filesystem (with compression enabled) to store the LXD containers. I take

Re: [lxc-users] What are the options for connecting to storage?

2016-11-17 Thread Ron Kelley
-users [mailto:lxc-users-boun...@lists.linuxcontainers.org] On Behalf Of Ron Kelley Sent: 16 November 2016 19:49 To: LXC users mailing-list Subject: Re: [lxc-users] What are the options for connecting to storage? What about using a bind-mount? Mount your iscsi volume to the LXD server and bind

Re: [lxc-users] What are the options for connecting to storage?

2016-11-16 Thread Ron Kelley
What about using a bind-mount? Mount your iscsi volume to the LXD server and bind-mount it into the container. A quick URL: https://github.com/lxc/lxd/issues/2005 On Nov 16, 2016, at 11:42 AM, McDonagh, Ed wrote: Hi I

Re: [lxc-users] Question about your storage on multiple LXC/LXD nodes

2016-11-03 Thread Ron Kelley
t; share the data across hyperviseurs > > Cordialement, > > Benoît > > ------------ > *De: *"Ron Kelley" <rkelley...@gmail.com> > *À: *"lxc-users" <lxc-users@lists.linuxcontainers.org&

Re: [lxc-users] Question about your storage on multiple LXC/LXD nodes

2016-11-03 Thread Ron Kelley
We do it slightly differently. We run LXD containers on Ubuntu 16.04 Virtual Machines (inside a virtualized infrastructure). Each physical server has redundant network links to highly-available storage. Thus, we don't have to migrate containers between LXD servers; instead we migrate the

Re: [lxc-users] LXC containers w/ static IPs work on some hosts, not on others

2016-10-20 Thread Ron Kelley
ython3-lxc Michael On 10/20/2016 01:43 PM, Ron Kelley wrote: > "lxc profile show”. Usually, you have a default profile that gets applied to > your container unless you have created a new/custom profile. > > > > > > On Oct 20, 2016, at 1:41 PM, Michael

Re: [lxc-users] LXC containers w/ static IPs work on some hosts, not on others

2016-10-20 Thread Ron Kelley
What profile(s) are you using for your LXC containers? On Oct 20, 2016, at 1:33 PM, Michael Peek wrote: Hi gurus, I'm scratching my head again. I'm using the following commands to create an LXC container with a static IP address: # lxc-create -n my-container-1 -t

[lxc-users] LXD - auto mount home directories

2016-10-18 Thread Ron Kelley
Greetings all, Looking over the email archives, I could not find a 100% answer. I would like to setup LDAP with auto-mount home directories on our Ubuntu containers (servers running LXD 2.0.2 and beyond). I found this thread: https://github.com/lxc/lxd/issues/1826 but did not see a final

Re: [lxc-users] LAN for LXD containers (with multiple LXD servers)?

2016-09-18 Thread Ron Kelley
this requirement in your initial email. On Sep 18, 2016, at 9:41 AM, Tomasz Chmielewski <man...@wpkg.org> wrote: On 2016-09-18 22:14, Ron Kelley wrote: > (Long reply follows…) > Personally, I think you need to look at the big picture for such > deployments. From what I read below,

Re: [lxc-users] LAN for LXD containers (with multiple LXD servers)?

2016-09-18 Thread Ron Kelley
(Long reply follows…) Personally, I think you need to look at the big picture for such deployments. From what I read below, you are asking, “how do I extend my layer-2 subnets between data centers such that container1 in Europe can talk with container6 in Asia, etc”. If this is true, I think

Re: [lxc-users] Desktop Environment in LXD

2016-06-18 Thread Ron Kelley
Perhaps your best option is to open a support ticket with Canonical? I am sure someone (Stephen, etc) would be happy to help you over the phone. On Jun 18, 2016, at 12:05 AM, Rahul Rawail wrote: Thanks for your answer, but again can someone who knows inside out of this,

[lxc-users] LXD - bind mount inside container

2016-06-14 Thread Ron Kelley
Greetings, Looking to setup a bind mount inside a CentOS-6 container for ~user-a/WWW pointing to /var/www/html. However, each time I run “bind —mount /home/user-a/www /var/www/html” I get a read-only error message and the bind mount is not created. This works just fine inside a “normal” VM.

[lxc-users] Proper usage of fuidshift

2016-05-16 Thread Ron Kelley
Trying to understand the right way to use fuidshift. I have rsync'd a container from one server to another and the root/group IDs are off. Each time I start the container, I get permission denied errors (like root's .bashrc). I read the manpage for fuidshift but am still confused. Various

Re: [lxc-users] zfs disk usage for published lxd images

2016-05-16 Thread Ron Kelley
; > It's hard to me to say what's "more stable" on Linux (btrfs or zfs); my > bets would be btrfs getting more attention in the coming year, as it's > getting its remaining bugs fixed. > > > Tomasz Chmielewski > http://wpkg.org > > > > > On 2016-

Re: [lxc-users] zfs disk usage for published lxd images

2016-05-16 Thread Ron Kelley
16, 2016 at 5:38 PM, Ron Kelley <rkelley...@gmail.com> wrote: For what's worth, I use BTRFS, and it works great. Btrfs also works in nested lxd, so if that's your primary use I highly recommend btrfs. Of course, you could also keep using zfs-backed containers, but manually assign a zvol-for

Re: [lxc-users] zfs disk usage for published lxd images

2016-05-16 Thread Ron Kelley
For what's worth, I use BTRFS, and it works great. Container copies are almost instant. I can use compression with minimal overhead, use quotas to limit container disk space, and can schedule a deduplication task via cron to save even more space. Might be something for you to check out.

Re: [lxc-users] Container scaling - LXD 2.0

2016-05-09 Thread Ron Kelley
Thanks Fajar, Appreciate the pointers. We have already setup MariaDB with the small-instance tuning as well as setup php-fpm using the on-demand option as well. The big issue now is RAM. A brief background: - A few years back, one of our customers asked us to host a small

[lxc-users] How to limit rootfs in a container

2016-05-05 Thread Ron Kelley
Greetings all, From the LXD documentation URL (https://github.com/lxc/lxd/blob/master/doc/configuration.md) it appears we can limit the size of the rootfs inside the container via the “size” parameter. However, I can’t seem to find the proper syntax to make this happen. I need the syntax

[lxc-users] Copying/cloning a container between nodes if LXC/LXD is not running

2016-05-03 Thread Ron Kelley
Greetings all, I updated some packages on my Ubuntu 15.10 server today which (when rebooted) caused the bridged networking to no longer work. As a result, the LXD daemon would not start, in turn, preventing me from spinning up some containers. After fixing the networking issue, I realized I