On 12/12/19 3:40 PM, Casandra H Qiu wrote:
check this link:
_https://xcat-docs.readthedocs.io/en/stable/QA/makehosts.html_
So I think I've digested this not so easy (for me who come from a quite
straightforward setting) doc. I still have to try the 2 node objects
strategy. I've got 2 questions the doc though :
1) when the ip does not match any network defined in the 'networks' table
-> a domain name still can be generated in /etc/hosts :
for instance with hosts.otherinterfaces == "shortname:ip-in-no-networks"
makehosts generates :
ip shortname shorname.<domain>
where does this domain come from (it does not seem to come from site
neither resolv.conf) ?
2) when I tried - granted weird - setup of hosts.otherinterfaces like this :
"maestro-300","192.168.153.48",,maestro-300:192.168.10.10,,
makehosts generates
192.168.10.10 maestro-300 maestro-300.maestroprov.pasteur.fr
while I'd hoped it would generate
192.168.153.48 maestro-300 maestro-300.maestro.pasteur.fr
AND
192.168.10.10 maestro-300 maestro-300.maestroprov.pasteur.fr
(the 2 networks maestro_net (domain == maestro) and maestro_prov (domain
== maestroprov) are defined and, without using otherinterfaces I get, as
expected
192.168.153.48 maestro-300 maestro-300.maestro.pasteur.fr
Is that legit ?
Thanks
--
Thomas H.
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user