CN106487524B - The method of remote opening - Google Patents
The method of remote opening Download PDFInfo
- Publication number
- CN106487524B CN106487524B CN201510532128.7A CN201510532128A CN106487524B CN 106487524 B CN106487524 B CN 106487524B CN 201510532128 A CN201510532128 A CN 201510532128A CN 106487524 B CN106487524 B CN 106487524B
- Authority
- CN
- China
- Prior art keywords
- computer
- server
- address
- network
- remote opening
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
- Computer And Data Communications (AREA)
Abstract
A kind of method of remote opening, remotely to control a computer booting, the method for the remote opening includes: the execution environment program code to be switched on of burning standard in the computer;The basic input output system of the computer is specified to guide the computer booting by network card;The basic input output system is executed, and judges whether to a remote opening;When determining that the computer executes the program of performing environment to be switched on when carrying out remote opening, network card is driven;The network card sends the MAC Address of the computer and obtains the request of IP address to a server;The computer executes simple file transfer protocol code, and sends Dynamic Host Configuration Protocol request to the server, which, which sends, responds and distribute each MAC Address corresponding IP address;The computer receives the IP address and carries network boot up and down in the server and execute, and the computer is guided to drive an operating system into.
Description
[technical field]
The invention relates to a kind of methods of remote opening, more particularly to a kind of only support IPV6 technology realization remotely to open
The method of machine.
[background technique]
In the management of current computer system, distal end booting is increasingly becoming an indispensable method and apparatus, at present
The hardware structure of distal end booting, can use pre- booting performing environment (the Preboot Execution on network card
Environment, PXE) master die group (Standard Module) come implement distal end be switched on, the operating principle of this mode be first
By the PXE procedure code burning of a segment standard in the Boot ROM of the network No. card of computer or in the BIOS of motherboard.When computer is opened
After machine, computer can be executed by BIOS, be switched on if computer has been set by PXE, and BIOS can meet at next right of execution
The procedure code of PXE executes the program of PXE.Network card can be driven after the program of PXE obtains right of execution, by network
Dynamic Host Configuration Protocol server (Dynamic Host Configuration Protocol Server, DHCP
Server)/simple file transfer protocol (Trivial File Transfer Protocol, TFTP) server obtain the machine and
The IP address of tftp server, then booting image shelves are downloaded into local memory by DHCP/TFTP server, i.e., using this
Booting image shelves booting in machine memory.
And second-generation internet IPv4 technology used at present, its greatest problem are that network address resources are limited, and by
Deficiency in address seriously constrains the application and development of China and other countries internet, in addition, with electronic technology and
The development of network technology, computer network come into daily life, may require to connect per the same thing at one's side
Enter fhe global the Internet.Under such circumstances, IPv6 comes into being.It is single from the order of magnitude for, the address that IPv6 is possessed holds
Amount is about 8 × 10^28 times of IPv4, reaches 2^128, this not only solves the problems, such as network address resources quantity, while
Internet, which is connected into, for the equipment in addition to computer has cleared away obstacle in quantity limitation.
In above-mentioned performing environment (Preboot Execution Environment, PXE) to be switched on, the operation of computer
When system obtains the IP address of Dynamic Host Configuration Protocol server, Dynamic Host Configuration Protocol server supports the addressing technique of IPV4&IPv6 to pass through TCP/IP network
The starting software package being stored in Network File System (Network File System, NFS) is remotely accessed, computer executes
When distal end is switched on, downloading holonomic system core and NIC driver after (network DHCP client driving is based on IPv4
Based on, then again for whether there is or not IPv6 demands to act, DHCP client driving just stops if IPv4 agreement is not present
Only), the movement that request is obtained the IP address of DHCP by the Dynamic Host Configuration Protocol server can be executed, for IPv4 or (IPv4+ is used only
IPv6) address carries out the computer of network booting, will be simultaneously emitted by the request for being transported to IPv4 or the address (IPv4+IPv6), such as
The fruit Dynamic Host Configuration Protocol server only supports IPv6 (not including IPv4) address, then the computer just can not obtain IPv4 by Dynamic Host Configuration Protocol server
IP address, and can not carry out by DHCP/TFTP server download operating system archives execute distal end boot action, in very great Cheng
The operation that remote opening is realized about the server end and computer for supporting simple (Pure) IPv6 addressing technique is limited on degree
Experience.
In view of this, a kind of support (Pure) IPV6 technology is invented it is really necessary to overcome disadvantages mentioned above, it is remote by TCP/IP
Journey accesses the method that Network File System realizes remote opening.
[summary of the invention]
Therefore, for above situation, the purpose of the present invention is to provide a kind of remote starting method, support that IPV6 technology is logical
Cross the method that TCP/IP remote access network file system realizes remote opening.
In order to achieve the above object, the present invention provides a kind of method of remote opening, opens remotely to control a computer
The method of machine, the remote opening includes:
The execution environment program code to be switched on of burning standard is in the computer;
The basic input output system of the computer is specified to guide the computer booting by network card;
The basic input output system is executed, and judges whether to a remote opening;
When determining that the computer executes the program of performing environment to be switched on when carrying out remote opening, network card is driven;
The network card sends the MAC Address of the computer and obtains the request of address to a server;
Start to execute the program boot loader (PXE) of the performing environment to be switched on of the computer;
The computer executes simple file transfer protocol code, and sends Dynamic Host Configuration Protocol to the server and ask
It asks, which, which sends, responds and distribute each MAC Address the corresponding address IPV6;
By server send the address IPv6 and and corresponding MAC Address setting be recorded in the performing environment to be switched on
Program in;
The computer continues to execute the program of the performing environment to be switched on, with store it is set record the address IPv6
And its corresponding MAC Address is in a computer storage, and records itself and computer Port used in the network card
Corresponding relationship, network boot and executed to be carried up and down in the server, the computer guided to drive an operating system into;
Particularly, the server is Dynamic Host Configuration Protocol server.
Particularly, the method that the network boot guides the computer to drive the operating system into includes that the network draws
Lead sequence downloads the network-driven of complete TCP/IP, and resets transport interface, so that network card should by transport protocol guidance
Computer drives the operating system into.
Particularly, the transport protocol is Network File System.
Particularly, this method further include: the computer carry Network File System allows the computer to access and reads and writes
The file stored in the server, the kernel including the operating system.
Compared to the prior art, the method for remote opening of the invention, the IPv6 technology for supporting address capability high pass through
TCP/IP remote access network file system realizes remote opening, solves the problems, such as network address resources quantity shortage, is promoted
User experience.
[Detailed description of the invention]
Fig. 1 is the flow chart of the method for remote opening of the present invention.
[specific embodiment]
The method of remote opening of the invention, the IPv6 technology for supporting address capability high pass through TCP/IP remote access network
File system realizes remote opening, solves the problems, such as network address resources quantity shortage, the user experience is improved.
Referring to Fig. 1, the flow chart of the method for remote opening of the present invention, as shown, this method comprises the following steps:
Step 11: the execution environment program to be switched on of burning standard (Preboot Execution Environment,
PXE) code is in the computer;
Step 12: the basic input output system (Basic Input Output System, BIOS) of the computer is specified
The computer booting is guided by network card;
Step 13: executing the basic input output system, it is long-range that one is judged whether in the basic input output system
Booting continues to determine whether to carry out remote opening if so, going to step 14 if it is not, then going to step 13;
Step 14: the computer executes the program of performing environment to be switched on, and drives network card;
Step 15: the network card sends the MAC Address of the computer and obtains the request of address to a server, the service
After device receives the request of the acquisition address, assign and note down the Dynamic Host Configuration Protocol that an address IPv6 corresponds to the MAC Address;
Step 16: starting to execute the program boot loader (PXE) of the performing environment to be switched on of the computer;
Step 17: the simple file transfer protocol of computer execution (Trivial File Transfer Protocol,
TFTP) code, and to the server send Dynamic Host Configuration Protocol request, the server send response and with distributing the MAC
The corresponding address IPv6 in location;
Step 18: by the address IPv6 that server is sent and the setting of corresponding MAC Address be recorded in this and be intended to the execution that is switched on
In the program of environment, such as: in the computer boot loader (PXE) config (with its applets grub.conf
Store address setting) in;
Step 19: the computer continues to execute the program (PXE) of the performing environment to be switched on, with store it is set record
The address IPv6 and its corresponding MAC Address in a computer storage, and record its with used in the network card
The corresponding relationship of computer PORT (Port), to carry network boot (Network up and down in the server
Bootstrap Programme, NBP) and execute, guide the computer to drive an operating system into;
Step 20: the computer should according to the address IPv6 and its computer Port of corresponding network card, carry
Network File System (Network File System, NFS) allows the computer to access and reads and writes to store in the server
File, the kernel (OS kernel) including the operating system.
In this present embodiment, the server is Dynamic Host Configuration Protocol server (DynamicHost
Configuration Protocol Server, DHCP Server).
In this present embodiment, network boot (Network Bootstrap Programme, the NBP) guidance should
The method that computer drives the operating system into includes that the network boot downloads the network-driven of complete TCP/IP, is laid equal stress on
Transport interface is set, so that network card guides the computer to drive the operation system by transport protocol (transfer protocols)
System.
In this present embodiment, the transport protocol is Network File System (Network File System, NFS).
A specific embodiment of the invention and embodiment are elaborated above in conjunction with attached drawing, but the present invention is not
It is limited to the above-described embodiment and examples, within the knowledge of those skilled in the art, this can also be not being departed from
It is made a variety of changes under the premise of inventive concept.
Claims (5)
1. a kind of method of remote opening, remotely to control a computer booting, the method for the remote opening includes:
The execution environment program code to be switched on of burning standard is in the computer;
The basic input output system of the computer is specified to guide the computer booting by network card;
The basic input output system is executed, which judges whether to a remote opening;
When determining progress remote opening, which executes the program of performing environment to be switched on, and drives a network card;
The network card, which sends the MAC Address of the computer and obtains the request of the address of the first format, only supports the second format to one
Address server;
Start to execute the program boot loader of the performing environment to be switched on of the computer;
The computer executes simple file transfer protocol code, and sends Dynamic Host Configuration Protocol request to the server, should
Server sends the address for responding and distributing corresponding the second format for being different from first format of each MAC Address, first lattice
Formula is IPv4, which is IPv6;
Server is sent to address and the corresponding MAC Address setting/note for not including second format of first format address
It records in the program of the performing environment to be switched on;
The computer continues to execute the program of the performing environment to be switched on, to store the ground of second format of set/record
Location and its corresponding MAC Address record it and connect with computer used in the network card in a computer storage
The corresponding relationship at port guides the computer to drive an operation system into carry network boot up and down in the server and execute
System.
2. the method for remote opening according to claim 1, which is characterized in that the server is dynamic host configuration association
Determine server.
3. the method for remote opening according to claim 1, which is characterized in that the network boot guides the calculating
The method that machine drives the operating system into includes that the network boot downloads the network-driven of complete TCP/IP, and resets biography
Defeated interface, so that network card guides the computer to drive the operating system by transport protocol.
4. the method for remote opening according to claim 3, which is characterized in that the transport protocol is network file system
System.
5. the method for remote opening according to claim 4, which is characterized in that this method further include: the computer carry
The Network File System allows the computer to access and reads and writes the file stored in the server, including in the operating system
Core.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510532128.7A CN106487524B (en) | 2015-08-27 | 2015-08-27 | The method of remote opening |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510532128.7A CN106487524B (en) | 2015-08-27 | 2015-08-27 | The method of remote opening |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106487524A CN106487524A (en) | 2017-03-08 |
CN106487524B true CN106487524B (en) | 2019-09-13 |
Family
ID=58233819
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510532128.7A Active CN106487524B (en) | 2015-08-27 | 2015-08-27 | The method of remote opening |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106487524B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107247596B (en) * | 2017-06-22 | 2021-11-16 | 联想(北京)有限公司 | Starting method and device and electronic equipment |
TWI757923B (en) * | 2020-10-21 | 2022-03-11 | 英業達股份有限公司 | Pre-boot execution environment determination system and method thereof |
CN114661367B (en) * | 2022-04-26 | 2023-08-04 | 苏州浪潮智能科技有限公司 | Method, device, equipment and medium for installing operating system in IPv6 environment |
CN115033299A (en) * | 2022-07-06 | 2022-09-09 | 福州创实讯联信息技术有限公司 | Method and terminal for starting production test system |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567198A (en) * | 2003-06-30 | 2005-01-19 | 联想(北京)有限公司 | Method for mirror backup of cluster platform cross parallel system |
CN102591679A (en) * | 2011-11-30 | 2012-07-18 | 中国科学院计算机网络信息中心 | Quick application software arrangement method for cluster system |
CN102664922A (en) * | 2012-03-30 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | High-speed network starting method based on Linux system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100397338C (en) * | 2005-01-10 | 2008-06-25 | 英业达股份有限公司 | Program installation system and method |
US7734818B2 (en) * | 2007-02-23 | 2010-06-08 | International Business Machines Corporation | Method to add IPV6 and DHCP support to the network support package |
US10205750B2 (en) * | 2013-03-13 | 2019-02-12 | Intel Corporation | Policy-based secure web boot |
-
2015
- 2015-08-27 CN CN201510532128.7A patent/CN106487524B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1567198A (en) * | 2003-06-30 | 2005-01-19 | 联想(北京)有限公司 | Method for mirror backup of cluster platform cross parallel system |
CN102591679A (en) * | 2011-11-30 | 2012-07-18 | 中国科学院计算机网络信息中心 | Quick application software arrangement method for cluster system |
CN102664922A (en) * | 2012-03-30 | 2012-09-12 | 浪潮电子信息产业股份有限公司 | High-speed network starting method based on Linux system |
Also Published As
Publication number | Publication date |
---|---|
CN106487524A (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111245898B (en) | Network equipment online method, device, server and storage medium | |
CN106487524B (en) | The method of remote opening | |
US7953793B2 (en) | Distributed preboot execution environment (PXE) server booting | |
US7886139B2 (en) | Method to enable firmware to boot a system from an ISCSI device | |
CN106911729B (en) | Remote installation method of operating system suitable for domestic processor | |
WO2016029792A1 (en) | Hardware device debugging method, device and system | |
CN107463388B (en) | UEFI diskless starting method | |
US20050149716A1 (en) | Preboot execution bootloading | |
US20040049670A1 (en) | Off-motherboard resources in a computer system | |
CN107391193A (en) | A kind of client, the system and method for configuration server | |
US6928538B2 (en) | Method and system for delayed booting of a target device in a network environment | |
CN110493028A (en) | A kind of clustered deploy(ment) method, system, device and computer readable storage medium | |
CN102468992A (en) | PXE function test system and method | |
US20120005321A1 (en) | Router and remote boot method using the router | |
CN101431523A (en) | Method and micro-system for updating target system configuration in computer | |
US20100205420A1 (en) | System and method for realizing remote test on computer apparatus without storage device | |
CN106549789A (en) | A kind of method and system for realizing that server is installed | |
CN102591671A (en) | Method for starting application program in virtual environment | |
CN109240754A (en) | A kind of logical device and method, system configuring BIOS startup item | |
JP2010147553A (en) | Information management device, and identification information collecting method and program | |
US20020073186A1 (en) | Method and system for generating a list of operating systems for a target device | |
CN107247596B (en) | Starting method and device and electronic equipment | |
CN103987064A (en) | Access point (AP) upgrading method and device | |
CN102929662A (en) | Network-based method for partitioning in batch | |
WO2018045926A1 (en) | Method and device for use in accessing container |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |