Applying XenServer Hotfixes with Ansible

Ansible is a very simple yet powerful alternative to Puppet and Chef. It works over plain SSH and does not require an agent on the remote nodes. This makes Ansible very handy in automating tasks on XenServer hypervisor which is essentially a vendor black box.

Below is a very hackish playbook to apply predefined XenServer hotfixes. It would be a lot cleaner if a “xen” module existed for Ansible.

Continue reading Applying XenServer Hotfixes with Ansible

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn

Rescue Crashed Synology Volume

One of the 1.5TB WD15EARS (Western Digital Green) drives on the Synology DS410 running firmware DSM 4.2-3211 failed earlier this week. The RAID5 volume recovery process ended up being a little tricky thanks to ext3 journal corruption on the actual filesystem “/volume1” block device /dev/md2.

Screen Shot 2013-08-20 at 2.13.15 PM

Continue reading Rescue Crashed Synology Volume

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn

DHCP Hostname Updates for CloudStack Templates

The Working with Templates section from the CloudStack Administrators Guide describes in broad strokes how to create OS templates. In addition to the steps mentioned there, you might need an extra step to update the hostname settings during DHCP depending on the Linux distribution.

Continue reading DHCP Hostname Updates for CloudStack Templates

Shanker Balan

Shanker Balan is a devops and infrastructure freelancer with over 14 years of industry experience in large scale Internet systems. He is available for both short term and long term projects on contract. Please use the Contact Form for any enquiry.

More Posts - Website

Follow Me:
TwitterLinkedIn