CN111679884A - Data deployment method and device - Google Patents

Data deployment method and device Download PDF

Info

Publication number
CN111679884A
CN111679884A CN202010421734.2A CN202010421734A CN111679884A CN 111679884 A CN111679884 A CN 111679884A CN 202010421734 A CN202010421734 A CN 202010421734A CN 111679884 A CN111679884 A CN 111679884A
Authority
CN
China
Prior art keywords
data
deployment
client
unit
hard disk
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.)
Pending
Application number
CN202010421734.2A
Other languages
Chinese (zh)
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.)
Guangdong Haiguangyun Technology Co ltd
Original Assignee
Guangdong Haiguangyun 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 Guangdong Haiguangyun Technology Co ltd filed Critical Guangdong Haiguangyun Technology Co ltd
Priority to CN202010421734.2A priority Critical patent/CN111679884A/en
Publication of CN111679884A publication Critical patent/CN111679884A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45562Creating, deleting, cloning virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/4557Distribution of virtual machine instances; Migration and load balancing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method and a device for data deployment, wherein the method comprises the following steps: A) starting a client; B) DHCP allocates IP address; C) TFTP transfers the underlying bootstrap; D) initializing a magnetic disk; E) judging whether the initialization is successful, if so, executing the step G); otherwise, executing step F); F) replacing the hard disk and returning to the step A); G) starting the diskless boot; H) entering a desktop system; I) starting a deployment agent; J) the client receives server mirror image data; K) data local deployment and P2P deployment. The method and the device for deploying the data have the following beneficial effects that: the method can effectively reduce network load, effectively reduce network and server pressure, support data restoration and effectively reduce the workload of operation and maintenance personnel.

Description

