Steve Cukrov, Fotolia.com
Service Management Facility (SMF) in OpenSolaris
Skillful Service
For most Linux admins, it is a matter of course to type /etc/init.d/ and then press the Tab key to start or stop a service. On (Open)Solaris, this is handled by the Service Management Facility (SMF), which manages the background processes (daemons), among other things, thus replacing the legacy RC scripts that are familiar to Linux users. However, its functionality goes further. SMF also handles devices and milestones – that is, services derived from runlevels.
SMF supports standardized management tasks, such as starting and stopping services and handling errors. For this to happen, the Fault Management Resource Identifier (FMRI) identifies a service on the system. The service and instance name are passed to the FMRI as follows:
svc:/Service:Instance
In the following example,
svc:/network/login:rlogin
/network/login refers to the service and rlogin to the service instance. The details always start with svc: . The svc.startd daemon is the master process that starts and restarts the operating system. Services are assigned to the following categories:
- Application
- Milestone
- Platform
- Device
- Network
- Site
- System
This classification is important for administrators who install applications outside of the package management system and want to use SMF to manage them. Each service entered here is also automatically assigned a status (see Table 1).
Table 1
Service Status
| Status | Meaning |
|---|---|
| online |
Buy this article as PDF
(incl. VAT)
Buy ADMIN Magazine
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Most Popular
Support Our Work
ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.

