Install RHEL7/Centos/Fedora on a software raid device

Installing Linux on a RAID has lot of advantages, from using RAID1 to enjoy protection against drive failures or RAID0 to combine the size of several drives to create bigger space for files with all the smaller disks we have. There are several RAID level definitions and may have different uses depending on our needs and hardware availability. For this, I focused on using raid1 for the system disks (for greater redundancy/protection against failures) and raid0 (for combining several disks to make bigger space available for non important data).. ...

March 28, 2015 · 4 min · Pablo Iranzo Gómez

OctoPress for Jekyll blogging

After testing for some days Jekyll and github.io for blog posting, I was missing some features of other CMS, so I started doing some search on how to automate many other topics while keeping simplicity on blog posting. OctoPress Makes this extra step so you can still focus on your contents and of course have a nice template as starting point with integrations for some social plugins, etc. Setup is well done if you follow the provided steps, without jumping anything, in my case, I moved my old pages (plain jekyll + poole) to OctoPress. ...

March 24, 2015 · 2 min · Pablo Iranzo Gómez

Podcasts with flexget and transmission

Some podcasts are available via RSS feeds, so you can get notified of new episodes, so the best way I’ve found so far to automate this procedure is to use the utility flexget. Flexget can download a RSS feed and get the .torrent files associated to them and store locally, which makes a perfect fit for later using Transmission’s watch folder, to automatically add them to your download queue. In order to do so, install flexget either via pip (pip install flexget) or using a package for your distribution and create a configuration file similar to this: ...

March 16, 2015 · 1 min · Pablo Iranzo Gómez

Jekyll and Markdown

For my work I’ve been using markdown for a while, it allows to use some formatting on the documents created (mainly for knowledge base and solutions) without too much hassle for the formatting. On the other side I was willing to improve the ability to make it easier to post new entries to blog without having to wait too much time, and of course, be able to prepare them offline and then push them live. ...

March 16, 2015 · 2 min · Pablo Iranzo Gómez

RHEV/oVirt API with Python

RHEV/oVirt API allows faster and simple development of scripts and utilities ranging from gathering of information to VM/host, etc manipulation. For example, a simple script for connecting to API and list VM’s could be: import sys import getopt import optparse import os import time from ovirtsdk.api import API from ovirtsdk.xml import params from random import choice baseurl = "https://localhost:8443" api = API(url=baseurl, username="admin@internal", password="redhat", insecure=True) for vm in api.vms.list(): print(vm.name) The .list() method works pretty well, but beware, it limits collections to 100 elements for performance reasons, so in those cases, we’ll need to check how many results do we have, and paginate by passing an extra argument to our “.list()” invocation, for example: ...

October 24, 2012 · 2 min · Pablo Iranzo Gómez
This blog is a participant in the Amazon Associate Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.