Data deployment method and device
Technical Field
The present invention relates to the field of data deployment, and in particular, to a method and an apparatus for data deployment.
Background
Diskless systems are a network transmission technology. The computer using the diskless system does not use the local hard disk to obtain the starting system, but obtains the mirror image of the starting system through the appointed server of the network, and downloads the mirror image back to the local computer for machine starting. Meanwhile, the data is not required to be read by using a traditional hard disk, but is read by a server in the local area network.
The network card of the diskless workstation is provided with a Boot ROM (Boot ROM), and when the workstation is started in a LAN mode, the Boot ROM sends a Boot request signal to the server. After receiving the start data, the server sends the start data to the workstation according to different mechanisms, and after the workstation finishes downloading the start data, the system control right is transferred to certain specific areas in the memory from the Boot ROM, and the operating system is guided. According to different starting mechanisms, currently, common diskless workstations can be divided into starting types such as RPL (remote procedure load), PXE (PCI extensions for instrumentation), virtual hard disks and the like, and at present, mainstream diskless systems at home and abroad are virtual hard disk modes based on PXE. However, the client cannot save the data in the virtual disk, which increases the network load. Each boot takes up a significant amount of server resources. The server needs to open up resources for each client to preserve the client usage cache.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and an apparatus for data deployment, which can effectively reduce network load, effectively reduce network and server pressures, support data recovery, and effectively reduce the workload of operation and maintenance personnel, in view of the above-mentioned defects in the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a method of constructing a data deployment comprising the steps of:
A) starting a client;
B) DHCP (Dynamic Host Configuration Protocol) allocates an IP address;
C) TFTP (Trivial File Transfer Protocol) transfers the bottom bootstrap;
D) initializing a magnetic disk;
E) judging whether the initialization is successful, if so, executing the step G); otherwise, executing step F);
F) replacing the hard disk and returning to the step A);
G) starting the diskless boot;
H) entering a desktop system;
I) starting a deployment agent;
J) the client receives server mirror image data;
K) data local deployment and P2P deployment.
In the data deployment method, the data local deployment specifically comprises the steps of mirroring a client stored in a server, deploying the mirrored client to a hard disk of the client through a network, and storing the mirrored client to provide offline use.
In the data deployment method of the present invention, the P2P is deployed to implement data mutual transmission of clients through a P2P technology.
The invention also relates to a device for realizing the data deployment method, which comprises the following steps:
a client startup unit: the method is used for starting the client;
an IP address allocation unit: for DHCP to assign IP address;
bottom layer bootstrap transfer unit: for TFTP transfer of the underlying bootstrap;
an initialization unit: for initializing the disk;
an initialization judgment unit: used for judging whether the initialization is successful;
hard disk replacement unit: used for replacing the hard disk;
a diskless boot unit: for initiating a diskless boot;
a desktop system entry unit: for accessing a desktop system;
a deployment agent startup unit: for launching a deployment agent;
a mirror data receiving unit: the client receives server mirror image data;
a data deployment unit: for data local deployment and P2P deployment.
In the device of the present invention, the local data deployment specifically includes mirroring a client stored in a server, and deploying the mirrored client to a hard disk of the client through a network for storage, so as to provide offline use.
In the device of the present invention, the P2P is deployed to implement data mutual transmission of clients by using P2P technology.
The method and the device for deploying the data have the following beneficial effects that: because the desktop system innovatively develops a technology for solidifying data into the local hard disk under a diskless mechanism, when a computer is guided from a network, the local hard disk is formatted according to a mirror image format, and system data is deployed to the local hard disk after entering the system, so that the network load is effectively reduced; local machine resources are utilized in a hundred percent, and network and server pressure is effectively reduced; the system is successfully deployed and stored in the local hard disk, data restoration is supported, and the workload of operation and maintenance personnel is effectively reduced; therefore, the invention can effectively reduce the network load, effectively reduce the pressure of the network and the server, support data recovery and effectively reduce the workload of operation and maintenance personnel.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart of a method in one embodiment of the method and apparatus for data deployment of the present invention;
FIG. 2 is a block flow diagram of a method of data deployment in the described embodiment;
fig. 3 is a schematic structural diagram of the device in the embodiment.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the embodiments of the method and apparatus for data deployment of the present invention, a flowchart of the method for data deployment is shown in fig. 1. Fig. 2 is a flowchart of a method for data deployment in this embodiment. As shown in fig. 1, the data deployment method includes the following steps:
step S01 is the client boots: in this step, the client is powered on.
Step S02 DHCP assigns an IP address: in this step, DHCP assigns an IP address.
Step S03 TFTP transfers the underlying bootstrap: in this step, TFTP transfers the bottom layer bootstrap.
Step S04 initializes the disk: in this step, the disk is initialized.
Step S05 determines whether initialization is successful: in this step, it is determined whether the initialization of the disk is successful, and if the determination result is yes, step S07 is executed; otherwise, step S06 is executed.
Step S06 replacement hard disk: if the judgment result of the above step S05 is no, the present step is executed. In this step, the hard disk is replaced, and the process returns to step S01 after the completion of this step.
Step S07 starts diskless boot: if the judgment result of the above step S05 is yes, the present step is executed. In this step, diskless boot is started.
Step S08 enters the desktop system: in this step, enter the desktop system (i.e. the sea light Desk system).
Step S09 starts the deployment agent: in this step, the deployment agent is started.
Step S10 the client receives the server image data: in this step, the client receives server image data.
Step S11 data local deployment and P2P deployment: in this step, data local deployment and P2P deployment are performed. The data local deployment specifically comprises mirroring a client stored in a server, deploying the mirrored client to a hard disk of the client through a network, and storing the mirrored client to provide offline use. The P2P is deployed to realize data mutual transmission of the clients through the P2P technology, so that the client group is assisted to improve the deployment transmission efficiency and reduce the server burden. And the local restoration technology is adopted to clear other data generated by using the local disk, so that the internal data of the system is kept consistent with the state after the data is issued, and the system is free from maintenance.
In the data deployment method, a desktop system innovatively develops a technology for solidifying data into a local hard disk under a diskless mechanism, when a computer is guided from a network, the local hard disk is formatted according to a mirror image format, and system data are deployed to the local hard disk after entering the system, so that the network load is effectively reduced; the local machine resources are utilized in a hundred percent, and the pressure of the network and the server is effectively reduced. The system is successfully deployed and stored in the local hard disk, data restoration is supported, and the workload of operation and maintenance personnel is effectively reduced.
The embodiment also relates to a device for implementing the data deployment method, and a schematic structural diagram of the device is shown in fig. 3. In fig. 3, the apparatus includes a client boot unit 1, an IP address allocation unit 2, a bottom layer bootstrap program transmission unit 3, an initialization unit 4, an initialization judgment unit 5, a hard disk replacement unit 6, a diskless boot unit 7, a desktop system entry unit 8, a deployment agent start unit 9, a mirror image data receiving unit 10, and a data deployment unit 11; the client starting unit 1 is used for starting a client; the IP address allocation unit 2 is used for allocating IP addresses by DHCP; the bottom layer bootstrap program transmission unit 3 is used for TFTP transmitting the bottom layer bootstrap program; the initialization unit 4 is used for initializing a disk; the initialization judging unit 5 is used for judging whether initialization is successful; the hard disk replacement unit 6 is used to replace a hard disk; the diskless boot unit 7 is used to start diskless boot; the desktop system entering unit 8 is used for entering a desktop system, namely a sea light Desk system); the deployment agent starting unit 9 is used for starting a deployment agent; the mirror image data receiving unit 10 is used for the client to receive the server mirror image data; the data deployment unit 11 is used for data local deployment and P2P deployment. The data local deployment specifically comprises the steps of mirroring a client stored in a server, deploying the mirrored client to a hard disk of the client through a network, and storing the mirrored client to provide offline use. The P2P is deployed to realize data mutual transmission of the clients through the P2P technology, so that the client group is assisted to improve the deployment transmission efficiency and reduce the server burden. And the local restoration technology is adopted to clear other data generated by using the local disk, so that the internal data of the system is kept consistent with the state after the data is issued, and the system is free from maintenance.
In the device, a desktop system innovatively develops a technology for solidifying data into a local hard disk under a diskless mechanism, when a computer is guided from a network, the local hard disk is formatted according to a mirror image format, and system data is deployed to the local hard disk after entering the system, so that the network load is effectively reduced; the local machine resources are utilized in a hundred percent, and the pressure of the network and the server is effectively reduced. The system is successfully deployed and stored in the local hard disk, data restoration is supported, and the workload of operation and maintenance personnel is effectively reduced.
In short, when data is deployed locally, the client stored in the server is mirrored and deployed to the hard disk of the client through the network for storage, so that offline use is provided. When P2P deployment is carried out, data mutual transmission of the clients is realized through a P2P technology, the client group is assisted to improve deployment transmission efficiency, and server burden is reduced. And the local restoration technology is adopted to clear other data generated by using the local disk, so that the internal data of the system is kept consistent with the state after the data is issued, and the system is free from maintenance.
In addition, as the desktop system innovatively develops a technology for solidifying data into the local hard disk under a diskless mechanism, when a computer is guided from a network, the local hard disk is formatted according to a mirror image format, and system data is deployed to the local hard disk after entering the system, so that the network load is effectively reduced; local machine resources are utilized in a hundred percent, and network and server pressure is effectively reduced; the system is successfully deployed and stored in the local hard disk, data restoration is supported, and the workload of operation and maintenance personnel is effectively reduced; therefore, the invention can effectively reduce the network load, effectively reduce the pressure of the network and the server, support data recovery and effectively reduce the workload of operation and maintenance personnel.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (6)

