Modify

Opened 10 years ago

Closed 9 years ago

#43 closed task (fixed)

WEB application with access in remote grid system with torque PBS, through django and pbs_python

Reported by: anonymous Owned by: anonymous
Priority: minor Milestone:
Component: pbs Version: 4.4.0
Keywords: pbs_python remote access django Cc:

Description

Hi, i am a beginner in torque PBS and i am trying to implement a web application which will provide access in some of the torque abilities through a graphical web ui made in django. (eg: qsub, qstat, qhold, qdel commands and some general information about the system like number of nodes used etc) So in order to use this python library, i had to install torque in my pc and then pbs_python-4.4.0 and everything is ok. My question is: what should i do, to make use of the same tools in a remote grid system which has only torque PBS installed. I have access in that system from terminal through ssh, with my credentials. Is there any possibility for remote access in that system using PBS_PYTHON? Should i install pbs_python-4.4.0 and django in that system making it host of my web application? Thanks in advance.

Attachments (0)

Change History (7)

comment:1 Changed 10 years ago by bas

  • Priority changed from major to minor
  • Status changed from new to assigned
  • Type changed from defect to task

pbs_python connect to the pbs_server. So if you can use the torque utils (qstat, qdel, ..) on your local system. You can also use pbs_python package. You have to specify the pbs server in the connect call

If you only can use the torque utils from the mentioned grid system. You can install the pbs_python package in your home directory and use it.

comment:2 Changed 10 years ago by anonymous

Thank you. Is there a way to implement the pbs_connect() function, targeting a remote system, providing my credentials? Can you provide me a simple example? (Through the terminal i use: >ssh -l <username> <server_name>. Then it asks for my password and i am connected)

comment:3 Changed 10 years ago by bas

No there is no way to use pbs_connect as you described. pbs_server only allows connection from trusted hosts and uses some authentication protocol. So you can only pbs_python on nodes that are part of the cluster or allowed to connect

comment:4 follow-up: Changed 10 years ago by anonymous

  • Owner changed from bas to anonymous
  • Status changed from assigned to new

Ok, so i should install pbs_python in GRID's server and place my django web application in that server. One more question, does pbs_python provide tools-commands for torque account manipulation? (e.g. Create new user accounts, account log in)?

comment:5 in reply to: ↑ 4 Changed 10 years ago by bas

Replying to anonymous:

Ok, so i should install pbs_python in GRID's server and place my django web application in that server.

Yes that is plot.

One more question, does pbs_python provide tools-commands for torque account manipulation? (e.g. Create new user accounts, account log in)?

What do you mean by this. Create logins on the system or use -A option in qsub?

comment:6 Changed 9 years ago by anonymous

Well how can i implement the -A option in qsub, in pbs python?

comment:7 Changed 9 years ago by bas

  • Resolution set to fixed
  • Status changed from new to closed

see #48

Add Comment

Modify Ticket

Change Properties
Action
as closed The owner will remain anonymous.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.