CN111679883A - Method and device for preferentially deploying data - Google Patents

Method and device for preferentially deploying data Download PDF

Info

Publication number
CN111679883A
CN111679883A CN202010421023.5A CN202010421023A CN111679883A CN 111679883 A CN111679883 A CN 111679883A CN 202010421023 A CN202010421023 A CN 202010421023A CN 111679883 A CN111679883 A CN 111679883A
Authority
CN
China
Prior art keywords
deployment
data
unit
operating system
software
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.)
Granted
Application number
CN202010421023.5A
Other languages
Chinese (zh)
Other versions
CN111679883B (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.)
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 CN202010421023.5A priority Critical patent/CN111679883B/en
Publication of CN111679883A publication Critical patent/CN111679883A/en
Application granted granted Critical
Publication of CN111679883B publication Critical patent/CN111679883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • 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/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • 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 preferentially deploying data, wherein the method comprises the following steps: starting a client; DHCP allocates IP address; TFTP transfers the underlying bootstrap; initializing a magnetic disk; judging whether the initialization is successful, if so, starting a bootstrap program; otherwise, replacing the hard disk and returning; preloading operating system data; starting the diskless boot; entering an operating system; starting a deployment agent; receiving server mirror image data; judging whether to open the software in the operating system, if so, the deployment agent preferentially reads the software data resources under the diskless system; otherwise, performing P2P deployment; after the software data resources are read, resources are continuously deployed; the deployment is complete. The invention improves the running speed of corresponding software, reduces the bandwidth occupation, reduces the network load, has little influence on other user network resources, reduces the server load, reduces the influence on the whole deployment environment and improves the deployment efficiency of the whole computer room.

Description

