Automatically Restarting A Domain Or Node Agent; Restarting Automatically On Solaris 10 - Sun Microsystems GlassFish Enterprise Server 2.1 Administration Manual

Hide thumbs Also See for GlassFish Enterprise Server 2.1:
Table of Contents

Advertisement

A
A P P E N D I X
Automatically Restarting a Domain or Node
Agent
If your domain or node agent is stopped unexpectedly (for example, if you need to restart your
machine), you can configure your system to automatically restart the domain or node agent.
This Appendix contains the following topics:
"Restarting Automatically on Solaris 10" on page 221
"Restarting Automatically Using inittab on Solaris 9 and Linux Platforms" on page 223
"Restarting Automatically on the Microsoft Windows Platform" on page 223
"Security for Automatic Restarts" on page 225

Restarting Automatically on Solaris 10

Solaris 10 users can use the command asadmin create-service to create a service that restarts
a node agent or Domain Administration Server (DAS). The service created uses the Solaris
Service Management Facility (SMF).
The process that a service starts depends on whether the service is to restart a DAS or a node
agent.
The service grants to the process the privileges of the user that runs the process. When you use
the command asadmin create-service to create an SMF service, the default user is the
superuser. If you require a different user to run the process, specify the user in
method_credential.
If your process is to bind to a privileged port of the Solaris OS, the process requires the
net_privaddr privilege. The privileged ports of the Solaris OS have a port numbers less than
1024.
A
If the service is to restart a DAS, the process is asadmin start-domain.
If the service is to restart a node agent, the process is asadmin start-node-agent.
221

Advertisement

Table of Contents
loading

Table of Contents