introduction
in previous article : we have got an overview about content library concept and its type beside historical review of evolution
this article : we will discuss how to create local content library and how to import items ,
also we will see how to create template in content library and how to create VM from that template
Network Diagram
please have a look to network diagram above
we have the following servers :
- domain controller for AD DC101.pioneers.lab with IP address 172.16.100.101
- ESXI151 with IP address 172.16.100.151
- ESXI152 with IP address 172.16.100.152
- ESXI153 with IP address 172.16.100.153
- VCenter server VCSA161.pioneers.lab with IP address 172.16.100.161 and
Also we have the following VM
- PC101 running Windows-10 on ESXI153
- PC103 running Windows-10 on ESXI153
Regarding storage, we have
- Local DataStore on ESXI151 called local-DS02-ESX151 with capacity 500GB
- Local DataStore on ESXI152 called local-DS02-ESX152 with capacity 500GB
- Local DataStore on ESXI153 called local-DS02-ESX153 with capacity 500GB
- Shared DataStore on ISCSI103 called Shared-DS01-ISCSI103 with capacity 1TB
- All 3 ESXI [ESXI151,ESXI152,ESXI153] are connected to ISCSI DataStore
we are going to create local content library called loc-library-01 on shared datastore
Create Local content Library
the first content library we will create is local content library , with name loc-library-01 on shared datastore
open vcenter
https://vcsa161.pioneers.lab
import ISO file to Content library
after we have created local content library successfully : we can import file to it
first we will import window 10 ISO file to created content library
clone VM as template in COntent Library
now content library loc-library-01 has one ISO file as seen above
let us try to create VM template from Virtual Machine PC101
so we can create many VM from that template
create new VM from template
now we have windows 10 template in content library loc-Library-01
let us to create new Virtual machine from that template
clone VS template
when talk about template : the first question come to mind : what is difference between cloning and create VM from template ?
Clone VM
An exact copy of a VM at a specific moment in time, although this is usually performed on a powered off VM (a clone of a running VM is called as snapshot
VM Templates
A copy of pre-installed VMs containing all the software and configuration settings that would make the VM
Template like sysprep tool which remove ALL computer identity like computer name , IP address , MAC address
Conclusion
in second article of content library : we have discussed:
- how to create local library
- how to import ISO file to content library
- how to clone VM as template to content library
- how to deploy VM from template in content library
next article : we will see how to publish local library and how to subscribe from another Vcenter instance
thank you