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
For more information about SMF, see Managing Services (Overview) and Managing Services (Tasks) in System Administration Guide: Basic Administration.
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.
Select a service.
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.
You can enable or disable a service when the following conditions are met:
You are assigned the Service Management profile in the /etc/user_attr file.
You are given local access to the SMF module by using es-config -M smf -l <username>. For more information about this, see Chapter 9, Sun Management Center Administration, in Sun Management Center 3.6.1 Installation and Configuration Guide.
The FMRI of the selected service does not match the FMRI of the services in the /var/opt/SUNWsymon/cfg/smf-excl-d.dat file. If this file is empty, you can enable or disable any service.
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.
If the /var/opt/SUNWsymon/cfg/smf-excl-d.dat file does not exist, you cannot enable or disable any service.
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.
Navigate through the topology or hierarchy view until you have accessed the Service Management Facility module.
Select a service.
To enable a service, select online from the Service State list.
To disable a service, select disabled from the Service State list.
You can set alarms on the Service State field.
Navigate through the topology or hierarchy view until you have accessed the Service Management Facility module.
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.