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,nicalia
> 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

Reply via email to