[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Testbed-admins] database info reset by nfree command



I guess you suggestion might work for us, but it happened again.
This time i edited that node type from the web interface to include pxe_boot_path = > a string whose value is '/tftpboot/pxeboot.emu-vga'

but freeing the node from the web interface still resets the pxe_boot_path field in the nodes table for that node to NULL ..

Any suggestions ?

cheers,

Hussam
(Hussamuddin Nasir)

Netlab Operations Team

-------------------------------------------------------------------
Laboratory for Adv. Networking  Phone  : (859)218-0059
James F Hardymon Building       Fax    : (859)323-3740
301 Rose Street, Rm 202         E-mail : nasir@netlab.uky.edu
Lexington, KY 40506-0495        Web    : http://www.netlab.uky.edu

                        University of Kentucky
                        **********************
-------------------------------------------------------------------


On 04/13/2009 01:19 PM, Leigh Stoller wrote:
More specifically i see the problem in the nfree script

Do we need this or can i comment this out ??

The order is:

* If nodes.pxe_boot_path is set, use that.

* If there is a pxe_boot_path associated with the node type, use that.

* Otherwise, use the global default (in the dhcpd.conf file).

So, my first suggestion would be to use the node types (editnodetype
in the web interface) and add a pxe_boot_path attribute.

If it turns out that all the nodes are in the same type, then need to
figure something else out. Off hand, I do not want to recommend that
you comment out any code, not without refreshing my memory a bit more.

Lbs