1. A method for data deployment, comprising the steps of:
A) starting a client;
B) DHCP allocates IP address;
C) TFTP transfers the underlying bootstrap;
D) initializing a magnetic disk;
E) judging whether the initialization is successful, if so, executing the step G); otherwise, executing step F);
F) replacing the hard disk and returning to the step A);
G) starting the diskless boot;
H) entering a desktop system;
I) starting a deployment agent;
J) the client receives server mirror image data;
K) data local deployment and P2P deployment.
2. The method according to claim 1, wherein the data local deployment is to mirror a client stored in a server, deploy the mirror to a hard disk of the client through a network, and provide offline use.
3. The method of data deployment according to claim 2, wherein the P2P is deployed to enable data mutual transmission of clients through P2P technology.
4. An apparatus implementing the method of data deployment of claim 1, comprising:
a client startup unit: the method is used for starting the client;
an IP address allocation unit: for DHCP to assign IP address;
bottom layer bootstrap transfer unit: for TFTP transfer of the underlying bootstrap;
an initialization unit: for initializing the disk;
an initialization judgment unit: used for judging whether the initialization is successful;
hard disk replacement unit: used for replacing the hard disk;
a diskless boot unit: for initiating a diskless boot;
a desktop system entry unit: for accessing a desktop system;
a deployment agent startup unit: for launching a deployment agent;
a mirror data receiving unit: the client receives server mirror image data;
a data deployment unit: for data local deployment and P2P deployment.
5. The apparatus according to claim 4, wherein the data local deployment is specifically to mirror a client stored in a server, deploy the mirror to a hard disk of the client through a network, and store the mirror to provide offline use.
6. The apparatus of claim 5, wherein the P2P is deployed to enable data interchange for clients through P2P technology.
CN202010421734.2A 2020-05-18 2020-05-18 Data deployment method and device Pending CN111679884A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010421734.2A CN111679884A (en) 2020-05-18 2020-05-18 Data deployment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010421734.2A CN111679884A (en) 2020-05-18 2020-05-18 Data deployment method and device

