Commit Graph

144 Commits

Author SHA1 Message Date
daniceexi
dab482bd6b Add the lease time for dhcpd.conf which can be configured from site table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12730 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 12:15:47 +00:00
linggao
708895577c Fixed the wrong callback structre that caused defect 3510390
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12417 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-30 19:42:06 +00:00
linggao
61e76db19a fix the error callback in dhcp.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 20:08:10 +00:00
wanghuaz
0c51beba69 add minor change to last checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12042 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 02:57:21 +00:00
wanghuaz
d501fd51b9 add the support to delete all multiple mac addresses from lease file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-26 03:48:39 +00:00
jbjohnso
0cd91682cc Fix problem where some BIOS boots require broadcast response and iPXE is
just too optimistic on the whole situation.

Had considered changing iPXE code, but easier to switch behavior in dhcp server,
as an iPXE change impacts UEFI boot which all tests indicates being ok with unicast

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-13 16:00:15 +00:00
yinle
165ac01821 "getnodetype performance improvement": change getnodetype related code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 08:53:15 +00:00
sjing
08c759d221 support site.ntpservers=<xcatmaster>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11521 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-09 07:53:28 +00:00
jbjohnso
1ac85cfcb0 Correct 3461411 caused by 12/6 checkin, should be reviewed by wanghuaz
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-17 14:57:55 +00:00
wanghuaz
21df4284a0 Fixed the problem which adding lpars into dhcpsd.cnf with makedhcp command. lpar os deployment should be handled by NIM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-06 13:18:46 +00:00
jbjohnso
670522b98e Fix breakage of 'legacy' iscsi boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-18 15:20:03 +00:00
ericagar
cede69d8d7 Fix for defect 3419745: Fix Method to Determine if System is Ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-06 17:45:08 +00:00
jbjohnso
5e24e2302c Fix syntax error
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10651 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-27 17:55:07 +00:00
jbjohnso
8bc98c67d5 Apply belt and suspenders approach and conserve at least some memory in instal monitor process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10650 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-27 15:34:05 +00:00
jbjohnso
d69709b05e Fix dhcp6 config file growing out of control
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10648 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-27 15:23:19 +00:00
jbjohnso
0032eef33c Fix winshell state uefi netboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-21 13:14:21 +00:00
jbjohnso
0f97218e60 Add Windows support for UEFI boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10557 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 20:34:37 +00:00
jbjohnso
a824514ce8 Have offline remove UEFI related files
Do not attempt UEFI px if currstate is set to 'boot'
Implement ESXi5 UEFI PXE boot


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10554 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 19:11:10 +00:00
jbjohnso
1201990fc6 Fixup on uefi linux boot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10553 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-19 17:21:32 +00:00
jbjohnso
723077dcad Various fixes for genesis and UEFI boot in general
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10544 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-16 22:55:25 +00:00
jbjohnso
5863eab0ad Reworked Genesis scripting to provide screen managed console
Have mknb correctly create elilo/xnba config files
Have dhcp implement required hooks to start xnba.efi


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10533 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-15 22:00:55 +00:00
jbjohnso
0649fd9d53 Set POSIX tzdb dhcp entry if easy
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10509 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 13:59:53 +00:00
jbjohnso
f692356e42 Fix quoting issue in previous checkin to dhcp
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10454 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-06 19:36:47 +00:00
jbjohnso
3027db57c3 Repair error reporting after Ubuntu change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10453 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-06 19:35:19 +00:00
otubo
4dd1436e17 adding comment again, don't know how or why I uncommented those lines, thanks to Eric Agar, he catch the problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10324 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-19 14:37:07 +00:00
otubo
95da0c8dc0 Fix for bug #3391659, by Renan Guerra <renan.nannetti@gmail.com>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-15 00:49:23 +00:00
yinle
d292e44eb4 Fix bug 3184683: makedhcp -a shouldn't return error with nodes doesn't reach
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10263 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-10 11:25:48 +00:00
jbjohnso
6663712966 Stop instructing DHCP to try DDNS packets for hosts with fixed-address entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10226 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-04 14:17:00 +00:00
sjing
9bb3620748 Sync fix from ddns.pm to dhcp.pm for bug 3323752.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-29 07:00:45 +00:00
yinle
d3538e0de7 fix bug 3364752 : makedhcp error with 7/11 build
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10069 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-13 02:48:35 +00:00
yinle
0e2b2088c0 modify the way of finding nodetype
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-07 02:38:07 +00:00
wanghuaz
d072b35c53 omapi now is supporting hfi hardware type. we direct set the hardware type from omapi instead of change the lease file manually.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-30 08:14:24 +00:00
yinle
441124f457 Fix bug 3184683:makedhcp -a shouldn't return error with nodes doesn't reach
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9862 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-20 14:41:28 +00:00
sjing
d977ef6b32 Convert the <xcatmaster> keyword to SN's interface as known by compute node.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-13 03:58:36 +00:00
jbjohnso
469654a441 Fix dhcpd.conf mistake with ddns-domainname
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-10 17:59:30 +00:00
nott
1c8be72651 handle AIX/NIM entries
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-01 17:41:12 +00:00
sjing
4972c5cdc1 Support the /etc/hosts name resolution.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9667 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-24 07:58:22 +00:00
linggao
50c5175b3d fixed error intruduced by revision 9621
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-18 18:23:56 +00:00
jbjohnso
c4e00dbc54 -Make an effort to at least filter out a service node making dhcp definitions for itself locally
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9621 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-17 19:04:13 +00:00
sjing
bfa93c73f0 make the default value of networks.nameservers empty.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9591 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-13 07:31:18 +00:00
sjing
be3afc4ced support <xcatmaster> keyword in site/networks table.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9535 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-10 08:21:51 +00:00
jbjohnso
61e8a4ec3a Stop restarting dhcpd on merely adding a NIC. If a NIC is v4 or v6 only, it
is going to be reaped as an empty entry anyway.
Rely on flag being set in addnet, which would be the place of substance
to know if (and which) dhcp service needs restarting


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-01 13:29:32 +00:00
wanghuaz
b0009e4427 fixed bug: 3170686, nodeset modify config file dhcpd.lease
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9334 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-18 07:13:12 +00:00
ligc
cfb3c68892 change networks.gateway value <myself> to <xcatmaster>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-22 02:22:58 +00:00
ligc
ad652bc828 keyword <myself> as gateway in networks table
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8916 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-24 03:15:01 +00:00
jbjohnso
bea95cbe38 Rework message when uuid is not available to be less severe
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8858 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-16 15:51:08 +00:00
jbjohnso
0d2ea2a9ed -Allow per-network ddns suffix
-Change the genduiduuid script to avoid the quote as ascii


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8852 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-15 20:54:40 +00:00
jbjohnso
fe2a9d9eaa -Skip putting ddns update zones in dhcp.pm if dnshandler not set to ddns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-02-11 18:06:26 +00:00
jbjohnso
8df8c91166 -Correct to use getipaddr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-27 19:12:56 +00:00
jbjohnso
7a16766e74 Use getNodeIPaddress again with OnlyV4 enhancement
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8758 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-27 18:55:09 +00:00