主权项 |
1. A computer-implemented method for deploying programs in a cluster node, the computer-implemented method comprising:
obtaining, by one or more processors, a dependency between a program to be deployed in a node in a cluster and other programs to be deployed in the cluster; obtaining, by one or more processors, an IP address and connection information of a sub/pub server; connecting, by one or more processors, a client computer to the sub/pub server; subscribing, by one or more processors, to the sub/pub server for a message of other programs on which the program is dependent; and deploying, by one or more processors, the program in response to obtaining the subscribed message of other programs on which the program is dependent from the sub/pub server. |