2.5.2 Configuring the Daemon for Automatic Restart

By default, you must manually restart the daemon if you restart the server or node on which the daemon is running.

However, if you use the automatic restart option, the daemon restarts automatically after the server or node reboot.

Restarting the daemon automatically requires passwordless SSH user equivalence to root for the user who is configuring the auto-start feature, for example, root or oracle. If passwordless SSH user equivalence is not in place, then Oracle ORAchk and Oracle EXAchk optionally configure for you.

The passwordless SSH user equivalence is retained as long as the daemon automatic restart functionality is configured.

Deconfiguring the daemon automatic restart feature restores the SSH configuration to the state it was found before automatic restart was configured.

To configure the daemon to start automatically:

  1. To set up daemon automatic restart, use –initsetup:
    $ ./orachk –initsetup
    $ ./exachk –initsetup

    The tool prompts you to provide the required information during startup.

    Note:

    Stop the daemon before running –initsetup, if the daemon is already running.
    Pre-configure root user equivalence for all COMPUTE, STORAGE, or IBSWITCHES using the –initpresetup option (root equivalency for COMPUTE nodes is mandatory for setting up the automatic restart functionality):
    $ ./orachk –initpresetup
    $ ./exachk –initpresetup
  2. To query automatic restart status of the daemon, use –initcheck:
    $ ./orachk –initcheck
    $ ./exachk –initcheck
  3. To remove automatic restart configuration, use –initrmsetup :
    $ ./orachk –initrmsetup
    $ ./exachk –initrmsetup