You may choose include several configuration files in the main.cf file. For example:
include "applicationtypes.cf" include "listofsystems.cf" include "applicationgroup.cf"
If you include other .cf files in main.cf, the following considerations apply:
Resource type definitions must appear before the definitions of any groups that use the resource types.
In the following example, the applicationgroup.cf file includes the service group definition for an application. The service group includes resources whose resource types are defined in the file applicationtypes.cf. In this situation, the applicationtypes.cf file must appear first in the main.cf file.
For example:
include "applicationtypes.cf" include "applicationgroup.cf"
If you define heartbeats outside of the main.cf file and include the heartbeat definition file, saving the main.cf file results in the heartbeat definitions getting added directly to the main.cf file.