CN110971689B - System installation method, device, system, equipment and storage medium - Google Patents

System installation method, device, system, equipment and storage medium Download PDF

Info

Publication number
CN110971689B
CN110971689B CN201911204682.7A CN201911204682A CN110971689B CN 110971689 B CN110971689 B CN 110971689B CN 201911204682 A CN201911204682 A CN 201911204682A CN 110971689 B CN110971689 B CN 110971689B
Authority
CN
China
Prior art keywords
band
target server
server
installation
address
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
Application number
CN201911204682.7A
Other languages
Chinese (zh)
Other versions
CN110971689A (en
Inventor
林明桂
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bigo Technology Singapore Pte Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN201911204682.7A priority Critical patent/CN110971689B/en
Publication of CN110971689A publication Critical patent/CN110971689A/en
Application granted granted Critical
Publication of CN110971689B publication Critical patent/CN110971689B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • G06F8/63Image based installation; Cloning; Build to order
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Abstract

The embodiment of the invention discloses a system installation method, a device, equipment and a storage medium, wherein the system installation method comprises the following steps: establishing out-of-band network connection with a target server, and setting a virtual optical disc of the target server, which contains a system installation program; sending an installation instruction to a target server, and installing the system by the target server according to the installation instruction by adopting a system installation program on the virtual optical disk; acquiring an in-band IP address of a target server; and setting the in-band IP address as the out-band user name of the target server, and analyzing the out-band user name by the target server to obtain the in-band IP address and set the in-band network. The embodiment of the invention does not need to obtain the system installation configuration through a TFTP server, obtain an in-band IP address through DHCP broadcasting and use a UDP protocol, can be deployed across IDCs, can realize the installation of the whole network server system by deploying one set of installation system in the whole network, reduces the deployment cost, uses an out-of-band network, has no conflict with in-band network service, and has simple management and easy maintenance on a target server.

Description

System installation method, device, system, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of communication, in particular to a system installation method, a device, a system and a storage medium.
Background
With the development of network technology, the data volume on the network increases in a geometric level, and in order to adapt to the increase of the data volume of the network, a plurality of servers are generally included in the network, and the plurality of servers interact with the terminal in response to the request of each terminal.
The server is actually a terminal having an operating system, and the system needs to be installed to the server when the system fails or the server is newly added. A conventional PXE (Preboot eXecution Environment) deployment mode works in a network mode of Client/Server, the Client enters the PXE, a PXE ROM requests an IP address from a DHCP (Dynamic Host Configuration Protocol) Server, the Client downloads and executes a network boot program after obtaining an effective IP address, and then obtains a system installer from a TFTP (File Transfer Protocol) Server to execute a system installation task.
In the above PXE deployment method, on one hand, because the DHCP protocol uses broadcasting to obtain an IP address, if an IDC (Internet Data Center) is to be crossed, multiple relays are required, which reduces the reliability of the network, on the other hand, because the TFTP uses a UDP protocol, the network quality is also unstable when the IDC is crossed, which is difficult to ensure the reliability of Data transmission, so the PXE deployment method cannot realize deployment across IDCs, one set of PXE must be deployed in each machine room where a server is located, and when the number of servers is large and are distributed in various places around the world, multiple sets of PXE systems need to be deployed, which increases the deployment cost.
Disclosure of Invention
Embodiments of the present invention provide a system installation method, an apparatus, a system, a device, and a storage medium, so as to solve a problem of high deployment cost caused by a PXE deployment manner used for installing a server system.
In a first aspect, an embodiment of the present invention provides a system installation method, applied to a deployment server, including:
establishing out-of-band network connection with a target server, wherein the target server is a server of a system to be installed;
setting a virtual optical disc of the target server, wherein the virtual optical disc comprises a system installation program;
sending an installation instruction to the target server, wherein the target server is used for installing a system by adopting a system installation program on the virtual optical disk according to the installation instruction;
acquiring an in-band IP address of the target server;
and setting the in-band IP address as an out-band user name of the target server, wherein the target server is used for analyzing the out-band user name to obtain the in-band IP address when entering the installed system, and setting the in-band network address as the in-band IP address.
In a second aspect, an embodiment of the present invention provides a system installation method, which is applied to a target server of a system to be installed, and includes:
establishing an out-of-band network connection with a deployment server;
determining a virtual optical disc set by the deployment server, wherein the virtual optical disc comprises a system installation program;
receiving an installation instruction sent by the deployment server;
installing the system by adopting the system installation program according to the installation instruction;
after the system is installed, receiving an out-of-band user name set by the deployment server, wherein the out-of-band user name comprises an in-band IP address;
and when entering the installed system, setting an in-band network address as the in-band IP address.
In a third aspect, an embodiment of the present invention provides a system installation apparatus, which is applied to a deployment server, and includes:
the system comprises a first out-of-band network connection establishing module, a second out-of-band network connection establishing module and a third out-of-band network connection establishing module, wherein the first out-of-band network connection establishing module is used for establishing out-of-band network connection with a target server, and the target server is a server of a system to be installed;
the virtual optical disc setting module is used for setting a virtual optical disc of the target server, which contains a system installation program;
an installation instruction sending module, configured to send an installation instruction to the target server, where the target server is configured to install a system using a system installation program on the virtual optical disc according to the installation instruction;
a first in-band IP address acquisition module, configured to acquire an in-band IP address of the target server;
and the target server is used for analyzing the out-of-band user name to obtain the in-band IP address when entering the installed system, and setting an in-band network address as the in-band IP address.
In a fourth aspect, an embodiment of the present invention provides a system installation apparatus, which is applied to a target server of a system to be installed, and includes:
the second out-of-band network connection establishing module is used for establishing out-of-band network connection with the deployment server;
a virtual disc determining module, configured to determine a virtual disc set by the deployment server, where the virtual disc includes a system installation program;
the installation instruction receiving module is used for receiving the installation instruction sent by the deployment server;
the system installation module is used for installing the system by adopting the system installation program according to the installation instruction;
the second in-band IP address acquisition module is used for receiving an out-of-band user name set by the deployment server after the system is installed, wherein the out-of-band user name comprises an in-band IP address;
and the in-band network address setting module is used for setting the in-band network address as the in-band IP address when entering the installed system.
In a fifth aspect, an embodiment of the present invention provides a system installation system, including a deployment server and a target server, where the deployment server is configured as the system installation apparatus provided in the third aspect of the embodiment of the present invention, and the target server is configured as the system installation apparatus provided in the fourth aspect of the embodiment of the present invention.
In a sixth aspect, an embodiment of the present invention provides an apparatus, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the system installation method according to any embodiment of the present invention
In a seventh aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the system installation method according to any embodiment of the present invention.
In the embodiment of the invention, after the deployment server establishes the out-of-band network connection with the target server, the system installation program is mounted on the target server in a virtual optical disk form through the out-of-band network, and the installation instruction is sent to the target server so that the target server adopts the system installation program installation system on the virtual optical disk, the in-band IP address can be transmitted to the target server through the out-of-band network in the out-of-band user name without acquiring the system installation configuration through a TFTP server or acquiring the in-band IP address through DHCP broadcast and using a UDP protocol, so that the deployment can be realized by spanning IDC, the installation of a whole network server system can be realized by deploying one set of installation system in the whole network, the deployment cost is reduced, the out-of-band network is used, the conflict with in-band network service is avoided, the management of the target server is simple, and the maintenance is easy.
Drawings
FIG. 1 is a flowchart illustrating steps of a system installation method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating steps of a system installation method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating steps of a system installation method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of a system installation method according to a fourth embodiment of the present invention;
FIG. 5 is a fluid schematic of a system installation method in accordance with an example of the invention;
fig. 6 is a block diagram of a system installation apparatus according to a fifth embodiment of the present invention;
fig. 7 is a block diagram of a system installation apparatus according to a sixth embodiment of the present invention;
fig. 8 is a block diagram of a system installation system according to a seventh embodiment of the present invention;
fig. 9 is a block diagram of an apparatus according to an eighth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of steps of a system installation method provided in an embodiment of the present invention, where the embodiment of the present invention is applicable to a case where a system is installed on a target server of a system to be installed through a deployment server, and the method may be executed by a system installation apparatus, where the apparatus may be implemented in a software and/or hardware manner and is integrated in the deployment server executing the method, and specifically, as shown in fig. 1, the system installation method in the embodiment of the present invention may include the following steps:
s101, establishing out-of-band network connection with a target server, wherein the target server is a server of a system to be installed.
In the embodiment of the present invention, the target server may be a server of a system to be installed, for example, a newly added server that is not installed with a system, a server that needs to be installed again when a system fails, or a server that needs to be installed again when a system has a failure due to low firmware and system version, etc., and the deployment server may be a server that is connected to the target server, manages and maintains the target server, and is used to install a system for the target server, where one deployment server may be connected to one or more target servers.
In addition, the deployment server and the target server in the embodiment of the present invention may have a BMC (Baseboard Management Controller) and support an IPMI (Intelligent Platform Management Interface) standard, where the BMC may perform operations such as firmware upgrade and target server state check on the target server in a state where the target server is not powered on, the IPMI is an industrial standard adopted by peripheral devices of an enterprise system under an Intel architecture, and the IPMI can span different operating systems, firmware and hardware platforms, and can intelligently monitor, control and automatically report operation conditions of a large number of servers, so as to reduce the cost of the server system.
In practical applications, the deployment server may be connected to the target server through an out-of-band network, where the out-of-band network is a dedicated management network independent of the data network, and in case of a failure of the data network or a server outage, the deployment server may still be connected to the target server through the out-of-band network, and remotely manage and maintain the target server. Alternatively, the deployment server may obtain an out-of-band IP address of the target server, and establish an out-of-band network connection with the target server through the out-of-band IP address. For example, an out-of-band IP address of the target server may be configured in advance, when the deployment server is connected to the target server, the out-of-band IP address of the target server is used as a parameter to connect to the target server through the IPMI protocol, and after the deployment server establishes an out-of-band network connection with the target server, both the deployment server and the target server may interact through the out-of-band network in a subsequent system installation process.
S102, setting a virtual optical disc of the target server and containing a system installation program.
In the embodiment of the invention, a virtual optical disc with a guiding function can be pre-manufactured, the virtual optical disc comprises a system installation program, the system can be automatically installed after the virtual optical disc is guided and started, and the virtual optical disc is automatically shut down after the system is installed.
After the deployment server establishes the out-of-band network connection with the target server, the system installation tool can be used to mount the virtual optical disc as the virtual optical disc of the target server, so that the target server can connect the virtual optical disc. Optionally, an ipmitool may be adopted to hang the virtual optical disc on the target server, where the ipmitool is an ipmi platform management tool in a command line manner under the linux system, and may support specifications of various versions of ipmi, and functions such as acquiring information of a sensor on the target server, displaying system log content, and remotely turning on and off a network may be implemented by the ipmitool, and of course, a person skilled in the art may also implement control of installation in a system installation process by using other installation tools instead of being limited to the ipmitool, which is not limited in this embodiment of the present invention.
S103, sending an installation instruction to the target server, wherein the target server is used for installing the system by adopting the system installation program on the virtual optical disc according to the installation instruction.
After the system installation program is mounted on the target server in the virtual disk manner, the deployment server may send various installation instructions to the target server to enable the target server to install the system using the system installation program on the virtual disk, for example, corresponding installation instructions may be sent to the target server according to the installation steps of the system to control the target server to install the system using the system installation program on the virtual disk, specifically, a shutdown instruction may be sent first to enable the target server to be shut down, then a first setting instruction is sent to enable the target server to be set to boot from the virtual disk, after the target server is powered on, the system is started from the boot of the virtual disk to be installed, and after the system is installed, the system is shut down, and finally a second startup setting instruction is sent to enable the target server to be set to be started from the local hard disk to enter a newly installed system.
S104, acquiring the in-band IP address of the target server.
The in-band IP address may refer to an IP address used by the target server on the in-band network, and the deployment server may configure the in-band IP address for all the target servers on the in-band network.
S105, setting the in-band IP address as an out-of-band user name of the target server, wherein the target server is used for analyzing the out-of-band user name to obtain the in-band IP address when entering an installed system, and setting an in-band network address as the in-band IP address.
Specifically, each target server has an out-of-band username on the out-of-band network as one of the identifiers of the target server on the out-of-band network, and after detecting that the target server has installed the system, the deployment server may set the out-of-band username of the target server, and optionally, may set the in-band IP address of the target server in a specified field of the out-of-band username of the target server, for example, setting the out-of-band username by ipmitool as follows:
ipmitool-ilanplus-H < in-band ip address > -U < username > -P < password > User set name < User ID > < username >.
After the deployment server writes the out-of-band user name into the target server, the target server can analyze the user name when the target server is started after the system is installed, and acquire the in-band IP address from the specified field so as to set an in-band network through the in-band IP address.
In the embodiment of the invention, the deployment server mounts the system installation program on the target server in a virtual optical disk form through the out-of-band network, sends the installation instruction to the target server so that the target server adopts the system installation program installation system on the virtual optical disk, and transmits the in-band IP address to the target server through the out-of-band network with the out-of-band user name, so that the deployment can be realized across IDC without acquiring the system installation configuration through a TFTP server or acquiring the in-band IP address through DHCP broadcast and using a UDP protocol, the deployment cost is reduced, the out-of-band network is used, no service conflict with the in-band network exists by deploying one set of installation system in the whole network, the management of the target server is simple, and the maintenance is easy.
Example two
Fig. 2 is a flowchart of steps of a system installation method according to a second embodiment of the present invention, where the embodiment of the present invention is optimized based on the first embodiment, specifically, as shown in fig. 2, the system installation method according to the embodiment of the present invention may include the following steps:
s201, establishing out-of-band network connection with a target server, wherein the target server is a server of a system to be installed.
Specifically, the out-of-band network is a dedicated management network independent of the data network, and in the case of a failure of the data network or a server crash, the deployment server may still connect to the target server through the out-of-band network, and remotely manage and maintain the target server. After determining a target server of a system to be installed, the deployment server can acquire an out-of-band IP address preset for the target server and establish out-of-band network connection with the target server, and after establishing the out-of-band network connection with the target server, the deployment server and the target server can interact through the out-of-band network in the subsequent system installation process.
S202, setting a virtual optical disc of the target server and containing a system installation program.
Optionally, after the deployment server establishes the out-of-band network connection with the target server, the system installation tool may mount the virtual optical disc as the virtual optical disc of the target server, so that the target server may connect the virtual optical disc. Optionally, the ipmitool may be used to mount the virtual optical disc on the target server, and certainly, the virtual optical disc may also be mounted on the target server by using other tools, and different tools may be specifically selected according to different service providers of the virtual optical disc, which is not limited herein.
S203, sending a shutdown instruction to the target server, wherein the target server is used for executing shutdown operation when receiving the shutdown instruction.
In practical applications, the target server needs to execute a shutdown operation before installing the system, for example, for reinstalling the system on the target server, the target server needs to shutdown first to execute operations such as data backup, and therefore the deployment server may generate a shutdown instruction through the system installation tool and send the shutdown instruction to the target server, so that the target server executes the shutdown operation after receiving the shutdown instruction.
And S204, sending a first startup setting instruction to the target server, wherein the target server is used for guiding startup from the virtual optical disc according to the first startup setting instruction, and executing shutdown operation after installing a system by adopting the system installation program.
Specifically, the system installation program is in the virtual optical disc, the system installation program is used for installing the system by booting from the virtual optical disc when the target server needs to be set to be powered on again, so that a first power-on setting instruction can be generated through a system installation tool, the first power-on setting instruction indicates that the target server is set to be powered on from the virtual optical disc to boot, after the first power-on instruction is sent to the target server, because the target server has a BMC, operations such as firmware upgrading and target server state checking can be performed on the target server in a state that the target server is not powered on, the target server can be set to be booted from the virtual optical disc through the BMC in a state that the target server is not powered on, and after the target server is powered on, the system installation program installation system of the virtual optical disc is read, and the system installation program is automatically powered off after the installation is completed.
S205, acquiring the state information of the target server.
During the installation of the system by the target server, the deployment server may query the state information of the target server installation system, for example, whether the target server is booted from the virtual optical disc when installing the system, whether the system image is successfully installed, whether the system is powered off after the installation is completed, and the like.
Specifically, the deployment server may send an out-of-band username acquisition request to the target server, receive an out-of-band username returned by the target server, analyze the out-of-band username to obtain state information of the target server, where the out-of-band username includes state information written by the target server in a process of installing the system, that is, state information of system installation in the process of installing the system by the target server is written into the out-of-band username, and the deployment server may read the out-of-band username of the target machine at regular time and analyze the out-of-band username, so as to obtain state information of the target server on which the system is currently installed.
S206, when the state of the target server is detected to be a power-off state, sending an unloading instruction for unloading the virtual optical disc to the target server, wherein the target server is used for unloading the virtual optical disc according to the unloading instruction and setting booting from a local hard disk.
In the embodiment of the present invention, when the state of the target server is determined to be the shutdown state according to the acquired state information, it is described that the target server has already installed the system, and the target server may uninstall the virtual optical disc and reset to start from the local hard disk to enter the newly installed operating system for system configuration. An uninstall instruction may be sent to the target server through the installer, where the uninstall instruction may instruct the target server to uninstall the mounted virtual optical disc and set a boot mode to change from the virtual optical disc boot to the local hard disk boot.
S207, acquiring the in-band IP address of the target server.
The in-band IP address may refer to an IP address used by the target server on the in-band network, and the deployment server may configure the in-band IP address for all the target servers on the in-band network.
S208, setting the in-band IP address as an out-band user name of the target server, wherein the target server is used for analyzing the out-band user name to obtain the in-band IP address when entering the installed system, and setting an in-band network address as the in-band IP address.
Specifically, each target server has an out-of-band username on the out-of-band network, the deployment server may set the out-of-band username of the target server after detecting that the target server has installed the system, and optionally, the in-band IP address of the target server may be set in a designated field of the out-of-band username of the target server, where the server is configured to parse the out-of-band username to obtain the in-band IP address when entering the installed system, and set the in-band network address as the in-band IP address.
After the deployment server writes the out-of-band user name into the target server, the target server can analyze the user name when the target server is started after the system is installed, and acquire the in-band IP address from the specified field, so as to set the in-band network through the in-band IP address.
In the embodiment of the invention, the deployment server mounts the system installation program on the target server in a virtual optical disk form through the out-of-band network, sends a shutdown instruction before system installation, sends a first startup setting instruction for setting boot from the virtual optical disk and sends a second startup setting instruction for boot from the local hard disk after system installation is finished, so that the target server can adopt the system installation program on the virtual optical disk to install the system according to the related instruction, and can transmit an in-band IP address to the target server through the out-of-band network by using an out-of-band user name.
Further, in the process of installing the system by the target server, the state information of the target server can be obtained by inquiring the out-of-band user name of the target server, and the progress of installing the system by the target server can be known in real time.
EXAMPLE III
Fig. 3 is a flowchart of steps of a system installation method provided by a third embodiment of the present invention, where the third embodiment of the present invention is applicable to a situation where a target server of a system to be installed installs a system, and the method may be executed by a system installation apparatus, which may be implemented by software and/or hardware and integrated in the target server executing the method, and specifically, as shown in fig. 3, the system installation method according to the third embodiment of the present invention may include the following steps:
s301, establishing out-of-band network connection with the deployment server.
In the embodiment of the present invention, the target server may be a server of a system to be installed, for example, a newly added server that has not yet been installed with the system, or a server that needs to reinstall the system when the system fails, or a server that needs to reinstall the system because of a low firmware, a low system version, or the like, and the deployment server may be a server that is connected to the target server and is used to install the system for the target server, where one deployment server may be connected to one or more target servers.
The deployment server and the target server may have a BMC (Baseboard Management Controller) and support an IPMI (Intelligent Platform Management Interface) standard, the BMC may perform operations such as firmware upgrade and checking a state of the target server when the target server is not powered on, the IPMI is an industrial standard adopted by peripheral devices of an enterprise system under an Intel architecture, and the IPMI can span different operating systems, firmware and hardware platforms, and can intelligently monitor, control and automatically report operation conditions of a large number of servers, so as to reduce the cost of the server system.
The deployment server may send an out-of-band connection request to the target server over the out-of-band network, establish the out-of-band network connection with the target server upon a response by the target server, and interact over the out-of-band network connection. The out-of-band network is a dedicated management network independent of the data network, and the target server can still establish connection with the target server through the out-of-band network under the condition that the data network fails or the server is down.
S302, determining a virtual optical disc set by the deployment server, wherein the virtual optical disc comprises a system installation program.
In the embodiment of the present invention, a virtual optical disc with a booting function may be pre-manufactured, where the virtual optical disc includes a system installation program, and the virtual optical disc is capable of automatically installing an operating system after booting and starting the virtual optical disc, and is automatically powered off after the system is installed.
After the target server establishes the out-of-band network connection with the deployment server, the deployment server mounts the virtual optical disc on the target server, for example, the deployment server may mount the virtual optical disc as a virtual optical disc of the target server using a system installation tool, and the target server may determine a driver connected thereto to determine the virtual optical disc.
S303, receiving the installation instruction sent by the deployment server.
In the embodiment of the present invention, the target server and the deployment server may interact through an out-of-band network, for example, the deployment server may send various system installation instructions to the target server through a system installation tool, and the target server may receive various installation instructions sent by the deployment server.
And S304, installing the system by adopting the system installation program according to the installation instruction.
After receiving an installation instruction sent by a deployment server, a target server installs a system by using a system installation program according to an instruction of the installation instruction, for example, executing shutdown operation when receiving a shutdown instruction sent by the deployment server; setting a boot starting mode to be booted from the virtual optical disc when receiving a first boot setting instruction; and setting a boot starting mode to be started from the local hard disk when the system is shut down after being installed and a second boot setting instruction is received.
S305, after the system is installed, receiving an out-of-band user name set by the deployment server, wherein the out-of-band user name comprises an in-band IP address.
Specifically, the deployment server may configure in-band IP addresses for all target servers on the in-band network, each target server has an out-of-band username on the out-of-band network as one of the identifiers of the target server on the out-of-band network, and after detecting that the target server has installed the system, the deployment server may set the out-of-band username of the target server, and optionally, the in-band IP address of the target server may be set in a specified field of the out-of-band username of the target server, and then the target server may receive the out-of-band username set by the deployment server.
S306, when entering the installed system, setting the in-band network address as the in-band IP address.
After the target server finishes installing the system, the target server can analyze the out-of-band user name set by the deployment server during starting, and acquire the in-band IP address from the specified field so as to set the in-band network through the in-band IP address.
In the embodiment of the invention, after the target server is connected with the deployment server through the out-of-band network, the virtual optical disk set by the deployment server can be determined, the system is installed by adopting the system installation program on the virtual optical disk according to the installation instruction received from the deployment server, and finally, after the system is installed, the in-band IP address is obtained from the received out-of-band user name set by the deployment server to set the in-band network, the system installation configuration is not required to be obtained through a TFTP server, the in-band IP address is not required to be obtained through DHCP broadcasting and a UDP protocol is used, so that the deployment can be realized across IDC, the reinstallation of the whole network server system can be realized by deploying one set of installation system in the whole network, the deployment cost is reduced, the out-of-band network is used, the conflict with the in-band network service is avoided, the management on the target server is simple, and the maintenance is easy.
Example four
Fig. 4 is a flowchart of steps of a system installation method provided by a fourth embodiment of the present invention, where the embodiment of the present invention is optimized based on the third embodiment, specifically, as shown in fig. 4, the system installation method of the embodiment of the present invention may include the following steps:
s401, establishing out-of-band network connection with the deployment server.
In particular, the target server may establish an out-of-band network connection with the deployment server in response to an out-of-band network connection request by the deployment server.
S402, determining a virtual optical disc set by the deployment server, wherein the virtual optical disc comprises a system installation program.
After the target server establishes the out-of-band network connection with the deployment server, the deployment server mounts the virtual optical disc on the target server, for example, the deployment server may mount the virtual optical disc as a virtual optical disc of the target server using a system installation tool, and then the target server may determine the virtual optical disc set by the deployment server.
And S403, receiving a shutdown instruction sent by the deployment server.
In practical applications, the target server needs to perform a shutdown operation before installing the system, for example, for reinstalling the system, the target server needs to shutdown first to perform operations such as data backup, and when the deployment server generates a shutdown instruction through the system installation tool, the target server may receive the shutdown instruction.
S404, executing shutdown operation.
The target server receives a joint instruction sent by the deployment server before installing the system, executes data backup and other operations, and then shuts down the system, specifically, if the target server supports ipmitool, the deployment server may generate a shutdown instruction through an ipmitool tool to control the shutdown of the target server, where ipmitool is an IPMI platform management tool in a command line manner that may be used in the linux system, and supports IPMI 1.5 specifications (the latest specification is IPMI 2.0), and functions of acquiring information of a sensor, displaying system log content, network remote startup and shutdown and the like may be implemented through ipmitool.
S405, receiving a first starting-up setting instruction sent by the deployment server.
Because the system installation program is in the virtual optical disc, the system installation program is adopted to install the system by booting from the virtual optical disc when the target server needs to be set to be started again, the deployment server can generate a first startup setting instruction through a system installation tool and send the first startup setting instruction to the target server, the target server can receive the first startup setting instruction through an out-of-band network connection, and the first startup setting instruction indicates the target server to boot from the virtual optical disc.
And S406, booting from the virtual optical disc according to the first boot setting instruction.
After the target server receives the first startup setting instruction, because the target server has the BMC, the target server can be subjected to operations such as firmware upgrade and target server state check in a state where the target server is not started, so that the target server can be set to boot from the virtual optical disc in a state where the target server is not started, and specifically, the target server reads a system installation program installation system of the virtual optical disc after being started and automatically shuts down after installation is completed.
And S407, installing the system by adopting the system installation program after starting up.
When the target server is set to start up, the target server starts to install the system by using the system installation program in the virtual optical disc once the target server is started up, for example, the system installation program may include an image file of the system and an installation guide program of the installation process, and the target server may automatically install the required system by installing the guide program and the image file of the system.
In an optional embodiment of the present invention, in the process of installing the system, the target server may receive the out-of-band username request sent by the deployment server, acquire the state information, write the state information into the out-of-band username, and finally send the out-of-band username to the deployment server.
During the installation of the system by the target server, the deployment server may query the state information of the target server installation system, for example, whether the target server is booted from the virtual optical disc when installing the system, whether the system image is successfully installed, whether the system is powered off after the installation is completed, and the like.
Specifically, the target server may write the state information of the system installation into the out-of-band username in the process of installing the system, and when receiving an out-of-band username request sent by the deployment server, send the out-of-band username containing the state information of the system installation to the deployment server, and the deployment server may analyze the received out-of-band username, so as to obtain the state information of the system currently installed by the target server.
And S408, executing shutdown operation after the system is installed.
In practical applications, after the system is installed, the target server may perform a shutdown operation, and wait for the next reboot to configure related resources for the system, for example, configure various hardware resources for the newly installed system.
And S409, receiving the unloading instruction sent by the deployment server.
In the embodiment of the present invention, the system installation program is installed on the target server in the form of the virtual optical disc, and after the target server finishes installing the system, the deployment server may send an uninstalling instruction to uninstall the virtual optical disc installed on the target server, thereby releasing the resource.
S410, uninstalling the virtual CD and setting booting from a local hard disk.
Specifically, the uninstalling of the mounted virtual optical disc releases resources occupied by the virtual optical disc, and changes the boot mode from boot of the virtual optical disc to boot of the local hard disk, for example, the boot disk is changed to the hard disk where the newly installed system is located in the BIOS.
S411, after the system is installed, receiving an out-of-band user name set by the deployment server, wherein the out-of-band user name comprises an in-band IP address.
Specifically, the deployment server may configure in-band IP addresses for all target servers on the in-band network, each target server has an out-of-band username on the out-of-band network as one of the identifiers of the target server on the out-of-band network, and after detecting that the target server has installed the system, the deployment server may set the out-of-band username of the target server, and optionally, the in-band IP address of the target server may be set in a specified field of the out-of-band username of the target server, and then the target server may receive the out-of-band username set by the deployment server.
S412, when entering the installed system, setting the in-band network address as the in-band IP address.
After the target server finishes installing the system, the target server can analyze the out-of-band user name set by the deployment server when the target server is started, and acquire the in-band IP address from the specified field so as to set the in-band network through the in-band IP address.
After the target server is connected with the deployment server through the out-of-band network, the virtual optical disk set by the deployment server can be determined, the shutdown operation is executed when a shutdown instruction sent by the deployment server is received, the boot-up installation system is guided from the virtual optical disk when a first boot-up setting instruction sent by the deployment server is received, the virtual optical disk is unloaded and the boot-up is guided from the local hard disk when an unloading instruction sent by the deployment server is received, finally, after the system is installed, the in-band IP address is obtained from the received out-of-band user name set by the deployment server to set the in-band network, the system installation configuration does not need to be obtained through the TFTP server, the in-band IP address does not need to be obtained through DHCP broadcasting and the UDP protocol is used, so that the deployment can be realized across IDC, the reinstallation of the whole network server system can be realized by deploying one set of installation systems on the whole network, the deployment cost is reduced, the out-of-band network does not conflict with the in-band network service, the management of the target server is simple, and the maintenance is easy.
Further, in the process of installing the system, the target server can write the state information into the out-of-band user name and send the state information to the deployment server, so that the deployment server can know the progress of installing the system by the target server in real time.
In order to make the system installation method of the embodiment of the present invention more clearly understood by those skilled in the art, the system installation method of the embodiment of the present invention is illustrated below with reference to fig. 5:
as shown in fig. 5, the deployment server and the target server of this example may perform the following steps after being connected through the out-of-band network:
s1, the deployment server controls the shutdown of the target server.
For example, ipmitool may be used to cause the target server to power down.
And S2, mounting the virtual optical disk containing the installation program on the target server by the deployment server.
Specifically, a virtual disc including a system setup program may be created in advance, and the virtual disc may be mounted on the target server, specifically, a tool of a virtual disc creation service provider may be used to mount the virtual disc on the target server.
And S3, the deployment server sets a target server to boot and start from the virtual optical disc.
Optionally, the ipmitool may be used to set a boot start mode of booting the target server after shutdown as booting from the virtual optical disc.
And S4, starting the target server from the virtual optical disk, and installing the system by adopting a system installation program in the virtual optical disk.
In practical application, the system is booted from the virtual optical disc during installation, the system image is installed, and the system is shut down after the installation is finished.
And S5, in the process of installing the system, the deployment server inquires the installation state, and the target server returns the installation state to the deployment server.
Specifically, the current state information of the system installation is written into the out-of-band user name in the installation process of the target server, and the deployment server receives the out-of-band user name returned from the target server to obtain the current state information of the system installation.
And S6, after the installation is finished, the target server unloads the virtual optical disk and releases resources.
Namely, the mount of the virtual optical disc is released, so that the target server is not mounted with the virtual optical disc any more, and the resources of the target server are released.
And S7, setting the target server to boot from the local hard disk.
For example, the boot mode in the BIOS of the target server is changed to the boot mode of the local hard disk where the system is located.
And S8, starting the target server to enter a newly installed system.
And after the target server is installed and shut down, the target server is booted and started from the local hard disk to enter a newly installed system according to the reset boot starting mode, and corresponding resources are configured for the system.
S9, the deployment server provides the in-band IP to the target server through the out-of-band user name.
The deployment server may uniformly configure the IP address used by the in-band network for all target servers, and the deployment server may write the in-band IP address into a specified field of the out-of-band username.
S10, the target server sets an in-band IP and configures an in-band network.
After the target server first enters the newly installed system, the in-band network needs to be configured, and specifically, the in-band network can be configured using the obtained in-band IP address.
S11, the target server performs ping check through the configured in-band network.
After the target server configures the in-band network, a ping check may be performed to determine if the in-band network configuration is valid and available.
In the example, the deployment server mounts the system installation program on the target server in the form of the virtual optical disk through the out-of-band network, and interactively sends an instruction through the out-of-band network so that the target server adopts the system installation program installation system on the virtual optical disk, and transmits the in-band IP address to the target server through the out-of-band network with the out-of-band user name, so that the deployment can be realized across IDCs (Internet data centers), the installation of a whole network server system can be realized by deploying one set of installation system in the whole network, the deployment cost is reduced, the out-of-band network is used, no service conflict with the in-band network exists, the target server is simply managed and is easy to maintain.
EXAMPLE five
Fig. 6 is a block diagram of a system installation apparatus provided in the fifth embodiment of the present invention, and as shown in fig. 6, the system installation apparatus in the fifth embodiment of the present invention may specifically include the following modules:
a first out-of-band network connection establishing module 601, configured to establish an out-of-band network connection with a target server, where the target server is a server of a system to be installed;
a virtual disc setting module 602, configured to set a virtual disc of the target server and including a system installation program;
an installation instruction sending module 603, configured to send an installation instruction to the target server, where the target server is configured to install a system using a system installer on the virtual optical disc according to the installation instruction;
a first in-band IP address obtaining module 604, configured to obtain an in-band IP address of the target server;
an out-of-band username setting module 605, configured to set the in-band IP address as an out-of-band username of the target server, where the target server is configured to parse the out-of-band username to obtain the in-band IP address when entering the installed system, and set an in-band network address as the in-band IP address.
Optionally, the first out-of-band network connection establishing module 601 includes:
the out-of-band IP address acquisition submodule is used for acquiring the out-of-band IP address of the target server;
and the out-of-band network connection establishing submodule is used for establishing out-of-band network connection with the target server through the out-of-band IP address.
Optionally, the installation instruction sending module 603 includes:
the shutdown instruction sending submodule is used for sending a shutdown instruction to the target server, and the target server is used for executing shutdown operation when receiving the shutdown instruction;
a first startup setting instruction sending submodule, configured to send a first startup setting instruction to the target server, where the target server is configured to boot startup from the virtual optical disc according to the first startup setting instruction, and execute a shutdown operation after installing a system by using the system installation program;
and the unloading instruction sending submodule is used for sending an unloading instruction for unloading the virtual optical disc to the target server when the state of the target server is detected to be a power-off state, and the target server is used for unloading the virtual optical disc according to the unloading instruction and setting booting from a local hard disk.
Optionally, the method further comprises:
and the state information acquisition module is used for acquiring the state information of the target server.
Optionally, the status information obtaining module includes:
the user name acquisition request sending submodule is used for sending an out-of-band user name acquisition request to the target server;
the out-of-band user name receiving submodule is used for receiving an out-of-band user name returned by the target server, and the out-of-band user name comprises state information written by the target server in the process of installing the system;
and the out-of-band user name analysis submodule is used for analyzing the out-of-band user name to obtain the state information of the target server.
Optionally, the target server is a server having a baseboard management controller and supporting an intelligent platform management interface standard.
The system installation device provided by the embodiment of the invention can execute the system installation method provided by the first embodiment and the second embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 7 is a block diagram of a system installation apparatus according to a sixth embodiment of the present invention, and as shown in fig. 7, the system installation apparatus according to the sixth embodiment of the present invention may specifically include the following modules:
a second out-of-band network connection establishing module 701, configured to establish an out-of-band network connection with the deployment server;
a virtual disc determining module 702, configured to determine a virtual disc set by the deployment server, where the virtual disc includes a system installer;
an installation instruction receiving module 703, configured to receive an installation instruction sent by the deployment server;
a system installation module 704, configured to install the system by using the system installer according to the installation instruction;
a second in-band IP address obtaining module 705, configured to receive an out-of-band username set by the deployment server after the system is installed, where the out-of-band username includes an in-band IP address;
an in-band network address setting module 706, configured to set an in-band network address as the in-band IP address when entering the installed system.
Optionally, the installation instruction receiving module 703 includes:
the shutdown instruction receiving submodule is used for receiving a shutdown instruction sent by the deployment server;
the system installation module 704 includes:
and the shutdown submodule is used for executing shutdown operation when receiving the shutdown instruction.
Optionally, the installation instruction receiving module 703 includes:
the first starting-up setting instruction receiving submodule is used for receiving a first starting-up setting instruction sent by the deployment server;
the system installation module 704 includes:
the first startup setting submodule is used for setting boot-up guidance from the virtual optical disc according to the first startup setting instruction when the first startup setting instruction is received;
the system installation submodule is used for installing the system by adopting the system installation program;
and the shutdown submodule is used for executing shutdown operation after the system is installed.
Optionally, the installation instruction receiving module 703 includes:
the unloading instruction receiving submodule is used for receiving the unloading instruction sent by the deployment server;
the system installation module 704 includes:
and the unloading submodule is used for unloading the virtual optical disk and setting boot from a local hard disk.
Optionally, the method further comprises:
and the state information sending module is used for sending the state information to the deployment server.
Optionally, the status information sending module includes:
the out-of-band user name request receiving submodule is used for receiving an out-of-band user name request sent by the deployment server;
the state information acquisition submodule is used for acquiring state information;
the status information writing sub-module is used for writing the status information into an out-of-band user name;
and the out-of-band user name sending sub-module is used for sending the out-of-band user name to the deployment server.
Optionally, the target server is a server having a baseboard management controller and supporting an intelligent platform management interface standard.
The system installation device provided by the embodiment of the invention can execute the system installation method provided by the third embodiment and the fourth embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE seven
Fig. 8 is a block diagram of a system installation system according to a seventh embodiment of the present invention, and as shown in fig. 8, the system installation system according to the seventh embodiment of the present invention includes a deployment server 801 and a target server 802, where the deployment server 801 is configured as the system installation apparatus according to the fifth embodiment, and the target server 802 is configured as the system installation apparatus according to the sixth embodiment.
The system installation system provided by the embodiment of the invention can execute the system installation method provided by the first embodiment to the fourth embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example eight
Referring to fig. 9, a schematic diagram of a device in one example of the invention is shown. As shown in fig. 9, the apparatus may specifically include: a processor 90, a memory 91, a display screen 92 with touch functionality, an input device 93, an output device 94 and a communication device 95. The number of the processors 90 in the device may be one or more, and one processor 90 is taken as an example in fig. 9. The number of the memory 91 in the device may be one or more, and one memory 91 is illustrated in fig. 9. The processor 90, the memory 91, the display 92, the input device 93, the output device 94 and the communication device 95 of the apparatus may be connected by a bus or other means, as exemplified by the bus connection in fig. 9.
The memory 91 serves as a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the system installation method according to the first to second embodiments of the present invention (for example, the first out-of-band network connection establishing module 601, the virtual optical disc setting module 602, the installation instruction transmitting module 603, the first in-band IP address obtaining module 604, and the out-of-band user name setting module 605 in the system installation apparatus), or program instructions/modules corresponding to the system installation method according to the third to fourth embodiments of the present invention (for example, the second out-of-band network connection establishing module 701, the virtual optical disc determining module 702, the installation instruction receiving module 703, the system installation module 704, the second in-band IP address obtaining module 705, and the in-band network address setting module 706 in the system installation apparatus). The memory 91 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating device, an application program required for at least one function; the storage data area may store data created according to use of the device, and the like. Further, the memory 91 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, memory 91 may further include memory located remotely from processor 90, which may be connected to devices through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The display screen 92 is a display screen 92 with a touch function, which may be a capacitive screen, an electromagnetic screen, or an infrared screen. In general, the display screen 92 is used for displaying data according to instructions from the processor 90, and is also used for receiving touch operations applied to the display screen 92 and sending corresponding signals to the processor 90 or other devices. Optionally, when the display screen 92 is an infrared screen, the display screen further includes an infrared touch frame, and the infrared touch frame is disposed around the display screen 92, and may also be configured to receive an infrared signal and send the infrared signal to the processor 90 or other devices.
The communication device 95 is used for establishing a communication connection with other devices, and may be a wired communication device and/or a wireless communication device.
The input device 93 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the apparatus, and may also be a camera for acquiring images and a sound pickup apparatus for acquiring audio data. The output device 94 may include an audio device such as a speaker. It should be noted that the specific composition of the input device 93 and the output device 94 can be set according to actual conditions.
The processor 90 implements the above-described system installation method by executing software programs, instructions, and modules stored in the memory 91 to thereby execute various functional applications of the device and data processing.
In particular, in the embodiment, when the processor 90 executes one or more programs stored in the memory 91, the system installation method provided by the embodiment of the present invention is specifically implemented.
Embodiments of the present invention further provide a computer-readable storage medium, where when executed by a processor of a device, an instruction in the storage medium enables the device to perform the system installation method according to the foregoing method embodiment.
It should be noted that, as for the embodiments of the apparatus, the device, and the storage medium, since they are basically similar to the embodiments of the method, the description is relatively simple, and in relevant places, reference may be made to the partial description of the embodiments of the method.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a robot, a personal computer, a server, or a network device) to execute the system installation method according to any embodiment of the present invention.
It should be noted that, in the system installation apparatus, each unit and each module included in the system installation apparatus are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by suitable instruction execution devices. For example, if implemented in hardware, as in another embodiment, any one or combination of the following technologies, which are well known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above do not necessarily refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (17)

