Patent ID: 9654442
Date: 2017-05-16
CPC Classifications: H04L

Claim:
1. A method for deploying clustered servers, executed by a processing unit of a DHCP (Dynamic Host Configuration Protocol) server, comprising: recognizing whether a type of a requesting server is master or slave in a cloud computing environment after receiving a discovery message from the requesting server; encapsulating deployment information associated with the type of the requesting server according to the recognition into an acknowledgement after receiving a request from the requesting server, wherein the request requests an IP (Internet Protocol) address, which has been assigned by the DHCP server; and replying with the acknowledgement to the requesting server, thereby enabling the requesting server to configure itself as a master server or a slave server in the cloud computing environment according to the deployment information of the acknowledgement; wherein the encapsulating step further comprises: encapsulating deployment information associated with the master server into the acknowledgement when recognizing that the type of the requesting server is master; and encapsulating deployment information associated with slave servers into the acknowledgement when recognizing that the type of the requesting server is slave, wherein the deployment information associated with the master server comprises an account and a password for logging in a storage server of the cloud computing environment, and the deployment information associated with slave servers comprises an IP address of the master server.