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 <by...@cn.ibm.com> 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: 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: Brian Joiner <martinitime1...@gmail.com>
> To: xcat-user@lists.sourceforge.net
> 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
> _______________________________________________
> xCAT-user mailing list
> 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
>
>
--
Brian Joiner
------------------------------------------------------------------------------
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