Installing LFC and DPM on the same machine ?

Is is a good idea ?

In a production environment, it is not recommended to install both LFC and DPM on the same machine, as the services are likely to be used heavily.

In a temporary test setup however, it is possible.

Warning !

Changing the LFC port may affect the whole GRID chain (lcg-utils, gfal, LFC, DPM, Information System).

At the moment, the LFC port is not published by the Information System. Thus, the users don't have any mean to know the port on which an LFC server is running, if different from 5010.

So, don't come and complain if you install the LFC and the DPM on the same machine in a production environment !

What to do on the server ?

If you still think it's a good idea, here is what to do on the server.

The LFC and the DPM Name Server run by default on the same port (5010). Choose another port for the LFC and create the /etc/shift.conf file as follow :

$ more /etc/shift.conf

By default, the LFC and DPM Name Server use the same MySQL database (called cns_db). Choose another database name for the LFC, and specify it in YAIM site-info.def :

$ more /opt/glite/yaim/examples/site-info.def | grep LFC_DB

Re-run the YAIM configuration :

$ ./configure_node ../examples/site-info.def glite-LFC_mysql

The database name will appear in /opt/lcg/etc/NSCONFIG :

$ more /opt/lcg/etc/NSCONFIG

Finally, (re)start the LFC daemon :

$ service lfcdaemon restart

No change is required for the DPM.

What to do on the client ?

Specify the new LFC port as follow :

$ export LFC_PORT=5011

Help !

Contact (remove the NOSPAM !) : your ROC will help you, and contact the appropriate experts if needed.

-- SophieLemaitre - 19 May 2006

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r3 - 2006-05-22 - unknown
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LCG All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback