SMGGUIIntroDemo

Introduction to SMF GUI Demo (5 Minutes)

Description

This demo introduces the Service Management Facility, which replaces the original rc.d scripts.

OpenSolaris Versions Supported

2008.11 or newer.

Points to Hit

Demo Prep

  • Install mysql if necessary: pfexec pkg install SUNWmysql5

Gotchas

None known.

Demo

  • Start the GUI via System > Administration > Services:

  • There are tabs for Service Intances and Services. Note the number of each available.
  • Filter the Service Instances list to show only Enabled instances and then Unhealthy instances (hopefully none).
  • Use the Search filter to find 'mysql'
  • Click the Properties button to view MySQL's Status and Dependencies.
  • From the Status tab, disable and then enable the service.
  • Use the back arrow to get back to the Service Instances page.
  • Note the timestamp (should be recent since we just restarted)
  • Note all information is available via the GUI. Open a terminal to find the MySQL process ID: svcs -p mysql
  • With the GUI visible, kill the MySQL process: pfexec kill <pid>
  • You should notice the Timestamp update as the service is automaticly restarted by SMF.
  • Run svcs -p mysql again to see the new process ID
  • Run svcs -l mysql to get more detailed information, such as the log file.
  • View the logfile: tail <logfile>

Demo Cleanup

None

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact