[workspace-user] Nimbus + context broker + passing arguments

Ismael Farfán sulfurfff at gmail.com
Thu Aug 18 12:15:15 CDT 2011


Hello Tim

2011/8/18 Tim Freeman :
> On Wed, 17 Aug 2011 10:50:25 -0700
> Ismael Farfán  wrote:
>
>> Hello list
>>
>> I have been reading the clusters and clusters2 page of nimbus,
>> specially about the context broker, but I don't seem to see how
>> to do what I need.
>>
>> Basically I want to create two custom roles and *pass them
>> parameters* through the context broker or other means, not
>> only the provide/requires ip and host name, but custom ones.
>>
>> For example one thing that I need to do:
>> Create a custom user on the fly with a given GID and UID (to
>> match that of a nfs shared system), this user will be different
>> every time to, so just creating a static one won't work.
>
> Is the data that needs to be sent to other nodes coming from the nodes?  I

If I'm not mistaken, the ctx broker is my "base-cluster.xml", so I'd like to put
there the params before running the cluster, like this
<role name="CreateUser" user group shell uid gid />
I don't know if it's possible, all the VMs will receive the same parameters.

> don't think the ctx-agent can send that kind of data back to the context
> broker yet.  The data elements can only be seeded by a separate client of the
> context broker, this could coordinate with the NFS VM somehow but that seems
> clunky.  There is an NFS example in the base cluster, if I recall, does that
> technique not work?  It must know the NFS account ahead of time.

I checked the nfs server and client and torque master and slave under 1 and 4
and them all read this:
"called with IP, short hostname and hostname (args $1, $2, and $3 respectively)"

Torque seemed to receive parameters:
hostname="true" pubkey="true"
but I haven't found where are they used in the scripts.

>
>>
>> One way to do this would be to use kerberos, but I don't have
>> a login-server that I can use for testing purposes...
>>
>> Any ideas of how to do this?
>>
>> --
>> [============================]
>> How do you create an operating system on Linux Ubuntu 9.10?
>> Y luego que por qué no me gusta usar Ubuntu...
>> [============================]
>



-- 
[============================]
How do you create an operating system on Linux Ubuntu 9.10?
Y luego que por qué no me gusta usar Ubuntu...
[============================]


More information about the workspace-user mailing list