[Swift-devel] hostname returns none in Surveyor

Emalayan Vairavanathan svemalayan at yahoo.com
Sat Mar 3 20:25:27 CST 2012


Hi All,

I am trying to run some experiments in Surveyor. The software I am using gets the IP-address of compute-nodes using hostname command. 

With zepto-vn-eval/mosatest profile hostname command returns none.
But with zeptoos profile hostname returns the correct IP address. 

Is this due to some configuration issues  in zepto-vn-eval/mosatest profile?As a workaround I tired to use ifconfig with both profiles, but it seems ifconfig is not returning the correct IP address. 


Is there any command / files which I can used to retrieve the hostname on compute nodes? I have pasted the console output with both profiles below. Please let me know if you need more details.


Thank you
Emalayan


=======================With zeptoos profile ===============================

/ # hostname 
172.18.3.19
/ # 
/ # cat /proc/sys/kernel/hostname 
172.18.3.19
/ # 
/ # 
/ # ifconfig -a
lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:192.168.1.64  P-t-P:192.168.1.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:65535  Metric:1
          RX packets:2662 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1772 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:140206 (136.9 KiB)  TX bytes:125412 (122.4 KiB)




=======================With zepto-vn-eval/mosatest profile ===============================

/etc # hostname   
(none)
/etc # 
/etc # cat /proc/sys/kernel/hostname
(none)
/etc # 
/etc # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:80:46:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

eth1      Link encap:Ethernet  HWaddr 00:80:47:00:00:00  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

sit0      Link encap:IPv6-in-IPv4  
          NOARP  MTU:1480  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:192.168.1.64  P-t-P:192.168.1.254  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:65535  Metric:1
          RX packets:965 errors:0 dropped:0 overruns:0 frame:0
          TX packets:627 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:50984 (49.7 KiB)  TX bytes:50530 (49.3 KiB)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20120303/1f003eec/attachment.html>


More information about the Swift-devel mailing list