1. A system installation method is applied to a deployment server and comprises the following steps:
acquiring an out-of-band IP address of a target server, wherein the target server is a server of a system to be installed;
establishing an out-of-band network connection with the target server through the out-of-band IP address;
setting a virtual optical disc of the target server, wherein the virtual optical disc comprises a system installation program;
sending an installation instruction to the target server, wherein the target server is used for installing a system by adopting a system installation program on the virtual optical disk according to the installation instruction;
acquiring an in-band IP address of the target server;
and setting the in-band IP address as an out-band user name of the target server, wherein the target server is used for analyzing the out-band user name to obtain the in-band IP address when entering the installed system, and setting an in-band network address as the in-band IP address.
2. The system installation method of claim 1, wherein said sending system installation instructions to the target server comprises:
sending a shutdown instruction to the target server, wherein the target server is used for executing shutdown operation when receiving the shutdown instruction;
sending a first startup setting instruction to the target server, wherein the target server is used for guiding startup from the virtual optical disc according to the first startup setting instruction, and executing shutdown operation after installing a system by adopting the system installation program;
and when the state of the target server is detected to be a power-off state, sending an unloading instruction for unloading the virtual optical disc to the target server, wherein the target server is used for unloading the virtual optical disc according to the unloading instruction and setting booting from a local hard disk.
3. The system installation method according to claim 2, wherein before the step of sending an uninstall instruction to the target server to uninstall the virtual optical disc when the state of the target server is detected to be a power-off state, the method further comprises:
and acquiring the state information of the target server.
4. The system installation method according to claim 3, wherein the obtaining the status information of the target server comprises:
sending an out-of-band user name acquisition request to the target server;
receiving an out-of-band user name returned by the target server, wherein the out-of-band user name comprises state information written by the target server in the process of installing a system;
and analyzing the out-of-band user name to obtain the state information of the target server.
5. The system installation method according to claim 1, wherein the target server is a server having a baseboard management controller and supporting an intelligent platform management interface standard.
6. A system installation method is characterized in that a target server applied to a system to be installed comprises the following steps:
establishing an out-of-band network connection with a deployment server;
determining a virtual optical disc set by the deployment server, wherein the virtual optical disc comprises a system installation program;
receiving an installation instruction sent by the deployment server;
installing the system by adopting the system installation program according to the installation instruction;
after the system is installed, receiving an out-of-band user name set by the deployment server, wherein the out-of-band user name comprises an in-band IP address;
and when entering the installed system, setting an in-band network address as the in-band IP address.
7. The system installation method according to claim 6,
the receiving the installation instruction sent by the deployment server includes:
receiving a shutdown instruction sent by the deployment server;
the installing the system by adopting the system installation program according to the installation instruction comprises the following steps:
and executing shutdown operation when the shutdown instruction is received.
8. The system installation method according to claim 7,
the receiving the installation instruction sent by the deployment server further includes:
receiving a first starting-up setting instruction sent by the deployment server;
the installing the system by adopting the system installation program according to the installation instruction further comprises:
when the first startup setting instruction is received, the virtual optical disc is booted according to the first startup setting instruction;
after starting up, installing the system by adopting the system installation program;
and after the system is installed, performing shutdown operation.
9. The system installation method according to claim 8,
the receiving the installation instruction sent by the deployment server further includes:
receiving an unloading instruction sent by the deployment server;
the installing the system by adopting the system installation program according to the installation instruction further comprises:
and unloading the virtual optical disk and setting booting from a local hard disk.
10. The system installation method according to claim 9, further comprising, before the step of receiving the uninstall instruction sent by the deployment server:
and sending state information to the deployment server.
11. The system installation method of claim 10, wherein the sending the state information to the deployment server comprises:
receiving an out-of-band user name request sent by the deployment server;
acquiring state information;
writing the state information into an out-of-band user name;
and sending the out-of-band user name to the deployment server.
12. The system installation method according to any one of claims 6 to 11, wherein the target server is a server having a baseboard management controller and supporting an intelligent platform management interface standard.
13. A system installation apparatus, comprising:
the system comprises a first out-of-band network connection establishing module, a second out-of-band network connection establishing module and a third out-of-band network connection establishing module, wherein the first out-of-band network connection establishing module is used for establishing out-of-band network connection with a target server, and the target server is a server of a system to be installed;
wherein the first out-of-band network connection establishment module comprises:
the out-of-band IP address acquisition submodule is used for acquiring an out-of-band IP address of a target server, and the target server is a server of a system to be installed;
the out-of-band network connection establishing submodule is used for establishing out-of-band network connection with the target server through the out-of-band IP address;
the virtual optical disc setting module is used for setting a virtual optical disc of the target server, which contains a system installation program;
an installation instruction sending module, configured to send an installation instruction to the target server, where the target server is configured to install a system using a system installation program on the virtual optical disc according to the installation instruction;
a first in-band IP address acquisition module, configured to acquire an in-band IP address of the target server;
and the out-of-band user name setting module is used for setting the in-band IP address as the out-of-band user name of the target server, and the target server is used for analyzing the out-of-band user name to obtain the in-band IP address when entering the installed system and setting the in-band network address as the in-band IP address.
14. A system mounting apparatus, comprising:
the second out-of-band network connection establishing module is used for establishing out-of-band network connection with the deployment server;
a virtual disc determining module, configured to determine a virtual disc set by the deployment server, where the virtual disc includes a system installation program;
the installation instruction receiving module is used for receiving the installation instruction sent by the deployment server;
the system installation module is used for installing the system by adopting the system installation program according to the installation instruction;
the second in-band IP address acquisition module is used for receiving an out-of-band user name set by the deployment server after the system is installed, wherein the out-of-band user name comprises an in-band IP address;
and the in-band network address setting module is used for setting the in-band network address as the in-band IP address when entering the installed system.
15. A system installation system is characterized by comprising a deployment server and a target server,
the deployment server configures the system installation apparatus of claim 13, and the target server configures the system installation apparatus of claim 14.
16. A system mounting apparatus, the apparatus comprising:
one or more processors;
a storage device for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the system installation method of any of claims 1-12.
17. A computer-readable non-transitory storage medium on which a computer program is stored, the program, when executed by a processor, implementing the system installation method of any one of claims 1 to 12.
CN201911204682.7A 2019-11-29 2019-11-29 System installation method, device, system, equipment and storage medium Active CN110971689B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911204682.7A CN110971689B (en) 2019-11-29 2019-11-29 System installation method, device, system, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911204682.7A CN110971689B (en) 2019-11-29 2019-11-29 System installation method, device, system, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110971689A CN110971689A (en) 2020-04-07
CN110971689B true CN110971689B (en) 2022-10-11

