Auto-starting Agent in Solaris 10 environments

Top  Previous  Next

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

 

1.As root user, create a user and group named agent.
2.As root user, run the command usermod -K defaultpriv=basic,net_privaddr agent to grant agent user permissions to run services on ports less than 1024.
3.As agent user, run installer for Solaris as described in Installing on Solaris.
4.Open the sample SMF manifest file agent_smf.xml found in the MFT Gateway Agent installation directory using vi or other text editor.
5.Change references to /opt/MFT_Gateway_Agent with the absolute path of MFT Gateway Agent installation directory.
6.As root user, validate SMF manifest file using svccfg validate agent_smf.xml command.
7.As root user, import SMF manifest file using svccfg import agent_smf.xml command.
8.As root user, enable service using svcadm enable svc:/application/mftgatewayagent:default command.
9.Check that service was started successfully and not in maintenance using svcs -x mftgatewayagent:default 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.