bmcdiscover command will created this node definition to xcatdb:

node-dell-poweredge-r230-7q3z7m2:
    objtype=node
    groups=all
    bmc=192.168.101.201
    cons=ipmi
    mgt=ipmi
    mtm=DELL:PowerEdge R230
    serial=7Q3Z7M2
    bmcusername=root
    bmcpassword=calvin

For your predefine the compute node, you need to update bmc info, mtm,
serial.....
chdef cn-001 bmc=192.168.101.201 bmcusername=root bmcpassword=calvin
mtm=DELL:PowerEdge R230 serial=7Q3Z7M2

then, reboot the bmc node:
rsetboot node-dell-poweredge-r230-7q3z7m2 net
rpower node-dell-poweredge-r230-7q3z7m2 boot

bmc node definition will be removed from xcat database once compute node
discovered via mtms.

refer this doc for more information:
http://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/manage_clusters/ppc64le/discovery/mtms/discovery_using_defined.html




Thanks,
Casandra

...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: Building 8, 3-B-04
cxh...@us.ibm.com





From:   Kevin Keane <kke...@sandiego.edu>
To:     xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date:   03/05/2018 03:47 PM
Subject:        Re: [xcat-user] How to configure IPMI?



Thank you, that filled in a big part of the puzzle!

I am still confused how to get bmcdiscover to add the information to the
existing node, instead of creating a new one.

bmcdiscover seems to generate a new second node, and I'm not sure how to
correlate that to the existing one. The page you pointed me to seems to
suggest this is a manual process?


node-dell-poweredge-r230-7q3z7m2:
    objtype=node
    groups=all
    bmc=192.168.101.201
    cons=ipmi
    mgt=ipmi
    mtm=DELL:PowerEdge R230
    serial=7Q3Z7M2
    bmcusername=root
    bmcpassword=calvin

And this is the one I already have predefined.

Object name: cn-001
    arch=x86_64
    cons=ipmi
    groups=ipmi,all,all,compute
    installnic=mac
    ip=192.168.101.3
    mac=50:9A:4C:74:58:0F
    mgt=ipmi
    netboot=xnba
    nichostnamesuffixes.em1=-comp
    nichostnamesuffixes.em2=-mgt
    nicips.em1=192.168.100.3
    nicips.em2=192.168.101.3
    os=rhels7.4
    postbootscripts=otherpkgs,confignics
    postscripts=syslog,remoteshell,syncfiles,setupntp
    primarynic=mac
    profile=hpccn
    provmethod=rhels7.4-x86_64-netboot-hpccn
    updatestatus=failed
    updatestatustime=02-20-2018 16:26:47



On Mon, Mar 5, 2018 at 11:33 AM, Casandra H Qiu <cxh...@us.ibm.com> wrote:
  predefined compute node definition, and use one of discovery method to
  find BMC . xCAT will match BMC and compute nodes during the discover
  phase and setting all the required fields (mac, ip address, hostname and
  etc..)

  Refer to this doc:
  
http://xcat-docs.readthedocs.io/en/stable/guides/admin-guides/manage_clusters/ppc64le/discovery/mtms/discovery.html?highlight=bmcdiscover




  Thanks,
  Casandra


  ...................................................................
  Casandra Hong Qiu
  Phone: (845) 433-9291, t/l 293-9291
  Office: Building 8, 3-B-04
  cxh...@us.ibm.com



  Inactive hide details for Kevin Keane ---03/05/2018 02:08:11 PM---I am
  trying to understand how the IP addresses for IPMI on myKevin Keane
  ---03/05/2018 02:08:11 PM---I am trying to understand how the IP
  addresses for IPMI on my nodes is actually assigned. I create m

  From: Kevin Keane <kke...@sandiego.edu>
  To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
  Date: 03/05/2018 02:08 PM
  Subject: [xcat-user] How to configure IPMI?




  I am trying to understand how the IP addresses for IPMI on my nodes is
  actually assigned. I create my nodes manually (not by any discovery
  method).

  What I am not understanding right now is how to correlate the BMC MAC
  address (which is only in the dhcp leases file) to the correct node, and
  how to set a specific IP address, host name etc. for the BMC so the
  rpower, rcons etc. commands work correctly.

  Here is a sample of one of my nodes. My nodes are Dell servers with iDRAC
  9 IPMI is configured to share the first NIC, and use DHCP.

  Object name: cn-001
      arch=x86_64
      cons=ipmi
      groups=ipmi,all,all,compute
      installnic=mac
      ip=192.168.101.3
      mac=50:9A:4C:74:58:0F
      mgt=ipmi
      netboot=xnba
      nichostnamesuffixes.em1=-comp
      nichostnamesuffixes.em2=-mgt
      nicips.em1=192.168.100.3
      nicips.em2=192.168.101.3
      os=rhels7.4
      postbootscripts=otherpkgs,confignics
      postscripts=syslog,remoteshell,syncfiles,setupntp
      primarynic=mac
      profile=hpccn
      provmethod=rhels7.4-x86_64-netboot-hpccn
      updatestatus=failed
      updatestatustime=02-20-2018 16:26:47

  Currently, the iDRAC adapter obtains an IP address via DHCP from the
  dynamic range, without a good way for me to identify which lease belongs
  to which node.

  Thanks!

  --


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

  Check out the vibrant tech community on one of the world's most
  engaging tech sites, Slashdot.org!
  
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=pxebkHxVnnl4SYlApInHfzX0kgfydADs-2hbz1qNERA&s=Sb092eM7ZXsFzqlTvwz2zYc8nz1sgu4Ek0G03ASa3aM&e=

  _______________________________________________
  xCAT-user mailing list
  xCAT-user@lists.sourceforge.net
  
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=pxebkHxVnnl4SYlApInHfzX0kgfydADs-2hbz1qNERA&s=We1fPhISvNCdgvy89b1Y2XhHJWz4x1MF3J7qJ-kUcu8&e=





  ------------------------------------------------------------------------------

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

Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org!
https://urldefense.proofpoint.com/v2/url?u=http-3A__sdm.link_slashdot&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=DedaiUMRN7B7Ii624N18mXpzoCUcSlWzFWc4UzW4rT8&s=FP4VOnsbrR_Mp7yvAuYRkgmE6RaNjOzh9ArI9R5tROQ&e=
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.sourceforge.net_lists_listinfo_xcat-2Duser&d=DwICAg&c=jf_iaSHvJObTbx-siA1ZOg&r=n1LR_Py9TQX0dVqfGTbLHUMGx25-C8VtBDS0nCzyNXY&m=DedaiUMRN7B7Ii624N18mXpzoCUcSlWzFWc4UzW4rT8&s=apeJ9e0b545GFf9xu9LHerHUZBIhVfDItqHhwGWo_LM&e=



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