Service Management Facility

Service Management Facility

Service Management Facility (SMF) is a feature of the Solaris operating system that creates a supported, unified model for services and service management on each Solaris system and replaces init.d scripts. SMF introduces:

* "Dependency order". Services sometimes depend on one another for proper operation, and a robust system should know each service's dependencies. If an underlying service fails, it needs to be corrected before other services that depend upon it are affected.
* "Configurable boot verbosity"
* "Delegation of tasks to non-root users". A service can be configured to run within a limited set of privileges, rather than as the all-powerful root user. If a service has been compromised, the amount of damage that can be inflicted by the intruder will be minimized if the service's power is constrained to that of a more limited user.
* "Parallel starting of services". This speeds up the boot process by starting multiple services simultaneously, allowing idle CPU time resulting from a service that is temporarily blocked to be relinquished for use by other services that can start independently of the blocked service.
* "Automatic service restart after failure". Works in conjunction with the Solaris Fault Manager, allowing software recovery in the event of hardware faults (cpu, memory), admin error such as accidental kills, and software core dumps.

All these capabilities are made possible by treating Services as "first class objects". That is, they are more than just user executed software to the OS. They can be defined to have special states that allow finer control and permit monitoring and probing for diagnosing software failures, rather than having the administrator or dedicated "restarter" modules kill and restart the service as before.

What are services?

Services are software objects that provide a set of capabilities to other software. For example, a webserver provides HTTP service to web browsers. Other services include NFS for sharing files on a network, DHCP for dynamic IP address assignment, and Secure Shell for remote logins. Even higher level functions can be services, such as specific databases for e-commerce, finance, manufacturing control, etc. Typically, services are automatically started at boot up, long lived, have common states (eg. running, not running), relationship & dependencies (Sendmail service depends on Naming service, which depends on Networking services), and are critical to the dedicated function of the server.

What it replaces

In versions of Solaris prior to Solaris 10, and in UNIX in general, services are configured in text files, with startup files in the /etc/rc.d/ directory trees, and configuration data in files such as /etc/inittab and /etc/inetd.conf. A typical system could have dozens of configuration files, and configuration could involve various methods, including editing shell scripts. With SMF, there is one consistent interface to ease administration.

There has been no traditional definition or constraint of what a service is, making administration difficult. With SMF, each service can have a set of defined states, allowing admins to control services in a consistent way based on their state.

SMF concepts

Instances: a "service" is a collection of configurations. An "instance" is a running execution of a defined service executable. One can have many instances of a defined service, such as multiple webservers listening on different ports referencing different WWW root directories.

ee also

*init
*Runlevel
*SystemStarter and launchd – Mac OS X's process spawner
*Upstart
*Initng

External links

* [http://www.sun.com/bigadmin/content/selfheal/smf-quickstart.html Solaris Service Management Facility - Quickstart Guide]
* [http://www.sun.com/blueprints/0206/819-5150.pdf SMF Sun BluePrint]
* [http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5rh?a=view Service Management Facility (SMF) overview]
* [http://opensolaris.org/os/community/smf OpenSolaris Service Management Facility community]
* [http://www.oreillynet.com/lpt/a/6542 Using Solaris SMF by Chris Josephes at O'Reilly Network]


Wikimedia Foundation. 2010.

Игры ⚽ Нужно сделать НИР?

Look at other dictionaries:

  • Service Management Facility — (SMF)  механизм в операционной системе Solaris, который создаёт унифицированую модель для всех служб и заменяет скрипты init.d. SMF предоставляет: Зависимости. Службы могут зависеть друг от друга. Если одна из служб не функционирует… …   Википедия

  • Service Management Facility — (kurz: SMF) ist eine Funktion des Betriebssystems Solaris 10 von Sun Microsystems. Es ersetzt die bisher zur Steuerung von Diensten verwendeten init.d Skripte und Runlevels. Weblinks GUUG Service Management Facility (smf) (PDF Datei; 202 kB)… …   Deutsch Wikipedia

  • Operating system service management — In computing, mechanisms and techniques for managing services often differ by operating system. Operating system service management can refer to the following: In several Unix and Unix like operating systems, init.d scripts, used by the init… …   Wikipedia

  • Klüh Service Management — Rechtsform GmbH Sitz Düsseldorf Mitarbeiter 41.114 Umsatz 633,31 Mio. (2010) Branche Dienstleistungen P …   Deutsch Wikipedia

  • Service system — A service system (or customer service system, CSS) is a configuration of technology and organizational networks designed to deliver services that satisfy the needs, wants, or aspirations of customers. Marketing, operations, and global environment …   Wikipedia

  • Service Level Agreement — Der Begriff Service Level Agreement (SLA) oder Dienstgütevereinbarung (DGV) bezeichnet einen Vertrag resp. die Schnittstelle zwischen Auftraggeber und Dienstleister für wiederkehrende Dienstleistungen. Ziel ist es, die Kontrollmöglichkeiten für… …   Deutsch Wikipedia

  • Service (economics) — A service is the non material equivalent of a good. A service provision is an economic activity that does not result in ownership, and this is what differentiates it from providing physical goods. It is claimed to be a process that creates… …   Wikipedia

  • Facility condition assessment — (FCA) is an industry term that describes the process of a qualified group of trained industry professionals performing an analysis of the condition of a group of facilities that may vary in terms of age, design, construction methods, and… …   Wikipedia

  • Management Development Institute — Motto Yogah Karmasu Kaushalam (Sanskrit) from the Gita 2:50 Motto in English Pefection in action is Yoga An act becomes perfect when you do it with all joy and without expecting anything in return …   Wikipedia

  • Management development — is best described as the process from which managers learn and improve their skills not only to benefit themselves but also their employing organizations.[1] In organisational development (OD), the effectiveness of management is recognised as one …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”