InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What Advantages Does Employing Kvm Switches Have? |
|
Answer» As shortly MENTIONED before, employing KVM SWITCHES has many advantages. Its not only the reduced costs for hardware that play an important role. Even the environment benefits from employing fewer devices. And here are even more advantages:
As shortly mentioned before, employing KVM switches has many advantages. Its not only the reduced costs for hardware that play an important role. Even the environment benefits from employing fewer devices. And here are even more advantages: |
|
| 2. |
What Are The Differences Between Kvm Switches? |
Answer»
|
|
| 3. |
Which Signals Do Kvm Switches Switch? |
|
Answer» KVM SWITCHES switch one or several of the following signals:
KVM switches switch one or several of the following signals: |
|
| 4. |
How Do Kvm Switches Work? |
|
Answer» KVM switches establish a connection between the SIGNALS of KEYBOARD, monitor and mouse and the selected computer. Whenever you use the SWITCH to switch to another computer, keyboard and mouse are provided at said computer. There are different ways of accessing computers: Most KVM switches support any of these ways of switching between computers. KVM switches establish a connection between the signals of keyboard, monitor and mouse and the selected computer. Whenever you use the switch to switch to another computer, keyboard and mouse are provided at said computer. There are different ways of accessing computers: Most KVM switches support any of these ways of switching between computers. |
|
| 5. |
What Are Kvm Switches? |
|
Answer» Depending on the variants applied, you can USE KVM switches – KVM is short for keyboard, video, mouse – to OPERATE up to 64 computers from your workstation. This workstation, sometimes ALSO called console, consists of keyboard, monitor and mouse that are directly connected to the KVM switch. So FAR, so good. Depending on the variants applied, you can use KVM switches – KVM is short for keyboard, video, mouse – to operate up to 64 computers from your workstation. This workstation, sometimes also called console, consists of keyboard, monitor and mouse that are directly connected to the KVM switch. So far, so good. |
|
| 6. |
How To Get Hardware Information Of Kvm Guest Machine ? |
|
Answer» USE the COMMAND ‘VIRSH dominfo ’ Use the command ‘virsh dominfo ’ |
|
| 7. |
How Can We Do The Live Kvm Migration? |
|
Answer» A guest can be migrated to another host with the VIRSH command. First make SURE that the gust is RUNNING by running: 1 [ROOT@host]# virsh list To migrate the host execute: [root@host]# virsh migrate --live testbox qemu+ssh://remotelinuxbox/system This will keep all the connections to the migrated host alive after the migration with no perceived OUTAGE. A guest can be migrated to another host with the virsh command. First make sure that the gust is running by running: 1 [root@host]# virsh list To migrate the host execute: [root@host]# virsh migrate --live testbox qemu+ssh://remotelinuxbox/system This will keep all the connections to the migrated host alive after the migration with no perceived outage. |
|
| 8. |
What Are The Basic Requirements Of Vm Live Migration In Kvm ? |
|
Answer» Some of the basic requirements are listed below :
Some of the basic requirements are listed below : |
|
| 9. |
Explain Libvert Features? |
|
Answer» VM management: Various domain lifecycle operations such as start, stop, pause, save, restore, and migrate. Hotplug operations for MANY device types including disk and network interfaces, memory, and cpus. Remote machine support: All libvirt functionality is accessible on any machine running the libvirt daemon, including remote MACHINES. A variety of network transports are supported for connecting remotely, with the simplest being SSH, which requires no extra EXPLICIT configuration. If example.com is running libvirtd and SSH ACCESS is allowed, the following command will provide access to all virsh commands on the remote host for qemu/kvm: 1 [root@host]# virsh --connect qemu+ssh://root@example.com/system Storage management: Any host running the libvirt daemon can be used to manage various types of storage: create file images of various formats (qcow2, vmdk, raw, ...), MOUNT NFS shares, enumerate existing LVM volume groups, create new LVM volume groups and logical volumes, partition raw disk devices, mount iSCSI shares, and much more. Since libvirt works remotely as well, all these options are available for remote hosts as well. Network interface management: Any host running the libvirt daemon can be used to manage physical and logical network interfaces. Enumerate existing interfaces, as well as configure (and create) interfaces, bridges, vlans, and bond devices. This is with the help of netcf. Virtual NAT and Route based networking: Any host running the libvirt daemon can manage and create virtual networks. Libvirt virtual networks use firewall rules to act as a router, providing VMs transparent access to the host machines network. VM management: Various domain lifecycle operations such as start, stop, pause, save, restore, and migrate. Hotplug operations for many device types including disk and network interfaces, memory, and cpus. Remote machine support: All libvirt functionality is accessible on any machine running the libvirt daemon, including remote machines. A variety of network transports are supported for connecting remotely, with the simplest being SSH, which requires no extra explicit configuration. If example.com is running libvirtd and SSH access is allowed, the following command will provide access to all virsh commands on the remote host for qemu/kvm: 1 [root@host]# virsh --connect qemu+ssh://root@example.com/system Storage management: Any host running the libvirt daemon can be used to manage various types of storage: create file images of various formats (qcow2, vmdk, raw, ...), mount NFS shares, enumerate existing LVM volume groups, create new LVM volume groups and logical volumes, partition raw disk devices, mount iSCSI shares, and much more. Since libvirt works remotely as well, all these options are available for remote hosts as well. Network interface management: Any host running the libvirt daemon can be used to manage physical and logical network interfaces. Enumerate existing interfaces, as well as configure (and create) interfaces, bridges, vlans, and bond devices. This is with the help of netcf. Virtual NAT and Route based networking: Any host running the libvirt daemon can manage and create virtual networks. Libvirt virtual networks use firewall rules to act as a router, providing VMs transparent access to the host machines network. |
|
| 10. |
What Is Libvirt And Why It's Useful ? |
Answer»
|
|
| 11. |
How To Forcefully Shutdown The Kvm Based Virtual Machine From The Command Line ? |
|
Answer» We can FORCEFULLY shutdown the VM USING the command ‘virsh destroy machine_name’.This command should only be USED in a case where VM is in Hung state because forcefully shutdowm may cause filesystem CORRUPTION. We can forcefully shutdown the VM using the command ‘virsh destroy machine_name’.This command should only be used in a case where VM is in Hung state because forcefully shutdowm may cause filesystem corruption. |
|
| 12. |
How Kvm Does Support Dynamic Memory Management? |
|
Answer» KVM allows the resources to be shared to the guest operating systems. KVM allocates the memory dynamically between many processes. KVM allows the HOST to allocate the memory for the guest and beyond it guest can't use memory. The guest system that has a BALLOON driver keeps the guest from taking full memory. This ballooning is controlled by balloon monitor. KVM allows the pages that are SIMILAR to be grouped or collapse together in one to save the space this way the dynamic memory MANAGEMENT can be performed by KVM.
KVM allows the resources to be shared to the guest operating systems. KVM allocates the memory dynamically between many processes. KVM allows the host to allocate the memory for the guest and beyond it guest can't use memory. The guest system that has a balloon driver keeps the guest from taking full memory. This ballooning is controlled by balloon monitor. KVM allows the pages that are similar to be grouped or collapse together in one to save the space this way the dynamic memory management can be performed by KVM. |
|
| 13. |
Which Command Is Used To List All Virtual Machine Running On The Kvm Hypervisor ? |
|
Answer» USING the command ‘virsh LIST –all’ we can list all VIRTUAL MACHINES irrespective of their STATES. Using the command ‘virsh list –all’ we can list all virtual machines irrespective of their states. |
|
| 14. |
How To Identify The Kvm Version ? |
|
Answer» To FIND the KVM version USE the COMMAND ‘VIRSH version’ To find the KVM version use the command ‘virsh version’ |
|
| 15. |
What Is The Difference Between Kvm And Xen? |
Answer»
|
|
| 16. |
What Is The Procedure To Set Up Network For Guest To Make It Accessible From Host Machine? |
|
Answer» KVM known as kernel virtual machine uses QEMU for device emulation. In this there are two NETWORKING modes that are defined. First mode is ROOT networking mode and another mode is network bridge mode. If the IP address to the virtual machines has to be assigned then the kvm need to be up and running. To SETUP the network interface across the host machine the command that is required to be followed is as follows: /sbin/ip /usr/sbin/brctl /usr/sbin/tunctl KVM known as kernel virtual machine uses QEMU for device emulation. In this there are two networking modes that are defined. First mode is root networking mode and another mode is network bridge mode. If the IP address to the virtual machines has to be assigned then the kvm need to be up and running. To setup the network interface across the host machine the command that is required to be followed is as follows: /sbin/ip /usr/sbin/brctl /usr/sbin/tunctl |
|
| 17. |
How To Check The Hardware Acceleration Provided By Kvm? |
|
Answer» KVM module provides HARDWARE acceleration for better performance and to provide better efficiency in between the virtual machines. To check the hardware acceleration checks the system CONFIGURATION SETTINGS by using the following commands: 1 qemu-system-x86_64 -hda myvm.qcow2 If it gives any ERROR message or module not find message then the modules are not loaded correctly. KVM module provides hardware acceleration for better performance and to provide better efficiency in between the virtual machines. To check the hardware acceleration checks the system configuration settings by using the following commands: 1 qemu-system-x86_64 -hda myvm.qcow2 If it gives any error message or module not find message then the modules are not loaded correctly. |
|
| 18. |
How Can I Use Kvm With A Non-privileged User? |
|
Answer» To USE KVM as a non-privileged user firs the CREATION of a group has to TAKE place in which addition of the users takes places and then making their group. The FILE that has to be modified for the groups and by which the permissions can be set resides in /dev/kvm that has to be changed to give permissions to non-privileged users. To set the permission the following line has to be ADDED or replaced in the file mentioned above. KERNEL=="kvm", GROUP= "kvm" To use KVM as a non-privileged user firs the creation of a group has to take place in which addition of the users takes places and then making their group. The file that has to be modified for the groups and by which the permissions can be set resides in /dev/kvm that has to be changed to give permissions to non-privileged users. To set the permission the following line has to be added or replaced in the file mentioned above. KERNEL=="kvm", GROUP= "kvm" |
|
| 19. |
What Are The Different Formats Supported By Kvm? |
|
Answer» KVM supports various formats in SYNCHRONIZATION with QEMU as it supports many raw images, native QEMU format of qcow2, VMWare format like .VMX, .vmdk, etc. VirtualBox format like .vbx, etc. and many more. QEMU and KVM together give the ADVANCED functionality to run virtualized servers and platforms.
KVM supports various formats in synchronization with QEMU as it supports many raw images, native QEMU format of qcow2, VMWare format like .vmx, .vmdk, etc. VirtualBox format like .vbx, etc. and many more. QEMU and KVM together give the advanced functionality to run virtualized servers and platforms. |
|
| 20. |
What Are The Various Uses Of Kvm? |
|
Answer» KVM acts as a virtualization platform that is required by MACHINES to RUN other operating system in synchronization with host operating system. It is an inbuilt virtualization platform that comes with Linux KERNEL. It is used for non-graphic servers and supports wide range of operating system to run with. It runs ALONG with QEMU to PROVIDE strong virtualization platform. KVM acts as a virtualization platform that is required by machines to run other operating system in synchronization with host operating system. It is an inbuilt virtualization platform that comes with Linux kernel. It is used for non-graphic servers and supports wide range of operating system to run with. It runs along with QEMU to provide strong virtualization platform. |
|
| 21. |
What Is The Difference Between Passive And Active Switches? |
Answer»
|
|
| 22. |
What Is The Requirement Of Kvm Switch? |
|
Answer» KVM switch is required to access more than one SERVER from one PLACE. The requirements of different switches differ from one institute to another. There are switches that give no protection but provide higher efficiency. Some switch OFFER the password to protect the switch. The password helps in LOCKING the switch so that more security can be given. The switches provide protection to the user so that the data can be kept safe. KVM switch is required to access more than one server from one place. The requirements of different switches differ from one institute to another. There are switches that give no protection but provide higher efficiency. Some switch offer the password to protect the switch. The password helps in locking the switch so that more security can be given. The switches provide protection to the user so that the data can be kept safe. |
|
| 23. |
Why Kvm And Not Xen ? |
Answer»
|
|
| 24. |
How Does Kvm Fit In With Cloud? |
Answer»
|
|
| 25. |
What Is The Use Of Kvm Switch? |
|
Answer» KVM switch allows user to TAKE control of two or more computers using the resources that are shared LIKE mouse, keyboard, monitor, etc. This allows the administrator to access multiple servers from a single place. Administrator can access fileserver or internal server or PROXY server and can separate out these servers from each other. This gives the freedom to administrator to use the components anywhere and make it EFFICIENT. KVM switch allows user to take control of two or more computers using the resources that are shared like mouse, keyboard, monitor, etc. This allows the administrator to access multiple servers from a single place. Administrator can access fileserver or internal server or proxy server and can separate out these servers from each other. This gives the freedom to administrator to use the components anywhere and make it efficient. |
|