Physical Host Metrics in Ceilometer – An Openstack Liberty Tale

This post is about the errors while getting physical machine metrics with ceilometer specifically  Openstack Liberty. Simply errors can be: - No metrics shown in: ceilometer meter-list specifically metrics listed below: compute.node.cpu.frequency compute.node.cpu.idle.percent compute.node.cpu.idle.time compute.node.cpu.iowait.percent compute.node.cpu.iowait.time compute.node.cpu.kernel.percent compute.node.cpu.kernel.time compute.node.cpu.percent compute.node.cpu.user.time - No samples in: ceilometer sample-list --meter compute.node.cpu.* where * is the metrics mentioned above. - … Continue reading Physical Host Metrics in Ceilometer – An Openstack Liberty Tale

Reclaim empty space from, Shrink disk of qcow2 disk file

To reclaim disk space (in other words to shrink disk space) of qcow2 disk file you need to run following steps. 1. Fill guest disk with empty file This is required since disk does not really hold its configured size, instead it has a sparse file format in creation time. After a while disk gets … Continue reading Reclaim empty space from, Shrink disk of qcow2 disk file

Agile Manifesto

Scrum has been used by Google since 2005. Scrum is widely used agile framework. In short Agile can be described with the following manifesto: Individuals and interactions,over,processes and tools Working software,over,comprehensive documentation Customer collaboration,over,contract negotiation Responding to change,over,following a plan Hats off for this manifesto. look at: agilemanifesto.org for details.

Search packages in debian based distros

You are probably familiar with: apt-get install <package-name> command to install new packages to your debian based distro. You can easily search for a package from command line with the following command: apt-cache search <package-name> if you are not completely know package name get little help from grep and pipe (|) combinations. For example if … Continue reading Search packages in debian based distros

Soket Programlama – 1

İstemci Sunucu Kavramı ve Örnek Tasarımlar Soket programlama IPC (interprocess communication) mimarisinde sıklıkla tercih edilen metotlardandır. Pek çok uygulama bu kavramı kullanmaktadır. En basitinden internet üzerinden oynanan bir tavla uygulaması soket programlama kullanılarak yapılabilir. Soket programlama için temel iki kavram olan istemci ve sunucuyu açıklayalım. İstemciden çok sayıda olabilir. Sunucudan bir tane olacaktır. Aslında bu … Continue reading Soket Programlama – 1

Soket Programlama – 2

Basit bir Sunucu Yapalım Bu yazımızda basit bir sunucu yazılımı yapacağız. Bunu temel bazı kavramları yeri geldikçe açıklayarak yapalım. Beklentilerinizin aksine malesef bu sunucu multi-threaded değil single threaded olacaktır. Bu yöntemin seçilmesinin sebebi, asıl amaç olan istemci-sunucu kavramına odaklanılması içindir. Multi-threading kavramını başka bir yazımız için planlayıp konumuza dönelim. Soket (socket) nedir? Soket aslında iki … Continue reading Soket Programlama – 2