Hi,

My network topology has 3 networks:
* Service network: Internal infra like DHCP, DNS, Provisioning, centralized
auth services for compute nodes etc. (eth0 for all servers)
* Data network: All internet facing services run here (eth1 for servers)
* Management network: All IPMI interfaces (Titled ipmi for all servers)

For all compute nodes, the node name is associated with the data network
interface(eth1).  A node configuration is as below:

[root@xcatmn01 xcat_prep]# lsdef compute1

Object name: compute1

    arch=x86_64

    currchain=boot

    currstate=install rhels6.6-x86_64-compute

    groups=compute,ipmi,all

    initrd=xcat/osimage/rhels6.6-x86_64-install-compute/initrd.img

    installnic=eth0

    ip=10.4.4.50

    kcmdline=quiet repo=http://!myipfn!:80/install/rhels6.6/x86_64
ks=http://!myipfn!:80/install/autoinst/compute1 ksdevice=eth0

    kernel=xcat/osimage/rhels6.6-x86_64-install-compute/vmlinuz


mac=00:25:90:14:FA:30!compute1-s|00:25:90:14:FA:31!compute1|00:25:90:14:f3:49!compute1-m

    netboot=xnba

    nichostnamesuffixes.ipmi=-m

    nichostnamesuffixes.eth0=-s

    nicips.eth1=10.4.4.50

    nicips.ipmi=10.1.240.50

    nicips.eth0=10.2.72.50

    nictypes.ipmi=Ethernet

    nictypes.eth1=Ethernet

    nictypes.eth0=Ethernet

    nodetype=osi

    os=rhels6.6

    postbootscripts=otherpkgs

    postscripts=syslog,remoteshell,syncfiles,create_root_authorized_keys

    primarynic=eth1

    profile=compute

    provmethod=rhels6.6-x86_64-install-compute

This node should have just 3 names:
* compute1-s
* compute1
* compute1-m

These 3 are created correctly. However, a fourth entry is automagically
created by xCAT "compute1-eth1":

[root@xcatmn01 xcat_prep]# cat /etc/hosts |grep compute

10.4.4.50 compute1 compute1.poc.lzd.co compute1-eth1

10.1.240.50 compute1-m compute1-m.poc.lzd.co

10.2.72.50 compute1-s compute1-s.poc.lzd.co

 I don't want this entry created. Is there some way to enforce this?
-- 
--
Samveen S. Gulati
http://samveen.in

The best-laid schemes o' mice an 'men
Gang aft agley,
An'lea'e us nought but grief an' pain,
For promis'd joy!
-- Robert Burns
(The best laid plans of mice and men often go awry,
and bring nothing but grief and pain instead of ..)
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to