-
Notifications
You must be signed in to change notification settings - Fork 4
Plugins
oweidner edited this page Dec 2, 2011
·
28 revisions
The PBS over SSH plug-in interfaces with a remote PBS, PBS Pro or TORQUE scheduler via SSH. The plug-in supports the Job API as well as the SD (Service Discovery) API. The adaptor supports custom security contexts of the type saga.context.SSH
The URL schema to trigger the plugin is: pbs+ssh://
Example usage:
ctx = saga.Context()
ctx.type = saga.Context.SSH
ctx.userid = 'username' # like 'ssh username@host ...'
ctx.usercert = '/Users/username/.ssh/id_rsa_special' # like ssh -i ...'
session = saga.Session()
session.contexts.append(ctx)
# a pbs+ssh job service
js = saga.job.Service("pbs+ssh://alamo.futuregrid.org", session=session)
# a pbs+ssh service discoverer
sdd = saga.sd.Discoverer("pbs+ssh://alamo.futuregrid.org", session=session)