Publications (1)

Publication Number Publication Date
CN111679884A true CN111679884A (en) 2020-09-18

Family

ID=72451931

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010421734.2A Pending CN111679884A (en) 2020-05-18 2020-05-18 Data deployment method and device

Country Status (1)

Country Link
CN (1) CN111679884A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040407A (en) * 2017-03-15 2017-08-11 成都中讯创新科技股份有限公司 A kind of HPCC dynamic node operational method
CN107483243A (en) * 2017-08-09 2017-12-15 鹤云来科技有限公司 A kind of automatic deployment method and equipment of OpenStack platforms
CN107665157A (en) * 2017-09-21 2018-02-06 成都领沃网络技术有限公司 It is a kind of to improve the method without the experience of disk speed
CN107707656A (en) * 2017-10-10 2018-02-16 李梓彤 The remote loading method and system of operating system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040407A (en) * 2017-03-15 2017-08-11 成都中讯创新科技股份有限公司 A kind of HPCC dynamic node operational method
CN107483243A (en) * 2017-08-09 2017-12-15 鹤云来科技有限公司 A kind of automatic deployment method and equipment of OpenStack platforms
CN107665157A (en) * 2017-09-21 2018-02-06 成都领沃网络技术有限公司 It is a kind of to improve the method without the experience of disk speed
CN107707656A (en) * 2017-10-10 2018-02-16 李梓彤 The remote loading method and system of operating system

Similar Documents

Publication Publication Date Title
US11237811B2 (en) Software installation onto a client using existing resources
US20030126242A1 (en) Network boot system and method using remotely-stored, client-specific boot images created from shared, base snapshot image
US6810478B1 (en) System for remote booting of muntliple operating systems using chained bootstrap mechanism in a network
US8554936B2 (en) Redistribution of operating environments for the redeployment of grid clients
CN109558212B (en) Virtualization management method and system of physical equipment, physical equipment and medium
CN104219099A (en) Automatic server cluster deploying method and device
US7499988B2 (en) Method for SAN-based BOS install volume group
CN101344852A (en) Method, device and system for allocating WINDOWS enterprise edition operating system
US10341180B2 (en) Disk distribution system
JP2009122963A (en) Deployment method and system
EP2449751B1 (en) Method of starting up a computing device in a network, server and network of computing devices for the implementation thereof
TW200525948A (en) Apparatus and method for managing and transporting virtual disks over a network to networked stations
CN112130917A (en) Remote loading system mirroring method
CN111857956A (en) Virtual machine starting method and equipment
US20170068529A1 (en) Capturing and Deploying an Operation System in a Computer Environment
US8819200B2 (en) Automated cluster node configuration
CN113268256A (en) Batch installation method and device, server and computer storage medium
CN111459619A (en) Method and device for realizing service based on cloud platform
CN109600439B (en) PaaS platform and deployment method thereof based on microservice
JP2009237767A (en) Information succession method and saving/restoration device and information succession program
CN114995888A (en) Intelligent network card deployment method, device and medium
CN107807789A (en) Configure RAID method, apparatus and server
CN114443073A (en) Device and method for rapidly deploying bare metal server
CN111679884A (en) Data deployment method and device
CN114205333B (en) IP configuration method, cluster construction method, computer device and storage medium

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
CB02 Change of applicant information

Address after: Room 1309, 13th floor, Weili Business Building, No. 4, Lingshan East Road, Tianhe District, Guangzhou City, Guangdong Province, 510000 (office only)

Applicant after: Guangdong haiguangyun Technology Co.,Ltd.

Address before: Room D2-201, Floor 2, Building 28, No. 61, Dalingshan Road, Tianhe District, Guangzhou, Guangdong Province, 510000 (office only)

Applicant before: Guangdong haiguangyun Technology Co.,Ltd.

CB02 Change of applicant information