arpit
arpit

Reputation: 11

How to avoid 'paramiko' which restricts me to limited python usage on remote machine?

I have distributed system to test (e.g. hadoop), so my test cluster has 10 to 20 machines. We have developed test automation suite which we trigger from outside of the test cluster. Being a system remotely located we are not able to leverage python modules except 'paramiko' for remote calls, as a result, we always issue a Linux commands a part of test execution.

What shall I do to leverage different python modules on remote machine? Is python not meant for the distributed system?

Upvotes: 0

Views: 228

Answers (1)

Dinesh Pundkar
Dinesh Pundkar

Reputation: 4196

paramiko definitely won't help to leverage the Python modules present on remote machines.

Python is definitely meant for distributed systems. For this, one solution I can think of is need to use Remote Procedure Call mechanism.

There are several modules in Python using which you can achieve RPC.

  1. XML-RPC (In-Built)
  2. RPyC
  3. PyRo

Stackoverflow link with multiple Python RPC solutions.

Some links with comparison between above three

Upvotes: 0

Related Questions