Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-71-1464355.1
Update Date:2012-06-14
Keywords:

Solution Type  Technical Instruction Sure

Solution  1464355.1 :   How To Change Host Name On Infiniband Switches  


Related Items
  • Exadata Database Machine X2-2 Full Rack
  •  
Related Categories
  • PLA-Support>Sun Systems>SAND>Network>SN-SND: Sun Network Infiniband
  •  




In this Document
Goal
Fix


Created from <SR 3-5754182510>

Applies to:

Exadata Database Machine X2-2 Full Rack - Version Not Applicable to Not Applicable [Release N/A]
x86

Goal

How to change hostname on an NM2 infiniband switch?
 

Fix

Initial hostname: edx28bur09sw-ib2.xyz.com

New hostname:edx28sw-ib2.abc.com

[root@edx28bur09sw-ib2 ~]# uname -a
Linux edx28bur09sw-ib2.xyz.com 2.6.27.13-nm2 #1 SMP Thu Feb 5 20:25:23 CET 2009 i686 i686 i386 GNU/Linux

Edit the /etc/hosts with new hostname and fully qualified domainname: Change edx28bur09sw-ib2.xyz.com to edx28sw-ib2.abc.com

127.0.0.1 localhost.localdomain localhost
10.10.10.222 edx28sw-ib2.abc.com edx28sw-ib2 <---modify this line
::1 localhost6.localdomain6 localhost6

Edit the /etc/sysconfig/network : change edx28bur09sw-ib2.xyz.com to edx28sw-ib2.abc.int

NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=edx28bur09sw-ib2.abc.com<----modify this line

Note: Prior to rebooting the switch you should first determine if this switch is running as the SM MASTER by
  checking the output of "getmaster". In the following output we can see that another switch named elx22bur09cn01-gw
  is running master so a reboot is all that is needed.. If this switch were running Master SubnetManager, then it would
  be best to disablesm before rebooting and then enablesm after switch comes up.
  
IE:
[root@edx28bur09sw-ib2 ~]# getmaster
Local SM enabled and running
20120531 14:46:50 Master SubnetManager on sm lid 1 sm guid 0x2128568c62c0a0 : SUN IB QDR GW switch elx22bur09cn01-gw 10.10.10.89

If edx28bur09sw-ib2 were running Master SM, then disablesm, reboot, enablesm

IE:
[root@edx28bur09sw-ib2 ~]# disablesm <-----use this command
Stopping partitiond daemon. [ OK ]
Stopping IB Subnet Manager.. [ OK ]

#reboot

Now you should now see the new hostname edx28sw-ib2 with fully qualified domain .abc.com in the output of uname -a

[root@edx28sw-ib2 ~]# uname -a
Linux edx28sw-ib2.abc.com 2.6.27.13-nm2 #1 SMP Thu Feb 5 20:25:23 CET 2009 i686 i686 i386 GNU/Linux

re-enable sm using the following command:

[root@edx28sw-ib2 ~]# enablesm
Starting IB Subnet Manager. [ OK ]
Starting partitiond daemon. [ OK ]
[root@edx28sw-ib2 ~]#
 


Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback