Hi Yuan,

that’s what I thought should be happening – but it isn’t working properly.     
When I log into the node and compare /etc/resolv.conf and 
/.default/etc/resolv.conf  they are not the same.

I wondering if there’s a configuration setting that I’ve got wrong.

Best,

Jeff


From: Yuan Y Bai [mailto:by...@cn.ibm.com]
Sent: 02 July 2018 03:40
To: xcat-user@lists.sourceforge.net
Cc: xcat-user@lists.sourceforge.net
Subject: Re: [xcat-user] resolv.conf multiple search domains

Hi Jeff,

You can also customize /etc/resolv.conf.


When a node boots up in statelite mode, it will by default copy all of its 
tmpfs files from the .default directory of the root image, for example 
/install/netboot/rhels7.3/x86_64/compute/rootimg/.default, so there is not 
required to set up a litetree table. If you decide that you want some of the 
files pulled from different locations that are different per node, you can use 
this table. The litetree table controls where the initial content of the files 
in the litefile table come from, and the long term content of the ro files.

Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com<mailto: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: Jeff Berry 
<jeff.be...@mrc-cbu.cam.ac.uk<mailto:jeff.be...@mrc-cbu.cam.ac.uk>>
To: xCAT Users Mailing list 
<xcat-user@lists.sourceforge.net<mailto:xcat-user@lists.sourceforge.net>>
Cc:
Subject: [xcat-user] resolv.conf multiple search domains
Date: Fri, Jun 29, 2018 9:54 PM

Good afternoon,

configuring the cluster is proceeding apace, and I find myself unclear on how 
best to deal with some dns issues.
xcat 2.14.1, Master and statelite nodes all running CentOS7.5

When I boot, a resolv.conf file is being generated and installed, and although 
it has the right nameservers, it does not have the search domains we want.

After liteimg, the .defaults/etc/resolv.conf file contains just the dummy line. 
 And on boot, I end up with a resolv.conf that looks like:
search <domain1> <domain1>
nameserver <ns1>
nameserver <ns2>
nameserver <ns3>
nameserver <ns4>

That is, the same domain is duplicated on the search line.  The nameservers 
themselves are correct, though.
I tried editing the .defaults/etc/resolv.conf file, but it had no effect.

Obviously I am unclear on how that resolv.conf file is being generated, and any 
pointers that anyone can provide will be gratefully followed up.

Jeff Berry, MRC CBU
------------------------------------------------------------------------------
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<mailto:xCAT-user@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/xcat-user



------------------------------------------------------------------------------
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

Reply via email to