OSS BarCamp An Introduction to OpenSolaris
Tim Foster Irish OpenSolaris User Group Operating System Advocacy...
An Introduction to OpenSolaris pg 2 Solaris 10 & history of OpenSolaris
S10 released in 2004 Why the decision to open source?
An Introduction to OpenSolaris pg 3 OpenSolaris release
Done in stages DTrace in Jan 2005 OS/Networking in June 2005 10,000,000 lines of code 35,000 files More being opened all the time
An Introduction to OpenSolaris pg 4 Distributions
From Sun OpenSolaris Solaris Express Community Edition From outside Sun AuroraUX Korona OSUNIX Belenix MartUX PulsarOS EON MilaX SchilliX Jaris NexentaOS StormOS
An Introduction to OpenSolaris pg 5 Platforms
x86/x64 Sparc ARM System Z Power PC
An Introduction to OpenSolaris pg 6 Project Indiana
Show Solaris in a new light Testing ground for new features Install Packaging ZFS 6-month release cycle Became the OpenSolaris distribution The future
An Introduction to OpenSolaris pg 7 Features: General http://opensolaris.org/os/community/on A scalable, stable, performant kernel 32 & 64-bit, stable DDI/DKI
DTrace http://opensolaris.org/os/community/dtrace debugging & troubleshooting Kernel/userland, applications
SMF http://opensolaris.org/os/community/smf A service restarter
IPS http://opensolaris.org/os/project/pkg A modern packaging system
An Introduction to OpenSolaris pg 8 Features: Storage http://opensolaris.org/os/community/zfs ZFS Combines volume management with a filesystem Hybrid storage pool approach Checksums everything Unlimited snapshots & clones with rollback For “free” - COW nature
An Introduction to OpenSolaris pg 9 Features: Storage (cont.) http://opensolaris.org/os/community/storage
An Introduction to OpenSolaris pg 10 Features: Networking http://opensolaris.org/os/community/networking Crossbow IPFilter NWAM
An Introduction to OpenSolaris pg 11 Features: Desktop http://opensolaris.org/os/community/desktop GNOME 2.26 (nearly 2.28) Time Slider
S3 Suspend/resume Wifi :-)
An Introduction to OpenSolaris pg 12 Features: Virtualisation
Zones http://opensolaris.org/os/community/zones Single kernel, multiple OS environments xVM http://opensolaris.org/os/community/xen Port of the Xen hypervisor, dom0, pv domU and hvm domU + pv net/disk drivers LDOMs http://opensolaris.org/os/community/ldoms Based on sun4v hypervisor VirtualBox Desktop virtualisation
An Introduction to OpenSolaris pg 13 Explore opensolaris.org
http://www.opensolaris.com/use/ http://opensolaris.org/os/projects http://opensolaris.org/os/communities hg clone ssh://[email protected]/hg/onnv/onnv-gate
An Introduction to OpenSolaris pg 14 Now, go get it! http://www.opensolaris.com/get osol-0906-x86.iso.torrent osol-0906-x86.usb.torrent … mirrors
An Introduction to OpenSolaris pg 15 Thank you! An Introduction to OpenSolaris
Tim Foster Irish OpenSolaris User Group OSS BarCamp An Introduction to OpenSolaris
Tim Foster Irish OpenSolaris User Group
An Introduction to OpenSolaris pg 1
USE IMPROVE EVANGELIZE
Click to add title Click to add text
These are the notes for Tim's talk at OSS BarCamp, held in Dublin on September 19th 2009. Operating System Advocacy...
An Introduction to OpenSolaris pg 2
Doing operating system advocacy is hard. There's a tendancy for two things to happen:
●You come across as the guy in the picture, content that your OS is the best thing in the world and being overly pushy about it ●You end up talking to people like the guy in the picture, who knows he's already running the best OS in the world, and is intending to tell you all about it
Obviously neither situation is good – hopefully in this talk, I'll be able to avoid either of these. Please throw something at me if we start to veer in the wrong direction :-) Solaris 10 & history of OpenSolaris
S10 released in 2004 Why the decision to open source?
An Introduction to OpenSolaris pg 3
Solaris 10 was arguably one of the most important Solaris releases in Sun's history, including some incredible innovations like DTrace, SMF and Zones.
It did a good job of catering to the needs of the existing Solaris install-base, however it wasn't addressing the small developer or student market.
It also wasn't open source, which was becoming a strong selling point of Linux distributions, which were very successful in those markets – Sun used to be strong in those markets, but in recent years had lost focus.
Open sourcing Solaris could address that, and make it easier for Sun to work with their partners. OpenSolaris release
Done in stages DTrace in Jan 2005 OS/Networking in June 2005 10,000,000 lines of code 35,000 files More being opened all the time
An Introduction to OpenSolaris pg 4
The release of the code was staggered – DTrace was released initially, one of the “crown jewels” in Solaris 10, showing the world we were serious.
The main release of the ON consolidation code happened in June, and over time, as more code was cleared from a legal perspective, it was released. See also: http://blogs.sun.com/jimgris/entry/opensolaris_at_two
As more code gets cleared, it gets released. Otherwise it gets rewritten. Distributions
From Sun OpenSolaris Solaris Express Community Edition From outside Sun AuroraUX Korona OSUNIX Belenix MartUX PulsarOS EON MilaX SchilliX Jaris NexentaOS StormOS
An Introduction to OpenSolaris pg 5
There's a heap of OpenSolaris distributions, both from Sun and outside, and run the gamut from small, one- man distributions to full commercially supported operating systems.
Sun currently has two OpenSolaris distributions – OpenSolaris, and Solaris Express Community Edition. The latter, closer to the current Solaris 10 tree in terms of install & packaging tools is stopping soon. Platforms
x86/x64 Sparc ARM System Z Power PC
An Introduction to OpenSolaris pg 6
The two main platforms are x86 and sparc – both 32/64 bit for x86 (a single OS image can boot either 32-bit or 64-bit) and 64-bit for sparc.
More at http://opensolaris.org/os/community/emerging_platforms/ Project Indiana
Show Solaris in a new light Testing ground for new features Install Packaging ZFS 6-month release cycle Became the OpenSolaris distribution The future
An Introduction to OpenSolaris pg 7
Project Indiana was a focal point for several projects that were running inside Sun – exploring a new installer, a new packaging system and changing some of the system defaults to be more familiar to Linux users.
Rather than making the changes in the ongoing Solaris Express distribution, they were made here, targetting the student/developer market. Ultimately Project Indiana became the OpenSolaris distribution from Sun, which is paving the way for the next maj. enterprise- oriented Solaris release. Features: General http://opensolaris.org/os/community/on A scalable, stable, performant kernel 32 & 64-bit, stable DDI/DKI
DTrace http://opensolaris.org/os/community/dtrace debugging & troubleshooting Kernel/userland, applications
SMF http://opensolaris.org/os/community/smf A service restarter
IPS http://opensolaris.org/os/project/pkg A modern packaging system
An Introduction to OpenSolaris pg 8
Some of the features of OpenSolaris. There's lots more detail on each feature in the given links. Features: Storage http://opensolaris.org/os/community/zfs ZFS Combines volume management with a filesystem Hybrid storage pool approach Checksums everything Unlimited snapshots & clones with rollback For “free” - COW nature
An Introduction to OpenSolaris pg 9
ZFS is one of the ground breaking features of OpenSolaris. It's been ported to FreeBSD & NetBSD and there's an ongoing port to Mac OSX.
It integrated into the OpenSolaris code base on 31st Oct. 2005, and was backported to a production-ready Solaris 10 update in June 2006. Features: Storage (cont.) http://opensolaris.org/os/community/storage
An Introduction to OpenSolaris pg 10
Storage on OpenSolaris isn't just about ZFS though - the Storage community is particularly active – lots of interesting technology here. Features: Networking http://opensolaris.org/os/community/networking Crossbow IPFilter NWAM
An Introduction to OpenSolaris pg 11
Crossbow is one of the big networking features in OpenSolaris. It virtualises the network stack, taking advantage of hardware capabilites in your network card where possible.
Crossbow allows one to create virtual nics or switches and set bandwidth limits right down to the individual protocol or network port. Feel like limiting https ?
# flowadm add-flow -l bge0 -a transport=TCP,local_port=443 https-1 # flowadm set-flowprop -p maxbw=500M,priority=high https-1 IPFilter is builtin, and getting more closely integrated with SMF. NWAM makes setting up laptops easy. Features: Desktop http://opensolaris.org/os/community/desktop GNOME 2.26 (nearly 2.28) Time Slider
S3 Suspend/resume Wifi :-)
An Introduction to OpenSolaris pg 12
OpenSolaris bundles a recent version of GNOME. It includes accellerated 3D drivers from Intel and Nvidia meaning we can haz whizzy compiz effects too :-) Time Slider integrates ZFS more closely with the desktop file manager, allowing the user to browse snapshots that are taken periodically. S3 suspend/resume works on supported hardware and there's been a push to get more wifi drivers bundled – a complete list is at http://opensolaris.org/os/community/laptop/wireless/ Features: Virtualisation
Zones http://opensolaris.org/os/community/zones Single kernel, multiple OS environments xVM http://opensolaris.org/os/community/xen Port of the Xen hypervisor, dom0, pv domU and hvm domU + pv net/disk drivers LDOMs http://opensolaris.org/os/community/ldoms Based on sun4v hypervisor VirtualBox Desktop virtualisation
An Introduction to OpenSolaris pg 13
OpenSolaris has a range of virtualisation features, each targetting a different use-case. Explore opensolaris.org
http://www.opensolaris.com/use/ http://opensolaris.org/os/projects http://opensolaris.org/os/communities hg clone ssh://[email protected]/hg/onnv/onnv-gate
An Introduction to OpenSolaris pg 14
There's lots of resources out there and ways to get involved: whether that's by writing documentation, filing bugs, contributing test cases, fixing bugs, opensolaris.org has pointers on how to go about doing all of the above. Now, go get it! http://www.opensolaris.com/get osol-0906-x86.iso.torrent osol-0906-x86.usb.torrent … mirrors
An Introduction to OpenSolaris pg 15 Thank you! An Introduction to OpenSolaris
Tim Foster Irish OpenSolaris User Group
An Introduction to OpenSolaris pg 16
These are the notes for Tim's talk at OSS BarCamp, held in Dublin on September 19th 2009.