[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] ALL newnode's interfaces added as role='expt'



We are trying to add about 90 experimental nodes into our new emulab
setup.  We're using the "New Testbed Node" web interface to add
these nodes.  We set each node to the proper NodeID, Identifier,
Type, IP, and set the switch type, card, and port for each
interface.  The make_dhpcd does not add the new nodes properly
because the query which returns the proper IP for each MAC returns
empty.  Our problem seems to be that the interfaces database
registers ALL interfaces as 'expt' type.  Because of this, probably,
no IPs are being added to interfaces also.  Can you suggest what we
could do to remedy this?  We can change them by hand, but with six
interfaces on 90 nodes, this is a bit of a headache.

I agree. This is intended to be mostly automated ... but the DB state
has to be correct. Lets try and figure this out for just one node
though. :-)

With one of your nodes booted into the newnode MFS, run this:

boss> /usr/testbed/libexec/switchmac

You might have to filter out the lines that do not apply to the one
node you picked to work with, which will be a real pain if all the
other nodes are still in the newnode MFS. Might want to power them
down.

Lbs
ps: the web interface calls out to switchmac, so once we get that
output correct, the web interface should start saying the right
things.