Enable optimized network drivers, Section 4.2, “enable optimized network drivers – PAR Technologies PARASTATION5 V5 User Manual

Page 18

Advertising
background image

Enable optimized network drivers

14

ParaStation5 Administrator's Guide

The values that might be assigned to the HWType parameter have to be defined within the

parastation.conf

configuration file. Have a brief look at the various Hardware sections of this file

in order to find out which hardware types are actually defined.

Other possible types are:

mvapi

,

openib

,

gm

,

ipath

,

elan

,

dapl

.

To enable shared memory communication used within SMP nodes, no dedicated
hardware entry is required. Shared memory support is always enabled by default.
As there are no options for shared memory, no dedicated hardware section for this
kind of interconnect is provided.

4. Define Nodes

Furthermore ParaStation has to be told which nodes should be part of the cluster. The usual way of
using the Nodes parameter is the environment mode, that is already enabled in the template file.

The general syntax of the Nodes environment is one entry per line. Each entry has the form

hostname id [HWType] [runJob] [starter] [accounter]

This will register the node

hostname

to the ParaStation system with the ParaStation ID

id

. The

ParaStation ID has to be an integer number between 0 and NrOfNodes-1.

For each cluster node defined within the Nodes environment at least the hostname of the node and
the ParaStation ID of this node have to be given. The optional parameters HWType, runJobs, starter
and accounter may be ignored for now. For a detailed description of these parameters refer to the
parastation.conf(5) manual page.

Usually the nodes will be enlisted ordered by increasing ParaStation IDs, beginning with 0 for the first
node. If a front end node exists and furthermore should be integrated into the ParaStation system, it
usually should be configured with ID 0.

Within an Ethernet cluster the mapping between hostnames and ParaStation ID is completely
unrestricted.

5. More options

More configuration options may be set as described in the configuration file

parastation.conf

. For

details refer to the parastation.conf(5) manual page.

If using

vapi

(HwType ib) or

DAPL

(HwType dapl) layers for communication, e.g.

for Infiniband or 10G Ethernet, the amount of lockable memory must be increased.
To do so, use the option

rlimit memlock

within the configuration file.

6. Copy configuration file to all other nodes

The modified configuration file must be copied to all other nodes of the cluster. E.g., use psh to do so.
Restart all ParaStation daemons.

In order to verify the configuration, the command

# /opt/parastation/bin/test_config

could be run. This command will analyze the configuration file and report any configuration failures. After
finishing these steps, the configuration of ParaStation is done.

4.2. Enable optimized network drivers

As explained in the previous chapter, ParaStation5 comes with its own versions of adapted network drivers
for Intel (e1000) and Broadcom (bcm5700) NICs. If the optimized ParaStation protocol p4sock is used to

Advertising