Using PBS Professional on HP XC
2. The following example shows typical entries in the file PBS_HOME/server_priv/nodes:
n9 pcpus=2
n8 pcpus=2
n7 pcpus=2
n6 pcpus=2
.
.
.
3. The PBS server node is automatically configured as an execution host. To prevent jobs from
running on the server node:
a. Do not list the server node in the file PBS_HOME/server_priv/nodes file
b. Edit the file /etc/pbs.conf file on the server, changing the value of variable
PBS_START_MOM to 0 (zero).
Replicating execution nodes
During installation, you configured one PBS execution node. 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:
# pdcp -rp -w "x[n-n]" /usr/pbs /usr
# pdcp -rp -w "x[n-n]" /var/spool/PBS /var/spool
# pdcp -p –w "x[n-n]" /etc/pbs.conf /etc
# pdcp -p –w. ”x[n-n]" /etc/init.d/pbs /etc/init.d
Where “x[n-n]” is an nodelist expression representing all execution nodes excluding the single
execution node that is con figured already
For example:
• You have installed the PBS server on node n100.
• The first PBS execution node is node n49.
• You want to replicate the execution environment to nodes n1 through n48.
In this case, the value of the nodelist expression is: "n[1-48]". Double quotes (") are required
surrounding the expression so that the square brackets ([) are parsed correctly by the shell. See the HP
XC System Software Administration Guide for more information about nodelist expressions.
If you did not enter your license information when installing the PBS server, do so now by running the
following command on the PBS server node:
# /usr/pbs/etc/pbs_setlicense