HPC
HPC

| HPC and Data for Lattice QCD

psuctrl

HPC and Data for Lattice QCD

psuctrl

Information on the PSU control software

The source of the PSU control software can be found in $ZROOT/psuctrl/SRC. It consists of: 1) psuctrl
   Program to manually check and change the status of the PSU control units.
   Installed in $ZROOT/psuctrl.
2) psuctrld
   Program to regularly monitor the status of the control units and to notify
   any changes via syslog. Installed in $ZROOT/psuctrl.
3) psuctrld.sh
   Script to start-up psuctrld. A copy of this script is located in
   $TARCH/apemaster/etc/init.d. A local copy is installed by cfengine into
   /etc/init.d (plus a corresponding link for automatic start-up at boot time).

Configuration

Information about which PSU controller is connected to which apemaster and which device is stored in the configuration file $ZROOT/psuctrl/rack.conf.

Switching on/off

Racks can be switched on/off using either the program 'psuctrl' or the button on the PSU control units. Before switching on, make sure that all manual switches have been put into state on. The PSU controllers will make sure that the crates are switched on in the right order.

$ZROOT/psuctrl/psuctrl

Usage: $ZROOT/psuctrl/psuctrl <rack> <cmd>
       <rack> ..... r0, r1, ...
       <cmd> ...... on, off, test

Command will do nothing if the requested PSU controller is not connected.

$ZROOT/psuctrl/psuctrld

Runs as a daemon and checks the status of all PSU controllers connected to the apemaster in regular intervals (currently: 120 sec). Any changes of the status are written to syslog.

/etc/init.d/psuctrld

Usage: /etc/init.d/psuctrld {start|stop|status|try-restart|restart|probe} Use this script to start/stop the psuctrld.

Known bugs/problems/features

When switching-off the PSU control unit while the psuctrld is running, it may happen that reading the feedback from the PSU control unit does not work. Work-around: restart psuctrld

Further reading

http://www-zeuthen.desy.de/ape/html/APEmille/Documentation/Hardware/psuctrl # $Id: HOWTO-psuctrl,v 1.1 2005/02/03 13:11:58 pleiter Exp $