Auto starting in Solaris 10 environments

Top  Previous  Next

Solaris 10 uses SMF (Service Management Facility) for creating and managing services.  To enable MFT Monitor as a service perform the following.

 

1.  As root user, create a user and group named mftmonitor.

 

2.  As root user, run the command usermod -K defaultpriv=basic,net_privaddr mftmonitor to grant mftmonitor user permissions to run services on ports less than 1024.

 

3.  As mftmonitor user, run installer for Solaris as described in Installing on Solaris.

 

4.  Open the sample SMF manifest file monitor_smf.xml found in the MFT Monitor installation directory using vi or other text editor.

 

5.  Change references to /opt/mft_monitor with the absolute path of MFT Monitor installation directory.

 

6.  As root user, validate SMF manifest file using svccfg validate monitor_smf.xml command.

 

7.  As root user, import SMF manifest file using svccfg import monitor_smf.xml command.

 

8.  As root user, enable service using svcadm enable svc:/application/mftmonitor:default command.

 

9.  Check that service was started successfully and not in maintenance using svcs -x mftmonitor:default command.

 

10.  Verify that MFT Monitor is running using netstat -na | grep 30881 command.

 

 

See also

 

For more information on creating services using SMF please see the following links:

 

http://www.sun.com/software/solaris/howtoguides/smfmanifesthowto.jsp

 

http://www.sun.com/software/solaris/howtoguides/servicemgmthowto.jsp





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2023 Redwood Software, Inc.