Start a Conversation

Unsolved

This post is more than 5 years old

1460

January 15th, 2014 04:00

API for List of nodes of Isilon OneFS 7.1 cluster

Hi,

Which platform API should I use to get a list of all nodes present in the OneFS 7.1 cluster?

Thanks

-Himanshu

93 Posts

January 17th, 2014 15:00

Hi Heman,

What is it you are trying to accomplish?

"isi status" from a shell will certainly list the nodes in a cluster...

Cheers,
Matt


11 Posts

January 19th, 2014 22:00

Thanks Matt.

My use case is from an auditing perspective. The isilon auditing system sends auditing information about paths accessed by various users. The path contains the node from where the path was accessed. I have to know/discover all the node names in my application so that when the audit event comes to my application, I can detect which node sent that event to me.

I was looking at a platform API which I can call from my code. 'isi status' is a shell command. Does it have an equivalent API that I can call from my code. The "Platform API guide' does not seem to have it, or I may be missing something.

Thanks

-Himanshu

93 Posts

January 20th, 2014 10:00

Thanks for the clarification!

Take a look at the shell command 'isi_nodes' (it's python) used like:
isi_nodes "LNN:%{name} Raw ID:%{id}"

LNN:foobar-1 Raw ID:1

LNN:foobar-2 Raw ID:2

LNN:foobar-3 Raw ID:3

Does that give you the information that you need?

If so, we need to copy a file (the file isi_nodes refers to), /etc/ifs/array.xml, to the /ifs filesystem so you can retrieve it via RAN.

It's XML so you should be able to parse it like isi_nodes does as above.

I know this is kind of kludgy, but RAN is still evolving.

Does that help?

Cheers,
Matt


No Events found!

Top