Thanks Aaron, you didn't quite answer the question I asked.

I can see the network as I noted in the original email, by using the shorthand

lsdef -t network ib

the problem I am seeing is that new machines on that network are not having the 
network appear in
the search field in their /etc/resolv.conf.

IE. I have networks gen and ib.

Some machines are only on gen. Some are on both.

node01 and node03 are on both.

After following all the documentation, I start node01 and node03 and they 
install.

At the end of the installation, I login to each and:

[root@node01 ~]# cat /etc/resolv.conf 
; generated by /usr/sbin/dhclient-script
search gen. domain.com.au
nameserver 10.197.35.201

[root@node03 ~]# cat /etc/resolv.conf
# Generated by NetworkManager
search gen domain.com.au
nameserver 10.197.35.201

The difference here is node01 has confignetwork is in postbootscripts and 
node03 has confignetwork
in postscripts

My main concern is that the network ib isn't appearing in the search field of 
the node's
/etc/resolv.conf.

A secondary uncertainty is why changing when confignetwork runs changes how 
resolv.conf is built
(dhclient vs NetworkManager)

I have been reading and re-reading the documentation (and submitting bug 
reports/pull requests when
I'm finding glaring errors), but I am new to xcat, new to Infiniband and 
networking has never been a
strong suit. 

Cheers
L.

On Thu, 2020-02-27 at 20:57 -0800, aaronhc...@gmail.com wrote:
> Using lsdef , with -t, you're telling it type, you also need to specify
> what ib is, which is an object.  -o
> 
> So your command is "lsdef -t network -o ib"
> 
> That should give you what you're looking for.
> 
> Same thing would apply if you wanted information about a node.
> 
> lsdef -t node -o nodenameXXX
> 
> On Thu, Feb 27, 2020 at 8:53 PM Lachlan Simpson <lachlan.simp...@unsw.edu.au>
> wrote:
> 
> > Hi,
> > 
> > We are having trouble getting a network recognised as existing?!?!
> > 
> > 
> > [root@man ~]# lsdef -t network
> > gen  (network)
> > ib  (network)
> > mech-placeholder  (network)
> > mpi  (network)
> > noob  (network)
> > oob  (network)
> > [root@man ~]# lsdef -t network ib
> > Object name: ib
> >     domain=ib
> >     mask=255.255.254.0
> >     mgtifname=ib0
> >     net=10.197.38.0
> > 
> > I can see the network in tabedit/tabdump network.
> > 
> > tabdump nics:
> > 
> > 
> > #node,nicips,nichostnamesuffixes,nichostnameprefixes,nictypes,niccustomscripts,nicnetworks,nical
> > ia
> > ses,nicextraparams,nicdevices,nicsadapter,comments,disable
> > 
> > "ib","ib0!|(\d+)|10.197.38.($1+0)|","ib0!-
> > ib",,"ib0!Infiniband",,"ib0!ib","ib0!|(\d+)|($1).ib|",,,,,
> > 
> > 
> > When I run an "unadorned" makedns, I see a pile of errors that look like
> > this:
> > 
> > Handling 037-ib in /etc/hosts.
> > Ignoring host 037-ib, it does not belong to any nets defined in networks
> > table or the net it
> > belongs to is configured to use an external nameserver.
> > 
> > [root@man ~]# cat /etc/hosts | grep 037
> > 10.197.34.37 037 037.gen
> > 10.197.38.37 037-ib 037-ib.ib
> > 10.197.36.37 037-mpi 037-mpi.mpi
> > 
> > 
> > (*mpi is a working, MPI over IP network. *ib is a new Infiniband network)
> > 
> > [root@man ~]# lsdef 037 --nics
> > Object name: 037
> >     nicaliases.ib0=037.ib
> >     nicaliases.eno2=037.mpi
> >     nichostnamesuffixes.ib0=-ib
> >     nichostnamesuffixes.eno2=-mpi
> >     nicips.ib0=10.197.38.37
> >     nicips.eno2=10.197.36.37
> >     nicnetworks.ib0=ib
> >     nicnetworks.eno2=mpi
> >     nictypes.ib0=Infiniband
> >     nictypes.eno2=Ethernet
> > 
> > Other symptoms include no ib entry in 037:/etc/resolv.com in the search
> > list.
> > 
> > What have we done wrong?
> > 
> > L.
> > 
> > --
> > 
> > Lachlan Simpson
> > 
> > Research Technology Services
> > 
> > UNSW Research Technology Services
> > Level 3, Chemical Sciences Building F10
> > UNSW SYDNEY NSW 2052 AUSTRALIA
> > E: lachlan.simp...@unsw.edu.au
> > W: https://research.unsw.edu.au
> > 
> > _______________________________________________
> > xCAT-user mailing list
> > xCAT-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/xcat-user
> > 
> 
> _______________________________________________
> xCAT-user mailing list
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
-- 
   
Lachlan Simpson

Research Technology Services

UNSW Research Technology Services
Level 3, Chemical Sciences Building F10
UNSW SYDNEY NSW 2052 AUSTRALIA
E: lachlan.simp...@unsw.edu.au
W: https://research.unsw.edu.au

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to