[gpfsug-discuss] mapping <cXnY> to hostname?

mark.bergman at uphs.upenn.edu mark.bergman at uphs.upenn.edu
Fri Oct 31 18:57:44 GMT 2014


In the message dated: Fri, 31 Oct 2014 11:20:40 -0700,
The pithy ruminations from Sven Oehme on 
<Re: [gpfsug-discuss] mapping <cXnY> to hostname?> were:
=> Hi,
=> 
=> the official way to do this is mmdiag --network 

OK.

I'm now using:

	mmdiag --network | awk '{if ( $1 ~ /<c[0-9]*n/ ) { printf $1 " " ; system("getent hosts "$2) }}'


Thanks,

Mark

=> 
=> thx. Sven
=> 
=> 
=> ------------------------------------------
=> Sven Oehme 
=> Scalable Storage Research 
=> email: oehmes at us.ibm.com 
=> Phone: +1 (408) 824-8904 
=> IBM Almaden Research Lab 
=> ------------------------------------------
=> 
=> 
=> 
=> From:   mark.bergman at uphs.upenn.edu
=> To:     gpfsug main discussion list <gpfsug-discuss at gpfsug.org>
=> Date:   10/31/2014 10:11 AM
=> Subject:        [gpfsug-discuss] mapping <cXnY> to hostname?
=> Sent by:        gpfsug-discuss-bounces at gpfsug.org
=> 
=> 
=> 
=> Many GPFS logs & utilities refer to nodes via their <cXnY> name.
=> 
=> I haven't found an "mm*" executable that shows the mapping between that
=> name an the hostname.
=> 
=> Is there a simple method to map the <cXnY> designation to the node's
=> hostname?
=> 
=> Thanks,
=> 
=> Mark
=> 



More information about the gpfsug-discuss mailing list