XCat will not put anything in hosts or dns unless it’s also in the nodelist
table.
> On Jun 6, 2018, at 8:59 AM, Bin XA Xu <[email protected]> wrote:
>
> Hi Brian,
> You could define those external hosts into table `hosts` directly,
> instead of creating an node definition,
> check `man hosts` for more details.
>
> Bin Xu
> HPC Software Development
> Software Defined Infrastructure, IBM Systems
> Phone: 86-010-82454067
> E-mail: [email protected] <mailto:[email protected]>
>
>
> ----- Original message -----
> From: Brian Joiner <[email protected]>
> To: xCAT Users Mailing list <[email protected]>
> Cc:
> Subject: Re: [xcat-user] Custom Entries for hosts or other xcat generated
> files lost
> Date: Tue, Jun 5, 2018 1:48 AM
>
> Ok, thanks for confirming and looking at this as a future enhancement. As a
> work around, I've created node definitions for these external hosts with the
> bare minimum information, such as IP and node aliases. I leave out the MAC
> to prevent accidental pxe boot.
>
> Thanks,
> Brian Joiner
>
> On Mon, Jun 4, 2018 at 4:52 AM, Yuan Y Bai <[email protected]
> <mailto:[email protected]>> wrote:
>
> Hi Brian,
>
> Currently, we do not have interface to do that, we plan to discuss this
> requirements within our team.
>
> For makehosts, execute "makehosts" without "-n" will not lose your customized
> lines.
> For makedns, if you want to execute "makedns -n", you should better back up
> /etc/named.conf, after you execute "makedns -n", you can manually customize
> /etc/named.conf, then restart named, hope this workaround can work for you
> now.
>
> Best Regards
> --------------------------------------------------
> Yuan Bai (白媛)
>
> CSTL HPC System Management Development
> Tel:86-10-82451401
> E-mail: [email protected] <mailto:[email protected]>
> 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: Brian Joiner <[email protected]
> <mailto:[email protected]>>
> To: [email protected] <mailto:[email protected]>
> Cc:
> Subject: [xcat-user] Custom Entries for hosts or other xcat generated files
> lost
> Date: Fri, Jun 1, 2018 6:11 AM
>
> Hi,
>
> On several occasions we've had the need for xCAT to retain custom information
> such as external hosts or 'forwarder' entries to the /etc/named file. These
> files get generated from tables by commands like 'makehosts' or 'makedns'.
>
> The problem is that if the '-n' flag is used with the above commands, it
> wipes out any custom entries we've added to those files.
>
> Example: in order to properly accommodate for an Isilon Smart connect ip
> address (used for round robin ip assignment) we had to add a Forwarder stanza
> to /etc/named.conf
> If makedns -n is run (whether on purpose or accident) the entire file gets
> rebuilt and our custom stanza gets deleted.
>
> We had to modify the xCAT perl script that creates the file to append the
> forwarder stanza from a text file at the end of named whenever the '-n' flag
> is used with makedns.
>
> Question/Feature request: Does xCAT have a method to include custom entries
> to files so that they're not lost if someone runs an xCAT tool with the -n
> flag (or custom external hosts in /etc/hosts)?
>
> --
> Brian Joiner
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> <http://sdm.link/slashdot>
> _______________________________________________
> xCAT-user mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> <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
> <http://sdm.link/slashdot>
> _______________________________________________
> xCAT-user mailing list
> [email protected] <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> <https://lists.sourceforge.net/lists/listinfo/xcat-user>
>
>
>
> --
> Brian Joiner
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> <http://sdm.link/slashdot>
> _______________________________________________
> xCAT-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/xcat-user
> <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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user