Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   Strange happening with new users and keyed access on diskless cluster (http://www.linux-archive.org/centos/456704-strange-happening-new-users-keyed-access-diskless-cluster.html)

Roberto Nunnari 11-23-2010 07:12 PM

Strange happening with new users and keyed access on diskless cluster
 
Joseph Norris ha scritto:
> Hello to all,
>
> I have been battling this situation now for 3 days and still have not
> found a resolution. I appeal to any and all for help.
>
> Here are the facts as far as I can tell.
>
> 1) I moved a 66 node rocks based cluster to a diskless cluster using
> the latest version of Centos and all updates in place.
> 2) users are added with home directory mounted across the nodes on the
> cluster so a user's home directory would sit on /export/home with sym
> link from home on head node
> 3) sshkey-gen used to create public/private key in .ssh so that user
> can have keyless access to all nodes, allowing sge jobs to run across nodes.

For my cluster, I have set it up this way:

- on the mater node, set up /etc/ssh/ssh_known_hosts
so that it has a line for each node in the cluster, the key
taken from /etc/ssh/ssh_host_rsa_key.pub

- copy master:/etc/ssh to each node in the cluster

- the new user script only adds the user to the master node
and then pushes passwd and shadow and possibly group onto
the other cluster nodes.

That's it. Hope that helps.
Best regards.
Robi


_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Joseph Norris 11-23-2010 07:33 PM

Strange happening with new users and keyed access on diskless cluster
 
That's a very good idea - I will give it a try.

On 11/23/2010 12:12 PM, Roberto Nunnari wrote:
> Joseph Norris ha scritto:
>> Hello to all,
>>
>> I have been battling this situation now for 3 days and still have not
>> found a resolution. I appeal to any and all for help.
>>
>> Here are the facts as far as I can tell.
>>
>> 1) I moved a 66 node rocks based cluster to a diskless cluster using
>> the latest version of Centos and all updates in place.
>> 2) users are added with home directory mounted across the nodes on the
>> cluster so a user's home directory would sit on /export/home with sym
>> link from home on head node
>> 3) sshkey-gen used to create public/private key in .ssh so that user
>> can have keyless access to all nodes, allowing sge jobs to run across nodes.
> For my cluster, I have set it up this way:
>
> - on the mater node, set up /etc/ssh/ssh_known_hosts
> so that it has a line for each node in the cluster, the key
> taken from /etc/ssh/ssh_host_rsa_key.pub
>
> - copy master:/etc/ssh to each node in the cluster
>
> - the new user script only adds the user to the master node
> and then pushes passwd and shadow and possibly group onto
> the other cluster nodes.
>
> That's it. Hope that helps.
> Best regards.
> Robi
>
>
> _______________________________________________
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

--
Joseph Norris
Applications Developer/Server Admin
209-228-4576

_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 03:13 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.