NIM Master hostname

hi Admins,

How can I check the NIM master hostname/IP name from NIM client ? I don't see any option that I can try with nimclient command.

Let me know..

Thanks,

OK,
On client you can run

cat /etc/niminfo | grep NIM_MASTER_HOSTNAME

Then you can do a nslookup on that hostname.

Else just run cat /etc/niminfo and you can see the IP of NIM in the below line.
export NIM_HOSTS=" 127.0.0.1:loopback:localhost  <Client IP>:<client name>  <NIM IP> :<NIM hostname> "

/etc/niminfo is not there, but I can see bos.sysmgt.nim.client packages are commited on client.

OK,
Let me ask you this.

Did you use NIM server to install OS on the client? using bosint . Or NIM came in afterwards?

Under

/var/adm/ras directory do you see anything such as
nim.log or nimsh.log or nim.script or nim.installp file ?

in /var/adm/ras I see as below :

bash-3.00# -rw-r--r-- 1 root system 131072 Dec 16 14:31 nimlog

nimlog: alog files.

I don't see any other nim related files or dir there.

Ok, do you know the NIM Server name or IP?
If you do, run the below commands on client

niminit -a master=<NIM Server hostname> -a name=<client name>
smitty nim_config_services   -->Communication Protocol used by client -->  nimsh

Now, you should see the niminfo file, I think someone either deleted the file or moved/renamed it.

I hope this helps.