Virtual Guru's Blog – Home of Virtualization Workshops

January 15, 2010

Part 11: Glassfish V3 Pet Catalog sample DEMO in VM Template – Pack and Publish

Filed under: glassfish, jeos, mysql, opensolaris, virtualbox, Virtualization, vmware — natiku @ 4:09 am

OpenSolaris 200906 JeOS Prototype was designed as PURE CLI enviroment providing main building stone for creation of Virtual Appliances or VM Templates

In this example I will DEMOnstrate creation of Evaluation type Virtual Appliance / VM Template which will leveradge OpenSolaris 200906 JeOS prototype and just in Dec/09 released Glassfish v3, Java EE 6 and Netbeans 6.8 with simple Java EE 6 demo. This entry is part of Virtual Appliances & OVF workshop.

New Glassfish V3 introduce an unique network repository based modular structure, so we can more easily create really simple initial DEMO setup which user can extend by installation more samples right from Glassfish V3 repository or from Netbeans GUI.

Step 7: Pack and Publish Images
      Step 7a: Pack each Image with compression tool
      Step 7b: Generate a checksum for each archive
      Step 7d: Create a Download page with helper instructions


Step 7: Pack and Publish Images

Step 7a: Pack each Image with compression tool

We will use 7zip to pack corresponding image directory for concrete virtualization platform in single archive file,
it generates for ZFS much smaller files

Best results can be achieved with this 7zip Ultra setup (LZMZ type compression)

https://virtguru.files.wordpress.com/2010/01/7zipUltra.jpg

Step 7b: Generate a checksum for each archive

We want to allow users to allow mirror and redistribute this VM Template sample, so we will publish checksum so users can go back and check archive consistency.

Recently there was a concerns about MD5 and SHA1, so I will generate SHA256 and SHA512 hashes.

sha256sum -b archname.7z >archname.sum
sha512sum -b archname.7z >>archname.sum

Step 7c: Load files to distribution server

For such demo stuff you will probably like to have downloads stats, so use some distribution service, like a DLC in our case.

Step 7d: Create a Download page with helper instructions

Like we create a Download page for OpenSolaris 200906 JeOS Prototype,
simple start up instructions for each Virtualization platform groups and FAQ for more deeper dive information.

Advertisements

1 Comment »

  1. […] Part 11: Glassfish V3 Pet Catalog sample DEMO in VM Template – Pack and Publish […]

    Pingback by Virtual Appliances & OVF Workshop « Virtual Guru's Blog – Home of Virtualization Workshops — February 1, 2010 @ 3:56 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: