Monthly Archives: December 2016

lveinfo

To monitor the number of LVE fault
"lveinfo --display-username --show-all --limit=25 --order-by=any_faults --by-fault=any -r 1 -d 1 --period=5m | tee /dev/stderr

To monitor the number of LVE with max CPU usage >90%
"lveinfo --display-username --show-all --limit=25 --order-by=cpu_max --by-usage=cpu_max -p 90 -d 1 - iod=5m | tee /dev/stderr

To show I/O:
"lveinfo --display-username --show-all --limit=25 --order-by=io_max --by-usage=io_max -p 90 -d 1 -period=5m | tee /dev/stderr

enable kvm nested

cat /sys/module/kvm_intel/parameters/nested
N
Temporarily remove the KVM intel Kernel module, enable nested virtualization to be persistent across reboots and add the Kernel module back:

sudo rmmod kvm-intel
sudo sh -c “echo ‘options kvm-intel nested=y’ >> /etc/modprobe.d/dist.conf”
sudo modprobe kvm-intel
Ensure the Nested KVM Kernel module parameter for Intel is enabled on the host:

cat /sys/module/kvm_intel/parameters/nested
Y

modinfo kvm_intel | grep nested
parm: nested:bool

postgrey whitelist hotmail or outlook

vi /etc/postfix/postgrey_whitelist_clients

# Do NOT greylist hotmail.com MX servers (see dig in mx hotmail.com)
/^mx[1-4]\.hotmail\.com$/

# Do NOT greylist ANY host from hotmail.com or outlook.com

#hotmail
/^.*\.hotmail\.com$/
#outlook
/^.*\.outlook\.com$/

killall postgrey
service start postgrey

Log:

postgrey[30881]: action=pass, reason=client whitelist, client_name=bay004-omc4s14.hotmail.com, client_address=65.54.190.216, sender=

You also can whitelist *.outbound.protection.outlook.com and etc