The genesis has some code to handle the static IP. Refer to the following part of code in the doxcat:
 
138         # doing static ip

Thanks
Best Regards
----------------------------------------------------------------------
Wang Xiaopeng (王晓朋)
IBM China System Technology Laboratory
Tel: 86-10-82453455
Email: w...@cn.ibm.com
Address: 28,ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District Beijing P.R.China 100193
 
 
----- Original message -----
From: "Russell Auld" <russa...@comcast.net>
To: "'xCAT Users Mailing list'" <xcat-user@lists.sourceforge.net>
Cc:
Subject: Re: [xcat-user] site.managedaddressmode
Date: Sun, Aug 7, 2016 11:30 PM
 

I suppose the real question is, can the xCAT Genesis kernel support static IP config on the kcmdline, like Anaconda does. The xCAT code would have to be updated to generate the pxe file with the extra info, and the kernel would have to use it.

It also appears that the Genesis kernel or the “doxcat” script reconfigures the IP address using DHCP a second time, just before it does the SSL certificate generation and the handshaking.

 

 

 

From: Russell Auld [mailto:russa...@comcast.net]
Sent: Saturday, August 6, 2016 8:16 AM
To: 'xCAT Users Mailing list' <xcat-user@lists.sourceforge.net>
Subject: [xcat-user] site.managedaddressmode

 

I found this feature in the site table:

managedaddressmode: The mode of networking configuration during node provision.

                     If set to 'static', the network configuration will be configured

                     in static mode based on the node and network definition on MN.

                     If set to 'dhcp', the network will be configured with dhcp protocol.

                     The default is 'dhcp'.

I set it to “static” and started using it for provisioning. I really like having the IP address, netmask, and DNS information set on the kcmdline. It makes it very clear what the node is to do during Kickstart, and it means that I don’t have to run “hardeths” and “confignics” as postscripts.

Yesterday, I was trying to runcmd=bmcsetup on some new hardware and it turns out that the using “static” mode will prevent the Genesis kernel from functioning, as it relies on DHCP to get an IP so that the nodes can communicate with the master.

Do I have to change back to “dhcp” setting for “managedaddressmode” to do bmcsetup? Is there a way to have it both ways?

Thanks,

Russ

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