UNSOLVED

rajasekhar_redd

updated

9 years ago

R

rajasekhar_redd

1 Rookie

8 Posts

0

2545

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.

  • rajasekhar_redd

    1 Rookie

    8 Posts

    1819

    0

    Posted 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 <

  • 1819

    1

    Posted 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

  • Phil.Lam

    4 Apprentice

    641 Posts

    12 Points

    1819

    1

    Posted 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