Subsections

3. Daemons

The numerous grid services are provided by a set of daemons running on the testbed machines. These daemons are typically configured via a text file, log status information to a file, and are controlled via a SysV-type script. This section describes where to find the appropriate files and how to use the scripts.

Most information in this section is given in the form of tables. Many of the configuration files are managed by LCFG, even if using a configuration management tool it is useful to have access to this information.

3.1 Configuration and Log Files


Table 3.1: EDG Gatekeeper Daemon Information
Description: Globus gatekeeper with callout to LCAS
  (Local Centre Authorization Service)
Supplier: Globus + EDG
Responsible WP: WP4
SysV name: globus-gatekeeper
SysV directives: start, stop, status, restart, reload, condrestart
Username: root
Process name(s): edg-gatekeeper (1 process)
Process ID (PID) file(s): none (?)
Lock file(s): /var/lock/subsys/globus-gatekeeper
Log file(s): /var/log/globus-gatekeeper.log
Configuration file(s): /opt/globus/etc/globus-gatekeeper.conf,
  (LCAS 1.x: /opt/edg/etc/lcas/allowed_users.db,
  /opt/edg/etc/lcas/ban_users.db,
  /opt/edg/etc/lcas/timeslots.db,
  (LCAS 1.1 and higher) lcas.db)
LCFG object name: edg-lcfg-globuscfg (edg-gatekeeper), edg-lcas (LCAS)
Inbound ports: 2119/tcp
Outbound ports:  
Other daemons contacted: none (in the future the LCAS daemon)
Link(s) to documentation: http://www.dutchgrid.nl/DataGrid/wp4/lcas/edg-lcas-1.1 (LCAS)

Tables 3.1 to 3.21 list for different daemons information like the locations of configuration files and log files.

Table 3.22 summarizes the utilization of ports by various services.


Table 3.2: EDG Resource Broker Daemon Information
Description: Deamon for the resource management
Supplier: Globus + EDG
Responsible WP: WP1
SysV name: broker
SysV directives: Start, Stop, Status, Restart, Proxy
Username: dguser
Process name(s): rbserver (many)

Process ID (PID) file(s): /var/mon/RBserver.pid
Lock file(s): No
Log file(s): /var/tmp/RBserver.log
Configuration file(s): /opt/edg/etc/rb.conf
LCFG object name: none
Inbound ports: none
Outbound ports: 7771
Other daemons contacted: (many)
Link(s) to documentation: (?)


Table 3.3: EDG Job Submission Daemon Information
Description: Deamon to control the job submission process
Supplier: Globus + EDG
Responsible WP: WP1
SysV name: jobsubmission
SysV directives: Start, Stop, Status, Restart, Proxy
Username: dguser
Process name(s): jssparser (3), jssserver, condor-master, pr-daemon

Process ID (PID) file(s): /var/run/(jssparser,jssserver,pr-daemon).pid
Lock file(s): No
Log file(s): In /var/tmp/ JSSserver.log, JSSparser.log
  CondorG.log, pr-daemon.log, jsscallback.log
Configuration file(s): /opt/edg/etc/jss.conf
LCFG object name: none
Inbound ports: none
Outbound ports: (?)
Other daemons contacted: (?)
Link(s) to documentation: (?)


Table 3.4: EDG Logging and Bookkeeping Server Daemon Information
Description: Daemon to handle logging and bookkeeping
Supplier: Globus + EDG
Responsible WP: WP1
SysV name: lbserver
SysV directives: Start, Stop, Restart, Proxy, Status
Username: root
Process name(s): bkserver (min.3), ileventd (1)
Process ID (PID) file(s): none
Lock file(s): none
Log file(s): Using LCFG: /var/obj/log/syslog
  Else: /var/log/messages
Configuration file(s): none
LCFG object name: none
Inbound ports: none
Outbound ports: 7846
Other daemons contacted: none
Link(s) to documentation: none


Table 3.5: EDG Local Logger Daemon Information
Description: Deamon for local logging (interlogger and dglogd)
Supplier: Globus + EDG
Responsible WP: WP1
SysV name: locallogger
SysV directives: Start, Stop, Restart, Proxy, Status
Username: root
Process name(s): dglogd (1), interlogger (2)

Process ID (PID) file(s): none
Lock file(s): none
Log file(s): none
Configuration file(s): none
LCFG object name: none
Inbound ports: none
Outbound ports: 15830
Other daemons contacted: none
Link(s) to documentation: none


Table 3.6: EDG Gridmapfile Update Daemon Information
Description: Cron job to upgrade the /etc/grid-security/grid-mapfile used by GSI
Supplier: Globus + EDG
Responsible WP: WP6
SysV name: None, started via cron service
SysV directives: doesn't apply is started from /opt/edg/etc/cron
Username: root
Process name(s): mkgridmap (1 process)
  called by /opt/edg/etc/cron/mkgridmap-cron
Process ID (PID) file(s): none (?)
Lock file(s): none (?)
Log file(s): none (?)
Configuration file(s): EDG_LOCATION/etc/mkgridmap-cron.conf
  EDG_LOCATION/etc/mkgridmap.conf
LCFG object name: none
Inbound ports: none
Outbound ports: 389 (contacts a slapd)
Other daemons contacted: LDAP servers
Link(s) to documentation: none


Table 3.7: EDG CRL Update Daemon Information
Description: Cron job to upgrade the Certificate Revocation List used by GSI
Supplier: Globus + EDG
Responsible WP: WP6
SysV name: None, started via cron service
SysV directives: doesn't apply, started from /opt/edg/etc/cron
Username: root
Process name(s): edg-fetch-crl (1 process) called by
  /opt/edg/etc/cron/edg-fetch-crl.cron
Process ID (PID) file(s): none (?)
Lock file(s): none (?)
Log file(s): none (?)
Configuration file(s): EDG_LOCATION/etc/edg-fetch-crl-cron.conf
LCFG object name: none
Inbound ports: none
Outbound ports: 80
Other daemons contacted: WEB servers
Link(s) to documentation: none


Table 3.8: MyProxy Daemon Information
Description: Server to allow proxy renewal from RB.
Supplier: NCSA
Responsible WP: WP1 (use)/WP6 (pkg./config.)
SysV name: myproxy
SysV directives: start, stop
Username: root
Process name(s): myproxy-server (1)
Process ID (PID) file(s): none
Lock file(s): none
Log file(s): /var/log/syslog
  /var/obj/log/syslog (LCFG)
Configuration file(s): /opt/edg/edg-myproxy.conf
LCFG object name: myproxy
Inbound ports: 7512
Outbound ports: none
Other daemons contacted: none
Link(s) to documentation: http://www.ncsa.uiuc.edu/Divisions/ACES/MyProxy/

Known Limitations of the myproxy server 3.8: The configuration of the MyProxy server is intended only for the EDG usage. That is, proxy renewal is only allowed from Resource Broker machines. More complicated configurations are possible but need manual configuration.


Table 3.9: MDS Daemon Information
Description: MDS Information System
Supplier: Globus
Responsible WP: WP3
SysV name: globus-mds
SysV directives: start, stop, restart, condrestart, status, reload
Username: edginfo
Process name(s): slapd ( 3-30)
Process ID (PID) file(s): /var/tmp/edginfo-globus-mds.pid
Lock file(s): /var/tmp/edginfo-globus-mds.lock
Log file(s): /var/tmp/edginfo-globus-mds.log
Configuration file(s): /etc/globus2.conf
LCFG object name: globuscfg
Inbound ports: 2135/tcp
Outbound ports: none
Other daemons contacted: none
Link(s) to documentation: http://www.globus.org/mds


Table 3.10: Replica Catalogue Daemon Information
Description: LDAP Replica Catalogue (uses slapd)
Supplier: WP2
Responsible WP: WP2
SysV name: edg-rc-server
SysV directives: start, stop, restart, reload, condrestart
Username: any
Process name(s): slapd
Process ID (PID) file(s): $EDG_LOCATION/edg-rc-server/var/rc-slapd.pid
Lock file(s): /var/lock/subsys/edg-rc-server
Log file(s): $EDG_LOCATION/edg-rc-server/var/edg-rc-server.log
Configuration file(s): $EDG_LOCATION/edg-rc-server/etc/rc-slapd.conf
LCFG object name: none
Inbound ports: any set by configuration file
Outbound ports: none
Other daemons contacted: none
Link(s) to documentation: http://cern.ch/GDMP/documentation.html (Testbed/RC links)


