I have been searching for simple and easy script to backup selected virtual machines running on esxi server, which will:
- run on linux – do not require windows machine; can’t use PowerCLI
- do not require direct access to esxi host using ssh (as other backups scripts like ghettoVCB.sh do) and will use API
- support multiple esxi hosts managed by vcenter
- have clear code – that means no perl hell (including big vsphere perl sdk)
- have short code
- can be put into cron
I was unable to find any to comply my requirements. I’m learning python, so I searched for some python vsphere libs and found psphere. Then backup.py has born.
Are you getting angry when installing Debian and your network cards (eg. bnx2) are not working because of missing non-free firmware policy? Solution is simple – just use for installation unofficial Debian iso images with firmware. Continue reading
VMware vSphere cli requires many CPAN libraries. On Centos 6 I have enabled EPEL repository and installed packages:
IPSec implementation has been changed in recent Redhat Enterprise Linux (RHEL) from ipsec tools (used in RHEL 5) to openswan in RHEL 6. Configuration using ifcfg-ipsec interfaces doesn’t works any more. Obviously, same change applies for Centos.
Postfwd is Postfix firewall daemon. Continue reading
Conntrack tools allows manipulating linux connection tracking table. Command conntrack is useful for deleting conntrack entries, but it is not included by default in RHEL/Centos.
Unattended upgrades in Debian will not upgrade packages from third-party repositories (for example dotdeb.org) by default. It can be easily enabled editing /etc/apt/apt.conf.d/50unattended-upgrades.
The “Virus Bounce Ruleset” is a SpamAssassin ruleset to catch “backscatter”.
Backscatter is mail you didn’t ask to receive, generated by legitimate, non-spam-sending systems in response to spam.
Idea how to implement tracking last user pop3 or imap login date using dovecot is described in Dovecot Wiki.
Maybe you know, maybe not, but pre-build Debian Lenny packages of dovecot from backports has been built with sieve plugin.