3 Replies Latest reply on May 15, 2012 10:58 AM by asharpe

    Convert VM to Virtual Appliance

    pkgoel Lurker

      Hello All:

       

      I have a VM which is RHEL 6.0 (64-bit) with Apache Webserver front ended to Tomcat container where in my Web Application is deployed. Also loaded on the VM are Sun JDK and MySQL  database . I wanted to understand,  if  were to create a virtual appliance for the above, what VMWare products/tools,  I would need and what is the easiest way to create the Appliance.  I have tried using VMWare converter (All) 5.0 but did not see the option there...(I came across few tutorials which showed the possibility of conversion of VM to VA).  I have also installed VMWare studio but could not figure out to build a VA with the above packages.

       

      Appreciate any help and guidance.  Thanks in Advance.

       

       

      Thanks,

      Pankaj

        • 1. Re: Convert VM to Virtual Appliance
          asharpe Hot Shot
          VMware Employees

          It doesn't sound too difficult to create an appliance from scratch with those components, using Studio. That's what I would recommend.

          • 2. Re: Convert VM to Virtual Appliance
            pkgoel Lurker

            Thanks for your Response.  I have been able to create a Virtual Appliance using below approaches.

             

            1)  Convert VM to VA using VMware Converter 4.0.  Source VM had all my components installed/packaged.

             

            2)  Using RHEL 6.0 template from VMWare studio. Note, this does not have any of my intended application components (Apache, Tomcat, mysql, my web-app)

             

            I am also exploring the option of creating the appliance by importing the VM using CLI of VMWare studio. Would you be able to suggest the best approach to build the VA using VMware studio with the components I have listed...

             

            What are the down-sides of using the VM converter approach  other than pushing the auto-update of the virtual appliance ?

             

            Thanks,

            Pankaj

            • 3. Re: Convert VM to Virtual Appliance
              asharpe Hot Shot
              VMware Employees

              pkgoel wrote:


              2)  Using RHEL 6.0 template from VMWare studio. Note, this does not have any of my intended application components (Apache, Tomcat, mysql, my web-app)

               

              You may be unclear on the concept of what Studio does. You *start* from the supplied template, add additional OS packages (apache, tomcat, mysql, etc), and then add your packages into a directory that you tell Studio, and Studio constructs the entire VM, from start to finish, from the install of the OS to the install of your packages, to making the final OVF. There is no need to make anything and convert it for use by Studio; it can do all of it.