Monthly Archives: April 2014

Upgrading RHEV-M 3.3 to RHEV-M 3.4 Beta

In order to update RHEV Manager from 3.3 to 3.4 beta we can follow this procedure:

yum-config-manager --enable rhel-6-server-rhevm-3-beta-rpms
yum-config-manager --enable rhel-6-server-beta-rpms
yum-config-manager --enable rhel-6-server-rhevh-beta-rpms
engine-upgrade-check
yum update rhevm-setup -y
engine-setup
yum update rhevm-dwh rhevm-reports -y
engine-setup
yum update rhev-hypervisor6 -y

If upgrading rhevm-reports fails is due to this bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1086003

As a workaround first we need to upgrade jasper reports server and install openjdk dev rpm and re-run engine-setup once more:

yum update jasperreports-server-pro -y
yum install java-1.7.0-openjdk-devel.x86_64 -y
engine-setup

VMware heartbleed – ESXi 5.5 U1 and vCSA 5.5 U1

VMware has already released patches (19/4/2013) for ESXi and vCSA 5.5U1, newest versions are:

VMware vCenter Server Appliance – 5.5.0 U1a – 5.5.0.10100 Build 1750781
VMware ESXi – 5.5.0 U1 – VMware ESXi 5.5.0 build-1746018

VMkernel esxi 5.5.0 #1 SMP Release build-1746018 Apr 15 2014 02:08:35 x86_64 GNU/Linux

More info in: https://www.vmware.com/security/advisories/VMSA-2014-0004.html

Did you already upgrade them? Let’s keep our private keys private 🙂

Enable btrfs storage driver with Docker and Fedora 20

In order to enable btrfs storage driver instead of AUFS in Fedora 20 we have to:

1) Create a partition or logical volume with btrfs and mount it in /var/lib/docker, for example in my case:

 # yum install -y btrfs-progs
 # lvcreate -l 100%FREE -n docker fedora
 # mkfs.btrfs /dev/fedora/docker
 # echo '/dev/mapper/fedora-docker /var/lib/docker                   btrfs    defaults        1 2' >> /etc/fstab 

2) Install Docker

# yum -y install docker-io
# mount -a
# vi /usr/lib/systemd/system/docker.service
  ...
  ExecStart=/usr/bin/docker -d -s btrfs
  ...
# systemctl start docker
# systemctl enable docker

3) Check that Docker is using btrfs as storage driver

# docker info
Containers: 0
Images: 4
Storage Driver: btrfs
Execution Driver: native-0.1
Kernel Version: 3.13.9-200.fc20.x86_64