Family

ID=70032302

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911204682.7A Active CN110971689B (en) 2019-11-29 2019-11-29 System installation method, device, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110971689B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112463173B (en) * 2020-11-20 2022-07-08 苏州浪潮智能科技有限公司 Method, device and medium for remotely installing customized web application by bare metal server
CN113645325A (en) * 2021-08-11 2021-11-12 山东中创软件商用中间件股份有限公司 Out-of-band management method and system for server
CN114050971B (en) * 2021-11-09 2024-02-02 网易(杭州)网络有限公司 Server configuration method, device, system, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213339A (en) * 2019-05-10 2019-09-06 腾讯科技(深圳)有限公司 Resource access method, device, storage medium and computer equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105791362B (en) * 2014-12-24 2019-07-26 联想(北京)有限公司 A kind of server operating system dispositions method and server
CN104580475B (en) * 2015-01-13 2018-03-09 华为技术有限公司 Long-range control method, terminal device, management server and tele-control system
US11263006B2 (en) * 2015-11-24 2022-03-01 Vmware, Inc. Methods and apparatus to deploy workload domains in virtual server racks
CN106572200A (en) * 2016-11-10 2017-04-19 郑州云海信息技术有限公司 IP address configuration method and IP address configuration device for baseboard management controller BMC
CN107229492A (en) * 2017-05-17 2017-10-03 东软集团股份有限公司 Installation method, device, system, storage medium and the equipment of server system
CN109753301A (en) * 2018-12-06 2019-05-14 东软集团股份有限公司 Application system dispositions method, device, storage medium and electronic equipment

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213339A (en) * 2019-05-10 2019-09-06 腾讯科技(深圳)有限公司 Resource access method, device, storage medium and computer equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"基于IPMI的服务器管理系统的实现";王栩浩;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;20170228;全文 *
MilošLjubojevićAleksandar BajićDanijel Mijić."Implementation of High-Availability Server Cluster by Using Fencing Concept".《2019 18th International Symposium INFOTEH-JAHORINA (INFOTEH)》.2019,全文. *

