HP XC System Software Installation Guide Version 4.0

# 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
Use the following as an 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 node list expression is: "n[1-48]". Double quotes (") are required
so that the shell processes the brackets ([ ]) correctly. For more information about node list
expressions, see the HP XC System Software Administration Guide .
11.7 Entering License Information
If you did not enter the 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
11.8 Starting the Service Daemons
Enter the following command to start the server, scheduler, and MOM daemons:
# pdsh -w "x[n-n, N]" service pbs start
In the previous command, the node list "x[n-n, N]" specifies the range of execution nodes
(n-n), and also the PBS server node (N). For example, a valid node list is "n[1-49,100]" (the
double quotation marks are required).
Enter the following command to automatically start PBS Professional at boot time:
# pdsh -w "x[n-n, N]" chkconfig --level 345 pbs on
Use the same value for node list as specified in the pdsh command for starting the service
daemons.
11.9 Setting Up PBS Professional at the User Level
There is some overlap in the name space of PBS Professional commands and other software
provided by HP XC. Users must complete the following tasks to enable them to submit jobs as
in a standard PBS Professional installation.
Users must set their PATH and MANPATH variables to use the PBS Professional versions of
commands and manpages.
csh or tcsh shell users must append the following commands to an appropriate login
shell script:
% setenv PATH /usr/pbs/bin:${PATH}
% setenv MANPATH /usr/pbs/man:${MANPATH}
sh/ksh/bash shell users must append the following commands to an appropriate
login shell script:
% PATH=/usr/pbs/bin:${PATH} ; export PATH
% MANPATH=/usr/pbs/man:${MANPATH} ; export MANPATH
Users must configure OpenSSH to enable a login without a password. Use the following
commands, described in the HP XC System Software User's Guide, pressing the Enter key in
response to all system prompts to accept the default values:
$ ssh-keygen -t dsa
$ cd ~/.ssh
$ cat id_dsa.pub >>authorized_keys
$ chmod go-rwx authorized_keys
162 Installing and Using PBS Professional