Thursday Apr 04, 2013

The Screaming Men of Finland and Oracle SPARC Chips

source

In response to the release of Oracle's SPARC T5 and M5 chips, which are dramatically faster than those of IBM, IBM responded by saying that speed was not as important as other qualities. Forbes begged to differ:

Forbes Article: For Big Data Customers, Top Performance Means High Speed And Low Cost

Assuming you agree, you'll be interested in some dyno runs of not only our SPARC chips, but also our applications running on them. Did I say dyno runs? I'm sorry, I meant benchmarks.

World's Fastest Database Server

Oracle’s new SPARC mid-range server running Oracle Solaris is the fastest single server for Oracle Database:

  • Oracle’s SPARC T5-8 is the fastest single server for Oracle Database
  • Oracle's SPARC T5-8 server has a 7x price advantage over a similar IBM Power 780 configuration for database on a server-to-server basis.
See Benchmarks Results Here
Why Oracle Database runs best on Solaris

World's Fastest Server for Java

As you might expect, Java runs fastest on Oracle servers.

SPECjEnterprise2010 Benchmark World Record Performance
SPECjbb2013 Benchmark World Record Result
Why Solaris is the best platform for Enterprise Java

Optimizations to Oracle Solaris Studio COmpilers

The latest release of Oracle Solaris Studio includes optimizations for the new SPARC chips in its compilers. Larry Wake has more:

Blog: Oracle Solaris and SPARC Performance - Part I

I'll Optimize Yours If You Optimize Mine

Since the Solaris and SPARC engineers get along so well, they have each optimized their technologies for each other:

SPARC Optimizations for Oracle Solaris
Oracle Solaris Optimizations for SPARC

Happy Burnouts.

- Rick

Follow me on:
Blog | Facebook | Twitter | YouTube | The Great Peruvian Novel

Monday Apr 01, 2013

Oracle To Acquire Ducati

source

"To handle all that speed and power, today's high-performance motorcycles need traction control, active suspension, ABS, and a multitude of electronic systems that gather an enormous amount of data. Oracle Database is uniquely positioned to process that data at the speeds today's riders require to remain competitive. And, with the Oracle Cloud, that data and those services are available from even the most remote racing circuits on the planet."

Several well placed sources inside both companies confirmed high-level discussions and high speed laps around the streets of Bologna between Oracle and Ducati executives over the last few weeks.

"Oracle is obsessed with speed. Just look at what they did with the SPARC systems last week. And Ducati? Need we say more?"

Industry pundits agree that there is a natural symbiosis between the two corporate cultures. But that's not the only reason for an acquisition of Ducati by Oracle.

"The high tech industry is highly competitive and Oracle is always looking for ways to reduce costs. By joining forces with Ducati, the combined companies can realize a significant discount on red paint."

"Imagine the parties!" a member of the Oracle Technology Network said in response to the speculation. "Oracle Open World! World Ducati Week. Both in San Francisco. It blows my mind."

"We will not turn San Francisco into another MotoGP circuit," the mayor of San Francisco assured concerned citizens while behind him executives of both companies discussed the merits of different routes around, over, and through Nob Hill.

"Lombard Street on a Desmosedici? I'm coming back!"
- Valentino Rossi

As you can imagine, at the OTN Garage, we're thrilled by the possibilities, and we'll be following this story closely.

"Oracle does not comment on potential acquisitions. This is probably some dumb April Fools prank."
- Oracle spokesperson

- Rick

Follow me on:
Blog | Facebook | Twitter | YouTube | The Great Peruvian Novel

Thursday Mar 28, 2013

Is Tape Storage Still Harder to Manage Than Disk Storage?

source

-guest post by Brian Zents-

Historically, there has been a perception that tape is more difficult to manage than disk, but why is that? Fundamentally there are differences between disk and tape. Tape is a removable storage medium and disk is always powered on and spinning. With a removable storage one piece of tape media has the opportunity to interact with many tape drives, so when there is an error, customers historically wondered whether the drive or the media was at fault. With a disk system there is no removable media, if there is an error you know exactly which disk platter was at risk and you know what corrective action to take.

However, times have changed. With the release of Oracle’s StorageTek Tape Analytics (STA) you are no longer left wondering if the drive or the media is at risk, because this system does the analysis for you, leaving you with proactive recommendations and resulting corrective actions … just like disk.

For those unfamiliar with STA, it’s an intelligent monitoring application for Oracle tape libraries. Part of the purpose of STA is to allow users to make informed decisions about future tape storage investments based on current realities, but it also is used to monitor the health of your tape library environment. Its functionality can be utilized regardless of the drive and media types within the library, or whether the libraries are in an open system or mainframe environment.

STA utilizes a browser-based user interface that can display a variety of screens. To start understanding errors and whether there is a correlation between drive and media errors, you would click on the Drives screen to understand the health of drives in a library. Screens in STA display both tables and graphs that can be sorted or filtered.

In this screen ...

... it is clear that one specific drive has many more errors relative to the system average.

Next, you would click on the Media screen:

The Media screen helps you quickly identify problematic media. But how do you know if there’s a relationship between the two different types of errors? STA tracks library exchanges, which is convenient because each exchange involves just one drive and one piece of media. So, as shown below, you can easily filter the screen results to just focus in on exchanges involving the problematic drive.

You can sort the corresponding table based on whether the exchange was successful or not. You can then review the errors to see if there is a relationship between the problematic media and drive. You may also want to review the drive’s exchanges to see if media that’s having issues has any similarities to other media that’s having problems. For example, a purchased pack of media could all be having similar problems.

What if there doesn’t appear to be a relationship between media and drive errors? Part of the ingenuity of STA is that just about everything is linked, so root causes are easy to find. First, you can look at an individual drive to see its recent behavior, as show on this screen:

From the table you can see that this particular drive was healthy until recently. The drive indicated it needed a cleaning, and somebody performed that cleaning. However, just a few exchanges later, it started reporting errors. In this case, it’s clear that the drive has an issue that goes beyond the relationship with a specific piece of media and should be taken offline. On the other hand, if the issue appears to be related to the media itself, you should identify a method to transfer the data off of the media, and replace the media.

- Brian Zents

Follow OTN Garage on:
Blog | Facebook | Twitter | YouTube

Wednesday Mar 27, 2013

Why Become a Solaris Sysadmin?

On the one hand Oracle is telling you that Solaris is the key component of the Oracle stack, that we've been investing heavily in it, and that it provides the best platform for managing the stack. Watch these videos:

On the other hand, we are telling your boss to buy our engineered systems because they'll not only reduce the complexity of managing the data center, but they'll need fewer sysadmins to run them.

So, which is it?

Video Interview: Why Become a Solaris Sysadmin?

I asked Larry Wake, Solaris old-timer. Tell me what you think of his answer.

Video Interview: Why Become A Solaris Sysadmin?.

A year or two ago, Justin asked Marshall Choy a similar question. Watch that video here:

Video Interview: Impact of Engineered Systems on the Sysadmin

