heman1
1 Copper

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

Tags (4)
0 Kudos
3 Replies
mattashton1
2 Iron

Re: API for List of nodes of Isilon OneFS 7.1 cluster

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


heman1
1 Copper

Re: API for List of nodes of Isilon OneFS 7.1 cluster

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

0 Kudos
mattashton1
2 Iron

Re: API for List of nodes of Isilon OneFS 7.1 cluster

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


0 Kudos