Sun N1 System Manager 1.3 Grid Engine Provisioning and Monitoring Guide

Chapter 3 Setting Up a Grid Using a Proxy Host

Under certain circumstances, you may want to use a proxy host to manage a grid rather than a master host that is part of the local network. To do so, use the information documented in this chapter.

Steps Outside of N1SM

It is assumed that you have set up a grid using the N1 Grid Engine software. This task is done outside of the scope of N1SM.

ProcedureTo Define the Proxy Host

Steps
  1. If you have not done so already, log into the master host as the root user.

  2. Source the settings script. The script you use depends on which shell you are using. The settings are in /gridware/sge/default/common/settings.[sh|csh]. The actual path to these settings depends on where you installed the N1 Grid Engine files.

  3. Run the following command:


    gconf -ah proxy_host_name
    

    where proxy_host_name is the name of the N1SM managed server that you want to be the proxy to this Grid. The proxy_host_name must be known by the master host using DNS or the /etc/hosts file.

Steps Using N1SM

You perform the following steps using the N1SM CLI and N1GE module GUI.

ProcedureTo Use N1SM to Discover the Proxy Host

Step

    Discover the hosts to be added to the grid. For more information, go to Chapter Chapter 4, Discovering Manageable Servers, in Sun N1 System Manager 1.3 Discovery and Administration Guide, of the Sun N1 System Manager 1.3 Discovery and Administration Guide.

ProcedureTo Set Up the Proxy Host

Steps
  1. Load an OS on these hosts if you not done so already. For more information, go to the Sun N1 System Manager 1.3 Operating System Provisioning Guide

  2. Set up /etc/hosts or DNS on each of the hosts so that they know the location of the master host.

  3. Create an application (see To Create an N1GE Version) and application profile (see Creating and Managing N1GE Application Profiles.

  4. Add the basemanagement or osmonitoring feature to the hosts that need to be managed. For more information, see the Sun N1 System Manager 1.3 Discovery and Administration Guide.

  5. Set the application profile settings to:

    • proxyhost: The name of the N1SM managed host that you want to be the proxy.

    • nfsservername: The name of the master host on the external grid.

    • nfsmountpoint: The directory on the NFS server that contains the N1GE common directory.

    • instversion: The application that you are using.

  6. Run the load servercommand with hosttype compute or hosttype submit for the host to set it up as a proxy.

ProcedureTo Set Up Compute and Submit Hosts

Step

    After the proxy host has been set up, install other compute or submit hosts by running the load server or load group command.