On 2/22/08 3:58 PM, "Jason Venner" <[EMAIL PROTECTED]> wrote:

> We have been unable to get torque up and running. The magic value in the
> server_name file seems to elude us.

The server_name should be the real hostname of the machine running
pbs_server.

> We have tried localhost, 127.0.0.1, machine name, machine ip, fq machine
> name. Depending on what we use, we either get
> Unauthorized request or invalid entry

    If you do qmgr -c 'list server', does submit_hosts have the hostname of
the machine you are submitting from listed?

> qmgr obj= svr=default: Bad ACL entry in host list MSG=First bad host:
> hdimg01

    Hmm. That error message doesn't ring any bells for me.

> qmgr obj= svr=default: Unauthorized Request

    Unauthorized request, IIRC, is either host or user is not allowed to do
whatever it is they are trying to do.

> /var/torque/server_name
> torque-pam-2.1.6-1.fc5

    We compile our own.  Currently on 2.1.8 w/3 custom patches related to
issues with node selection mainly.  I think our 3 patches have been sent to
cluster resources and are part of 2.2.0 or whatever the latest build is.

> Will someone with torque knowledge take pity on us and advise?

    :)  No guaratees, but this should give you some ideas about how we have
ours configured:

1. pbs-server -t create
2. Hop into qmgr, and change the following.  The rest we keep as default (I
think)
3. set server managers = [EMAIL PROTECTED]
4. set server managers += admin #1


I generally recommend using [EMAIL PROTECTED] and [EMAIL PROTECTED]  So, for
example, set server operators += [EMAIL PROTECTED] followed by set server
operators += [EMAIL PROTECTED] .



5. set server managers += admin #2  [repeat as necessary]
6. set server operators = [EMAIL PROTECTED]
7. set server operators += admin #1
8. set server operators += admin #2 [repeat as necessary]
9. set server submit_hosts = torque server hostname
10. set server submit_hosts += hostname where qsub will be executed [repeat]
11. set server allow_node_submit = true [enables all nodes registered to run
qsub]
12. set server acl_hosts = torque server hostname
13. create queue hadoop queue_type = execution
14. set queue hadoop resources_default.neednodes = hadoop
15. set queue hadoop resources_default.nodect = 1
16. set queue hadoop resources_default.nodes = 1
17. set server default_queue = hadoop
18. set server scheduling = true
19. Configure the nodes.... Hop out of qmgr and do something like the
following:

 for host in (some range of hosts)
 do
    qmgr -c "create node ${host}"
    qmgr -c "set node ${host} properties += hadoop"
    pbsnodes -r ${host}"
 done

20.  Make sure pbs_mom is running on your remote nodes.
21. mom_priv/config should look something like this:

$pbsserver  torque server name
$usecp *:/home /home
$usecp *:/tmp /tmp
$fatal_job_poll_failure false

BTW,  We HIGHLY HIGHLY HIGHLY recommend using a node_check script.  For
large clusters, this will save you a LOT of headaches when drives fail, etc.
At some point, maybe we'll sanitize ours and share. ;)

23.  Restart pbs_server.  This is one of the bugs we've patched in ours. ;)

Reply via email to