[xcat-user] Service Node trying to update Master DNS

2015-03-03 Thread Josh Nielsen
Hello all,

I have one xCAT MN and two SNs along with an external DNS server that they
all interact with. The SNs act as slave DNS servers that only sync down
changes made to the external (master) DNS server that is updated by
commands like 'makedns -e' from the MN only.

An issue I am running into, that I haven't tried since I moved to the MN/SN
hierarchy model, is that during a PXE deploy the new node gets a DHCP IP
from one of the SNs and then that SN tries to add the node's IP to the
external DNS server and can't. The SNs are not authorized to update the DNS
entries since it is a readonly slave that just syncs what it sees on the
master external DNS server. I can manually alter their named.conf to allow
updates to be pushed up from the slave named servers on the SNs, but I
wanted to check and see what others are doing for this issue first and
whether you allow your SNs DNS slaves update the master DNS. Perhaps I
configured something incorrectly to begin with.

One thing I do need to figure out though is why the node's entry in
/var/lib/dhcpd/dhcpd.leases is saying  dynamic though instead of
fixed-address and doesn't list the IP that shows for the node's config
with an lsdef. Perhaps that is why the makedns -e doesn't seem to help,
because it picks a different IP then tries to add it. Either way the SNs
don't have permission to update DNS.

Thanks,
Josh Nielsen
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


[xcat-user] configfirewall postscript

2015-03-03 Thread Kilian Cavalotti
Hi all,

I'm trying to use the configfirewall from /install/postscripts to
configure iptables on a stateful node. I added the script to the
node's postscripts.postbootscripts, but it complains about a missing
Perl dependency when executing. Is that expected?

# nodels login postscripts.postbootscripts
sugi-ln01: setroute,configfirewall --private eth1 --public eth0 --nat --ports 22

At installation, I see this:

Tue Mar  3 06:53:00 PST 2015 Running postscript: configfirewall
--private eth1 --public eth0 --nat --ports 22
Can't locate xCAT/Utils.pm in @INC (@INC contains: /opt/xcat/lib/perl
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at ./configfirewall line 12.
BEGIN failed--compilation aborted at ./configfirewall line 12.

Is that expected?

Thanks,
-- 
Kilian

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] configfirewall postscript

2015-03-03 Thread Kilian Cavalotti
Right, sorry:

# rpm -q xCAT
xCAT-2.9-snap201412080202.x86_64

Thanks!
-- 
Kilian

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user


Re: [xcat-user] configfirewall postscript

2015-03-03 Thread Russ Auld
Need to know the version of xcat that you are using.

 Original message 
From: Kilian Cavalotti kilian.cavalotti.w...@gmail.com 
Date:  
To: xCAT Users Mailing list xcat-user@lists.sourceforge.net 
Subject: [xcat-user] configfirewall postscript 
 
Hi all,

I'm trying to use the configfirewall from /install/postscripts to
configure iptables on a stateful node. I added the script to the
node's postscripts.postbootscripts, but it complains about a missing
Perl dependency when executing. Is that expected?

# nodels login postscripts.postbootscripts
sugi-ln01: setroute,configfirewall --private eth1 --public eth0 --nat --ports 22

At installation, I see this:

Tue MarĀ  3 06:53:00 PST 2015 Running postscript: configfirewall
--private eth1 --public eth0 --nat --ports 22
Can't locate xCAT/Utils.pm in @INC (@INC contains: /opt/xcat/lib/perl
/usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl
/usr/lib64/perl5 /usr/share/perl5 .) at ./configfirewall line 12.
BEGIN failed--compilation aborted at ./configfirewall line 12.

Is that expected?

Thanks,
-- 
Kilian

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user