Current Issue


Table of contents

CD-ROM

Sys Admin and The Perl Journal CD-ROM version 12.0

Version 12.0 delivers every issue of Sys Admin from 1992 through 2006 and every
issue of The Perl Journal from 1996-2002 in one convenient CD-ROM!

Order now!

Sys Admin Magazine > Archives > 2005 > June 2005

The Strange New World of the SolarisTM 10 Service Management Facility

Peter Baer Galvin

Solaris 10 has many new and innovative features. The Service Management Facility, however, is particularly different from previous Solaris releases and is core to systems administration, so it deserves some scrutiny and attention. The first hint that you are in a new world is a glance at the /etc/rc* directories. The next clue is that killing a process such as sendmail no longer works. Where are we and why are we here? Let's take a look at the Solaris 10 Service Management Facility (SMF).

The Problem

Before the advent of SMF, a booting Solaris system ran the init daemon, which parsed the /etc/inittab file, which fired off a series of run control (rc) scripts, depending on the run level the system was trying to attain. The default run level was "3", multi-user mode with networking. The inetd daemon spawned other daemons, as necessary, to provide network services. And all was good. Or was it?

Life with init, rc scripts, and inetd was less than pleasant. To change the parameters of a daemon, for example, you had to determine where the daemon was started and figure out how to change the parameters associated with the start method. Changing an rc script was fraught with peril -- one false move, and the system would fail to boot properly or even hang during booting. Testing the rc script change meant rebooting the system. Debugging problems with rc scripts meant turning on debugging options (such as adding set -x to the script) and rebooting, perhaps multiple times as fixes were tried. Consider also that the system booted inefficiently because it marched through the rc scripts sequentially, even if some of the activities would have worked correctly if done in parallel.




MarketPlace

Free Download Speeds Up PCs
Make Your PC Faster --New Diskeeper 2008 Speeds Up PCs --Download Free Trial Now!

Automate Software Builds with Visual Build Pro
Easily create an automated, repeatable process for building and deploying software.

Flowcharts from C/C++ code -- Free trial download
Understand C/C++ code in less time. A new team member ? Inherited legacy code ? Get up to speed faster with Crystal Flow for C/C++. Code-formatting improves readability. Flowcharts are integrated with code browser. Export flowcharts to Visio.

WinDev 12 - Powerful IDE
Develop 10 times faster ! ALM, IDE, .Net, RAD, 5GL, Database, 5GL, 64-bit, etc. Free Express version

Wanna see your ad here?