CN107222355A - A kind of server updating method and device - Google Patents

A kind of server updating method and device Download PDF

Info

Publication number
CN107222355A
CN107222355A CN201710629692.XA CN201710629692A CN107222355A CN 107222355 A CN107222355 A CN 107222355A CN 201710629692 A CN201710629692 A CN 201710629692A CN 107222355 A CN107222355 A CN 107222355A
Authority
CN
China
Prior art keywords
server
information
configuration information
component
module
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
CN201710629692.XA
Other languages
Chinese (zh)
Other versions
CN107222355B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710629692.XA priority Critical patent/CN107222355B/en
Publication of CN107222355A publication Critical patent/CN107222355A/en
Application granted granted Critical
Publication of CN107222355B publication Critical patent/CN107222355B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention provides a kind of server updating method and device, and the above method comprises the following steps:Obtain server basis configuration information and be compared with server updating configuration information;If the server basis configuration information is consistent with the server updating configuration information, server component asset creation and/or component parameter are carried out with postponing, operating said assembly.In above-mentioned technical proposal, by the way that server basis configuration information is compared with server updating configuration information, and carry out server component asset creation and/or component parameter configuration and run, realize server automated upgrading, avoid resetting server, reservation server data and service operation state, have been really achieved the effect of unaware upgrading simultaneously.

Description

