NVIDIA Scalable Hierarchical Aggregation and Reduction Protocol (SHARP) Rev 3.1.1 LTS
1.0

Running NVIDIA SHARP Aggregation Manager (AM) Daemons

Warning

As of NVIDIA SHARP version 2.7.0, sharpd daemon no longer exists. sharpd-related activity is now performed from the user-application process instead.

This section describes how to install Aggregation Manager in the fabric using NVIDIA SHARP AM daemon script.

NVIDIA SHARP Aggregation Manager daemon (sharp_am) is executed on a dedicated server along with the Subnet Manager.

Installing Aggregation Manager as a service is required when used from the HPC-X or from MLNX_OFED packages.

In order to install/remove NVIDIA SHARP AM daemons, use sharp_daemons_setup.sh script provided with the NVIDIA SHARP package. For example:

Copy
Copied!
            

$HPCX_SHARP_DIR/sbin/sharp_daemons_setup.sh   Usage: sharp_daemons_setup.sh (-s | -r) [-p SHARP location dir] -d <sharpd | sharp_am> [-m] -s - Setup SHARP daemon -r - Remove SHARP daemon -p - Path to alternative SHARP location dir -d - Daemon name (sharp_am) -b - Enable socket based activation of the service

  1. Run the following as root:

    Copy
    Copied!
                

    # $HPCX_SHARP_DIR/sbin/sharp_daemons_setup.sh -s -d sharp_am

    Daemon's log location is: /var/log/sharp_am.log

  2. Set the "run level".

  3. Start sharp_am as root.

    Copy
    Copied!
                

    # service sharp_am start

To remove sharp_am, run the following on the AM host:

Copy
Copied!
            

# $HPCX_SHARP_DIR/sbin/sharp_daemons_setup.sh -r -d sharp_am

Upgrading SHARP AM daemons requires their removal and re-registration as instructed in the sections above.

© Copyright 2023, NVIDIA. Last updated on May 23, 2023.