FYI.  There is a site table attribute called: dhcpsetup, if it is set to 
'n', then it will skip the dhcp setup process for the node in the nodeset 
cmd.  You can shut down the dhcpd and set site.dhcpsetup to 'n'. 

Ling

Ling Gao
Poughkeepsie Unix Development Lab
IBM Systems and Technology Group
Internal: T/L 293-5692 
External: [email protected], 845-433-5692

"I never worry about the future. It comes soon enough." --- Albert 
Einstein 



From:   Jarrod Johnson <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   12/01/2014 09:23 AM
Subject:        Re: [xcat-user] xCAT with external DHCP and PXE via 
proxyDHCP



I actually have a plan for confluent to be able to resolve this precise 
scenario without so much awkwardness in the future.

In terms of *today*, I think c or b would be the easiest option if a is 
deemed impossible.  The punchline is to try to boot xNBA (efi or kpxe) and 
then point ipxe at http://${next-server}/tftpboot/xcat/xnba/nodes/n12 or 
http://${next-server}/tftpboot/xcat/xnba/nodes/n12.uefi , depending on how 
your nodes boot.

 Switching between netboot payloads shouldn't require changing dhcp on the 
fly (unless pushing iSCSI parameters down or similarly exotic stuff), 
changing to not netboot at all would potentially break.

The scenario to imitate (can be adjusted according to your circumstances):
  if option user-class-identifier = "xNBA" and option client-architecture 
= 00:00 {
          supersede server.filename =                  "http://$
{next-server}/tftpboot/xcat/xnba/nodes/n12";
        } elsif option user-class-identifier = "xNBA" and option 
client-architecture = 00:09 {
          supersede server.filename =  "http://$
{next-server}/tftpboot/xcat/xnba/nodes/n12.uefi";
        } elsif option client-architecture = 00:07 {
          supersede server.filename = "xcat/xnba.efi";
        } elsif option client-architecture = 00:00 {
          supersede server.filename = "xcat/xnba.kpxe";
      }


Jarrod Johnson
Systems Management Architect 
Lenovo



-----Original Message-----
From: Martin Tippmann [mailto:[email protected]] 
Sent: Wednesday, November 26, 2014 12:40 PM
To: [email protected]
Subject: [xcat-user] xCAT with external DHCP and PXE via proxyDHCP

Hi,

We plan to deploy xCAT on a network where DHCP is already configured and 
is out of our control. There is no documentation regarding this use case 
in the xCAT documentation...

There is a proxydhcp-xcat binary through but after reading through the 
source it looks like it's strictly for Windows deployments and not 
compatible for Linux...

Does that mean using xCAT for deploying Linux via PXE with proxyDHCP is 
unsupported? As far as I've understood the architecture usally a mandatory 
dhcpd is running on the master and this dhcpd does DHCP for IP-addresses 
and for PXE.

So what are my choices? Would love to get someback on these options:

a) Disabling external DHCP and using dhcpd on the xCAT master - I'd like 
to avoid that but this would work I assume.

b) Using proxyDHCP for PXE while using the external DHCP for IP assignment 
- could be make working if I patch proxydhcp-xcat heavily (or run a 
dnsmasq that needs to manually configured) and disable dhcpd on the xCAT 
master?

c) Change external DHCP settings to emulate PXE settings for xCAT. And 
disable dhcpd on the master completly. I assume this does not work because 
it's breaks switching images? Or does pointing to a general iPXE image 
would solve the problem?

d) Doing something entirely different.. the machines are Dell R720 and 
they support also booting directly via iSCSI and other goodies I've yet to 
learn about... but there appears to be no support from xCAT for anything 
beyond PXE for stateless images?

I'd like to have b) working without much needs to maintain a patch..
is this realistic? If c) works everything would be fine, too.


Thanks for any hints!


regards
Martin

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from 
Actuate! Instantly Supercharge Your Business Reports and Dashboards with 
Interactivity, Sharing, Native Excel Exports, App Integration & more Get 
technology previously reserved for billion-dollar corporations, FREE 
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk

_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user


------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to