Douglas McNab a écrit :
> Hi,
>
> Recently I had issue creating a new VO and in the end here is what I
> had to do to create it:
>
> As root at the VOMS server, edit /opt/glite/etc/config/vo-list.cfg.xml
>
> Copy an existing VO definition (between tags <vo> ... </vo>) and edit
> the params.
>
> As root database server, log in to the MySQL database First create the
> database:
>
> CREATE DATABASE <voms.db.name <http://voms.db.name>>
>
>
> Then grant access rights to this database for the VOMS database user:
>
> GRANT ALL PRIVILEGES ON <voms.db.name <http://voms.db.name>>.* TO '<voms.db.user.name <http://voms.db.user.name>>'@'localhost' IDENTIFIED BY '<voms.db.user.password>';
>
> GRANT ALL PRIVILEGES ON <voms.db.name <http://voms.db.name>>.* TO '<voms.db.user.name <http://voms.db.user.name>>'@'<VOMS-server>' IDENTIFIED BY '<voms.db.user.password>';
>
>
> then deploy the schema manually, some environment variables are
> required before deploying the database schema
> export GLITE_LOCATION=/opt/glite/
> export GLITE_LOCATION_VAR=/var/glite/
> export GLITE_LOCATION_LOG=/var/log/glite
> export GLITE_LOCATION_TMP=/tmp/glite
>
> /opt/glite/sbin/voms-db-deploy.py deploy --vo <vo-name>
>
> and then configure it
> /opt/glite/etc/config/scripts/glite-voms-server-config.py --configure --vo=<vo-name>
>
> Hope this helps.
>
> Regards,
>
> Dug
>
> 2009/10/28 Alessandro Paolini <[log in to unmask]
> <mailto:[log in to unmask]>>
>
> Christian Neissner ha scritto:
>
> Dear,
>
> I am trying to configure the VOMS server for a new VO
> following the documentation:
> https://edms.cern.ch/file/974094/1/voms-admin-user-guide.pdf
>
> I cannot find a way how to generate the database for a VO
> whose name includes dots, e.g. vo.test
>
> The command for generating the database is:
> voms-admin-configure install --dbtype mysql
> --vo <VO name>
> --createdb
> –deploy-database
> --dbauser <MySQL root username>
> --dbapwd <MySQL root password>
> --dbusername <voms db account username>
> --dbpassword <voms db account password>
> --port <voms core service port>
> --smtp-host <SMTP relay host>
> --mail-from <Sender address for service-generated emails>
>
> where the command generates the name for the database from <VO
> name>, eg voms_vo.test. In this example the database name
> would be invalid, but the other way around -removing the dots
> from the VO name- I get a inconsistent database. So what is
> the working procedure?
>
> Thanks in advance.
>
> Christian.
>
> Hi Christian,
> with the VOs with dots in the name, the database name should have
> an underscore where in the real name a dot appears
> In your example, if the VO name is vo.test, the database name will
> become voms_vo_test (in theory you may chose whatever name you want)
>
> however, follow the voms installation and configuration guide
> https://edms.cern.ch/file/974982/1/voms-installation-configuration-guide.pdf
>
> you just have to fill some configuration files and launch the
> configuration scrpt in order to creates the VOs
>
> Cheers,
> Alessandro
>
> --
> Dr. Alessandro Paolini
> INFN - CNAF
> Viale Berti Pichat 6/2
> 40127 Bologna
> Italy
> tel: +39 051 6092723
> fax: +39 051 6092916
> ICQ: 192172027
> skype: alex.paolini
> **********************
> "credo nel potere del riso e delle lacrime"
> "come antidoto all'odio ed al terrore"
> "un giorno senza un sorriso"
> "è un giorno perso" >>> Charlie Chaplin
>
>
>
>
> --
> ScotGrid, Room 481, Kelvin Building, University of Glasgow
> tel: +44(0)141 330 6439
Hello,
You create the DB in MySQL with the name you want and give all the
privileges to the DB user name chosen. As root on the VOMS server, you
specify the DB name and DB user and password in vo-list.cfg.xml.
Then you configure it with
/opt/glite/etc/config/scripts/glite-voms-server-config.py --configure --vo=<vo-name>
Cheers,
David
--
*David BOUVET*
IN2P3/CNRS Computing Centre - Lyon (FRANCE)
Tel. : +33 4 72 69 41 62 | Fax. : +33 4 72 69 41 70 | e-mail :
[log in to unmask]
|