Auto-starting in Solaris 10 environments

Top  Previous  Next

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

 

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