Enabling Zswap on fedora 28

By | November 24, 2018

Zswap is a kernel feature which provides a compressed RAM cache for swap pages, it works in conjuction with swap space. If swap partition is not present then we can create a swapfile and activate it. Making a filebased swap, Create a 2GB swap partition with “dd” and activate it. [root@localhost cipher]# dd if=/dev/zero of=/mnt/swapfile… Read More »

Converting vmware vmdk images to kvm qcow2 images

By | October 3, 2018

Red hat certifications are one of the most demanding in the in the IT industry , i wanted to get started with planning working towards getting RHCE certified ,while preparing for rhce certification one of the recommended book is Red Hat RHCSA/RHCE 7 Cert Guide: Red Hat Enterprise Linux 7 (EX200 and EX300) which covers… Read More »

Setting default gateway from virsh-net command line

By | October 1, 2018

Generally when a network  is configured from virsh-define for a particular range say 192.168.4.0 it gateway will be automatically assigned to 192.168.4.1, if the gateway wants to be changed to 192.168.4.2 then it can be done by using virsh-net edit command line option from cli. <route family=’ipv4′ address=’192.168.4.0′ prefix=’24’ gateway=’192.168.4.2’/> Check the existing virsh networks… Read More »

systemd-udev-settle.service hangs on fedora 28

By | July 11, 2018

Recently while playing around disk partitions on fedora 28 i have observed that boot times were painfully slow on my laptop, when investigated found the issue was due to an enty for non existant swap partition in fstab. to fix the issue i recreated a swap file system and added below lines to fstab #… Read More »

Getting started with foreman

By | June 25, 2018

Foreman is a provisioning and complete life cycle management orchestration tool for managing infratructure from a graphical interface and also from command line tool hammer-cli. With computing resources in foreman supports managing different type of hosts like vmware, aws , baremetal , kvm , docker etc.. to name a few Under the hood foreman uses… Read More »

No internet on kvm guests.

By | April 20, 2018

After setting up bridge network on network interface enp9s0 , kvm guests had issues with accessing ssh,internet. Current bridge configuration bridge name bridge id STP enabled interfaces br0 8000.001c2301fbdc no enp9s0 to allow kvm guests network connectivity with host net.ipv4.ip_forward should be enabled, add net.ipv4.ip_forward = 1 to /etc/sysctl.conf kernel.sysrq = 1 vm.swappiness=10 vm.vfs_cache_pressure=50 net.ipv4.ip_forward… Read More »

Openvswith with kvm bridge network.

By | April 17, 2018

Openvswith is a virtual switch  production level software, that can be used in virtual switch in VM environments like kvm , virtualbox etc.. In case of vm’s network connection to outer world is established by NAT or Bridge (Layer2 device) , this model is good for single server vm guests , openvswitch is suited for… Read More »