Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a server configuration method, a server configuration system, an electronic device, and a computer-readable storage medium, so as to overcome the problems of a large cost for configuring a service card and a low accuracy and efficiency for configuring a server, at least to a certain extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the embodiments of the present disclosure, there is provided a server configuration method, including:
collecting attribute information of a server to be configured in a preset state through a server operation center, and reporting the attribute information to a server resource management database; receiving interface configuration information obtained by preprocessing the attribute information by a server resource management database, and binding the out-of-band IP of the server to be configured according to the interface configuration information based on the server operation center; and checking the out-of-band IP through the server operation center, acquiring the service information to be online sent by the server resource management database when the out-of-band IP passes the check, executing a target service configuration task corresponding to the service information to be online, and realizing the automatic configuration of the server to be configured.
In some example embodiments of the present disclosure, based on the foregoing, the method further includes: and when detecting that the server to be configured is on line for the first time, responding to the installation operation of the server operation center script, and operating the server operation center script to perform initial configuration on the server to be configured.
In some example embodiments of the present disclosure, based on the foregoing solution, the server operation center includes an in-band operation module, and the acquiring attribute information of the server to be configured in the pre-configuration state includes: reading network guide information, and acquiring a memory operating system image file and a task script of the server to be configured according to the network guide information; starting a memory operating system corresponding to the memory operating system mirror image file, and running the task script in the memory operating system to generate a task parameter request; and when an information acquisition task corresponding to the task parameter request is received, acquiring attribute information of the server to be configured in a preset state through the in-band IP management module.
In some example embodiments of the present disclosure, based on the foregoing scheme, the obtaining the memory operating system image file and the task script of the server to be configured according to the network guiding information includes: and acquiring a temporary IP from the in-band IP management module according to the network guide information, establishing communication connection with the server operation center based on the temporary IP, and acquiring a memory operation system image file and a task script of the server to be configured from the server operation center.
In some example embodiments of the present disclosure, based on the foregoing, the method further includes: pre-detecting the attribute information, and reporting the abnormal information to the server resource management database when detecting that the abnormal information exists in the attribute information; and responding to modification operation of the abnormal information in the server resource management database, and updating the attribute information.
In some example embodiments of the present disclosure, based on the foregoing solution, the server operation center includes an out-of-band IP management module, receives interface configuration information obtained by preprocessing the attribute information by the server resource management database, and performs binding processing on the out-of-band IP of the server to be configured according to the interface configuration information based on the server operation center, where the method includes: reading pre-recorded information of a server to be configured in the server resource management database; extracting the information of the pre-recorded information and the attribute information to obtain a serial number of the server to be configured and interface configuration information of a pre-allocated out-of-band IP and an out-of-band MAC address corresponding to the serial number; and binding the pre-allocated out-of-band IP and the out-of-band MAC address through the out-of-band IP management module according to the serial number in the interface configuration information.
In some example embodiments of the present disclosure, based on the foregoing scheme, the verifying the out-of-band IP, and when the out-of-band IP passes the verification, acquiring the to-be-online service information sent by the server resource management database, includes: acquiring serial number information of the server to be configured through a server integrated out-of-band management interface; if the serial number information is detected to be the same as the serial number, determining that the out-of-band IP check is passed; updating the pre-configuration state into a to-be-operated on-line state through the server resource management database, generating to-be-operated on-line service information, and sending the to-be-operated on-line service information to the server operation center.
In some example embodiments of the present disclosure, based on the foregoing scheme, the updating, by the server resource management database, the preconfigured status to a to-be-serviced on-line status, and generating to-be-serviced service information includes: detecting the current state of the server to be configured through the task script, and sending the current state to the server resource management database; the current state comprises a current equipment state, a current network port state and a current switch connection state; reading a standard online state in the server resource management database; the standard on-line state comprises a standard on-line equipment state, a standard network port state and a standard switch connection state; if the current equipment state, the current network port state and the current switch connection state are detected to be respectively matched with the standard on-line equipment state, the standard network port state and the standard switch connection state, state qualified information of the server to be configured is generated, and the state qualified information is sent to the server resource management database; and updating the pre-configuration state into a to-be-operated on-line state through the server resource management database, and generating to-be-operated service information.
In some example embodiments of the present disclosure, based on the foregoing scheme, the executing a target service configuration task corresponding to the service information to be online to implement automatic configuration of the server to be configured includes: receiving a restart instruction sent by the server integrated out-of-band management port, and executing the restart instruction; acquiring a target service configuration task corresponding to the to-be-online service information, and guiding to execute the target service configuration task according to the network guiding information; and when the completion of the execution of the target service configuration task is detected, completing the automatic configuration of the server to be configured.
According to a second aspect of the embodiments of the present disclosure, there is provided a server configuration apparatus including: the attribute information reporting module is used for acquiring the attribute information of the server to be configured in a preset state through the server operation center and reporting the attribute information to the server resource management database; the data binding processing module is used for receiving interface configuration information obtained by preprocessing the attribute information by the server resource management database and binding the out-of-band IP of the server to be configured according to the interface configuration information based on the server operation center; and the automatic configuration module is used for verifying the out-of-band IP through the server operation center, acquiring the service information to be online sent by the server resource management database when the out-of-band IP passes verification, executing a target service configuration task corresponding to the service information to be online, and realizing automatic configuration of the server to be configured.
In some example embodiments of the present disclosure, based on the foregoing scheme, the server configuration device further includes a first online detection module, where the first online detection module is configured to, when it is detected that the server to be configured is online for the first time, respond to an installation operation of a server operation center script, and run the server operation center script to perform initial configuration on the server to be configured.
In some example embodiments of the present disclosure, based on the foregoing scheme, the attribute information reporting module includes an attribute information reporting unit, where the attribute information reporting unit is configured to read network guidance information, and obtain a memory operating system image file and a task script of the server to be configured according to the network guidance information; starting a memory operating system corresponding to the memory operating system mirror image file, and running the task script in the memory operating system to generate a task parameter request; and when an information acquisition task corresponding to the task parameter request is received, acquiring attribute information of the server to be configured in a preset state through the in-band IP management module.
In some example embodiments of the present disclosure, based on the foregoing scheme, the attribute information reporting module further includes a temporary IP obtaining unit, where the temporary IP obtaining unit is configured to obtain a temporary IP from the in-band IP management module according to the network guidance information, establish a communication connection with the server operation center based on the temporary IP, and obtain the memory operating system image file and the task script of the server to be configured from the server operation center.
In some example embodiments of the present disclosure, based on the foregoing scheme, the attribute information reporting module further includes an attribute information updating unit, where the attribute information updating unit is configured to perform pre-detection on the attribute information, and report abnormal information to the server resource management database when detecting that the abnormal information exists in the attribute information; and responding to modification operation of the abnormal information in the server resource management database, and updating the attribute information.
In some example embodiments of the present disclosure, based on the foregoing solution, the data binding module includes a data binding unit, where the data binding unit is configured to read pre-entry information of a server to be configured in the server resource management database; extracting the information of the pre-recorded information and the attribute information to obtain a serial number of the server to be configured and interface configuration information of a pre-allocated out-of-band IP and an out-of-band MAC address corresponding to the serial number; and binding the pre-allocated out-of-band IP and the out-of-band MAC address through the out-of-band IP management module according to the serial number in the interface configuration information.
In some example embodiments of the present disclosure, based on the foregoing solution, the automatic configuration module includes an out-of-band IP check unit, where the out-of-band IP check unit is configured to obtain, through a server integrated out-of-band management interface, serial number information of the server to be configured; if the serial number information is detected to be the same as the serial number, determining that the out-of-band IP check is passed; updating the pre-configuration state into a to-be-operated on-line state through the server resource management database, generating to-be-operated on-line service information, and sending the to-be-operated on-line service information to the server operation center.
In some example embodiments of the present disclosure, based on the foregoing solution, the automation configuration module further includes a preconfigured status updating unit, where the preconfigured status updating unit is configured to detect a current status of the server to be configured through the task script, and send the current status to the server resource management database; the current state comprises a current equipment state, a current network port state and a current switch connection state; reading a standard online state in the server resource management database; the standard on-line state comprises a standard on-line equipment state, a standard network port state and a standard switch connection state; if the current equipment state, the current network port state and the current switch connection state are detected to be respectively matched with the standard on-line equipment state, the standard network port state and the standard switch connection state, state qualified information of the server to be configured is generated, and the state qualified information is sent to the server resource management database; and updating the pre-configuration state into a to-be-operated on-line state through the server resource management database, and generating to-be-operated service information.
In some example embodiments of the present disclosure, based on the foregoing solution, the automation configuration module further includes an automation configuration unit, and the automation configuration unit is configured to receive a restart instruction sent through the server integrated out-of-band management port, and execute the restart instruction; acquiring a target service configuration task corresponding to the to-be-online service information, and guiding to execute the target service configuration task according to the network guiding information; and when the completion of the execution of the target service configuration task is detected, completing the automatic configuration of the server to be configured.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; and a memory having computer readable instructions stored thereon which, when executed by the processor, implement the server configuration method of any one of the above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a server configuration method according to any one of the above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a server configuration system including: the server resource management database is used for preprocessing attribute information of a server to be configured in a pre-configuration state to obtain interface configuration information and issuing the interface configuration information and service information to be online to the server operation center; the server operation center is used for reporting the collected attribute information to the server resource management database, binding the out-of-band IP of the server to be configured according to the interface configuration information, verifying the out-of-band IP and generating a target service configuration task corresponding to the service information to be online; and the server to be configured is used for executing the target service configuration task.
In some example embodiments of the present disclosure, based on the foregoing solution, the server operation center includes: the in-band IP management module is used for acquiring attribute information of the server to be configured in a preset state; the out-of-band IP management module is used for binding the out-of-band IP in the attribute information; the network guide information providing module is used for providing network guide information for the server to be configured; the task processing module is used for verifying the out-of-band IP and generating a target service configuration task corresponding to the service information to be online; and the server integration out-of-band management interface is used for remotely monitoring and managing the server to be configured so as to execute the target service configuration task according to the network guiding information through the server to be configured.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the server configuration method in the example embodiment of the disclosure acquires attribute information of a server to be configured in a preset configuration state through a server operation center, and reports the attribute information to a server resource management database; receiving interface configuration information obtained by preprocessing the attribute information by a server resource management database, and binding an out-of-band IP of a server to be configured based on a server operation center according to the interface configuration information; and checking the out-of-band IP through the server operation center, acquiring the service information to be online sent by the server resource management database when the out-of-band IP passes the check, executing a target service configuration task corresponding to the service information to be online, and realizing the automatic configuration of the server to be configured. On one hand, the attribute information of the server to be configured in a preset state is acquired through the server operation center, the attribute information is preprocessed through the server resource management database to obtain interface configuration information, then the server operation center performs binding processing on the out-of-band IP of the configured server according to the interface configuration information, and when the out-of-band IP passes verification, a target service configuration task is executed, so that the server is prevented from being configured and detected through manual operation, and the accuracy of automatic configuration of the server is improved; on the other hand, the automatic configuration of the server is completed through the cooperation of the server operation center and the server resource management database, and the automatic configuration efficiency of the server is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, software, steps, and the like. In other instances, well-known methods, software, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the disclosure.
Furthermore, the drawings are merely schematic illustrations and are not necessarily drawn to scale. The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor software and/or microcontroller software.
In the present exemplary embodiment, a server configuration method is first provided, and the server configuration method may be applied to a server. Fig. 1 schematically illustrates a schematic diagram of a server configuration method flow, according to some embodiments of the present disclosure. Referring to fig. 1, the server configuration method may include the steps of:
in step S110, collecting attribute information of a server to be configured in a preset state through the server operation center, and reporting the attribute information to the server resource management database;
in step S120, interface configuration information obtained by preprocessing the attribute information by the server resource management database is received, and the out-of-band IP of the server to be configured is bound based on the server operation center according to the interface configuration information; and
in step S130, the out-of-band IP is verified through the server operation center, and when the out-of-band IP verification passes, to-be-online service information sent by the server resource management database is obtained, and a target service configuration task corresponding to the to-be-online service information is executed, so as to implement automatic configuration of the to-be-configured server.
According to the server configuration method in the embodiment, on one hand, the server operation center acquires the attribute information of the server to be configured in a preset state, the server resource management database preprocesses the attribute information to obtain the interface configuration information, the server operation center binds the out-of-band IP of the configured server according to the interface configuration information, and executes a target service configuration task when the out-of-band IP passes verification, so that the server is prevented from being configured and detected through manual operation, and the accuracy of automatic configuration of the server is improved; on the other hand, the automatic configuration of the server is completed through the cooperation of the server operation center and the server resource management database, and the automatic configuration efficiency of the server is improved.
Next, a server configuration method in the present exemplary embodiment will be further explained.
In step S110, the server operation center collects attribute information of a server to be configured in a preset state, and reports the attribute information to the server resource management database.
In some example embodiments of the present disclosure, the attribute information may refer to feature information before the server to be configured comes online, for example, the attribute information may be device feature information of the server to be configured, such as network interface information of the server to be configured and a connection state of the switch, the feature information may also be inherent state information before the server comes online, such as a serial number of the server to be configured and an out-of-band MAC (Media Access Control) address of the server, the attribute information may also be pre-configured network address feature information of the server to be configured, such as an out-of-band IP (Internet Protocol, network Protocol) of the server to be configured and a pre-configured in-band IP, and of course, the attribute information may also be other feature information between the server to come online, which is not particularly limited in this example.
The server operation center may refer to a software center that can provide various operations for the server to be configured, for example, the server operation center may be a software center that is used to provide remote operations for the server to be configured, such as providing out-of-band information verification, power on/off, reboot, and remount of the system for the server to be configured, or a software center that is used to provide data processing operations for the server to be configured, such as performing preliminary formatting on data reported by the memory operation system, or, of course, the server operation center may also be a software center that is used to provide other operations for the server to be configured, such as managing a task currently executed by the server to be configured, which is not particularly limited in this embodiment.
The server resource management database may refer to a database for providing data management for a server to be configured, for example, the server resource management database may be a database for providing a data summarization function for the server to be configured, or may be a database for supporting functions of information pre-entry of the server to be configured, reporting of status information of the server to be configured, and status feedback of the server to be configured, or of course, the server resource management database may also be a database for providing other data management functions for the server to be configured, which is not particularly limited in this embodiment.
The physical operations such as racking, electrifying and the like can be carried out on the server to be configured manually, the pre-allocated out-of-band IP of the server to be configured and the serial number of the server are pre-recorded into the server resource management database, and the pre-recorded information of the server to be configured is obtained. And acquiring information of the electrified server to be configured through a server operation center to obtain attribute information of the server to be configured in a preset state, and sending the attribute information to a server resource management database. And then, the server resource management database preprocesses the attribute information and the pre-recorded information of the server to be configured so as to extract the port configuration information of the server to be configured from the preprocessed information of the server to be configured.
In step S120, interface configuration information obtained by preprocessing the attribute information by the server resource management database is received, and the out-of-band IP of the server to be configured is bound based on the server operation center according to the interface configuration information.
In some example embodiments of the present disclosure, the interface configuration information may refer to communication interface configuration information obtained by preprocessing the attribute information through the server resource management database, for example, the interface configuration information may be a server serial number of the server to be configured obtained by preprocessing the attribute information through the server resource management database, or may be a pre-allocated out-of-band IP address of the server to be configured obtained by preprocessing the attribute information through the server resource management database, or may be an out-of-band MAC address of the server to be configured obtained by preprocessing the attribute information through the server resource management database, of course, the interface configuration information may also be other configuration information obtained by preprocessing the attribute information by the server resource management database, which is not particularly limited in this embodiment.
The pre-entry information and the attribute information of the server to be configured may be subjected to preliminary formatting processing through the server resource management database, for example, the pre-entry information and the attribute information of the server to be configured are subjected to aggregation management, a data table including a serial number, an out-of-band MAC address, and an out-of-band IP address of the server to be configured is established, and interface configuration information of the server to be configured is obtained based on the data table. And then, establishing a binding relationship between the out-of-band MAC address of the server to be configured and the out-of-band IP through the server operation center according to the serial number of the server to be configured in the interface configuration information of the server to be configured so as to realize the binding processing of the out-of-band IP of the service to be configured.
In step S130, the out-of-band IP is verified through the server operation center, and when the out-of-band IP verification passes, to-be-online service information sent by the server resource management database is obtained, and a target service configuration task corresponding to the to-be-online service information is executed, so as to implement automatic configuration of the to-be-configured server.
In an example embodiment of the present disclosure, the to-be-online service information may refer to-be-configured information corresponding to a service requirement, for example, the to-be-online service information may be a mirror image file of a to-be-installed service system corresponding to the service requirement, the to-be-online service information may also be task parameter information of a target service configuration task corresponding to the service requirement, and of course, the to-be-online service information may also be other to-be-configured information corresponding to the service requirement, which is not particularly limited in this embodiment.
The target service configuration task may refer to a service configuration task corresponding to the service information to be online, for example, the service information to be online may be related information of a service operating system to be installed corresponding to a service requirement, the target service configuration task may be a configuration task of the service operating system to be installed corresponding to the related information of the service system to be installed, and of course, the target service configuration task may also be a configuration task corresponding to other service information to be online, which is not particularly limited in this embodiment.
The method comprises the steps that serial number information of a server to be configured is obtained through a server integrated out-of-band management interface in a server operation center, the serial number information of the server to be configured is compared with a pre-recorded serial number of the server to be configured in a server resource management database, if the serial number information of the server to be configured obtained through the server integrated out-of-band management interface is the same, out-of-band IP verification of the server to be configured passes, and a message that the out-of-band IP verification of the server to be configured passes is sent to the server resource management database. Updating the pre-configuration state of the server to be configured into the state to be online through the server resource management database, and generating the information to be online of the server to be configured. And the server operation center creates a target service configuration task according to the to-be-configured information of the to-be-configured server sent by the server resource management database, guides the to-be-configured server to execute the target service configuration task based on the network guide information, completes the installation of a service operation system corresponding to the target service configuration task, and realizes the automatic configuration of the to-be-configured server.
In some example embodiments of the present disclosure, when it is detected that a server to be configured is on-line for the first time, a server operation center script may be executed to perform initial configuration on the server to be configured in response to an installation operation of a server operation script.
The historical interface configuration information of the server to be configured can be inquired through the server resource management database, and if the historical interface configuration information of the server to be configured is not detected, the server to be configured is determined to be on-line for the first time.
When the server to be configured is detected to be on-line for the first time, a server operation center script can be installed for the server to be configured through manual field operation, and the server operation center script is operated through the server to be configured, so that the server operation center corresponding to the server operation center script is deployed into the server to be configured, and the initial configuration of the server to be configured is achieved.
Fig. 2 schematically illustrates a schematic diagram of a flow of an attribute information collection method according to some embodiments of the present disclosure. Referring to fig. 2, the attribute information collecting method may include the steps of:
in step S210, network guidance information is read, and a memory operating system image file and a task script of the server to be configured are obtained according to the network guidance information;
in step S220, starting a memory operating system corresponding to the memory operating system image file, and running the task script in the memory operating system to generate a task parameter request;
in step S230, when an information collection task corresponding to the task parameter request is received, the in-band IP management module collects attribute information of a server to be configured in a pre-configuration state.
The network guide information may refer to network boot information generated based on a PXE (Preboot eXecution Environment), and the PXE-related service includes the following components: (1) TFTP (simple File Transfer Protocol) service, which is used to support PXE to start to RAMOS (Random Access Memory based Operating System); (2) HTTP (HyperText Transfer Protocol) service, which provides a task script and an operating system installation package download function.
The in-band IP management module may refer to an in-band DHCP (Dynamic Host Configuration Protocol) service module, for example, the in-band IP management module may be a service module configured to allocate a temporary IP to a server to be configured, the in-band IP management module may also be a service module configured to collect attribute information of a preconfigured state of the server to be configured, and of course, the in-band IP management module may also be a service module configured to provide other functions for the server to be configured, which is not limited in this embodiment.
The temporary IP distributed by the in-band DHCP service can be inquired according to the network boot information generated by the PXE and the network boot information, the memory operating system image file and the task script are obtained based on the temporary IP, the memory operating system corresponding to the memory operating system image file is downloaded, and the task script is operated to generate the task request after the memory operating system is started. And when an information acquisition task corresponding to the task request is received, acquiring attribute information of the server to be configured in a preset state through the in-band IP management module.
In some example embodiments of the present disclosure, the temporary IP may be obtained from the in-band IP management module according to the network guiding information, a communication connection with the server operation center is established based on the temporary IP, and the memory operating system image file and the task script of the server to be configured are obtained from the server operation center.
In general, after the server to be configured is powered on, PXE boot may be automatically performed (i.e., PXE boot is performed from the service network), and the in-band DHCP allocates a temporary IP to the server to be configured (i.e., requests the DHCP service to allocate an IP every certain time interval). During the PXE boot process and after entering the memory operating system, the temporary IP can be obtained through the in-band DHCP service, so that the memory operating system can be connected with the server operating center through a network based on the temporary IP.
Specifically, an IP address application request may be sent to DHCP over a PXE network. The DHCP server automatically allocates an IP address from the IP address pool to the PXE in response to a request of the PXE network, and transmits the IP address of a file sharing server such as a TFTP (simple file transfer protocol) server and the PXE bootstrap file to the PXE. Furthermore, the shared PXE bootstrap program file can be transmitted to the PXE server through the file sharing server, the PXE can start a system installation main interface of the server to be configured through a network, and receives the shared system installation file sent by the sharing server, so that the installation operation of the memory operating system is automatically completed.
Preferably, the in-band DHCP configuration service, the PXE related service, the out-band DHCP configuration service, and the server integrated out-band management interface may be pre-configured in the server operation center. Based on PXE related services, a temporary IP is obtained from an in-band DHCP, a memory operating system image file and a task script are obtained from a file based on the temporary IP, so that a temporary operating system is automatically created in a server to be configured according to the memory operating system image file, the task script is run in the temporary operating system, and online deployment of a service operating center is achieved.
In some example embodiments of the present disclosure, the attribute information may be pre-detected, and when it is detected that there is abnormal information in the attribute information, the abnormal information is reported to the server resource management database; and updating the attribute information in response to a modification operation on the abnormal information in the server resource management database.
The abnormal information may refer to abnormal state information of the server to be configured, for example, the abnormal information may be network interface connection abnormal information of the server to be configured, or network communication abnormal information of the server to be configured, and of course, the abnormal information may also be other abnormal state information of the server to be configured, which is not limited in this embodiment.
Preferably, the pre-detection timing sent by the timer may be received, and the acquired attribute information of the server to be configured in the pre-configuration state is pre-detected according to the pre-detection timing through a pre-detection script program in the memory operating system. The pre-detection timing can also be a timing with a cycle characteristic corresponding to the information acquisition task. For example, an information collection task of a server to be configured may be generated once by setting 15 minutes in a timer, and when obtaining attribute information of the server to be configured in a pre-configured state, the attribute information is pre-detected directly by a pre-detection script program in a memory operating system. When the abnormal information exists in the attribute information, the abnormal information can be reported to the server resource management database, and the abnormal information is fed back to the user operation interface through the server resource management database, so that the fault problem of the server to be configured is efficiently positioned, the problem that an operator performs fault troubleshooting through repeated reworking is reduced, and the configuration efficiency and accuracy of the server to be configured are improved.
FIG. 3 schematically illustrates a schematic diagram of a data binding method flow, according to some embodiments of the present disclosure. Referring to fig. 3, the data binding method may include the steps of:
in step S310, pre-entry information of a server to be configured in the server resource management database is read;
in step S320, performing information extraction processing on the pre-entry information and the attribute information to obtain a serial number including the server to be configured, and interface configuration information of a pre-allocated out-of-band IP and an out-of-band MAC address corresponding to the serial number;
in step S330, the out-of-band IP pre-allocated and the out-of-band MAC address are bound by the out-of-band IP management module according to the serial number in the interface configuration information.
The pre-entry information may refer to planning information of a server to be configured, which is pre-entered into the server resource management database, for example, the pre-entry information may be a serial number of the server to be configured, which is pre-entered into the server resource management database, machine location information of the server to be configured, which is pre-entered into the server resource management database, switch interface information of the server to be configured, which is pre-entered into the server resource management database, an in-band IP and an out-of-band IP of the server to be configured, which is pre-entered into the server resource management database, and of course, the pre-entry information may also be other planning information of the server to be configured, which is pre-entered into the server resource management database, which is not particularly limited in this embodiment.
The pre-entry information and the attribute information of the server to be configured can be preprocessed through the server resource management database, for example, the pre-entry information and the attribute information of the server to be configured are collected, the serial number, the out-of-band IP and the out-of-band MAC address of the server to be configured are extracted from the collected information of the server to be configured, and the out-of-band IP and the out-of-band MAC address of the server to be configured are bound through the in-band IP management module based on the serial number of the server to be configured, so that the instability of network signals caused by network attacks can be avoided, and the stability of a network is improved.
Figure 4 schematically illustrates a schematic diagram of an out-of-band IP verification method flow, in accordance with some embodiments of the present disclosure. Referring to fig. 4, the out-of-band IP verification method may include the steps of:
in step S410, acquiring serial number information of the server to be configured through a server integrated out-of-band management interface;
in step S420, if it is detected that the serial number information is the same as the serial number, it is determined that the out-of-band IP check passes;
in step S430, the preconfigured status is updated to a to-be-serviced on-line status through the server resource management database, to generate to-be-serviced service information, and the to-be-serviced service information is sent to the server operation center.
The server integrated out-of-band Management Interface may refer to an Interface for a system administrator to remotely monitor and manage a server, for example, the server integrated out-of-band Management node may be followed by a unified API (Application Programming Interface) for providing a server out-of-band operation for a server operation center, such as the server integrated out-of-band Management Interface may be an Interface for acquiring server out-of-band information such as a server serial number, a server out-of-band switch, and a server startup mode (PXE or hard disk startup), the server integrated out-of-band Management Interface may also be an Interface for controlling a server through an IPMI (Intelligent Platform Management Interface) or Redfish (standard API for providing a simple and secure Management Interface for a fusion, hybrid IT, and software defined data center), and of course, the server integrated out-of-band Management Interface may also be another Interface for a system administrator to remotely monitor and manage the server, the embodiment of the present invention is not particularly limited to this.
For example, the pre-planned serial number of the Server to be configured is AAA, the out-of-band IP of the Server to be configured is 10.10.10.10, and after the RAMOS (Random Access Memory based Operating System) reports the out-of-band MAC address, the SOC (Server operation Center) starts to execute the out-of-band IP check task. The verification method is to continuously try to connect the out-of-band IP10.10.10.10 by using an IPMI protocol (a protocol provided by an out-of-band system and capable of remotely controlling a server through an out-of-band network), and if the out-of-band IP10.10.10.10 is connected, the hardware information of the server, including the serial number information of the server to be configured, can be obtained through the IPMI protocol. If the obtained sequence information is AAA, that is, the obtained sequence information is the same as the preplanned sequence number of the server to be configured, it indicates that the out-of-band IP bound to the out-of-band DHCP service is successfully obtained by the server to be configured, that is, the out-of-band IP of the server to be configured passes the check.
The method comprises the steps that the serial number information of a server to be configured is obtained through a server integrated out-of-band management interface, the serial number information of the server to be configured is compared with a pre-planned serial number of the server to be configured, and when the obtained serial number information of the server to be configured is detected to be the same as an originally planned serial number, out-of-band IP verification of the server to be configured passes, namely, out-of-band IP automatic configuration of the server to be configured is completed. When the out-of-band IP of the server to be configured passes the verification, the information that the out-of-band IP passes the verification can be sent to the server resource management database, the server to be configured in the pre-configuration state is adjusted to the server to be configured in the on-line state through the server resource management database, the service information to be on-line is generated, and the service information to be on-line is sent to the server operation center, so that the server operation center generates a target service configuration task based on the service information to be on-line, the verification of the out-of-band IP of the server to be configured in a manual operation mode is avoided, the equipment state of the server to be configured is detected, and the configuration efficiency and the accuracy of the server to be configured are improved.
Fig. 5 schematically illustrates a schematic diagram of a device status detection method flow, according to some embodiments of the present disclosure. Referring to fig. 5, the device status detection method may include the steps of:
in step S510, detecting a current state of the server to be configured through the task script, and sending the current state to the server resource management database; the current state comprises a current equipment state, a current network port state and a current switch connection state;
in step S520, the standard online status in the server resource management database is read; the standard on-line state comprises a standard on-line equipment state, a standard network port state and a standard switch connection state;
in step S530, if it is detected that the current device state, the current network port state, and the current switch connection state are respectively matched with the standard online device state, the standard network port state, and the standard switch connection state, generating state-qualified information of the server to be configured, and sending the state-qualified information to the server resource management database;
in step S540, the preconfigured status is updated to the on-line status of the service to be executed by the server resource management database, and the service information to be executed is generated.
The device state, the network port state and the switch connection state of the server to be configured can be detected through a task script in a memory operating system, the detected current device state, the detected current network port state and the detected current switch connection state of the server to be configured are reported to a server resource management database, the standard online state of the server resource management database device is read, and the current device state, the detected current network port state and the detected current switch connection state of the server to be configured are respectively compared with the standard online device state, the detected standard network port state and the detected standard switch connection state in the standard online state to determine whether the current state of the server to be configured reaches the standard state.
The current setting state, the current network port state and the current switch connection state of the server to be configured can be detected through a task script in a memory operating system, the detected current equipment state, the current network port state and the current switch connection state are reported to a server resource management database, and the standard equipment state, the standard network port state and the standard switch connection state in the server resource management database are read, so that when the detected current equipment state, the current network port state and the current switch connection state are respectively matched with the standard on-line equipment state, the standard network port state and the standard switch connection state, and generating state qualified information of the server to be configured, and sending the state qualified information to a server resource management database.
Furthermore, in response to the adjustment operation on the information acquisition summary page of the server resource management database, the pre-configured state of the server to be configured is updated to the on-line state of the service to be configured, and the service information to be on-line is generated, so that the server resource management database can call the server operation center, and the server operation center creates the target service configuration task. Furthermore, the server operation center can set the server restart through the server integrated out-of-band management interface, the server is guided to enter the RAMOS through PXE after being restarted to download and execute the task script, the installation parameters are obtained from the server operation center, the target configuration task is executed, the online delivery process of the server to be configured is completed, the automation degree of server configuration is improved, and the labor cost and the time cost of server configuration are reduced.
Fig. 6 schematically illustrates a schematic diagram of a target service configuration method flow, according to some embodiments of the present disclosure. Referring to fig. 6, the target service configuration method may include the following steps:
in step S610, receiving a restart instruction sent through the server integrated out-of-band management port, and executing the restart instruction;
in step S620, a target service configuration task corresponding to the information of the service to be online is obtained, and the target service configuration task is guided and executed according to the network guiding information;
in step S630, when it is detected that the target service configuration task is completed, the automatic configuration of the server to be configured is completed.
After receiving an online initiation request of a server to be configured, a server operation center can be called through a server resource management database, a target service configuration task corresponding to service information to be online is established through the server operation center, a restart instruction is sent to the server to be configured through a server integrated out-of-band management interface, the server is guided to enter an RAMOS through PXE after being restarted to download and execute a task script, installation configuration parameters corresponding to the target configuration task are obtained, and the target service configuration task is executed. And further, completing the installation of the business operating system corresponding to the target business configuration task.
The functions of the server operation center may be decentralized by dividing the server operation center into 5 modules, for example, an in-band IP management module, an out-of-band IP management module, a task processing module, a network-oriented information providing module, and a server integrated out-of-band management interface. For example, a task processing module in the server operation center may be called through the server resource management database, a target service configuration task is created by the task processing module, and the server to be configured is reset through the server integrated out-of-band management interface. After the server to be configured is restarted, the in-band IP management module can guide and run a target service configuration task script in the memory operating system according to the network of the network guide information providing module, generate a task parameter request corresponding to the target service configuration task script, and send the task parameter request to the task processing module, so that the task processing module issues a task parameter corresponding to the target service configuration task. And finally, executing the target service configuration task according to the task parameter through the in-band IP management module, and realizing online delivery of the server to be configured.
Fig. 7 schematically illustrates a schematic diagram of another server configuration method flow, according to some embodiments of the present disclosure. Referring to fig. 7, the server configuration method may include the steps of:
in step S710, pre-entry information of the server to be configured is stored in the server resource management database;
in step S720, detecting whether the server to be configured is online for the first time, if the server to be configured is online for the first time, executing step S730, otherwise executing step S740;
in step S730, deploying a server operation center function module, and performing initial configuration on the server to be configured;
in step S740, the physical operations such as racking, powering on, and the like are performed on the server to be configured through manual operation;
in step S750, the network-oriented information providing module guides the memory operating system to automatically acquire attribute information or abnormal information of the server to be configured in the pre-configured state, and reports the attribute information or abnormal information to the server operating system;
in step S760, the out-of-band IP of the server to be configured is bound by the out-of-band IP management module;
in step S770, detecting whether the server to be configured has an abnormal state through the task script, if so, executing step S750, otherwise, executing step S780;
in step S780, the task processing module is called through the server resource management database to create a target service configuration task, and a task script corresponding to the target service configuration task in the memory operating system is guided to run by the network guidance information;
in step S790, after the task parameters sent by the task processing module are obtained, the target service configuration task is executed according to the task parameters, and the online delivery of the server to be configured is completed.
The method comprises the following steps that a data center operation and maintenance worker plans the distribution of the on-shelf positions of server equipment, allocates an out-of-band IP address of a server and pre-allocates a service IP address of the server according to service requirements, and records a server serial number (pre-provided by a provider before delivery) and the planned out-of-band IP address and the service IP address into a server resource management database in advance; after the server arrives, a data center field engineer starts to prepare for putting on shelf operation, if the data center is a newly built data center which is on line for the first time, the field engineer is required to perform initialization operation on a management node, and an SOC function submodule is rapidly deployed through an installation script (service network is required to be configured with service DHCP and PXE related services, and an out-of-band DHCP service and an out-of-band DHCP control module and a server integrated out-of-band management interface service are required to be configured in an out-of-band network); then, a data center field engineer performs racking operation (including racking installation and switch wiring), and only power-on operation is needed after the racking of the server equipment is completed; after the server is powered on, the server automatically enters a customized RAMOS through PXE (PCI extensions for instrumentation), acquires a temporary IP address through DHCP (dynamic host configuration protocol), automatically detects the state of the machine, reports the state to an SOC (system on chip), and performs primary data processing by the SOC and reports the data to a server resource management database; meanwhile, the out-of-band IP management module acquires the one-to-one mapping relation among the equipment serial number, the out-of-band MAC address and the planned out-of-band IP from the server resource management database, updates the DHCP service configuration and establishes the binding relation between the out-of-band MAC address and the planned out-of-band IP. Summarizing current state information (including equipment state, network port state, switch connection state, out-of-band IP and the like) of the service to be configured through a server resource management database, rapidly filtering and checking equipment with abnormal conditions by a field engineer at the moment, adjusting the server to be configured based on the abnormal state, automatically detecting and reporting the equipment again through an RAMOS after the adjustment until all the equipment is in accordance with expectations; furthermore, the service operation and maintenance personnel can initiate online tasks in batches in the server resource management database, and call the SOC through the server resource management database to initiate reloading system operation tasks in batches, so that the complete process from server overhead planning to service online is completed.
Fig. 8 schematically illustrates a schematic diagram of a server configuration architecture, according to some embodiments of the present disclosure. Referring to fig. 8, theserver configuration architecture 800 may include a server resource management database 810 and aserver operations center 820.
The server resource management database 810 is mainly used for centralized management of data, for example, the server resource management database may preprocess attribute information and pre-recorded information of a server to be configured to obtain interface configuration information of the server to be configured, may summarize a current state (including a device state, a network port state, a switch connection state, an out-of-band IP, and the like) of the server to be configured, so that an engineer may adjust the server to be configured with an abnormal condition, so that the state of the server to be configured conforms to an expected state to be online, and may initiate a service online request to the server, so as to create a target service configuration task of the server to be configured in batch through the SOC. Theserver operation center 820 mainly includes atask processing module 821, a server integrated out-of-band management interface 822, a network guide information providing module 823, an in-bandIP management module 824, and an out-of-band IP management module 825; thetask processing module 821 is mainly used for checking the out-of-band IP and generating a target service configuration task corresponding to the service information to be online; the server integrated out-of-band management interface 822 is mainly used for providing an out-of-band management remote operation interface for a server operation center; a network guiding information providing module 823, configured to provide network guiding information to the server to be configured; the in-bandIP management module 824 is mainly configured to collect attribute information of the server to be configured in a pre-configuration state; the out-of-band IP management module 825 is configured to perform binding processing on the out-of-band IP.
Specifically, the planned pre-recorded information of the serial number, the machine position information, the switch interface, the in-band IP, the out-of-band IP and the like of the server to be configured can be uploaded to a server resource management database, after the server to be configured is powered on, the in-band temporary IP can be obtained through PXE guidance, communication connection with a server operation center is established based on the temporary IP, a customized memory operation system image file and a task script are obtained through a server integration out-of-band management interface in the server operation center, the memory operation system image file is loaded to complete installation of the memory operation system, the task script is operated in the memory operation system, and the task parameter request is generated. Meanwhile, the task parameter request is sent to the task processing module, so that the task processing module issues the information acquisition task. And then, performing periodic self-checking and attribute information acquisition on the state of the server to be configured through a memory operating system, reporting the acquired attribute information to a server resource management database through a task processing module, preprocessing the pre-recorded information and the attribute information of the server to be configured through the server resource management database to obtain interface configuration information such as a serial number, an out-of-band IP (Internet protocol), an out-of-band MAC (media access control) address and the like of the server to be configured, and binding the out-of-band IP and the out-of-band MAC address through an out-of-band IP management module according to the interface configuration information of the server to be configured. Meanwhile, in the process of preprocessing the attribute information and the pre-recorded information of the server to be configured by the server resource management database, the preprocessed information of the server to be configured can be detected, and the detection result is fed back to the information acquisition and gathering page of the server to be configured for an engineer to adjust the current state of the server to be configured so that the server to be configured meets the standard online state.
Furthermore, an out-of-band IP check task of the server to be configured may be created through the task processing module, and serial number information of the server to be configured, which is sent by the server integrated out-of-band management interface, is received, and if it is detected that the serial number information of the server to be configured is the same as the planned serial number, the out-of-band IP check of the server to be configured passes. Meanwhile, when the current state (the current equipment state, the current network port state and the current switch connection state) of the server to be configured is detected to meet the standard online state through the task script in the memory operating system, the state qualified message of the server to be configured can be sent to the server resource management database. Furthermore, service operation and maintenance personnel initiate online tasks in batch in the server resource management database, call the task processing module through the server resource management database, create a target service configuration task of the server to be configured through the task processing module, and set PXE through the server integrated out-of-band management interface so as to guide the server to be configured to restart through the PXE. After the server to be configured is restarted, the server to be configured can be guided to enter the RAMOS through PXE to download and execute the task script, the task configuration parameters are obtained from the task processing module, and the target service configuration task is executed according to the task configuration parameters, so that the delivery flow of the server to be configured on line is completed, and the automatic configuration of the server to be configured is realized.
In the present exemplary embodiment, a server configuration apparatus is also provided. Referring to fig. 9, theconfiguration apparatus 900 includes: an attributeinformation reporting module 910, a data bindingprocessing module 920, and anautomation configuration module 930. The attributeinformation reporting module 910 is configured to collect, by the server operation center, attribute information of a server to be configured in a pre-configured state, and report the attribute information to the server resource management database; a data bindingprocessing module 920, configured to receive interface configuration information obtained by preprocessing the attribute information by the server resource management database, and bind, based on the server operation center, the out-of-band IP of the server to be configured according to the interface configuration information; anautomatic configuration module 930, configured to verify the out-of-band IP through the server operation center, and when the out-of-band IP passes the verification, obtain to-be-online service information sent by the server resource management database, and execute a target service configuration task corresponding to the to-be-online service information, so as to implement automatic configuration of the to-be-configured server.
In some example embodiments of the present disclosure, based on the foregoing solution, theserver configuration apparatus 900 further includes a first online detection module, where the first online detection module is configured to, when it is detected that the server to be configured is online for the first time, respond to an installation operation of a server script, and run the server script to perform initial configuration on the server to be configured.
In some example embodiments of the present disclosure, based on the foregoing scheme, the attributeinformation reporting module 910 includes an attribute information reporting unit, where the attribute information reporting unit is configured to read network guidance information, and obtain a memory operating system image file and a task script of the server to be configured according to the network guidance information; starting a memory operating system corresponding to the memory operating system mirror image file, and running the task script in the memory operating system to generate a task parameter request; and when an information acquisition task corresponding to the task parameter request is received, acquiring attribute information of the server to be configured in a preset state through the in-band IP management module.
In some example embodiments of the present disclosure, based on the foregoing scheme, the attributeinformation reporting module 910 further includes a temporary IP obtaining unit, where the temporary IP obtaining unit is configured to obtain a temporary IP from the in-band IP management module according to the network guiding information, establish a communication connection with the server operation center based on the temporary IP, and obtain the memory operating system image file and the task script of the server to be configured from the server operation center.
In some example embodiments of the present disclosure, based on the foregoing scheme, the attributeinformation reporting module 910 further includes an attribute information updating unit, where the attribute information updating unit is configured to perform pre-detection on the attribute information, and report abnormal information to the server resource management database when detecting that the abnormal information exists in the attribute information; and responding to modification operation of the abnormal information in the server resource management database, and updating the attribute information.
In some example embodiments of the present disclosure, based on the foregoing solution, thedata binding module 920 includes a data binding unit, where the data binding unit is configured to read pre-entry information of a server to be configured in the server resource management database; extracting the information of the pre-recorded information and the attribute information to obtain a serial number of the server to be configured and interface configuration information of a pre-allocated out-of-band IP and an out-of-band MAC address corresponding to the serial number; and binding the pre-allocated out-of-band IP and the out-of-band MAC address through the out-of-band IP management module according to the serial number in the interface configuration information.
In some example embodiments of the present disclosure, based on the foregoing solution, theautomation configuration module 930 includes an out-of-band IP check unit, where the out-of-band IP check unit is configured to obtain, through a server integrated out-of-band management interface, serial number information of the server to be configured; if the serial number information is detected to be the same as the serial number, determining that the out-of-band IP check is passed; updating the pre-configuration state into a to-be-operated on-line state through the server resource management database, generating to-be-operated on-line service information, and sending the to-be-operated on-line service information to the server operation center.
In some example embodiments of the present disclosure, based on the foregoing solution, theautomation configuration module 930 further includes a pre-configured state updating unit, where the pre-configured state updating unit is configured to detect a current state of the server to be configured through the task script and send the current state to the server resource management database; the current state comprises a current equipment state, a current network port state and a current switch connection state; reading a standard online state in the server resource management database; the standard on-line state comprises a standard on-line equipment state, a standard network port state and a standard switch connection state; if the current equipment state, the current network port state and the current switch connection state are detected to be respectively matched with the standard on-line equipment state, the standard network port state and the standard switch connection state, state qualified information of the server to be configured is generated, and the state qualified information is sent to the server resource management database; and updating the pre-configuration state into a to-be-operated on-line state through the server resource management database, and generating to-be-operated service information.
In some example embodiments of the present disclosure, based on the foregoing solution, theautomation configuration module 930 further includes an automation configuration unit, configured to receive a restart instruction sent through the server integrated out-of-band management port, and execute the restart instruction; acquiring a target service configuration task corresponding to the to-be-online service information, and guiding to execute the target service configuration task according to the network guiding information; and when the completion of the execution of the target service configuration task is detected, completing the automatic configuration of the server to be configured.
Further, fig. 10 schematically illustrates a schematic diagram of a server configuration system according to some embodiments of the present disclosure. Referring to fig. 10, aserver configuration system 1000 mainly includes a server to be configured 1010, a serverresource management database 1020, and aserver operation center 1030.
The communication connection between theserver 1010 to be configured and theserver operation center 1030 can be established through a service network, the server to be configured is started according to the PXE service deployed in the server operation center, the memory operating system image file and the task script are acquired, a temporary operating system is established in the server to be configured, and the task script can be executed in the temporary operating system. Meanwhile, the attribute information of the server to be configured in the pre-configuration state can be acquired through theserver operation center 1030, and the attribute data is reported to the serverresource management database 1020, so that the data of the server to be configured is managed in a centralized manner through the serverresource management database 1020. When the serverresource management database 1020 detects a new out-of-band IP, the out-of-band DHCP service configuration may be automatically updated through the automatic configuration program for the out-of-band DHCP service in theserver operation center 1030. In addition, the network connection between the server operation center and the server to be configured can be established through the out-of-band network, and the server is controlled through the server integrated out-of-band management interface in the server operation center, such as forced shutdown, a startup mode, hardware information of the server, and the like.
Meanwhile, theserver operation center 1030 mainly includes an in-band IP management module, an out-of-band IP management module, a network guidance information providing module, a task processing module, and a server integrated out-of-band management interface. The in-band IP management module is used for acquiring attribute information of a server to be configured in a pre-configuration state; the out-of-band IP management module is used for binding the out-of-band IP in the attribute information; the network guide information providing module is used for providing network guide information for the server to be configured; the task processing module is used for verifying the out-of-band IP and generating a target service configuration task corresponding to the service information to be online; the server integrates an out-of-band management interface, is used for remotely monitoring and managing the server to be configured, and executes a target service configuration task according to the network guiding information through the server to be configured.
It should be noted that although the various steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that these steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions, etc.
The specific details of each module of the server configuration apparatus have been described in detail in the corresponding server configuration method, and therefore are not described herein again.
It should be noted that although in the above detailed description several modules or units of the server configuration device are mentioned, this division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above server configuration method is also provided.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
Anelectronic device 1100 according to such an embodiment of the disclosure is described below with reference to fig. 11. Theelectronic device 1100 shown in fig. 11 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 11,electronic device 1100 is embodied in the form of a general purpose computing device. The components of theelectronic device 1100 may include, but are not limited to: the at least oneprocessing unit 1110, the at least onememory unit 1120, abus 1130 connecting different system components (including thememory unit 1120 and the processing unit 1110), and adisplay unit 1140.
Wherein the storage unit stores program code that is executable by theprocessing unit 1110 to cause theprocessing unit 1110 to perform steps according to various exemplary embodiments of the present disclosure as described in the above section "exemplary methods" of the present specification. For example, theprocessing unit 1110 may execute step S110 shown in fig. 1, collect attribute information of a server to be configured in a pre-configured state through a server operation center, and report the attribute information to the server resource management database; step S120, receiving interface configuration information obtained by preprocessing the attribute information by a server resource management database, and binding the out-of-band IP of the server to be configured according to the interface configuration information based on the server operation center; step S130, the out-of-band IP is verified through the server operation center, when the out-of-band IP passes the verification, the to-be-online service information sent by the server resource management database is obtained, a target service configuration task corresponding to the to-be-online service information is executed, and automatic configuration of the to-be-configured server is achieved.
Thestorage unit 1120 may include readable media in the form of volatile storage units, such as a random access memory unit (RAM)1121 and/or acache memory unit 1122, and may further include a read-only memory unit (ROM) 1123.
Thestorage unit 1120 may also include a program/utility 1124 having a set (at least one) ofprogram modules 1125,such program modules 1125 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1130 may be representative of one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
Theelectronic device 1100 may also communicate with one or more external devices 1170 (e.g., keyboard, pointing device, bluetooth device, etc.), one or more devices that enable a user to interact with theelectronic device 1100, and/or any devices (e.g., router, modem, etc.) that enable theelectronic device 1100 to communicate with one or more other computing devices. Such communication may occur via an input/output (I/O)interface 1150. Also, theelectronic device 1100 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via thenetwork adapter 1160. As shown, thenetwork adapter 1160 communicates with the other modules of theelectronic device 1100 over thebus 1130. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with theelectronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, terminal software, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the present disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
Referring to fig. 12, aprogram product 1200 for implementing the above-described server configuration method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not so limited, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, software, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, software, or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, software, or device.
Program code embodied on a 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.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.