Hi Thomas,
 
    I don't think 'noderes.installnic' could meet your expectation:  PXE from eth0, but set IP to eth2 after provisioning (DHCP or static).
 
    I'm still curious about your new discovering, looks like it is discovered by eth0 with other method, instead of eth2 with switch based discovery.
 
    And as discovery is only done once,  is it acceptable for you to set MAC of eth0 to `noip` and then  refresh dhcp? This could make dhcp server not answering the MAC of eth0, in that your node always use eth2 for PXE.
 
Bin Xu
HPC Software Development
Software Defined Infrastructure, IBM Systems
Phone: 86-010-82454067
 
 
----- Original message -----
From: Thomas HUMMEL <thomas.hum...@pasteur.fr>
To: xcat-user@lists.sourceforge.net
Cc:
Subject: Re: [xcat-user] noderes,nics,confignics
Date: Tue, Feb 19, 2019 7:29 PM
 
On 2/19/19 11:20 AM, Yuan Y Bai wrote:
> Hi Thomas
> To set install NIC with static ip, you can follow these steps:

ok thanks


> *nics.nicips* is mainly used for secondary nics, it contains
> comma-separated list of IP addresses per NIC.You can refer to usage
> command: `tabdump -d nics|grep nicips`

Ok, what I previously tried with this attribute was to set eth2 ip with
the same regexp as in the hosts table but the object definition would
take the regexp litterally. Then I tried to put the real ip (once regexp
is extanded) : the node object definition would have correct nicpi
attribute but in the end the node would still gets netbooted with eth0
configured : why ?

> *noderes.installnic* : The network adapter on the node that will be used
> for OS deployment, the installnic can be set to the network adapter name
> or the mac address or the keyword "mac" which means that the network
> interface specified by the mac address in the mac table will be used.
> You can refer to usage command: `tabdump -d noderes|grep installnic`.

Yes, I know this man section but I cannot see where installnic fits in
my scenario : again, setting installnic to eth2 has no effect on which
nic gets configured after discovery and once the node is netbooted :

how is this attribute supposed to be used ? Is it only for stateful mode ?

Thanks.

--
TH.




_______________________________________________
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