A method and computer system for maintaining service dependency
relationships in a computer system is disclosed, which periodically
checks the status of the service components in the system and maintains
the service dependency by starting any lost service components when
needed. A reference file that includes the dependency links between the
installed service components in the system is used to compare against a
dynamic service consistency file that includes the dependency links
between the currently available service components. From the comparison,
the computer system is able to activate any lost service components. As a
result, the service dependency of the computer system is maintained.