A kind of server updating method and device
Technical field
The present invention relates to server admin field, more particularly to a kind of server updating method and device.
Background technology
The enthusiasm for being currently under cloud in cloud computing burning hot epoch, business unit is also surging therewith, wherein being just no lack of Originally primary KVM (Kernel-based Virtual Machine, the system virtualization module increased income) and void are used The simple cloud platform that planization management tool etc. is built, its loaded down with trivial details and non-intuitive virtual machine, network, storage and main frame money The management in source, improves the introduction difficulty of guardian, reduces the efficiency that enterprise safeguards cloud platform computing resource.
Enterprise wants to that currently in the poor cloud platform system of the management type used, virtual platform system will be upgraded to The problem of to manage, but bring therewith is:
Substantial amounts of virtual machine and server resource need to back up transmission, and installation and deployment virtualization system again, bring Human and material resources and time cost it is too high, process is cumbersome, may result in business for a long time interruption.
The content of the invention
The present invention provides a kind of server updating method and device, to solve the above problems.
The embodiment of the present invention provides a kind of server updating method, comprises the following steps:Obtain server basis and match somebody with somebody confidence Cease and be compared with server updating configuration information;
If the server basis configuration information is consistent with the server updating configuration information, server component is carried out Asset creation and/or component parameter, which are matched somebody with somebody, to be postponed, operating said assembly.
The embodiment of the present invention provides a kind of server updating device, including processor, is adapted for carrying out each instruction;Storage is set Standby, suitable for storing a plurality of instruction, the instruction is suitable to be loaded and performed by the processor;
Obtain server basis configuration information and be compared with server updating configuration information;
If the server basis configuration information is consistent with the server updating configuration information, server component is carried out Asset creation and/or component parameter, which are matched somebody with somebody, to be postponed, operating said assembly.
Technical scheme provided in an embodiment of the present invention:Obtain server basis configuration information and set with server updating and believed Breath is compared;If the server basis configuration information is consistent with the server updating configuration information, server is carried out Component resources establishment and/or component parameter, which are matched somebody with somebody, to be postponed, operating said assembly.
In above-mentioned technical proposal, by the way that server basis configuration information is compared with server updating configuration information, And carry out server component asset creation and/or component parameter configuration and run, realize server automated upgrading, it is to avoid weight Server is filled, while reservation server data and service operation state, have been really achieved the effect of unaware upgrading.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this hair Bright schematic description and description is used to explain the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 show the server updating method flow diagram of the embodiment of the present invention 1;
Fig. 2 show the server updating structure drawing of device of the embodiment of the present invention 2.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.It should be noted that not conflicting In the case of, the feature in embodiment and embodiment in the application can be mutually combined.
The core technology point of the embodiment of the present invention is:Using server script language development, by detection service device with The kernel difference of virtual platform system server, it is already present on promotion condition, and scanning server to determine whether to meet Component needed for component and upgrading, is installed according to dependence, is upgraded, and is implanted into virtual platform system management module;Pass through Component resources specified in server profile (need to predefine) are created and parameter configuration, and server is arranged to complete void Planization plateform system server.While upgrading, adaption function is scanned by the virtual machine of platform intergration, by server local The virtual machine configuration of presence and fixed disk file information extraction to management platform, extract profile information, and configuration is suitable It is assigned in virtual platform system database, completes the synchronous working of data, be finally reached virtual platform system seamless pipe Primary KVM virtualization server.
Use the upgrading side that virtual platform system server is converted to suitable for the common virtual server based on KVM Formula, can the primary KVM virtualization server of slitless connection, upgraded to virtual platform system server, eliminated simultaneously Redeploy the huge data transfer brought and the drawbacks of long-term business is interrupted.
Specifically:
First, the detection to system level informations such as system kernels is encapsulated using server script language respectively, to determine to work as Whether preceding server meets upgrade requirement;Encapsulation is to the Scanning Detction of mounting assembly in system, with virtual platform system group Part carries out differentiation contrast, includes the difference of component minor release/point release, and record;Package assembling disposes logic, according to component detection The difference results of generation, extract the component mounting program in AKU, and system component is carried out into version upgrading or installment work;Envelope Server configuration module logic is filled, by the server profile predefined, import system, and by defined in configuration file Infrastructure component resource, component detail parameters configuration etc. information, complete to the setting up procedure after deployment of components;Pass through virtualization again Plateform system adds the main frame, while by integrated virtual machine scanner uni adaptation module, to virtual platform system after upgrading Server is scanned, and extracts virtual machine configuration and its corresponding hard disc data file, by analyzing and processing, will be configured Adaptation is to virtual platform system ambient parameter, while being stored in database, completes the synchronous working to virtual-machine data.
Illustrate in detail below:
Server updating system mainly includes following module:Computing environment detection module;Component detection module;Deployment Module;Server configuration module;Virtual-machine data is scanned and adaptation module.
Comprise the following steps that:
(1) upgrade installation package is transmitted on server to be upgraded, performs upgrading detection program, detect the system informations such as kernel Whether server updating configuration information is met;
(2) if meeting, component detection module program is started, for component progress pair needed for mounting assembly, with upgrading Than screening, difference is recorded;
(3) according to contrast difference's result of generation, the operation such as upgraded to system inner assembly, installed completes upgrading institute The component needed is relied on;
(4) after component installation, using the configuration file reserved in AKU, normal virtual platform system is serviced Component resources required for device, such as virtual switch resource is created, and configures the parameter configuration of other assemblies simultaneously, complete Cheng Hou, restarts all component, makes configuration take-effective.
(5) after the installation for completing component, server can be normally added to virtual platform system, now pass through platform Integrated Virtual machine scanner uni adaptation module, is synchronized, its concrete operations is as follows to virtual machine information:
(a) according to assigned catalogue, virtual machine configuration is scanned;
(b) according to assigned catalogue, virtual-machine data file is scanned;
(c) configuration file is read, and by configuration parameter, is adapted to and typing virtual platform system database;
(d) synchronization monitoring data and configuration data are to platform.
In addition, can access escalation process and management platform, interface visualization performs detection needed for upgrading, deployment, fitted With work is waited, the effect for not operating background commands to complete upgrading is reached, is reduced to operator's technical requirements.
Fig. 1 show the server updating method flow diagram of the embodiment of the present invention 1, comprises the following steps:
Step 101:Obtain server basis configuration information and be compared with server updating configuration information;
Further, the server basis configuration information includes at least one of:Kernel version information, driving version Information, module information, wherein, the module information includes:Component kind of information, complement version information;
The server updating configuration information includes at least one of:Kernel version information, driving version information, component Information, wherein, the module information includes:Component kind of information, complement version information.
Further, if module information in the server basis configuration information and the server updating configuration information In module information it is inconsistent, then the module information in the server basis configuration information is operated.
Further, the type that the module information in the server basis configuration information is operated include with It is at least one lower:Component unloading, component refitting, component upgrade, component are installed.
Step 102:If the server basis configuration information is consistent with the server updating configuration information, taken Business device assembly asset creation and/or component parameter, which are matched somebody with somebody, to be postponed, operating said assembly.
Further, if the server basis configuration information is consistent with the server updating configuration information, carry out Server component asset creation and/or component parameter, which are matched somebody with somebody, to be postponed, after operating said assembly, in addition to:
The server is added to virtual management platform;
Virtual machine characteristic information in the server is obtained and by the virtual machine by the virtual management platform Characteristic information transmits the database into the virtual management platform.
Further, the virtual machine characteristic information includes at least one of:Virtual machine configuration information, virtual machine Hard disc data information.
Fig. 2 show the server updating structure drawing of device of the embodiment of the present invention 2, including processor, is adapted for carrying out each finger Order;Storage device, suitable for storing a plurality of instruction, the instruction is suitable to be loaded and performed by the processor;
Obtain server basis configuration information and be compared with server updating configuration information;
If the server basis configuration information is consistent with the server updating configuration information, server component is carried out Asset creation and/or component parameter, which are matched somebody with somebody, to be postponed, operating said assembly.
Further, if the server basis configuration information is consistent with the server updating configuration information, carry out Server component asset creation and/or component parameter, which are matched somebody with somebody, to be postponed, after operating said assembly, in addition to:
The server is added to virtual management platform;
Virtual machine characteristic information in the server is obtained and by the virtual machine by the virtual management platform Characteristic information transmits the database into the virtual management platform.
Further, the server basis configuration information includes at least one of:Kernel version information, driving version Information, module information, wherein, the module information includes:Component kind of information, complement version information;
The server updating configuration information includes at least one of:Kernel version information, driving version information, component Information, wherein, the module information includes:Component kind of information, complement version information.
Further, if module information in the server basis configuration information and the server updating configuration information In module information it is inconsistent, then the module information in the server basis configuration information is operated.
Technical scheme provided in an embodiment of the present invention:Obtain server basis configuration information and set with server updating and believed Breath is compared;If the server basis configuration information is consistent with the server updating configuration information, server is carried out Component resources establishment and/or component parameter, which are matched somebody with somebody, to be postponed, operating said assembly.
In above-mentioned technical proposal, by the way that server basis configuration information is compared with server updating configuration information, And carry out server component asset creation and/or component parameter configuration and run, realize server automated upgrading, it is to avoid weight Server is filled, while reservation server data and service operation state, have been really achieved the effect of unaware upgrading.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

