How to set up an LFC server with a mysql backend ================================================ The LFC server is run by the lfcmgr user. This user requires a copy of the host certificate files: cp -p /etc/grid-security/hostcert.pem /etc/grid-security/lfcmgr/lfccert.pem cp -p /etc/grid-security/hostkey.pem /etc/grid-security/lfcmgr/lfckey.pem chown lfcmgr:lfcmgr /etc/grid-security/lfcmgr/lfc* Create the LFC database on the mysql server: mysql -u root < /usr/share/lcgdm/create_lfc_tables_mysql.sql Select a username and password for this mysql database table. Replace and in the commands below with your choice, also replace with the hostname of the LFC server: mysql -u root mysql> use mysql mysql> grant all on cns_db.* to @localhost identified by ''; mysql> grant all on cns_db.* to @ identified by ''; mysql> quit Let the LFC server know about the account information and make sure only the lfcmgr user can read this information: touch /etc/NSCONFIG chmod 600 /etc/NSCONFIG chown lfcmgr:lfcmgr /etc/NSCONFIG echo /@/ > /etc/NSCONFIG If the / part is omitted the database "cns_db" will be used. If you have a firewall, open the LFC server port (5010). Once the configuration is completed, change RUN_LFCDAEMON=no to RUN_LFCDAEMON=yes in /etc/default/lfcdaemon, then start the LFC server: invoke-rc.d lfcdaemon start