Hi Kevin,
1. Could you check "/proc/sys/kernel/hostname" this file? it will affect the "hostname" result. I do not know if you hit the same problem.
[root@bybc0602 ~]# echo bybc0602.cluster.com > /proc/sys/kernel/hostname
[root@bybc0602 ~]# hostname
bybc0602.cluster.com
[root@bybc0602 ~]# hostname -f
bybc0602
[root@bybc0602 ~]# hostname
bybc0602.cluster.com
[root@bybc0602 ~]# hostname -f
bybc0602
2. I have a question here : why there are 2 management node mn and mn.dev.sabre2.sandiego.edu ? You may want to use "makehosts" to generate /etc/hosts file using node mn. But there is another node named mn.dev.sabre2.sandiego.edu.
Best Regards
--------------------------------------------------
Yuan Bai (白媛)
CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193
IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193
--------------------------------------------------
Yuan Bai (白媛)
CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193
IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193
----- Original message -----
From: Kevin Keane <kke...@sandiego.edu>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: [xcat-user] xCAT creates "impossible" node
Date: Wed, Nov 15, 2017 7:41 AM
I have my xCAT system mostly up and running, and am trying to resolve some of the last details. This is xCAT 2.13.8 on RedHat 7.4.
Among those problems is that xCAT (specifically, updatenode) creates an "impossible" node. I created one node called "mn" to cover the management node (see below for the details), and one compute node cn-001. updatenode is adding a third node named with the FQDN of the management node. I am calling this an "impossible" node because node names aren't supposed to contain periods.
Specifically, I see this "impossible" node when I use:updatenode '/cn-.*'
Why would updatenode even try to update the management node?
I have a second, and potentially related, problem:
After a fresh install, hostname and hostname -f both return the FQDN:mn.dev.sabre2.sandiego.edu
At some point after installing xCAT (I have not nailed down when), this changes. hostname will continue to return the FQDN, but hostname -f will return "mn". Of course, I would expect the reverse.Thanks!
Here is the output of lsdef -l
[root@mn ~]# lsdef -l
Object name: cn-001
arch=x86_64
cons=ipmi
currstate=netboot rhels7.4-x86_64-hpccn
groups=ipmi,all,compute
installnic=mac
ip=192.168.101.3
mac=52:54:00:f2:e6:39
mgt=ipmi
netboot=xnba
nichostnamesuffixes.eth0=-comp
nicips.eth0=192.168.100.3
nicips.eth1=192.168.101.3
os=rhels7.4
postbootscripts=otherpkgs,confignics
postscripts=syslog,remoteshell,syncfiles,setupntp
primarynic=mac
profile=""> provmethod=rhels7.4-x86_64-netboot-hpccn
updatestatus=failed
updatestatustime=11-14-2017 14:37:59
Object name: mn
groups=__mgmtnode
hostnames=mn.dev.sabre2.sandiego.edu
ip=192.168.20.2
nichostnamesuffixes.eth0=-comp
nichostnamesuffixes.eth2=-mgt
nicips.eth1=192.168.20.2
nicips.eth0=192.168.100.2
nicips.eth2=192.168.101.2
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
Object name: mn.dev.sabre2.sandiego.edu
postbootscripts=otherpkgs
postscripts=syslog,remoteshell,syncfiles
updatestatus=synced
updatestatustime=11-14-2017 14:37:59
--_______________________________________________________________________
Kevin Keane | Systems Architect | University of San Diego ITS | kke...@sandiego.edu
Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=uiTcPxjMR44SPRNNb6l_nA&m=AectGMeVYNVooI6ZS5FKZQ_qtuvwSZpBlckGSZT6CCs&s=EMigJjB7Xo1b0276J04byWrra2NqTzt7aVMXobj_SIA&e=_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=uiTcPxjMR44SPRNNb6l_nA&m=AectGMeVYNVooI6ZS5FKZQ_qtuvwSZpBlckGSZT6CCs&s=ovtbdL7rmOl_aLy5B5o4dQzMQjQeXWHiH6AvNxlOLks&e=
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user