How to create Snapshot and Template - RHEV

To create Snapshot and Template - RHEV

Snapshot is used to save a VM’ s state at specific Point of Time which is must while testing a software. Procedure to create Snapshot and Template in RHEV is explained in this manual.

Activate the virtual machine and Click the console option, Enter the following the command to check the OS version.

[root@linuxhelp ~]# cat /etc/issue

Enter the following the command to check the kernel version

[root@linuxhelp ~]# uname -r

Select the running virtual machine and click Create snapshot.

Enter a description, select the hard disk. Save memory and click OK.

Status changes from locked to ok

Remove the /etc/issue file using rm command

[root@linuxhelp ~]# rm &ndash rf /etc/issue

After removing shut down the virtual machine

To restore the snapshot of the VM, select preview

Select restore memory and Click OK

Before powering on the vm, select the snapshot and give commit

Now the status has changed to OK. Click preview and then ok.

To Creating template

Create an empty hidden file

[root@linuxhelp ~]# touch ./unconfigured

Remove the ssh hosts and udev rules

[root@linuxhelp ~]# rm &ndash rf /etc/ssh/ssh_host_*
 [root@linuxhelp ~]# rm -rf /etc/udev/rules.d/70-*

Shutdown the vm.

Select the virtual machine and click make template

Give a name, datacenter and cluster. Then click " OK"

After template creation, the status has been changed to OK.

FAQ
Q
Difference between clone and snapshot?
A
Clone takes the replica of one host as such and we can use it as separate host whereas snapshot takes the copy of the available configuration with which can be used later
Q
When and how to remove "/etc/issue" file ?
A
rm –rf "/etc/issue" is given before creating template
Q
Best alternative for RHEV? In opensource
A
Proxmox you can use for Virtualization too
Q
What are the minimum requirements? Especially RAM requirements
A
At least one network controller with a minimum bandwidth of 1Gbps. At least 512MB of RAM. Sufficient RAM for guest virtual machines. The amount of RAM required for virtual machines depends a
Q
Please share some installation steps for Opensource proxmox virtualization concept?
A
Follow this Link : "https://www.linuxhelp.com/how-to-windows-7-vm-on-proxmox-ve/"