Sun Management Center 3.6.1 User's Guide

Service Management Facility Module Version 1.0

The Service Management Facility (SMF) module monitors and displays the services running on a host. You can view the current state of a service. However, you cannot create, delete, or modify the properties of a service. You can enable or disable a service when certain conditions are met. For details, see Enabling or Disabling a Service.

The SMF module describes the following details for each service.

Table C–139 Service Details

Field 

Description 

FMRI 

Fault Management Resource Identifier. This identifier identifies each service on the system. 

The syntax of FMRI is svc://host/category/service:instance

where host is the host name on which the service is running.

category is the category under which the service belongs. The category can be application, device, milestone, network, platform, site, or system.

service:instance identifies the specific service.

An example of FMRI is svc://localhost/network/smtp:sendmail.

Time 

Date and time that the service starts. 

Description 

Description of the service. 

Service State 

Current state of the service. The current state can accept one of the following values: 

  • Online. The service is running.

  • Offline. The service is not running or is available to run.

  • Disabled. The service is not running.

  • Maintenance. The service has encountered an error that an administrator must solve.

  • Degraded. Some of the dependency services are not running.

  • Uninitialized. The service is not running. This state is the initial state for all services.


Note –

Even if the SMF module is disabled, you can change the state of a service.


For more information about SMF, see Managing Services (Overview) and Managing Services (Tasks) in System Administration Guide: Basic Administration.

ProcedureTo View the Details of a Service

  1. Navigate through the topology or hierarchy view until you have accessed the Service Management Facility module.

    The SMF module displays services based on their category. The details that are displayed for each service are: start time of the service, state of the service, FMRI (Fault Management Resource Identifier), and description of the service.

  2. Select a service.

  3. Press mouse button 3 and choose Service Details from the pop-up menu.

    The Probe Viewer appears that shows the service details, dependencies for the selected service, services that depend on the selected service, and the processes in the selected service.

Enabling or Disabling a Service

You can enable or disable a service when the following conditions are met:


Caution – Caution –

By default, the /var/opt/SUNWsymon/cfg/smf-excl-d.dat file contains essential services such as Sun Management Center services, Physical or Logical network services, Milestone services, and Filesystem services. These services cannot be disabled through this module. You can delete the relevant entries in the smf-excl-d.dat file to disable these services.



Note –

If the /var/opt/SUNWsymon/cfg/smf-excl-d.dat file does not exist, you cannot enable or disable any service.


ProcedureTo Enable or Disable a Service


Caution – Caution –

Ensure that you disable the appropriate service. If you disable the agent service, the application might hang. You will have to restart the agent from the command line.


  1. Navigate through the topology or hierarchy view until you have accessed the Service Management Facility module.

  2. Select a service.

  3. To enable a service, select online from the Service State list.

  4. To disable a service, select disabled from the Service State list.

ProcedureTo Set Alarms

You can set alarms on the Service State field.

  1. Navigate through the topology or hierarchy view until you have accessed the Service Management Facility module.

  2. If a service has encountered an error that must be solved by the administrator, select maintenance from the Service State list.

    When the state of the service is changed to maintenance, it generates alarms.