In this paper, the scheme of preventing and predicting failed nodes is proposed by comparing/analyzing the shared XML file in the node Discovery process of Secure Data Distribution Service (Secure Data Distribution Service, Secure DDS). Each node in a Secure DDS-based distributed system stores information such as its domain, node access authority, topic, and so on within the XML file. This information is shared by the Simple Discovery Protocol (SDP) of Secure DDS through the authentication process of each node. In this paper, XML files are collected and analyzed in the SDP process of the Real-Time Publish-Subscribe (RTPS) layer, Data-Centric Publish-Subscribe (DCPS) collects additional information and informs developers through the interface. This allows the scheme proposed in this paper to prevent errors that may be caused by Secure DDS setup and to predict network state failures.