All proceeds from Ad Clicks goes to the author of this site.

 

Sunday, January 04, 2009

Complexity removed, power added.

www.c0t0d0s0.org has an interesting entry what will be after Linux.

I found the first comment the most interesting, The Linux croud are still trying to say that Solaris is great for big servers. Of course that has been the ralying cry for the Linux crowd since the beginning of time, but Solaris 10 now has lots of technology that makes it better for smaller systems especially the home user, which I will get to in a moment. Yes linux has lots of features that are common on UNIX and enterprise class stuff, LVM (Logical Volume Manager), Systemtap, EXT4, NFSv4, iscsi, network Bonding where it is faling down on the job is making stuff easier to use.

Solaris started out on the big hardware and yes it was terrible to use, but if you know it and understand how it fits together it pays well. Now with Solaris 10 they are adding things that make all the peices fit together without a soldering iron and a manual bit flipper. For instance:

ZFS gives all the functionality of Linux's LVM, and a state of the art filesystem, all with a simple user interface just two commands allow you to do nearly everything in ZFS. I won't bore you but here is how you create a raidz pool, and create an iscsi shared volume, a smb shared filesystem, and a nfs shared filesystem take a snapshot of every filesystem and volume just created, no cryptic commands, its all thought out well and allows the administrator to start simple and move from one network file system to all others with a shallow learning curve, no work has been done in Linux to make the parts fit together as they have been done in Solaris nine commands did all this work, I know I could of did it in less but I didn't use the short cuts. Any one want to admit to how many it would be in Linux?
zpool pool raidz drive1 drive2 drive3 drive4
zfs set compression=on pool
zfs create pool/smbshared
zfs set sharesmb=name=shared pool/smbshared
zfs create -V 10g pool/iscsivol
zfs set shareiscsi=on pool/iscsivol
zfs create pool/nfsshare
zfs set sharenfs=on pool/nfsshare
zfs snapshot -r pool@snapshot
Solaris 10 also has Zones, that are like Freebsd jails on steroids, and are multiple generations beyond the chroot that Linux tradionally uses, I've heard that zoning type solutions are in planning but they have not been intergrated into any of the main stream Linux distrobution. So the user is faced with reinventing the wheel for each program they want to include in a chroot and its much more complex like documented at Chroot BIND Howto in Solaris 10 and beyond you just create a small zone config using a well documented process that adds a layer of seperation of not just the filesystems, but network, and read-only mounted copies of the files.
# zonecfg -z z1
z1: No such zone configured
Use 'create' to begin configuring a new zone.
zonecfg:z1> create
zonecfg:z1> set zonepath=/export/z1
zonecfg:z1> set autoboot=true
zonecfg:z1> add net
zonecfg:z1:net> set address=192.168.1.10
zonecfg:z1:net> set physical=hme0
zonecfg:z1:net> end
zonecfg:z1> verify
zonecfg:z1> commit
zonecfg:z1>exit
and then create the zones, using zoneadm -z z1 install, no knowledge of what particular program you are encapsulating, so you can create zones for each service (.i.e. Apache, MySQL, bind) without a full day of researching each service and of this is done with just 2 commands, zonecfg and zoneadm.

Solaris is now simplifying network administration in the "clearview" project. In the past Solaris Networking configuration has been ugly to say the least, to enable large packets you had to edit different drive configuration files based on which Network interface card you had. Trunking and teaming required special drivers and programs to be installed and worked on a limited number of cards. Now Solaris 10 has merged all the bits into one place, dladm is a new control program that allows you to do all this in a unified way. Including network tunneling, aggregation, vanity naming and more. Recently the next generation to networking in Solaris was released its called crossbow which adds network vitalization to Solaris, you can create virtual switches and divide physical nics into chunks and they do it using the dladm introduced for crossview. You can do some of this with Linux but its not easy, and each project seems to reinvent the wheel. Xen offers the virtual switches, the advanced router howto shows how to limit network bandwidth. Solaris gives it all a unified interface.

Now all this new functionality has been added into Solaris 10 with just 5 commands. While this is pretty amazing, its just the first step, I guess you are surprised that I say its just the first step. The real power becomes when you tie these technologies together. You can use ZFS filesystem snapshots and clones to make zone creation faster and use less space and yes is just as simple, and the crossbow and clearview are integrated into zones as well. I won't try and show all this as its all ready done at Crossbow Hands on.

All of integration just isn't limited to these projects, DTrace has it as well, you can tell dtrace you are only want to watch stuff from a specific zone. DTrace has a network provider set of probes that allow you to watch events related to networking including ipf (the firewall), ipv6, and because Solaris uses a smart frame work these probes usually work on new features as well.

9 Comments:

Blogger IT-Hure said...