Method and device for preferentially deploying data
Technical Field
The present invention relates to the field of data deployment, and in particular, to a method and an apparatus for preferentially deploying data.
Background
The most advantage of the system management network for diskless boot and VHD offline boot is that the computer systems and data in the local area network can be managed uniformly, all data including operating systems exist on the server, the client operating systems and software do not need to be deployed to the client, and the deployment and management cost is greatly saved for the local area network with a large amount of same hardware and software. The client can see the system and the software of the latest version after being started without a disk each time, and the system and the software are restored to the starting state after being shut down, so that the disaster tolerance and the safety of the whole network environment are greatly improved. Through the native support of the Windows product on the iSCSI and VHD protocols, the operating system can be started without a disk and started with a VHD offline, other data disks (such as game disks) in the system can be provided and virtualized to a client through the product, and the client sees a real disk, so that the compatibility of the system and software is greatly guaranteed. Because the file is a virtual disk, all files seen by the client can be transmitted only when being actually read, and the network load of the local area network and the disk load of the server are greatly saved. However, in this mode, if the program runs, the complete data packet needs to be downloaded locally, which may cause a large network load, and if the network bandwidth is small, the entire network speed is greatly affected, and the program running speed is slow.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method and an apparatus for data priority deployment, which improve the operating speed of corresponding software, reduce bandwidth occupation, reduce network load, have little influence on other user network resources, reduce server load, reduce influence on the whole deployment environment, and improve the deployment efficiency of the whole machine room, 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 for constructing data priority deployment is constructed, and comprises the following steps:
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 a bootstrap program;
H) preloading operating system data;
I) starting the diskless boot;
J) entering an operating system;
K) starting a deployment agent;
l) receiving server mirror image data;
m) judging whether to open the software in the operating system, if so, executing the step N); otherwise, executing step P);
n) the deployment agent preferentially reads software data resources under the diskless system;
o) after the software data resource is read, continuing to deploy the resource;
p) performing P2P deployment;
q) deployment is complete.
In the method for preferentially deploying data, the operating system is a Desk system.
In the method for preferentially deploying data, the operating system is arranged in the client.
The invention also relates to a device for realizing the method for preferentially deploying the data, which comprises the following steps:
a starting 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;
a disk 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 bootstrap startup unit: for starting a boot program;
a data preloading unit: for preloading operating system data;
a diskless boot startup unit: for initiating a diskless boot;
an operating system entry unit: entering an operating system;
a deployment agent startup unit: for launching a deployment agent;
a mirror data receiving unit: for receiving server image data;
a software opening unit: for determining whether to open software within the operating system;
a data resource priority reading unit: the deployment agent is used for preferentially reading software data resources under the diskless system;
a resource deployment unit: after the software data resource is read, continuing to deploy the resource;
P2P deployment unit: for P2P deployment;
a deployment completion unit: for deployment completion.
In the device of the present invention, the operating system is a Desk system.
In the apparatus of the present invention, the operating system is provided in the client.
The method and the device for preferentially deploying the data have the following beneficial effects that: due to the fact that a data priority deployment technology is adopted under the diskless system deployment technology, when the system is deployed, if other software is started at a client side, a deployment agent can read data of the corresponding software preferentially, and the running speed of the corresponding software is improved; due to the adoption of the intelligent data deployment technology, the software is operated during deployment, only data related to software operation is deployed, the bandwidth occupation is reduced, the network load is reduced, the influence on other user network resources is small, and the intelligent deployment technology cannot issue all data, so that the server load is also reduced, the influence on the whole deployment environment is small, and the deployment efficiency of the whole machine room is improved; therefore, the invention improves the running speed of corresponding software, reduces the bandwidth occupation, reduces the network load, has little influence on other user network resources, reduces the server load, reduces the influence on the whole deployment environment and improves the deployment efficiency of the whole computer room.
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 an embodiment of the method and apparatus for data prioritization in accordance with the present invention;
fig. 2 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 embodiment of the method and the device for preferentially deploying data, a flow chart of the method for preferentially deploying data is shown in fig. 1. In fig. 1, the method for preferentially deploying data 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 the boot program: if the judgment result of the above step S05 is yes, the present step is executed. In this step, the boot program is started.
Step S08 preloads operating system data: in this step, operating system data is preloaded.
Step S09 starts diskless boot: in this step, diskless boot is started.
Step S10 enters the operating system: in this step, the operating system is entered.
Step S11 starts the deployment agent: in this step, the deployment agent is started.
Step S12 receives server image data: in this step, the client receives server image data.
Step S13 judges whether or not to open software in the operating system: in this step, it is determined whether or not to open the software in the operating system, and if the determination result is yes, step S14 is executed; otherwise, step S16 is executed. It is worth mentioning that the operating system is set in the client, and the operating system is a Desk system.
Step S14 is that the deployment agent preferentially reads the software data resource in the diskless system: if the judgment result of the above step S13 is yes, the present step is executed. In this step, the deployment agent preferentially reads the software data resources in the diskless system.
Step S15, after the software data resource is read, continuing to deploy the resource: in this step, after the software data resource is read, the resource is continuously deployed. After the present step is executed, step S16 is executed.
Step S16 performs P2P deployment: in this step, P2P deployment is performed.
Step S17 deployment is complete: in this step, deployment is completed.
In the method for preferentially deploying the data, the intelligent data deploying technology is developed by the sea light Desk system aiming at the problems in the traditional technology, so that the data of the software is deployed intelligently without being deployed completely, and the software is operated more smoothly and rapidly when the system is deployed. The intelligent data deployment specifically refers to that when a deployment agent detects that a client has software opening operation, the deployment agent preferentially deploys required data of running software instead of all data, so that the running speed of the software is increased, and network bandwidth and server resources are saved. The sea light Desk system adopts a data priority deployment technology under the technology of diskless system deployment, and when the system is deployed, if other software is started at a client, a deployment agent can preferentially read data of the corresponding software, so that the running speed of the corresponding software is improved. Due to the adoption of the intelligent data deployment technology, the software is operated during deployment, only data related to software operation is deployed, the bandwidth occupation is reduced, the network load is reduced, the influence on other user network resources is small, in addition, because the intelligent deployment technology can not issue all data, the server load is also reduced, the influence on the whole deployment environment is small, and the deployment efficiency of the whole machine room is improved.
The embodiment also relates to a device for implementing the method for preferentially deploying data, and a schematic structural diagram of the device is shown in fig. 2. In fig. 2, the apparatus includes a boot unit 1, an IP address assignment unit 2, an underlying boot program transmission unit 3, a disk initialization unit 4, an initialization judgment unit 5, a hard disk replacement unit 6, a boot program start unit 7, a data preloading unit 8, a diskless boot start unit 9, an operating system entry unit 10, a deployment agent start unit 11, a mirrored data reception unit 12, a software opening unit 13, a data resource priority reading unit 14, a resource deployment unit 15, a P2P deployment unit 16, and a deployment completion unit 17.
The 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 disk 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 bootstrap program starting unit 7 is used for starting a bootstrap program; the data preloading unit 8 is used for preloading operating system data; the diskless boot starting unit 9 is used for starting diskless boot; the operating system entry unit 10 enters the operating system; the deployment agent starting unit 11 is used for starting a deployment agent; the mirror image data receiving unit 12 is configured to receive server mirror image data; the software opening unit 13 is used for judging whether to open the software in the operating system; it is worth mentioning that the operating system is set in the client, and the operating system is a Desk system. The data resource priority reading unit 14 is configured to deploy an agent to preferentially read software data resources in the diskless system; the resource deployment unit 15 is used for continuing to deploy the resources after the software data resources are read; the P2P deployment unit 16 is used to perform P2P deployments; the deployment completion unit 17 is used for deployment completion.
In the device, the sea light Desk system develops a data intelligent deployment technology aiming at the problems in the traditional technology, and the data of the software is intelligently deployed without being completely deployed, so that the software is operated more smoothly and quickly when the system is deployed. The intelligent data deployment specifically refers to that when a deployment agent detects that a client has software opening operation, the deployment agent preferentially deploys required data of running software instead of all data, so that the running speed of the software is increased, and network bandwidth and server resources are saved. The sea light Desk system adopts a data priority deployment technology under the technology of diskless system deployment, and when the system is deployed, if other software is started at a client, a deployment agent can preferentially read data of the corresponding software, so that the running speed of the corresponding software is improved. Due to the adoption of the intelligent data deployment technology, the software is operated during deployment, only data related to software operation is deployed, the bandwidth occupation is reduced, the network load is reduced, the influence on other user network resources is small, in addition, because the intelligent deployment technology can not issue all data, the server load is also reduced, the influence on the whole deployment environment is small, and the deployment efficiency of the whole machine room is improved.
In a word, the invention adopts the intelligent data deployment technology and the intelligent on-demand deployment technology, improves the acquisition speed of the client on the required resources, improves the use experience of the client during deployment, can run software without waiting for all data to be issued during deployment on demand, saves network bandwidth, and ensures that the resource overhead of the server is not too large in a short time.
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 preferential deployment of data is characterized by comprising 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 a bootstrap program;
H) preloading operating system data;
I) starting the diskless boot;
J) entering an operating system;
K) starting a deployment agent;
l) receiving server mirror image data;
m) judging whether to open the software in the operating system, if so, executing the step N); otherwise, executing step P);
n) the deployment agent preferentially reads software data resources under the diskless system;
o) after the software data resource is read, continuing to deploy the resource;
p) performing P2P deployment;
q) deployment is complete.
2. The method for data-first deployment according to claim 1, wherein the operating system is a Desk system.
3. The method of claim 2, wherein the operating system is located in the client.
4. An apparatus for implementing the method of claim 1, comprising:
a starting 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;
a disk 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 bootstrap startup unit: for starting a boot program;
a data preloading unit: for preloading operating system data;
a diskless boot startup unit: for initiating a diskless boot;
an operating system entry unit: entering an operating system;
a deployment agent startup unit: for launching a deployment agent;
a mirror data receiving unit: for receiving server image data;
a software opening unit: for determining whether to open software within the operating system;
a data resource priority reading unit: the deployment agent is used for preferentially reading software data resources under the diskless system;
a resource deployment unit: after the software data resource is read, continuing to deploy the resource;
P2P deployment unit: for P2P deployment;
a deployment completion unit: for deployment completion.
5. The apparatus of claim 4, wherein the operating system is a Desk system.
6. The apparatus of claim 5, wherein the operating system is disposed in the client.
CN202010421023.5A 2020-05-18 2020-05-18 Method and device for preferentially deploying data Active CN111679883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010421023.5A CN111679883B (en) 2020-05-18 2020-05-18 Method and device for preferentially deploying data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010421023.5A CN111679883B (en) 2020-05-18 2020-05-18 Method and device for preferentially deploying data

Publications (2)

Publication Number Publication Date
CN111679883A true CN111679883A (en) 2020-09-18
CN111679883B CN111679883B (en) 2023-03-28

Family

ID=72451901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010421023.5A Active CN111679883B (en) 2020-05-18 2020-05-18 Method and device for preferentially deploying data

Country Status (1)

Country Link
CN (1) CN111679883B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020154605A1 (en) * 2001-04-24 2002-10-24 Medius, Inc. Method and apparatus for dynamic configuration of multiprocessor system
CN101232400A (en) * 2008-02-25 2008-07-30 浪潮电子信息产业股份有限公司 Method for allocating operating system through network guide
CN104598249A (en) * 2015-02-05 2015-05-06 浙江天正信息科技有限公司 Multi-tenant perception software personalized customization and deployment method
CN105007290A (en) * 2015-05-21 2015-10-28 上海新浩艺软件有限公司 Linux system remote installation configuration management method aiming at disk-free server
CN106550049A (en) * 2016-12-02 2017-03-29 清华大学深圳研究生院 A kind of Middleware portion arranging method, apparatus and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020154605A1 (en) * 2001-04-24 2002-10-24 Medius, Inc. Method and apparatus for dynamic configuration of multiprocessor system
CN101232400A (en) * 2008-02-25 2008-07-30 浪潮电子信息产业股份有限公司 Method for allocating operating system through network guide
CN104598249A (en) * 2015-02-05 2015-05-06 浙江天正信息科技有限公司 Multi-tenant perception software personalized customization and deployment method
CN105007290A (en) * 2015-05-21 2015-10-28 上海新浩艺软件有限公司 Linux system remote installation configuration management method aiming at disk-free server
CN106550049A (en) * 2016-12-02 2017-03-29 清华大学深圳研究生院 A kind of Middleware portion arranging method, apparatus and system

