Virtualization – Time Break – Glusterfs !

hmmm.. Its been long time I am writing articles in my space.. More than 50% were virtualization oriented .. Right now I am taking a break here and planning to come back with more Filesystem articles , obviously it will be centred on “glusterfs” where I am going to put my finger on. How-ever at …

Read more

Configure/install Swift and Gluster-Swift on a RHEL/CentOS system

Here is step by step guide which helps you to configure/install Swift and Gluster-Swift on a RHEL system.   Install EPEL repo: wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm rpm -ivh epel-release-6-8.noarch.rpm Install Openstack Repo: cd /etc/yum.repos.d wget http://repos.fedorapeople.org/repos/openstack/openstack-trunk/el6-openstack-trunk.repo Install glusterfs Repo: cd /etc/yum.repos.d wget http://download.gluster.org/pub/gluster/glusterfs/LATEST/RHEL/glusterfs-epel.repo Check if EPEL, glusterfs, and Openstack repos have been installed correctly: yum repolist repo …

Read more

How to list qemu device options using command line in KVM environment..

[Back to blogging after busy season of ….]

Any way, its a very common query on qemu/kvm and most of the people dont know .. It is really useful to know which options are available with some of the devices and qemu-kvm binary…

Here is an example on the same: You have to replace your qemu binary path accordingly

First of all if you want to list the devices available for the qemu binary, please list it using :

[root@node ~]# /usr/bin/qemu-kvm -device ? name “pci-bridge”, bus PCI name “virtio-scsi-pci”, bus PCI, alias “virtio-scsi” name “virtio-balloon-pci”, bus PCI name “virtio-serial-pci”, bus PCI, alias “virtio-serial” name “virtio-net-pci”, bus PCI name “virtio-blk-pci”, bus PCI, alias “virtio-blk” name “i82562”, bus PCI

*****

If you want to list specific options of a particular device, view it by invoking in similar way as below.. Here I used “virtio-net-pci” as an example..

[root@node ~]# /usr/bin/qemu-kvm -device virtio-net-pci,?

virtio-net-pci.ioeventfd=on/off virtio-net-pci.__com_redhat_macvtap_compat=on/off virtio-net-pci.x-__com_redhat_rhel620_compat=on/off virtio-net-pci.vectors=uint32 virtio-net-pci.indirect_desc=on/off virtio-net-pci.event_idx=on/off virtio-net-pci.csum=on/off virtio-net-pci.guest_csum=on/off virtio-net-pci.gso=on/off virtio-net-pci.guest_tso4=on/off virtio-net-pci.guest_tso6=on/off virtio-net-pci.guest_ecn=on/off virtio-net-pci.guest_ufo=on/off virtio-net-pci.host_tso4=on/off virtio-net-pci.host_tso6=on/off virtio-net-pci.host_ecn=on/off virtio-net-pci.host_ufo=on/off virtio-net-pci.mrg_rxbuf=on/off virtio-net-pci.status=on/off virtio-net-pci.ctrl_vq=on/off virtio-net-pci.ctrl_rx=on/off virtio-net-pci.ctrl_vlan=on/off virtio-net-pci.ctrl_rx_extra=on/off virtio-net-pci.ctrl_guest_offloads=on/off virtio-net-pci.ctrl_mac_addr=on/off virtio-net-pci.mac=macaddr virtio-net-pci.vlan=vlan virtio-net-pci.netdev=netdev virtio-net-pci.bootindex=int32 virtio-net-pci.x-txtimer=uint32 virtio-net-pci.x-txburst=int32 virtio-net-pci.tx=string virtio-net-pci.addr=pci-devfn virtio-net-pci.romfile=string virtio-net-pci.rombar=uint32 virtio-net-pci.multifunction=on/off

The same way you can list available CPUs and Machine types

-M ?
-cpu ?

For ex:

[root@node ~]# /usr/bin/qemu-kvm -cpu ? x86 Opteron_G5 AMD Opteron 63xx class CPU x86 Opteron_G4 AMD Opteron 62xx class CPU x86 Opteron_G3 AMD Opteron 23xx (Gen 3 Class Opteron) x86 Opteron_G2 AMD Opteron 22xx (Gen 2 Class Opt ..

sys-unconfig command to reconfigure your system from next boot..

sys-unconfig is a shell script to reconfigure the system upon next boot .. The man page description is more than enough to know what parameters are reconfigured from next boot.. sys-unconfig provides a simple method of reconfiguring a system in a new environment. Upon executing sys-unconfig will halt your system, and run the following configuration …

Read more

Red Hat Enterprise Linux 6.5 released..

Red Hat Enterprise linux 6.5 released recently. I am excited to see the improvements came in virtualization space ( glusterfs support, cpu hotplugging, pvpanic, ovf conversion..etc) in this specific release.. Below are some details about this list of features.. Improved Support For the VMDK Image File Format Red Hat Enterprise Linux 6.5 includes a number …

Read more

KVM live migration process [Part -1 ]

If you are using KVM to run virtual machines in your environment then, you can make use of one of the fantastic features of KVM. i.e. Live Migration of virtual machines. So, first we will see what is the exact meaning of KVM live migration. KVM live migration is the process of moving the virtual …

Read more

/me @ KVM forum 2013, UK Edinburgh..

Oh yeah.. It was one of the wonderful week in my life!!. This year I was lucky enough to get green flag to KVM forum and I really enjoyed it. I would say, it was an awesome time which allowed me to experience Scottish beauty together with friends – renowned virtualization developers in opensource community. …

Read more