- Rick

Follow me on:
Blog | Facebook | Twitter | YouTube | The Great Peruvian Novel

Tuesday Feb 26, 2013

Performance Tuning an Exalogic System

source

I tend to get annoyed at my engineering pals for designing performance into automobiles such as the Chevy Corvette, instead of letting the driver feel the satisfaction of increasing performance by improving his or her technique. Many sysadmins feel the same about their craft. But as the story of Paul Bunyan demonstrates, we must adapt or die.

In a previous post I discussed how Exalogic changes the way you handle provisioning. In this post, I'll focus on the way Exalogic changes the way you handle performance tuning. First, the optimizations that are already done for you, then the optimizations you can still perform yourself.

Performance Optimizations Designed Into Exalogic

Because Oracle engineering knows the exact details of the environment in which each component is operating, Oracle has configured Exalogic components to use the internal network, memory, and storage for optimum performance, availability and security. It employs two types of optimizations:

Generic Optimizations (Exabus)

These optimizations will benefit any software running on the Exalogic machine, whether Oracle or 3rd party, in physical or virtual environments. The collection of Exalogic–specific optimizations are referred to as Exabus. The purpose of Exabus is primarily to integrate Infiniband networking seamlessly into all the hardware, software, and firmware distributed throughout the system. Examples include:

  • Changes to the firmware and drivers in the network switches that increase performance by skipping protocol stack conversions
  • Use of Exalogic solid state disk caching to increase the speed and capacity of local (shared) data read and write operations, such as JMS queues and run time metadata.
  • Built in high availability at network and storage levels
  • Native Infiniband integration with any other engineered systems, such as additional Exalogic machines, ZFS storage appliances, or Exadata Database machines.
  • The ability to define Infiniband partitions, which ensure application isolation and security.

Optimizations to Run-Time Components

Oracle has engineered optimizations for Exalogic directly into Oracle WebLogic Server (WLS), Coherence, and Tuxedo. They benefit any application running on those software components, but they can only be activated on the Exalogic platform. They address performance limitations that only become apparent when the software is running on Exalogic's high-density computing nodes and very fast Infiniband switches. Examples include:

  • WebLogic Server session replication uses the SDP layer of IB networking to maximize performance of large scale data operations. This avoids some of the typical TCP/IP network processing overhead.
  • Cluster communication has been redesigned in Coherence to further minimize network latency when processing data sets across caches. Its elastic data feature increases performance by minimizing network and memory use in both RAM and garbage collection processing.
  • Tuxedo has been similarly enhanced to make increasing use of SDP and RDMA protocols in order to optimize the performance of inter–process communications within and between compute nodes.

Tuning You Can Perform on Exalogic

Benchmarks and other tests show that applications that run well on Oracle middleware will run better on Exalogic. The degree to which they run better will be affected by how well optimised they are to take advantage of the Exalogic system, as well how well the Exalogic components are set up to balance resources.

However, if your workloads or configurations change, you may need to tune your Exalogic. Here are some general notes, extracted from the Exalogic: Administration Tasks and Tools white paper.

Tuning the Middleware

At the middleware and application level most of the standard options and techniques are available to you. WebLogic Server, JRockit, Coherence and iAS, etc. operate as they do on traditional platforms.

As for the rest of the Exalogic platform, Oracle's recommendation is: leave it alone.

Tuning The Platform

Exalogic manages itself, so you don't need adjust it unless you are sure that something needs changing. This is a major change in approach, since you are used to spending considerable time tweaking your systems to accommodate the needs of different groups. Knowing exactly when and how much (or how little) to tune an Exalogic system is a big topic, but here are some general guidelines.

  • Because Exalogic has such a high density of compute resources across such a fast network, small configuration changes can have a large impact.
  • Try out your changes in a test environment, first. Make sure its resources, configurations, and workload match those of your production system as closely as possible. Oracle Application Replay is a good tool for assessing the impact of configuration and infrastructure changes on the performance of your applications. Give it a try.
  • Focus on reducing response times for users and applications. If response time is not a problem, you probably don't have an issue to resolve, regardless of internal alerts and indicators you may be noticing.
  • Capture the right performance baselines ahead of time so you can compare the results of your tuning to them.

Tuning the Infrastructure

Storage, Infiniband, and OS are set up during initial configuration, so further tuning is not usually needed. If you need to review the kernel settings, network bonding, and MTU values, or perhaps the NFS settings, use Enterprise Manager. Finding the optimum changes tends to be an iterative process that varies with application workload.

Tuning the Middleware Runtime Environment

Ensure that Exalogic optimizations for WLS Suite are switched on (see MOS note 1373571.1), since they affect replication channels, packet sizes, and the use of the SDP protocol in the Infiniband networks.

Oracle Traffic Director is currently a unique feature of Exalogic, so is not available on other platforms. You can alter traffic routing rules for each application at any time. As workloads change and grow this is likely to be a key tuning task.

Tuning the Applications

At present you can tune business applications just as you would on traditional platforms. One possible side effect of running your business applications on Exalogic is that its enhanced performance may unmask poorly tuned applications or poorly written customizations.

For More Information

For more information, read the Exalogic: Administration Tasks and Tools white paper.

- Rick

Follow me on:
Blog | Facebook | Twitter | YouTube | The Great Peruvian Novel

Thursday Jan 31, 2013

Deep Inside Every Sysadmin Is ...

#WWI-Ace

photo courtesy of James Vaughan - all rights reserved

... an Oracle ACE!

The thrills. The glory. The fame. Who can resist?

Turns out sysadmins can.

Last time I checked, the Oracle ACE program had 417 ACES and ACE Directors. Of those 417, only 6 have a specialty in Oracle Solaris or Oracle Linux.

That's simply not enough to defend the homeland! I know there are many more sysadmins and developers proficient in Oracle Solaris and Oracle Linux who can qualify to become Oracle ACES. Toss your silk scarf around your neck and grab your goggles. Then talk to me on the OTN Garage page on Facebook. I'll explain the benefits and help you enroll in pilot training.

Current Oracle ACES With Specialties in Oracle Solaris or Oracle Linux

Suk Kim, ACE Director, Oracle Solaris, Korea

Proficient in Oracle Solaris system tuning, troubleshooting Oracle Solaris security, audit information security, penetration tester incident and response, digital forensics virtualization, and cloud computing. Member of Korea Oracle Solaris User Network, Chairman of Oracle Solaris Tehchnet, Manager of Solaris School, adjunct professor at Ansan University, senior consultant at NoBreak Co., LTD.

Diego Aguirre, ACE, Oracle Solaris, Argentina

Diego Aguirre has been a Solaris Support Specialist since 1998. Over the past several years, he has contributed to the Oracle Solaris Community and has published technical articles for Sun Microsystems and now Oracle. He is the author of http://solaris4ever.blogspot.com.

Alexander Eremin, ACE, Oracle Solaris, Russia

