Get current Ceph parameters

ceph -n osd.10 –show-config –cluster=adleast   Something like this might be useful  ceph -n osd.10 –show-config –cluster=adleast | grep backfill See here for an awesome cheatsheet – https://sabaini.at/pages/ceph-cheatsheet.html

Read More »

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

Read More »

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 […]

Read More »

Ceph monitor backup script

Dont just copy the /var/lib/ceph directory because you cant be sure of the state of the database files Original article – http://blog.widodh.nl/2014/03/safely-backing-up-your-ceph-monitors/   service ceph stop mon tar czf /var/backups/ceph-mon-backup_$(date +’%a’).tar.gz /var/lib/ceph/mon service ceph start mon

Read More »

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 […]

Read More »