Setting additional configurations on a host

Set up optional additional configurations for your hosts (both management and compute), such as enabling remote host management, enabling automatic startup when a host restarts (on Linux®), and granting root privileges to the cluster administrator.

Before you begin

Ensure you have set entitlement on the primary host.

Ensure you have run the egoconfig join primary_host command on each host, to set the primary host or to join the host to the cluster.

About this task

While the configurations in this task are optional, they are recommended for ease of administration.

Procedure

  1. Log on to the host as root.
  2. Complete any of the optional configurations:
    • Enable remote host management to start, stop, and restart other hosts in the cluster from your local host. To enable this, you must be able to run rsh or ssh across all hosts in the cluster without having to enter a password. See your operating system documentation for information about configuring rsh or ssh.
    • On Linux, enable automatic startup when a host restarts:
      egosetrc.sh
      or
      egosetsystemd.sh

      By default, you must start EGO manually if a host restarts. For ease of administration, enable automatic startup, so that EGO starts automatically when the host restarts.

    • On Linux, grant root privileges to the cluster administrator, so that the cluster administrator account can start a local host in the cluster, or shut down or restart any host in the cluster from the local host:
      1. Run the following command:
        egosetsudoers.sh
      2. Reset your environment by using either profile.platform or cshrc.platform.
        • If you are using BASH, run the following command:
          . $EGO_TOP/profile.platform
        • If you are using CSH, run the following command:
          source $EGO_TOP/cshrc.platform

        Now, whenever you see instructions to log on as root to start, stop, or restart a host in the cluster, you may log on as the cluster administrator instead.

  3. Restart the cluster:
    egosh ego start

What to do next

After configuring the host, verify that the cluster is working:
  1. Run the egosh user logon command to log on as cluster administrator. For example, to log on using the default Admin user account, enter:
    egosh user logon -u Admin -x Admin
  2. Run the following commands to verify your cluster:
    • To view cluster information, run:
      egosh ego info
    • To check that the host is running, run:
      egosh resource list