CN109324802B - Method and device for configuring server - Google Patents
Method and device for configuring server Download PDFInfo
- Publication number
- CN109324802B CN109324802B CN201811151544.2A CN201811151544A CN109324802B CN 109324802 B CN109324802 B CN 109324802B CN 201811151544 A CN201811151544 A CN 201811151544A CN 109324802 B CN109324802 B CN 109324802B
- Authority
- CN
- China
- Prior art keywords
- server
- test
- servers
- stress test
- determining
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Debugging And Monitoring (AREA)
- Computer And Data Communications (AREA)
Abstract
本申请实施例公开了用于配置服务器的方法和装置。上述方法的一具体实施方式包括:接收至少一个待配置服务器发送的压力测试结果;根据压力测试结果,确定至少一个待配置服务器是否通过压力测试;确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的第一比值;响应于确定第一比值大于第一预设阈值,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器;在测试服务器中部署测试环境。该实施方式缩短了云计算中心的建设周期,提高建设效率。
The embodiments of the present application disclose a method and an apparatus for configuring a server. A specific embodiment of the above method includes: receiving a stress test result sent by at least one server to be configured; determining whether at least one server to be configured passes the stress test according to the stress test result; determining the number of servers to be configured that pass the stress test and the number of servers to be configured The first ratio of the first planned configuration quantity of the servers; in response to determining that the first ratio is greater than the first preset threshold, select the to-be-configured server as the test server among the to-be-configured servers that passed the stress test; and deploy the test environment in the test server. This implementation method shortens the construction period of the cloud computing center and improves construction efficiency.
Description
技术领域technical field
本申请实施例涉及服务器技术领域,具体涉及用于配置服务器的方法和装置。The embodiment of the present application relates to the technical field of servers, and specifically relates to a method and an apparatus for configuring a server.
背景技术Background technique
云计算中心的建设过程中,通常需要多个阶段的工作。多个阶段例如包括服务器采购阶段、物理网络环境准备阶段、服务器规划阶段、服务器到货阶段、服务器上架阶段等等。一般多个阶段都是串行执行的,即前一阶段的工作完成后,才能执行下一阶段的工作。并且前一阶段的工作质量不合格时,会导致返工,拉长了云计算中心的建设周期。During the construction of a cloud computing center, multiple stages of work are usually required. The multiple stages include, for example, a server purchasing stage, a physical network environment preparation stage, a server planning stage, a server arrival stage, a server putting on shelves, and the like. Generally, multiple stages are executed serially, that is, the work of the next stage can only be executed after the work of the previous stage is completed. And when the quality of work in the previous stage is not up to standard, it will lead to rework, prolonging the construction period of the cloud computing center.
发明内容Contents of the invention
本申请实施例提出了配置服务器的方法和装置。The embodiments of the present application provide a method and an apparatus for configuring a server.
第一方面,本申请实施例提供了一种配置服务器的方法,包括:接收至少一个待配置服务器发送的压力测试结果;根据上述压力测试结果,确定上述至少一个待配置服务器是否通过压力测试;确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的第一比值;响应于确定上述第一比值大于第一预设阈值,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器;在上述测试服务器中部署测试环境。In the first aspect, an embodiment of the present application provides a method for configuring a server, including: receiving a stress test result sent by at least one server to be configured; determining whether the at least one server to be configured has passed the stress test according to the stress test result; determining The first ratio of the number of servers to be configured that pass the stress test to the first planned configuration number of servers to be configured; in response to determining that the first ratio is greater than a first preset threshold, select the servers to be configured that pass the stress test to be configured The server is used as a test server; the test environment is deployed in the above test server.
在一些实施例中,上述在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器,包括:确定预设的至少一个服务器集合中服务器集合的数量以及服务器集合的优先级;根据服务器集合的数量以及优先级,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的测试服务器。In some embodiments, selecting the server to be configured as the test server among the servers to be configured that pass the stress test includes: determining the number of server sets in at least one preset server set and the priority of the server set; According to the quantity and priority, select the server to be configured from the servers to be configured that pass the stress test as the test server corresponding to the server set.
在一些实施例中,上述在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器,包括:响应于确定上述第一比值大于第二预设阈值,确定测试服务器的数量是否大于或等于服务器集合的数量;响应于确定测试服务器的数量小于服务器集合的数量,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的测试服务器,以使测试服务器与服务器集合一一对应。In some embodiments, selecting the server to be configured as the test server from the servers to be configured that pass the stress test includes: determining whether the number of test servers is greater than or equal to the number of servers in response to determining that the first ratio is greater than the second preset threshold The number of sets; in response to determining that the number of test servers is less than the number of server sets, select the server to be configured as the test server corresponding to the server set from the servers to be configured that pass the stress test, so that the test server corresponds to the server set one by one.
在一些实施例中,上述在上述测试服务器中部署测试环境,包括:根据服务器集合与应用的预设对应关系,在所确定的测试服务器中安装与服务器集合对应的应用,得到测试环境。In some embodiments, the above-mentioned deployment of the test environment in the test server includes: installing the application corresponding to the server set in the determined test server according to the preset correspondence between the server set and the application to obtain the test environment.
在一些实施例中,上述方法还包括:响应于确定测试服务器的数量等于服务器集合的数量以及接收到针对测试服务器的测试完成消息,根据服务器集合所对应的优先级,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的扩容服务器;根据服务器集合与应用的预设对应关系,在上述扩容服务器中安装与服务器集合对应的应用,以配置所选取的待配置服务器。In some embodiments, the above method further includes: in response to determining that the number of test servers is equal to the number of server sets and receiving a test completion message for the test servers, according to the priority corresponding to the server set, pass the stress test to be configured The server to be configured is selected from the servers as the expansion server corresponding to the server set; according to the preset correspondence between the server set and the application, the application corresponding to the server set is installed in the expansion server to configure the selected server to be configured.
在一些实施例中,上述方法还包括:确定已安装与服务器集合对应的应用的服务器为已配置服务器;确定服务器集合对应的已配置服务器的数量;根据服务器集合对应的已配置服务器的数量以及服务器集合对应的第二计划配置数量,调整服务器集合的优先级。In some embodiments, the above method further includes: determining that a server that has installed an application corresponding to the server set is a configured server; determining the number of configured servers corresponding to the server set; according to the number of configured servers corresponding to the server set and the server The second planned configuration quantity corresponding to the set adjusts the priority of the server set.
在一些实施例中,上述方法还包括:确定服务器集合对应的已配置服务器的数量与服务器集合对应的第二计划配置数量的第二比值;响应于确定第二比值大于第三预设阈值,向服务器集合发送测试请求。In some embodiments, the above method further includes: determining a second ratio between the number of configured servers corresponding to the server set and the second planned configuration number corresponding to the server set; in response to determining that the second ratio is greater than a third preset threshold, sending A collection of servers sends test requests.
在一些实施例中,上述方法还包括:获取通过压力测试的待配置服务器的网络地址信息;根据网络地址信息与服务器机架信息的预设对应关系,确定安装通过压力测试的待配置服务器的机架信息;更新所确定的机架信息指示的机架上安装的待配置服务器的数量。In some embodiments, the above method further includes: acquiring the network address information of the server to be configured that has passed the stress test; rack information; updating the number of servers to be configured installed on the rack indicated by the determined rack information.
第二方面,本申请实施例提供了一种配置服务器的装置,包括:结果接收单元,被配置成接收至少一个待配置服务器发送的压力测试结果;结论确定单元,被配置成根据上述压力测试结果,确定上述至少一个待配置服务器是否通过压力测试;比值确定单元,被配置成确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的第一比值;服务器选取单元,被配置成响应于确定上述第一比值大于第一预设阈值,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器;环境部署单元,被配置成在上述测试服务器中部署测试环境。In a second aspect, the embodiment of the present application provides an apparatus for configuring servers, including: a result receiving unit configured to receive the stress test results sent by at least one server to be configured; a conclusion determination unit configured to , determining whether the at least one server to be configured has passed the stress test; the ratio determination unit is configured to determine a first ratio of the number of servers to be configured that pass the stress test to the first planned configuration number of servers to be configured; the server selection unit is configured It is configured to select a server to be configured as a test server among the servers to be configured that pass the stress test in response to determining that the first ratio is greater than a first preset threshold; the environment deployment unit is configured to deploy a test environment in the test server.
在一些实施例中,上述服务器选取单元进一步被配置成:确定预设的至少一个服务器集合中服务器集合的数量以及服务器集合的优先级;根据服务器集合的数量以及优先级,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的测试服务器。In some embodiments, the above-mentioned server selection unit is further configured to: determine the number of server sets and the priority of server sets in at least one preset server set; The server to be configured is selected from the configuration server as the test server corresponding to the server set.
在一些实施例中,上述服务器选取单元进一步被配置成:响应于确定上述第一比值大于第二预设阈值,确定测试服务器的数量是否大于或等于服务器集合的数量;响应于确定测试服务器的数量小于服务器集合的数量,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的测试服务器,以使测试服务器与服务器集合一一对应。In some embodiments, the server selection unit is further configured to: determine whether the number of test servers is greater than or equal to the number of server sets in response to determining that the first ratio is greater than a second preset threshold; is less than the number of server sets, select the server to be configured as the test server corresponding to the server set among the servers to be configured that pass the stress test, so that the test servers correspond to the server set one by one.
在一些实施例中,上述环境部署单元进一步被配置成:根据服务器集合与应用的预设对应关系,在所确定的测试服务器中安装与服务器集合对应的应用,得到测试环境。In some embodiments, the above-mentioned environment deployment unit is further configured to: install the application corresponding to the server set in the determined test server according to the preset corresponding relationship between the server set and the application, so as to obtain the test environment.
在一些实施例中,上述装置还包括:扩容服务器确定单元,被配置成响应于确定测试服务器的数量等于服务器集合的数量以及接收到针对测试服务器的测试完成消息,根据服务器集合所对应的优先级,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的扩容服务器;扩容服务器配置单元,被配置成根据服务器集合与应用的预设对应关系,在上述扩容服务器中安装与服务器集合对应的应用,以配置所选取的待配置服务器。In some embodiments, the above-mentioned apparatus further includes: an expansion server determination unit, configured to respond to determining that the number of test servers is equal to the number of server sets and receiving a test completion message for the test servers, according to the priority corresponding to the server set , select the server to be configured as the expansion server corresponding to the server set from the servers to be configured that have passed the stress test; the expansion server configuration unit is configured to install and server Collect the corresponding applications to configure the selected server to be configured.
在一些实施例中,上述装置还包括优先级调整单元,上述优先级调整单元被配置成:确定已安装与服务器集合对应的应用的服务器为已配置服务器;确定服务器集合对应的已配置服务器的数量;根据服务器集合对应的已配置服务器的数量以及服务器集合对应的第二计划配置数量,调整服务器集合的优先级。In some embodiments, the above-mentioned apparatus further includes a priority adjustment unit, and the above-mentioned priority adjustment unit is configured to: determine that a server that has installed an application corresponding to the server set is a configured server; determine the number of configured servers corresponding to the server set ; Adjust the priority of the server set according to the number of configured servers corresponding to the server set and the second planned configuration quantity corresponding to the server set.
在一些实施例中,上述装置还包括:第二比值确定单元,被配置成确定服务器集合对应的已配置服务器的数量与服务器集合对应的第二计划配置数量的第二比值;测试请求发送单元,被配置成响应于确定第二比值大于第三预设阈值,向服务器集合发送测试请求。In some embodiments, the above apparatus further includes: a second ratio determination unit configured to determine a second ratio between the number of configured servers corresponding to the server set and the second planned configuration number corresponding to the server set; the test request sending unit, configured to send a test request to the set of servers in response to determining that the second ratio is greater than a third preset threshold.
在一些实施例中,上述装置还包括更新单元,上述更新单元被配置成:获取通过压力测试的待配置服务器的网络地址信息;根据网络地址信息与服务器机架信息的预设对应关系,确定安装通过压力测试的待配置服务器的机架信息;更新所确定的机架信息指示的机架上安装的待配置服务器的数量。In some embodiments, the above-mentioned device further includes an update unit, and the above-mentioned update unit is configured to: obtain the network address information of the server to be configured that passes the stress test; determine the installation The rack information of the server to be configured that passes the stress test; and the number of servers to be configured installed on the rack indicated by the determined rack information is updated.
第三方面,本申请实施例提供了一种服务器,包括:一个或多个处理器;存储装置,其上存储有一个或多个程序,当上述一个或多个程序被上述一个或多个处理器执行,使得上述一个或多个处理器实现如第一方面任一实施例所描述的方法。In a third aspect, the embodiment of the present application provides a server, including: one or more processors; a storage device, on which one or more programs are stored, when the above one or more programs are processed by the executed by a processor, so that the above-mentioned one or more processors implement the method described in any embodiment of the first aspect.
第四方面,本申请实施例提供了一种计算机可读介质,其上存储有计算机程序,该程序被处理器执行时实现如第一方面任一实施例所描述的方法。In a fourth aspect, an embodiment of the present application provides a computer-readable medium, on which a computer program is stored, and when the program is executed by a processor, the method as described in any embodiment of the first aspect is implemented.
本申请的上述实施例提供的配置服务器的方法和装置,首先可以接收至少一个待配置服务器发送的压力测试结果。然后,可以根据上述压力测试结果,确定上述至少一个待配置服务器是否通过压力测试。确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的比值。在确定上述比值大于第一预设阈值时,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器。最后,在上述测试服务器中部署测试环境。本实施例的方法和装置,可以在云计算中心的建设过程中,确定通过压力测试的待配置服务器与计划配置的服务器的数量达到一定比值后,即可选取测试服务器来部署测试环境。不需要等待所有的服务器都到货并且通过压力测试后再部署测试环境,从而缩短了云计算中心的建设周期,提高建设效率。The method and device for configuring a server provided by the above embodiments of the present application may first receive a stress test result sent by at least one server to be configured. Then, it may be determined whether the at least one server to be configured passes the stress test according to the stress test result. Determine the ratio of the number of servers to be configured that pass the stress test to the first planned configuration number of servers to be configured. When it is determined that the above ratio is greater than the first preset threshold, the server to be configured is selected from the servers to be configured that pass the stress test as the test server. Finally, deploy the test environment in the above test server. The method and device of this embodiment can select a test server to deploy a test environment after determining that the number of servers to be configured that pass the stress test and the number of servers to be configured that pass the stress test reaches a certain ratio during the construction of the cloud computing center. There is no need to wait for all the servers to arrive and pass the stress test before deploying the test environment, thereby shortening the construction period of the cloud computing center and improving construction efficiency.
附图说明Description of drawings
通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本申请的其它特征、目的和优点将会变得更明显:Other characteristics, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:
图1是本申请的一个实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present application can be applied;
图2是根据本申请的用于配置服务器的方法的一个实施例的流程图;FIG. 2 is a flow chart of one embodiment of a method for configuring a server according to the present application;
图3是根据本申请的用于配置服务器的方法的一个应用场景的示意图;FIG. 3 is a schematic diagram of an application scenario of a method for configuring a server according to the present application;
图4是根据本申请的用于配置服务器的方法的又一个实施例的流程图;Fig. 4 is a flow chart of another embodiment of the method for configuring a server according to the present application;
图5是根据本申请的用于配置服务器的装置的一个实施例的结构示意图;FIG. 5 is a schematic structural diagram of an embodiment of a device for configuring a server according to the present application;
图6是适于用来实现本申请实施例的服务器的计算机系统的结构示意图。Fig. 6 is a schematic structural diagram of a computer system suitable for implementing the server of the embodiment of the present application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.
需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
图1示出了可以应用本申请的用于配置服务器的方法或用于配置服务器的装置的实施例的示例性系统架构100。FIG. 1 shows an
如图1所示,系统架构100可以包括待配置服务器101、102、103,网络104和管理服务器105。网络104用以在待配置服务器101、102、103和管理服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the
待配置服务器101、102、103可以通过网络104与管理服务器105交互,以接收或发送消息等。待配置服务器101、102、103上可以安装有操作系统,上述操作系统可以是Windows操作系统、Linux操作系统、Unix操作系统等等。The servers to be configured 101 , 102 , and 103 can interact with the
管理服务器105可以是用于配置和管理待配置服务器101、102、103的服务器。管理服务器105可以对接收到的压力测试结果等数据进行分析,并根据分析结果对待配置服务器101、102、103进行进一步的配置(例如选取测试服务器等)。The
需要说明的是,管理服务器105可以是硬件,也可以是软件。当服务器为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the
需要说明的是,本申请实施例所提供的用于配置服务器的方法一般由管理服务器105执行。相应地,用于配置服务器的装置一般设置于管理服务器105中。It should be noted that, the method for configuring a server provided in the embodiment of the present application is generally executed by the
应该理解,图1中的待配置服务器、网络和管理服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的待配置服务器、网络和管理服务器。It should be understood that the numbers of servers to be configured, networks and management servers in Fig. 1 are only illustrative. There can be any number of servers to be configured, networks, and management servers according to implementation requirements.
继续参考图2,示出了根据本申请的用于配置服务器的方法的一个实施例的流程200。本实施例的用于配置服务器的方法,包括以下步骤:Continuing to refer to FIG. 2 , a
步骤201,接收至少一个待配置服务器发送的压力测试结果。
在本实施例中,用于配置服务器的方法的执行主体(例如图1所示的管理服务器105)可以实时的通过有线连接方式或者无线连接方式从至少一个待配置服务器(例如图1所示的待配置服务器101、102、103)处接收压力测试结果。上述待配置服务器是指安装了操作系统且已被分配IP地址的服务器,且可以通过网络与执行主体交互。上述待配置服务器可以进行压力测试,压力测试的内容可以包括对存储设备(内存和外存)的容量、顺序读写性能以及随机读写性能的测试,对CPU的时钟频率、响应时间的测试等等。待配置服务器中可以安装现有的压力测试工具,以进行压力测试。上述压力测试工具可以对待配置服务器进行高性能计算、高压力读写、高流量网络读写,以测试待配置服务器是否会异常。In this embodiment, the execution body of the method for configuring servers (for example, the
各待配置服务器在完成压力测试后,可以将压力测试结果发送给执行主体。上述压力测试结果可以包括对待配置服务器的各个部件的压力测试的得分或结论。举例来说,压力测试包括对内存的压力测试、对磁盘的压力测试以及对CPU的压力测试。上述压力测试结果可以包括三个得分:内存压力测试得分95、磁盘压力测试得分96、CPU压力测试得分97。或者上述压力测试结果可以包括三个结论:内存压力测试通过、磁盘压力测试通过、CPU压力测试通过。After each server to be configured completes the stress test, it can send the stress test result to the execution subject. The above stress test results may include the scores or conclusions of the stress test for each component of the server to be configured. For example, the stress test includes a stress test on the memory, a stress test on the disk, and a stress test on the CPU. The above stress test results may include three scores: a memory stress test score of 95, a disk stress test score of 96, and a CPU stress test score of 97. Or the above stress test result may include three conclusions: the memory stress test passes, the disk stress test passes, and the CPU stress test passes.
在本实施例的一些可选的实现方式中,在上述步骤201之前,技术人员陆续收到采购的服务器后,可以首先从上述服务器中选取一台作为安装服务器。技术人员可以现场或通过网络对安装服务器进行配置。该安装服务器中可以保存有操作系统的镜像文件、操作系统的配置参数、IP地址范围等信息。技术人员在配置完成安装服务器后,可以将其他空白服务器与安装服务器接入同一网络交换机。这样,安装服务器可以检测到空白服务器的接入,进而可以向空白服务器分配IP地址。安装服务器还可以获取空白服务器的序列号和/或物理地址等信息,然后将空白服务器的序列号和/或物理地址与分配给空白服务器的IP地址对应存储到数据库中。安装服务器还可以将操作系统的镜像文件、操作系统的配置参数等信息发送给空白服务器,空白服务器在得到这些信息后,可以安装并配置操作系统。In some optional implementation manners of this embodiment, before the
通过本实现方式的方法,不需要技术人员在采购的所有服务器到货后,确定各服务器的物理地址,并预先分配好物理地址与IP地址的对应关系后,才能安装服务器。只需要技术人员提前规划好IP地址范围,并将IP地址范围保存在安装服务器中。其它服务器在加电后,可由安装服务器自动分配IP地址,减少了技术人员的工作量,同时也缩短了云计算中心的建设周期。Through the method of this implementation mode, it is not necessary for technicians to install the servers after all the purchased servers arrive, determine the physical addresses of each server, and pre-allocate the corresponding relationship between the physical addresses and IP addresses. Only the technicians need to plan the IP address range in advance, and save the IP address range in the installation server. After other servers are powered on, the IP address can be automatically assigned by the installation server, which reduces the workload of technicians and shortens the construction period of the cloud computing center.
在一些可选的实现方式中,安装服务器中还可以保存有压力测试工具的安装文件。安装服务器可以向安装完成操作系统的服务器发送压力测试工具的安装文件,以使得上述服务器安装压力测试工具进行压力测试。同时,安装服务器还可以向安装完成操作系统的服务器发送执行主体的网络地址。在完成压力测试后,将压力测试结果发送给执行主体。完成压力测试的服务器即为步骤201中的待配置服务器。In some optional implementation manners, an installation file of the stress testing tool may also be stored in the installation server. The installation server may send the installation file of the stress testing tool to the server on which the operating system has been installed, so that the above server installs the stress testing tool for stress testing. At the same time, the installation server may also send the network address of the execution subject to the server on which the operating system has been installed. After the stress test is completed, the stress test result is sent to the execution subject. The server that has completed the stress test is the server to be configured in
在一些可选的实现方式中,安装服务器可以在收到各安装完成操作系统的服务器发送的自检成功消息后,向安装完成操作系统的服务器发送压力测试工具的安装文件。本实现方式中,服务器在安装完成操作系统后可以上电自检。上电自检可以包括对CPU、主板、基本的640KB内存、1MB以上的扩展内存、系统ROM BIOS的测试等等。如果自检过程中没有发现错误,则会生成自检成功消息发送给安装服务器。安装服务器在接收到上述自检成功消息后,会发送压力测试工具的安装文件。In some optional implementation manners, the installation server may send the installation file of the stress testing tool to the servers on which the operating systems have been installed after receiving the self-test success messages sent by the servers on which the operating systems have been installed. In this implementation manner, after the installation of the operating system is completed, the server can perform a power-on self-test. The power-on self-test can include tests on the CPU, motherboard, basic 640KB memory, extended memory above 1MB, system ROM BIOS, and so on. If no error is found during the self-test, a self-test success message will be generated and sent to the installation server. After the installation server receives the above self-test success message, it will send the installation file of the stress testing tool.
在一些可选的实现方式中,安装完成操作系统的服务器可以将自身的硬件信息发送给执行主体。上述硬件信息可以包括服务器中各个硬件的信息,例如CPU的生产厂家信息、CPU的型号、内存的容量、内存的生产厂家信息等等。执行主体在得到上述硬件信息后,可以保存上述硬件信息,以用于后续的配置。In some optional implementation manners, the server on which the operating system has been installed may send its own hardware information to the execution subject. The above hardware information may include information about each piece of hardware in the server, such as CPU manufacturer information, CPU model, memory capacity, memory manufacturer information, and the like. After the execution subject obtains the above hardware information, it can save the above hardware information for subsequent configuration.
步骤202,根据压力测试结果,确定至少一个待配置服务器是否通过压力测试。Step 202: Determine whether at least one server to be configured passes the stress test according to the stress test result.
执行主体在得到压力测试结果后,可以根据压力测试结果,确定各待配置服务器是否通过压力测试。具体的,执行主体可以确定压力测试结果中的得分或结论是否满足预设条件,进而确定待配置服务器是否通过压力测试。举例来说,当测试结果中的得分都在95分以上时,执行主体认定待配置服务器通过压力测试。或者,当各项测试的结论都为通过时,执行主体认定待配置服务器通过压力测试。After obtaining the stress test result, the execution subject can determine whether each server to be configured has passed the stress test according to the stress test result. Specifically, the executive body can determine whether the score or conclusion in the stress test result meets the preset condition, and then determine whether the server to be configured passes the stress test. For example, when the scores in the test results are all above 95 points, the executive body determines that the server to be configured has passed the stress test. Or, when the conclusions of all the tests are passed, the executive body determines that the server to be configured has passed the stress test.
步骤203,确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的第一比值。
本实施例中,可以预先设定待配置服务器的计划配置数量,并将上述计划配置数量作为第一计划配置数量。可以理解的是,云计算中心可以提供多种服务,每一种服务都由一个服务器集合来实现。每个服务器集合中都可以包括第二计划配置数量个待配置服务器。待对每个服务器集合中的待配置服务器配置完成后,则完成了云计算中心的建设。配置完成后,同一服务器集合中的各服务器可以安装相同的应用程序来实现对应的服务。技术人员可以根据云计算中心能够提供的服务的数量以及每个服务所需的服务器的数量,来确定上述第一计划配置数量。或者,特定的算法对运行应用程序所需的资源(存储空间、网络带宽)进行计算,确定上述第一计划配置数量。In this embodiment, the planned configuration quantity of the server to be configured may be preset, and the above-mentioned planned configuration quantity is used as the first planned configuration quantity. It can be understood that the cloud computing center can provide multiple services, and each service is implemented by a set of servers. Each server set may include a second planned configuration quantity of servers to be configured. After the configuration of the servers to be configured in each server set is completed, the construction of the cloud computing center is completed. After the configuration is complete, each server in the same server set can install the same application program to realize the corresponding service. A technician may determine the above-mentioned first planned configuration quantity according to the quantity of services that the cloud computing center can provide and the quantity of servers required by each service. Alternatively, a specific algorithm calculates the resources (storage space, network bandwidth) required to run the application program to determine the above-mentioned first planned configuration quantity.
执行主体可以统计通过压力测试的待配置服务器的数量,然后计算上述数量与第一计划配置数量的第一比值。在上述第一比值大于第一预设阈值时,执行步骤204。The execution subject may count the number of servers to be configured that pass the stress test, and then calculate a first ratio between the above number and the first planned configuration number. When the above-mentioned first ratio is greater than the first preset threshold,
步骤204,响应于确定第一比值大于第一预设阈值,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器。
执行主体在确定上述第一比值大于第一预设阈值时,可以在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器。可以理解的是,上述第一预设阈值小于1。在一些可选的实现方式中,上述第一预设阈值为20%。When the executive body determines that the above-mentioned first ratio is greater than the first preset threshold, it may select the server to be configured as the test server from the servers to be configured that pass the stress test. It can be understood that the above-mentioned first preset threshold is less than 1. In some optional implementation manners, the above-mentioned first preset threshold is 20%.
执行主体可以从通过压力测试的待配置服务器中选取至少一个待配置服务器作为测试服务器。不同的测试服务器可以对应于不同的服务。The execution subject may select at least one server to be configured from the servers to be configured that pass the stress test as the test server. Different test servers may correspond to different services.
在本实施例的一些可选的实现方式中,执行主体可以首先确定服务器集合的数量以及每个服务器集合的优先级。然后,根据服务器集合的数量和优先级,从通过压力测试的待配置服务器中来选取测试服务器。In some optional implementation manners of this embodiment, the executive body may first determine the number of server sets and the priority of each server set. Then, according to the quantity and priority of the server set, a test server is selected from the servers to be configured that pass the stress test.
本实现方式中,执行主体可以优先根据服务器集合的数量来选取测试服务器。即,当通过压力测试的待配置服务器的数量大于或等于服务器集合的数量时,执行主体可以从通过压力测试的待配置服务器中选取N个测试服务器,其中,N为服务器集合的数量。所选取的每个测试服务器对应一个服务器集合。也就是说,一个测试服务器用于测试一个服务。当通过压力测试的待配置服务器的数量小于服务器集合的数量时,执行主体可以将所有通过压力测试的待配置服务器均作为测试服务器。然后按照优先级的由高到低顺序依次为各服务器集合配备测试服务器。这样,可以优先测试优先级高的服务。In this implementation manner, the execution subject may preferentially select a test server according to the number of server sets. That is, when the number of servers to be configured that pass the stress test is greater than or equal to the number of server sets, the execution subject can select N test servers from the servers to be configured that pass the stress test, where N is the number of server sets. Each selected test server corresponds to a server set. That is, a test server is used to test a service. When the number of servers to be configured that pass the stress test is less than the number of server sets, the execution subject may use all servers to be configured that pass the stress test as test servers. Then configure test servers for each server set in descending order of priority. In this way, services with higher priority can be tested first.
在本实施例的一些可选的实现方式中,当执行主体确定上述第一比值大于第二预设阈值时,确定测试服务器的数量是否等于服务器集合的数量。当确定测试服务器的数量小于服务器集合的数量时,执行主体可以继续从通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的测试服务器,最终使得测试服务器与服务器集合一一对应。In some optional implementation manners of this embodiment, when the executive body determines that the above-mentioned first ratio is greater than the second preset threshold, it is determined whether the number of test servers is equal to the number of server sets. When it is determined that the number of test servers is less than the number of server sets, the execution subject can continue to select the server to be configured from the servers to be configured that pass the stress test as the test server corresponding to the server set, and finally make the test server correspond to the server set one by one.
本实现方式中,第二预设阈值可以大于第一预设阈值。在一些可选的实现方式中,第二预设阈值可以为40%。当通过压力测试的待配置服务器的数量与第一计划配置数量的第一比值大于第二预设阈值时,可以认为此时较多数量的待配置服务器已准备就绪。此时执行主体可以首先确定是否每个服务器集合都对应有测试服务器。如果仍然存在一些服务器集合没有对应服务器,即没有对该服务器集合所提供的服务进行测试。则执行主体需要继续从通过压力测试的待配置服务器中选取测试服务器,最终实现测试服务器与服务器集合的一一对应。这样,可以对云计算中心的每个服务都进行测试。In this implementation manner, the second preset threshold may be greater than the first preset threshold. In some optional implementation manners, the second preset threshold may be 40%. When the first ratio of the number of servers to be configured that pass the stress test to the first planned configuration number is greater than the second preset threshold, it can be considered that a large number of servers to be configured are ready. At this time, the execution subject may first determine whether each server set corresponds to a test server. If there are still some server sets that do not have corresponding servers, that is, the services provided by the server set have not been tested. Then the execution subject needs to continue to select the test server from the servers to be configured that pass the stress test, and finally realize the one-to-one correspondence between the test server and the server set. In this way, each service of the cloud computing center can be tested.
步骤205,在测试服务器中部署测试环境。
本实施例中,测试环境通常为特定测试(体验)目的搭建的一套非正式的用户测试(体验)环境或者通用测试环境,可以提前发现和体验服务中的一些缺陷和问题,以确保服务在正式上线后可以为用户提供良好的用户体验。测试环境部署在测试服务器中,通过访问该测试服务器进行数据传输,达到测试服务的某些功能的目的。执行主体可以通过在测试服务器中安装应用程序来部署测试环境。In this embodiment, the test environment is usually a set of informal user test (experience) environment or general test environment built for specific test (experience) purposes, which can discover and experience some defects and problems in the service in advance, so as to ensure that the service After the official launch, it can provide users with a good user experience. The test environment is deployed in the test server, and the purpose of testing some functions of the service is achieved by accessing the test server for data transmission. The executive can deploy the test environment by installing the application in the test server.
在本实施例的一些可选的实现方式中,在测试服务器中部署测试环境时,执行主体可以根据服务器集合与应用的预设对应关系,在测试服务器中安装与服务器集合对应的应用,得到测试环境。举例来说,一个服务器集合用于实现网页搜索功能,则技术人员可以预先设置好实现网页搜索功能的应用与该服务器集合的对应关系。执行主体可以在测试服务器中安装上述实现网页搜索功能的应用,来部署测试环境。In some optional implementations of this embodiment, when deploying the test environment in the test server, the execution subject can install the application corresponding to the server set in the test server according to the preset correspondence between the server set and the application, and obtain the test surroundings. For example, if a set of servers is used to implement a webpage search function, technicians may pre-set the corresponding relationship between applications that implement the webpage search function and the set of servers. The executor may install the above-mentioned application implementing the web page search function in the test server to deploy the test environment.
继续参见图3,图3是根据本实施例的用于配置服务器的方法的一个应用场景的示意图。在图3的应用场景中,10台待配置服务器301~310分别向管理服务器311发送压力测试结果。管理服务器311根据各压力测试结果,确定出10个待配置服务器301~310中通过压力测试的9台待配置服务器301、302、303、304、305、306、308、309、310。然后,计算通过压力测试的待配置服务器的数量9与待配置服务器的第一计划配置数量40的比值为9/40=0.225。第一预设阈值为0.2。0.225>0.2,则管理服务器311可以从通过压力测试的9台待配置服务器中选取出测试服务器301、302、303。最后在测试服务器301、302、303中部署测试环境。Continue to refer to FIG. 3 , which is a schematic diagram of an application scenario of the method for configuring a server according to this embodiment. In the application scenario of FIG. 3 , 10
本申请的上述实施例提供的用于配置服务器的方法,首先可以接收至少一个待配置服务器发送的压力测试结果。然后,可以根据上述压力测试结果,确定上述至少一个待配置服务器是否通过压力测试。确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的比值。在确定上述比值大于第一预设阈值时,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器。最后,在上述测试服务器中部署测试环境。本实施例的方法,可以在云计算中心的建设过程中,确定通过压力测试的待配置服务器与计划配置的服务器的数量达到一定比值后,即可选取测试服务器来部署测试环境。不需要等待所有的服务器都到货并且通过压力测试后再部署测试环境。并且,本实施例中,可以直接根据压力测试结果来确定出正常的待配置服务器,从而不需要人工到服务器安装现场去查看,减少了技术人员的工作量,从而缩短了云计算中心的建设周期,提高建设效率。In the method for configuring a server provided by the above embodiments of the present application, first, the stress test result sent by at least one server to be configured may be received. Then, it may be determined whether the at least one server to be configured passes the stress test according to the stress test result. Determine the ratio of the number of servers to be configured that pass the stress test to the first planned configuration number of servers to be configured. When it is determined that the above ratio is greater than the first preset threshold, the server to be configured is selected from the servers to be configured that pass the stress test as the test server. Finally, deploy the test environment in the above test server. In the method of this embodiment, during the construction of the cloud computing center, after determining that the number of servers to be configured and the number of servers to be configured that pass the stress test reaches a certain ratio, the test server can be selected to deploy the test environment. There is no need to wait for all the servers to arrive and pass the stress test before deploying the test environment. Moreover, in this embodiment, the normal servers to be configured can be determined directly according to the stress test results, so that there is no need to manually go to the server installation site to check, reducing the workload of technicians, thereby shortening the construction period of the cloud computing center , Improve construction efficiency.
继续参见图4,其示出了根据本申请的用于配置服务器的另一个实施例的流程400。如图4所示,本实施例的用于配置服务器的方法还包括以下步骤:Continue to refer to FIG. 4 , which shows a
步骤401,确定已安装与服务器集合对应的应用的服务器为已配置服务器。In
执行主体可以首先确定安装有与各服务器集合对应的应用的服务器为已配置服务器。The execution subject may first determine that the server installed with the application corresponding to each server set is a configured server.
步骤402,确定服务器集合对应的已配置服务器的数量。
然后,执行主体可以根据已配置服务器中安装的应用的类型,来确定已配置服务器属于哪一个服务器集合。进而确定每个服务器集合中已配置服务器的数量。Then, the execution subject can determine which server set the configured server belongs to according to the type of the application installed in the configured server. This in turn determines the number of configured servers in each server collection.
步骤403,根据服务器集合对应的已配置服务器的数量以及服务器集合对应的第二计划配置数量,调整服务器集合的优先级。
最后,可以根据各服务器集合中已配置服务器的数量与第二计划配置数量,来动态的调整服务器集合的优先级。例如,执行主体可以计算每个服务器集合中的已配置服务器与第二计划配置数量的比值。增大比值最小值对应的服务器集合的优先级,减小比值最大值对应的服务器集合的优先级。Finally, the priority of the server set can be dynamically adjusted according to the number of configured servers in each server set and the second planned configuration number. For example, the execution subject may calculate a ratio of configured servers in each server set to the second planned configuration quantity. Increase the priority of the server set corresponding to the minimum value of the ratio, and decrease the priority of the server set corresponding to the maximum value of the ratio.
步骤404,确定服务器集合对应的已配置服务器的数量与服务器集合对应的第二计划配置数量的第二比值。Step 404: Determine a second ratio between the number of configured servers corresponding to the server set and the second planned configuration number corresponding to the server set.
本实施例中,执行主体在确定各服务器集合对应的已配置服务器的数量后,还可以计算上述数量与各服务器集合对应的第二计划配置数量的第二比值。在上述第二比值大于第三预设阈值时,可以执行步骤405。举例来说,服务器集合1中已配置服务器的数量为15,其对应的第二计划配置数量为17,则第二比值为15/17=88%。第三预设阈值为80%,则可执行步骤405。In this embodiment, after the execution subject determines the number of configured servers corresponding to each server set, it may also calculate a second ratio between the number and the second planned configuration number corresponding to each server set. When the second ratio is greater than the third preset threshold,
步骤405,响应于确定第二比值大于第三预设阈值,向服务器集合发送测试请求。
执行主体在确定第二比值大于第三预设阈值后,可以向服务器集合发送测试请求。上述测试请求用于测试当前服务器集合的性能和/或容量是否满足预先设定的云计算中心的性能和/容量要求。执行主体可以向服务器集合发送写入数据的测试请求,以测试服务器集合在单位时间内能够写入的数据量。如果上述数据量超过预先设定的写入要求,则说明服务器集合的写入性能符合要求。或者,执行主体可以向服务器集合发送用于查询的测试请求,以测试服务器集合响应查询的时间,如果上述时间小于预先设定的响应时间,说明服务器集合的响应性能符合要求。After determining that the second ratio is greater than the third preset threshold, the execution subject may send a test request to the server set. The above test request is used to test whether the performance and/or capacity of the current set of servers meets the preset performance and/or capacity requirements of the cloud computing center. The execution subject can send a test request for writing data to the server set to test the amount of data that the server set can write in a unit time. If the above data volume exceeds the preset writing requirement, it means that the writing performance of the server set meets the requirement. Alternatively, the execution subject may send a test request for query to the server set to test the response time of the server set to the query. If the above time is less than the preset response time, it means that the response performance of the server set meets the requirements.
通过本实施例的方法,执行主体可以动态地选取与各服务器集合对应的扩容服务器,从而保证各服务器集合都能够尽快达到高可用性的状态。并且,在服务器集合中已配置服务器的数量满足一定要求时,可以对服务器集合进行性能和/或容量的测试,以保证扩容完成后的各服务器集合均能符合预先设定的云计算中心的性能和/容量要求。Through the method of this embodiment, the executive body can dynamically select the expansion server corresponding to each server set, so as to ensure that each server set can reach a state of high availability as soon as possible. Moreover, when the number of configured servers in the server set meets certain requirements, the performance and/or capacity of the server set can be tested to ensure that each server set after capacity expansion can meet the performance of the preset cloud computing center and/capacity requirements.
在本实施例的一些可选的实现方式中,上述方法还可以包括图2中未示出的以下步骤:In some optional implementations of this embodiment, the above method may also include the following steps not shown in FIG. 2:
首先,响应于确定测试服务器的数量大于或等于服务器集合的数量以及接收到针对测试服务器的测试完成消息,根据服务器集合所对应的优先级,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的扩容服务器。First, in response to determining that the number of test servers is greater than or equal to the number of server sets and receiving a test completion message for the test server, according to the priority corresponding to the server set, select the server to be configured from the servers to be configured that pass the stress test as The expansion server corresponding to the server collection.
本实现方式中,执行主体在确定测试服务器的数量大于或等于服务器集合的数量后,可以检测是否接收到针对测试服务器的测试完成消息。测试完成消息可以由技术人员通过其所使用的终端来发送,测试完成消息用于表示已完成对服务的测试。此时,执行主体可以根据服务器集合所对应的优先级,从通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的扩容服务器。例如,执行主体可以选取至少一个通过压力测试的待配置服务器作为优先级最高的服务器集合对应的扩容服务器。In this implementation manner, after the execution subject determines that the number of test servers is greater than or equal to the number of server sets, it may detect whether a test completion message for the test server is received. The test completion message may be sent by the technician through the terminal used by the technician, and the test completion message is used to indicate that the service test has been completed. At this point, the execution subject can select the server to be configured from the servers to be configured that pass the stress test as the expansion server corresponding to the server set according to the priority corresponding to the server set. For example, the executive body may select at least one server to be configured that passes the stress test as the expansion server corresponding to the server set with the highest priority.
其次,根据服务器集合与应用的预设对应关系,在扩容服务器中安装与服务器集合对应的应用,以配置扩容服务器。Secondly, according to the preset corresponding relationship between the server set and the application, the application corresponding to the server set is installed in the capacity expansion server, so as to configure the capacity expansion server.
在得到与服务器集合对应的扩容服务器后,执行主体可以根据服务器与应用的预设对应关系,在扩容服务器中安装与服务器集合对应的应用,以配置扩容服务器。配置完成的扩容服务器为服务器集合的已配置服务器。随着服务器陆续通过压力测试,可以逐步对服务器集合进行扩容,增加服务器集合中已配置服务器的数量。此处的扩容是指将服务器增加到服务器集合中,以增大服务器集合的存储容量、CPU数量等。After obtaining the expansion server corresponding to the server set, the execution subject can install the application corresponding to the server set in the expansion server according to the preset correspondence between the server and the application, so as to configure the expansion server. The configured expansion server is the configured server of the server set. As the servers pass the stress test successively, the capacity of the server collection can be gradually expanded to increase the number of configured servers in the server collection. Expansion here refers to adding servers to the server set to increase the storage capacity, number of CPUs, etc. of the server set.
在本实施例的一些可选的实现方式中,在初始服务器集合被扩容至服务器集合的过程中,执行主体可以实时计算初始服务器集合的可用性。当可用性大于预设阈值时,可以上线上述初始服务器集合提供的服务,即向用户开放上述服务。此处,可用性可以通过服务器集合的可用时间与总时间的比值来确定。其中,总时间是指服务器集合从上电起至当前时刻的时长。可用时间是指服务器集合能够提供服务的时长。In some optional implementation manners of this embodiment, during the process of expanding the initial server set to the server set, the execution subject may calculate the availability of the initial server set in real time. When the availability is greater than the preset threshold, the services provided by the above-mentioned initial server set can be launched, that is, the above-mentioned services are opened to users. Here, the availability can be determined by the ratio of the available time of the server set to the total time. Wherein, the total time refers to the duration of the server set from power-on to the current moment. Availability time refers to the length of time that a set of servers can provide services.
本申请的上述实施例提供的用于配置服务器的方法,可以在采购的服务器未完全到货前,陆续的配置待配置服务器,从而有效地缩短了云计算中心的建设周期。The method for configuring servers provided by the above embodiments of the present application can successively configure the servers to be configured before the purchased servers are fully delivered, thereby effectively shortening the construction period of the cloud computing center.
在本实施例的一些可选的实现方式中,为了更直观的显示第一比值和/或第二比值,可以将上述第一比值和/或第二比值显示在预设的界面上。上述第一比值和/或第二比值可以以各种形式显示,例如可以以数字形式显示,也可以以“进度条”的形式显示。执行主体还可以根据上述第一比值和/或第二比值的大小设置不同的显示颜色。例如,当上述第一比值和/或第二比值小于第一预设阈值时,可以以黄色显示。当上述第一比值和/或第二比值大于第一预设阈值且小于第二预设阈值时,可以以橙色来显示等等。In some optional implementation manners of this embodiment, in order to display the first ratio and/or the second ratio more intuitively, the first ratio and/or the second ratio may be displayed on a preset interface. The above-mentioned first ratio and/or the second ratio can be displayed in various forms, for example, it can be displayed in the form of numbers, or it can be displayed in the form of a "progress bar". The execution subject may also set different display colors according to the size of the first ratio and/or the second ratio. For example, when the first ratio and/or the second ratio are smaller than the first preset threshold, they may be displayed in yellow. When the first ratio and/or the second ratio are greater than the first preset threshold and smaller than the second preset threshold, they may be displayed in orange, and so on.
在本实施例的一些可选的实现方式中,为了进一步确定通过压力测试的服务器在机房中的位置。执行主体还可以执行以下步骤:获取通过压力测试的待配置服务器的网络地址信息;根据网络地址信息与服务器机架信息的预设对应关系以及所获取的网络地址信息,确定安装通过压力测试的待配置服务器的机架信息;根据所确定的机架信息,更新机架中安装的待配置服务器的数量。In some optional implementation manners of this embodiment, in order to further determine the locations of the servers that pass the stress test in the computer room. The executive body can also perform the following steps: obtain the network address information of the server to be configured that passes the stress test; Configuring rack information of the server; updating the number of servers to be configured installed in the rack according to the determined rack information.
执行主体可以获取通过压力测试的待配置服务器的网络地址信息。上述网络地址信息可以包括IP地址信息、所连接的网络交换机的端口号等。技术人员可以预先设定网络地址信息与服务器机架信息的对应关系。执行主体可以通过上述对应关系以及所获取的网络地址信息,可以确定安装通过压力测试的待配置服务器的机架信息。上述机架信息可以是机架的位置,例如“1房间1排”。最后,执行主体可以更新机架信息所指示的机架中安装的待配置服务器的数量。执行主体还可以将更新的数量显示在预设界面上,以使技术人员更清楚明了的了解待配置服务器的安装位置。The execution subject can obtain the network address information of the server to be configured that has passed the stress test. The foregoing network address information may include IP address information, a port number of a connected network switch, and the like. The technician can preset the corresponding relationship between the network address information and the server rack information. The execution subject can determine the rack information on which the server to be configured that passes the stress test is installed through the above correspondence and the obtained network address information. The above rack information may be the position of the rack, for example, "1 room and 1 row". Finally, the execution subject may update the number of servers to be configured installed in the rack indicated by the rack information. The executive body can also display the updated quantity on the preset interface, so that the technical personnel can more clearly understand the installation location of the server to be configured.
进一步参考图5,作为对上述各图所示方法的实现,本申请提供了一种用于配置服务器的装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 5 , as an implementation of the methods shown in the above figures, the present application provides an embodiment of a device for configuring a server. This device embodiment corresponds to the method embodiment shown in FIG. 2 , the The device can be specifically applied to various electronic devices.
如图5所示,本实施例的用于配置服务器的装置500包括:As shown in FIG. 5, the
结果接收单元501,被配置成接收至少一个待配置服务器发送的压力测试结果。The
结论确定单元502,被配置成根据所述压力测试结果,确定至少一个待配置服务器是否通过压力测试。The
比值确定单元503,被配置成确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的第一比值。The
服务器选取单元504,被配置成响应于确定第一比值大于第一预设阈值,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器。The
环境部署单元505,被配置成在测试服务器中部署测试环境。The
在本实施例的一些可选的实现方式中,上述服务器选取单元504可以进一步被配置成:确定预设的至少一个服务器集合中服务器集合的数量以及服务器集合的优先级;根据服务器集合的数量以及优先级,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的测试服务器。In some optional implementations of this embodiment, the
在本实施例的一些可选的实现方式中,上述服务器选取单元504可以进一步被配置成:响应于确定第一比值大于第二预设阈值,确定测试服务器的数量是否大于或等于服务器集合的数量;响应于确定测试服务器的数量小于服务器集合的数量,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的测试服务器,以使测试服务器与服务器集合一一对应。In some optional implementations of this embodiment, the
在本实施例的一些可选的实现方式中,上述环境部署单元505可以进一步被配置成:根据服务器集合与应用的预设对应关系,在所确定的测试服务器中安装与服务器集合对应的应用,得到测试环境。In some optional implementations of this embodiment, the above-mentioned
在本实施例的一些可选的实现方式中,上述装置500还可以进一步包括图5中未示出的扩容服务器确定单元以及扩容服务器配置单元。In some optional implementation manners of this embodiment, the
扩容服务器确定单元,被配置成响应于确定测试服务器的数量等于服务器集合的数量以及接收到针对测试服务器的测试完成消息,根据服务器集合所对应的优先级,在通过压力测试的待配置服务器中选取待配置服务器作为与服务器集合对应的扩容服务器。The capacity expansion server determination unit is configured to respond to determining that the number of test servers is equal to the number of server sets and receiving a test completion message for the test server, and selecting among the servers to be configured that pass the stress test according to the priority corresponding to the server set The server to be configured serves as the expansion server corresponding to the server set.
扩容服务器配置单元,被配置成根据服务器集合与应用的预设对应关系,在扩容服务器中安装与服务器集合对应的应用,以配置所选取的待配置服务器。The expansion server configuration unit is configured to install the application corresponding to the server set in the expansion server according to the preset correspondence between the server set and the application, so as to configure the selected server to be configured.
在本实施例的一些可选的实现方式中,上述装置500还可以进一步包括图5中未示出的优先级调整单元,该优先级调整单元被配置成:确定已安装与服务器集合对应的应用的服务器为已配置服务器;确定服务器集合对应的已配置服务器的数量;根据服务器集合对应的已配置服务器的数量以及服务器集合对应的第二计划配置数量,调整服务器集合的优先级。In some optional implementations of this embodiment, the
在本实施例的一些可选的实现方式中,上述装置500还可以进一步包括图5中未示出的第二比值确定单元以及测试请求发送单元。In some optional implementation manners of this embodiment, the
第二比值确定单元,被配置成确定服务器集合对应的已配置服务器的数量与服务器集合对应的第二计划配置数量的第二比值。The second ratio determination unit is configured to determine a second ratio between the number of configured servers corresponding to the server set and the second planned configuration number corresponding to the server set.
测试请求发送单元,被配置成响应于确定第二比值大于第三预设阈值,向服务器集合发送测试请求。The test request sending unit is configured to send a test request to the server set in response to determining that the second ratio is greater than a third preset threshold.
在本实施例的一些可选的实现方式中,上述装置500还可以进一步包括图5中未示出的更新单元,该更新单元被配置成:获取通过压力测试的待配置服务器的网络地址信息;根据网络地址信息与服务器机架信息的预设对应关系,确定安装通过压力测试的待配置服务器的机架信息;更新所确定的机架信息指示的机架上安装的待配置服务器的数量。In some optional implementations of this embodiment, the
应当理解,用于配置服务器的装置500中记载的单元501至单元505分别与参考图2中描述的方法中的各个步骤相对应。由此,上文针对用于配置服务器的方法描述的操作和特征同样适用于装置500及其中包含的单元,在此不再赘述。It should be understood that the
本申请的上述实施例提供的用于配置服务器的装置,首先可以接收至少一个待配置服务器发送的压力测试结果。然后,可以根据上述压力测试结果,确定上述至少一个待配置服务器是否通过压力测试。确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的比值。在确定上述比值大于第一预设阈值时,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器。最后,在上述测试服务器中部署测试环境。本实施例的装置,可以在云计算中心的建设过程中,确定通过压力测试的待配置服务器与计划配置的服务器的数量达到一定比值后,即可选取测试服务器来部署测试环境。不需要等待所有的服务器都到货并且通过压力测试后再部署测试环境,从而缩短了云计算中心的建设周期,提高建设效率。The apparatus for configuring a server provided by the above embodiments of the present application may first receive a stress test result sent by at least one server to be configured. Then, it may be determined whether the at least one server to be configured passes the stress test according to the stress test result. Determine the ratio of the number of servers to be configured that pass the stress test to the first planned configuration number of servers to be configured. When it is determined that the above ratio is greater than the first preset threshold, the server to be configured is selected from the servers to be configured that pass the stress test as the test server. Finally, deploy the test environment in the above test server. The device of this embodiment can select a test server to deploy a test environment after determining that the number of servers to be configured and the number of servers to be configured that pass the stress test reaches a certain ratio during the construction of the cloud computing center. There is no need to wait for all the servers to arrive and pass the stress test before deploying the test environment, thereby shortening the construction period of the cloud computing center and improving construction efficiency.
下面参考图6,其示出了适于用来实现本申请实施例的服务器的计算机系统600的结构示意图。图6示出的服务器仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG. 6 , it shows a schematic structural diagram of a
如图6所示,计算机系统600包括中央处理单元(CPU)601,其可以根据存储在只读存储器(ROM)602中的程序或者从存储部分608加载到随机访问存储器(RAM)603中的程序而执行各种适当的动作和处理。在RAM 603中,还存储有系统600操作所需的各种程序和数据。CPU 601、ROM 602以及RAM 603通过总线604彼此相连。输入/输出(I/O)接口605也连接至总线604。As shown in FIG. 6 , a
以下部件连接至I/O接口605:包括键盘、鼠标等的输入部分606;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分607;包括硬盘等的存储部分608;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分609。通信部分609经由诸如因特网的网络执行通信处理。驱动器610也根据需要连接至I/O接口605。可拆卸介质611,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器610上,以便于从其上读出的计算机程序根据需要被安装入存储部分608。The following components are connected to the I/O interface 605: an
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在机器可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分609从网络上被下载和安装,和/或从可拆卸介质611被安装。在该计算机程序被中央处理单元(CPU)601执行时,执行本申请的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product including a computer program carried on a machine-readable medium, the computer program including program code for executing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network via
需要说明的是,本申请所描述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。It should be noted that the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. A computer readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable Programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
在本申请中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。In the present application, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device. . Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for performing the operations of the present application may be written in one or more programming languages or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional Procedural Programming Language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (such as through an Internet Service Provider). Internet connection).
附图中的流程图和框图,图示了按照本申请各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,该模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or portion of code that contains one or more logical functions for implementing specified executable instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
描述于本申请实施例中所涉及到的单元可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的单元也可以设置在处理器中,例如,可以描述为:一种处理器包括结果接收单元、结论确定单元、比值确定单元、服务器选取单元和环境部署单元。其中,这些单元的名称在某种情况下并不构成对该单元本身的限定,例如,结果接收单元还可以被描述为“接收至少一个待配置服务器发送的压力测试结果的单元”。The units involved in the embodiments described in the present application may be implemented by means of software or by means of hardware. The described units can also be set in a processor, for example, it can be described as: a processor includes a result receiving unit, a conclusion determining unit, a ratio determining unit, a server selecting unit and an environment deploying unit. Wherein, the names of these units do not limit the unit itself under certain circumstances, for example, the result receiving unit may also be described as "a unit that receives the stress test result sent by at least one server to be configured".
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的装置中所包含的;也可以是单独存在,而未装配入该装置中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该装置执行时,使得该装置:接收至少一个待配置服务器发送的压力测试结果;根据所述压力测试结果,确定至少一个待配置服务器是否通过压力测试;确定通过压力测试的待配置服务器的数量与待配置服务器的第一计划配置数量的比值;响应于确定比值大于第一预设阈值,在通过压力测试的待配置服务器中选取待配置服务器作为测试服务器;在测试服务器中部署测试环境。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the device described in the above embodiments, or it may exist independently without being assembled into the device. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the device, the device: receives a stress test result sent by at least one server to be configured; according to the stress test result, determine Whether at least one server to be configured passes the stress test; determine the ratio of the number of servers to be configured that pass the stress test to the first planned configuration number of servers to be configured; Select the server to be configured as the test server in the configuration server; deploy the test environment in the test server.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the technical solutions formed by the above-mentioned technical features or without departing from the above-mentioned inventive concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with technical features with similar functions disclosed in (but not limited to) this application.
Claims (18)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811151544.2A CN109324802B (en) | 2018-09-29 | 2018-09-29 | Method and device for configuring server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811151544.2A CN109324802B (en) | 2018-09-29 | 2018-09-29 | Method and device for configuring server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109324802A CN109324802A (en) | 2019-02-12 |
CN109324802B true CN109324802B (en) | 2022-11-01 |
Family
ID=65265186
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811151544.2A Active CN109324802B (en) | 2018-09-29 | 2018-09-29 | Method and device for configuring server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109324802B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111666130A (en) * | 2020-06-03 | 2020-09-15 | 百度在线网络技术(北京)有限公司 | Container balanced deployment method and device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0762686A2 (en) * | 1995-08-28 | 1997-03-12 | U S WEST, Inc. | System and method for scheduled delivery of a software program over a cable network |
CN103049268A (en) * | 2012-12-25 | 2013-04-17 | 中国科学院深圳先进技术研究院 | Naplet based application development and management system |
CN105471674A (en) * | 2015-11-20 | 2016-04-06 | 珠海多玩信息技术有限公司 | Method and system for testing performance of server |
CN106851342A (en) * | 2017-03-06 | 2017-06-13 | 南京优速网络科技有限公司 | A kind of design architecture of content arrangement distribution network |
CN106959894A (en) * | 2016-01-11 | 2017-07-18 | 北京京东尚科信息技术有限公司 | Resource allocation methods and device |
CN107483572A (en) * | 2017-08-08 | 2017-12-15 | 北京奇艺世纪科技有限公司 | The dispositions method and device of a kind of server |
CN108121537A (en) * | 2016-11-28 | 2018-06-05 | 宁波市镇海甬讯信息科技有限公司 | A kind of software assembly line system and its production method |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2007179131A (en) * | 2005-12-27 | 2007-07-12 | Nec Corp | Event detection system, management terminal and program, and event detection method |
CN104360952B (en) * | 2012-03-02 | 2018-09-04 | 北京奇虎科技有限公司 | A kind of software testing system and method |
CN102999401B (en) * | 2012-11-30 | 2015-04-29 | 华为技术有限公司 | Method and apparatus for averaging backup data |
WO2015119638A1 (en) * | 2014-02-10 | 2015-08-13 | Empire Technology Development, Llc | Automatic collection and provisioning of migration resources |
CN105702257A (en) * | 2015-08-12 | 2016-06-22 | 乐视致新电子科技(天津)有限公司 | Speech processing method and device |
CN106649057A (en) * | 2015-10-28 | 2017-05-10 | 北京国双科技有限公司 | Method and device for testing server pressure |
CN107544902B (en) * | 2016-06-29 | 2021-05-04 | 阿里巴巴集团控股有限公司 | Program testing method, device and equipment |
US20180248770A1 (en) * | 2017-02-28 | 2018-08-30 | Arista Networks, Inc. | System and method of network operating system containers |
CN107231264A (en) * | 2017-07-25 | 2017-10-03 | 北京百度网讯科技有限公司 | For the method and apparatus for the capacity for managing Cloud Server |
CN107797865A (en) * | 2017-10-20 | 2018-03-13 | 华为软件技术有限公司 | User task processing method and application server |
-
2018
- 2018-09-29 CN CN201811151544.2A patent/CN109324802B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0762686A2 (en) * | 1995-08-28 | 1997-03-12 | U S WEST, Inc. | System and method for scheduled delivery of a software program over a cable network |
CN103049268A (en) * | 2012-12-25 | 2013-04-17 | 中国科学院深圳先进技术研究院 | Naplet based application development and management system |
CN105471674A (en) * | 2015-11-20 | 2016-04-06 | 珠海多玩信息技术有限公司 | Method and system for testing performance of server |
CN106959894A (en) * | 2016-01-11 | 2017-07-18 | 北京京东尚科信息技术有限公司 | Resource allocation methods and device |
CN108121537A (en) * | 2016-11-28 | 2018-06-05 | 宁波市镇海甬讯信息科技有限公司 | A kind of software assembly line system and its production method |
CN106851342A (en) * | 2017-03-06 | 2017-06-13 | 南京优速网络科技有限公司 | A kind of design architecture of content arrangement distribution network |
CN107483572A (en) * | 2017-08-08 | 2017-12-15 | 北京奇艺世纪科技有限公司 | The dispositions method and device of a kind of server |
Non-Patent Citations (2)
Title |
---|
"【服务器架构】10万在线的WebGame的架构设计思路";huodianyan;《https://blog.csdn.net/huodianyan/article/details/38073031》;20140724;1-4 * |
"Ten server deployment checklist considerations";Stephen J.Bigelow;《https://www.techtarget.com/searchdatacenter/tip/Ten-server-deployment-checklist-considerations》;20160212;1-5 * |
Also Published As
Publication number | Publication date |
---|---|
CN109324802A (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10268571B2 (en) | System and method for automated thin client contact center agent desktop testing | |
US10642721B2 (en) | Generation of automated testing scripts by converting manual test cases | |
CN112015654B (en) | Method and apparatus for testing | |
CN111209202A (en) | Terminal application testing method and device | |
CN111538659B (en) | Interface testing method, system, electronic equipment and storage medium of business scene | |
US8539404B2 (en) | Functional simulation redundancy reduction by state comparison and pruning | |
US11843674B2 (en) | Virtual workspace experience visualization and optimization | |
WO2023065749A1 (en) | Distributed database embedding method and apparatus, and device and storage medium | |
CN112363938A (en) | Data processing method and device, electronic equipment and storage medium | |
CN113448730A (en) | Service processing method and device, computer equipment and storage medium | |
CN113485927B (en) | Test data generation method, device, equipment and storage medium | |
CN109120433B (en) | Method and apparatus for containerized deployment hosts | |
CN113885971A (en) | State management method and device based on self-adaptive platform system | |
CN109324802B (en) | Method and device for configuring server | |
CN115391204A (en) | Test method and device for automatic driving service, electronic equipment and storage medium | |
CN113468067A (en) | Application program debugging method and device, electronic equipment and computer readable medium | |
US20210209161A1 (en) | Cognitively generating parameter settings for a graph database | |
CN107247661B (en) | Method and system for supporting automatic verification of installation package of application | |
WO2022134895A1 (en) | Mock response method and related device | |
CN115757275A (en) | Asset information management method, device, electronic equipment and storage medium | |
CN112433938A (en) | Method and device for testing application of mobile terminal | |
US11297138B2 (en) | Techniques for dynamically benchmarking cloud data store systems | |
CN115328797B (en) | Method, system, equipment, medium and software testing method for generating testing parameters | |
CN115484200B (en) | Buried point testing method, buried point testing device, server, storage medium and buried point testing system | |
KR102800580B1 (en) | Method, apparatus, and recording medium for testing target program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240204 Address after: Building 15, 1st Floor A, No. 8 Dongbei Wangxi Road, Haidian District, Beijing, 100193 Patentee after: Baidu Yunzhi (Beijing) Technology Co.,Ltd. Country or region after: China Address before: 2 / F, baidu building, 10 Shangdi 10th Street, Haidian District, Beijing 100085 Patentee before: BEIJING BAIDU NETCOM SCIENCE AND TECHNOLOGY Co.,Ltd. Country or region before: China |
|
TR01 | Transfer of patent right |