[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Commands Reference, Volume 2

haemd Daemon

Purpose

Observes resource variable instances that are updated by Resource Monitors and generates and reports events to client programs.

Syntax

haemd

Description

The haemd (Event Manager) daemon observes resource variable instances that are updated by Resource Monitors and generates and reports events to client programs.

One instance of the haemd daemon executes on every node of a cluster. The haemd daemon is under System Resource Controller (SRC) control.

Because the daemon is under SRC control, it cannot be started directly from the command line. It is normally started by the emsvcsctrl command. If you must start or stop the daemon directly, use the emsvcsctrl command.

When SRC creates the haemd daemon, the actual program started is haemd_HACMP. The haemd_HACMP program, after collecting information needed by the daemon, then executes the haemd program. In other words, the haemd_HACMP program is replaced by the haemd program in the process created by SRC.

For more information about the Event Manager daemon, see the emsvcsctrl command.

Flags

-a
Adds the subsystem.
-s
Starts the subsystem.
-k
Stops the subsystem.
-d
Deletes the subsystem.
-c
Cleans the subsystems, that is, deletes them from all system partitions.
-u
Unconfigures the subsystems from all system partitions.
-t
Turns tracing on for the subsystem.
-o
Turns tracing off for the subsystem.
-r
Refreshes the subsystem.
-h
Displays usage information.

Parameters

None.

Security

You must have root privilege and write access to the SDR to run this command.

Exit Status

0
Indicates the successful completion of the command.
1
Indicates that an error occurred.

Restrictions

This command is valid in a PSSP environment only.

Standard Output

When the command executes successfully, it writes the following informational messages:

Reading Event Management data for partition syspar_name
 
CDB=new_EMCDB_file_name Version=EMCDB_version_string

Standard Error

This command writes error messages (as necessary) to standard error.

Examples

  1. To add the Event Management subsystem to the SRC in the current system partition, set the SP_NAME environment variable to the appropriate system partition name and enter:
    haemctrl -a
  2. To start the Event Management subsystem in the current system partition, set the SP_NAME environment variable to the appropriate system partition name and enter:
    haemctrl -s
  3. To stop the Event Management subsystem in the current system partition, set the SP_NAME environment variable to the appropriate system partition name and enter:
    haemctrl -k
  4. To delete the Event Management subsystem from the SRC in the current system partition, set the SP_NAME environment variable to the appropriate system partition name and enter:
    haemctrl -d
  5. To clean up the Event Management subsystem on all system partitions, enter:
    haemctrl -c
  6. To unconfigure the Event Management subsystem from all system partitions, on the control workstation, enter:
    haemctrl -u
  7. To turn tracing on for the Event Management daemon in the current system partition, set the SP_NAME environment variable to the appropriate system partition name and enter:
    haemctrl -t
  8. To turn tracing off for the Event Management daemon in the current system partition, set the SP_NAME environment variable to the appropriate system partition name and enter:
    haemctrl -o

Location

/usr/sbin/rsct/bin/haemd
Location of the haemd daemon

Files

/var/ha/log/em.default.cluster_name
Contains the default log of the haemd daemon on the cluster named cluster_name.
/var/ha/log/em.cp
Contains a log of any errors that occurred while copying the Event Management Configuration Database.
/var/ha/log/em.trace.cluster_name
Contains the trace log of the haemd daemon on the cluster named cluster_name.
/var/ha/log/em.mkgroup
Contains a log of any errors that occurred while creating the haemrm group.
/var/ha/log/em.mkdir
Contains a log of any errors that occurred while creating the /var/ha/lck/haem and /var/ha/soc/haem directories.

Related Information

emsvcsctrl, haemd_HACMP, haemd_SP

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]