Search results

  1. H

    Ballooning not lowering RAM on nodes total RAM Usage

    There appears to be issue with my virtual machines. If I allocated a virtual machine 10GB RAM and it uses on average only 1GB but for a short peak time it reaches 10GB the total RAM usage always remains at 10GB (on the node RAM usage not the virtual machines RAM usage graph). Ballooning is...
  2. H

    KSM how to clear current "KSM Sharing"?

    systemctl restart ksm service is not found
  3. H

    KSM how to clear current "KSM Sharing"?

    I accidentally configured KSM wrong nano /etc/ksmtuned.conf KSM_THRES_COEF=30 Thinking this would activate KSM when <30% RAM was remaining rather than what it's doing now (activating at 30% RAM usage). How can I safely restart KSM and clear the current RAM being used by KSM? I am also using...
  4. H

    Offline migration doesn't show "storage location"

    When I attempt to migrate a virtual machine that is powered off it does not let me choose the target storage like I would with a live migration. How can I migrate from a node using local storage to a remote node using ZFS storage in offline migration.
  5. H

    ZFS very high load/IO delay on migrations

    For a short time while the live migration begins I am seeing large CPU/IO/Load (zvol) root@hostname:~# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT zfs 6.97T 462G 6.52T - - 0% 6% 1.00x ONLINE - root@hostname:~#...
  6. H

    ZFS how to virt-edit a image?

    When I want to edit a file inside a virtual machine image normally I would do export EDITOR=nano virt-edit -a /var/lib/vz/images/104/vm-104-disk-0.raw /etc/cloud/cloud.cfg What is the equivalent of doing this on a ZFS pool? I am unable to located the ZFS files zfs list NAME...
  7. H

    ZFS optimization + Cache settings for VMs

    Thanks for the info. What about caching should it be something specific for Windows/Linux?
  8. H

    ZFS optimization + Cache settings for VMs

    I recently set up ZFS RAID-10 and I have some questions. Generally speaking I presume this is a good setting for a mixture of Linux/Windows not particually running any processes to optimize (like SQL DB) Also I have added the following /etc/modprobe.d/zfs.conf #Max Ram Used by ZFS - 64GB...
  9. H

    Cores compared to Cores + Sockets

    Both have the same RAM 6GB / 64GB (Node)
  10. H

    Script to monitor and limit CPU usage on resource intensive VMs

    "CPU limit" in this screenshot can be changed without a reboot
  11. H

    Cores compared to Cores + Sockets

    I am trying to understand the performance differences between creating a VM with 8 cores vs 4 cores/2 sockets. From any tests I manage to do the sysbench results seem to be very similar in fact usually the 4core/2sockets generally does better. While I overload the server (by running both tests...
  12. H

    Script to monitor and limit CPU usage on resource intensive VMs

    I am seeking out a monitoring script that would limit VMs that are using too much CPU usage over a long period of time. Example VM1 (4vCPU 2 core/2thread) uses 80%+ CPU (of total cores allocated) for 24 hours, gets 50% reduction down from 4 vCPU to 2 via CPU Limit After 6 hours of the CPU no...
  13. H

    IPFilter vs IPSet

    How/Where do you set these IPSet? The only thing I have found is which is not in the GUI anywhere? # /etc/pve/firewall/cluster.fw [IPSET blacklist] 77.240.159.182 213.87.123.0/24 Is there a easy way to do a cluster wide port block rather than IP ranges. I have only found security groups but...
  14. H

    IPFilter vs IPSet

    Can anyone explain the difference was looking into this myself today and found this old thread. Looks like it didn't get a response other than suggesting not to use the firewall.
  15. H

    How can I prevent ip spoofing in KVM

    Never mind after playing around with it I think I got it figured out I presume I don't have to do anything under VM > Firewall > IPSet
  16. H

    How can I prevent ip spoofing in KVM

    Thank you for the reply. What should the firewall config look like for the VM if I only want to enable this ipfilter? I want all ports open, the firewall purpose would only be to prevent spoofing. Also is there a way to apply rules to all VMs easily? maybe at the node level as the datacenter...
  17. H

    How can I prevent ip spoofing in KVM

    I am seeking advise on how I can first identify which virtual machine is causing this and second how can I prevent this from happening again. I presume it is IP spoofing iftop: https://i.gyazo.com/a748cf88760eac99f61378d1830d83b9.png The IPs on the left 118.107.171.x are not owned by me and...
  18. H

    CentOS 7 Cloud-init Inserting Unexpected DNS Server

    Anyone find the issue/fix? Have the same issue. /etc/NetworkManager/conf.d/99-cloud-init.conf contains: # Created by cloud-init on instance boot automatically, do not edit. # [main] dns = none Grep search only returns thre resolv.conf file [root@ip156 etc]# grep -i "192.168.122.1" /etc/* -R...
  19. H

    Clear cache buildup inside VMs

    Not an option as they might need the extra RAM at peak times. Problem I see is the RAM buff/cache doesn't seem to ever clear. They don't have swap I will see how that helps.
  20. H

    Clear cache buildup inside VMs

    Hello, To optimize in getting more out of the limited RAM my server has I plan on doing the following to clear cache build up: Linux hourly cronjob to run root sync; echo 3 > /proc/sys/vm/drop_caches Windows hourly schedule to run EmptyStandbyList.exe...