Start a Conversation

Unsolved

This post is more than 5 years old

2373

November 19th, 2017 21:00

Running OneFS commands inside python.

Hi,

How do I run OneFS commands (like isi status, isi sync jobs list, etc) inside python? What should I be configuring in OneFS or Python to be able to run these commands. I am just learning python so detailed instructions would be of great help to me.

November 20th, 2017 00:00

Thank you for your response. I am trying to use the python script from one

of the isilon nodes in the cluster. What are the modules to be loaded in

this case?

Regards,

Rajasekhar Reddy

Broadcom IT storage

+91-80-419-78942

Rajasekhar.Reddy@broadcom.com

On Mon, Nov 20, 2017 at 1:40 PM, AkshayK.umar2 <

November 20th, 2017 00:00

Assuming you are planning to use python installed on an external linux/windows server. REST API will do the job.

Isilon SDK Info Hub

3 Apprentice

 • 

592 Posts

November 20th, 2017 11:00

Rajasekhar.Reddy@broadcom.com,

Isilon cluster already has python 2.6 pre-loaded.

s200-1# python

Python 2.6.1 (r261:67515, Jun  1 2017, 09:28:39)

[GCC 4.2.1 Compatible FreeBSD Clang 3.3 (tags/RELEASE_33/final 183502)] on freebsd11

Type "help", "copyright", "credits" or "license" for more information.

>>>

s200-1#

just type python in front of your script.

example:

# python

No Events found!

Top