How to know NIM name from NIM client?

Friend's,

I was playing around with NIM in my environment & had a quick question in mind which I didn't/couldn't find answer to, which is -- how to find the name of the NIM server sitting on the NIM client?

All leads to the answer would be much appreciated, many thanks!

-- Souvik

Without the NIM client package being configured: you can't.

When the NIM client is configured as the client you can grep the file /etc/niminfo for the entry "NIM_MASTER_HOSTNAME" like this:

root@nimclient # grep NIM_MASTER_HOSTNAME /etc/niminfo
export NIM_MASTER_HOSTNAME=yournimserver.your.domain.net

Just view the file on a configured NIM client to get the whole picture, it is in plain text.

I hope this helps.

bakunin

2 Likes

Hello Bakunin,

Your suggestion worked absolutely fantastic, many thanks!
Well, have you got your eigenvalue yet? :wink:

-- Souvik