Hello, and welcome to this video on creating a virtual machine from a template using Oracle
Linux Virtualization Manager.
In this video you will learn how to create a virtual machine from a template using the
Oracle Linux Virtualization Manager Administration Portal.
Let's get started.
We are logged into the Oracle Linux Virtualization Manager Administration Portal and from the
menu we have already navigated to Compute and then Templates.
This brings us to the Templates list.
The templates list currently shows two templates created from Oracle Linux virtual machines
and the Blank template.
The Blank template, which is decoupled from all clusters and data centers, is editable
but not deleteable.
To create a new virtual machine from a template, we first select the ol7-vm-template in the
list, and then click the New VM button.
The New Virtual Machine dialog box opens, displaying the General tab by default.
For the Cluster selection, since the Default cluster is the only cluster in our environment,
we will leave it selected.
For Template, it shows the name of the template we highlighted in the list before opening
the New Virtual Machine dialog window.
This is the template we want to base the new VM on, so we leave it selected.
For the Operating System, Oracle Linux 7.x x86 is already selected from the drop down
list, as this is what was used in the VM that the template was created from.
So we leave it selected.
For the instance type, it shows Custom.
This represents the shape of the VM that the template was created from, indicating the
number of cpus, memory, etc.
This is good for our new VM, so we leave Custom type selected.
The same applies for the Optimized for dropdown, which shows Desktop is selected.
For the Name field, we paste in ol7-vm2 for its name.
We then check to ensure a vNIC profile is selected.
So looking at the vNIC profile section, we see from the nic1 drop-down list, the logical
network vm-net, which we will use.
To boot the new VM, we need to ensure that the First Device is set to Hard Disk, so we
click the Boot Options tab in the window to verify.
We see it is correctly chosen from the template to be Hard Disk.
When the template was built using another VM as reference, a read-only copy of the disk
belonging to the VM was created.
This template disk is used to build the hard disk for the new VM.
We now have enough information set in the New Virtual Machine dialog, so we click OK
to create the virtual machine from the template.
The length of time it takes to create varies depending on the size of the virtual machine.
To see the new virtual machine when its created, we select Compute from the navigation menu
and then Virtual Machines.
This shows a list of all VMs, now with our new VM included.
For our new virtual machine, ol7-vm2, the Status column shows Image Locked and an hourglass
icon indicating the new VM is still being created.
After some time, we get a notification message telling us the new VM has been created, with
the status showing Down and a red arrow icon.
We click Dismiss All to remove the notification.
With our new VM already highlighted, we click Run to boot the virtual machine.
The red down arrow icon to the left of the virtual machine turns green and the Status
column displays Wait for Launch.
As the VM starts the status changes to Powering Up, and we start seeing Memory, CPU and Uptime
statistics.
After it is up and running, the Status changes to Up and a notification message tells us
the virtual machine is Finished Launching.
To access the VM console we click on the Console button.
This will open a terminal window on the desktop of our VM.
And here is our VM, with the terminal window opened.
We can see the new VM built from the template is running and ready to be used.
In this video you learned how to create a virtual machine from a template using the
Oracle Linux Virtualization Manager Administration Portal.
Oracle provides an extensive number of resources which you can use to find out more about this
subject and others.
For more videos on Oracle Linux Virtualization Manager go to the learning library link shown.
To view an extensive collection of training content covering a range of administrative
topics on Oracle Linux, go to the Oracle Linux Learning Library.
You can find documentation on Oracle Linux Virtualization Manager at the link shown.
There is a comprehensive Oracle Linux curriculum available to support a full range of Linux
administration skills for cloud, on-premise and hybrid users.
And for more information or to get started on Oracle Cloud Infrastructure, go to cloud.oracle.com.
And for more training on Linux on Oracle Cloud Infrastructure go to the link shown here.
Thats the end of the video, thanks for watching.