Maintenance is an important way to ensure the best performance of repairable systems. This paper considers how to reduce system maintenance cost while ensuring consistent system performance. Due to budget constraints, preventive maintenance (PM) can be done on only some of the system components. Also, different selections of components to be maintained can have markedly different effects on system performance. On the basis of the above issues, this paper proposes an importance-based maintenance priority (IBMP) model to guide the selection of PM components. Then the model is extended to find the degree of correlation between two components to be maintained and a joint importance-based maintenance priority (JIBMP) model to guide the selection of opportunistic maintenance (OM) components is proposed. Also, optimization strategies under various conditions are proposed. Finally, a case of 2H2E architecture is used to demonstrate the proposed method. The results show that generators in the 2E layout have the highest maintenance priority, which further explains the difference in the importance of each component in PM.