USEIMPROVEEVANGELIZE Tirthankar Das Solaris Cluster Engineering OpenSolaris and Indiana
2 USEIMPROVEEVANGELIZE “ Open source is about community, not economy, not hype, not... ”
3 USEIMPROVEEVANGELIZE What is OpenSolaris ?
4 USEIMPROVEEVANGELIZE History ● Solaris is a proprietary UNIX system by Sun Microsystems. ● Widely regarded for it's stability ● Bulk of kernel open-sourced in June 2005 under the CDDL license as OpenSolaris ● Opensolaris :: Linux+GNU ● Code available at opensolaris.org ● Extreme innovation.
5 USEIMPROVEEVANGELIZE The History of Solaris 1982 First version of Sun Unix based on 4 BSD. Sun Unix 0.7 Two decades of Innovation ● VFS and Vnode framework. ● NFS implemented 1983 Sun OS Sun OS Sun OS 4.0 ● New VMS ● Dynamic linking ● First Sparc ● Support i Sun OS 4.1 OpenWindow graphics Environment Assymetric Multiprocessing SunOS+BSD+SVR3 + Xenix = SVR4 SVR4 + Multiprocessor scalability = Solaris 1992 Solaris was born. Solaris 2.0 ● Large file support ● Ported to x Solaris Solaris Solaris Solaris way SMP ● 8-way SMP ● Device power management Solaris ● 20-way SMP ● Slab allocator ● Cachefs ● CDE environment ● 64-way SMP ● Large page support ● Doors ● NFSv3 Solaris ● Dynamic processor sets ● Dynamic reconfiguration
6 USEIMPROVEEVANGELIZE What is OpenSolaris ? ● Its the Solaris codebase. Its a Community. It is our project website ! ● Celebrated its First Birthday on June 14th 2006 ● 24 years of UNIX development is now free and open. ● An attempt to allow non-Sun developers to participate in the Solaris community ● Expand the Solaris Ecosystem ● All future versions of Solaris are based on this codebase.
7 USEIMPROVEEVANGELIZE OpenSolaris at the center Nevada Source Gate Sun's Solaris Express CR Solaris Express marTux Distribution ZFS port: FUSE/Linux ZFS port: DragonFly BSD DTrace port: FreeBSD BeleniX Sun's Supported Solaris Products and Updates Trusted Solaris
8 USEIMPROVEEVANGELIZE
9 USEIMPROVEEVANGELIZE
10 USEIMPROVEEVANGELIZE Open Solaris and GNU/Linux GNU utilities System libraries Linux kernel POSIX+ extensions Mozilla Firefox, Mozilla Thunderbird, OpenOffice.org,... UNIX utilities POSIX Solaris kernel
11 USEIMPROVEEVANGELIZE Why Open Solaris? ● It's technologies! ● ZFS ● Dtrace ● Zones ● Binary compatibility guarantee ●.. and a lot more coming
12 USEIMPROVEEVANGELIZE ZFS ● Moore's law – need 65 th bit in years (1PB = 50 bits) ● 128 bit – the last word in file systems – file size: up to 16 × 10³ PetaByte – pool size: up to 3 × 10²³ PetaByte ● ZFS takes care of – endianess & encryption – compression – data corruption ● Ported to FreeBSD, Mac OSX, Linux
13 USEIMPROVEEVANGELIZE DTrace ● Trace your software on a live production system ● Thousands of probes – Monitor file system access – Monitor system calls – Monitor memory usage – Monitor everything ● Place blame where it belongs ● Ported to FreeBSD, OS X
14 USEIMPROVEEVANGELIZE Zones ● Built-in virtualization – Consolidate your servers – Sandboxed application environments – Dynamic resource reallocation
15 USEIMPROVEEVANGELIZE 10 of the top 11 Retailers 5 of the top 5 Petro companies 5 of the top 5 Manufacturing companies 7 of the top 8 Financial Services companies 3 of the top 3 Shipping companies 5 of the top 5 IT companies 5 of the top 5 Insurance companies 5 of the top 5 Food/Beverage companies 6 of the top 6 Healthcare/Pharmaceutical companies Who is Using Solaris 10 Today?
16 USEIMPROVEEVANGELIZE What can I do on Open Solaris?
17 USEIMPROVEEVANGELIZE And..
18 USEIMPROVEEVANGELIZE The Distributions ● Sun sponsored – Solaris 10 – Solaris Express Community Edition(every fortnight) – Solairs Express Developer Edition(every 3 months) ● Community – BeleniX(LiveCD x86) – Nexenta(GNU/Opensolaris) – Martux(Sparc LiveCD) – Schillix ● Project Indiana!
19 USEIMPROVEEVANGELIZE Installing Opensolaris ● ● Recommended distribution: SXDE ● Easy to install using the Caiman installer ● File system formats – ZFS – UFS ● Structure of OpenSolaris..
20 USEIMPROVEEVANGELIZE OpenSolaris structure ● Uses GRUB as the bootloader ● Can use ZFS or UFS as the native filesystem ● OpenSolaris requires a primary partition. ● Slices = Partitions within partitions Partition 1 Partition 2 Partition 3 Partition 4 Slice 0 Slice 1 Slice 7 / root /export/home
21 USEIMPROVEEVANGELIZE Installation Simple and elegant installer SX build 70b onwards onwards – Select Language – Select Keyboard layout – Select Disk/Partition – Set Date/Time zone – Extra language support – Create user – Review all settings – Install!
22 USEIMPROVEEVANGELIZE The Future ●.. is exciting! ● Exceptional tools for developers – Sun Studio compilers – Netbeans IDE – Dtrace ● Growing community fostered by Sun's open source commitment. ●.. and Project Indiana /
23 USEIMPROVEEVANGELIZE Project Indiana
24 USEIMPROVEEVANGELIZE What are the community issues ? ● opensolaris.org grew up around the source, and engaging developers – Not necessarily a good showcase for OpenSolaris technology – Poor download experience – Little user community growth
25 USEIMPROVEEVANGELIZE What are the technology issues ? ● High adoption barriers – Install, Packaging, Hardware ● Media size has grown too large to reach important markets ● No clear binary technology base to work from ● No formal roadmap or public process for SXCE/SXDE
26 USEIMPROVEEVANGELIZE Project Indiana ●.. is what everyone is talking about in OpenSolaris land. ● Is the promising new OpenSolaris binary distribution ● Lead by Ian Murdock: The 'Ian' in Debian. ● What's a Linux guy doing in OpenSolaris? ● Pre release in Oct 2007, first release in early ● Great new features you always wanted in Solaris.
27 USEIMPROVEEVANGELIZE Project Indiana ● OpenSolaris reference binary distribution ● SUN and Community jointly built ● Single CD install and network package repository ● 100% re-distributable ● LiveCD/DVD functionality ● ZFS as default file-system ● More intuitive update experience with ZFS rollback functionality
28 USEIMPROVEEVANGELIZE Major Indiana Technologies ● LiveCD/DVD/USB Infrastructure derived mostly from BeleniX – Slim Install – OpenSolaris uses GRUB and is multiboot aware – OpenSolaris also uses an Initial Ramdisk ● New Packaging ● Distribution Constructor – Simply select packages from repository – Customize look and feel – and spread your own distribution! ● Modern Simple Installer ● Live Upgrade Mechanism
29 USEIMPROVEEVANGELIZE Why should I Care ? ● Be Proud of being an OpenSolaris hacker ! ● Observability Understand what your OS does. ● Better than a Text Book The guy who wrote your OS text book is a hardcore Solaris fan! ● Direct Access to the Experts ! Talk to the guy designed and wrote the best FS in the world !
30 USEIMPROVEEVANGELIZE Join in!
31 USEIMPROVEEVANGELIZE Participate ● Mailing lists (Chat with Operating Systems experts) Ongoing projects Bugs reports/ RFEs User groups Blogs ● Ask that question irc.freenode.net channel: #opensolaris
32 USEIMPROVEEVANGELIZE Where to go for help? ● Stuck on the build? (you read the README, right?) Ask on ● Questions about the code or found a bug? Ask on ● Got a fix for a bug? Request a sponsor on ● Solaris is the sux0r! Linux rulez! Flame and debate on opensolaris-
USEIMPROVEEVANGELIZE Tirthankar Das Solaris Cluster Engineering