I failed to mention the distribution of the hostkeys.  So after xdsh -K and
you can xdsh with out any prompting for a password.  Then run the following
to distribute the hostkeys.   These are sort of optional,  but keep you
from being warned about automatically adding entiries to the known_hosts
file.

updatenode <noderange> -k    ( you again will be prompted for the root
password )

Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102





From:   Lissa Valletta/Poughkeepsie/IBM@IBMUS
To:     xCAT Users Mailing list <[email protected]>,
Cc:     "[email protected]"
            <[email protected]>
Date:   08/06/2013 01:15 PM
Subject:        Re: [xcat-user] ssh keys corruption



What you want to do is on the Management node run xcatconfig -k   and  then
xcatconfig -s.   This will regenerate the root ssh keys and the ssh common
hostkeys for the nodes and put it in the right places for xCAT.
Then run xdsh <noderange> -K to your nodes.
  It will prompt you for the root password, but after that will setup the
ssh keys on the nodes so you will be able to run xdsh and psh with out a
password.
Then test with
 xdsh <noderange> date


Lissa K. Valletta
8-3/B10
Poughkeepsie, NY 12601
(tie 293) 433-3102



Inactive hide details for Jack Singh ---08/06/2013 01:07:10 PM---I have
xcat 2.8.2 server running on Ubuntu 12.04 server. My noJack Singh
---08/06/2013 01:07:10 PM---I have xcat 2.8.2 server running on Ubuntu
12.04 server. My nodes are Ubuntu12.02 also

From: Jack Singh <[email protected]>
To: "[email protected]" <[email protected]>,
Date: 08/06/2013 01:07 PM
Subject: [xcat-user] ssh keys corruption



I have xcat 2.8.2 server running on Ubuntu 12.04 server.
My nodes are Ubuntu12.02 also
One of the users regenerated ssh keys on the management server and on the
nodes using the two following commands
ssh-keygen -t dsa
ssh-keygen -t rsa

Now the xdsh , pscp commands wont work.
So I copied the keys in /etc/xcat/hostkeys over to one of the node01
Did ssh-copy-id of the root keys to node01 but I get the following errors
while trying to do that.

xdsh node01 -K
Enter the password for the userid: root on the node where the ssh keys
will be updated:

Error: SSH setup failed for the following nodes: hpcnode01.
return code = 1

How can I setup keys over again ?
------------------------------------------------------------------------------

Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------

Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

<<inline: graycol.gif>>

------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to