Auto-starting in Solaris 10 environments
Solaris 10 uses SMF (Service Management Facility) for creating and managing services. To enable MFT Server as a service perform the following.
-
As
rootuser, create a user and group namedjscape. -
As
rootuser, run the commandusermod -K defaultpriv=basic,net_privaddr jscapeto grantjscapeuser permissions to run services on ports less than 1024. -
As
jscapeuser, run installer for Solaris as described in Installing on Solaris. -
Open the sample SMF manifest file
jscape_smf.xmlfound in the MFT Server installation directory usingvior other text editor -
Change references to
/opt/mft_serverwith the absolute path of MFT Server installation directory. -
As
rootuser, validate SMF manifest file usingsvccfg validate jscape_smf.xmlcommand. -
As
rootuser, import SMF manifest file usingsvccfg import jscape_smf.xmlcommand. -
As
rootuser, Check for default Solaris FTP service using commandnetstat -na | grep 21- If you wish to disable this service you may do so usingsvcadmin disable ftp:defaultcommand. -
As
rootuser, enable service usingsvcadm enable svc:/application/jscape:defaultcommand. -
Check that service was started successfully and not in maintenance using
svcs -x jscape:defaultcommand -
Verify that MFT Server Service is running using
netstat -na | grep 10880command.
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