State persistence
All of EMM’s management state, including the list of hosts and components it is managing and the committed settings for each (including the diagnostic messages), are persisted by EMM to disk.
When EMM is stopped and restarted no settings are lost, although note that in the current version EMM’s status monitoring and auto-restart capabilities are only active while the console is running.
The state is stored in a file in the Apama Work directory called etc\emm_state.dat and a backup is created in etc\emm_state.dat.bak. EMM must have the necessary permissions to read/write these files. If there is a problem locating or reading the state file EMM will offer to load from the backup file instead. If neither file can be located or read, EMM will revert back to its default installation stage configuration. Should EMM fail to save its state file correctly for whatever reason then temporary files of the form serialXXXXX.tmp will be created in the etc directory; these files can be safely deleted.