vSphere local Content Library

Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email
Table of Contents

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

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 

 

open vcenter
menu > select content library
please note we don't have any content library > select + to add new content library
set library name > set VCSA server
select local library
select datastore : we hwill select ISCSI datastore
review then finish
now we have one content library

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 

 

please note that content library doesn'y have any content YET
from action menu > select import item
local file : since ISO file is stored in our local server
select file
import
importing file take progress
now we have one file in content library with size 4.3GB

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 

 

open tab templat in ontent library and notes : we dosn't have any template YET
we have 3 VM
select PC101 > clone > clone as template i to library
set template name and folder to save
select availabel content library
select ESXI server to run VM
select datastore
review and finish
now we have one template in content library beside one ISO file that we imported earlier

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 

 

check template size
select template > new VM from this template
select folder to place VM
select ESXI server to run VM
select datastore to save VM files : we have selected ISCSI datastore
next
review and finish
now you have VM PC105 which is created from 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 

Share this post
Share on facebook
Share on google
Share on twitter
Share on linkedin
Share on pinterest
Share on print
Share on email

About Me

Our Power in Numbers

 17 

Courses

321

Articles

3,882

Images
and All configurations images are proudly made in Pioneers Lab

Articles By Course

Recent Articles

Subscribe

Contact us

have a challenge ? don’t hesitate to contact us