Install and Configure Redhat Virtualization (RHEV)
Install and Configure Redhat Virtualization (RHEV)
Install and Configure Redhat Virtualization (RHEV)
*********************************************
Collect logs
=============
# rhevm-log-collector
Backup database
================
# ./backup.sh -d engine -u postgres
To list databases
=================
# psql -U username
\l
Backup Manager Configuration
============================
# tar --xattrs -cvf backup.tar /root /etc /usr/share/ovirt-engine*
irt-engine/
/var/lib/ov
===================================================
yum install libguestfs-tools -y
virt-sysprep list
virt-sysprep -a diskimage clears all in the list by default
Kill VM by process ID
=====================
[root@desktop9 ~]# ps aux | grep rhevm
qemu
19809 40.7 8.0 4947312 642908 ?
Sl 08:28 0:10 /usr/libexec/qe
mu-kvm -S -M rhel6.3.0 -enable-kvm -m 4096 -smp 2,sockets=2,cores=1,threads=1 -n
ame rhevm -uuid 326d6930-0126-673b-06d4-01490eda643e .....
[root@desktop9
[root@desktop9
root
19955
[root@desktop9
S+
08:29
Alternate method 1
==================
# virsh
virsh # list
Id
Name
State
---------------------------------------------------9
rhevm
running
virsh # shutdown rhevm
Domain rhevm is being shutdown
virsh # list
Id
Name
State
---------------------------------------------------9
rhevm
running
Create VM
=========
virt-install --name mykvm --ram 1024 --disk path=/var/lib/libvirt/images/mykvm,s
ize=4 --cdrom rhel-server-6.3-x86_64-dvd.iso
man virt-install