Also Published As

Publication number Publication date
CN110971689A (en) 2020-04-07

Similar Documents

Publication Publication Date Title
US8997090B2 (en) Installing an operating system in a host system
US7600005B2 (en) Method and apparatus for provisioning heterogeneous operating systems onto heterogeneous hardware systems
CN111756574B (en) Method, device and computer readable storage medium for remote batch updating firmware
CN110971689B (en) System installation method, device, system, equipment and storage medium
EP3495938B1 (en) Raid configuration
US9182998B2 (en) Remote bios update in system having multiple computers
US7650490B2 (en) Embedded device for implementing a boot process on a host
CN109587005B (en) Connection detection method and device, computer equipment and readable storage medium
CN106911729B (en) Remote installation method of operating system suitable for domestic processor
US8332490B2 (en) Method, apparatus and program product for provisioning a computer system
US20140129819A1 (en) Cloud cluster system and boot deployment method for the same
US20030126426A1 (en) Embedded OS PXE server
CN103024079B (en) Obtain the method for server resource information, resource pool management system and server
KR101535153B1 (en) Method and system for automatically installing operating system, and media that can record computer program sources thereof
CN106549789B (en) Method and system for realizing server installation
US10817378B2 (en) Managing boot failures in an information handling system
US20120131179A1 (en) Method and system for remote os installation capable of monitoring an installation procedure
CN112272246A (en) Out-of-band network IP automatic configuration method and device, electronic equipment and storage medium
US20190140897A1 (en) Method for automatically initializing network device, remote server and network system using the same
CN113849228A (en) Operating system batch deployment method, system, terminal and storage medium
JP2007183837A (en) Environment-setting program, environment-setting system, and environment-setting method
JP2019120974A (en) Computer system, baseboard management controller, OS installation method, and program
CN113965548A (en) Hardware drive updating method, system, equipment and medium of storage server
CN114866515A (en) IP address configuration method, device, electronic equipment and storage medium
CN106506276A (en) A kind of information detecting method for server

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: 20231010

Address after: 31a, 15 / F, building 30, maple mall, bangrang Road, Brazil, Singapore

Patentee after: Baiguoyuan Technology (Singapore) Co.,Ltd.

Address before: 511400 floor 5-13, West Tower, building C, 274 Xingtai Road, Shiqiao street, Panyu District, Guangzhou City, Guangdong Province

Patentee before: GUANGZHOU BAIGUOYUAN INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right