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

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

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)

http://blogs.sun.com/VirtualGuru/resource/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.

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Hands-on experience with Virtualization

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today