I forgot to add that for the interface bound to xcatsn01-s, the complete
network is the dynamic range:
[root@xcatmn01 xcat_prep]# lsdef -t network PROVISIONING-SVC -i dynamicrange
Object name: PROVISIONING-SVC
dynamicrange=10.2.72.2-10.2.72.254
On Wed, Jul 1, 2015 at 12:01 PM, Samveen ListReceipient <
[email protected]> wrote:
> The network related items of my node definition are as follows:
>
> [root@xcatmn01 xcat_prep]# lsdef -t node -o xcatsn01 -i
> installnic,ip,mac,nicips,nictypes,primarynic,nichostnamesuffixes
>
> Object name: xcatsn01
>
> installnic=eth0
>
> ip=10.4.0.10
>
>
> mac=00:25:90:14:f8:18!xcatsn01-s|00:25:90:14:f8:19!xcatsn01|00:25:90:14:f2:c3!xcatsn01-m
>
> nichostnamesuffixes.ipmi=-m
>
> nichostnamesuffixes.eth0=-s
>
> nicips.eth1=10.4.0.10
>
> nicips.ipmi=10.1.240.10
>
> nicips.eth0=10.2.72.4
>
> nictypes.ipmi=Ethernet
>
> nictypes.eth1=Ethernet
>
> nictypes.eth0=Ethernet
>
> primarynic=eth1
>
> The /etc/hosts entries are as follows:
>
> [root@xcatmn01 xcat_prep]# grep xcatsn01 /etc/hosts
>
> 10.4.0.10 xcatsn01 xcatsn01.poc.lzd.co xcatsn01-eth1
>
> 10.1.240.10 xcatsn01-m xcatsn01-m.poc.lzd.co
>
> 10.2.72.4 xcatsn01-s xcatsn01-s.poc.lzd.co
>
> The DHCP lease entries are as follows:
>
> host xcatsn01 {
>
> dynamic;
>
> hardware ethernet 00:25:90:14:f8:19;
>
> fixed-address 10.4.0.10;
>
> supersede server.ddns-hostname = "xcatsn01";
>
> supersede host-name = "xcatsn01";
>
> if option user-class-identifier = "xNBA" and option
>
> client-architecture = 00:00 {
>
> supersede server.filename =
>
> "http://
> ${next-server}/tftpboot/xcat/xnba/nodes/xcatsn01";
>
> } elsif option client-architecture = 00:00 {
>
> supersede server.filename = "xcat/xnba.kpxe";
>
> } else {
>
> supersede server.filename = "";
>
> }
>
> }
>
> host xcatsn01-m {
>
> dynamic;
>
> hardware ethernet 00:25:90:14:f2:c3;
>
> fixed-address 10.1.240.10;
>
> supersede server.ddns-hostname = "xcatsn01";
>
> supersede host-name = "xcatsn01";
>
> if option user-class-identifier = "xNBA" and option
>
> client-architecture = 00:00 {
>
> supersede server.filename =
>
> "http://
> ${next-server}/tftpboot/xcat/xnba/nodes/xcatsn01";
>
> } elsif option client-architecture = 00:00 {
>
> supersede server.filename = "xcat/xnba.kpxe";
>
> } else {
>
> supersede server.filename = "";
>
> }
>
> }
>
> host xcatsn01-s {
>
> dynamic;
>
> hardware ethernet 00:25:90:14:f8:18;
>
> supersede server.ddns-hostname = "xcatsn01";
>
> supersede host-name = "xcatsn01";
>
> if option user-class-identifier = "xNBA" and option
>
> client-architecture = 00:00 {
>
> supersede server.filename =
>
> "http://
> ${next-server}/tftpboot/xcat/xnba/nodes/xcatsn01";
>
> } elsif option client-architecture = 00:00 {
>
> supersede server.filename = "xcat/xnba.kpxe";
>
> } else {
>
> supersede server.filename = "";
>
> }
>
> }
>
> As can be seen from the lease entry for xcatsn01-s and xcatsn01-m, the
> ddns-hostname is the same for all 3 entries. My expectation of the ddns
> behaviour is that it should match the /etc/hosts (and `makedns`) actions.
> ie. for xcatsn01-s, the server.ddns-hostname = "xcatsn01-s"; and for
> xcatsn01-m, the server.ddns-hostname = "xcatsn01-m";
>
> The existing behaviour causes trouble for me as the IP for xcatsn01-s is
> assigned from the dynamic range, instead of the static range, and thus my
> /etc/hosts and DNS entries don't remain in sync, leading to unexpected
> behaviour.
>
> Am I correct in my expectation or it is unrealistic?
>
> --
> 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 ..)
>
--
--
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 ..)
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user