Automatically Restarting a Domain or Node

Agent

Ifyour domain or node agent is stopped unexpectedly (for example, if you need to restart your
machine),you can congure your system to automatically restart the domain or node agent.
ThisAppendix contains the following topics:
“RestartingAutomatically on Solaris 10” on page 221
“RestartingAutomatically Using inittab on Solaris 9 and Linux Platforms” on page 223
“RestartingAutomatically on the Microsoft Windows Platform” on page 223
“Securityfor Automatic Restarts” on page 225

Restarting Automatically on Solaris 10

Solaris10 users can use the command asadmin create-service to create a service that restarts
anode agent or Domain Administration Server (DAS). The service created uses the Solaris
ServiceManagement Facility (SMF).
Theprocess that a service starts depends on whether the service is to restart a DAS or a node
agent.
Ifthe service is to restart a DAS, the process is asadmin start-domain.
Ifthe service is to restart a node agent, the process is asadmin start-node-agent.
Theservice grants to the process the privileges of the user that runs the process. When you use
thecommand asadmin create-service to create an SMF service, the default user is the
superuser.If you require a dierent user to run the process, specify the user in
method_credential.
Ifyour process is to bind to a privileged port of the Solaris OS, the process requires the
net_privaddrprivilege. The privileged ports of the Solaris OS have a port numbers less than
1024.
A
APPENDIX A
221