Table 3.11: GDMP Daemon Information
Description: GDMP server for data set replication, mirroring and access to MSS
Supplier: EDG, PPDG (VDT)
Responsible WP: WP2
SysV name: gdmp_server, started by inetd
SysV directives: started by inetd
Username: gdmp
Process name(s): gdmp_server, started by inetd
Process ID (PID) file(s): none
Lock file(s): none
Log file(s): /opt/edg/var/{VO}/gdmp_server_log.out
Configuration file(s): /opt/edg/etc/gdmp.shared.conf (server)
  /opt/edg/etc/{VO}/gdmp.conf (VO conf. for SE)
  /opt/edg/etc/{VO}/gdmp.private.conf (RC conf.)
LCFG object name: gdmp
Inbound ports: 2000 (control)
  other for parallel streams
Outbound ports: 2000
Other daemons contacted: none
Link(s) to documentation: http://cern.ch/GDMP/documentation.html


Table 3.12: GridFTP Daemon Information
Description: GridFTP (file transfer protocol) Daemon
Supplier: Globus
Responsible WP: e.g. WP6
SysV name: globus-gsi_wuftpd ( 1-10)
SysV directives: start, stop, restart, condrestart, status
Username: root
Process name(s): in.ftpd
Process ID (PID) file(s): /var/run/globus-ftpd.pid
Lock file(s): /var/lock/subsys/globus-gsi_wuftpd
Log file(s): /var/log/gsiwuftpd.log
Configuration file(s): /etc/globus.conf
LCFG object name: globusconf
Inbound ports: 2811/tcp
Outbound ports: none
Other daemons contacted: none
Link(s) to documentation: http://www.globus.org/datagrid/gridftp.html


Table 3.13: UDPmon Daemon Information
Description: UDP bandwidth measurement daemon
Supplier: WP7
Responsible WP: WP7
SysV name: none (started from crontab)
SysV directives: none
Username: root
Process name(s): udpmon_resp (1)
Process ID (PID) file(s): none
Lock file(s): none
Log file(s): {prefix}/udpmon/data/udp_bw_resp_log-out
Configuration file(s): none
LCFG object name: none
Inbound ports: 14234/udp, 14233/udp
Outbound ports: none
Other daemons contacted: none
Link(s) to documentation: none



Table 3.14: edg-netagent Daemon Information
Description: WP7 netagent server
Supplier: WP7
Responsible WP: WP7
SysV name: N/A
SysV directives: N/A
Username: nobody
Process name(s): edg-netagent ( 3)
Process ID (PID) file(s): none
Lock file(s): none
Log file(s): none
Configuration file(s): {prefix}/etc/edg-netagent/current.conf
LCFG object name: none
Inbound ports: 3002/tcp
Outbound ports: none
Other daemons contacted: none
Link(s) to documentation: none



Table 3.15: edg-ftlog2rgma Daemon Information
Description: The ftlog2rgma daemon publishes GridFTP logs into R-GMA.
Supplier: EDG
Responsible WP: WP7
SysV name: edg-ftlog2rgmad
SysV directives: start, stop, restart, condrestart, status
Username: root
Process name(s): edg-ftlog2rgma (1)
Process ID (PID) file(s): /var/run/edg-ftlog2rgmad.pid
Lock file(s): none
Log file(s): /var/log/edg-ftlog2rgmad.log
Configuration file(s): none
LCFG object name: none
Inbound ports: none
Outbound ports: 8080/tcp (RGMA)
Other daemons contacted: none
Link(s) to documentation: none


Table 3.16: edg-netmon-archiver Daemon Information
Description: netmon-archiver provides RGMA Archiver for network monitoring info.
Supplier: EDG
Responsible WP: WP7
SysV name: edg-netmon-archiverd
SysV directives: start, stop, restart, condrestart, status
Username: runs as root at the moment
Process name(s): [java] (9)
Process ID (PID) file(s): /var/run/edg-netmon-archiverd.pid
Lock file(s): none
Log file(s): /var/log/edg-netmon-archiverdlog
Configuration file(s): /opt/edg/etc/edg-netmon-archiver.conf
LCFG object name: none
Inbound ports: none
Outbound ports: none
Other daemons contacted: edg-netmon2rgmad
Link(s) to documentation: none