This post has been removed by the author.

1:40 PM  
Blogger a said...

"Yes linux has lots of features that are common on UNIX and enterprise class stuff, LVM (Logical Volume Manager), Systemtap, EXT4, NFSv4, iscsi, network Bonding where it is faling down on the job is making stuff easier to use."

LVM -> I'm no AIX or HP-UX expert, but AFAIK, Linux doesn't have all the features like LVM boot and multipathing support.
Systemtap -> Everyone who has tried it, including Linux fanboys, says it's absolute failure and can't be compared to Dtrace.
EXT4 -> Sorry, but ZFS made all other filesystems technology of the past.
NFSv4 -> Linux implementation is incorrect and if you want to use NFS between Linux and Solaris, you have to use NFSv3.

3:55 PM  
Blogger Andrius said...

Well well stop to pray. ZFS is cool no doubt. Just some questions-doubts. For use of Solaris 10 need min 2-3 GB RAM? Half year can not to make my native lang keyboard layout. (Support is zero.) Additional hardvare support (printers, scaners) are miserable. I'm starting really to thing that a mistake were made after my music library were put into ZFS.
Now installing a OpenServer. If the same problems with native lang layout will stay - will move to Linux forever.

9:42 PM  
Blogger jamesd_wi said...

Andrius feel free to install your favorite distro or OS in Xen/XVM included in SXCE, and use the keyboard of your choice while leveraging ZFS and the rest.

Yes Solaris ZFS uses lots of ram, but its cheap... you can find ram for $10 per gig and most modern motherboards support up to 8GB more than enough for ZFS and Xen.

11:16 PM  
Blogger a said...

I don't know where are these rumours comming from. I'm using opensolaris desktop with 1G RAM and have no performance issues. For testing purposes I use (open)solaris machines with 384M - 512M and there are no problems with copying files over network (scp/nfs), so I suppose it should be enough for home NAS. And if you want ZFS on machine with smaller RAM, you can try FreeBSD.

2:58 PM  
Blogger Andrius said...

You can install zfs of course on 1 GB. But try to use a data stream from that zfs and you will get a crack. Try to install zfs on root with 1 GB and I will see how will able to work.

3:40 PM  
Blogger a said...

Andrius,

once again - I use opensolaris with 1G RAM and single-core Athlon 64 3000+ (and ZFS root of course) as my daily desktop and have no performance issues, so I think this is perfectly sufficient setup.
Nevertheless, I decided to make a quick test. I run Virtualbox machine with 512M assigned RAM, mounted share via NFS and played a movie on a PC-BSD notebook. At this point I had video playing on NFS shred by opensolaris machine with RAM limited to 512M with no cracks. The video was 640x352 which is kind of small, so I loaded the machine even more. First some disk load reading from the disk (it has single SATA disk where are both OS and the movie) with dd writing to /dev/null. Movie is still playing OK. Another try. I run second VirtualBox machine with 192M RAM. During the bootup there appeared some cracks, but after that the video continued to play without problems. At this point opensolaris host had available only 320M RAM, there was aditional load by dd reading from disk and the video was still OK. So conclusion? Check your setup: drivers, error logs, hardware...

5:27 AM  
Blogger Andrius said...

My machine is more slow AMD +2800 M and after installing root ZFS machine stops when music plays from separate zpool on another disc.

6:59 PM  
Blogger ATField said...

runescape money
runescape gold
runescape money
runescape gold
buy runescape gold buy runescape money runescape items
runescape accounts
runescape gp
runescape money
runescape power leveling
runescape money
runescape gold
dofus kamas
cheap runescape money
cheap runescape gold
Guild Wars Gold
buy Guild Wars Gold
lotro gold
buy lotro gold
lotro gold
buy lotro gold
lotro gold
buy lotro gold

Hellgate Palladium
Hellgate London Palladium
Hellgate money
Tabula Rasa gold tabula rasa money
Tabula Rasa Credit
Tabula Rasa Credits
Hellgate gold
Hellgate London gold
wow power leveling
wow powerleveling
Warcraft PowerLeveling
Warcraft Power Leveling
World of Warcraft PowerLeveling World of Warcraft Power Leveling runescape power leveling
runescape powerleveling
eve isk
eve online isk
eve isk
eve online isk
tibia gold
Fiesta Silver
Fiesta Gold
Age of Conan Gold
buy Age of Conan Gold
aoc gold

呼吸机
无创呼吸机
家用呼吸机
呼吸机
家用呼吸机
美国呼吸机
篮球培训
篮球培训班
篮球夏令营
china tour
beijing tour
beijing travel
china tour
tibet tour
tibet travel
computer monitoring software
employee monitoring

9:28 PM  

Post a Comment

<< Home