Method, apparatus and device for determining cluster network card, and readable storage medium
Abstract:
A method and device for determining a cluster network card, and a computer readable storage medium. The method comprises: reading a network segment of a Cluster IP from a configuration file of a current node; determining the type of the network segment of the Cluster IP by means of an address string in the network segment of the Cluster IP; obtaining an IP and a network card corresponding to the type of the network segment of the Cluster IP on the current node; and calculating the network segment of each IP, determining the IP corresponding to the network segment with the same address string as a Cluster IP, and determining the network card where the IP is located as a cluster network card. According to the disclosure, the cluster network card can be automatically and accurately found according to the configuration file.
Information query
Patent Agency Ranking
0/0