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.
Comments ( 0 )
No comments available