1. a kind of server updating method, it is characterised in that comprise the following steps:
Obtain server basis configuration information and be compared with server updating configuration information;
If the server basis configuration information is consistent with the server updating configuration information, server component resource is carried out Establishment and/or component parameter, which are matched somebody with somebody, to be postponed, operating said assembly.
2. server updating method according to claim 1, it is characterised in that manage the server added to virtualization Platform;
Virtual machine characteristic information in the server is obtained and by the virtual machine feature by the virtual management platform Database of the information transfer into the virtual management platform.
3. server updating method according to claim 1, it is characterised in that the server basis configuration information includes At least one of:Kernel version information, driving version information, module information, wherein, the module information includes:Component kind Category information, complement version information;
The server updating configuration information includes at least one of:Kernel version information, driving version information, component letter Breath, wherein, the module information includes:Component kind of information, complement version information.
4. server updating method according to claim 3, it is characterised in that if in the server basis configuration information Module information and module information in the server updating configuration information it is inconsistent, then confidence is matched somebody with somebody to the server basis Module information in breath is operated.
5. server updating method according to claim 4, it is characterised in that described that confidence is matched somebody with somebody to the server basis The type that module information in breath is operated includes at least one of:Component unloading, component refitting, component upgrade, component Install.
6. server updating method according to claim 2, it is characterised in that the virtual machine characteristic information includes following At least one:Virtual machine configuration information, virtual hard disk data message.
7. a kind of server updating device, it is characterised in that including processor, is adapted for carrying out each instruction;Storage device, suitable for depositing The a plurality of instruction of storage, the instruction is suitable to be loaded and performed by the processor;
Obtain server basis configuration information and be compared with server updating configuration information;
If the server basis configuration information is consistent with the server updating configuration information, server component resource is carried out Establishment and/or component parameter, which are matched somebody with somebody, to be postponed, operating said assembly.
8. server updating device according to claim 7, it is characterised in that manage the server added to virtualization Platform;
Virtual machine characteristic information in the server is obtained and by the virtual machine feature by the virtual management platform Database of the information transfer into the virtual management platform.
9. server updating device according to claim 7, it is characterised in that the server basis configuration information includes At least one of:Kernel version information, driving version information, module information, wherein, the module information includes:Component kind Category information, complement version information;
The server updating configuration information includes at least one of:Kernel version information, driving version information, component letter Breath, wherein, the module information includes:Component kind of information, complement version information.
10. server updating device according to claim 9, it is characterised in that if the server basis configuration information In module information and module information in the server updating configuration information it is inconsistent, then the server basis is configured Module information in information is operated.
CN201710629692.XA 2017-07-27 2017-07-27 Server upgrading method and device Active CN107222355B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710629692.XA CN107222355B (en) 2017-07-27 2017-07-27 Server upgrading method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710629692.XA CN107222355B (en) 2017-07-27 2017-07-27 Server upgrading method and device

