8
DATABASE INFRASTRUCTURE AS A SERVICE STANDARD OPERTING PROCEDURE VMWARE CREATE TEMPLATE CLONE TO TEMPLATE PROVISION NEW VM FROM TEMPLATE

SOP VMware - Create Template - Clone to Templatedbaexpert.com/VMware DBIaaS/VMware - Create Template - Clone to... · AVMware!template!is!a!master!image!of!a!virtual!machine!that!canbe!usedtocreate!andprovisiona!new!virtual!machine.!!!A

  • Upload
    donhan

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

 

   

 

 

   

DATABASE  INFRASTRUCTURE  AS  A  SERVICE  

STANDARD  OPERTING  PROCEDURE  

 VMWARE  CREATE  TEMPLATE  

CLONE  TO  TEMPLATE  PROVISION  NEW  VM  FROM  TEMPLATE  

 

 

 

VMware  Technology  Stack          

DB-­‐aas.com  

 

CLONE  TO  TEMPLATE  

A  VMware  template  is  a  master  image  of  a  virtual  machine  that  can  be  used  to  create  and  provision  a  new  virtual  machine.      A  VMware  template  involves  an  operating  system,  application  software  and  a  virtual  machine  configuration  that  defines  the  properties  of  the  virtual  hardware.      

In  our  example,  we  will  demonstrate  the  process  to  clone  a  VM  to  a  Template.      

VMware  Technology  Stack          

DB-­‐aas.com  

From  a  naming  standard,  you  should  name  your  template  to  start  with  Oracle  so  that  you  can  differentiate  Oracle  templates  from  other  templates  such  as  application  servers,  desktops,  etc.    You  should  also  include  in  your  template  names  the  version  of  the  OS  and  even  the  version  of  the  database.    In  our  example,  we  name  our  template  Oracle  Template  –  Small  RHEL  6.5  12c.    After  providing  a  name  to  your  template,  click  on  the  Next  button  to  continue.  

VMware  Technology  Stack          

DB-­‐aas.com  

Determine  where  to  place  your  template.    You  need  to  designate  the  ESXi  host  where  the  templates  will  be  housed.    As  a  general  rule,  you  should  specify  a  Master  Template  server  and  place  all  your  templates  there.    To  proceed  with  the  template  creation  process,  click  on  the  Next  button.  

Because  we  standardized  on  maintaining  all  of  our  templates  on  a  single  server  and  also  on  a  specific  datastore,  we  will  click  on  the  Next  button  to  proceed  to  the  next  screen.    Because  we  are  maintaining  the  the  same  disk  type  as  the  source  VM,  we  will  not  change  the  virtual  disk  format.  

VMware  Technology  Stack          

DB-­‐aas.com  

To  complete  the  templatization  process,  click  on  the  Finish  button.    If  you  look  at  the  bottom  of  the  screen  in  the  Recent  Tasks  section,  you  will  see  that  the  VM  is  being  cloned.    Depending  on  the  size  of  your  VM  that  you  are  cloning  to  be  a  template,  it  can  take  a  while.  

Once  the  Template  cloning  process  is  done,  you  can  look  for  your  New  template  that  you  just  created.    Templates  only  appear  in  the  VMs  and  Templates  view  from  the  Inventory  submenu.  

PROVISIONING  A  VM  FROM  TEMPLATE  

Locate  the  template  that  you  just  created.    If  we  right  click  on  our  new  template,  we  can  deploy  another  virtual  machine  from  this  template.  

 

 

Select  the  “Deploy  Virtual  Machine  from  this  Template”  option.  

VMware  Technology  Stack          

DB-­‐aas.com  

 

 

Provide  a  name  for  your  VM  and  select  your  Data  Center.    Click  on  the  Next  button  to  proceed.  

 

 

VMware  Technology  Stack          

DB-­‐aas.com  

Next,  select  a  host  to  place  your  VM  and  click  on  the  Next  button  to  proceed.  

 

Click  on  Next  

 

Choose  whether  you  want  to  power  on  this  Guest  VM  or  not  and  click  on  the  Next  button  to  continue.  

 

VMware  Technology  Stack          

DB-­‐aas.com  

 

Confirm  all  the  information  on  the  screen  and  click  on  the  Finish  button.  

 

You  will  see  in  the  Recent  Tasks  area  that  the  Template  is  being  cloned.