Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<primary host> % screen -d -r <job-id>

but instead of using 'ssh' talking to sshd daemon on the execution host, it would be 'pbs_interact' communicating with the primary pbs_mom executing <job-id>.

...

  • If a call to pbs_interact <job-id> is made but job does not exist, the message below is shown:
         "Unknown Job ID"
  • If pbs_interact <job-id> is called with a non-interactive job or the job is not running screen, the message below is shown:
         "Not an interactive job running screen"
  • pbs_interact can be called from a remote host, as long as the requesting user at remote host is authorized by the server to make requests.
    • This is done by setting qmgr -c "set server flatuid = true", or the requesting user passes an ruserok() test
    • ruserok() authorization is done via /etc/hosts.equiv on server host, or user at server host has local .rhosts setup authorizing access.
    • Without proper authorization, pbs_interact returns the message: "Unauthorized Request".
  • Since pbs_interact is doing an equivalent of 'screen -d -r', any active screen session of the job (i.e. qsub -I invoked) will be disconnected automatically. This allows pbs_interact to reconnect to the screen session.

Future

Allow the possibility for PBS_REMOTE_VIEWER to accept other screen-like facility such as 'tmux'.

...