Publications (2)

Publication Number Publication Date
CN107222355A true CN107222355A (en) 2017-09-29
CN107222355B CN107222355B (en) 2020-12-01

Family

ID=59954646

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710629692.XA Active CN107222355B (en) 2017-07-27 2017-07-27 Server upgrading method and device

Country Status (1)

Country Link
CN (1) CN107222355B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network
CN113821300A (en) * 2021-08-26 2021-12-21 济南浪潮数据技术有限公司 Virtual machine management method and related device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073529A (en) * 2011-01-30 2011-05-25 华为技术有限公司 Method and computer system for upgrading super kernel component
CN102662883A (en) * 2012-03-31 2012-09-12 中国人民解放军国防科学技术大学 Machine type identification method for multi-hardware-platform FeiTeng server
CN103067445A (en) * 2012-12-06 2013-04-24 华为技术有限公司 Method and device of software upgrading of distributed system
CN103440180A (en) * 2013-08-28 2013-12-11 浪潮电子信息产业股份有限公司 Cloud sea OS virtualization platform backup and recovering method
CN103473117A (en) * 2013-09-18 2013-12-25 北京思特奇信息技术股份有限公司 Cloud-mode virtualization method
CN104468811A (en) * 2014-12-17 2015-03-25 华为技术有限公司 Upgrading method and device
CN104917805A (en) * 2015-01-14 2015-09-16 杭州华三通信技术有限公司 Load sharing method and equipment
CN105045611A (en) * 2015-06-24 2015-11-11 深圳市兰丁科技有限公司 Upgrading method and apparatus
CN105681060A (en) * 2014-11-17 2016-06-15 中兴通讯股份有限公司 Virtualization network function management upgrading method and apparatus and virtualization network function management server
CN106201660A (en) * 2016-07-14 2016-12-07 浪潮电子信息产业股份有限公司 Method for automatically upgrading virtual hardware and software of virtual machine
CN106445643A (en) * 2016-11-14 2017-02-22 上海云轴信息科技有限公司 Method and device for cloning and updating virtual machine
CN106933600A (en) * 2017-03-28 2017-07-07 联想(北京)有限公司 A kind of method for upgrading system and device

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102073529A (en) * 2011-01-30 2011-05-25 华为技术有限公司 Method and computer system for upgrading super kernel component
CN102662883A (en) * 2012-03-31 2012-09-12 中国人民解放军国防科学技术大学 Machine type identification method for multi-hardware-platform FeiTeng server
CN103067445A (en) * 2012-12-06 2013-04-24 华为技术有限公司 Method and device of software upgrading of distributed system
CN103440180A (en) * 2013-08-28 2013-12-11 浪潮电子信息产业股份有限公司 Cloud sea OS virtualization platform backup and recovering method
CN103473117A (en) * 2013-09-18 2013-12-25 北京思特奇信息技术股份有限公司 Cloud-mode virtualization method
CN105681060A (en) * 2014-11-17 2016-06-15 中兴通讯股份有限公司 Virtualization network function management upgrading method and apparatus and virtualization network function management server
CN104468811A (en) * 2014-12-17 2015-03-25 华为技术有限公司 Upgrading method and device
CN104917805A (en) * 2015-01-14 2015-09-16 杭州华三通信技术有限公司 Load sharing method and equipment
CN105045611A (en) * 2015-06-24 2015-11-11 深圳市兰丁科技有限公司 Upgrading method and apparatus
CN106201660A (en) * 2016-07-14 2016-12-07 浪潮电子信息产业股份有限公司 Method for automatically upgrading virtual hardware and software of virtual machine
CN106445643A (en) * 2016-11-14 2017-02-22 上海云轴信息科技有限公司 Method and device for cloning and updating virtual machine
CN106933600A (en) * 2017-03-28 2017-07-07 联想(北京)有限公司 A kind of method for upgrading system and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109495306A (en) * 2018-11-27 2019-03-19 平安科技(深圳)有限公司 A kind of expansion method and equipment of business network
CN109495306B (en) * 2018-11-27 2022-02-01 平安科技(深圳)有限公司 Method and equipment for expanding capacity of service network
CN113821300A (en) * 2021-08-26 2021-12-21 济南浪潮数据技术有限公司 Virtual machine management method and related device

