Upload
pradeep-yadav
View
34
Download
0
Embed Size (px)
Citation preview
WHAT IS KVM ?1
KVM (for Kernel-based Virtual Machine) is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). It consists of a loadable kernel module, kvm.ko, that provides the core virtualization infrastructure and a processor specific module, kvm-intel.ko or kvm-amd.ko.Using KVM, one can run multiple virtual machines running unmodified Linux or Windows images. Each virtual machine has private virtualized hardware: a network card, disk, graphics adapter, etc.KVM is open source software. The kernel component of KVM is included in mainline Linux. The userspace component of KVM is included in mainline QEMU.
CONTENTS
1.SERVER SETUP2.CLIENT SETUP3.CONCLUSION
1.INSTALL NFS SERVER
# apt-get install nfs-kernel-server
SERVER SETUP3
2.Create the exports/images file system and give permissions
# mkdir -p /exports/images# chmod -R 777 /exports# chmod -R 777 /exports/images
4
3.Add the following two lines to /etc/exports /exports *(rw,sync,no_root_squash,no_subtree_check) /exports/images *(rw,sync,no_root_squash,no_subtree_check)
5
4. Add the following line to /etc/hosts.allowrpcbind mountd nfsd statd lockd rquotad : ALL
6
5. Change the group and owner of /exports/images/ to ‘nogroup’.# chown nobody:nogroup /exports/images/
7
To start, restart and stop commands for NFS server. # service nfs-kernel-server start # service nfs-kernel-server restart # service nfs-kernel-server stop
8
1. Install the required packages... # apt-get install nfs-common
CLIENT SETUP9
10
2. Add the following line to /etc/hosts.allow.rpcbind mountd nfsd statd lockd rquotad : ALL
3. On the client we can mount the complete export tree with one command.# mount server_ip_address:/exports/images /var/lib/libvirt/images
11
4. Install KVM and supporting packages
# sudo apt-get install qemu-kvm libvirt-bin bridge-utils virt-manager
12
5. Create User # sudo adduser user_name # sudo adduser user_name libvirtd
13
6. Open Virtual Machine Manager Application and Create Virtual Machine# virt-manager
14
CONCLUSION
This System Software is very useful and easy to implement in Batch Systems. This package is used to reduce Hardware cost and also security issues. It is implemented in Cloud Computing.Colleges can implement it in Labs to reduce hardware cost as Students use on less amount of resources during exams and Labs.
THANK YOU!