Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Added: | ||||||||
> > |
HLRmon for WeNMRHLRmon web page: https://hlrmon-01.pd.infn.it:50080![]() Management instructionsAdd data of sites not using DGAS sensors
mysql -h 127.0.0.1 -u root -p mysql> use hlrmon; mysql> INSERT INTO users (dn, u_role,u_where, validity, user_confirm, admin_confirm, enabled, email) VALUES ("/C=IT/O=INFN/OU=Personal Certificate/L=LNL/CN=Simone Badoer","hlrmon_man",NULL,NULL,NULL,NULL,1,"badoer@pd.infn.it");A new user can sign up via web page. As a new user sign up, a number or new rows appear on this 'users' table, one row for each role selected by the user. Every line waiting for authorization has the field enabled=0. To authorize that role for the user, by hand, you can simply update the value putting enabled=1. Installation instructionsFollowed these guides: Steps executed on hlrmon-01.pd.infn.it (SL5 x86_64)
chkconfig myslqd on service mysqld start /usr/bin/mysqladmin -u root password 'rootpw' /usr/bin/mysqladmin -u root -h hlrmon-01.pd.infn.it password 'rootpw' mysql -h 127.0.0.1 -u root -prootpw mysql> create database hlrmon; mysql> grant all on hlrmon.* to 'hlrmonuser'@'localhost' identified by 'hlrmon-pw'; mysql> grant all on hlrmon.* to 'hlrmonuser'@'hlrmon-01.pd.infn.it' identified by 'hlrmon-pw'; mysql> flush privileges; mysql -u hlrmonuser -p hlrmon < /opt/hlrmon/hlrmon_initial_schema_and_data_prod.sql
[grid-2lhlr-01]#/opt/glite/sbin/glite-dgas-hlr-addadmin -a "/C=IT/O=INFN/OU=Host/L=Padova/CN=hlrmon-01.pd.infn.it" -H
[hlrmon-01]#glite-dgas-hlr-query -H grid-2lhlr-01.pd.infn.it -Q sqlCsv -A "select * from jobTransSummary order by endDate desc limit 1" [hlrmon-01]#cd /opt/hlrmon [hlrmon-01]#./dgas2hlrmon.py 20110104 1
mysql -h 127.0.0.1 -u root -p mysql> use hlrmon; mysql> INSERT INTO users (dn, u_role,u_where, validity, user_confirm, admin_confirm, enabled, email) VALUES ("/C=IT/O=INFN/OU=Personal Certificate/L=LNL/CN=Simone Badoer","hlrmon_man",NULL,NULL,NULL,NULL,1,"badoer@pd.infn.it"); mysql> INSERT INTO users (dn, u_role,u_where, validity, user_confirm, admin_confirm, enabled, email) VALUES ("/C=IT/O=INFN/OU=Personal Certificate/L=LNL/CN=Simone Badoer","roc_man",NULL,NULL,NULL,NULL,1,"badoer@pd.infn.it");
cd /opt/hlrmon/utilities ./get_site_status.py
chkconfig httpd on service httpd start
cd /opt/hlrmon/utilities ./get_vo_disciplines.py cd /var/www/html/hlrmon/report/ ./get_discipline.sh
-- MarcoVerlato - 2012-03-08 |