Table 3.17: edg-netmon-rgma-info Daemon Information
Description: netmon-rgma-info publishes NetworkSE and NetworkCE tables
Supplier: EDG
Responsible WP: WP7
SysV name: edg-netmon-rgma-infod
SysV directives: start, stop, restart, condrestart, status
Username: root
Process name(s): edg-netmon-rgma-info (1)
Process ID (PID) file(s): /var/run/edg-netmon-rgma-info.pid
Lock file(s): none
Log file(s): /var/log/edg-netmon-rgma-info.log
Configuration file(s): /opt/edg/etc/edg-netmon-rgma-info.conf
LCFG object name: none
Inbound ports: none
Outbound ports: none
Other daemons contacted: edg-netmon2rgmad
Link(s) to documentation: none


Table 3.18: edg-netmon2rgma Daemon Information
Description: netmon-rgma provides daemon which handles
  the producers for publishing into RGMA
Supplier: EDG
Responsible WP: WP7
SysV name: edg-netmon2rgmad
SysV directives: start, stop, restart, condrestart, status
Username: root
Process name(s): edg-netmon2rgma (1)
Process ID (PID) file(s): /var/run/edg-netmon2rgmad.pid
Lock file(s): none
Log file(s): /var/log/edg-netmon2rgmad.log
Configuration file(s): none
LCFG object name: none
Inbound ports: none
Outbound ports: 8080/tcp (RGMA)
Other daemons contacted: none
Link(s) to documentation: none


Table 3.19: iperf Daemon Information
Description: WP7 bandwidth measurement server
Supplier: Univ. of Illinois, packaged by WP7
Responsible WP: WP7
SysV name: N/A (started from crontab)
SysV directives: N/A
Username: root
Process name(s): iperf (3)
Process ID (PID) file(s): none
Lock file(s): none
Log file(s): none
Configuration file(s): none
LCFG object name: netmon
Inbound ports: 5001/tcp
Outbound ports: none
Other daemons contacted: none
Link(s) to documentation: http://dast.nlanr.net/Projects/Iperf/


Table 3.20: MSA (Monitoring Sensor Agent) Daemon Information
Description: MSA Fabric Monitoring Sensor Agent
Supplier: EDG
Responsible WP: WP4
SysV name: edg_fmon_agent
SysV directives: start, stop, status, restart, reload
Username: root
Process name(s): edgfmonagent (1 process)
Process ID (PID) file(s): EDG_LOCATION_VAR/fmon/edgfmonagent.pid
Lock file(s): none (?)
Log file(s): EDG_LOCATION_VAR/fmon/edgfmonagent.log
Configuration file(s): /opt/edg/var/etc/edgfmonagent.conf
LCFG object name: edglcfgfmonagent
Inbound ports: 12409/udp
Outbound ports:  
Other daemons contacted: none
Link(s) to documentation: http://wwwinfo.cern.ch/pdp/monitoring


Table 3.21: fmonserver (Monitoring Repository Collector) Daemon Information
Description: fmonserver - Monitoring Repository Collector
Supplier: EDG
Responsible WP: WP4
SysV name: edg_fmon_server
SysV directives: start, stop, status, restart, reload
Username: root
Process name(s): edgfmonserver (1 process)
Process ID (PID) file(s): none
Lock file(s): none
Log file(s): EDG_LOCATION_VAR/fmon/edgfmonserver.log
Configuration file(s): /opt/edg/var/etc/edgfmonserver.conf
LCFG object name: edglcfgfmonserver
Inbound ports: 12411/udp
Outbound ports:  
Other daemons contacted: none
Link(s) to documentation: http://wwwinfo.cern.ch/pdp/monitoring


Table 3.22: Daemon Ports and Machine Types


3.2 Daemon Control

The majority of the daemons used in the testbed implement the SysV interface. The daemons which do, provide an appropriately-named script in the directory /etc/rc.d/init.d/. At a minimum, these scripts allow you to start and stop the service with the command:

/sbin/service daemon_name {start|stop}
or
/etc/rc.d/init.d/daemon_name {start|stop}

where daemon_name is the name of the script in the above directory and only "stop" or "start" is given as an argument. The scripts may also support a "status" argument which returns information about the daemon.

Additionally, some of the scripts also support the chkconfig interface which allows you to configure the daemon to start automatically at boot time with the following command:

/sbin/chkconfig  daemon_name on
where again daemon_name is the name of the script. This command can also be used to remove the daemon from the list of those started automatically by changing "-add" to "-del".


http://marianne.in2p3.fr