You must run the repo creating script 'mklocalrepo.sh' at the root dir of xcat-dep/. The correct path should be xcat-dep/rh7/x86_64 to run the 'mklocalrepo'.
Following is the example of my env:
Repo-id : xcat-dep
Repo-name : xCAT 2 depedencies
Repo-status : enabled
Repo-revision: 1447879863
Repo-updated : Wed Nov 18 14:27:22 2015
Repo-pkgs : 31
Repo-size : 101 M
Repo-baseurl : http://xcat.org/files/xcat/repos/yum/xcat-dep/rh6/x86_64/
Repo-expire : 21,600 second(s) (last: Thu Jan 7 03:55:20 2016)
Repo-name : xCAT 2 depedencies
Repo-status : enabled
Repo-revision: 1447879863
Repo-updated : Wed Nov 18 14:27:22 2015
Repo-pkgs : 31
Repo-size : 101 M
Repo-baseurl : http://xcat.org/files/xcat/repos/yum/xcat-dep/rh6/x86_64/
Repo-expire : 21,600 second(s) (last: Thu Jan 7 03:55:20 2016)
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: John Hosie <john_ho...@hotmail.com>
To: Xiao Peng Wang/China/IBM@IBMCN
Cc: "cxh...@us.ibm.com" <cxh...@us.ibm.com>, xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: RE: [xcat-user] xcat_key and DNS Configuration
Date: Mon, Apr 25, 2016 9:51 PM
yum repolist -v xcat*
Loading "fastestmirror" plugin
Loading "langpacks" plugin
Adding en_US.UTF-8 to language list
Config time: 0.013
Yum version: 3.4.3
Loading mirror speeds from cached hostfile
Setting up Package Sacks
pkgsack time: 0.010
Repo-id : xcat-2-core
Repo-name : xCAT 2 Core packages
Repo-status : enabled
Repo-revision: 1460218624
Repo-updated : Sat Apr 9 11:53:03 2016
Repo-pkgs : 12
Repo-size : 3.2 M
Repo-baseurl : file:///repo7/centos/7.2/xcat/xcat-core/
Repo-expire : 21,600 second(s) (last: Fri Apr 22 11:39:11 2016)
Repo-excluded: 6
Repo-filename: /etc/yum.repos.d/xCAT-core.repo
Repo-id : xcat-dep
Repo-name : xCAT Core dependencies
Repo-status : enabled
Repo-revision: 1460218638
Repo-updated : Sat Apr 9 11:53:22 2016
Repo-pkgs : 617
Repo-size : 1.7 G
Repo-baseurl : file:///repo7/centos/7.2/xcat/xcat-dep/
Repo-expire : 21,600 second(s) (last: Fri Apr 22 11:39:11 2016)
Repo-excluded: 117
Repo-filename: /etc/yum.repos.d/xCAT-dep.repo
repolist: 629
Sincerely,
John W. Hosie III301 509 1089 (M)301 869 6327 (H)
jwh3
Subject: Re: RE: [xcat-user] xcat_key and DNS Configuration
From: w...@cn.ibm.com
To: john_ho...@hotmail.com
CC: cxh...@us.ibm.com; xcat-user@lists.sourceforge.net
Date: Mon, 25 Apr 2016 03:13:16 +0000
Could you show out the output for command: yum repolist -v xcat*
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: John Hosie <john_ho...@hotmail.com>
To: Xiao Peng Wang/China/IBM@IBMCN
Cc: "cxh...@us.ibm.com" <cxh...@us.ibm.com>, xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: RE: [xcat-user] xcat_key and DNS Configuration
Date: Fri, Apr 22, 2016 8:46 PM
The MN is Centos-7.2.
I installed Centos 7. I did an update to Centos 7.2.
When I installed xCAT, it selected the prereqs. I don't know why it would have selected this perl-Net-DNS.
Sincerely,
John W. Hosie III301 509 1089 (M)301 869 6327 (H)
jwh3
Subject: Re: RE: [xcat-user] xcat_key and DNS Configuration
From: w...@cn.ibm.com
To: john_ho...@hotmail.com
CC: cxh...@us.ibm.com; xcat-user@lists.sourceforge.net
Date: Fri, 22 Apr 2016 02:42:21 +0000
Your MN is rh, right? I think you used incorrect xCAT dep repo. For rh the OS shipped perl-Net-DNS should be used. perl-Net-DNS shipped in xCAT dep is for sles only../sles12/x86_64/perl-Net-DNS-0.80-1.x86_64.rpm
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: John Hosie <john_ho...@hotmail.com>
To: Xiao Peng Wang/China/IBM@IBMCN
Cc: "cxh...@us.ibm.com" <cxh...@us.ibm.com>, xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Subject: RE: [xcat-user] xcat_key and DNS Configuration
Date: Fri, Apr 22, 2016 3:48 AM
I ran:
yum provides "*/Net/DNS.pm"
and I got the following output:
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
perl-Net-DNS-0.72-5.el7.x86_64 : DNS resolver modules for Perl
Repo : base
Matched from:
Filename : /usr/lib64/perl5/vendor_perl/Net/DNS.pm
perl-Net-DNS-0.80-1.x86_64 : Net-DNS - Perl DNS resolver module
Repo : xcat-dep
Matched from:
Filename : /usr/lib/perl5/site_perl/5.18.2/x86_64-linux-thread-multi/Net/DNS.pm
perl-Net-DNS-0.80-1.x86_64 : Net-DNS - Perl DNS resolver module
Repo : @xcat-dep
Matched from:
Filename : /usr/lib/perl5/site_perl/5.18.2/x86_64-linux-thread-multi/Net/DNS.pm
I think this tells me that the perl-Net-DNS in "xcat-dep" that I have uses the wrong version of perl. I should remove:
perl-Net-DNS-0.80-1.x86_64and install:
perl-Net-DNS-0.72-5.el7.x86_64Do you agree?
Sincerely,
John W. Hosie III301 509 1089 (M)301 869 6327 (H)
jwh3
Subject: Re: RE: [xcat-user] xcat_key and DNS Configuration
From: w...@cn.ibm.com
To: john_ho...@hotmail.com
CC: cxh...@us.ibm.com
Date: Thu, 21 Apr 2016 15:54:05 +0000
It's strange why the DNS.pm was installed in /usr/lib instead of /usr/lib64.In my x86_64 rh7.1, the DNS.pm is located in /usr/lib64/perl5/vendor_perl/Net/DNS.pm which installed by perl-Net-DNS-0.72-5.el7.x86_64.
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: John Hosie <john_ho...@hotmail.com>
To: Xiao Peng Wang/China/IBM@IBMCN
Cc: "cxh...@us.ibm.com" <cxh...@us.ibm.com>
Subject: RE: [xcat-user] xcat_key and DNS Configuration
Date: Thu, Apr 21, 2016 11:45 PM
The response I get is:
Can't locate Net/DNS.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 /opt/xcat/lib/perl/xCAT_plugin/ddns.pm line 4.
BEGIN failed--compilation aborted at /opt/xcat/lib/perl/xCAT_plugin/ddns.pm line 4.
When I run
locate DNS.pm
I get
/usr/lib/perl5/site_perl/5.18.2/x86_64-linux-thread-multi/Net/DNS.pm
Sincerely,
John W. Hosie III301 509 1089 (M)301 869 6327 (H)
jwh3
Subject: Re: RE: [xcat-user] xcat_key and DNS Configuration
From: w...@cn.ibm.com
To: john_ho...@hotmail.com
CC: cxh...@us.ibm.com
Date: Thu, 21 Apr 2016 15:26:13 +0000
The root cause for the failure of 'makedns' was the loading of plugin /opt/xcat/lib/perl/xCAT_plugin/ddns.pm failed. Could you run following command?# perl -I /opt/xcat/lib/perl/ -c /opt/xcat/lib/perl/xCAT_plugin/ddns.pmThe correct output should be:
/opt/xcat/lib/perl/xCAT_plugin/ddns.pm syntax OK
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: John Hosie <john_ho...@hotmail.com>
To: Xiao Peng Wang/China/IBM@IBMCN
Cc: "cxh...@us.ibm.com" <cxh...@us.ibm.com>
Subject: RE: [xcat-user] xcat_key and DNS Configuration
Date: Thu, Apr 21, 2016 10:15 PM
lsxcatd -a:Version 2.11 (git commit 9ea36ca6163392bf9ab684830217f017193815be, built Mon Nov 30 05:43:11 EST 2015)
This is a Management Node
dbengine=SQLite
makedns:Error: Unsupported requestxcatd -f:
Error loading module /opt/xcat/lib/perl/xCAT_plugin/activedirectory.pm ...skipping
Error loading module /opt/xcat/lib/perl/xCAT_plugin/ddns.pm ...skipping
Error loading module /opt/xcat/lib/perl/xCAT_plugin/ipmi.pm ...skipping
INFO xcatd: 'Command log writer' process 12931 is trying to get port 3003
The process stops at this point. So I hit "Ctl/C" to kill it, and it continued with:
INFO xcatd: 'Command log writer' process 12931 is terminated by TERM or INT signalAt this point, it returns to the prompt.
xcatd udp service 12928 quiescing
xcatd install monitor 12929 quiescing
INFO xcatd: 'Command log writer' process 12931 is terminated by TERM or INT signal
Sincerely,
John W. Hosie III301 509 1089 (M)301 869 6327 (H)
jwh3
Subject: Re: RE: [xcat-user] xcat_key and DNS Configuration
From: w...@cn.ibm.com
To: john_ho...@hotmail.com
CC: cxh...@us.ibm.com; xcat-user@lists.sourceforge.net
Date: Thu, 21 Apr 2016 00:33:09 +0000
It's weird. Show me the output of following:lsxcatd -amakednsxcatd -f
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: John Hosie <john_ho...@hotmail.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc: "cxh...@us.ibm.com" <cxh...@us.ibm.com>, Xiao Peng Wang/China/IBM@IBMCN
Subject: RE: [xcat-user] xcat_key and DNS Configuration
Date: Thu, Apr 21, 2016 5:05 AM
RE: [xcat-user] xcat_key and DNS Configuration
Thank you, Wang Xiaopeng (王晓朋).
The commands that were run are:
makedns -n
Error: Unsupported request
or
makedns
Error: Unsupported request
I thought a tabdump of passwd might be of interest:
tabdump passwd
#key,username,password,cryptmethod,authdomain,comments,disable
"system","root","xxxxxxxx",,,,
"ipmi","root","yyyyyyyy",,,,
Sincerely,
John W. Hosie III301 509 1089 (M)301 869 6327 (H)
jwh3
Subject: Re: RE: [xcat-user] xcat_key and DNS Configuration
From: w...@cn.ibm.com
To: john_ho...@hotmail.com
CC: cxh...@us.ibm.com; xcat-user@lists.sourceforge.net
Date: Wed, 20 Apr 2016 13:44:36 +0000
Could you give a full copy of what command did you run when got an error?
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: John Hosie <john_ho...@hotmail.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>, "cxh...@us.ibm.com" <cxh...@us.ibm.com>, Xiao Peng Wang/China/IBM@IBMCN
Cc:
Subject: RE: [xcat-user] xcat_key and DNS Configuration
Date: Wed, Apr 20, 2016 9:13 PM
OK. That sounds OK, but I've walked through setting up xcat based on instructions at :https://sourceforge.net/p/xcat/wiki/Cluster_Name_Resolution/#specifying-additional-network-interfaces-for-cluster-nodesand only gotten as far as the instructions to run "makedns -n". This is where I get the:
- Error: Unsupported request
So "makedhcp" has not yet been run. So, what is likely to be causing the "Unsupported request"? What should I be looking at?
Sincerely,
John W. Hosie III301 509 1089 (M)301 869 6327 (H)
jwh3
From: w...@cn.ibm.com
To: xcat-user@lists.sourceforge.net
CC: xcat-user@lists.sourceforge.net
Date: Wed, 20 Apr 2016 01:19:21 +0000
Subject: Re: [xcat-user] xcat_key and DNS Configuration
xcat_key is used to authorize who can change the dns server. This key is generated when you run 'makedhcp -n'.
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: "Casandra H Qiu" <cxh...@us.ibm.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: Re: [xcat-user] xcat_key and DNS Configuration
Date: Wed, Apr 20, 2016 4:36 AM
make sure these three attributres are defined in the xCAT site table (tabdump site):
1)forwarders
2)domain
3)nameservers
and also check the networks table, the net and mask attributes needs to define.
the xcat_key will get it from passwd table:
]# tabdump passwd
#key,username,password,cryptmethod,authdomain,comments,disable
"omapi","xcat_key","QjV0UG5vM2NXamZtVUJncEszejgzMUZSNnRXRTU2Sjk=",,,,
Thanks,
Casandra
...................................................................
Casandra Hong Qiu
Phone: (845) 433-9291, t/l 293-9291
Office: B/002, Floor 3, Z13
cxh...@us.ibm.com
John Hosie ---04/19/2016 03:58:19 PM---I'm trying to walk through the DNS configuration from documentation on a brand new xcat environment.
From: John Hosie <john_ho...@hotmail.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Date: 04/19/2016 03:58 PM
Subject: [xcat-user] xcat_key and DNS Configuration
I'm trying to walk through the DNS configuration from documentation on a brand new xcat environment. I need some help on a few things.
Lets start at the beginning. The prod environment I have already has an xcat key. But I'm trying to build a new test environment that will be a model for implementing a brand new xcat production environment when the new hardware gets installed. I tried walking through the documentation and ran into a snag. Every time I tried to do a makedns, whether with or without the "-n" parameter, I get:
- Error: Unsupported request
This is usually a pretty good indication that something is amiss. So I'm trying to figure out what is wrong. Eventually, this led me to there being a potential problem with /etc/named.conf. So I figure I can steal a good bit of it from my prod environment, but the one thing I'm confused about is "xcat_key". Do I need an "xcat_key"? Where does it come from? How do I get it? I don't have one in my passwd table in xcat in the test environment, but there is one in prod. So I know it was useful there. What do I need to do to get one?
Sincerely,
John W. Hosie III
301 509 1089 (M)
301 869 6327 (H)
jwh3------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------ Find and fix application performance issues faster with Applications Manager Applications Manager provides deep performance insights into multiple tiers of your business applications. It resolves application problems quickly and reduces your MTTR. Get your free trial! https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user