[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gfarm-discuss:17692] Re: Gfarm v2: private mode "-S"



(B
Hi Osamu,

it answers all my questions: many thanks for your help!

Loic


On Dec 5, 2007, at 8:37 AM, Osamu Tatebe wrote:

Hi Loic,

1/ -A $USER option is required only when 'who am i' cannot return
   the user's username.  Grid 5000 is such a special environment.

2/ I just updated config-gfarm and config-gfsd to meet your
   requirement.  Now, config-gfsd updates local_user_map of
   gfsd.conf in a private mode.  Does it satisfy your
   requirement?

Thanks,
Osamu  

On Tue, 4 Dec 2007 20:00:27 +0100
Loic Cudennec <loic.cudennec@xxxxxxxx> wrote:

Ok, the Gfarm plugin for ADAGE now uses the "-S" option. From the  
user point of view it makes no difference, but for this plugin this  
is a good step towards "human-readable" code :-)

We still have problem #2: we update the gfsd.conf "local_user_map"  
field with the proper absolute link on each gfsd node.

Thanks,
Loic


On Dec 4, 2007, at 6:42 PM, Loic Cudennec wrote:

Hi all,

we are currently using the svn trunk version of Gfarm v2 as a non  
privileged user (private Gfarm). The "-S" option removes some  
configuration steps to ease the deployment. We are working on the  
Gfarm plugin for the ADAGE deployment tool to take advantage of  
id=plugin:gfarm). We have some feedbacks :-)

1/ The "-A $USER" option seems to be needed to make config-gfarm  
work. Apparently the "admin_user" field is not filled in case not  
using it (we already had this issue before using "-S"):

==============
paravent-14:/tmp/lcudennec/test> config-gfarm --prefix /tmp/ 
lcudennec/test/ -S
created /tmp/lcudennec/test//etc
created /tmp/lcudennec/test//var/gfarm-ldap
created /tmp/lcudennec/test//etc/init.d
created /tmp/lcudennec/test//var/run
created /tmp/lcudennec/test//etc/gfarm-ldap
created /tmp/lcudennec/test//etc/gfarm2.conf
created /tmp/lcudennec/test//etc/gfmd.conf
created /tmp/lcudennec/test//etc/gfarm-ldap/gfarm.schema
created /tmp/lcudennec/test//etc/gfarm-ldap/initial.ldif
created /tmp/lcudennec/test//etc/gfarm-ldap/slapd.conf
created /tmp/lcudennec/test//var/gfarm-ldap/DB_CONFIG
add initial metadata
created /tmp/lcudennec/test//etc/init.d/gfarm-slapd
created /tmp/lcudennec/test//etc/init.d/gfmd
add gfarm-slapd service: skipped
Starting OpenLDAP: slapd.
add gfmd service: skipped
Starting gfarm server: gfmdgfmd: /tmp/lcudennec/test//etc/ 
gfmd.conf: 8: missing argument
gfarm_server_initialize: missing argument
.
config-gfarm success

paravent-14:/tmp/lcudennec/test> more etc/gfmd.conf
metadb_server_host paravent-14.rennes.grid5000.fr
metadb_server_port 10601
ldap_server_host paravent-14.rennes.grid5000.fr
ldap_server_port 10602
ldap_base_dn "dc=rennes,dc=grid5000,dc=fr"
ldap_bind_dn "dc=rennes,dc=grid5000,dc=fr"
ldap_bind_password "oGUXCIoKRXiEheHAgHknn=NVvnjCXwmNu6r9pjS0tjt"
admin_user
auth enable sharedsecret *

sockopt keepalive
local_user_map /tmp/lcudennec/test//etc/usermap
==============




2/ the "local_user_map" field is an absolute link. Is it possible  
to use a relative link as we cannot predict, on the metadata server  
side, where this file will be stored on the gfsd node? (We do not  
assume to have a shared NFS)


Thanks,
Loic


--
Loïc Cudennec, Ph.D. Student, PARIS Research Group

IRISA-INRIA, Campus de Beaulieu, 35042 Rennes cedex, France
Phone: +33 (0) 2 99 84 25 39, Fax: +33 (0) 2 99 84 71 71