Sample IMF configurations

Last published : Oct 13, 2026
An example of a type definition file for a Microsoft SQL Server agent that is IMF-enabled is as follows:
In this example, the IMF-related attributes are set to the following values:
AgentFile /opt/VRTSvcs/bin/Script60Agent
IMF{} { Mode=2, MonitorFreq=1, RegisterRetryLimit=3 }
type MSSQL (
        static int IMF{} = { Mode=2, MonitorFreq=1, RegisterRetryLimit=3 }
        static str AgentDirectory = "/opt/VRTSagents/ha/bin/MSSQL"
        static str AgentFile = "/opt/VRTSvcs/bin/Script60Agent"
        static str ArgList[] = { ServiceName }
        str ServiceName = "mssql-server"
)
A sample resource configuration from the /etc/VRTSvcs/conf/config/main.cffile is as follows:
MSSQL mssql (
        ServiceName = mssql-custom-service
        )