Also Published As

Publication number Publication date
CN111679883B (en) 2023-03-28

Similar Documents

Publication Publication Date Title
US10402183B2 (en) Method and system for network-less guest OS and software provisioning
US9497295B2 (en) Redistribution of operating environments for the redeployment of grid clients
US8245022B2 (en) Method and system to support ISCSI boot through management controllers
US10917291B2 (en) RAID configuration
US9286046B2 (en) Method and apparatus for distributed operating system image deployment
CN104219099A (en) Automatic server cluster deploying method and device
CN108089913B (en) Virtual machine deployment method of super-fusion system
EP2449751B1 (en) Method of starting up a computing device in a network, server and network of computing devices for the implementation thereof
CN101166116A (en) System and method for operating system installation on a diskless computing platform
US10506012B2 (en) Adding and removing virtual disks remotely to a streaming machine
CN111857956A (en) Virtual machine starting method and equipment
CN114443073A (en) Device and method for rapidly deploying bare metal server
CN111679883B (en) Method and device for preferentially deploying data
CN112948008A (en) Ironic based physical bare computer management method
CN109656679B (en) Storage access method and device of virtual machine
CN108881504A (en) A kind of hardware information automatic acquiring method and device
US20070083653A1 (en) System and method for deploying information handling system images through fibre channel
CN111459619A (en) Method and device for realizing service based on cloud platform
KR100439175B1 (en) Method for automatically installing operating system in linux-based cluster system at remote place
CN111078135B (en) Enhanced data storage for virtual nodes in a data processing environment
CN114995888A (en) Intelligent network card deployment method, device and medium
CN111679884A (en) Data deployment method and device
JP5073171B2 (en) Network boot system, client terminal activation method, and management server
CN114265628B (en) Operating system deployment method, device, electronic equipment, storage medium and system
CN112631666B (en) Diskless starting method for booting hard disk starting adapter card

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
GR01 Patent grant
GR01 Patent grant