Jump to content

Red Hat Virtualization

From Wikiversity

Red Hat Virtualization (RHV) is an x86 virtualization product produced by Red Hat, based on the KVM hypervisor that enables management of unlimited guest machines[1].

Components:

  • Red Hat Virtualization Manager (RHV-M): yum install rhvm-appliance[2]
  • Red Hat Virtualization Hypervisors: Red Hat Enterprise Linux or RHV Host (RHV-H)

Features:

  • RHV support scheduling policies that defines the logic by which virtual machines are distributed amongst hosts.[3]
  • Predefined Instance Types[4]
  • Dashboard[5]
  • Storage Quality of Service [6]
  • Host High Availability [7]
  • SSO using a Kerberos server[8]

Commands

[edit | edit source]
  • yum install ovirt-hosted-engine-setup && hosted-engine --deploy[9] (i will install yum install rhvm-appliance) which has to be available.
  • nodectl check
  • vdsm-client
vdsm-client Host getVMList
vdsm-client Host getCapabilities
vdsm-client Host getStats
vdsm-client Host getAllVmStats
vdsm-client Host getLVMVolumeGroups

oVirt commands

[edit | edit source]

Sanlock

[edit | edit source]

Sanlock [10] is a shared storage lock manager. https://www.ovirt.org/develop/developer-guide/vdsm/sanlock.html.

Logs: /var/log/sanlock.log.

Commands:

  • sanlock client status
  • sanlock client log_dump
  • /var/log/vdsm/vdsm.log
  • /var/log/libvirt/qemu/HostedEngineLocal.log

Vdsm manages and monitors the host’s storage, memory and networks as well as virtual machine creation, other host administration tasks, statistics gathering, and log collection.

  • Logs: /var/log/vdsm/vdsm.log

Activities

[edit | edit source]

Basic

[edit | edit source]
  1. Read RHV Quick Start: https://www.redhat.com/en/blog/red-hat-virtualization-43-quick-start
  2. Install RHV following https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_cockpit_web_interface/index
    1. Install RHVH Self-hosted Engine Deployment Host[11]
    2. Install Red Hat Virtualization Host (RHVM): yum install rhevm
  3. Read RHV Administration Guide: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/index

Advanced

[edit | edit source]
  1. Install RHV using NFS as a shared storage filesystem a troubleshoot problems following https://www.ovirt.org/develop/troubleshooting-nfs-storage-issues.html
  2. Review Backup documentation: https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/administration_guide/index#chap-Backups_and_Migration and Veritas NetBackup support.
  3. Read Red Hat Virtualization Life Cycle https://access.redhat.com/support/policy/updates/rhev

See also

[edit | edit source]

References

[edit | edit source]
  1. https://www.redhat.com/en/topics/virtualization/what-is-KVM
  2. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_cockpit_web_interface/index?extIdCarryOver=true&sc_cid=701f2000001OH7iAAG#Installing_the_Red_Hat_Virtualization_Manager_SHE_cockpit_deploy
  3. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/administration_guide/index#sect-Scheduling_Policies
  4. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/administration_guide/index#sect-Instance_Types
  5. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/administration_guide/index#chap-System_Dashboard
  6. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/chap-quality_of_service#sect-Storage_Quality_of_Service
  7. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/sect-host_resilience#Host_high_availability
  8. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html/administration_guide/configuring_ldap_and_kerberos_for_single_sign-on
  9. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_command_line/index
  10. https://linux.die.net/man/8/sanlock
  11. https://access.redhat.com/documentation/en-us/red_hat_virtualization/4.3/html-single/installing_red_hat_virtualization_as_a_self-hosted_engine_using_the_cockpit_web_interface/index#Installing_the_self-hosted_engine_deployment_host_SHE_cockpit_deploy