next up previous contents index
Next: Creating a new Up: Managing HEPDB servers Previous: Transfer of updates

Example of configuration on two VAX systems

Let us take the example of two VAX systems: VXLNFB and AXPALS. In this example, the master server will run on the node VXLNFB. To achieve this, we must configue the file hepdb.names so that the :queue and :todo tags point to the same directory, as shown below.

Example names file for master server

:nick.config
:list.ct rt gt
:log.DISK\$MF:[KLOEDB.LOG]
:queue.DISK\$MF:[KLOEDB.TODO]
:todo.DISK\$MF:[KLOEDB.TODO]
:save.DISK\$MF:[KLOEDB.SAVE]
:bad.DISK\$MF:[KLOEDB.BAD]
:loglevel.3
:wakeup.60
:servers.axpals

:nick.ct
:file.DISK\$MF:[KLOEDB.DATABASE]CALRT.DBS
:desc.Calibration Database for Test Beam 1994
:servers.axpals

:nick.rt
:file.DISK\$MF:[KLOEDB.DATABASE]RUNRT.DBS
:desc.RUN CONDITION Database for Test Beam 1994
:servers.axpals

:nick.gt
:file.DISK\$MF:[KLOEDB.DATABASE]GEORT.DBS
:desc.Geometry Database for Test Beam 1994
:servers.axpals

:nick.axpals
:userid.kloedb
:node.axpals
:poll.yes

The names file for the slave server is similar, as shown below.

Example names file for slave server

:nick.config
:list.ct rt gt
:log.DISK\$MF:[KLOEDB.LOG]
:queue.DISK\$MF:[KLOEDB.TOVXLNFB]
:todo.DISK\$MF:[KLOEDB.TODO]
:save.DISK\$MF:[KLOEDB.SAVE]
:bad.DISK\$MF:[KLOEDB.BAD]
:loglevel.3
:wakeup.60
:servers.

:nick.ct
:file.DISK\$MF:[KLOEDB.DATABASE]CALRT.DBS
:desc.Calibration Database for Test Beam 1994
:servers.vxlnfb

:nick.rt
:file.DISK\$MF:[KLOEDB.DATABASE]RUNRT.DBS
:desc.RUN CONDITION Database for Test Beam 1994
:servers.vxlnfb

:nick.gt
:file.DISK\$MF:[KLOEDB.DATABASE]GEORT.DBS
:desc.Geometry Database for Test Beam 1994
:servers.vxlnfb

In the above examples, it is assumed that CDMOVE will run on the same node as the master server, e.g. VXLNFB.

Making an update on a node with a MASTER server

Making an update on a node with a SLAVE server

Running CDMOVE on the slave node

Normally, one would run the CDMOVE process on the same node as the master server. As stated above, this requires that ZSERV has been correctly configured on all slave nodes.

   

If this is not possible for some reason, e.g. if UCX is running on the slave node, then CDMOVE can be run on the slave node. This, in turn, requires that ZSERV is correctly configured on the master node.

In this case the names file on the slave node must be modified as shown below. The changes are indented for clarity, although this is purely cosmetic.

Example names file for slave server with changes for CDMOVE

:nick.config
:list.ct rt gt
:log.DISK\$MF:[KLOEDB.LOG]
:queue.DISK\$MF:[KLOEDB.TOVXLNFB]
:todo.DISK\$MF:[KLOEDB.TODO]
:save.DISK\$MF:[KLOEDB.SAVE]
:bad.DISK\$MF:[KLOEDB.BAD]
:loglevel.3
:wakeup.60
   :servers.VXLNFB

:nick.ct
:file.DISK\$MF:[KLOEDB.DATABASE]CALRT.DBS
:desc.Calibration Database for Test Beam 1994
:servers.vxlnfb

:nick.rt
:file.DISK\$MF:[KLOEDB.DATABASE]RUNRT.DBS
:desc.RUN CONDITION Database for Test Beam 1994
:servers.vxlnfb

:nick.gt
:file.DISK\$MF:[KLOEDB.DATABASE]GEORT.DBS
:desc.Geometry Database for Test Beam 1994
:servers.vxlnfb

   :nick.VXLNFB
   :userid.kloedb
   :node.VXLNFB
   :poll.yes



next up previous contents index
Next: Creating a new Up: Managing HEPDB servers Previous: Transfer of updates


Janne Saarela
Tue May 16 10:31:09 METDST 1995