If you nodeset <node> shell
Then boot it, ssh in and run bmcsetup by hand, the output may be informative as 
to why the BMC didn't get set up correctly.

-----Original Message-----
From: Nicolas Roosen [mailto:nicolas.roo...@hpe.com] 
Sent: Wednesday, June 21, 2017 11:50 AM
To: xcat-user@lists.sourceforge.net
Subject: [xcat-user] bmc setup with fixed IP addresses

Hello,

I'm in the process of installing a cluster of Supermicro x86_64 nodes with xCAT 
(CentOS 7.3).

I created a single node (manually with mkdef and nodeset), can install it 
successfully.

But one thing doesn't work for me: the setup of the BMC ip address.

In our setup the BMC is shared over the first Ethernet interface. So I've 
declared a DHCP dynamic range, all BMC's get an IP address.

Then I need to change this dynamically obtained BMC IP address in a static one 
(which is in a different subnet).

So I though that simply adding into the node definition the BMC ip address and 
setting a [chain="runcmd=bmcsetup"] was enough.
But it seems that this is not the case.

How can I automatically change the BMC ip address while provisioning a node?

Thanks.
Nicolas

P.S: the mkdef command:

mkdef -t node -o n039-clu "groups=all,ipmi" arch="x86_64" mgt="ipmi" 
bmc="10.33.192.53" mac="0c:c4:7a:70:f3:6e" ip="10.33.240.53" 
installnic=mac primarynic=mac provmethod="centos7.3-node-giga" 
chain="runcmd=bmcsetup"

P.S. 2: the node definition.

lsdef n039-clu
Object name: n039-clu
     arch=x86_64
     bmc=10.33.192.53
     bmcpassword=admin
     bmcport=0
     bmcusername=admin
     chain=runcmd=bmcsetup
     groups=all,ipmi
     installnic=mac
     ip=10.33.240.53
     mac=0c:c4:7a:70:f3:6e
     mgt=ipmi
     netboot=xnba
     nfsserver=10.33.240.1
     os=centos7.3
     postbootscripts=otherpkgs
     postscripts=syslog,remoteshell,syncfiles
     primarynic=mac
     profile=node-giga
     provmethod=centos7.3-x86_64-node-giga
     tftpdir=/tftpboot
     tftpserver=10.33.240.1
     xcatmaster=10.33.240.1

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

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