Agent configuration file details

  1. Define the server name by uncommenting the following line

    #                                                                            
    # Specify the associated DAOS systems.                                       
    # Name must match name specified in the daos_server.yml file on the server.  
    #                                                                            
    # NOTE: changing the name is not supported in DAOS 1.0, it must be daos_server
    #                                                                             
    # default: daos_server                                                        
    name: daos_server                                                             
  2. Define the access points for the server by uncommenting the following line.  This list should contain the first node name currently defined in $SERVER_NODES.

    # Management server access points
    # Must have the same value for all agents and servers in a system.
    # default: hostname of this node
    access_points: ['node-4']
  3. Define the destination port by uncommenting the following line

    # Force different port number to connect to access points.
    # default: 10001
    port: 10001
  4. Define the transport configuration (certificate files) by uncommenting the following lines

    ## Transport Credentials Specifying certificates to secure communications
    #
    transport_config:
    # In order to disable transport security, uncomment and set allow_insecure
    # to true. Not recommended for production configurations.
    allow_insecure: false
    
    # Custom CA Root certificate for generated certs
    ca_cert: /etc/daos/certs/daosCA.crt
    # Agent certificate for use in TLS handshakes
    cert: /etc/daos/certs/agent.crt
    # Key portion of Agent Certificate
    key: /etc/daos/certs/agent.key
    
    # Use the given directory for creating unix domain sockets
    # default: /var/run/daos_agent
    runtime_dir: /var/run/daos_agent
    
    # Full path and name of the DAOS agent logfile.
    # default: /tmp/daos_agent.log
    log_file: /tmp/daos_agent.log
  5. Copy modified agent yaml file to all the client nodes at `/etc/daos/daos_agent.yml`

    # DAOS agent configuration file.
    #
    # Location of this configuration file is determined by first checking for the
    # path specified through the -o option of the daos_agent command line.
    # Otherwise, /etc/daos/daos_agent.yml is used.
    #
    # Section describing the daos_agent configuration
    #
    # Although not supported for now, one might want to connect to multiple
    # DAOS installations from the same node in the future.
    #
    # Specify the associated DAOS systems.
    # Name must match name specified in the daos_server.yml file on the server.
    #
    # NOTE: changing the name is not supported in DAOS 1.0, it must be daos_server
    #
    # default: daos_server
    name: daos_server
    
    # Management server access points
    # Must have the same value for all agents and servers in a system.
    # default: hostname of this node
    access_points: ['node-4']
    
    # Force different port number to connect to access points.
    # default: 10001
    port: 10001
    
    ## Transport Credentials Specifying certificates to secure communications
    #
    #transport_config:
    #  # In order to disable transport security, uncomment and set allow_insecure
    #  # to true. Not recommended for production configurations.
      allow_insecure: false
    #
    #  # Custom CA Root certificate for generated certs
      ca_cert: /etc/daos/certs/daosCA.crt
    #  # Agent certificate for use in TLS handshakes
      cert: /etc/daos/certs/agent.crt
    #  # Key portion of Agent Certificate
      key: /etc/daos/certs/agent.key
    
    # Use the given directory for creating unix domain sockets
    # default: /var/run/daos_agent
    runtime_dir: /var/run/daos_agent
    
    # Full path and name of the DAOS agent logfile.
    # default: /tmp/daos_agent.log
    log_file: /tmp/daos_agent.log