Configuring a data center
AssigneeEMC IP Holding Company LLC
InventorsYun Zhang, Lin Peng, Tianqing Wang, Kai Yan, Feng Guo
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure disclose a method and an apparatus for configuring a data center. The method comprises obtaining a function call corresponding to data to be configured based on a template for configuring the data center; obtaining a vendor driver corresponding to the data based on the template for configuring the data center. The method further comprises configuring the data by the vendor driver executing the function call. Based on the embodiments of the present disclosure, the way of automatically configuring the data center based on the template may improve the efficiency and security for configuration of the data center.
Claims13
A method for configuring a data center, comprising:
- obtaining a function call corresponding to data to be configured based on a template for configuring the data center;
- wherein the template is a set of resource model instances used to describe a configuration;
- obtaining a vendor driver corresponding to the data based on the template for configuring the data center;
- wherein obtaining the function call corresponding to the data based on the template for configuring the data center comprises:
- dividing the template into a sub-template for configuring compute data, a sub-template for configuring network data, and a sub-template for configuring storage data respectively for the compute data, wherein the network data and the storage data included in the data;
- and
- obtaining a function call corresponding to the compute data, a function call corresponding to the network data, and a function call corresponding to the storage data respectively based on the sub-template for configuring compute data, the sub-template for configuring network data, and/or the sub-template for configuring storage data;
- and
- configuring the data by the vendor driver by executing the function call;
- wherein prior to obtaining the function call corresponding to the data based on the template for configuring the data center:
- determining an execution order of the function call corresponding to the compute data, the function call corresponding to the network data, and the function call corresponding to the storage data based on a predetermined configuration order of the compute data, the network data and the storage data;
- wherein prior to determining the execution order:
- storing at least one of a pre-defined template or a template created by a user in a template repository;
- and
- determining from the template repository an appropriate template required for configuring the data center.
An apparatus for configuring a data center, comprising:
- a system including one or more modules and one or more processors, wherein a module of the one or more modules is configured
- to obtain a function call corresponding to data to be configured based on a template for configuring the data center;
- wherein the template is a set of resource model instances used to describe a configuration;
- to obtain a vendor driver corresponding to the data based on the template for configuring the data center;
- to obtain the data by the vendor driver executing the function call;
- dividing the template into
- a sub-template for configuring compute data,
- a sub-template for configuring network data, and
- a sub-template for configuring storage data respectively for the compute data, the network data and the storage data included in the data;
- and
- to obtain a function call corresponding to the compute data, a function call corresponding to the network data, and a function call corresponding to the storage data respectively based on the sub-template for configuring compute data, the sub-template for configuring network data, and the sub-template for configuring storage data;
- wherein the module is further configured to determine an execution order of
- the function call corresponding to the compute data,
- the function call corresponding to the network data, and
- the function call corresponding to the storage data based on a predetermined configuration order of the compute data, the network data and the storage data wherein the module is further configured:
- to store a pre-defined template or a template created by a user in a template repository;
- and
- to determine from the template repository an appropriate template for configuring the data center.
Dependencies are inferred from the claim text.