Alexander Eremin is a user on Solaris and Linux platforms since 1995. Over the past ten years, he has worked as a Senior Unix Administrator. He is also the creator of the MilaX - Small Live Distribution of OpenSolaris. Alexander is also taking part in the Caiman OpenSolaris project.

Julien Gabel, ACE, Oracle Solaris, France

Julien Gabel is a Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments. He has architecture and expertise in building Solaris and UNIX experience in large enterprises such as banking and financial services, IT services, Telecoms and multimedia companies.

Raimonds Simanovskis, ACE, Oracle Linux, Latvia

Raimonds Simanovskis in founder of EazyOne which develops business intelligence web application eazyBI.com. Previously he was working at Tieto Latvia where he was using and promoting new technologies, open source and Agile software development. Raimonds has participated in many Oracle E-Business Suite implementation projects as well as Oracle based software development projects. In recent years he is active Ruby language and Ruby on Rails framework user and contributor. He has created and maintains Oracle database adapter for Ruby on Rails as well as PL/SQL and Ruby integration libraries.

Damian Wojslaw, ACE, Oracle Solaris, Poland

Damian is currently working as systems operator since 1999. Since 2006 he has worked with Solaris and OpenSolaris operating systems and other Sun Microsystems born applications. He blogs regularly on TrochejEN and reposts on Planet OpenSolaris. Damian has translated four OpenSolaris related Guides (ZFS Administrator Guide, OpenSolaris Installation Guide: Basic Installations, DTrace User Guide, Device Driver Tutorial) to Polish.

Defend the homeland!

- Rick

Website Newsletter Facebook Twitter My Personal Blog

Friday Jan 18, 2013

Once Upon a Time in the Kingdom of Serv

If you're the type of person who has no time to read fairy tales, scroll to the very bottom for a link to the article.

Once upon a time there was a very happy Kingdom called Serv. It was ruled by inventors called engineers. Most of the engineers were clever, kind, and handsome. They had beautiful wives who cooked them tasty and nutritious meals.

A few of the engineers, however, had wives with big, hairy, purple moles, who sat around all day watching reruns of Bridezilla while chomping loudly on pork rinds. They never served their engineer husbands any meals and instead, screamed at them to get them another bag of pork rinds. And they hated sysadmins.

Sysadmins were the workers of the Kingdom. They were very playful, and they had big strong hands. They spent their days tossing servers back and forth to each other, or playing hacky sack.

The Kingdom was a happy place because the clever, kind, and handsome engineers had long ago invented a wonderful contraption called, as you would expect, a "server." Servers were loved throughout the Serv kingdom and all the surrounding kingdoms. They came in shiny metal boxes and had blinking lights. Best of all, they had straight edges so that sysadmins could toss them back and forth to each other. Sysadmins loved tossing servers back and forth to each other, and at lunch time it was not uncommon for several servers to be in the air at once. But when a sysadmin dropped a server, it usually broke. And when a server broke, it was called a "failure." And a failure always woke up The Boss.

The Boss was a hairy ugly giant with one eye. He did only two things. He slept. And he fired sysadmins for waking him up. Naturally, everybody preferred to keep the boss asleep. Especially sysadmins.

Polite people in the Kingdom never mentioned the word "failure" at dinner parties, not even in a whisper, lest they unwittingly awaken The Boss. But everybody knew that if sysadmins began to appear on their sofas in the middle of the night, somewhere in the Kingdom a failure had occurred.

The wives of the clever, kind, and handsome engineers begged their husbands to do something about the plight of the playful sysadmins. And so the clever, kind, and handsome engineers invented the cluster. A cluster was an enchanted cable that connected groups of servers in a magical way. When one server was dropped by a sysadmin, the cable moved that server's applications to another server so fast that nobody had time to even think of saying "failure," much less say it loud enough to wake The Boss. When the dropped server was fixed, the enchanted cable moved that server's applications back.

And so the Kingdom was full of happy sysadmins tossing servers back and forth during lunch, and sleeping in their very own beds at night.

This turn of events, of course, made the pork rind and Bridezilla wives jealous. During the commercials they screeched at their browbeaten husbands until they invented a curse to get the sysadmins fired again and back on the sofas of the beautiful wives who cooked their engineer husbands tasty and nutritious food.

It was an unspeakable curse, and polite people at dinner parties didn't dare to even whisper its name. When this curse was unleashed upon the Kingdom, all the beautiful metal servers disappeared. Except one. And inside that one server were trapped the spirits of all the other servers. The sysadmins stood around staring at it, wondering of what use their big strong hands were when the servers no longer had bodies.

One by one the sysadmins grew sad and left, and in no time at all, almost all the clever, kind, and handsome engineers had sysadmins sleeping on their sofas again.

The Kingdom was not a happy place.

Until one day, it occurred to the cleverest, kindest, and most handsome of the clever, kind, and handsome engineers to put a spell on the enchanted cable so that it could do the same thing for the spirit servers that it once did for the physical servers.

It was a wonderful invention, and the sysadmins jumped off their sofas to learn how to use it. And to keep the pork rind-chomping, Bridezilla-watching wives of the browbeaten engineers guessing, the enchanted cable could be used in two different ways:

Two Ways to Create a Cluster from Logical Domains

  • Configure logical domains within Oracle Solaris Cluster
  • Configure Oracle Solaris Cluster within Oracle VM Server for SPARC

The first approach is fairly obvious. You can put one or more applications inside each domain and create a cluster from all the domains. When a particular domain goes down, the applications running inside it get moved to a working domain. The domains are controlled individually through Oracle VM Server for SPARC, and the cluster is controlled by Oracle Solaris Cluster.

The second approach is more involved, but it provides significant benefits. It consists of setting up Oracle Solaris Cluster inside the control domain of Oracle VM Server for SPARC. When deployed this way, Oracle Solaris cluster can manage guest domains as "black boxes," which allows a site to isolate the administration of guest domains from each other. With this approach, from within Oracle Solaris Cluster you can:

  • Create guest domains
  • Live- and warm-migrate the guest domains
  • And manage individual applications like you can with the first approach

The second approach is well documented. In fact, Venkat Chennuru, a sysadmin with big strong hands who was elevated to the rank of clever, kind, and handsome engineer, took the trouble to write it down for us. You can find his article on OTN:

How to Configure a Failover Guest Domain in an Oracle Solaris Cluster

Read it, learn how to do it. Because as you know, evil never rests.

- Rick

Website Newsletter Facebook Twitter My Personal Blog

Thursday Jan 10, 2013

Recent How-To Articles About Oracle Solaris Zones

LEGO Clone Army Collection

How to Put Oracle Solaris Zones on Shared Storage for Easy Cloning

by Jeff Victor

What is ZOSS? Zones on shared storage. Why would you do that? When you configure a zone on shared storage, you can quickly clone it on any server that uses that storage. Jeff explains how.

How to Create Oracle Solaris 11 Zones with Oracle Enterprise Manager Ops Center

You can also create Oracle Solaris 11 zones with Oracle Enterprise Manager Ops Center 12c. When you set up a zone this way, you can add the zone to a server pool and use the zone migration feature of Oracle Solaris 11. In this article, Laura Hartman shows you how to create and configure a non-global zone from the Plan Management View of this handy-dandy tool.

How to Create a Load-Balanced Application Across Two Oracle Solaris Zones

by Laura Hartman

Install Apache Tomcat on two Oracle Solaris zones. Connect them across a VPN. And let the Integrated Load Balancer in Oracle Solaris 11 manage traffic. Presto: high(er) availability in a single server.

- Rick

Website Newsletter Facebook Twitter My Personal Blog

Wednesday Jan 09, 2013

How to Treat an NFS File As a Block Storage Device

source

Wim actually beat me in blogging about this feature while I was on vacation, but I'd like to add a little more background about dm-nfs, which I gathered from our kernel developers:

What is dm-nfs?

The dm-nfs kernel module provides a device-mapper target that allows you to treat an NFS file as a block device. It provides loopback-style emulation of a block device using a regular file as backing storage. The backing file resides on a remote system and is accessed via the NFS protocol.

The general idea is to have a more-efficient-than-loop access to files on NFS. The device mapper module directly converts requests to the dm device into NFS RPC calls.

dm-nfs is used transparently by Oracle VM's Dom0 when mounting NFS-backed virtual disks. It essentially allows for asynchronous and direct I/O to an NFS-backed block device, which is a lot faster than normal NFS for virtual disks. The Xen block hotplug script has been modified on OVM to look for files which are on NFS filesystems. If the file is on NFS, OVM uses dm-nfs automatically, otherwise it falls back to using the regular (but slower) loop mount method.

The original dm-nfs module was written by Chuck Lever. It has been supported and used by Oracle VM since version 2.2 and is also included in the Unbreakable Enterprise Kernel for Oracle Linux.

Why this feature matters

This feature creates virtual disk devices (LUNs) where the data is stored in an NFS file instead of on local storage. Managed networked storage has many benefits over keeping virtual devices on a disk local to the physical host.

A sample use case is the fast migration of guest VMs for load balancing or if a physical host requires maintenance. This functionality is also possible using iSCSI LUNs, but the advantage of dm-nfs is that you can manage new virtual drives on a local host system, rather than requiring a storage administrator to initialize new LUNs on the storage subsystem. Host administrators can handle their own virtual disk provisioning.

For durability and performance, dm-nfs uses asynchronous and direct I/O so all I/O operations are performed efficiently and coherently. Guest disk data is not double cached on the underlying host. If the underlying host crashes, there's a lower probability of data corruption. If the guest is frozen, a clean backup can be taken of the virtual disk, as you can be certain that its data has been fully written out.

How to use it

You use dm-nfs by first loading the kernel module, then using dmsetup to create a device mapper device on your file. The syntax is very similar to the dm-linear module.

The following sample code demonstrates how to use dmsetup to create a mapped device (/dev/mapper/$dm_nfsdev) for the file $filename that is accessible on a mounted NFS file system:

nblks=`stat -c '%s' $filename`
echo -n "0 $nblks nfs $filename 0" | dmsetup create $dm_nfsdev

Now you can mount /dev/mapper/$dm_nfsdev like any other filesystem image.

- Lenz Grimmer (Oracle Linux Blog)

Website Newsletter Facebook Twitter

Thursday Jan 03, 2013

Extreme Sports and the SPARC T5 Chip

In my day, you were extreme if you surfed. Nobody had a leash. If a wave ripped the board out of your hands, you had to swim all the way back to the beach. In big surf, that could take 15 minutes. And then you had to paddle out again.

Today, if you're not juggling rusty chainsaws while riding a BMX bike off the top of the Eiffel Tower with half a dozen angry chimpanzees trying to rip off your helmet and goggles, you're not considered extreme.

Which is exactly why the SPARC T5 chip has 1024 functional CPUs. None of Oracle's SPARC engineers wanted to find himself at a cocktail party having to confess in an embarrassed chortle to a salon full of top hats and sequins that he had designed a mere 512 CPU chip. Imagine the chagrin!

Interview: Deep Dive into the SPARC T5 Chip

So Oracle's SPARC engineers worked wicked hard to scale the T5 to eight sockets. Since each socket has 16 cores, that gives you 128 cores, total. Since each core can support eight individual threads (or strands, if you're not the sartorial type), you wind up with a total of 1024 functional CPUs.

As you know, processing power without bandwidth is kinda like a mega motor with a nano fuel tank. Doesn't get you too far. So the T5 also has memory bandwidth to match its processing power. And lots of other capabilities that you an read about in this:

Interview: Deep Dive into the SPARC T5 Chip

- Rick

P.S., If you want to read about surfing in the old days, check out Chapter 1 of Tocayos, a novel I've been writing and posting online in my spare time.
Website Newsletter Facebook Twitter My Personal Blog

Monday Dec 03, 2012

December 3 is Stephanie Choyer Day

I don't answer Stephanie Choyer's email just so I can enjoy her French accent when she calls.

"Reek! Reek! Why do joo not answer my eemails?"

Without the French, life on Earth would be so much poorer. No, they don't bring to the party any motorcycles that grow chest on your hair, and the Citroen is such a frightening study in Automobile design that I don't dare climb inside one. But they have French architecture. French sidewalks. French villages. The French Alps. Grenoble. French cheese. French wine. And that glorious French accent.

If I were French, I'd spend all my time enjoying being French. Which makes the work that Stephanie does day in and day with our hard-edged technologies and stubborn technologists so admirable.

Oracle Solaris 11 Resources for Sysadmins and Developers

The page in the link above represents the work of many people, but it was Steph who rounded them up. And it wasn't easy. I know, because I ran and hid from her on many, many occasions. But she was tireless.

"Reek. Reek. Why have you not published Glynn's article? Pleeeease, you must!"

Remember when tech companies gave you a simple choice? You could either read the 27,000 pages of documentation or a double-sided data sheet. Which will it be, pal? Then they started writing white papers. 74 pages of excellent prose did a beautiful job of explaining why the technology was fantastic, but never told you how to use it. Well, have you taken a look at these?

How-To Technical Articles for System Admins and Developers

Now you can get wicked excited about a cool technique described in a 74-page white paper, and find a technical article that shows you exactly how to use it.

The wicked smart marketing folks on the Oracle Solaris team wrote them, but it was Steph who bribed them with a Cabernet or beat them over the head with a baguette until all that work was finished and posted on OTN.

There are songs about French wine, but not about French vintners. There are songs about French cities, but not about French bricklayers. About French sidewalks, but not about the French policemen who keep them safe. As far as I know, there are no songs about OTN, but if there were, they would probably neglect to mention Steph.

Which is why today, Dec 3rd, we celebrate Stephanie Choyer Day. We dedicate this day to our relentless, hardworking, tireless, patient and friendly French colleague with the delightful accent. If I knew how to speak French, I'd say "Thanks for all you do" in French. But I don't speak French. And I don't trust online translations. I'd probably wind up saying "My left foot yearns for curdled milk." So here it is in plain old English:

Thank you, Stephanie.

psssst! about that documentation and those white papers ...

In case you haven't noticed, the Oracle Solaris doc team has done some pretty cool things with the Solaris docs. And those white papers are interesting reading, well worth setting aside some time. Because with Solaris, as you know, it's not just about getting by with a rudimentary grasp of the basics. It's about the amazing stuff savvy sysadmins and developers can do when they really understand it. Find them here:

- Rick

Website Newsletter Facebook Twitter

Tuesday Nov 13, 2012

We Need More Migration!

source

Eva Mendez says, "Oye chico, do you really want to keep your data in that tired legacy file system when it could be enjoying encryption, compression, deduplication, snapshots, remote replication and other benefits provided by ZFS in Oracle Solaris 11?

It's really not that hard to cross over. If you know how."

"I don't know how, me dices? Esta bien, papacito. Go to OTN. Take my word for it. They know how."

<blushing>
Aw shucks, Eva. Anything for you!
</blushing>

The Best Way to Migrate Data From Legacy File Systems to ZFS

To migrate data from a legacy filesystem to ZFS in Oracle Solaris 11, you need to install the shadow-migration package and enable the shadowd service. Then follow the simple procedure described by Dominic Kay.

How to Update to Oracle Solaris 11 Using the Image Packaging System

Oracle Solaris 11.1 has been released. You can upgrade using either Oracle's official Solaris release repository or, if you have a support contract, the Support repository. Peter Dennis explains how.

How to Migrate Oracle Database from Oracle Solaris 8 to Oracle Solaris 11

How to use the Oracle Solaris 8 P2V (physical to virtual) Archiver tool, which comes with Oracle Solaris Legacy Containers, to migrate a physical Oracle Solaris 8 system with Oracle Database and an Oracle Automatic Storage Management file system into an Oracle Solaris 8 branded zone inside an Oracle Solaris 10 guest domain on top of an Oracle Solaris 11 control domain.

- Ricardo

Website Newsletter Facebook Twitter

Thursday Oct 25, 2012

Yay! Oracle Solaris 11.1 Is Here!

Even the critters are happy.

This is no cosmetic release. It's got TONS of new stuff for both system admins and system developers. In the coming weeks and months I'll highlight specific new capabilities, but for now, here are a few resources to get you started.

What's New (pdf)

Describes enhancements for sysadmins in:

  • Installation
  • System configuration
  • Virtualization
  • Security and Compliance
  • Networking
  • Data management
  • Kernel/platform support
  • Network drivers
  • User environment

And for system developers:

Download

Free downloads for SPARC and x86 are available, along with instructions and tips for using the new repositories and Image Packaging System.

Tech Article: How to Upgrade to Oracle Solaris 11.1

You can upgrade using either Oracle's official Solaris release repository or, if you have a support contract, the Support repository. Peter Dennis explains how.

Documentation

Superbly written instructions from our dedicated cadre of world-renowned but woefully underpaid technical writers:

  • Getting Started
  • Installing, Booting, and Updating
  • Establishing an Oracle Solaris Network
  • Administering Essential Features
  • Administering Network Services
  • Securing the Operating System
  • Monitoring and Tuning
  • Creating and Using Virtual Environments
  • Working with the Desktop
  • Developing Applications
  • Reference Manuals
  • And more

Training

And don't forget the new online training courses from Oracle University! I really liked them. Here are my first and second impressions. - Rick

Website Newsletter Facebook Twitter

Tuesday Oct 23, 2012

You Don't Want to Meet Orgad Kimchi in a Dark Alley

source

Do you remember what those bad guys in the old Charles Bronson films looked like? They looked like Orgad Kimchi, that's what they looked like. When I met him at Oracle OpenWorld 2012, I realized I didn't want to meet him in the wrong alleyway of Budapest after dark.

Neither do old versions of Oracle Solaris, which Orgad bends to his will with as much ease as he probably bends stray tourists to his will in Budapest, Kandahar, or Dagestan.

How Orgad Made Oracle Database Migrate from Oracle Solaris 8 to Oracle Solaris 11

In this article, which we liked so much we reprinted it from his blog (please don't tell him!), Orgad explains how he head-butted an Oracle Database into submission. The database thought it was safe running in Oracle Solaris 8, but Orgad dragged its whimpering carcas into Oracle Solaris 11. How'd he do that? Well, if you had met Orgad in person, you wouldn't ask that question. Because you'd know he could have simply stared at it, and the database would have migrated on its own.

But Orgad didn't do that. Instead, he stuffed an Oracle Solaris 8 Physical-to-Virtual (P2V) Archiver Tool into his leather trench coat, the one with the special pockets sown in by the East German Secret Police for several Uzis and their ammo, and walked into his data center in a way that reminded the survivors of this clip from Matrix Reloaded.

The end result? The Oracle Database 10.2 that was running on Oracle Solaris 8 is now running inside a Solaris 10 branded zone in Oracle Solaris 11. With no complaints.

Don't make Orgad angry. Read his article.

- Rick

Website Newsletter Facebook Twitter

Friday Jul 27, 2012

What To Give Your Favorite Sysadmin on Sysadmin Day

Source

Happy Sysadmin Day.

As the site says ...

This is the day that all fellow System Administrators across the globe will be showered with expensive sports cars and large piles of cash in appreciation of their diligent work ..."

We understand that times are tight, so we don't expect you to buy your favorite sysadmin a Ferrari. That can wait till next year. But it wouldn't hurt to rent them one. Just for the weekend. To remind them what a weekend feels like.

- Rick

Website Newsletter Facebook Twitter

Thursday Jun 28, 2012

Similar But Not The Same

A few weeks ago we published an article that explained how to use Oracle Solaris Cluster 3.3 5/11 to provide a virtual, multitiered architecture for Oracle Real Application Cluster (Oracle RAC) 11.2.0.2. We called it ...

How to Deploy Oracle RAC on Zone Clusters

Welllllll ... we just published another article just like it. Except that it's different. The earlier article was for Oracle RAC 11.2.0.2. This one is for Oracle RAC 11.2.0.3. This one describes how to do the same thing as the earlier one --create an Oracle Solaris Zone cluster, install and configure Oracle Grid Infrastructure and Oracle RAC in the zone cluster, and create an Oracle Solaris Cluster resource for Oracle RAC-- but for version 11.2.0.3 of Oracle RAC. Even though the objective is the same, and the version is only a dot-dot-dot release away, the process is quite different. So we decided to call it:

How to Deploy Oracle RAC 11.2.0.3 on Zone Clusters

Hope you can keep the different versions clear in your head. If not, let me know, and I'll try to make them easier to distinguish.

- Rick

Website Newsletter Facebook Twitter

Thursday May 24, 2012

Overcoming Your Fear of Repositories

One of the best features of Oracle Solaris 11 is its software update model. As you have probably heard many times by now, the Image Packaging System (IPS) handles package dependencies automatically, so you no longer have to check them manually or create scripts that assemble the correct set of packages .

If you don't have a support contract, you have to wait until the next release of Oracle Solaris 11 to get the latest updates. But if you do have a support contract, you can keep your system updated with the latest security updates and bug fixes by downloading updates from the Oracle Support Repository. We recently published two articles that describe how, plus one more that shows you how to create multiple internal repositories.

How to Update Oracle Solaris 11 Systems from the Oracle Support Repository, by Glynn Foster

You may already know that you don't have to worry about manually tracking and validating patch dependencies when you update a version of Oracle Solaris 11. But did you also realize you can apply the updates to an alternate boot environment, and then schedule the switchover to happen automatically at a later time? Glynn Foster explains how, and how to make sure everything went well.

More Tips for Updating Oracle Solaris 11 Systems from the Oracle Support Repository, by Peter Dennis

The Oracle Support Repository contains bug fixes and critical security fixes that can be applied to existing Oracle Solaris 11 installations between major releases. The repository is updated monthly. Peter Dennis describes how to access those updates and apply them to your systems.

How to Create Multiple Internal Repositories for Oracle Solaris 11, by Albert White

Even though you may get all your software updates to Oracle Solaris 11 from an external repository, you may still want to create different internal repositories to serve different versions of Oracle Solaris 11 to different types of systems. Albert White shows you how to create and manage internal repositories for release, development, and support versions of Solaris 11.

There's plenty more where these came from. Be sure to bookmark our Installation Spotlight page, maintained by the kind and prolific folks who bring you Oracle Solaris 11.

About the picture ...
Laird Hamilton is a god.
Teahupoo is a killer wave.
Laird owned it.
Be like Laird.

- Rick

Website Newsletter Facebook Twitter

Thursday May 10, 2012

Adventures in Flopping

Click an image to expand it.

Flopping in the NBA:

Flopping in soccer:

Flopping in the the NFL:

Flopping in the Data Center:










Next time your boss brushes aside the Chitos wrappers strewn among the coaxial cables with a dismissive swipe of his Wingtips so he can make his way into your office and demand that you install the latest version of Oracle Solaris 11 on 3,000 clients by Monday, you won't have to resort to flopping.

Just tell him that it'll take you all weekend, and then read Isaac Rozenfeld's explanation of:

How to Set Up Automated Installation Services in Oracle Oracle Solaris 11

The Automated Installer in Oracle Solaris 11 is kinda sorta the replacement for JumpStart and a very cool tool. You should learn how to use it. Steps are:

  1. Use the command-line to set up a an Oracle Solaris 11 system to act as an Automated Installer server.
  2. Create an installation service that will be automatically installed on clients.
  3. Test the installation service on the client, using default settings.
  4. Run the installation service again, but with custom settings.

Isaac strolls through them in grand style:

For more information about the Automated Installer and other installation tools in Oracle Solaris 11, see the Oracle Solaris 11 Installation Resources Page on OTN.

- Rick

Website

Newsletter

Facebook

Twitter

Friday Mar 16, 2012

Oracle Linux Forum

This forum includes live chat so you can tell Wim, Lenz, and the gang what you really think.

Linux Forum - Tuesday March 27

Since Oracle recently made Release 2 of its Unbreakable Enterprise Kernel available (see Lenz's blog), we're following up with an online forum with Oracle's Linux executives and engineers. Topics will be:

9:30 - 9:45 am PT
Oracle's Linux Strategy

Edward Screven, Oracle's Chief Corporate Architect and Wim Coekaerts, Senior VP of Linux and Virtualization Engineering, will explain Oracle's Linux strategy, the benefits of Oracle Linux, Oracle's role in the Linux community, and the Oracle Linux roadmap.

9:45 - 10:00 am PT
Why Progressive Insurance Chose Oracle Linux

John Dome, Lead Systems Engineer at Progressive Insurance, outlines why they selected Oracle Linux with the Unbreakable Enterprise Kernel to reduce cost and increase the performance of database applications.

10:00 - 11:00 am PT
What's New in Oracle Linux

Oracle engineers walk you through new features in Oracle Linux, including zero-downtime updates with Ksplice, Btrfs and OCFS2, DTrace for Linux, Linux Containers, vSwitch and T-Mem.

11:00 am - 12:00 pm PT
Get More Value from your Linux Vendor

Why Oracle Linux delivers more value than Red Hat Enterprise Linux, including better support at lower cost, best practices for deployments, extreme performance for cloud deployments and engineered systems, and more.

Date: Tuesday, March 27, 2012
Time: 9:30 AM PT / 12:30 PM ET
Duration: 2.5 hours
Register here.

- Rick

Thursday Mar 15, 2012

How to Unlock the Performance of Your Multithreaded Applications

Does the memory allocation of your multi-threaded application look like this?

That's probably because you're using a memory allocator designed for single-thread, single-CPU applications. Those memory allocators use malloc() and free() to reserve a portion of memory for your application, and then release it.

That type of memory allocator can continue to work in an application that ventures timidly into the possibilities of a multi-core, multithread-capable system. However, as the thread count begins to increase, different threads will start to request access to memory at the same time, and the traditional memory allocator won't be able to keep up.

Article: How Memory Allocation Affects Performance in Multithreaded Applications

Rick Weisner explains how memory allocation has evolved over the years, then shows you how to recognize a performance deficiency in your multithreaded application. Then he describes how to use three MT-aware memory allocators to take advantage of the performance promises of multi-core systems:

  • mtmemlock shipped with Oracle Solaris
  • libumem shipped with Oracle Solaris
  • the hoard allocator, publicly available

Stop the madness. Read Rick Weisner's article.

- Rick (Ramsey)

Website

Newsletter

Facebook

Twitter

Tuesday Mar 13, 2012

Who the Linux Developer Met on His Way to St. Ives

For some reason I still remember this nursery riddle:

"As I was going to Saint Ives
I met a man with seven wives
Each wife had seven sacks
Each cat had seven cats
Each cat had seven kits
How many were going to St Ives?

The answer, of course, is one. More about the riddle here.

Little did I know, when I first learned it, that this rhyme would help me understand the Oracle Exadata Database Machine. Miss Blankenship, please forgive me:

As I was going to St Ives
I met a man with 8 Oracle Exadata Machines
Each machine had 8 sockets
Each socket had 8 cores
Each core had 2 threads
How many CPU's were going to St Ives?

If your i-phone has hobbled you to the point that you can no longer do simple arithmetic in your head, you can get the answer to that riddle by listening to these podcasts (the first one even provides notes):

Podcast: How Oracle Linux Was Optimized for the Oracle Exadata Database Machine

Turns out that when you use off-the-shelf components to build a NUMA system like the Exadata, you lower your hardware costs, but you increase the software work that must be done to optimize the system. Oracle Linux already had a set of optimizations well suited to this task. Chris Mason, director of Linux kernel engineering at Oracle, describes the process engineering used to optimize Exadata's integrated stack, touching everything from storage, to networking, the CPU, I/O speeds, and finally the application. Great Q&A, too.

Podcast: What's So Great About Oracle's Unbreakable Enterprise Kernel?

It's easy to replace your tired rust-bucket of a Linux kernel with the chromed-out Unbreakable Enterprise Kernel from Oracle, but why would you? Sergio Leunissen, Oracle Vice President, and Lenz Grimmer, blogger extraordinaire, explain why it's worth your time to use the Unbreakable Linux Kernel. Sergio and Lenz explain why Oracle went to the trouble to engineer its own kernel, what's included in Release 2, how it is tested, how it is optimized for the Oracle stack, the close relationship with the Linux community, and what benefits it brings developers and sysadmins.

Where to Get It, How to Use It

As you may have already heard, Release 2 of Oracle's Unbreakable Enterprise Kernel for Linux is now available. Here are some resources to help you get started.

- Rick with Todd Trichler

Website

Newsletter

Facebook

Twitter

Friday Mar 09, 2012

My Personal Crib Sheet for the ZFS Storage Appliance

Question: What do the F22 Raptor and the ZFS Storage Appliance have in common?

Answer: They bend time. They compress distance. And they both come with their own simulator.

We recently published some articles about really cool ways to use the ZFS Storage Appliance (see below), so I spent a little time looking into the darned thing. It's easy to find out what the ZFS Storage Appliance does, but more difficult to find out what its components are. What can I yank out and replace? What can I connect it to? And what buttons and levers can I push? Or pull.

So I put together this crib sheet. If you didn't grow up in The Bronx, see wikipedia's definition of crib sheet.

What Have We Published Recently?

What the Heck Is It?

It is Oracle's main NAS system for enterprise environments. In case you don't already know, NAS (Network Attached Storage) is simply a storage system designed to be shared by several servers on a network. Instead of each server having its own storage, which would make sharing files wicked slow, you put all your storage on your NAS system, and let all the servers access it fast. Plus, it's much easier to manage. Shoot, you can even store your boot environments on your NAS system so that if one of your servers dumps core, you can reboot it from the NAS system.

It comes in three variations:

  • 7120 - for small and medium size installations - 3.3 TB to 177 TB raw capacity
  • 7320 - mid-range storage for the enterprise - cluster option - up to 288 TB raw capacity - Hybrid Storage Pools with up to 4 TB of optimized cache
  • 7420 - For virtualized environments requiring multiple data services and heterogeneous file sharing - single or cluster - up to 1.7 PB of raw capacity

What Makes It Special?

  • It's wicked fast (see F22 Raptor, above).
  • It's got management software that makes it easy to administer.
  • Its Hybrid Storage Pool Design recognizes I/O patterns and places data in the storage media that will provide best performance for that data, whether DRAM, flash, or disk.
  • Hybrid Columnar Compression reduces storage footprints for NAS-based databases from three to five times.
  • DTrace analytics help you diagnose performance and networking bottlenecks
  • Fault Management Architecure (FMA) identifies faults and automatically re-routes traffic around them.
  • When you need more capacity, you can add:
    • DRAM, cache, or I/O ports for more resources
    • Disk shelf units for greater total capacity
    • Flash drives for faster performance.
  • You can get it in a dual-cluster configuration for high availability.
  • It provides a variety of RAID protections to balance capacity, protection, and performance requirements of your applications.
  • It's waaaaay cheaper than an F22 and doesn't require all that cryptic back and forth with those moody Air Traffic Control people.

Details here.

What's In The Box?

When I asked, I got the usual "Well, I could tell you what's in the box, but then I'd have to shoot you." Turns out they don't want me messing with it. Or you messing with it. The darn thing is built from off-the-shelf components, but the value-add comes from the way they're tuned to work together. So if you, Mister Curiosity, decide to pop open a terminal and run ssh into Solaris, you'll see a message notifying you that if you continue with your wayward ways you'll void your warranty. Ack! Like the good ol' boys from the Georgia Satellites like to put it...

She said, "No huggee, no kissee
Until you make me a wife."
Oh, my honey, my baby
Don't put my love upon no shelf
She said, "Don't hand me no lines
And keep your hands to yourself."

Here's what you really need to know: It's a specialized server with a processor, memory, and disk drives. Loaded with a highly tuned version of Oracle Solaris and other software goodies. But don't think of it that way. Think of it as remote storage. That's all. A box with:

  • Two types of storage:
    1. Filesystem, such as CIFS, NFS, ZFS, etc.
    2. Block, allocated as a Logical Unit (LUN)
  • Connections for a wide variety of network protocols
  • Two sysadmin toolkits:
    1. BUI (boo! boo!)
    2. CLI (yay! yay!)
  • Analytics to help you monitor its performance.

Connections? What Can I Connect It To?

For starters, you can connect it to the other servers on the network, through the stock Infiniband HCA's. That's part of what makes it wicked fast. But you can also connect it to other devices through industry-standard network protocols, including:

  • Infiniband
  • Fibre Channel
  • NFS
  • Common Internet File System (CIFS)
  • Internet Small Computer System Interface (iSCSI)
  • NDMP (Network Data management Protocol so it can participate in remotely-coordinated automatic backups
  • A Virus Scan Service
  • NIS naming, LDAP directory, and Microsoft Active Directory services for centralized management of users, groups, hostnames, etc.

What Administration Tasks Does It Require?

Details vary by model and your needs, but basic administration consists of:

  • Defining the storage allocated to each server
  • Making it available to the servers (sharing)
  • Migrating data
  • Integrating it with other applications
  • Taking snapshots
  • Monitoring performance with DTrace Analytics
  • The usual backups, diagnostics, and housecleaning tasks for any server or storage system

Any Examples of What To Use It For?

Turns out you can do lots of cool things with the ZFS Storage Appliance. A partial listing:

For More Information

The Best American Country Song of All Time?

Is it the best? That's debatable. But it's certainly one of my favorite renditions of a country song, from one of my favorite movies of all time.

- Rick Ramsey (with special thanks to Andrew Ness)

Website

Newsletter

Facebook

Twitter

Tuesday Feb 28, 2012

Santa Clara On April 10 - Next OTN Sysadmin Day

Before the part of Oracle that was then Sun Microsystems moved in, the facility used to be known as the Agnews Insane Asylum. Some of us who worked for Sun at the time thought the image was hilarious. Some thought it was insensitive. Some believed it was a statement about the rise of the corporate state and the demise of benign government. That was the Santa Clara campus back then, a diverse, magical workplace full of people who held strong opinions about everything, yet managed to have a great time together.

Another topic that incites strong opinions among good friends is Oracle Solaris vs Oracle Linux. Which one is better? Which one should I use? Which one should I learn how to use? At our OTN Sysadmin Days, we let you decide. Pavel Anni always opens our OTN Sysadmin Days with a talk about Oracle's dual OS strategy. He explains why Oracle offers two operating systems, and summarizes the main features of each one. Then we split off into two different groups to get our hands on each OS.

One group gets their hands on the ZFS filesystem, virtualization capabilities, and security controls of Oracle Solaris.

The other group gets their hands on the package management tools, services, and runs levels of Oracle Linux, plus its volume management tools and the Btrfs filesystem.

The truly adventurous sysadmins jump between groups. Both groups learn by doing, using the hands-on labs similar to those on OTN's Hands-On Labs page. Why attend an event in person when you could simply work the labs on your own? Two reasons:

  1. Since you are away from the obligations of the data center, you get to focus on working the labs without interruption.
  2. You get help from Oracle experts and other sysadmins who are working on the same labs as you.

I've been to all our OTN Sysadmin Days so far. The sysadmins and IT managers who attended told me that it was time very well spent. However, our attendance has been low. Not sure whether we haven't gotten the word out to enough people, or whether it's just difficult for sysadmins to get away. In any case, if we don't improve attendance, we'll have to cancel OTN Sysadmin Days.

So if you're interested, register now. Santa Clara on April 10 may be your last chance. The event is free. Here's the agenda:

Time Session
8:00 am System Shakedown
9:00 am Oracle's Dual OS Strategy
 

Oracle Solaris Track

Oracle Linux Track

10:00 am HOL: Oracle Solaris ZFS HOL: Package Management and Configuration
11:30 am HOL: Virtualization HOL: Storage Management
1:00 pm Lunch / Surfing OTN
2:00 pm HOL: Oracle Solaris Security HOL: Btrfs filesystem
3:00 pm Presentation: Oracle Enterprise Manager Ops Center 11g
3:30 pm Presentation: Setting Up and In-House Development Environment with Oracle Solaris Studio
4:00 pm Discussion: What are the most pressing issues for sysadmins today?
5:00 pm We all go home

- Rick Ramsey

Website

Newsletter

Facebook

Twitter

Monday Feb 13, 2012

OMG! What Did I Just Install?

Quick Quiz:

Q: What's in this Solaris 10 package: SUNWlibstdcxx4S?
A: You cheated. You googled it and found the link to the Oracle Solaris 10 documentation.

You're in luck, because each release of the Solaris 10 documentation contains a Package List for that release. For example:

Now try this:

Q: What's in this Solaris 11 package: compress/p7zip?
A: buzzer!

The Solaris 11 documentation does not include a package list. You can find mentions of some packages through google, but it's hit and miss. And you still don't get the rest of the info about the package that the Solaris 10 documentation included. So how do you find out what Solaris 11 packages you just installed? Here are two methods.

The pkg list Command

The pkg list command lists all the packages currently installed on your system. If you use it, redirect the output to a file so your screen doesn't wind up looking like a scene out of The Matrix. Since package naming is hierarchical, you are likely to find similar packages grouped together in the list. For example:

$ pkg list
.
.
.
compress/bzip2
compress/gzip
compress/p7zip
compress/unzip
compress/zip
.
.
.
editor/gedit
editor/nano
editor/vim

You can just list a subset of the packages you are interested in:

$ pkg list driver/network/ethernet/*

By the way, to list all packages that are available for you to install, add -a to the pkg-list command. This example asks for the name of all the packages you can install in the editor group:

$ pkg list -a editor/*

One you have a list of the packages, you can use one of the commands below to get additional info about each package.

The pkg info and pkginfo Commands

The pkg info command provides detailed information about a particular IPS package. For example:
$ pkg info p7zip
          Name: compress/p7zip
       Summary: The p7zip compression and archiving utility
   Description: P7zip is a unix port of the 7-Zip utility.  It has support for
                numerous compression algorithms, including LZMA and LZMA2, as
                well as for various archive and compression file formats,
                including 7z, xz, bzip2, gzip, tar, zip (read-write) and cab,
                cpio, deb, lzh, rar, and rpm (read-only).
      Category: System/Core
         State: Installed
     Publisher: solaris
       Version: 9.20.1
 Build Release: 5.11
        Branch: 0.175.0.0.0.2.537
Packaging Date: Wed Oct 19 09:13:22 2011
          Size: 6.73 MB
          FMRI: pkg://solaris/compress/p7zip@9.20.1,5.11-0.175.0.0.0.2.537:20111019T091322Z 

Here's another example:

$ pkg info -r solaris-large-server
          Name: group/system/solaris-large-server
       Summary: Oracle Solaris Large Server
   Description: Provides an Oracle Solaris large server environment
      Category: Meta Packages/Group Packages
         State: Not installed
     Publisher: solaris
       Version: 0.5.11
 Build Release: 5.11
        Branch: 0.175.1.0.0.9.2627
Packaging Date: Mon Feb 06 22:33:56 2012
          Size: 5.45 kB
          FMRI: pkg://solaris/group/system/solaris-large-server@0.5.11,5.11-0.175.1.0.0.9.2627:20120206T223356Z

The pkginfo command does the same for any SVR4 packages you may have installed on the same system.

For More Information

- Rick Ramsey with Alta Elstad

Website

Newsletter

Facebook

Twitter

Thursday Feb 09, 2012

Zoning Out

So much virtualization. So little time.

You can virtualize your OS ...

You can virtualize your network.

You can virtualize your storage.

Your server.

Even your highly-personalized desktop.

Me? I would like to virtualize my virtualization technologies. I want ONE server. With ONE OS. And ONE toolkit. That can actually be made up of hundreds or even thousands of virtual OS instances, networks, storage devices, desktops, aircraft carriers, or whatever they virtualize next.

You can't quite do that yet, but in Oracle Solaris 11 you can create zones that are easy to clone on other systems. That's a step in the right direction, I think. The following article describes how. In case you're not too confident in your ability to juggle zones, I added an article that helps you get started with zones in Oracle Solaris 11, and a link to more resources.

How to Configure Zones in Oracle Solaris 11 for Easy Cloning

The easiest way to create a bunch of zones is to clone them from one or more originals. That seems simple enough if you are going to clone them on the same instance of Solaris, but what if you'd like to clone them on other systems? In that case, you need to use virtual networks. You need to set up an entire network topology of servers, routers, switches, and firewalls that you can clone right along with the zones. Jeff McMeekin describes how.

How to Get Started Creating Zones in Oracle Solaris 11

If you used zones (containers) in Oracle Solaris 10, you'll appreciate this article. Because zones are more tightly integrated with the architecture of Oracle Solaris 11, they're easier to set up and manage. In this article, Duncan Hardie demonstrates how to perform basic operations with zones: first, how create a single zone using the command line, then how to add an application to a zone, and finally how to clone a zone.

More Zones Resources

  • Solaris 11 Virtualization Page - Links to demos, podcasts, technical articles, and more resources to help you understand zones and how to use them.
  • Zones Collection - See what zones-related content we've published (or found) since the dawn of time.
  • RSS Feeds Page - Subscribe to zones-related content through your favorite reader.

- Rick
Website
Newsletter
Facebook
Twitter

About

Contributors:
Rick Ramsey
Kemer Thomson
and members of the OTN community

Search

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