Lines 1-69
Link Here
|
1 |
****************************************************************************** |
1 |
****************************************************************************** |
2 |
You can find an example configuration in |
2 |
On the server, run: |
3 |
|
3 |
|
4 |
%%PREFIX%%/share/examples/torque/var/spool/torque |
4 |
torque-config head |
5 |
|
5 |
|
6 |
On all machines, both server and compute nodes: |
|
|
7 |
|
8 |
1. Run |
9 |
|
10 |
cp -Rp %%PREFIX%%/share/examples/torque/var/spool/torque \ |
11 |
/var/spool |
12 |
|
13 |
2. Put the hostname of the server into |
14 |
|
15 |
/var/spool/torque/server_name |
16 |
|
17 |
****************************************************************************** |
6 |
****************************************************************************** |
18 |
On compute nodes: |
7 |
On compute nodes, run: |
19 |
|
8 |
|
20 |
1. Put '$pbsserver ip.address.of.server' into |
9 |
torque-config compute |
21 |
|
|
|
22 |
/var/spool/torque/mom_priv/config |
23 |
|
10 |
|
24 |
2. Add the following line to /etc/rc.conf: |
|
|
25 |
|
26 |
pbs_mom_enable="YES" |
27 |
|
28 |
This may include the server if you allow it to be used |
29 |
as a compute node as well. |
30 |
|
31 |
****************************************************************************** |
11 |
****************************************************************************** |
32 |
On the server: |
|
|
33 |
|
34 |
1. Put hostnames of compute nodes, one per line, into |
35 |
|
36 |
/var/spool/torque/server_priv/nodes |
37 |
|
38 |
Additional options can be specified for each entry. Consult |
39 |
the torque documentation for details. |
40 |
|
41 |
2. Add the following lines to /etc/rc.conf: |
42 |
|
43 |
pbs_server_enable="YES" |
44 |
pbs_sched_enable="YES" |
45 |
|
46 |
3. To configure queues, execute |
47 |
|
48 |
%%PREFIX%%/share/examples/torque/torque.setup <admin> |
49 |
|
50 |
The recommended <admin> user is root. |
51 |
|
52 |
****************************************************************************** |
53 |
After installation is complete on the server and compute nodes: |
54 |
|
55 |
1. Start node services on all compute nodes with: |
56 |
|
57 |
%%PREFIX%%/etc/rc.d/pbs_mom restart |
58 |
|
59 |
2. Start scheduler services on the server with: |
60 |
|
61 |
%%PREFIX%%/etc/rc.d/pbs_server restart |
62 |
%%PREFIX%%/etc/rc.d/pbs_sched restart |
63 |
|
64 |
****************************************************************************** |
65 |
For further information, see |
12 |
For further information, see |
66 |
|
13 |
|
67 |
http://www.clusterresources.com/torquedocs21/ |
14 |
http://www.adaptivecomputing.com/products/open-source/torque/ |
68 |
|
15 |
|
69 |
****************************************************************************** |
16 |
****************************************************************************** |