similar to: Diskless Centos & Cgroup config changes

Displaying 20 results from an estimated 2000 matches similar to: "Diskless Centos & Cgroup config changes"

2018 Sep 04
2
Change password and add user on RO filesystem
Hi everyone I'm trying to create system with RO root filesystem, so i'm using /etc/sysconfig/readonly-root along wih /etc/rwtab and /etc/statetab. Apart of numerous problems with services running on RO filesystem (which i'm constantly resolving adding entries to /etc/statetab) one thing popped up. I'm unable to add user or change his password. Error is 'cannot lock
2014 Feb 09
3
libvirt/qemu and cgroups
Dear list, I am building a Arch server on my Arch box. My tools are QEMU/KVM and libvirt to manage the guest, systemd as system manager. I am looking at implementing the Linux Control Groups facilities for resource management. Even after long hours of reading, I am not quite sure about how to deal with the cgroups facilities. First, do I really need to care about all that, or libvirt and
2018 Sep 05
0
Change password and add user on RO filesystem
Hello Marcin, On 2018-09-04, Marcin Trendota <moonwolf.rh at gmail.com> wrote: > > I'm trying to create system with RO root filesystem, so i'm using > /etc/sysconfig/readonly-root along wih /etc/rwtab and /etc/statetab. > > Apart of numerous problems with services running on RO filesystem (which > i'm constantly resolving adding entries to /etc/statetab) one
2014 Dec 17
0
Again with same Cgroup issue :)
Hello All, From the last couple of days i have been spamming this mailing list with request for configuring Cgroup with libvirtd on Centos systems. I still can not find a permanent solution to limit host RAM to particular value,tried creating a separate hierarchy "mykvm" and changed in sysconfig/libvirtd after that vm's memory cgroup reflects this.But it is
2011 Nov 01
1
auto-set /cgroup/*/libvirt/qemu/<vm name>/ directory permissions on creation
Is there a way to automatically set the permissions of cgroups directories created by libvirt when a VM is launched? Although it looks like I can set permissions on top-level /cgroup directories via cgconfig.conf, the cgconfig.conf manpage says "Permissions are related only to enclosing control group and are not inherited by subgroups.". From this, I believe that when libvirt
2011 Jan 23
2
Cgroup
Hello, I'm running Debian Sid with libvirt/qemu/kvm packages from experimental: $ qemu --version QEMU emulator version 0.13.0 (Debian 0.13.0+dfsg-2), Copyright (c) 2003-2008 Fabrice Bellard $ kvm --version QEMU emulator version 0.13.0 (qemu-kvm-0.13.0 Debian 0.13.0+dfsg-2), Copyright (c) 2003-2008 Fabrice Bellard $ libvirtd --version libvirtd (libvirt) 0.8.6 /etc/libvirt/qemu.conf
2011 Feb 09
0
Question about putting vm in blkio cgroup
Hello, I have another question about cgroup in libvirt I create a script that put vm in cgroup for limiting blkio sudo cgcreate -f 750 -d 750 -a $user:$group -g blkio:$alias pid=`pgrep $alias` echo $pid > /dev/cgroup/blkio/$alias/tasks $virsh schedinfo --set cpu_shares=$cpu $alias echo "8:0 $disk_io" > /dev/cgroup/blkio/$alias/blkio.throttle.read_bps_device echo "8:0
2011 Feb 15
2
monitiring cpu usage via cgroup
Hi I was asking about the fedora 14 kernel if it is good enough for cgroup usage because I am trying to set a cgroup under cpu subsytem ( /dev/cgroup/cpu/group1/ ) that have /cpu.rt_runtime_us of 100000 while cpu.rt_period_us has a value of 1000000 i.e a ratio of 1/10 . still when I run a task (endless loop) in that group (cgexec -g cpu,cpuset:group1 ./test) it gets all the cpu core time
2014 Dec 14
0
Difficulty configuring Cgroups on redhat/centos
Hello All, i am trying to set "memory.limit_in_bytes" for all process created by libvirt.But i am not able to achieve this on RHEL systems in Ubuntu servers creating memory cgroup for "libvirt-qemu" user solves the issue.But in case of RHEL system i tried to create a group by editing "cgconfig.conf" and then changing cgrules.conf and restarted cgconfig and
2012 May 11
1
Permission issue with cgroups
Hello libvirt users, I'm using the cgroup with QEMU guests. At /etc/libvirt/qemu.conf, I have the following parameter: cgroup_controllers = [ "cpu" ] This controller is successfully mounted and libvirt is able to create subgroups for each VM, it's really great the cgroups support in libvirt. The problem is that I can only set the parameters of a given cgroup under the cpu
2012 Nov 07
1
libvirt with lxc: internal error The 'cpuacct', 'devices' & 'memory' cgroups controllers must be mounted
Hi, I'm running OpenStack to manage LXC instance through libvirt. The same setting runs perfectly well on Ubuntu 12.04, while on CentOS 6u3, libvirt dumped following message when starting lxc instance. virsh -c lxc:/// start instance-00000032 error: internal error The 'cpuacct', 'devices' & 'memory' cgroups controllers must be mounted Really appreciated if
2013 Mar 14
1
cgroups not working?
Hi, I'm trying to use cgroups to limit the apache webserver but this doesn't seem to work as far as I can tell. I modified cgconfig.conf like this: group webserver { cpu { cpu.shares="250"; } } and addes this to cgrules.conf: *:httpd * webserver Looking into the "webserver" cgroup shows that the pid's of
2009 Sep 28
1
[PATCH node-image] update rwtab entries for /live, /boot, and /var/lib/random-seed
This fixes a few boot,install and reboot items - creates and adds entries in rwtab.d/ovirt for /live and /boot - unblacklists /boot so the directory is there on boot - touches random-seed to fix a reboot error --- common-blacklist.ks | 2 +- common-post.ks | 5 +++++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/common-blacklist.ks b/common-blacklist.ks index
2014 Feb 10
0
Re: libvirt/qemu and cgroups
On Mon, Feb 10, 2014 at 12:29:10AM +0100, arnaud gaboury wrote: > Dear list, > > I am building a Arch server on my Arch box. > My tools are QEMU/KVM and libvirt to manage the guest, systemd as > system manager. > > I am looking at implementing the Linux Control Groups facilities for > resource management. Even after long hours of reading, I am not quite > sure about
2011 Jul 25
0
[PATCH node] Drop F15 build recipes
Due to a critical dracut bug, and a strong dev focus on F16, we're dropping all F15 recipes. Signed-off-by: Mike Burns <mburns at redhat.com> --- recipe/ovirt15-install.ks | 1 - recipe/ovirt15-minimizer.ks | 1 - recipe/ovirt15-pkgs.ks | 2 - recipe/ovirt15-post.ks | 145 ------------------------------------------ recipe/ovirt16-install.ks | 2 +-
2012 Jan 25
2
How to change libvirt / cgroup interaction?
Hi there, Do you know if there is a way to modify how libvirt interacts with the cgroup? Because, I successfully add the /dev/net/tun support in my LXC container by doing: echo c 10:200 rwm >> /cgroup/libvirt/lxc/instance-00000005/devices.allow But when I restart the instance/LXC container, this option has gone. How can I make this persistant? Is there a configuration file? Thanks
2009 Sep 01
1
[PATCH node-image] readonly rootfs setup
This completes the read only rootfs, all needed writable directories are in the tmpfs. Signed-off-by: Joey Boggs <jboggs at redhat.com> --- common-post.ks | 12 ++++++++++++ ovirt-node-image.ks | 1 + 2 files changed, 13 insertions(+), 0 deletions(-) diff --git a/common-post.ks b/common-post.ks index 0c0a3f4..44a0270 100644 --- a/common-post.ks +++ b/common-post.ks @@ -146,3
2012 Dec 13
1
RHEL6 cgroup error after a few days of uptime
I have a RHEL6 that hosts many kvm virtual machines. It has been working fine for a couple years. I apply errata updates about once a week. In the last couple weeks, I've ran into a bug where the virtual machines start failing to start with a cgroup error message. If I reboot the host (very disruptive) then things start working normaly for a few days. Can I configure qemu/libvirt not to use
2009 Sep 29
2
[PATCH node-image] add /var/lib/dnsmasq to rwtab
Virtual networks can now be created and destroyed with a r/o filesystem. Signed-off-by: Michael Burns <mburns at redhat.com> --- common-post.ks | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/common-post.ks b/common-post.ks index 44a0270..5531e08 100644 --- a/common-post.ks +++ b/common-post.ks @@ -151,6 +151,7 @@ rm -f /etc/cron.daily/logrotate sed -i
2014 Feb 10
0
Re: libvirt/qemu and cgroups
On Mon, Feb 10, 2014 at 01:28:42PM +0100, arnaud gaboury wrote: > > The precise answer depends on which version of systemd you have. In > > any systemd host though, systemd should ensure all the filesystems > > are mounted correctly. If you have libvirt >= 1.1.1 and systemd >= 205 > > then you can use its "slice" and "scope" concepts to setup