HP XC System Software Installation Guide Version 4.0

11.5.1 Configure the OpenSSH scp Utility
By default, PBS Professional uses the rcp utility to copy files between nodes. The default HP
XC configuration disables rcp in favor of the more secure scp command provided by OpenSSH.
To use PBS Professional on HP XC, configure HP XC to default to scp as follows:
1. Using a text editor of your choice, open the /etc/pbs.conf file on the server node.
2. Search for the configuration variable PBS_SCP, and assign it the value /usr/sbin/scp as
follows:
PBS_SCP=/usr/bin/scp
3. Save the changes to the file and exit the text editor.
4. Repeat this procedure on each execution node before proceeding to the task described in
Section 11.6 (page 161).
11.5.2 Remove Nodes from the SLURM or LSF Configuration
To prevent SLURM or LSF from allocating jobs to PBS execution nodes, follow this procedure:
1. Remove the PBS execution nodes from all SLURM partitions specified in the
/hptc_cluster/slurm/etc/slurm.conf file. See the HP XC System Software
Administration Guide for details on configuring SLURM partitions.
2. Implement the changes:
# scontrol reconfig
# badmin reconfig
11.5.3 Add Nodes to the PBS Professional Configuration
To add nodes to the PBS Professional configuration, edit the PBS_HOME/server_priv/nodes
file to create a list of nodes to manage. Edit this file only when the server is down. Any changes
you make while the server is running are overwritten when the server stops and do not take
effect.
Use the following guidelines to create a list of nodes to manage:
One node is specified on a line.
node_name specifies the internal node name, such as n12.
The nodes file is written out when the server exits. Use the qmgr command to maintain the node
list. For more information about using the qmgr command to add nodes to the nodes file, see
the PBS Professional Administrator Guide.
Preventing Jobs from Running on the Server Node
The PBS server node is automatically configured as an execution host. Do the following to prevent
jobs from running on the server node:
1. Do not list the server node in the PBS_HOME/server_priv/nodes file.
2. Edit the /etc/pbs.conf file on the server, changing the value of the PBS_START_MOM
variable to 0 (zero).
3. Save the changes to the file and exit the text editor.
11.6 Replicating Execution Nodes
During installation, you configured one PBS execution node, which means that you can now
replicate the PBS execution node installation to the remaining execution nodes by running the
following commands from the already-installed PBS execution node.
In the following commands, x[n-n] is a node list expression representing all execution nodes
except the single execution node that is already configured.
11.6 Replicating Execution Nodes 161