Also Published As

Publication number Publication date
CN107222355B (en) 2020-12-01

Similar Documents

Publication Publication Date Title
US8458658B2 (en) Methods and systems for dynamically building a software appliance
US11614926B2 (en) Consensus mechanism deployment method and apparatus
KR101389977B1 (en) Client terminal and method for supporting multiple Operating System
US8935687B2 (en) Incrementally updating a software appliance
US9116776B2 (en) Updating software objects
US8924920B2 (en) Providing a software appliance based on a role
US20160085537A1 (en) Software installation onto a client using existing resources
US7496739B1 (en) System and related methods for automatically configuring a computing system
CN103077071B (en) The acquisition methods of a kind of KVM virtual machine progress information and system
CN103327108B (en) A kind of cross-platform software management platform based on cloud and construction method thereof
CN110753088B (en) System deployment method and device
US20130194630A1 (en) Management system, image forming apparatus, management system control method, and image forming apparatus control method
CN104636159B (en) The method and apparatus that software in virtual machine is upgraded
CN107577510A (en) One kind quickly pre-installs method and system automatically without hardware driving under disk ring border
CN112596857B (en) Method, device, equipment and medium for isolating SaaS multi-tenant data
EP3662362A1 (en) Systems and methods for customized operating system conversion
CN107566518A (en) The method and apparatus of management equipment information during installation file
US11769507B2 (en) Voice-assistant activated virtual card replacement
CN107222355A (en) A kind of server updating method and device
CN107704249A (en) A kind of system and method for installing configuration automatically for physical machine
CN107665131A (en) It is a kind of quickly to pre-install method and client automatically without client hardware driving under disk ring border
WO2016197688A1 (en) Data collection method and device
CN117056115B (en) Application program repairing method and device, storage medium and electronic equipment
CN117290138A (en) Fault processing method, device, system, terminal equipment and storage medium
CN104090805B (en) A kind of method, equipment and system for updating terminal operating system

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201105

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant