Commit Graph

45 Commits

Author SHA1 Message Date
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
ligc
192d8e77cf fix for bug 3391271: add dns forwarder into /var/named/db.cache to support dns forwarder on AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10505 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-13 02:29:29 +00:00
lissav
8b5457c410 user Utils->SELINUX to check for selinux enabled
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10336 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-22 12:02:08 +00:00
lissav
db03b9948d added selinux check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10322 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-19 11:55:15 +00:00
lissav
e8f39c6866 add error process per defect 3393849
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-19 11:32:43 +00:00
lissav
7eb6cdac76 Allow domain in /etc/resolv.conf for AIX
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10318 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-18 17:38:53 +00:00
otubo
3fc059acb4 Fix for bug #3391658, by Renan Guerra <renan.nannetti@gmail.com>
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10286 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-15 00:30:40 +00:00
sjing
eea5c1c769 The user provided fix for makedns issue of domain without dots, introduced new bug.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10280 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-12 11:17:36 +00:00
lissav
d68bd60d13 add check for search for site.domain in /etc/resolv.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-09 16:39:47 +00:00
sjing
c4eabee332 Fixed the makedns issue for domain without dots.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-09 07:50:36 +00:00
lissav
53345329d3 add warning if nameserver site.master not found in /etc/resolv.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10238 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-07 11:24:49 +00:00
sjing
488434e985 undo the fix, will add it after I get the an agreement signed by
Max Kovalenko, who provided the efix.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-05 08:35:44 +00:00
sjing
c7a68e6106 support domain without dot.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10232 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-05 08:27:59 +00:00
lissav
1e1597db88 take out creation of /etc/resolv.conf
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-04 20:52:07 +00:00
sjing
bf4861084a generate /etc/resolv.conf on mn, also keep the original logic for the dynamic query of "NS" record.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10220 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-04 06:57:18 +00:00
lissav
30c65f7b30 fix for running makedns multiple time creates bad named.conf defect 3383702
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-03 19:57:41 +00:00
sjing
059780f587 Fix for the issue - makedns with no flag does not work.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-27 05:14:47 +00:00
jbjohnso
2234fd8eb0 Hint for making ipv6 named work great
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10140 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-21 14:37:54 +00:00
sjing
bd957d710f Add stub hint zone for AIX, to handle the scenario where the xcat mn is it's own nameserver and will go no where else for name resolution.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10123 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-20 06:45:30 +00:00
sjing
6292010005 Temp fix for bugzilla 73119, chown root:named to /var/lib/named dir, which is the default DNS working dir on SLES. This is just a temp workaround in xcat code before we get response from SuSE.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10114 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-19 06:26:52 +00:00
jbjohnso
d1228353b2 Add CentOS 6.0 support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10060 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-12 20:18:36 +00:00
jbjohnso
72f0ae7b4f Forbid removing all /etc/hosts entries from DNS with makedns -d as it pretty well corrupts most configs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9983 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-29 17:57:25 +00:00
sjing
d9e88fa588 makedns -d must be followed by noderange.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-28 09:07:53 +00:00
sjing
a854098a7d do not need message for localhost.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9910 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 07:39:43 +00:00
sjing
9a116c59ad exclude the nodes not belong to any nets defined in networks table, and add some messages whick is useful in scaling cluster.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9909 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-23 07:10:36 +00:00
sjing
8b7074745c return after usage display.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9880 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-22 03:33:51 +00:00
jbjohnso
212ec6ecec Workaround issues when getipaddr returns undefined value in ddns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9827 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-06-16 13:45:21 +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
22219b3dad support ddns as the default dnshandler.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9576 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-12 07:59:51 +00:00
sjing
d8481333cb Configure DNS on the SNs to always forward unknown requests to the MN, set forwarders in /etc/named.conf to site.master.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9556 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-05-11 06:48:21 +00:00
sjing
e748fe4c13 add usage and argument check.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9308 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-14 02:38:36 +00:00
sjing
d2ba7033d4 Support -n flag on AIX.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9293 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-13 08:08:32 +00:00
sjing
d6e50f92aa kept the original logic for classless networks bigger than /24(multiple zones).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9290 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-13 02:55:22 +00:00
sjing
cdf2406be1 Support ddns.pm on AIX and support the classless networks(e.g. 9.114.113.251/255.255.255.224).
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-12 11:22:43 +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
9c6508d6cd -More IPv6 work on DDNS plugin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-26 18:19:45 +00:00
jbjohnso
12ea72629f -Fix NetworkUtils to act no differently before if no arguments are passed to do otherwise.
-Have makedns get v4 and v6 addresses if both are available


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-01-26 16:07:01 +00:00
bp-sawyers
3c9c584141 fixed ddns.pm plugin loading problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8357 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-08 11:43:56 +00:00
jbjohnso
ce42fbcf9d -Pull in patches from Stepanov for ddns.pm to work in a more distro-agnostic way
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8295 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-12-01 13:00:18 +00:00
jbjohnso
3cac50a3bc -Fix multiwide blade rcons
Have ddns delete TXT records for DHCP to avoid confusion

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 20:21:39 +00:00
jbjohnso
4b9b522470 -Add a '-d' argument to ddns makedns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7224 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-25 13:13:44 +00:00
cjhardee
4dd2631bdf Refactered sendmsg to live in SvrUtils.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-06 15:29:07 +00:00
jbjohnso
2ccacb4095 -Fix problem in ddns rename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 20:46:37 +00:00
jbjohnso
64f0268c1e -Attempt to make bind.pm default again and ddns a table configurable option
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 20:39:51 +00:00
jbjohnso
70e17c7377 -Rename dns to ddns for sake of switching via table value
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-07-21 14:58:04 +00:00