StarCluster - Mailing List Archive

Re: Adding users to the cluster

From: Bob Tolbert <no email>
Date: Tue, 24 Jan 2012 12:31:18 -0800

Hi,

Thanks for the bug fix for addnode. I was suffering that without realizing what was going on.

So is this USERLIST feature in 0.93.1?

Bob

-----Original Message-----
From: starcluster-bounces_at_mit.edu [mailto:starcluster-bounces_at_mit.edu] On Behalf Of Rayson Ho
Sent: Monday, January 16, 2012 11:27 AM
To: Caius Howcroft
Cc: starcluster_at_mit.edu
Subject: Re: [StarCluster] Adding users to the cluster

Caius,

Let us know how you want StarCluster to setup users for you automatically.

I am modifying & extending StarCluster to automatically run the Grid Engine testsuite for the Open Grid Scheduler release builds. Our testsuite requires the cluster to have multiple users, so instead of manually setting up instances to run the testsuite everytime we release something, I am going to fully automate the whole process - and with that we don't even need to buy machines that sit here idle most of the time for the build process.

Anyway, enough background. I added a new config option, "USERLIST", to specify the list of users to be created by StarCluster when it bootstraps the cluster. For example in the config file:

USERLIST = rayson,ana


2/2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100%
>>> Creating cluster user: rayson (uid: 1002, gid: 1002)
2/2 |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| 100%
>>> Creating cluster user: ana (uid: 1003, gid: 1003)

rayson_at_node001:~$ qstat -u "*"
job-ID  prior   name       user         state submit/start at     queue                          slots ja-task-ID
-----------------------------------------------------------------------------------------------------------------
     17 0.55500 sleep      rayson       qw    01/13/2012 02:39:18                                    1
     18 0.55500 sleep      rayson       qw    01/13/2012 02:39:18                                    1
     19 0.55500 sleep      rayson       qw    01/13/2012 02:39:19                                    1
     20 0.55500 sleep      ana          qw    01/13/2012 02:39:25                                    1
     21 0.55500 sleep      ana          qw    01/13/2012 02:39:26                                    1
     22 0.55500 sleep      ana          qw    01/13/2012 02:39:26                                    1
     23 0.55500 sleep      ana          qw    01/13/2012 02:39:26                                    1
     24 0.55500 sleep      ana          qw    01/13/2012 02:39:27                                    1
     25 0.55500 sleep      ana          qw    01/13/2012 02:39:27                                    1
     26 0.55500 sleep      ana          qw    01/13/2012 02:39:27                                    1
     27 0.55500 sleep      ana          qw    01/13/2012 02:39:27                                    1
     28 0.55500 sleep      ana          qw    01/13/2012 02:39:28                                    1
     29 0.55500 sleep      ana          qw    01/13/2012 02:39:28                                    1

But then, the users created don't have direct access to the cluster from outside of SC.
To provide direct user login, we can do what Justin mentioned in his previous email...

So let us know how you want your users to log onto the cluster, and we will see if it makes sense to add the authentication method into StarCluster.

Rayson

=================================
Open Grid Scheduler / Grid Engine
http://gridscheduler.sourceforge.net/

Scalable Grid Engine Support Program
http://www.scalablelogic.com/



----- Original Message -----
From: Justin Riley <jtriley_at_mit.edu>
To: Caius Howcroft <caius.howcroft_at_gmail.com>
Cc: starcluster_at_mit.edu
Sent: Friday, January 13, 2012 4:58 PM
Subject: Re: [StarCluster] Adding users to the cluster

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Caius,

Currently there is no mechanism to create multiple users on the cluster, however, it's not all that difficult to do via a StarCluster plugin[1].

As Rayson kindly pointed out to me, this is something that comes up from time to time so I'm considering building it into StarCluster, however, I'm not sure whether it would be built into the "core" or delivered as a plugin...

Before I get into details how do you expect to give users access to these accounts? Would you want to pass around usernames and passwords or would you want to have SSH keys generated that you could hand to all users (or both)?

~Justin

On 01/12/2012 02:53 PM, Caius Howcroft wrote:
> Hi
>
> I'm playing with the idea of using start cluster for a multi-user
> cluster. I want to allow people to log directly into the head node and
> launch jobs, play with data etc.. As we have several users we have to
> give each one an account on the machine, whats the best way of doing
> this, doing a "adduser" on an imagehost then creating a new image?
>
> Cheers
>
> Caius _______________________________________________ StarCluster
> mailing list StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8QqQIACgkQ4llAkMfDcrkfAACdGb3Q9XeOwFkVjcDA53z1Ii2e
9wcAn1VePMX6z4b752zKZbs5XF0N+EH9
=hOif
-----END PGP SIGNATURE-----
_______________________________________________
StarCluster mailing list
StarCluster_at_mit.edu
http://mailman.mit.edu/mailman/listinfo/starcluster


_______________________________________________
StarCluster mailing list
StarCluster_at_mit.edu
http://mailman.mit.edu/mailman/listinfo/starcluster
Received on Tue Jan 24 2012 - 15:31:22 EST
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject