Adding Barracuda RBL to MailCleaner

cat < use mc_config;
insert into dnslist values ("BBARRACUDACENTRALORG", 'b.barracudacentral.org.', 'blacklist', 1, 'http://www.barracudacentral.org/rbl/removal-request' );
END

cat < /usr/mailcleaner/etc/rbls/BBARRACUDACENTRALORG.cf
name=BBARRACUDACENTRALORG
type=IPRBL
dnsname=b.barracudacentral.org
sublist=127.0.0.d+,BBARRACUDACENTRALORG,b.barracudacentral.org list
END

 

Original article http://forum.mailcleaner.org/viewtopic.php?f=3&t=2116

MegaCLI on CentOS 7

Installation

Yum install Lib_Utils-1.00-08.noarch.rpm MegaCli-8.01.06-1.i386.rpm (i386 binary works ok on x64 servers)

List all controllers

/opt/MegaRAID/MegaCli/MegaCli64 -AdpAllInfo -aALL

List all physical disks

/opt/MegaRAID/MegaCli/MegaCli64 -PDlist -a0 | grep -e '^Enclosure Device ID:' -e '^Slot Number:' -e '^Inquiry'

Show Logical disks

/opt/MegaRAID/MegaCli/MegaCli64 -LDInfo -lall -aALL

Add a logical volume(Single disk Raid0)

/opt/MegaRAID/MegaCli/MegaCli64 -CfgLdAdd -r0 [32:2] -a0

More infohttp://www.waldersten.net/content.php?/archives/62-Create-virtual-disks-online-using-MegaCli.html

 

 

Enable QEMU Guest Agent on Windows

Install the Guest agent from the ISO https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/stable-virtio/virtio-win.iso

Edit the service startup parameters in the registry

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\QEMU-GA\ImagePath = "C:\Program Files\qemu-ga\qemu-ga.exe" -d -p \\.\Global\org.qemu.guest_agent.1

Ensure the appropriate devices are present in the guest XML configuration

    <controller type='virtio-serial' index='0'>
      <alias name='virtio-serial0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </controller>

    <channel type='unix'>
      <source mode='bind' path='/var/lib/libvirt/qemu/East-Maint.agent'/>
      <target type='virtio' name='org.qemu.guest_agent.1' state='connected'/>
      <alias name='channel1'/>
      <address type='virtio-serial' controller='0' bus='0' port='2'/>
    </channel>

Test using socat to communicate with the socket defined in the XML(Might need to yum install socat -y)

socat unix-connect:/var/lib/libvirt/qemu/GUEST_NAME.agent readline

{"execute":"guest-info"}

Returns:
{"return": {"version": "0.12.1", "supported_commands": [{"enabled": true, "name": "guest-set-user-password"}, {"enabled": true, "name": "guest-set-vcpus"}, {"enabled": true, "name": "guest-get-vcpus"}, {"enabled": true, "name": "guest-network-get-interfaces"}, {"enabled": true, "name": "guest-suspend-hybrid"}, {"enabled": true, "name": "guest-suspend-ram"}, {"enabled": true, "name": "guest-suspend-disk"}, {"enabled": true, "name": "guest-fstrim"}, {"enabled": true, "name": "guest-fsfreeze-thaw"}, {"enabled": true, "name": "guest-fsfreeze-freeze"}, {"enabled": true, "name": "guest-fsfreeze-status"}, {"enabled": true, "name": "guest-file-flush"}, {"enabled": true, "name": "guest-file-seek"}, {"enabled": true, "name": "guest-file-write"}, {"enabled": true, "name": "guest-file-read"}, {"enabled": true, "name": "guest-file-close"}, {"enabled": true, "name": "guest-file-open"}, {"enabled": true, "name": "guest-shutdown"}, {"enabled": true, "name": "guest-info"}, {"enabled": true, "name": "guest-set-time"}, {"enabled": true, "name": "guest-get-time"}, {"enabled": true, "name": "guest-ping"}, {"enabled": true, "name": "guest-sync"}, {"enabled": true, "name": "guest-sync-delimited"}]}}