Hi Lloyd,

Try running "mknb x86_64", this should create these files for you

regards,

Arif

On 25/01/2017 20:45, Lloyd Brown wrote:
> I'm just getting started testing xcat, so please don't laugh if this is
> too simple of a question.
>
> I've got a demo xcat MN, and I'm to the point of trying to boot a
> compute node, in this case diskless.  I'm using xnba to boot my x86_64
> host, but when it tries to pull from "http://[MN's
> IP]/tftpboot/xcat/xnba/nets/192.168.25.0_24", it gets a "No such file or
> directory".  It's right.  When I look in /tftpboot/xcat/xnba/nets, I see
> the following:
>
>> # ls -l /tftpboot/xcat/xnba/nets
>> total 24
>> -rw-r--r--. 1 root root 241 Jan 19 10:36 127.0.0.0_8
>> -rw-r--r--. 1 root root 241 Jan 19 10:36 127.0.0.0_8.elilo
>> -rw-r--r--. 1 root root 109 Jan 19 10:36 127.0.0.0_8.uefi
>> -rw-r--r--. 1 root root 245 Jan 19 10:36 192.168.64.0_24
>> -rw-r--r--. 1 root root 253 Jan 19 10:36 192.168.64.0_24.elilo
>> -rw-r--r--. 1 root root 113 Jan 19 10:36 192.168.64.0_24.uefi
> Now, the MN has 2 ethernet interfaces, eth0 (192.168.64.17, facing the
> outside world), and eth1 (192.168.25.7, facing the compute nodes).
> Clearly I missed a step setting up these files, but I'm struggling to
> figure out what it is, or how I missed it.
>
> So, in short, how do I force it to regenerate these files?  I've already
> verified that both networks are defined in (I think) the appropriate
> xcat tables:
>
>> [root@xcattest nets]# makenetworks -d
>>
>> #From xcattest.fsl.byu.edu.
>> 192_168_25_0-255_255_255_0:
>>      objtype=network
>>      net=192.168.25.0
>>      mask=255.255.255.0
>>      gateway=192.168.25.1
>>      mgtifname=eth1
>>      tftpserver=192.168.25.7
>> # Note: An equivalent xCAT network definition already exists.
>>
>>
>> #From xcattest.fsl.byu.edu.
>> 192_168_64_0-255_255_255_0:
>>      objtype=network
>>      net=192.168.64.0
>>      mask=255.255.255.0
>>      gateway=<xcatmaster>
>>      mgtifname=eth0
>>      tftpserver=192.168.64.17
>> # Note: An equivalent xCAT network definition already exists.
>>
>> [root@xcattest nets]#
>
> What am I missing here?
>
>
> For reference, here's the definition of the compute node in question:
>
>
>> # lsdef -t node m7stage-1-2
>> Object name: m7stage-1-2
>>      arch=x86_64
>>      bmc=m7stage-1-2-idrac
>>      cons=ipmi
>>      currstate=netboot rhels7.3-x86_64-compute
>>      groups=x86_64,all
>>     
>> initrd=xcat/osimage/rhels7.3-x86_64-netboot-compute/initrd-stateless.gz
>>      installnic=mac
>>      ip=192.168.25.100
>>     
>> kcmdline=imgurl=http://!myipfn!:80//install/netboot/rhels7.3/x86_64/compute/rootimg.cpio.gz
>> XCAT=!myipfn!:3001 NODE=m7stage-1-2 FC=0
>>      kernel=xcat/osimage/rhels7.3-x86_64-netboot-compute/kernel
>>      mac=90:B1:1C:CB:BC:4E
>>      mgt=ipmi
>>      netboot=xnba
>>      os=rhels7.3
>>      postbootscripts=otherpkgs
>>      postscripts=syslog,remoteshell,syncfiles
>>      primarynic=mac
>>      profile=compute
>>      provmethod=rhels7.3-x86_64-netboot-compute
>>      status=powering-on
>>      statustime=01-25-2017 11:35:27
>
> Thanks,
>
> Lloyd
>
>
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to