Here is a simple and useful URL about OpenStack APIs.
My previous post was about how to boot a VM using KVM.
Let’s focus now on booting a VM using Libvirt.
The following example shows how to use the qemu-img command to create an empty image file. virt-install command to start up a virtual machine using that image file.
1. First create a .qcow2 image file
root@xyz:~# qemu-img create -f qcow2 /home/nazarite/ubuntu-14.04-server.qcow2 250G
2. Use net-start in virsh to start the default network
virsh # net-start default
Network default started
3. I am going to use virt-install tool to boot the virtual machine through libvirt and connect to the graphical console from a VNC client installed on your local machine.
root@xyz:~# virt-install –virt-type kvm –name ubuntu-14.04-server –ram 10240 –cdrom=/home/nazarite/ubuntu-14.04.1-server-amd64.iso –disk path=/home/ppmuser/ubuntu-14.04-server.qcow2,size=250,format=qcow2 –network network=default –graphics vnc,listen=0.0.0.0 –noautoconsole –os-type=linux –os-variant=ubuntutrusty
Creating domain… | 0 B 00:00
Domain installation still in progress. You can reconnect to
the console to complete the installation process.
4. Use the ‘virsh vncdisplay
vm-name’ command to get the VNC port number.
# virsh vncdisplay ubuntu-14.04-server
5. Connect to a vnc client like tightvnc with the I.P Addresss_of_host:
To create an image:
root@zion:~# qemu-img create -f qcow2 ubuntu.img 10G
To Install from the .iso image:
root@zion:~# qemu-system-x86_64 -enable-kvm -m 10000 -cdrom ubuntu-14.04.1-server-amd64.iso -drive file=ubuntu.img,if=virtio,index=0 -boot d -net nic -net user -nographic -vnc 10.x.x.178:1
Use a VNC client to log into the VNC session. Enter 10.x.x.178:1 to log into the VNC Session and complete the installation.
Once the installation is complete, login to the VM using any vnc client.
kvm -m 10000 -drive file=ubuntu.img,if=virtio,index=0 -boot c -net nic -net user -nographic -vnc :1
The 3 Laws of Logical thought are as follows
1) Law of identity: A is A
A is A which means Everything is the same as itself; or a statement cannot not remain the same and change its truth value.
As per Aristotle is “that every thing is the same with itself and different from another”: A is A and not ~A.
2) Law of of non-contradiction: NOT (A and not A)
Nothing can both exist and not exist at the same time and
in the same respect; or no statement is both true and false.
As per Aristotle “one cannot say of something that it is and that it is not in the same respect and at the same time”.
3. The law of non excluded middle Either (A or not A)
Something either exists or does not exist; or every statement
is either true or false.
As per Aristole “But on the other hand there cannot be an intermediate between contradictories, but of one subject we must either affirm or deny any one predicate. This is clear, in the first place, if we define what the true and the false are. To say of what is that it is not, or of what is not that it is, is false, while to say of what is that it is, and of what is not that it is not, is true; so that he who says of anything that it is, or that it is not, will say either what is true or what is false; …”
Replacing Sunday Mornings: http://www.christianitytoday.com/women/2013/october/confessions-of-returned-millennial-christian.html?
Nice article by Joel on the pornography and it’s effects on the human brain: http://thegospelcoalition.org/blogs/tgc/2013/05/08/9-things-you-should-know-about-pornography-and-the-brain/