Observations on the Image Packaging System
by Amit
Abstract
Project Indiana is an effort to create a single CD Open Solaris distribution and a top draw for its immense importance is its network centric package management system project- Image Packaging System (IPS). In this paper, the importance of this project – both technically and how it affects Open Solaris at large has been touched upon.
Keywords: Linux Distribution Model, Open Solaris, Open Source, Package Management
1. INTRODUCTION
Package Management is the ability to install and upgrade software over the network in a seamlessly integrated fashion. We have ‘apt-get’ system in Debian/Ubuntu, and the ‘yum’ system in Redhat/Fedora which are examples of some package management systems in popular Linux distributions.
Package Management is said to be the single biggest advancement Linux has brought to the industry [1]. This again has been the single most important factor for the phenomenal growth of Linux in the operating system scene.
1.1 WHY THIS MODEL WORKS AND WHY IS IT IMPORTANT?
Making the software easy to install, upgrade and uninstall (not necessarily in that order) over the network has resulted in single CD (and even 1.2 PROJECT INDIANA & IMAGE PACKAGING SYSTEM (IPS)
Project Indiana [2] is working towards creating a binary distribution of an operating system built out of the Open Solaris source code. “Refashioning Solaris as a distro is the essence of Project Indiana—and package management is the key technology that will hold it all together” [1].
Project Indiana [2] is leaps forward in Open Solaris based distributions mainly because of its network centric package management system- Image Packaging System (IPS) [3], which is the first time in history of Solaris that a network-centric management system is made available to its users.
2. IMAGE PACKAGING SYSTEM
The image packaging system, written in Python [4] is an attempt to design and implement a software delivery system with interaction with a network repository as its primary design goal. It is a portable software packaging and delivery system intended to allow efficient, observable, and controllable transitions between known configurations of software content.
2.1 ARCHITECTURE
IPS is a network-oriented binary packaging system. Although it will have on-disk representations for versioned packages, the primary expected use for installation of software will be between an intelligent client and one or more relatively simple servers.
The project defines a client-server publication mechanism. The publication client offers up transactions on packages.
The server evaluates transactions from the publication client. Transactions that are deemed to be complete and/or safe by server are then made available to the retrieval client. The initial transport will be HTTP and HTTPS, protocols around which most sites have developed mature access policies.
The default package depot server is maintained at [6] and the client is configured to connect to this package depot server. You can set up your own IPS repositories as illustrated in [7] [9].
A simple usage scenario would be:
1. User X issues the appropriate commands to install package P from the client program.
2. The depot server checks if the package requested is present. If yes, then proceeds to install else reports appropriate message- package already installed or package not available.
2.2 INTERFACE
The IPS currently exports the following interfaces via CLI [3]:
1. retrieval client CLI,
2. publication client CLI,
3. administrative and server CLIs,
4. client metadata representations,
5. server metadata representations,
6. retrieval and publication protocol operations,
7. dynamic language API to access packaging functions,
8. an on-disk package format,
9. package metadata conventions,
10. available package constituents (“actions”), and
11. package naming and versioning conventions
2.3 APPLICATION PROGRAMMING INTERFACE FOR IPS
As of now, there is no well defined language API. However, the Python code base may be re-used to implement custom solutions.[8]
A scripting interface to IPS seems to be out of the question [5].
3. SIMPLE USAGE SCENARIO
Use Case 1: Installation scenario when the package does not exist in the repository
amit@opensolaris-vbox:~# pkg install SUNWxmv
pkg: no package matching ‘SUNWxmv’ could be found in current catalog
suggest relaxing pattern, refreshing and/or examining catalogs
install failed: Unable to assemble image plan
Use Case 2: Installation scenario when the package exists in the repository
amit@opensolaris-vbox:~# pkg install SUNWxvm
DOWNLOAD PKGS FILES XFER (MB)
SUNWxvmdom 0/2 0/385 0.00/6.52
4. CONTRIBUTING TO THE EFFORT
The source code may be checked out from the repository at [10]. The project is still at its infancy and in need of more developers to fix the bugs, try out the features and improve the code base.
5. LOOKING AHEAD
Winds of change are blowing over the Solaris world and Image Packaging System is going to be a definite player in shaping the future. Are the Open Solaris people trying to copy the whole model of the Linux world? No. [1]
REFERENCES
- http://ianmurdock.com/2007/07/21/how-package-management-changed-everything/
- http://opensolaris.org/os/project/indiana/
- http://opensolaris.org/os/project/pkg/
- http://www.python.org
- http://blogs.sun.com/sch/entry/pkg_1_a_no_scripting
- http://pkg.opensolaris.org/
- http://blogs.sun.com/migi/entry/create_your_own_opensolaris_ips2
- http://mail.opensolaris.org/pipermail/pkg-discuss/2008-March/002229.html
- http://mail.opensolaris.org/pipermail/pkg-discuss/2008-March/002234.html
- http://hg.opensolaris.org
Related:
- slides of the talk I gave on Image Packaging System at Haldia Institute of Technology, Haldia
- Ananth’s talk on Image Packaging System (IPS)
Last Update: April 28, 2008
Dude, the link to your IPS preso is broken.
ooops!Its fixed now :-)
Interesting post. I have been wondering about this issue,so thanks for posting. I’ll likely be coming back to your blog. Keep up great writing. Find your great Travel News and sing the songs at Free Song Lyric or you can watch the drama at Korea Drama Online one of great korea drama is A Love to Kill if you go to travel to Indonesia learn Learn Indonesia Language first! And find your home cari rumah or make a blog Belajar membuat Blog find your home again rumah dijual and again at jual rumah the point is cari rumah, jual rumah, rumah dijual, download youtube and find blog widget and then if you want buy a new laptop see the Laptop Price List or you can buy a New Blackberry and then take care your Health & Jewerly good job, very great article Cari Rumah, Jual Rumah, Rumah dijual Thanks ever so much Cari Rumah, Jual Rumah, Rumah dijual very useful article Cari Rumah, Jual Rumah, Rumah dijual Great information Cari Rumah, Jual Rumah, Rumah dijual I like your blog Cari Rumah, Jual Rumah, Rumah dijual I will be checking back for any new articles Cari Rumah, Jual Rumah, Rumah dijual just bookmarked it for later reference Cari Rumah, Jual Rumah, Rumah dijual. Thanks for kindly sharing it with us. Very well done indeed
ghd hair straighteners mk4hair straightnersghd iv styler hair straightener ghd hair straightnerscheap ghd hair straightenersClothing has always been a thing that has been given a great importance by human beings. It displays the attitude that the people exhibit. ed hardy clothesed hardy shirtsLots of brands have been existent in the clothing industry and a famous one among them is the Ed hardy clothing brand.ed hardy jacketsed hardy hoodiesThe brand got its name from the famous American tattoo artist Ed Hardy. He was a very famous tattoo artist and has published many books on tattooing techniques. ed hardy bootsed hardy polo shirtsBut his tattooing turned into a brand by the efforts of a company called Christian Audiger. This company was a very famous and very powerful company in the field of clothing. ed hardy shoesed hardy jeansThey felt that it would be appropriate to create a brand called Ed hardy and use Hardy's art as the main selling point for the brand. This venture had turned out to be a very successful one and Ed hardy clothing is one of the most famous brands in the clothing industry.ed hardy outerweared hardy long sleeve shirtsThe brand became very famous because it was worn by many famous celebrities like Madonna, Britney spears and also Sylvester Stallone. ed hardy bagsed hardy winter bootsThe brand has clothes for men, women, and kids. They have also diversified their business by having a lot of accessories to support their clothing business. ed hardy love kills slowly shirtsed hardy love kills slowly shoesed hardy love kills slowly bootsfor men they have a variety of products such as active wear, denim, outwear, swim trucks, sweaters, t-shirts, tops etc. ed hardy trousersed hardy mensthe accessories include things such as belts, caps, scarves, shoes, socks, jeweler, sunglasses, ties and even wallets.The art works is a unique combination of American and Japanese cultures. The unique selling proposition of the brand is the way in which the company has used the art works of Ed hardy.ed hardy womens ed hardy t shirtsed hardy sunglasses
Nice work and thanks!RunningAdidas currently manufactures several running shoesNike shoes, including the adiStar Control 5, the adiStar RideCheap nike shoesDiscount nike shoesthe Supernova Sequence and the Supernova Cushion 7, among others. Nike shox r4nike shox torchnike shox shoesAdidas also uses kangaroo leather to make their more expensive shoes. Association footballOne of the main focuses of Adidas is football kit and associated equipment. puma catcheap sport shoesAdidas also provides apparel and equipment for all teams in Major League Soccer. Adidas remain a major company in the supply of team kits for international football teams. cheap nike shoxcheap nike maxAdidas also makes referee kits that are used in international competition and by many countries and leagues in the world. In the United States, referees wear the Adidas kits in MLS matches even though the primary referee supplier is Official Sports. nike tn dollar nike running shoes The company has been an innovator in the area of footwear for the sport with notable examples including development of the Copa Mondial moulded boot on firm dry pitches for forty years. nike air max tn puma shoes Adidas became renowned for advancing the "Predator" boot design.This design featured a ribbed rubber structure for the upper leather of the shoe, used to accent the movement of the ball.discount puma shoes puma mens shoes The Predator also features the Craig Johnston invented "Traxion" sole. As the development and popularity of Football continued Adidas played a leading role in shaping the style of the play itself. puma running shoes puma shoesFIFA, the sports governing body, commissioned specially designed footballs for use in its own World Cup tournaments to favour more attacking play.