xCAT assigns IP addresses as DHCP reservations, rather than as actual
static IP addresses.

Take a look in the /var/lib/dhcpd/dhcpd.leases file; that's where the xCAT
puts the reservations.


On Tue, Oct 24, 2017 at 11:30 AM, Imam Toufique <techie...@gmail.com> wrote:

> Hi Kevin,
>
> Thanks for sharing your node config.  So, I was able to build the node
> finally, I had to do 'nodediscoverdef -u 4C4C4544-0039-3110-804A-B6C04F544B31
> -n n02' .  When you say, 'assign an IP address..." did you mean assigning a
> BMC IP?  Also, I don't fully understand the chain concept yet, as I have
> not read much about it.  I will start reading about.  But you know, my
> builds are stateful as this time, so I am not sure if chain will help me
> with anything.
>
> I do have another issue that I just noticed with the imaged node.  the
> node that I built, I set up a static IP for it in the /etc/hosts file.
>
> here is my /etc/hosts file:
>
> 127.0.0.1   localhost localhost.localdomain localhost4
> localhost4.localdomain4
> ::1         localhost localhost.localdomain localhost6
> localhost6.localdomain6
> 10.1.1.20   xcatmaster xcatmaster.localdomain
> #
> 10.1.1.81   n01 n01.localdomain
> *10.1.1.82   n02 n02.localdomain*
> 10.1.1.83   n03 n03.localdomain
>
> so, on n02, when it was built, /etc/sysconfig/network-scripts/ifcfg-eth0
> file has the following:
>
> DEVICE="eth0"
> *BOOTPROTO="dhcp"*
> HWADDR="00:24:E8:36:AD:95"
> NM_CONTROLLED="yes"
> ONBOOT="yes"
> TYPE="Ethernet"
> UUID="3e48a0e7-0691-4fb8-b921-727ebe37f257"
>
> Note, BOOTPROTO is set to 'DHCP', I thought xcat will add 10.1.1.82 as a
> static IP(?).  I am sure that I am missing something, just don't know yet
> what I am doing wrong here.
>
> --imam
>
>
> On Tue, Oct 24, 2017 at 10:40 AM, Kevin Keane <kke...@sandiego.edu> wrote:
>
>> By coincidence, I am actually working on a similar issue right now,
>> although I'm trying to get netboot to work.
>>
>> I don't have a complete answer, but I can point you to a few things:
>>
>> - You probably would want to assign an IP address as well.
>> - You may want to check out the chain attribute as well (note: I know
>> that my chain is not correct, so don't just copy that!)
>>
>> Here is my node definition - it isn't working, either, but I think I
>> might be a few steps ahead of you, so you may still get some ideas from it:
>>
>> Object name: hpccn-001
>>     arch=x86_64
>>     chain=runimage=http://192.168.101.1/tftpboot/xcat/osimage/rh
>> els7.4-x86_64-netboot-hpccn/initrd-stateless.gz
>>     groups=compute,all
>>     installnic=mac
>>     ip=192.168.101.3
>>     mac=52:54:00:f2:e6:39
>>     netboot=xbna
>>     nichostnamesuffixes.eth2=-imm
>>     nichostnamesuffixes.eth0=-compute
>>     nicips.eth2=192.168.101.3
>>     nicips.eth0=192.168.100.3
>>     os=rhels7.4
>>     postbootscripts=otherpkgs
>>     postscripts=syslog,remoteshell,syncfiles,setupntp
>>     primarynic=mac
>>     profile=hpccn
>>     provmethod=netboot
>>     serialport=0
>>     serialspeed=115200
>>
>>
>> On Tue, Oct 24, 2017 at 10:27 AM, Imam Toufique <techie...@gmail.com>
>> wrote:
>>
>>> Hello everyone,
>>>
>>> We are trying to test xcat out in our cluster and I need some help.
>>>
>>> Here is the issue I have:
>>>
>>> I have followed the following document to setup the environment:
>>>
>>> https://sourceforge.net/p/xcat/wiki/XCAT_iDataPlex_Cluster_Quick_Start/
>>>
>>> I added my first node manually, as I did not want auto discovery. Here
>>> is my
>>>
>>> [root@xcatmaster xcat]# lsdef n02
>>> Object name: n02
>>>     arch=x86_64
>>>     groups=compute
>>>     installnic=mac
>>>     mac=00:24:E8:36:AD:95
>>>     netboot=xnba
>>>     os=centos6.9
>>>     postbootscripts=otherpkgs
>>>     postscripts=syslog,remoteshell,syncfiles
>>>     primarynic=mac
>>>     profile=compute
>>>     provmethod=centos6.9-x86_64-install-compute
>>>
>>> The node above does not have BMC, it is a standard PC.  when I power on
>>> the node, i see the following messages in syslog:
>>>
>>> Oct 24 10:16:20 10.1.1.61 (none)  xcat.genesis.dodiscovery: Beginning
>>> echo information to discovery packet file...
>>> Oct 24 10:16:20 10.1.1.61 (none)  xcat.genesis.dodiscovery: Discovery
>>> packet file is ready.
>>> Oct 24 10:16:20 10.1.1.61 (none)  xcat.genesis.dodiscovery: Sending the
>>> discovery packet to xCAT (10.1.1.20:3001)...
>>> Oct 24 10:16:20 10.1.1.61 (none)  xcat.genesis.dodiscovery: Sleeping 5
>>> seconds...
>>> Oct 24 10:16:21 10.1.1.63 (none)  xcat.genesis.dodiscovery: Couldn't
>>> find MTM information in FRU, falling back to DMI (MTMS-based discovery may
>>> fail)
>>> Oct 24 10:16:21 10.1.1.63 (none)  xcat.genesis.dodiscovery: Beginning
>>> echo information to discovery packet file...
>>> ^C
>>> [root@xcatmaster xcat]# tail -f computes.log
>>> Oct 24 10:17:41 10.1.1.63 (none)  xcat.genesis.dodiscovery: Couldn't
>>> find MTM information in FRU, falling back to DMI (MTMS-based discovery may
>>> fail)
>>> Oct 24 10:17:41 10.1.1.63 (none)  xcat.genesis.dodiscovery: Beginning
>>> echo information to discovery packet file...
>>> Oct 24 10:17:42 10.1.1.63 (none)  xcat.genesis.dodiscovery: Discovery
>>> packet file is ready.
>>> Oct 24 10:17:42 10.1.1.63 (none)  xcat.genesis.dodiscovery: Sending the
>>> discovery packet to xCAT (10.1.1.20:3001)...
>>> Oct 24 10:17:42 10.1.1.63 (none)  xcat.genesis.dodiscovery: Sleeping 5
>>> seconds...
>>>
>>> I think it is trying to look for BMC and not finding it, therefore, it
>>> just keep looking for it?  I am no expert in xcat, but is there a way to
>>> disable BMC discovery in xcat for nodes that do not have BMC?
>>>
>>> Please help, I need to get this thing up and going.
>>>
>>> Thanks a lot!
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> 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
>>> xCAT-user@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/xcat-user
>>>
>>>
>>
>>
>> --
>>
>> _______________________________________________________________________
>> Kevin Keane | Systems Architect | University of San Diego ITS |
>> kke...@sandiego.edu
>> Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 |
>> 619.260.6859 <%28619%29%20260-2298>
>>
>> ------------------------------------------------------------
>> ------------------
>> 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
>> xCAT-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/xcat-user
>>
>>
>
>
> --
> Regards,
> *Imam Toufique*
> *213-700-5485 <(213)%20700-5485>*
>
> ------------------------------------------------------------
> ------------------
> 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
> xCAT-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xcat-user
>
>


-- 

_______________________________________________________________________
Kevin Keane | Systems Architect | University of San Diego ITS |
kke...@sandiego.edu
Maher Hall, 192 |5998 Alcalá Park | San Diego, CA 92110-2492 | 619.260.6859
<%28619%29%20260-2298>
------------------------------------------------------------------------------
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
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to