<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi All,</div><div><br></div><div>I am trying to run some experiments in Surveyor. The software I am using gets the IP-address of compute-nodes using <span style="font-weight: bold; font-style: italic;">hostname</span> command. </div><div><br></div><div>With <span style="font-weight: bold;">zepto-vn-eval/mosatest </span>profile <span style="font-style: italic; font-weight: bold;">hostname </span><span style="font-weight: bold;"></span><span>command </span>returns <span style="font-weight: bold;">none</span>.</div><div>But with <span style="font-weight: bold;">zeptoos </span>profile <span style="font-style: italic; font-weight: bold;">hostname </span>returns the correct IP address. </div><div><br></div><div>Is this due to some configuration issues in <span style="font-weight: bold;">zepto-vn-eval/mosatest
</span><span>profile</span><span> ?</span><span style="font-weight: bold;"> </span>As a workaround I tired to use ifconfig with both profiles, but it seems ifconfig is not returning the correct IP address. <br></div><div><br></div><div>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.<br></div><div><br></div><span style="font-weight: bold;"></span><div><span>Thank you</span></div><div><span>Emalayan</span><span style="font-weight: bold;"></span></div><div><br><span style="font-weight: bold;"></span></div><div><br><span><span></span></span></div><div><span style="font-weight: bold;">=======================With zeptoos profile ===============================</span><br><br>/ # hostname <br>172.18.3.19<br>/ # <br>/ # cat /proc/sys/kernel/hostname <br>172.18.3.19<br>/ # <br>/ # <br>/ # ifconfig
-a<br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> UP LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br><br>tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 <br> inet addr:192.168.1.64 P-t-P:192.168.1.254
Mask:255.255.255.255<br> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:65535 Metric:1<br> RX packets:2662 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:1772 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:500 <br> RX bytes:140206 (136.9 KiB) TX bytes:125412 (122.4 KiB)<br><br><br></div><div><br>
<span><span></span></span></div>
<div><span style="font-weight: bold;">=======================With </span><span style="font-weight: bold;">zepto-vn-eval/mosatest </span><span style="font-weight: bold;">profile ===============================</span></div><div><br>/etc # hostname <br>(none)<br>/etc # <br>/etc # cat /proc/sys/kernel/hostname<br>(none)<br>/etc # <br>/etc # ifconfig -a<br>eth0 Link encap:Ethernet HWaddr 00:80:46:00:00:00 <br> BROADCAST MULTICAST MTU:1500 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:0 (0.0 B) TX bytes:0
(0.0 B)<br><br>eth1 Link encap:Ethernet HWaddr 00:80:47:00:00:00 <br> BROADCAST MULTICAST MTU:1500 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:1000 <br> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br><br>lo Link encap:Local Loopback <br> inet addr:127.0.0.1 Mask:255.0.0.0<br> inet6 addr: ::1/128 Scope:Host<br> UP
LOOPBACK RUNNING MTU:16436 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0 <br> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br><br>sit0 Link encap:IPv6-in-IPv4 <br> NOARP MTU:1480 Metric:1<br> RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:0
<br> RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)<br><br>tun0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 <br> inet addr:192.168.1.64 P-t-P:192.168.1.254 Mask:255.255.255.255<br> UP POINTOPOINT RUNNING NOARP MULTICAST MTU:65535 Metric:1<br> RX packets:965 errors:0 dropped:0 overruns:0 frame:0<br> TX packets:627 errors:0 dropped:0 overruns:0 carrier:0<br> collisions:0 txqueuelen:500 <br> RX bytes:50984 (49.7 KiB) TX bytes:50530 (49.3 KiB)<br><br></div></div></body></html>