Method and system for managing servers
AssigneeTencent Technology (Shenzhen) Company Limited
InventorLi LIN
Life of this patent
Estimating the term…
Abstract
A method of managing servers includes at a central server having one or more processors and memory for storing one or more programs to be executed by the processors: obtaining configuration file for clustering servers; classifying each server into one layer of a hierarchical structure based on business logic associated with the server defined in the configuration file; receiving an operation command from an administrator; analyzing the operation command to identify a target server for executing the operation command; and forwarding the operation command to the target server through a path in the hierarchical structure defined in the operation command.
Claims20
A method of managing servers comprising:
- at a central server having one or more processors and memory for storing one or more programs to be executed by the processors:
- obtaining configuration file for clustering servers;
- classifying each server into one layer of a hierarchical structure based on business logic associated with the server defined in the configuration file;
- receiving an operation command from an administrator;
- analyzing the operation command to identify a target server for executing the operation command;
- and
- forwarding the operation command to the target server through a path in the hierarchical structure defined in the operation command, wherein the hierarchical structure includes at least four layers of servers configured in a tree topology from top to bottom, the four layers including:
- a cluster being a root node, and comprising servers that are configured to provide the same service;
- a plurality of groups, each group being a sub-node of the cluster, and comprising servers within the cluster that are configured with the same operation environment;
- a plurality of sets, each set being a sub-node of a respective group, and comprising servers within the group that have one or more sets of business;
- and
- a plurality of units, each unit being a sub-node of a respective set, and comprising servers within the set that are configured to execute the business logic associated with the set.
A system of managing servers comprising:
- one or more processors;
- memory;
- and
- one or more program modules stored in the memory and to be executed by the processors, the one or more program modules further including:
- a configuration retrieving module configured to obtain configuration file for clustering servers, wherein the configuration file classifies each server into one layer of a hierarchical structure based on business logic associated with the server;
- a command analyzing module configured to receive an operation command from an administrator, and analyze the operation command to identify a target server for executing the operation command;
- and
- a command forwarding module configured to forward the operation command to the target server through a path in the hierarchical structure defined in the operation command, wherein the hierarchical structure includes at least four layers of servers configured in a tree topology from top to bottom, the four layers including:
- a cluster being a root node, and comprising servers that are configured to provide the same service;
- a plurality of groups, each group being a sub-node of the cluster, and comprising servers within the cluster that are configured with the same operation environment;
- a plurality of sets, each set being a sub-node of a respective group, and comprising servers within the group that have one or more sets of business;
- and
- a plurality of units, each unit being a sub-node of a respective set, and comprising servers within the set that are configured to execute the business logic associated with the set.
A non-transitory computer readable storage medium, storing one or more programs for execution by one or more processors of a computer system, the one or more programs including instructions for:
- obtaining configuration file for clustering servers;
- classifying each server into one layer of a hierarchical structure based on business logic associated with the server defined in the configuration file;
- receiving an operation command from an administrator;
- analyzing the operation command to identify a target server for executing the operation command;
- and
- forwarding the operation command to the target server through a path in the hierarchical structure defined in the operation command, wherein the hierarchical structure includes at least four layers of servers configured in a tree topology from top to bottom, the four layers including:
- a cluster being a root node, and comprising servers that are configured to provide the same service;
- a plurality of groups, each group being a sub-node of the cluster, and comprising servers within the cluster that are configured with the same operation environment;
- a plurality of sets, each set being a sub-node of a respective group, and comprising servers within the group that have one or more sets of business;
- and
- a plurality of units, each unit being a sub-node of a respective set, and comprising servers within the set that are configured to execute the business logic associated with the set.
Dependencies are inferred from the claim text.