As an alternative I create daily backups and keep monthly backups using a hard link
As a cronjob the following looks for files newer than 1 day and generates a hardlink with a monthly_ prefix
0 15 1 * * cd /backup/proxmox/dump; find * -mtime -1 -type f -exec ln {} monthly_{} \;
Regarding release on production repositories
Edit: I switched to the ``test`` release channel, but it would be nice to have it on the release channel soon
I guess it should be:
lxc.prlimit.nofile: 65536
I have not tried it yet
Edit: Corrected config setting. New ulimit can be checked with
root@ct ~ # ulimit -Hn
+1
Zstd is now available in debian stretch and supports multithreaded compression. I'm already using it for personal disk backups with >300MB/s compression speeds on consumer hardware.
It is a good start. Keepalived offers 2 important features:
- Floating IP with VRRP for High Availability
- Load Balancing on layer 3 or 4
I use floating IP and Nginx for load-balancing and SSL and HTTP2 termination. I highly recommend using gratuitous ARP with keepalived. A switch reboot could...
Both hosts work independently. You could use keepalived as a loadbalancer. Basic setup:
2x keepalived VMs which share a single and load-balance traffic to nodes
In my case I use 2x Nginx VMs as proxy load-balancer with 2x floating IP and DNS load balancing. If one host is down, the second host...
Thanks Wolfgang! I was not aware it is already in Proxmox 5.0. A wiki update would be much appreciated: https://pve.proxmox.com/wiki/Unprivileged_LXC_containers
I'm still on Proxmox 4. As a workaround I'm using lxc.hook.pre-start and prlimit on parent-parent-pid (=> lxc-start)...
Hi,
I'm also trying to raise ulimits in LXC. Unfortunately ulimits are not passed from pvedaemon/pveproxy to containers.
pvedaemon and pveproxy raised to 256k open files. As well as nofile in /etc/security/limits.conf
# cat /etc/systemd/system/pvedaemon.service.d/nofiles.conf
[Service]...
I also considered ZFS RAID-1 on USB flash drives, but decided to use small SSDs for reliability. In case you run ceph mon and/or mds on the same host, I would also recommend SSDs.
Are there any reliable USB flash drives?
Reminds me of an openvz upstart udev problem. Some migrated containers took 5 minutes to start. inittab was blocked by udev. Unfortunately openvz enforces upstart instead of sysvinit in newer debian 7 templates.
There should be a file "/etc/apt/preferences.d/parallels" that prevents sysvinit...
echo noop > /sys/block/sdX/queue/scheduler
and verify with
cat /sys/block/sdX/queue/scheduler
[noop] deadline cfq
I use udev rules to set different attributes for block devices
Hi,
I recently migrated from Proxmox 3 to 4. Workload: 1TB SSD with 12-hourly sequential write (direct IO) and random read (buffered IO).
Wait IO increased massively. It's not about ext4 journal/barriers ;-)
1. Mark: Proxmox 4 upgrade
2. Mark: Switch from deadline to noop
In a later stage I...
@gkovacs You can assign single cores to lxc containers with "lxc.cgroup.cpuset.cpus = 2,3" for cores 3 and 4 in /etc/pve/lxc/<ID>.conf and it will correctly display only 2 cpus in /proc/cpuinfo.
I recently stumbled across this issue as facter for puppet reported always all cores of the host...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.