CN108667639A - A kind of method for managing resource under privately owned cloud environment and management server - Google Patents
A kind of method for managing resource under privately owned cloud environment and management server Download PDFInfo
- Publication number
- CN108667639A CN108667639A CN201710198664.7A CN201710198664A CN108667639A CN 108667639 A CN108667639 A CN 108667639A CN 201710198664 A CN201710198664 A CN 201710198664A CN 108667639 A CN108667639 A CN 108667639A
- Authority
- CN
- China
- Prior art keywords
- management
- service server
- subelement
- task
- controlled
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0246—Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0876—Aspects of the degree of configuration automation
- H04L41/0886—Fully automatic configuration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
The invention discloses the method for managing resource and management server under a kind of privately owned cloud environment, wherein the method includes:It receives through the first request with outer operation triggering, first request carries the request mark of service server for characterizing currently detected service server to be identified in the first request;The request mark of service server is parsed from the first request, the request mark of inquiry business server in the first configuration information of extraction, the first configuration information are based on the mapping relations for reporting the request of service server to identify and be that the network identity of service server distribution obtains before;It is not existed in first configuration information when the request for inquiring service server identifies, is then identified as the service server increasing the target service server of pending configuration management newly;Preset strategy is extracted, the configuration management automated in each processing links of entire resource life cycle to target service server according to the preset strategy operates.
Description
Technical field
The present invention relates to the method for managing resource and management clothes under resource management techniques more particularly to a kind of privately owned cloud environment
Business device.
Background technology
In the environment of public cloud, user only needs to touch virtual cloud resource, such as cloud host, cloud hard disk, cloud number
According to library etc., because public cloud can provide the user with a mating automated management system, it is not necessarily to manual intervention.And in private
Have in the environment of cloud, the configuration of this automation is not present.It is integrally together with physical server resource in the environment of private clound
User is consigned to together, is voluntarily managed by user, including the initialization installation of physical server resource, remote opening, shutdown, again
The operations such as open and reset, that is to say, that in privately owned cloud environment, user must voluntarily be managed by artificial and live mode
Reason, efficiency can be very low, and then influences the efficiency of management of cloud resource.However, in the related technology, for the problem, there is no
Imitate solution.
Invention content
In view of this, an embodiment of the present invention provides method for managing resource and management service under a kind of privately owned cloud environment
Device solves at least problem of the existing technology.
What the technical solution of the embodiment of the present invention was realized in:
Method for managing resource under a kind of privately owned cloud environment of the embodiment of the present invention, the method includes:
Management server is received through the first request with outer operation triggering, and first request is for characterizing current detection
To service server to be identified, the request mark of service server is carried in the first request;
Management server parses the request mark of the service server from first request, the first of extraction
The request mark of the service server is inquired in configuration information, first configuration information is based on reporting business service before
The mapping relations that the request mark of device and the network identity distributed for service server obtain;
It is not existed in first configuration information when the request for inquiring the service server identifies, then management service
The service server is identified as increasing the target service server of pending configuration management newly by device;
Management server extracts preset strategy, according to the preset strategy to the target service server in entire resource
The configuration management operation that each processing links of life cycle are automated.
In said program, according to the preset strategy to the target service server in each of entire resource life cycle
The configuration management operation that a processing links are automated, including:
Management server is before the target service server carries out network deployment, to be carried out to the target service server
With outer initial configuration, to being reset with outer password, after resetting successfully, to obtain modified password;
The modified password is passed through typing cryptographic libraries after symmetric cryptography by management server.
In said program, when the management server is realized using distributed type assemblies framework, including management control
Unit and at least one controlled subelement;
The method further includes:
The dispatching distribution that subelement manages task concentratedly is controlled by the management;
By at least one controlled subelement to reporting respective operation result after the task run that is distributed.
In said program, according to the preset strategy to the target service server in each of entire resource life cycle
The configuration management operation that a processing links are automated, including:
When being carried out the target service server with outer operative configuration by management control subelement, reception is taken office
It is engaged in, is packaged in the task and the band operates ordered outside corresponding band outside;
Subelement is controlled by the management to be ordered outside the band from parsing in the task;
Subelement inquiry is controlled by the management and the band outer network of the target service server identifies relevant letter
Breath;
It is waited for according to identifying to order outside relevant information and the band with the band outer network of the target service server
Distribute to the first object task of at least one controlled subelement;
Subelement is controlled by the management, and unified dispatching distribution is carried out to the first object task.
In said program, subelement is controlled by the management, unified scheduling point is carried out to the first object task
Match, including any one following mode:
Mode one:
Subelement is controlled by the management, and the first object task is actively handed down at least one controlled son
After unit, so that at least one controlled subelement is passed through default communication mode and asked to first object service server initiation
It asks, obtains the operation for terminating the first object task after request responds, return to the operation result of first object task;
Mode two:
The task acquisition request that subelement receives at least one controlled subelement is controlled by the management;
Subelement is controlled by the first object mission dispatching at least one controlled subelement by the management
Afterwards, make at least one controlled subelement initiate to ask to the target service server by default communication mode, obtain
The operation for terminating the first object task after request response, returns to the operation result of first object task.
In said program, according to the preset strategy to the target service server in each of entire resource life cycle
The configuration management operation that a processing links are automated, including:
When controlling subelement to target service server progress operating system installation configuration by the management, receive
To task, operational order corresponding with installation configuration operation is packaged in the task;
Subelement is controlled by the management, and the operational order is parsed from the task;
Subelement inquiry is controlled by the management and the band outer network of the target service server identifies relevant letter
Breath;
It is waited for according to the band outer network of the target service server relevant information of mark and the operational order
Distribute to the second goal task of at least one controlled subelement;
Subelement is controlled by the management, and unified dispatching distribution is carried out to second goal task.
In said program, subelement is controlled by the management, unified scheduling point is carried out to second goal task
Match, including:
Subelement is controlled by the management, and second goal task is actively handed down at least one controlled son
After unit, at least one controlled subelement is set to parse the operational order from second goal task, by pre-
If communication mode initiates operational order corresponding with the operational order to the target service server, after obtaining instruction response
Terminate the operation of second goal task, returns to the operation result of the second goal task.
In said program, the method further includes:
The operation result that second goal task that subelement obtains is controlled by the management is note when running succeeded
The operation result of second goal task is recorded, target service server is waited for report current state and configuration;
By it is described management control subelement receive comprising the current state and configuration report information, on described
Breath of notifying is verified;
It is controlled after subelement verification passes through by the management and the operating system is installed.
A kind of management server of the embodiment of the present invention, the management server include:
Receiving unit, for receiving through the first request with outer operation triggering, first request is current for characterizing
It detects service server to be identified, the request mark of service server is carried in the first request;
Resolution unit, the request mark for parsing the service server from first request, in extraction
The request mark of the service server is inquired in first configuration information, first configuration information is based on reporting business before
The mapping relations that the request mark of server and the network identity distributed for service server obtain;
Recognition unit, for not existing in first configuration information when the request mark for inquiring the service server
In, then the service server is identified as increasing the target service server of pending configuration management newly;
Configuration management element exists to the target service server according to the preset strategy for extracting preset strategy
The configuration management operation that each processing links of entire resource life cycle are automated.
In said program, the configuration management element is further used for:
Before carrying out network deployment for the target service server, the target service server is carried out with outer initialization
Configuration, to being reset with outer password, after resetting successfully, to obtain modified password;
The modified password is passed through typing cryptographic libraries after symmetric cryptography by management server.
Further include a management control when management server is realized using distributed type assemblies framework in said program
Subelement and at least one controlled subelement;
The management controls subelement, the dispatching distribution for being managed concentratedly to task;
The controlled subelement, for reporting respective operation result after the task run to being distributed.
In said program, the management controls subelement, is further used for:
To the target service server carry out with outer operative configuration when, receive task, be packaged in the task with
It operates outside the band and is ordered outside corresponding band;
It is ordered outside the band from being parsed in the task;
Inquiry and the band outer network of the target service server identify relevant information;
It is waited for according to identifying to order outside relevant information and the band with the band outer network of the target service server
Distribute to the first object task of at least one controlled subelement;
Subelement is controlled by the management, and unified dispatching distribution is carried out to the first object task.
In said program, the management controls subelement, is further used for realizing using any one following mode:
Mode one:
After the first object task is actively handed down at least one controlled subelement, make it is described it is at least one by
It controls subelement to initiate to ask to the first object service server by default communication mode, terminates institute after obtaining request response
The operation of first object task is stated, the operation result of first object task is returned;
Mode two:
The receiving at least one controlled subelement of the task obtains request;
By the first object mission dispatching to after at least one controlled subelement, make at least one controlled son
Unit initiates to ask by default communication mode to the target service server, terminates first mesh after obtaining request response
The operation of mark task returns to the operation result of first object task.
In said program, the management controls subelement, is further used for:
When carrying out operating system installation configuration to the target service server, task is received, is encapsulated in the task
There is operational order corresponding with installation configuration operation;
The operational order is parsed from the task;
Inquiry and the band outer network of the target service server identify relevant information;
It is waited for according to the band outer network of the target service server relevant information of mark and the operational order
Distribute to the second goal task of at least one controlled subelement;
Unified dispatching distribution is carried out to second goal task.
In said program, the management controls subelement, is further used for:
After second goal task is actively handed down at least one controlled subelement, make it is described it is at least one by
Control subelement parses the operational order from second goal task, by presetting communication mode to the target service
Server initiates operational order corresponding with the operational order, obtains the fortune for terminating second goal task after instruction responds
Row returns to the operation result of the second goal task.
In said program, the management controls subelement, is further used for:
The operation result of obtained second goal task is when running succeeded, to record the fortune of second goal task
Row is as a result, wait for target service server to report current state and configuration;
It receives and reports information with what is configured comprising the current state, report information to be verified according to described;
Verification installs the operating system after passing through.
Method for managing resource under the privately owned cloud environment of the embodiment of the present invention, including:Management server receives outer by band
First request of operation triggering, first request are asked for characterizing currently detected service server to be identified first
The request mark of service server is carried in asking;Management server parses the service server from first request
Request mark, inquired in the first configuration information of extraction the service server request mark, described first match confidence
Breath is to be closed based on the mapping for reporting the request of service server to identify and be that the network identity of service server distribution obtains before
System;It is not existed in first configuration information when the request for inquiring the service server identifies, then management server will
The service server is identified as increasing the target service server of pending configuration management newly;Plan is preset in management server extraction
Slightly, each processing links according to the preset strategy to the target service server in entire resource life cycle carry out certainly
The configuration management of dynamicization operates.
Using the embodiment of the present invention, voluntarily managed by the way of artificial and scene without user, according to business service
The request mark of device and the mapping relations obtained before for the network identity of service server distribution, to judge to initiate the industry of request
Whether business server is newfound resource, that is, needs whether identifier is the destination server for needing to handle it, such as
Fruit is, then will be by management server to the newfound resource of out-band method, i.e., new service server, in new business clothes
The configuration management operation that each processing links of its entire resource life cycle of business device are automated, to improve user's
Operating efficiency also improves the efficiency of management of cloud resource.
Description of the drawings
Fig. 1 is the schematic diagram for each side's hardware entities that information exchange is carried out in the embodiment of the present invention;
Fig. 2 is the implementation process schematic diagram of one method of the embodiment of the present invention;
Fig. 3 is the implementation process schematic diagram of the another method of the embodiment of the present invention;
Fig. 4 is the schematic diagram of one system architecture of the embodiment of the present invention;
Fig. 5 is the schematic diagram of one application scenarios of the prior art;
Fig. 6 is the schematic diagram using one service server whole life cycle processing links of the embodiment of the present invention;
Fig. 7 is the operation chart using the operation maintenance personnel of one private clound of the embodiment of the present invention;
Fig. 8 is the hardware environment schematic diagram using one private clound of the embodiment of the present invention;
Fig. 9 is the schematic diagram using one service server resource discovering scene of the embodiment of the present invention;
Figure 10 is using schematic diagram of the embodiment of the present invention one with outer operation scenario;
Figure 11 is the schematic diagram using one operating system installation scenario of the embodiment of the present invention.
Specific implementation mode
The implementation of technical solution is described in further detail below in conjunction with the accompanying drawings.
The mobile terminal of each embodiment of the present invention is realized in description with reference to the drawings.In subsequent description, use
For indicate element such as " module ", " component " or " unit " suffix only for being conducive to the explanation of the embodiment of the present invention,
There is no specific meanings for itself.Therefore, " module " can be used mixedly with " component ".
In the following detailed description, numerous details is set forth, thoroughly to understand the present invention.But, for
For those skilled in the art, it is clear that the present invention can be put into practice without these specific details.In other feelings
Under condition, disclosed known method, process, component, circuit and network is not described in detail, to avoid embodiment is unnecessarily made
Various aspects are smudgy.
In addition, herein although term " first ", " second " etc. is employed many times describe various elements (or various threshold values or
Various applications or various instructions or various operations) etc., but these elements (or threshold value or application or instruction or operation) should not be by
The limitation of these terms.These terms are only intended to distinguish an element (or threshold value or application or instruction or operation) and another
Element (or threshold value or application or instruction or operation).For example, the first operation can be referred to as the second operation, the second operation can also
It is referred to as the first operation, without departing from the scope of the present invention, the first operation and the second operation are all operations, and only the two is not
Identical operation.
Step in the embodiment of the present invention is not necessarily handled according to described sequence of steps, can be according to need
It asks and step is selectively upset into rearrangement, either delete the step in embodiment or increase the step in embodiment, the present invention
Only optional sequence combines for step description in embodiment, does not represent all sequence of steps combination of the embodiment of the present invention,
Step sequence in embodiment is not construed as limiting the invention.
Term "and/or" in the embodiment of the present invention refers to including one or more of associated listed items
Any and whole possibility combination.It may also be noticed that:Where used in this disclosure, "comprises/comprising" is specified is stated
Feature, integer, step, operation, the presence of element and/or component, but it is not excluded for other one or more features, integer, step
Suddenly it, operates, the presence or addition of element and/or component and/or their group.
The intelligent terminal (such as mobile terminal) of the embodiment of the present invention can be implemented in a variety of manners.For example, the present invention is real
Apply the mobile terminal described in example may include such as mobile phone, smart phone, laptop, digit broadcasting receiver,
Personal digital assistant (PDA, Personal Digital Assistant), tablet computer (PAD), portable media player
Mobile terminal and number TV, desktop computer of (PMP, Portable Media Player), navigation device etc. etc.
Deng fixed terminal.Hereinafter it is assumed that terminal is mobile terminal.However, it will be understood by those skilled in the art that in addition to especially using
Except the element of mobile purpose, construction according to the embodiment of the present invention can also apply to the terminal of fixed type.
Fig. 1 is the schematic diagram for each side's hardware entities that information exchange is carried out in the embodiment of the present invention, and Fig. 1 includes:Service
Device 1 and server 2.Wherein, server 1 carries out information exchange by cable network or wireless network with server 2.Using this
Inventive embodiments in system, are divided into the service server that server 1 is referred to and the management server that server 2 is referred to.Its
In, in the two, management server is even more important as the control main body of management configuration, using management server be executive agent to this
The processing procedure of inventive embodiments is described.Under privately owned cloud environment, management server receives the band that service server is sent
Outer request is identified it according to the sequence number (SN) for identifying the service server carried in outer request, to know
Whether the service server is not a new resource to be identified.According to SN be service server distribution before for marking
The mapping relations between the IP of network are known it to be identified, if meeting the mapping relations, it has been handled before illustrating
Cross, if do not met, illustrate so far also not carry out it processing and it is subsequent it is a series of automatically configure, therefore, by the hair
The service server of request is played as target service server, each processing links in server resource life cycle are carried out to it
Automatic management, for example, server resource is imported, automatic discoverys, power management, system deployment, configuration initialization and time
A series of automatic management of life cycles such as receipts.Specifically, the processing logic 10 for the management server that server 2 is referred to is such as
Shown in Fig. 1, processing logic 10 includes:S1, management server are received through the first request with outer operation triggering;S2, described
One request carries the request of service server for characterizing currently detected service server to be identified in the first request
It identifies (such as SN);The request that S3, management server parse the service server from first request identifies (such as SN);
S4, it (is such as obtained based on the SN for reporting service server before and the IP distributed for service server in the first configuration information of extraction
The mapping relations arrived) in the inquiry service server request mark (such as SN), when inquiring request mark (such as SN) not
It is present in first configuration information, judges identified mistake service server;S5, management server identify the industry
Business server be newfound resource, according to preset strategy to the service server entire resource life cycle each processing
The configuration management operation that link is automated.Using the embodiment of the present invention, business service can be realized in privately owned cloud environment
The automatic management of device, when especially coping with the environment of thousands of scales so that O&M is more efficient, while lowering fortune for enterprise
Seek cost.
The example of above-mentioned Fig. 1 is a system architecture example for realizing the embodiment of the present invention, and the embodiment of the present invention is not
It is limited to the system structure described in above-mentioned Fig. 1, based on the system architecture described in above-mentioned Fig. 1, proposes each embodiment of the method for the present invention.
Method for managing resource under a kind of privately owned cloud environment of the embodiment of the present invention, as shown in Fig. 2, the method includes:
Management server is received through the first request with outer operation triggering, and first request is currently detected to be identified for characterizing
Service server, first request in carry service server request identify (101).In a practical application, industry
Server be engaged in as a kind of physical server, after service server physics restocking, (need not be switched on) after line of connecting with the mains, by
PXE guiding functions are opened in the network interface card of service server, therefore, the broadcast request of the first request such as DHCP can be sent immediately
(SN of service server being carried in the request, (ID) use is identified using the SN as identifying the request of the service server)
To corresponding management server.Management server can distribute service server one with outer IP, and by the service server
The mapping relations that the SN and IP for its distribution is established are recorded, and are stored in the management server, which looks into
Ask before whether the identified mistake service server is considered as if not having by detecting new business service with outer discovery
Device.By this interaction process, can efficiently identify out:It has opened electricity and with outer normal service server, this, which can be used as, judges
After new service server restocking whether a kind of normal detection means.Management server parses institute from first request
State the request mark (102) of service server.In a practical application, request mark can be in above-mentioned mapping relations
Whether SN inquires the SN of the service server in the first configuration information of extraction, to judge identified mistake industry before
Business server, first configuration information are based on the SN for reporting service server before and are the network that service server distributes
The mapping relations that mark (such as IP) obtains.First configuration is not existed in when the request for inquiring the service server identifies
In information, then the service server is identified as increasing the target service server of pending configuration management newly by management server
(103).Here, request mark can be inquired from the first configuration information, in order to so that the management server is looked into
Whether identified mistake service server before is ask, was identified, explanation is old server, has carried out configuration pipe before
It manages, without processing;If do not identified, illustrates that band is found that new resources outside, i.e., be identified as increasing newly by the service server
The target service server of pending configuration management, to carry out a series of subsequent configuration management operations.Management server carries
Take preset strategy, according to the preset strategy to the target service server entire resource life cycle each processing ring
Save the configuration management operation (104) automated.
Using the embodiment of the present invention, under privately owned cloud environment, realize to the automatic of physical server resource life cycle
Change management.Specifically, in the environment of private clound, the automated system of a cloud resource management has been built, has realized physical services
Device resource imports, automatic discovery, power management, system deployment, configures a series of the automatic of life cycles such as initialization and recycling
Change management.To, under privately owned cloud environment, using the embodiment of the present invention this set physical server resource life cycle it is automatic
Change administrative skill, user's (system operation maintenance personnel of such as enterprise) be not necessarily to manual intervention, do not have to by artificial and live mode come
Voluntarily managing, user's (system operation maintenance personnel of such as enterprise) only needs physics restocking and the undercarriage of charge server, finally,
The treatment effeciency of user itself is not only increased, moreover, improving the operational efficiency of entire cloud resource management system in turn.
Method for managing resource under a kind of privately owned cloud environment of the embodiment of the present invention, as shown in figure 3, the method includes:
Management server is received through the first request with outer operation triggering, and first request is currently detected to be identified for characterizing
Service server, first request in carry service server request identify (201).In a practical application, industry
Server be engaged in as a kind of physical server, after service server physics restocking, (need not be switched on) after line of connecting with the mains, by
PXE guiding functions are opened in the network interface card of service server, therefore, the broadcast request of the first request such as DHCP can be sent immediately
(SN of service server being carried in the request, use the SN as the request ID for identifying the service server) is to correspondence
Management server.Management server can to service server distribute one with outer IP, and by the SN of the service server with for
The mapping relations that its IP distributed is established are recorded, and are stored in the management server, before the management server queries
Whether identified mistake service server is considered as if not having by detecting new service server with outer discovery.Pass through
This interaction process can efficiently identify out:Electricity is opened and with outer normal service server, this can be as judging new business
After server restocking whether a kind of normal detection means.Management server parses the business clothes from first request
The request mark (202) of business device.In a practical application, request mark can be the SN in above-mentioned mapping relations, carry
The SN that the service server is inquired in the first configuration information taken, to judge whether identified mistake business service before
Device, first configuration information are based on the SN for reporting service server before and are the network identity that service server distributes
The mapping relations that (such as IP) is obtained.First configuration information is not existed in when the request for inquiring the service server identifies
In, then the service server is identified as increasing the target service server (203) of pending configuration management newly by management server.
Here, request mark can be inquired from the first configuration information, in order to so that before the management server queries
Whether identified mistake service server, identified, and explanation is old server, has carried out configuration management before,
Without processing;If do not identified, illustrates that band is found that new resources outside, i.e., be identified as the service server newly-increased pending
The target service server of configuration management, to carry out a series of subsequent configuration management operations.It is subsequent a series of in progress
In configuration management operation, the realization of distributed type assemblies framework may be used in the management server, including one is used as centralized management
The management control subelement of side and at least one controlled subelement as by prosecutor pass through institute according to the preset strategy of extraction
State the dispatching distribution (204) that management control subelement manages task concentratedly.At least one controlled subelement is to institute
The task run of distribution can be interacted with target service server in task run, and it is single to pass through at least one controlled son
Member after the task run that is distributed to reporting respective operation result (205).Being received for task is different, and it is single to control son in management
The information and response that first specific at least one controlled subelement as by prosecutor is transmitted in interact handle it is also different,
By the above-mentioned interaction process based on preset strategy and different task, the target service server can be given birth in entire resource
The configuration management operation that each processing links in life period are automated.
In embodiments of the present invention, the preset strategy is for being characterize how to give birth to target service server in entire resource
The configuration management operation that each processing links in life period are automated.Have in a practical application, in processing links several
The node of a key, as initialized outside service server band, with outer operation and operating system installation.Wherein, 1) business is directed to take
It is engaged in initializing outside device band, for example, after service server opens electricity, if DHCP is normal, will enter with outer record pond, and carry out net
Before network deployment, it is desirable that carry out machine with outer initialization, i.e., to being reset with outer password, it is right to pass through password after successfully modified
Claim typing cryptographic libraries after encrypting.2) it is directed to outer operation, for example, be the operation of new server network management using proxy servers, pass through clothes
Be engaged in the included independent ILO network interfaces of device, realize server initial setting up, server health monitoring, power supply and optimizing thermal solution with
And the management such as remote server.The management server of distributed type assemblies framework can be introduced in the embodiment of the present invention, that is,
It says, which can be the distribution being made of multiple servers (a such as master server, correspondence are multiple from server)
Formula aggregated structure can also be by multiple subprocessing units (such as one management control subelement, corresponding multiple controlled subelements)
The distributed type assemblies framework of composition.It (is concentrated especially by multiple executive agents in distributed type assemblies framework in management server
Manager and by prosecutor) interaction process realize to the outband management of service server, e.g., with the management server by multiple sons
When processing unit (such as one management control subelement, corresponding multiple controlled subelements) constitutes distributed type assemblies framework, management control
After subunit receives the task with outer order, distribute the task one task ID, management control subelement inquires correlation again
The outer IP of band, user and the password of service server and the corresponding order of the operation, are packaged according to given protocol and are stored in data
Library (DB) caches, and multiple controlled subelements is waited for pull task.Multiple controlled subelements are periodically initiated to management control subelement
Task requests are initiated to ask by IPMI or SSH modes after obtaining task to target service server, and asynchronous waiting is played screen and returned
It returns.Wherein, IPMI is Intelligent Platform Management Interface, and SSH is an integrated framework of struts+spring+hibernate, is
A kind of web application Open Framework.The system of integrated SSH frames is divided into four layers from responsibility:Expression layer, Business Logic,
Data Persistence Layer and domain module layer, to help developer, building structure is clear in a short time, reusability is good, easy to maintain
Web application.Result is reported to management control subelement, management by multiple controlled subelements after the task of operation
It controls subelement lateral root and updates task status according to reported result.3) it is directed to operating system to install, for example, management control is single
After member receives the task of system installation operation order, distribute the task one task ID, management control subelement to it is multiple by
It controls and shuts down and operated into PXE outside hair band under subelement, multiple controlled subelements are sent out after taking task to target service server
Implementing result is reported to management control subelement by instruction, so as to follow-up first simple to install edition system at the control, that is, is cut
The small-scale operating system of version, and formal operation system installation, including mirror image transmission, IP configurations, subregion etc. are carried out on the basis of this again.
It is to target service by management server when carrying out automatic configuration management to service server in the embodiment of the present invention
Server entire resource life cycle a series of processing, such as business reason server resource import, it is automatic find, power supply pipe
A series of automatic management of life cycles such as reason, system deployment, configuration initialization and recycling.The present embodiment is retouched as an example
It states, particularly directed to " initialization with outer operation and automatic execution " and " the automatic installation of operating system ".
Based on above-mentioned each embodiment, in one embodiment of the embodiment of the present invention, in the configuration management behaviour automated
During work, management server be the target service server carry out network deployment before, to the target service server into
Row is with outer initial configuration, to being reset with outer password, after resetting successfully, to obtain modified password.Management server
The modified password is passed through into typing cryptographic libraries after symmetric cryptography.
Based on above-mentioned each embodiment, in one embodiment of the embodiment of the present invention, in the configuration management behaviour automated
During work, when being carried out the target service server with outer operative configuration by management control subelement, receive
Task, be packaged in the task and the band outside operate and ordered outside corresponding band;Subelement is controlled from institute by the management
It states to parse in task and be ordered outside the band.In a practical application, API is as the logical of service server and management server
Believe interface, external service is provided, API, which is received, first carries out parameter verification after the task requests with outer command forms, and then by task
The management control subelement (such as Master) being transmitted in the management server realized using distributed type assemblies framework, is controlled by management
Subunit goes distribution task at least one controlled subelement (such as Nodesvr).Management control subelement is in addition to can be to extremely
A few controlled subelement (such as Nodesvr) is managed concentratedly, can also be that the task received from API distributes task ID.
Distribute the benefit of the task identification:Some times are needed due to being executed with outer order, management control subelement (such as Master) can
It is operated with asynchronous execution, the task ID of distribution is returned into API immediately, then respond to called side, after called side takes task ID,
Query task progress and result can periodically be come.
Based on above-mentioned each embodiment, in one embodiment of the embodiment of the present invention, in the configuration management behaviour automated
During work, subelement (such as Master) is controlled by management and is inquired with the band outer network of target service server mark (such as band
Outer IP) relevant information, such as with outer IP, user and password, phase is identified further according to the band outer network of target service server
The information of pass and with it is outer order obtain the first object task to be allocated at least one controlled subelement (such as Nodesvr), with
Continue after an action of the bowels based between management control subelement (such as Master) and at least one controlled subelement (such as Nodesvr)
Actively or passively interactive operation is scheduled distribution to the first object task.Different controlled subelements are directed to same task, band
Outer order can be different, when being unified in the processing of management control subelement progress parameter configuration, configuration file are written, load is matched
File is set, different controlled subelements is not needed and redefines task, it is only necessary to which modification configuration to simplify flow, improves
Treatment effeciency.Finally, unified dispatching distribution is carried out to first object task by stating management control subelement.
Based on above-mentioned each embodiment, in one embodiment of the embodiment of the present invention, in the configuration management behaviour automated
During work, there are Initiative service interaction and passive interactive two ways:1) subelement (such as Master) is controlled by the first mesh by management
After mark task is actively handed down at least one controlled subelement (such as Nodesvr), make at least one controlled subelement (such as
Nodesvr it) initiates to ask to first object service server by default communication mode (such as IPMI or SSH), obtains request and ring
Should after terminate the operation of the first object task, return to the operation result of first object task.2) son list is controlled by managing
The task that first (such as Master) receives at least one controlled subelement (such as Nodesvr) obtains request, and it is single to control son by management
The first object mission dispatching to after at least one controlled subelement (such as Nodesvr), is made institute by first (such as Master)
At least one controlled subelement (such as Nodesvr) is stated to initiate to ask to the target service server by default communication mode,
The operation for obtaining terminating after request responds the first object task returns to the operation result of first object task to (such as
Master)。
Based on above-mentioned each embodiment, in one embodiment of the embodiment of the present invention, in the configuration management behaviour automated
During work, when controlling subelement (such as Master) to the progress operating system installation configuration of target service server by management,
Receive task, be packaged in the task with the corresponding operational order of installation configuration operation, operational order specifically can be with
For:It is operated with outer shutdown and into PXE.Subelement (such as Master) is controlled by management, and the operation is parsed from the task
After order, subelement (such as Master) is controlled by management and is inquired with the band outer network of target service server mark (as band is outer
IP) relevant information, such as with outer IP, user and password, according to related to the band outer network of target service server mark
Information and the operational order obtain the second target to be allocated at least one controlled subelement (such as Nodesvr) appoint
Business, different controlled subelements are directed to same task, can be different with outer order, pass through the parameter configuration in management control subelement
That changes is uniformly processed, and configuration file is written, and loading configuration file redefines without different controlled subelements oneself and appoints
Business, it is only necessary to change the configuration of configuration management control subelement.It is follow-up that subelement and at least one controlled son are controlled based on management
Initiative service interaction operation between unit carries out second goal task unified dispatching distribution dispatching distribution.
Based on above-mentioned each embodiment, in one embodiment of the embodiment of the present invention, in the configuration management behaviour automated
During work, by management control subelement (such as Master) the second goal task is actively handed down to it is described at least one controlled
After subelement, at least one controlled subelement (such as Nodesvr) is made to parse operational order, operation life from the second goal task
Order is specifically as follows:It is operated with outer shutdown and into PXE.By presetting communication mode (such as IPMI or SSH) to target service service
Device initiates operational order corresponding with operational order, obtains the operation for terminating second goal task after instruction responds, returns
The operation result of second goal task.In a practical application, the management control subelement can be Master, Master
To shutting down outside hair band under Nodesvr and being operated into PXE, Nodesvr takes send out instruction to target service server after task after,
Implementing result is reported to Master.
Based on above-mentioned each embodiment, in one embodiment of the embodiment of the present invention, in the configuration management behaviour automated
During work, the operation result that the second goal task that subelement (such as Master) obtains is controlled by management is to run succeeded
When, the operation result of the second goal task is recorded, target service server is waited for report current state and configuration.One reality is answered
In, if running succeeded, Master records current procedures to database, and asynchronous waiting target service server enters PXE;Machine
Device, which enters after PXE, to report current state and configuration by embedded script, and Master is transmitted to via Nodesvr, Master into
And open RAID acquisitions and modification, that is, ensure that machine RAID is required by called side.Subelement, which is controlled, by management receives packet
Information is reported with what is configured containing the current state, reports information to be verified according to described, specifically, being checked out in RAID
Bi Houcai can with installation operation system and enter system.Later, after being passed through by management control subelement (such as Master) verification
The operating system is installed.Here, install the operating system has a fallback mechanism in the process, provides one and cuts out version
Simplified system, specifically, acquisition and the relevant basic parameter of the operating system, the first system is obtained according to the basic parameter
System, the first system are the version (such as system of MINIOS versions) more simplified relative to the operating system, MINIOS mono-
A small-scale operating system for cutting version, later again based on the version (such as the system of MINIOS versions) more simplified to install
Operating system is stated, in practical applications, i.e., after above-mentioned RAID is checked after simple to install version MINIOS systems, waits for and entering
MINIOS systems carry out formal operating system installation in MINIOS system-baseds later, including mirror image transmits, IP is configured,
Subregion etc..After introducing the MINIOS systems, if system install failure, starts fallback mechanism, the MINIOS can be return back to
Small version, to simplify flow, improves effect without the various configurations operation executed before accent executes
Fruit.MINIOS is only intended to check hardware component nor a necessary item, promotes deployment success rate.It can be according to actual
Environment and scene carry out cutting appropriate, with reduction procedure.
Can also include that initial PXE disposes net in one embodiment of the embodiment of the present invention based on above-mentioned each embodiment
Network operates, and especially by the PXE netboots of network interface card, carries out operating system installation.On-premise network is not required item, is intended merely to
The introduced individual networks of Network Isolation reduce the influence to original business during disposing.
Based on above-mentioned each embodiment, in one embodiment of the embodiment of the present invention, in the configuration management behaviour automated
During work, there are many PXE/MINIOS status checkout modes, for example, use Nodesvr active probes, it is of course also possible to be by
Dynamic request, it is not limited to which service server reports automatically.Purpose be provided to judge machine whether come into PXE or
MINIOS。
Resource management system under a kind of privately owned cloud environment of the embodiment of the present invention, as shown in figure 4, including at least:Business
Server 41 and the management server 42 that main body is controlled as management configuration.Under privately owned cloud environment, management server can connect
Receive the outer request of band that service server is sent, according to carry in outer request for identify the SN of the service server to its into
Row identification, to identify whether the service server is a new resource to be identified.According to SN with before be service server
Distribution is identified it for identifying the mapping relations between the IP of network, if meeting the mapping relations, before explanation
It is processed to it, if do not met, illustrate also it not to be carried out handling so far and it is subsequent it is a series of automatically configure,
Therefore, the service server which asked carries out in server resource life cycle it as target service server
The automatic management of each processing links, for example, importing, automatic discovery, power management, system deployment, matching to server resource
Set a series of automatic management of life cycles such as initialization and recycling.Wherein, management server 42 includes:Receiving unit 421,
For receiving through the first request with outer operation triggering, first request is for characterizing currently detected business to be identified
Server carries the request mark of service server in the first request;Resolution unit 422, for being asked from described first
In parse the service server request mark, inquire asking for the service server in the first configuration information of extraction
Mark, first configuration information is asked to be based on the request mark for reporting service server before and be what service server distributed
The mapping relations that network identity obtains;Recognition unit 423, for not existing when the request mark for inquiring the service server
In first configuration information, then the service server is identified as increasing the target service service of pending configuration management newly
Device;Configuration management element 424, for extracting preset strategy, according to the preset strategy to the target service server whole
The configuration management operation that each processing links of a resource life cycle are automated.
Using the embodiment of the present invention, under privately owned cloud environment, realize to the automatic of physical server resource life cycle
Change management.Specifically, in the environment of private clound, the automated system of a cloud resource management has been built, has realized physical services
Device resource imports, automatic discovery, power management, system deployment, configures a series of the automatic of life cycles such as initialization and recycling
Change management.To, under privately owned cloud environment, using the embodiment of the present invention this set physical server resource life cycle it is automatic
Change administrative skill, user's (system operation maintenance personnel of such as enterprise) be not necessarily to manual intervention, do not have to by artificial and live mode come
Voluntarily managing, user's (system operation maintenance personnel of such as enterprise) only needs physics restocking and the undercarriage of charge server, finally,
The treatment effeciency of user itself is not only increased, moreover, improving the operational efficiency of entire cloud resource management system in turn.
In one embodiment of the embodiment of the present invention, the configuration management element is further used for:For the target service
Before server carries out network deployment, the target service server is carried out with outer initial configuration, with to being carried out with outer password
Resetting, after resetting successfully, obtains modified password, management server is by the modified password by being recorded after symmetric cryptography
Enter cryptographic libraries.
In one embodiment of the embodiment of the present invention, when the management server is realized using distributed type assemblies framework, also
Including a management control subelement and at least one controlled subelement;The management controls subelement, for being carried out to task
The dispatching distribution of centralized management;The controlled subelement, for reporting respective operation result after the task run to being distributed.
In one embodiment of the embodiment of the present invention, the management controls subelement, is further used for:To the target industry
When being engaged in server progress with outer operative configuration, task is received, is packaged in the task and the band operates corresponding band outside
Outer order;It is ordered outside the band from being parsed in the task;Inquiry and the band outer network of the target service server identify
Relevant information;It is obtained according to identifying to order outside relevant information and the band with the band outer network of the target service server
First object task to be allocated at least one controlled subelement;Subelement is controlled to described first by the management
Goal task carries out unified dispatching distribution.
In one embodiment of the embodiment of the present invention, the management controls subelement, is further used for:By first mesh
After mark task is actively handed down at least one controlled subelement, at least one controlled subelement is made to pass through default communication
Mode is initiated to ask to the first object service server, obtains the fortune for terminating the first object task after request responds
Row returns to the operation result of first object task.
In one embodiment of the embodiment of the present invention, the management controls subelement, is further used for:Described in receiving at least
The task of one controlled subelement obtains request;Give the first object mission dispatching at least one controlled subelement
Afterwards, make at least one controlled subelement initiate to ask to the target service server by default communication mode, obtain
The operation for terminating the first object task after request response, returns to the operation result of first object task.
In one embodiment of the embodiment of the present invention, the management controls subelement, is further used for:To the target industry
When server progress operating system of being engaged in installs configuration, task is received, is packaged in the task and is operated with installation configuration
Corresponding operational order;The operational order is parsed from the task;Outside the band of inquiry and the target service server
The relevant information of network identity;Relevant information and the operation are identified according to the band outer network of the target service server
Order obtains the second goal task to be allocated at least one controlled subelement;It unites to second goal task
One dispatching distribution.
In one embodiment of the embodiment of the present invention, the management controls subelement, is further used for:By second mesh
After mark task is actively handed down at least one controlled subelement, make at least one controlled subelement from second mesh
The operational order is parsed in mark task, is initiated and the operation to the target service server by default communication mode
Corresponding operational order is ordered, the operation for terminating second goal task after instruction responds is obtained, returns to the second goal task
Operation result.
In one embodiment of the embodiment of the present invention, the management controls subelement, is further used for:Described obtained
The operation result of two goal tasks is when running succeeded, to record the operation result of second goal task, waits for target service
Server reports current state and configuration;It receives and reports information comprising the current state and configuration, notify according on described
Breath is verified;Verification installs the operating system after passing through.
In one embodiment of the embodiment of the present invention, the management controls subelement, is further used for:It obtains and the behaviour
Make the relevant basic parameter of system, the first system is obtained according to the basic parameter, the first system is relative to the behaviour
Make the version that system is more simplified;The first system is installed;The operating system is installed based on the first system.
Wherein, for the processor for data processing, when executing processing, microprocessor, center may be used
Processor (CPU, Central Processing Unit), digital signal processor (DSP, Digital Singnal
Processor) or programmable logic array (FPGA, Field-Programmable Gate Array) is realized;For storage
For medium, including operational order, which can be computer-executable code, be realized by the operational order
Each step in embodiments of the present invention information processing method flow.
It need to be noted that be:Above is referred to the description of terminal and server item, be with above method description it is similar,
Advantageous effect with method describes, and does not repeat.For undisclosed technical detail in terminal and server embodiment of the present invention,
Please refer to content described by the embodiment of the method for the present invention flow description.
The embodiment of the present invention is described below by taking a practical application scene as an example:
Relevant technical terms in this application scene are described as follows first:
PXE:Preboot execute environment, Pre-boot Execution Environment are developed most by Intel Company
New technology works in the network mode of Client/Server, and work station is supported to download image from far-end server by network,
And it thus supports to pass through network startup operating system.
DHCP:Dynamic Host Configuration Protocol, dynamic host configuration protocol are a locals
The procotol of net, is worked using udp protocol, and main there are two purposes:Divide automatically to internal network or Internet service provider
With IP address.
TFTP:Trivial File Transfer Protocol, Simple File Transfer Protocol is in TCP/IP protocol suite
One be used between clients and a server carry out simple files transmission agreement.
IPMI:It is a kind of hardware management interface specification of open standard, defines embedded management subsystem and communicated
Ad hoc approach.
Outband management:It is the new generation network centralized management system researched and developed based on OOBI outband management frameworks.
bonding:Polylith network interface card is virtually become into one piece of network interface card, makes it have identical IP address, master is promoted to realize
The network throughput of machine either improves the network technology of availability.
MINIOS:The small-scale operating system of one cutting version.
Public cloud:It is often referred to the cloud that can be used that third party provider provides to the user, public cloud can generally pass through
Internet is used, it may be possible to which free or low-cost, core attribute is shared resource service.
Private clound:It is that structure is used alone for a client, effective control to data, safety, core category is provided
Property is specific resource.
In this application scene, existing system framework as shown in Figure 5 has been used in the management for private clound, in Fig. 5, OS
Server is mirror image server, and pxe client are service server, and DHCP Server are dynamic host configuration protocol service
Device, install/boot Server are boot file server, and PXELinux tftp and nfs kickstart refer to out
Source software or service.Process flow based on the system architecture includes:1) request is sent;2) DHCP Server provide information;3)
Startup file is downloaded in request;4) respond request and file is transmitted;5) automatic response file is downloaded in request;6) installation operation system.
Using the existing framework and flow the problem is that:The only Managed Solution of server some part lacks entire Life Cycle
Phase entirety Managed Solution;An only technical solution is not a system that can be used directly or product;By various components of increasing income
It slaps together, scalability and stability are poor;Do not support that multisegment, server bonding etc. are complicated and larger
Network environment.
It is the automatic of server resource life cycle under privately owned cloud environment using the embodiment of the present invention in this application scene
Change Managed Solution.In the environment of public cloud, user only needs to touch virtual cloud resource for comparison, for example cloud host, cloud are hard
Disk, cloud database, public cloud can provide a mating automated management system, be managed to these cloud resources, such as provide
Source production, distribution, recycling etc..It is that entirety consigns to use together with physical server resource but in the environment of private clound
Family is voluntarily managed by user, including (the above-mentioned service server referred to of the embodiment of the present invention is a kind of physics to physical server
Type of server) resource initialization installation, the operations such as remote opening, shut down, restart and reset, if still passing through previous people
Work is managed with live mode, and efficiency can be very low, and then influences the management of cloud resource.Therefore, in the environment of private clound
In, the automated system of a set of similar cloud resource management is needed, realizes that physical server resource is imported, found automatically, power supply
The automatic management of the life cycles such as management, system deployment, configuration initialization and recycling.
Under privately owned cloud environment, the automation pipe of this set physical server resource life cycle of the embodiment of the present invention is used
Reason scheme, the system operation maintenance personnel of enterprise, it is only necessary to the physics restocking of charge server and undercarriage, as shade is high in Fig. 6
The part of bright marking frame.Remaining operation can carry out automatic management, enterprise by managing portal by foreground to server
The system operation maintenance personnel of industry is put into practice by simply training with page operation, you can left-hand seat is illustrated in figure 7 operation maintenance personnel behaviour
Make the schematic diagram at interface.
It is as shown in Figure 8 using the hardware environment of the embodiment of the present invention in this application scene.It is not limited in this application environment
The machine of Huawei and Cisco's brand for specifically using can also select other brands, such as the remittance that table 1 is unit type and classification
Summary table.
Table 1
Based on above-mentioned hardware environment, in this application scene, using the physical server resource discovering mistake of the embodiment of the present invention
Journey, as shown in figure 9, including:
Step 301, machine open electricity;
Step 302, with outer DHCP request;
Step 303, DHCP information reportings;
Step 304 judges whether that the record of the existing physical server is present in management server, if it is not,
Execute step 305;
The newfound physical server is identified as new engine by step 305, completes resource discovering flow.
In this flow, first by service server physics restocking, and (it need not be switched on) after line of connecting with the mains, the net of server
Card can send the broadcast request of DHCP, and the dhcp relay machines for passing through interchanger immediately due to opening PXE guiding functions
Corresponding request is issued management server by system, and management server can distribute it one with outer IP, and by server S N and divide
Whether the IP mapping relations matched are recorded, and machine identified mistake before inquiring, and are not considered as new discovery machine then.The party
Case, which can efficiently identify, has opened electricity and with outer normal server, can be used as after judging machine restocking whether formal approaches it
One.
Based on above-mentioned hardware environment, in this application scene, using being initialized outside the physical server band of the embodiment of the present invention
Process is:After service server opens electricity, if DHCP is normal, it will enter with outer record pond.Before being disposed, it is desirable that machine into
Row is with outer initialization, i.e., to being reset with outer password.Password is passed through into typing cryptographic libraries after symmetric cryptography after successfully modified.
Based on above-mentioned hardware environment, in this application scene, using the outer operating process of the band of the embodiment of the present invention, such as Figure 10 institutes
Show, including:
Step 401, API receive task requests;
Step 402, API carry out key parameter verification;
Step 403, task are transmitted to Master;
Step 404, Master distribute task ID for task;
Step 405, Master return to task ID;
Step 406, API again respond request to called side;
Step 407, Master inquiries with outer IP, user and password obtain needed for outer bidding protocol encapsulate and be packaged;
Step 408, Master are put into result is packaged in task buffer;
Step 409, Master receive the task requests of Nodesvr;
Step 410, Nodesvr read caching;
Step 411, Master are by mission dispatching to Nodesvr;
Step 412, Nodesvr are communicated in a manner of IPMI/SSH with physical server (such as service server);
The asynchronous waiting of step 413, Nodesvr is played screen and is returned;
Result is reported to Master by step 414, Nodesvr;
Step 415, Master update task status;
Step 416-417, called side query task progress, Master respond requests.
In this flow, API provides externally service, carries out parameter verification after receiving task requests, and then task is transmitted to
Master.Some times are needed due to being executed with outer order, therefore use asynchronous system:Master distributes the task one ID, and
API is returned to immediately, then responds to called side, after called side takes ID, can periodically come query task progress and result;Master
The outer IP of band, user and password and the corresponding order of the operation for inquiring correlation machine again, are packaged and are stored according to given protocol
DB is cached, and Nodesvr is waited for pull task.Nodesvr periodically initiates task requests to Master, passes through IPMI after obtaining task
Or SSH modes are initiated to ask to target machine, and asynchronous waiting is played screen and is returned, and reports result after task, the sides Master
Task status is updated according to result.
Based on above-mentioned hardware environment, in this application scene, pacified using the physical server operating system of the embodiment of the present invention
Flow is filled, as shown in figure 11, including:
Step 501, API receive task requests;
Step 502, API carry out key parameter verification;
Step 503, task forward Master;
Step 504-506, Master distributes task ID for task, returns to task ID, API again respond request to calling
Side;
Step 507-508, Master inquiries with outer IP, user and password obtain needed for outer bidding protocol encapsulate and beat
Packet, Master are put into result is packaged in task buffer;
Step 509, Master receive the task requests of Nodesvr;
Step 510, Nodesvr read caching;
Step 511-512, by mission dispatching to Nodesvr, i.e. prompt shutdown or nearly PXE operates Master;
The asynchronous waiting of step 513, Nodesvr is played screen and is returned;
Result is reported to Master by step 514, Nodesvr;
Step 515, Master records DB wait for PXE state reportings;
Step 516-517, called side query task progress, Master respond requests;
Step 518, PXE state reportings;
Step 519, Master obtain next step and are packaged script command;
Step 520-521, Master receives the task requests of Nodesvr, and Nodesvr reads caching;
Step 521-522, by mission dispatching to Nodesvr, script executes Master;
The asynchronous waiting script of step 523, Nodesvr is played screen and is returned;
Result is reported to Master by step 524, Nodesvr;
Step 525, Master judge whether that deployment finishes, if it is, update task status.
In this flow, API carries out parameter verification after receiving task requests, and then task is transmitted to Master.Master
It distributes the task one ID, and returns to API immediately, then respond to called side, after called side takes ID, can periodically inquire and appoint
Business progress and result.To shutting down outside hair band under machine and being operated into PXE, Nodesvr takes after task to target machine Master
Instruction is sent out, implementing result is reported to Master.If running succeeded, Master records current procedures to database, asynchronous
Machine is waited for enter PXE.Machine can report current state and configuration after entering PXE by embedded script, be forwarded via Nodesvr
To Master, Master opens the step of next RAID is acquired and changed in turn, that is, ensures that machine RAID is required by called side
's.Simple to install edition system after RAID is checked waits for and enters system.It is formally grasped on the basis of simple edition system later
Make system installation, including mirror image transmission, IP configurations, subregion etc..After system installs, Master continues to check after issuing deployment
Generic task initializes network and application by script, such as PING is checked, password modification, installs service.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.Apparatus embodiments described above are merely indicative, for example, the division of the unit, only
A kind of division of logic function, formula that in actual implementation, there may be another division manner, such as:Multiple units or component can combine, or
It is desirably integrated into another system, or some features can be ignored or not executed.In addition, shown or discussed each composition portion
It can be the INDIRECT COUPLING by some interfaces, equipment or unit to divide mutual coupling or direct-coupling or communication connection
Or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be and be physically separated, aobvious as unit
The component shown can be or may not be physical unit, you can be located at a place, may be distributed over multiple network lists
In member;Some or all of wherein unit can be selected according to the actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in various embodiments of the present invention can be fully integrated into a processing unit, also may be used
It, can also be during two or more units be integrated in one unit to be each unit individually as a unit;It is above-mentioned
The form that hardware had both may be used in integrated unit is realized, can also be realized in the form of hardware adds SFU software functional unit.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:It is movable storage device, read-only
Memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or
The various media that can store program code such as person's CD.
Alternatively, if the above-mentioned integrated unit of the present invention is realized in the form of SFU software functional unit and as independent product
Sale in use, can also be stored in a computer read/write memory medium.Based on this understanding, the present invention is implemented
Substantially the part that contributes to existing technology can be expressed in the form of software products the technical solution of example in other words,
The computer software product is stored in a storage medium, including some instructions are used so that computer equipment (can be with
It is personal computer, server or network equipment etc.) execute all or part of each embodiment the method for the present invention.
And storage medium above-mentioned includes:Movable storage device, ROM, RAM, magnetic disc or CD etc. are various can to store program code
Medium.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (16)
1. the method for managing resource under a kind of privately owned cloud environment, which is characterized in that the method includes:
Management server is received through the first request with outer operation triggering, and first request is for characterizing currently detected wait for
The service server of identification carries the request mark of service server in the first request;
Management server parses the request mark of the service server from first request, in the first configuration of extraction
The request mark of the service server is inquired in information, first configuration information is based on reporting service server before
The mapping relations that request mark and the network identity distributed for service server obtain;
It is not existed in first configuration information when the request for inquiring the service server identifies, then management server will
The service server is identified as increasing the target service server of pending configuration management newly;
Management server extracts preset strategy, according to the preset strategy to the target service server in entire resource life
The configuration management operation that each processing links in period are automated.
2. according to the method described in claim 1, it is characterized in that, according to the preset strategy to the target service server
In the configuration management operation that each processing links of entire resource life cycle are automated, including:
Management server is that it is outer to carry out band to the target service server before the target service server carries out network deployment
Initial configuration, to being reset with outer password, after resetting successfully, to obtain modified password;
The modified password is passed through typing cryptographic libraries after symmetric cryptography by management server.
3. according to the method described in claim 1, it is characterized in that, the management server is realized using distributed type assemblies framework
When, including a management control subelement and at least one controlled subelement;
The method further includes:
The dispatching distribution that subelement manages task concentratedly is controlled by the management;
By at least one controlled subelement to reporting respective operation result after the task run that is distributed.
4. according to the method described in claim 3, it is characterized in that, according to the preset strategy to the target service server
In the configuration management operation that each processing links of entire resource life cycle are automated, including:
When carrying out the target service server with outer operative configuration by management control subelement, task is received,
It is packaged in the task and operates order outside corresponding band outside the band;
Subelement is controlled by the management to be ordered outside the band from parsing in the task;
Subelement inquiry is controlled by the management and the band outer network of the target service server identifies relevant information;
It is to be allocated according to being obtained with order outside the band outer network of the target service server relevant information of mark and the band
To the first object task of at least one controlled subelement;
Subelement is controlled by the management, and unified dispatching distribution is carried out to the first object task.
5. according to the method described in claim 4, it is characterized in that, controlling subelement to the first object by the management
Task carries out unified dispatching distribution, including any one following mode:
Mode one:
Subelement is controlled by the management, and the first object task is actively handed down at least one controlled subelement
Afterwards, make at least one controlled subelement pass through default communication mode to initiate to ask to the first object service server,
The operation for obtaining terminating after request responds the first object task, returns to the operation result of first object task;
Mode two:
The task acquisition request that subelement receives at least one controlled subelement is controlled by the management;
Subelement is controlled by the first object mission dispatching to after at least one controlled subelement by the management, is made
At least one controlled subelement initiates to ask by default communication mode to the target service server, obtains request and rings
Should after terminate the operation of the first object task, return to the operation result of first object task.
6. according to the method described in claim 3, it is characterized in that, according to the preset strategy to the target service server
In the configuration management operation that each processing links of entire resource life cycle are automated, including:
When controlling subelement to target service server progress operating system installation configuration by the management, reception is taken office
It is engaged in, operational order corresponding with installation configuration operation is packaged in the task;
Subelement is controlled by the management, and the operational order is parsed from the task;
Subelement inquiry is controlled by the management and the band outer network of the target service server identifies relevant information;
It is to be allocated according to being obtained with the band outer network of the target service server relevant information of mark and the operational order
To the second goal task of at least one controlled subelement;
Subelement is controlled by the management, and unified dispatching distribution is carried out to second goal task.
7. according to the method described in claim 6, it is characterized in that, controlling subelement to second target by the management
Task carries out unified dispatching distribution, including:
Subelement is controlled by the management, and second goal task is actively handed down at least one controlled subelement
Afterwards, at least one controlled subelement is made to parse the operational order from second goal task, by default logical
Letter mode initiates operational order corresponding with the operational order to the target service server, terminates after obtaining instruction response
The operation of second goal task returns to the operation result of the second goal task.
8. the method according to the description of claim 7 is characterized in that the method further includes:
The operation result that second goal task that subelement obtains is controlled by the management is when running succeeded, to record institute
The operation result of the second goal task is stated, target service server is waited for report current state and configuration;
Subelement is controlled by the management receive and report information comprising the current state and configuration, notify according on described
Breath is verified;
It is controlled after subelement verification passes through by the management and the operating system is installed.
9. a kind of management server, which is characterized in that the management server includes:
Receiving unit, for receiving through the first request with outer operation triggering, first request is for characterizing current detection
To service server to be identified, the request mark of service server is carried in the first request;
Resolution unit, the request mark for parsing the service server from first request, the first of extraction
The request mark of the service server is inquired in configuration information, first configuration information is based on reporting business service before
The mapping relations that the request mark of device and the network identity distributed for service server obtain;
Recognition unit, for not existed in first configuration information when the request mark for inquiring the service server,
Then the service server is identified as to increase the target service server of pending configuration management newly;
Configuration management element, for extracting preset strategy, according to the preset strategy to the target service server entire
The configuration management operation that each processing links of resource life cycle are automated.
10. management server according to claim 9, which is characterized in that the configuration management element is further used for:
Before carrying out network deployment for the target service server, the target service server with outer initialization match
It sets, to being reset with outer password, after resetting successfully, to obtain modified password;
The modified password is passed through typing cryptographic libraries after symmetric cryptography by management server.
11. management server according to claim 9, which is characterized in that the management server uses distributed type assemblies
Further include a management control subelement and at least one controlled subelement when framework is realized;
The management controls subelement, the dispatching distribution for being managed concentratedly to task;
The controlled subelement, for reporting respective operation result after the task run to being distributed.
12. management server according to claim 11, which is characterized in that the management controls subelement, further uses
In:
To the target service server carry out with outer operative configuration when, receive task, be packaged in the task with it is described
With order outside the corresponding band of outer operation;
It is ordered outside the band from being parsed in the task;
Inquiry and the band outer network of the target service server identify relevant information;
It is to be allocated according to being obtained with order outside the band outer network of the target service server relevant information of mark and the band
To the first object task of at least one controlled subelement;
Subelement is controlled by the management, and unified dispatching distribution is carried out to the first object task.
13. management server according to claim 12, which is characterized in that the management controls subelement, further uses
It is realized in using any one following mode:
Mode one:
After the first object task is actively handed down at least one controlled subelement, make at least one controlled son
Unit initiates to ask by default communication mode to the first object service server, obtains terminating after request response described the
The operation of one goal task returns to the operation result of first object task;
Mode two:
The receiving at least one controlled subelement of the task obtains request;
By the first object mission dispatching to after at least one controlled subelement, make at least one controlled subelement
It initiates to ask to the target service server by presetting communication mode, terminates the first object times after obtaining request response
The operation of business returns to the operation result of first object task.
14. management server according to claim 11, which is characterized in that the management controls subelement, further uses
In:
To the target service server carry out operating system installation configuration when, receive task, be packaged in the task with
The installation configuration operates corresponding operational order;
The operational order is parsed from the task;
Inquiry and the band outer network of the target service server identify relevant information;
It is to be allocated according to being obtained with the band outer network of the target service server relevant information of mark and the operational order
To the second goal task of at least one controlled subelement;
Unified dispatching distribution is carried out to second goal task.
15. management server according to claim 14, which is characterized in that the management controls subelement, further uses
In:
After second goal task is actively handed down at least one controlled subelement, make at least one controlled son
Unit parses the operational order from second goal task, by presetting communication mode to the target service service
Device initiates operational order corresponding with the operational order, obtains the operation for terminating second goal task after instruction responds,
Return to the operation result of the second goal task.
16. management server according to claim 15, which is characterized in that the management controls subelement, further uses
In:
The operation result of obtained second goal task is when running succeeded, to record the operation knot of second goal task
Fruit waits for target service server to report current state and configuration;
It receives and reports information with what is configured comprising the current state, report information to be verified according to described;
Verification installs the operating system after passing through.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710198664.7A CN108667639B (en) | 2017-03-29 | 2017-03-29 | Resource management method and management server in private cloud environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710198664.7A CN108667639B (en) | 2017-03-29 | 2017-03-29 | Resource management method and management server in private cloud environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108667639A true CN108667639A (en) | 2018-10-16 |
CN108667639B CN108667639B (en) | 2022-01-11 |
Family
ID=63786848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710198664.7A Active CN108667639B (en) | 2017-03-29 | 2017-03-29 | Resource management method and management server in private cloud environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108667639B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257233A (en) * | 2018-11-06 | 2019-01-22 | 上海庆科信息技术有限公司 | A kind of configuration method of node node equipment in communication system |
CN109917890A (en) * | 2019-02-27 | 2019-06-21 | 苏州浪潮智能科技有限公司 | A kind of method for managing power supply of server cluster, system and storage medium |
CN110882219A (en) * | 2019-12-24 | 2020-03-17 | 厦门大学 | siRNA transdermal delivery composition and application thereof |
CN112631769A (en) * | 2020-12-17 | 2021-04-09 | 平安普惠企业管理有限公司 | Local cache management method, device, equipment and medium for APP |
WO2021138815A1 (en) * | 2020-01-07 | 2021-07-15 | 刘建新 | Mobile terminal management and control system and service data processing method |
CN113992412A (en) * | 2021-10-28 | 2022-01-28 | 唯品会(广州)软件有限公司 | Method for realizing cloud native firewall and related equipment |
CN114050971A (en) * | 2021-11-09 | 2022-02-15 | 网易(杭州)网络有限公司 | Server configuration method, device, system, electronic equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104363306A (en) * | 2014-12-04 | 2015-02-18 | 厦门大学 | Private cloud management control method for enterprise |
CN105553870A (en) * | 2015-12-11 | 2016-05-04 | 小米科技有限责任公司 | Method and device for allocating service request |
US20160191309A1 (en) * | 2014-12-29 | 2016-06-30 | Beijing Lenovo Software Ltd. | Cloud system configuration method, server and device |
US20160218926A1 (en) * | 2015-01-26 | 2016-07-28 | DivvyCloud Corporation | Network Resource Management Devices Methods And Systems |
-
2017
- 2017-03-29 CN CN201710198664.7A patent/CN108667639B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104363306A (en) * | 2014-12-04 | 2015-02-18 | 厦门大学 | Private cloud management control method for enterprise |
US20160191309A1 (en) * | 2014-12-29 | 2016-06-30 | Beijing Lenovo Software Ltd. | Cloud system configuration method, server and device |
US20160218926A1 (en) * | 2015-01-26 | 2016-07-28 | DivvyCloud Corporation | Network Resource Management Devices Methods And Systems |
CN105553870A (en) * | 2015-12-11 | 2016-05-04 | 小米科技有限责任公司 | Method and device for allocating service request |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109257233A (en) * | 2018-11-06 | 2019-01-22 | 上海庆科信息技术有限公司 | A kind of configuration method of node node equipment in communication system |
CN109917890A (en) * | 2019-02-27 | 2019-06-21 | 苏州浪潮智能科技有限公司 | A kind of method for managing power supply of server cluster, system and storage medium |
CN110882219A (en) * | 2019-12-24 | 2020-03-17 | 厦门大学 | siRNA transdermal delivery composition and application thereof |
WO2021138815A1 (en) * | 2020-01-07 | 2021-07-15 | 刘建新 | Mobile terminal management and control system and service data processing method |
CN112631769A (en) * | 2020-12-17 | 2021-04-09 | 平安普惠企业管理有限公司 | Local cache management method, device, equipment and medium for APP |
CN112631769B (en) * | 2020-12-17 | 2024-01-05 | 深圳市滚水科技有限公司 | Local cache management method, device, equipment and medium for APP |
CN113992412A (en) * | 2021-10-28 | 2022-01-28 | 唯品会(广州)软件有限公司 | Method for realizing cloud native firewall and related equipment |
CN113992412B (en) * | 2021-10-28 | 2023-06-16 | 唯品会(广州)软件有限公司 | Implementation method of cloud native firewall and related equipment |
CN114050971A (en) * | 2021-11-09 | 2022-02-15 | 网易(杭州)网络有限公司 | Server configuration method, device, system, electronic equipment and storage medium |
CN114050971B (en) * | 2021-11-09 | 2024-02-02 | 网易(杭州)网络有限公司 | Server configuration method, device, system, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108667639B (en) | 2022-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108667639A (en) | A kind of method for managing resource under privately owned cloud environment and management server | |
CN110535831B (en) | Kubernetes and network domain-based cluster security management method and device and storage medium | |
US11442762B2 (en) | Systems and methods for introspective application reporting to facilitate virtual machine movement between cloud hosts | |
WO2021017301A1 (en) | Management method and apparatus based on kubernetes cluster, and computer-readable storage medium | |
US8606897B2 (en) | Systems and methods for exporting usage history data as input to a management platform of a target cloud-based network | |
US7124289B1 (en) | Automated provisioning framework for internet site servers | |
EP3837604B1 (en) | In situ triggered function as a service within a service mesh | |
US7152109B2 (en) | Automated provisioning of computing networks according to customer accounts using a network database data model | |
CN105808320B (en) | Equipment virtualization system and method based on L inux container | |
US8019835B2 (en) | Automated provisioning of computing networks using a network database data model | |
US7131123B2 (en) | Automated provisioning of computing networks using a network database model | |
US20040226010A1 (en) | Automated provisioning framework for internet site servers | |
US20120239729A1 (en) | Methods and apparatus for connecting a thin client to a virtual desktop | |
US20110295727A1 (en) | Systems and methods for aggregate monitoring of utilization data for vendor products in cloud networks | |
CN105208047B (en) | Inserting method and server on distribution system services device | |
US20090300180A1 (en) | Systems and methods for remote management of networked systems using secure modular platform | |
CN109564527A (en) | The security configuration of cloud computing node | |
CN104160376A (en) | Offline provisioning of virtual machines | |
US10791144B1 (en) | Container life cycle management with honeypot service | |
CN107357571A (en) | Maintenance method and system of equipment component program and component server | |
CN106412009A (en) | Interface calling method and device | |
US11134098B1 (en) | Container life cycle management with session dilution time | |
CN110138876A (en) | Task deployment method, apparatus, equipment and platform | |
CN107479888A (en) | Operating system mirror image deployment services device method, system, equipment and storage medium | |
US11080077B2 (en) | Life cycle management for cloud-based application executors with key-based access to other devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |