Monday Apr 15, 2013

Eight Cylinders of Virtualization

source made freely available by desktop machine

I've been on the lookout for a quick techie overview of Oracle's virtualization offerings. Detlef Drewanz, Matthias Pfützner, and Elke Freymann had strung together a series of articles doing just that. Lenz Grimmer jumped in with some context on Linux, and the result was this 8-part series for OTN.

1 - The Role of Oracle VM Server for SPARC in a Virtualization Strategy

by Matthias Pfützner

Overview of hardware and software virtualization basics, including a breakdown of different types and styles of virtualization, and where Oracle VM Server for SPARC fits into a virtualization strategy.

2- The Role of Oracle VM Server for x86 in a Virtualization Strategy

by Matthias Pfützner

Oracle VM Server for x86 is an Oracle technology that existed before Oracle acquired Sun. It is a virtualization product based on the Xen hypervisor and like its SPARC counterpart, Oracle VM Server for SPARC, it is a thin Type 1 hypervisor that performs hardware virtualization and uses paravirtualization.

3 - The Role of Oracle Solaris Zones and Linux Containers in a Virtualization Strategy

by Detlef Drewanz and Lenz Grimmer

Oracle Solaris zones are referred to as lightweight virtualization because they impose no overhead on the virtualization layer and the applications running in the non-global zones. As a result, they are a perfect choice for high performance applications. Instead of retrofitting efficiency onto full isolation, Linux Containers started out with an efficient mechanism and added isolation, resulting in a system virtualization mechanism as scalable and portable as chroot.

4 - Resource Management As an Enabling Technology for Virtualization

by Detlef Drewanz

When you have one person in one phone booth, life is simple. But when you fit 25 college students into one phone booth, you have resource management challenges. Not to mention security risks. Same goes for virtualization. Detlef explains how resource management can help.

5 - Network Virtualization and Network Resource Management

by Detlef Drewanz

Using hypervisor-based virtualization and Oracle Solaris Zones with network virtualization plus network resource management enables a whole range of network-based architectures. This article describes what's involved in using network resource management in conjunction with hypervisors, containers, and zones in an internal virtual network.

6 - Oracle VM VirtualBox: Personal Desktop Virtualization

by Detlef Drewanz

Oracle VM VirtualBox consists of a base software package that is available for each supported host OS; guest additions that add support for shared folders, seamless window integration, and 3D; and extension packs.

7 - The Role of Oracle Virtual Desktop Infrastructure in a Virtualization Strategy

by Matthias Pfützner

This technology is no longer available.

Virtual desktop infrastructure (VDI) is the practice of hosting a desktop operating system within a virtual machine (VM) running on a hosted, centralized or remote server. Matthias Pfützner explains.

8 - Oracle Enterprise Manager Ops Center as a Management Tool for Virtualization

by Elke Freymann

Oracle Enterprise Manager Ops Center offers complete infrastructure management with a focus on Oracle hardware (servers, switches, storage appliances) and Oracle operating systems, plus non-Oracle Linux variants that are supported on Oracle servers. Although Oracle VM VirtualBox and Oracle VDI include management capabilities, Ops Center has the best overall toolset for central virtualization management.

- Rick

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

Thursday Apr 11, 2013

How Oracle Solaris Engineering Thinks: Liane Praza

It's not often you get a glimpse into how the brightest minds at Oracle think (image removed from blog). And Liane is certainly one of the brightest minds at Oracle. In these two short videos (about 2 minutes each), taken at the recent Oracle Solaris Innovations Workshop, she explains:

Video Interview: Why We Build Virtualization Into the OS

Liane Praza explains why Oracle Solaris engineering continues to build virtualization capabilities into the OS instead of adding more features and better management to the hypervisor.

Why The OS Is Still Relevant

Sysadmins are handling hundreds or perhaps thousands of VM's. What is it about Solaris that makes it such a good platform for managing those VM's? Liane Praza, senior engineer in the Solaris core engineering group provides an engineer's perspective.

- Rick

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

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

Wednesday Apr 03, 2013

Miss MoneyPenny and the Oracle Solaris 11 Provisioning Assistant

source

In the following video, Bart Smaalders, from the Oracle Solaris core engineering team, explains why they decided not to provide a direct upgrade path from Oracle Solaris 10 to Oracle Solaris 11, and the best way for a data center to perform an indirect upgrade.

VIDEO INTERVIEW: Why Engineering Did Not Provide a Direct Upgrade Path to Oracle Solaris 11

Miss MoneyPenny to the Rescue

If you saw Skyfall, you probably noticed two things. First, that the latest Miss Moneypenny is a lot more interesting than past Miss Moneypennies. Second, that she's always there when 007 needs her.

Just like Oracle Solaris 10.

Oracle Solaris 10 has just released a nifty tool called Oracle Solaris 11 Provisioning Assistant. It lets you run the automated installer from Oracle Solaris 11 on a Solaris 10 system. That means you can set up an IPS (Image Packaging System) repository on your Solaris 10 system, and use it to provision one or more Solaris 11 systems.

In fact, if you have already set up a JumpStart server on your Solaris 10 system, you can use it to provision the Solaris 11 systems. Kristina Tripp and Isaac Rozenfeld have written an article that explains how:

TECH ARTICLE: How to Use an Existing Oracle Solaris 10 JumpStart Server to Provision Oracle Solaris 11 11/11

Note:
The Provisioning Assistant only provisions Solaris 11 11/11 systems. It does not provision Solaris 11.1, and there are no plans to extend its functionality to provision future releases of Oracle Solaris 11. Once you have set up your Solaris 11 system, use its automated installer to provision systems with the Solaris 11.1 or future releases. For more info, see the Upgrading to Oracle Solaris 11.1 documentation.

- Rick

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

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

Thursday Mar 21, 2013

How to Protect Your Oracle Solaris Zone Cluster

source

We just published an article by Subarna Ganguly that describes how to build a secure zone cluster. In other words, a zone cluster with trusted extensions. If you want to go straight to the article, scroll down to the bottom of this blog. If you're new to zones, clustering, or trusted extensions, I'll try to explain what's interesting about this article.

Vanilla Solaris

In the beginning there was root and user. Root could do anything anywhere, user could do very little. We improved that with the notion of roles. Access rights (permissions) were assigned to roles instead of users. And individual users were assigned to one or more roles. Access Control Lists (ACL) improved this even more.

Oracle Solaris has about 80 different roles. You can see the privileges each one has by looking at the /etc/user_attr.d directory

Trusted Extensions

Trusted extensions add "sensitivity" labels. These labels are similar to a security clearance in the military: confidential, secret, top secret, etc. With trusted extensions, you first label users, data, processes, peripherals, and pretty much everything that a user or process can access. Then you give uses and processes their own label. A user or process can only access something that has a label with the same or greater access.

"Trusted extensions ... is not something that can be just 'turned on' like a firewall. Trusted extensions fits into a framework where there's a formal security policy, possibly an LDAP server where users and their clearances are defined, as well as network access points that are labeled."
- Book: Oracle Solaris 11 System Administration, Chapter 18

Solaris Zones

Zones are virtual instances of the Solaris environment launched and controlled from the base OS environment, known as the non-global zone.

"Oracle Solaris Zones let you isolate one application from others on the same OS, allowing users to log in and do what they want from inside one zone without affecting anything outside that zone. In addition, Oracle Solaris Zones are secure from external attacks and internal malicious programs. Each Oracle Solaris Zone contains a complete resource-controlled environment that allows you to allocate resources such as CPU, memory, networking, and storage."
- OTN Article: How to Get Started Creating Zones in Oracle Solaris 11

Solaris Cluster

Oracle Solaris Cluster lets you deploy the Oracle Solaris operating system across different servers. If the server in your Barbados data center gets washed away by a hurricane that hates you and dropped off in West Africa, the other servers pick up the load, and the operating system continues to operate without interruption.

"Oracle Solaris Cluster delivers the high availability and disaster recovery capabilities of Oracle Solaris 11 and extends, with version 4.1, its built-in support for the Oracle software and hardware stack, to protect business critical application deployments in virtualized and traditional environments."
- White Paper: Oracle Solaris and Oracle Solaris Cluster

Zone Clusters

A zone cluster is a cluster created from Solaris zones that are physically located on different servers. That's similar to a regular cluster, but it uses zones instead of entire OS instances.

"Such large amounts of idle processing capacity present an almost irresistible opportunity for better system utilization. Organizations seek ways to reclaim this unused capacity, and thus are moving to host multiple applications on a single cluster. However, concerns about interactions between applications, especially in the areas of security and resource management, make people wary. Virtualization technologies address these security concerns and provide safe ways to host multiple applications in different clusters on a single hardware configuration.
- White Paper: How to Deploy Virtual Clusters and Why

Trusted Zone Clusters and Saburna's How To Article

Oracle Solaris Trusted Zone clusters became available in Oracle Solaris Cluster 4.1. They are zone clusters with the security capabilities (mandatory access control or MAC) provided by Trusted Extensions. The zones in the cluster are labeled in the same way that other objects are labeled, so that only other objects with the same (or higher) sensitivity label can access them. Saburna Ganguli walks you through the steps required to set one up:

OTN Article: How to Build a Trusted Zone Cluster with Oracle Solaris Cluster 4.1

More Cluster Resources

Note: Get big discounts on Safari Books online by subscribing to the OTN Systems Community Newsletter

- Rick

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

Monday Feb 11, 2013

Oracle Solaris 10 Still Rocks

source

When it was launched back in 05, Oracle Solaris 10 rocked the IT world. I heard a rumor that Scott tried to launch it at a Rolling Stones concert, but apparently Mick Jagger didn't think operating systems were sexy.

Operating systems not sexy? Since when?

Well, Mick, when was the last time you released a new album? Oracle Solaris 10 released one last Friday, pal.

Oracle Solaris 10 1/13 Release

The new release is integrated with My Oracle Support. As a result, you can view the system configuration, asset inventory, and change history of your Solaris systems on the support portal, along with the results of the health checks that Oracle Support performs. (Kinda like letting a pregnant woman have access to continuous ultrasound via her cell phone, huh?)

This support will be available for Oracle Solaris 10 through 2018. After that, it will be supported through Oracle's Lifetime Support Policy.

There's plenty more:

Technical Resources

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

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

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

Tuesday Aug 21, 2012

Worth the Money?

source

Learning a new technology really is the modern equivalent of doing the Ulysees thing in Homer's Odyssey. If you're the person who has to actually deploy the darned thing. And keep it running.

First, you have to wade through the marketing designed to mesmerize your boss ...

The eData Cloud-Optimized Storage Environment solution increases the adaptability of scalable business continuity while protecting infrastructure integrity optimized for the demands of reliability, availability, and security expressly designed for the unique requirements of the data center while enhanced for today's particular, unique, and demanding enterprise challenges. In a heterogenous computing environment.

So you shake your head vigorously in the hope that most of those words will fall out your ears, and go to the documentation, which is wicked, wicked useful. Once once you have a good idea of what you want to do. But frustrating as hell when you're not sure what you're supposed to be doing. Or why.

The technical articles that OTN publishes help a lot, but they don't give you the complete picture, do they? You wind up knowing how to do some really cool things, but not having a clue how to do others. Or worse: not knowing if there are other things you need to know.

So you go to the forums. And ask a question. OTN's forums are pretty good, but even in our forums you might not get an answer. And you might develop a lasting relationship with somebody born in San Quentin Prison who dedicates himself to stalking you for the rest of his life for wasting 18 seconds of his precious time.

We're all used to this, and repeat it hundreds of times throughout the year.

But wouldn't it be nice to learn something the easy way? Just once? Have somebody who really knows what they're talking about give us the complete picture? First at the high level so we get to see all the pieces and finally understand what it is we're dealing with. That alone is almost priceless. But also in full detail, so we know how to actually install, deploy, manage, and update a technology. From end to end. Because we've done it ourselves. More than once.

For me, that would be Christmas in August. The catch for most sysadmins nowadays is that there just isn't enough time to take a class. You can't get away from the office long enough without the place burning down. Which is why Oracle University came up with its on-demand format. Here's one example:

On Demand Training: Transition to Oracle Solaris 11

Like the average sysadmin, I have little to no free time during my work week. So I can't sign up for a week-long class. And even if I did, I wouldn't pay attention half the time because I'd be answering emails, IM's, and phone calls. So this on-demand format really works for me. Plus, the content is really good. An example of how the instructor sets the context for the new installation tools in Oracle Solaris 11, with just a few words:

"Now, speaking of Solaris installations, we have essentially three different ways that we can install this. We have the automated installer. Now, the automated installer is the replacement for JumpStart. The idea here is we're installing across the network. We have a manifest that lists what component should get installed. We have client profiles that say OK, these are the clients that should get the software.

"Then we have a couple of different interactive installation options. We have a LiveCD. Now, LiveCD is designed for the desktop environment. It has a GUI environment. So for those of you that are dealing with installations that are going to happen on a desktop or notebook computers, generally, you're going to do a LiveCD installation of that. Then we have the text installer. That's typically what you're probably used to in server deployments where it's a text-based interface where you're answering the questions to install the operating system so that you're not having to worry about the resources of a graphical environment."

If you're wondering why I'm blogging about this course on OTN Garage (again), it's simple: I'm taking the course right now, in between my other work, and I'm freakin' loving it! In my case, Oracle is paying for it. But after decades of trying to learn this technology on my own --with access to Oracle's engineers, mind you-- even if Oracle didn't pay for it, I'd be awfully tempted to stop buying motorcycles and pay for it myself. Just for the peace of mind. For the relief of being certain that I know what I'm talking about.

If the link above doesn't work for you, try this one.

- Rick

Website Newsletter Facebook Twitter

Friday Aug 17, 2012

How to Create More Oracle Solaris 11 Zones With Less Effort

If you are familiar with zones in Oracle Solaris 11, you already know how to create them using a procedure like the one described in this article:

How to Get Started Creating Zones in Oracle Solaris 11
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.

And you may be aware that you can configure your zones so that they are easier to clone, as described in this article:

How to Configure Zones in Oracle Solaris 11 for Easy Cloning
Jeff McMeekin describes how to create a network topology of servers, routers, switches, and firewalls that you can clone right along with Oracle Solaris 11 zones.

However, if you are going to create several zones and perhaps configure them differently, why not make things easier on yourself? Why not prepare a few zone configuration plans? And when you're ready to create one, just push a button to execute one of the plans? This article by Laura Hartman describes how to do just that:

New!
How to Create Oracle Solaris 11 Zones with Oracle Enterprise Manager Ops Center 12c

Here's an overview of the process, lifted from the article:

"First, create an Oracle Solaris 11 zone profile and plan. The profile captures the zone configuration, including defining the storage and network details. The plan executes the configuration on selected targets. You can use and reuse the profile and plan to create zones with a consistent configuration.

"Then deploy the plan to create a new zone. When you deploy a plan, you identify the target operating systems and the number of zones to create. Before you submit the job to deploy the plan, you can modify some of the configuration details."

More info about Oracle Solaris 11 zones here:

- Rick

Website Newsletter Facebook Twitter

Friday Aug 03, 2012

My Oracle RAC and Oracle Solaris Cluster Cheet Sheet

This gets complicated, so stop watching motoGP crash compilation videos for a sec.

We have Oracle Real Application Clusters (RAC). RAC lets you deploy a single Oracle Database across different servers. If the server in your Des Moines data center gets picked up by a tornado that hates you and dropped off in East Texas, the other servers pick up the load, and the database continues to operate without interruption. That's easy to understand.

We also have Oracle Solaris Cluster. It lets you deploy the Oracle Solaris operating system across different servers. If the server in your Barbados data center gets washed away by a hurricane that hates you and dropped off in West Africa, the other servers pick up the load, and the operating system continues to operate without interruption. A good quote:

White Paper: Extending Oracle Solaris for Business Continuity
"Oracle Solaris Cluster offers comprehensive and robust capabilities for keeping your business IT, including those running Oracle Database and Applications, up and running in the face of nearly every conceivable situation."

That's easy to understand, as well.

So why would somebody complicate our sysadmin lives by suggesting we install Oracle RAC on Oracle Solaris Cluster? What would that be, highly-available high availability?

Turns out that's not what they're suggesting. They're suggesting we install Oracle RAC not on Solaris Clusters, but on zone clusters. What's a zone cluster, you ask?

A zone cluster is a cluster created from Solaris zones that are physically located on different servers. That's similar to a regular cluster, but it uses zones instead of entire OS instances. Don't confuse a zone cluster with a failover cluster. Instead, read this white paper:

White Paper: Zone Clusters: How to Deploy Virtual Clusters and Why
This paper introduces the zone cluster, a virtual cluster in which an Oracle Solaris Zone is configured as a virtual node. The zone cluster supports the consolidation of multiple cluster applications on a single cluster.

That's all very interesting, but what about our original question:

Why would someone want to complicate our sysadmin lives by suggesting we install Oracle RAC on a zone cluster?

Turns out there two good reasons:

  • It's a better high-availability solution for a multi-tier application environment
  • It lets you isolate your database development, test, and deployment environments from each other.

How the Oracle RAC/Zone Cluster Combo Is Better For Multi-Tier Applications

Let's say that you are using your Oracle database as one tier in two different application environments. The first one is an HR application, the one second is an e-business suite. Both access the same database. Well, Oracle RAC would give you the high-availability for that database. But the applications would not be highly available. However, if you installed the database with Oracle RAC inside one zone cluster, and each application inside its own zone cluster, you'd make both application environments highly avaiable. And, if you limit the administrative privileges for each zone cluster, you'd get administrative isolation, as well.

How the Oracle RAC/Zone Cluster Combo Is Safer for Deployment

You've probably heard by now about Knight Capital Group's trading glitch that dropped the company's value by 50% in one day. I don't know exactly what happened, but I wonder if they didn't deploy either their development or their test environment instead of the one that was ready for prime time.

I suppose it's a sysadmin's duty to learn from another sysadmin's misfortune. So, if you divide your zone clusters into development, test, and deployment environments, you might have a better shot at avoiding a similar catastrophe. For example, install Oracle RAC with an Oracle DB into your development zone cluster, and keep it isolated from your test and deployment zone clusters. One sysadmin controls the development cluster. Another the test cluster. And the biggest, baddest sysadmin controls the deployment cluster. When the development environment is ready for testing, the test admin must OK the migration. That goes double for the deployment environment. And all the while, each environment remains highly available.

Resources

Turns out that Oracle and the portion of Oracle that was once Sun Microsystems have been collaborating on Oracle RAC/Solaris Cluster solutions for a long time. Customers like this approach so much that we just published three articles explaining how to do it. Each article covers a different version of the software:

Article RAC Version Solaris Version Cluster Version
How to Deploy Oracle RAC 11.2.0.2 on Oracle Solaris Zone Clusters 11.2.0.2 10 3.3
How to Deploy Oracle RAC 11.2.0.3 on Oracle Solaris Zone Clusters 11.2.0.3 10 3.3
How to Deploy Oracle RAC 11.2.0.3 on Oracle Solaris 11 Zone Clusters 11.2.0.3 11 4.0

And if you want more, we also have a page full of links to all our Solaris Cluster how-to articles and background white papers:

Where to find everything Solaris Cluster-related

Don't be the sysadmin who bankrupts your company in one day. Get educated.

- Rick

Website Newsletter Facebook Twitter

Wednesday Jul 25, 2012

OTN Sysadmin Day in Denver, Colorado

Source

Can you find the sysadmin in the picture?

You might be able to on Thursday, August 23rd. OTN is hosting its next Sysadmin Day in Denver, Colorado, and we can never keep track of our sysadmins. In a place as purty as Colorado, it will be even harder.

Note: The date on the link above is incorrect. The correct date is Thursday, August 23rd.

Our previous OTN Sysadmin Day in Santa Clara had almost 100 attendees. The one in Denver will have similar presentations, but we're adding some content on virtualization. Which we hope to expand into a third track in the future. As usual, Pavel Anni 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.

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.
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: Oracle VM Manager
4:00 pm Discussion: What are the most pressing issues for sysadmins today?
5:00 pm Get lost in the mountains.

- Rick

Website Newsletter Facebook Twitter

Monday Jul 23, 2012

My First Impression of Oracle University's On Demand Training

Source

I live in abject fear of lectures. I spent 12 years in and old fashioned Catholic School, complete with full uniform and wooden paddles. The first 8 years were a futile attempt to civilize me. During the remaining four years, the main thing I learned was how to sleep with my eyes open. And college wasn't much better. I don't know how I finished. I'm not even sure I finished. Instead, give me a few scraps of metal, a blow torch, and let me figure it out.

So when the folks from Oracle University offered to let me take one of their On-Demand online courses, I raised an eyebrow. Me? Are you sure? Maybe you should talk to Sister Mary Shackles, my high school principal.

But I decided to give it a try. After all, I am now a contributing member of society. I can probably pay attention for a few minutes without screaming. Holy Moly was I surprised. Hold still whilst I elucidate ...

Oracle University's Transition to Oracle Solaris 11 On-Demand Training - Course Format

Eric Siglin, the instructor, looked like he could head-butt me into the next building. If he'd been my high school principal I might have done better. Mister Siglin, which is how I'll refer to him so I remain in his good graces, has a background in Oracle Database, Solaris, Linux, and Oracle's Database Machine. Not bad.

Once you register for the course, you land in a dashboard of sorts that has three parts:

Selectable course outline

This one's pretty straightfoward ... a list of the course segments, and you can jump back and forth between them.

High-def video screen

Mister Siglin has a wicked black Fu-Manchu/white beard combo. And in full screen mode the resolution is good enough to verify that it's not a fake. When he needs to show you a screen, Mister Siglin simply replaces the video with a shot of the screen, and sometimes shows up live in the right corner of the screen.

As with those superbike crash compilations videos that I enjoy watching so much on YouTube, you can expand the window to full screen.

Scrolling Text Window

Below the screen is a scrolling text window that highlights the words as Mr Siglin speaks them. Reminds me of the Sing-Along-With-Mitch programs on American TV. You can turn off this feature with the little red lock icon a the top right of the text box, though I can't imagine why.

This is too cool: if you want to go back and review a portion of the lecture, you can click on the text below the window, and the video rewinds to the part where the instructor, Mister Siglin, spoke that word. And it advances normally from there.

But wait! There's more. Enter a word into the search window, and the progress bar indicates where in the recording Mister Siglin has said that word. Click on the indicator, and the video rewinds to that spot. Along with the scrolling text, of course. Unless you're the kind of guy who turns off the cool scrolling text. You probably pay for your fast food with small coins, don't you?

Course Content

As cool as all those bells and whistles are, the best part is the content. Here's an example of Mister Siglin's introductory comments.

"We are assuming that you have some prior Solaris experience coming in here, because we're going to address what's new with Solaris. We're going to talk about the image packaging system. Now, the image packaging system reminds me an awful lot of what we have in the Linux environment. The automated installer, which is a replacement for Jumpstart...

"Plus, we're also going to come up with some ideas to help it make it easier for you to transition from Solaris 10 to Solaris 11...

"So we're going to look at managing the software packages in Solaris 11. And that's going to continue perhaps until tomorrow. That's one of the nice things about having a small group like this one, that makes our schedule a little more flexible. So then we're going to talk about enhancements to the installation process. We have a couple of different ways of looking at that, because the installer's been improved. We have several options. And then we're going to get into Solaris Zones. We're going to take a look at what is new with the Solaris Zones, new with networking, especially since we're dealing with a lot more virtualization. And then on the last day, we're going to get into storage enhancements. There are some major enhancements with ZFS, for example. We're going to address those. And then the security enhancements that are in this version of Solaris.

If you get a minute ...

In a couple of weeks I'll tell you what I think about what I've been learning. Till then, here's another motorcycle crash video. And, for those of you who have not surrendered the romance in your soul to the rigors of keeping an IT shop humming, here's another enthusiastic sing-a-long from Mitch.

- Rick

Website Newsletter Facebook Twitter

Tuesday Jun 12, 2012

Whole Lotta Virtualization Goin' On

Lately we've published a lot of content about virtualization. Here's a sampling.

Podcat: Technology Preview of Transcendent Memory

Turns out that in a virtual environment, RAM is the bottleneck. Not because it's slow, it's not, but because each CPU still had to use its own RAM. Which gets expensive. In this podcast, Dan Magenheimer describes how Oracle and the open source community taught the guest kernel in Oracle Linux to share its memory with other CPU's. Transcendent memory will wind up saving large data centers a lot of money. Find out how.

Tech Article: How to Use Oracle VM Templates

This article describes how to prepare an Oracle VM environment to use Oracle VM Templates, how to obtain a template, and how to deploy the template to your Oracle VM environment. It also describes how to create a virtual machine based on that template and how you can clone the template and change the clone's configuration.

Tech Article: How to Set Up a Load Balanced Application Across Two Oracle Solaris Zones

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.

Tech Article: How to Install Oracle RAC on Oracle Solaris Zone Clusters

Learn how to implement a multi-tiered database environment that isolates database tiers and administrative domains, while taking advantage of centralized (and simpler) cluster admin.

For fans of Jerry Lee Lewis

If you're a fan of Jerry Lee Lewis, you might enjoy this video.

- Rick

Website Newsletter Facebook Twitter

Tuesday Apr 24, 2012

Excuses, Excuses!

Excuses BookThere are two kinds of sysadmin. One charges into the unknown, eager to try the latest-and-greatest, confident in his or her ability to fix whatever breaks. The other is cautious, dedicated to keeping the Enterprise running and probably aware that unplanned downtime can become one of those career-limiting events.

If you are the latter, you probably have a pile of valid reasons (polite version of "excuse") why you haven't upgraded from Oracle Solaris 10 to Oracle Solaris 11. But that pile is getting pretty small. One of the remaining challenges may be how to get from here to there with minimal downtime. Fortunately, Harold Shaw has written an article that takes fear, pain, and loathing out of that migration: How to Live Install from Oracle Solaris 10 to Oracle Solaris 11 11/11.

You'll notice that we are being very specific that this will get you to Oracle Solaris 11 11/11. In fact, there are a couple of very important caveats: not only is this how-to (currently) specific to a target OS of Oracle Solaris 11 11/11, Harold is careful to point that you can't create a golden image on one type of system, say a SPARC M-Series system from Oracle, and deploy it on a different system, such as a SPARC T-Series system from Oracle.

The 4 Steps to Migrating from Oracle Solaris 10 to 11 11/11

Harold's formula is very detailed and surprisingly concise. I'd say you are running out of excuses to not make that switch to Oracle Solaris 11.

—Kemer

Website

Newsletter

Facebook

Twitter

Friday Apr 06, 2012

How to Test and Deploy Applications Faster

photo courtesy of mtoleric via Flickr

If you want to test and deploy your applications much faster than you could before, take a look at these OTN resources. They won't disappoint.

Developer Webinar: How to Test and Deploy Applications Faster - April 10

Our second developer webinar, conducted by engineers Eric Reid and Stephan Schneider, will focus on how the zones and ZFS filesystem in Oracle Solaris 11 can simplify your development environment. This is a cool topic because it will show you how to test and deploy apps in their likely real-world environments much quicker than you could before. April 10 at 9:00 am PT

Video Interview: Tips for Developing Faster Applications with Oracle Solaris 11 Express

We recorded this a while ago, and it talks about the Express version of Oracle Solaris 11, but most of it applies to the production release. George Drapeau, who manages a group of engineers whose sole mission is to help customers develop better, faster applications for Oracle Solaris, shares some tips and tricks for improving your applications. How ZFS and Zones create the perfect developer sandbox. What's the best way for a developer to use DTrace. How Crossbow's network bandwidth controls can improve an application's performance. To borrow the classic Ed Sullivan accolade, it's a "really good show."

"White Paper: What's New For Application Developers"

Excellent in-depth analysis of exactly how the capabilities of Oracle Solaris 11 help you test and deploy applications faster. Covers the tools in Oracle Solaris Studio and what you can do with each of them, plus source code management, scripting, and shells. How to replicate your development, test, and production environments, and how to make sure your application runs as it should in those different environments. How to migrate Oracle Solaris 10 applications to Oracle Solaris 11. How to find and diagnose faults in your application. And lots, lots more.

- Rick

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

Tuesday Feb 21, 2012

How I Explained Network Virtualization to Bikers

Back when we first launched Oracle Solaris Express, I stumbled upon a couple hundred bikers who were building a bonfire in the woods with the timber from an old cabin, a dozen cans of gasoline, and a couple of Honda Priuses. To avoid a beating, I convinced them to let me explain how virtual networks work. They set down their gasoline and I rescued some upholstery from the fire.

In the good old days, I explained, a proper biker had only one bike, a hardtail Knucklehead with a kick-starter, 5" over forks, and apes with purty leather tassels fabricated from the remnants of a favorite biker momma's chaps. And one leather jacket. Well worn. Naturally, that proper biker wanted to go to many rallies. But because he only had one bike, he could only go to one rally at a time. And he wore the same jacket to each rally. I suggested they call that favorite leather jacket Solaris, and that hardtail knucklehead a NIC.

"Nick," they asked. "Who's Nick?"

"Well, N-I-C," I explained. "It's short for Network Interface Card."

That made them a little restless, but I quickly added that as a result of the one-jacket, one-bike rule, life was good, pipes were loud, and America ruled the world.

They liked that. I got several pats on the back.

Fast forward 50, maybe 60 years, I explained while drawing the diagram above, and now we call ourselves motorcyclists. We have multiple bikes. And they are all EPA-compliant. And in keeping with the sartorial splendor of the court of Louix the XIV, we have one outfit for each bike. I asked them to pretend that each outfit was a zone, and each motorcycle was a virtual NIC, or VNIC. They got restless at the mention of Nick again, particularly after I brought up France, but I held up a well-manicured hand so they would allow me to elaborate. When modern motorcyclists like me want to go to Sturgis, I explained, we get into our Sturgis zone (a 5-day shadow, leather chaps, and obligatory bandana), and throw a leg over our Sturgis VNIC (a blinged-out CVO Harley Davidson 110" Ultra Classic with the dual-tone paint job). When we want to go to Americade, we slip into our Americade zone (a clean shave, a heated vest, and a reflective yellow Aerostich waterproof suit with 10 large pockets), and hop onto our Americade VNIC (a BMW K1200LT with heated seats, cup holder, and GPS). And so on. One outfit for each motorcycle, one zone for each vnic.

That's as far as I got. They gave me a beating and tossed me, my Vespa, and my modster jacket into the lake.

I decided to get some help.

Nicolas Droux, who was part of the engineering team that developed network virtualization (project Crossbow), agreed to explain all this to me. After assuring me that he was not a biker, we got on the phone. And we turned our phone conversation into a nifty podcast.

Podcast: Why and How to Use Network Virtualization

This podcast is easier to absorb if you listen to it in two parts, each about 15 minutes long.

In the first half, Nicolas explains how the process of managing network traffic for multiple Solaris zones across a single Network Interface Card (NIC) naturally led to the development of virtual NICs. And then to the network-in-a-box concept, which allowed you for the first time to create complete network topologies and run them within a single host to experiment, simulate, or test.

In the second half, Nicolas provides more details about combining zones and VNICS to create a test environment. He explains how you can create a zone to function as a virtual network router, for instance, or a virtual load balancer. By isolating these network functions into zones, you can test how your application performs with different settings, and use DTrace to follow the application calls as they are routed through your virtual network. Once you have the optimum settings for the network and the application, you can deploy it in your data center.

Here are some more resources to help you understand network virtualization:

- 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

Monday Jan 23, 2012

How to Survive the End of the World - Part II

In Part I of our Survival Guide for Civilization, I explained how to save civilization by identifying four distant planets that had the essential building blocks of civilization and combining them into a 5-node cluster with Earth:

Building BlockDistant Planet
--------------------------------------
footballDitka
cheerleadersDallas
beerBud
bratsMilwaukee
--------------------------------------
civilizationbackup civilization

As mentioned in Part I, the resulting five-node cluster was actually more than what we wanted. Five distant planets! We'd rather not deal with the overhead of managing five distant planets. We prefer to keep managing just one planet, but make sure that can keep civilization humming. Turns out that we can accomplish that through the magic of virtualization. As you might expect, it's called a virtual cluster. (Really techie people call it a failover zone cluster.)

First, we create one zone on Earth for each building block:

Building BlockZone on Earth
--------------------------------------
footballfootball-zone
cheerleaderscheerleader-zone
beerbeer-zone
bratsbrats-zone
--------------------------------------
civilizationcivilization zones

Then we create one failover zone on each distant planet for each zone on Earth:

Zone on EarthFailover ZoneDistant Planet
---------------------------------------------------------
football-zonefootball-failover-zoneDitka
cheerleaderscheerleaders-failover-zoneDallas
beerbeer-failover-zoneBud
bratsbrats-failover-zoneMilwaukee
---------------------------------------------------------
zone civilizationfailover zone civilization

In this way, each failover zone on its distant planet backs up one original zone on Earth. It's a great way to save civilization with much less overhead.

As it turns out, not only do we have an article that shows you how to create a cluster with Solaris Cluster 4.0, but we have one that shows you how to create a failover cluster, too:

How to Create A Failover Zone Cluster

Give it a try. It never hurts to be prepared.

- Rick
Website
Newsletter
Facebook
Twitter

Monday Jan 09, 2012

New Documentation for Common Sysadmin Tasks

The Oracle Solaris 10 documentation covers the most common sysadmin tasks in two main guides:

Oracle Solaris 11 uses one:

Oracle Solaris 11 Common Tasks Guide

The Common Tasks Guide covers:

  • Using Oracle Solaris man pages
  • Setting up and managing user accounts
  • Booting and shutting down Oracle Solaris 11
  • Working with the Oracle Configuration Manager
  • Managing services through SMF
  • Using the Fault Manager
  • Managing software packages
  • Managing disk use
  • Displaying and managing system processes
  • Managing system resources and configuration
  • Managing printing
  • Troubleshooting system and software problems, and managing core files

The rest of the Oracle Solaris 11 documentation is here:

Oracle Solaris 11 Documentation Library

By the way, there is no printing guide in the Oracle Solaris 11 library. That information appears in this part of the Common Tasks Book:

Setting Up and Administering Printers Using CUPS

- Juanita Heieck
Website
Newsletter
Facebook
Twitter

Thursday Dec 15, 2011

How to Survive the End of the World - Part I

If you've been paying attention you'll probably agree that Earth will be destroyed any day, now.

That used to concern me.

But the more I understand clustering, the more I realize we can simply reconstitute civilization from individual slices of other planets in the Universe. The first thing we need to do is identify the building blocks of an advanced civilization. That should be relatively simple:

football
+cheerleaders
+beer
+brats
-------------------
civilization

Next, find planets that had excellent examples of each building block:

Building BlockBackup Planet
-------------------
footballDitka
cheerleadersDallas
beerBud
bratsMilwaukee
--------------------------------------
civilizationbackup civilization

Those four planets plus Earth would be easy enough to arrange into a high-availability cluster if we downloaded and installed Oracle Solaris 11 and Oracle Solaris Cluster 4.0 on each planet, including Earth.

With Solaris Cluster 4.0, we could create a nice five-node cluster. Not only would the cluster provide the disaster recovery we're looking for, but it would actually help us create an elastic cloud of sorts, in which we could, for instance, tap into the beer of planet Bud during the Super Bowl or other times of dire need. See What's New to read about other cool things you can do with Solaris Cluster 4.0.

Creating a five-node cluster can get a bit tricky, but you can build up your skills by creating a smaller one, using the instructions in this OTN article:

How to Install and Configure a Two Node Cluster

Once you have the two-node setup figured out, you can move to the five-node setup. But the resulting five-node cluster is actually more than what we want, isn't it? It's a cluster of five entire planets, when what we're looking for is a slice of each planet. In an upcoming blog I'll summarize how to create a cluster from the slices of those individual planets. That's called a virtual cluster or a zone cluster, and it's very cool.

- 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