AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  hostname issue

    Posted 06/02/09 11:10 PM

    Originally posted by: kyle@cmbchina.com


    Hi,

    I have hostname problem with tow nodes cluster, with each node's hostname set to 'nin1' and 'nin2', however after system reboot or HACMP service start operation each node's hostname is changed to 'nin1_nb' and 'nin2_nb'.

    The hostname was set right, so I checked the odm:

    nin2#odmget CuAt|grep -ip nin2_nb
    CuAt:
    name = "iscsi0"
    attribute= "initiator_name"
    value = "iqn.nin2_nb.hostid.00000000"
    type = "R"
    generic = "DU"
    rep = "s"
    nls_index = 3

    So my questions are:

    1. what the hell is 'iscsi0' doing for? why system set hostname according to 'iscsi0's initiator_name value? and why cluster service start operation could cause hostname change?

    2. how to correct it?

    Thanks in advance.
    #AIX-Forum


  • 2.  Re: hostname issue

    Posted 06/03/09 11:27 AM

    Originally posted by: tony.evans


    What command are you using to check the hostname?
    #AIX-Forum


  • 3.  Re: hostname issue

    Posted 06/04/09 06:34 AM

    Originally posted by: kyle@cmbchina.com


    Problem resolved, thanks for asking.

    It turns out to have nothing to do with the device 'iscsi0' but a set hostname command in file /etc/rc.net:

    hostname nin2_nb

    that's why start cluster service would change the hostname too.

    Thanks again
    #AIX-Forum