AAP P E N D I X A

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.

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.

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.

221

Page 221
Image 221
Sun Microsystems 820433510 manual Automatically Restarting a Domain or Node Agent, Restarting Automatically on Solaris