AIX

AIX

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


#Power
#Power
#Operatingsystems
#Servers
 View Only
  • 1.  need help to verify /etc/hosts file

    Posted 02/22/12 12:46 AM

    Originally posted by: SystemAdmin


    /etc/hosts

    127.0.0.1 loopback localhost

    192.168.5.10 mclnode1-adm
    10.1.1.25 mclnode1_boot1
    10.1.2.25 mclnode1_boot2

    192.168.5.11 mclnode2-adm mclnode2

    192.168.5.15 mclnode-svc
    10.1.1.26 mclnode2_boot1
    10.1.2.26 mclnode2_boot2

    Dear all,

    Above is one of Our HACMP Cluster node(two node HACMP) /etc/hosts file. Please let us know are there are any errors in that.

    I guess

    “_” were used in the host name for server ip “10.1.1.26”, I think underscore is not allowed in hostnames.

    eg: 10.1.1.26 mclnode2_boot1
    =======================================================================
    I doubt using dash character in hostname
    =======================================================================
    I think in the entry “192.168.5.11 mohclnode2-adm mohclnode2” is wrong it should be like

    eg: “192.168.5.11 mclnode2-adm.abc.com mclnode2-adm”
    #AIX-Forum


  • 2.  Re: need help to verify /etc/hosts file

    Posted 02/22/12 01:14 AM

    Originally posted by: romeo_ninov


    By the RFC you can use only leters, numbers and dash in host name and (as I remember) you cant start the hostname with dash. So your supposition is correct. Will be wise to follow the rules, because some software will not run on the machine with such hostname
    #AIX-Forum