> > Sorry, but don't follow. Are you talking about perceus modules? I > didn't think we wanted standard passwd/group files sent to the nodes, > which is what perceus normally does.
Yes, I was talking about Perceus modules. "groupfile", "passwdfile" are modules which just copy the group and passwd file (respectively) from the perceus master to the slaves. I can't even find where xcpu > stores the information for xgroupset/xuserset! (I guess this shows > that it is not trivial to get into the xcpu code...). Also, what do > you mean by the "-u" switch for xcpu? Oh, I just looked at xcpufs.c > and I see it there - it is not in the man page for xcpufs, though... > I guess this would do the trick if we simply want all users and groups > to be authenticated on the nodes at all time. the group and user information is stored by xcpufs in a userpool structure in-memory. the -u switch is to automatically add all the users and groups to the pool. it would do the trick only if the users and/or groups you want to be authenticated against are present on the slave nodes. I would much prefer to > have the batch queuing systems do this on a job-by-job basis, sort of > like the node ownership setting that bjs does on bproc clusters, since > this would prevent people from running interactively on the nodes that > are owned by someone else. yes, that's the idea. > > Daniel > > On Fri, Oct 31, 2008 at 7:32 PM, Abhishek Kulkarni <[EMAIL PROTECTED]> > wrote: >> >> i believe the xcpu module is activated in the "init" provisionary stage >> and the groupfile/passwdfile modules get activated in the "ready" stage. >> so the way to do this would be to make the groupfile and passwd file >> modules to run before the xcpu module, and start xcpu with the "-u" >> switch >> >> or better yet: with the new -u switch in xuserset and xgroupset you >> could add all the users from the master node. >> >> Thanks, >> -- Abhishek >> >> On Fri, 2008-10-31 at 14:54 -0400, Daniel Gruner wrote: >>> Hi >>> >>> I was wondering if anybody has scripts for a perceus-xcpu installation >>> that will automatically add groups and users to freshly booted nodes. >>> It appears to me that all the perceus scripts in >>> /etc/perceus/nodescripts run on the node itself, and not on the master >>> node, which is where one needs to execute the xgroupset and xuserset >>> commands. Any help would be appreciated. >>> >>> Thanks, >>> Daniel >>> >>> p.s. Is anybody planning an xcpu get-together for SC08? I think it >>> would be great... >> >> >
