CN109067877A - A kind of control method, server and the storage medium of cloud computing platform deployment - Google Patents

A kind of control method, server and the storage medium of cloud computing platform deployment Download PDF

Info

Publication number
CN109067877A
CN109067877A CN201810884475.XA CN201810884475A CN109067877A CN 109067877 A CN109067877 A CN 109067877A CN 201810884475 A CN201810884475 A CN 201810884475A CN 109067877 A CN109067877 A CN 109067877A
Authority
CN
China
Prior art keywords
node
control
service
functional
role
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810884475.XA
Other languages
Chinese (zh)
Other versions
CN109067877B (en
Inventor
王翼
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Technology Shenzhen Co Ltd
Original Assignee
Ping An Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Technology Shenzhen Co Ltd filed Critical Ping An Technology Shenzhen Co Ltd
Priority to CN201810884475.XA priority Critical patent/CN109067877B/en
Priority to PCT/CN2018/107908 priority patent/WO2020024413A1/en
Publication of CN109067877A publication Critical patent/CN109067877A/en
Application granted granted Critical
Publication of CN109067877B publication Critical patent/CN109067877B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application discloses control method, server and the storage medium of a kind of cloud computing platform deployment, and wherein method comprises determining that the control node for control function node;Obtain the first Disposition Instructions that information is distributed comprising node role;The first service in the control node is initialized and starts, so that the control node distributes information addition destination server according to the node role and is the destination server distribution node role;The destination server is determined as to the functional node controlled by the control node;The configuration parameter of the functional node is set according to configuration script, initialize and starts second service relevant to the angle of rotation of joint color;Whether it is connected between the functional node that detection is determined, if not being connected to, the configuration parameter of disconnected functional node is debugged according to the configuration script, make the disconnected functional node connection, great deal of nodes can be debugged to connection automatically, a complete available platform is formed, reduces the deploying step of manual hand manipulation, improves deployment efficiency.

Description

A kind of control method, server and the storage medium of cloud computing platform deployment
Technical field
This application involves field of computer technology more particularly to a kind of control methods of cloud computing platform deployment, server And storage medium.
Background technique
With the maturation of cloud scheme, cloud computing platform is also more and more extensive to be applied to various fields.Wherein, OpenStack cloud platform is the cloud computing management platform project of an open source, is combined by several main components and completes tool Body running.OpenStack supports almost all kinds of cloud environment, project objective be to provide implementation is simple, can extend on a large scale, The cloud computing abundant, standard is unified manages platform.
Each module of the Openstack cloud platform possessed currently on the market is needed by manually disposing, and error rate is high, Connectivity is poor, and efficiency is lower.
Summary of the invention
The embodiment of the present application provides control method, server and the storage medium of a kind of cloud computing platform deployment, can incite somebody to action Great deal of nodes debugs connection automatically, forms a complete available platform, reduces the deploying step of manual hand manipulation, lifting parts Affix one's name to efficiency.
In a first aspect, the embodiment of the present application provides a kind of control method of cloud computing platform deployment, this method comprises:
Determine the control node for being used for control function node;
Obtain the first Disposition Instructions that information is distributed comprising node role;
The first service in the control node is initialized and starts, so that the control node is according to the angle of rotation of joint Color distributes information addition destination server and is the destination server distribution node role;
The destination server is determined as to the functional node controlled by the control node;
The configuration parameter of the functional node is set according to configuration script, initializes and starts and closed with the angle of rotation of joint form and aspect Second service;
Whether it is connected between the functional node that detection is determined, if not being connected to, is debugged according to the configuration script disconnected The configuration parameter of functional node makes the disconnected functional node connection.
As a kind of possible embodiment, the node role distribution information includes:
The node role of functional node number and each functional node;
The node role includes: one of calculate node, memory node and network node or a variety of.
As a kind of possible embodiment, the determination includes: for the control node of control function node
Instruction is arranged in the control node received for destination server;
Judge whether the destination server has installed the system configuration comprising the first service, if having installed, determines The destination server is the control node.
5, as a kind of possible embodiment, the first service is all services of OpenStack;
If the destination server does not install the system configuration comprising the first service, the method also includes:
The image file for installing system of the installation comprising all services of the OpenStack is obtained, in the target The image file is installed on server.
As a kind of possible embodiment, the initialization and before starting the first service in the control node, The method also includes:
Configure the installation environment of the control node.
As a kind of possible embodiment, the method also includes:
Detection system data processing state increases according to the system data processing status or deletes the function section Point.
As a kind of possible embodiment, the method also includes:
When detecting the isolated instructions for destination node, the firewall information of the destination node is configured, is made described Destination node isolation.
Second aspect, the embodiment of the present application provide a kind of server, comprising: determining module obtains module, introductory die Block, setup module, configuration module, detection module and debugging module, in which:
The determining module, for determining the control node for being used for control function node;
The acquisition module, for obtaining the first Disposition Instructions for distributing information comprising node role;
The initial module, for initializing and starting the first service in the control node, so that the control Node distributes information addition destination server according to the node role and is the destination server distribution node role;
The setup module, the functional node for the destination server to be determined as being controlled by the control node;
The configuration module, for the configuration parameter of the functional node, the transmission module to be arranged according to configuration script It is also used to, initializes and starts second service relevant to the angle of rotation of joint color;
Whether the detection module is connected between the functional node determined for detecting;
The debugging module when for not being connected between node, debugs disconnected function section according to the configuration script The configuration parameter of point makes the disconnected functional node connection.
The third aspect, the embodiment of the present application also provides a kind of servers, comprising: processor, input equipment, output equipment And memory, the processor, input equipment, output equipment and memory are connected with each other, wherein the memory is for storing Computer program, the computer program include program instruction, and the processor is configured for calling described program instruction, are held Method of the row as described in first aspect and its any possible embodiment.
Fourth aspect, the embodiment of the present application provide a kind of computer storage medium, the computer storage medium storage There is computer program, the computer program includes program instruction, and described program instruction makes the place when being executed by a processor The method that reason device executes above-mentioned first aspect and its any possible embodiment.
The embodiment of the present application is used for the control node of control function node by determining, obtains and distributes letter comprising node role Breath the first Disposition Instructions, initialize and start the first service in above-mentioned control node so that above-mentioned control node according to Above-mentioned node role distributes information addition destination server and is above-mentioned destination server distribution node role, by above-mentioned target Server is determined as the functional node controlled by above-mentioned control node, is joined according to the configuration that above-mentioned functional node is arranged in configuration script Whether number, initializes and starts second service relevant to above-mentioned angle of rotation of joint color, detect and be connected between the functional node determined, if It is not connected to, the configuration parameter of disconnected functional node is debugged according to above-mentioned configuration script, make above-mentioned disconnected functional node Great deal of nodes can be debugged connection by connection automatically, form a complete available cloud computing platform, reduce manual hand manipulation Deploying step, promoted deployment efficiency.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to needed in embodiment description Attached drawing is briefly described.
Fig. 1 is a kind of flow diagram of the control method of cloud computing platform deployment provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of the control method for cloud computing platform deployment that another embodiment of the application provides;
Fig. 3 is a kind of structural schematic diagram of server provided by the embodiments of the present application;
Fig. 4 is the structural schematic diagram of another server provided by the embodiments of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Herein " embodiment " is referred to it is meant that a particular feature, structure, or characteristic described may be embodied in the application at least in conjunction with the embodiments In one embodiment.The phrase, which occurs, in each position in the description might not each mean identical embodiment, nor With the independent or alternative embodiment of other embodiments mutual exclusion.Those skilled in the art explicitly and implicitly understand, Embodiment described herein can be combined with other embodiments.
Based on the embodiment in the application, those of ordinary skill in the art are obtained without making creative work The every other embodiment obtained, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
It is also understood that mesh of the term used in this present specification merely for the sake of description specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singular, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combination and all possible combinations of one or more of associated item listed, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to more fully understand the embodiment of the present application, will be situated between below to the method for application the embodiment of the present application It continues.
It referring to Figure 1, is the exemplary flow for the control method that a kind of cloud computing platform provided by the embodiments of the present application is disposed Figure, this method can be applied to the server of cloud computing platform, this method as shown in Figure 1 can include:
101, the control node for being used for control function node is determined.
The embodiment of the present application can be applied to the deployment of cloud computing platform.For ease of understanding, OpenStack is introduced first again Cloud platform, itself are a distributed systems, and not only each service can be distributed deployment, and the component in service can also be distributed Deployment.This distributed nature has great flexibility, retractility and high availability by OpenStack.Entire OpenStack It is by control node, calculate node, network node, (this four nodes also may be mounted at one to the most of composition of memory node four On platform machine, single machine deployment), wherein the node in addition to control node may be collectively referred to as above-mentioned functional node.Wherein:
Control node is responsible for the control to remaining functional node, establishes comprising virtual machine, migration, network distribution, storage point With etc.;Calculate node is responsible for virtual machine operation;Network node is responsible for the communication between outer network and interior network;Memory node It is responsible for the extra storage management etc. to virtual machine.
Therefore above-mentioned control node can be first determined in Platform deployment, the server of control node configuration can be each Calculate node distributes IP address, and can provide connection for each calculate node virtual machine and server, and handle safety Group rule (for example the automatic distribution of virtual machine IP address is realized using the server of Dnsmasq configuration, made using Linux bridge For virtual network realization mechanism), convenient for management.
It include: that the different module of virtual machine VM and OpenStack (is named in OpenStack in the overall architecture of OpenStack " service " hereafter uses " service " to describe).Control node may include all OpenStack services, and control node control Remaining node of system includes different services according to its role difference:
Network node only includes Neutron service, and Neutron is responsible for managing the communication of privately owned network segment Yu publicly-owned network segment, with And communication/topology between management virtual machine network, manage the fire prevention etc. on virtual machine
Calculate node includes Nova, and Neutron, Telemeter tri- service:
1) infrastructure service
Nova: providing the creation of virtual machine, runs, migration, the various services around virtual machine such as snapshot, and provides API It is docked with control node, task is issued by control node.
Neutron: the communication service between calculate node and network node is provided.
2) expansion service
Telmeter: providing the monitoring agent of calculate node, and the case where virtual machine is fed back to control node, is The agency service of Centimeter.
Memory node includes Cinder, and Swift etc. is serviced:
Cinder: block storage service provides corresponding block storage, in simple terms, exactly fictionalizes one piece of disk, can hang It is downloaded on corresponding virtual machine, is not influenced by factors such as file system, for virtual machine, this operation is like newly to add One piece of hard disk can complete any operation to disk, including carry, unload, and format, conversion of file system etc. operation, Mostly applied to the space dilatation etc. in the case where virtual machine insufficient space.
Swift: object storage service provides corresponding object storage, in simple terms, exactly fictionalizes one piece of disk sky Between, file can be stored in this space, can only also store file, cannot be formatted, conversion of file system, It is applied to cloud disk/file mostly.
Wherein, the determination of control node may is that system detection is (usual for above-mentioned control node to qualified node Only one server is met the requirements), alternatively, user can independently select certain server as control node.
102, the first Disposition Instructions that information is distributed comprising node role are obtained.
Above-mentioned first Disposition Instructions can trigger by the operation of user, i.e., user can be opened by simple interactive operation Platform deployment task is opened, the first Disposition Instructions may include node role and distribute information, wherein it is main that node role distributes information For the setting of node number and each functional node role, node role may include calculate node, memory node and net One of network node is a variety of.
Node role, which distributes information, can be what user actively selected, for example select of node role and node role Number, is also possible to what platform was set automatically at random, user only needs to open deployment task at this time.Optionally, platform can store The node role of user setting distributes information, and user can be used identical deployment scheme, not need to repeat to be arranged, so as to In the subsequent automatic deployment task of execution.
103, the first service in above-mentioned control node is initialized and starts, so that above-mentioned control node is according to above-mentioned section Point role distributes information addition destination server and is above-mentioned destination server distribution node role.
After receiving above-mentioned first Disposition Instructions, deployment task can be executed, initializes and starts in control node First service, wherein first service be as all being serviced necessary to control node, such as in OpenStack platform, First service can be all services of OpenStack.Specifically, the step may include: to open the HTTP service of control node, The root password for obtaining simultaneously input control node, initializes and starts all services of OpenStack in control node.
Specifically, distribution node role is mainly the function type for determining the functional node, with the clothes to the functional node Business is configured.After initializing and starting the first service in above-mentioned control node, and obtain comprising node role point After the first Disposition Instructions with information, above-mentioned control node can distribute information according to above-mentioned node role to add target clothes Be engaged in device and be above-mentioned destination server distribution node role, carry out the deployment of functional node.
Wherein, destination server can be the attachable any server of control node, i.e., control node it is available its His server address, and be the functional node of the platform (or being interpreted as cluster) by these server dispositions;Destination server It is also possible to the server of user's selection, i.e. user can choose the address for inputting multiple servers to carry out to these servers The deployment of functional node.
For example, the step of initialization includes:
Initialization NTP is serviced and is initialized the relevant service of keystone, nova, cinder, neutron;
Initialize rabbitmq service, Nova service, initialization Cinder service, initialization Neutron service, Yi Jichu The database etc. of each service of beginningization.
Optionally, before the node serve of configuration control node, installation environment can be first configured, mainly may include repairing Change Hostname, configuration native network, upgrading recent systems etc., these operations can be what user manually performed, can also set It is set to automatic execution.Platform can detect the installation environment of each node, to determine whether installation environment is perfect.
104, above-mentioned destination server is determined as the functional node controlled by above-mentioned control node.
Specifically, control node can be according to upper after initializing and starting the first service in above-mentioned control node It states node role and distributes the deployment that information carries out node, so that platform can be determined as being saved by control with above-mentioned destination server The functional node of point control.
105, the configuration parameter of above-mentioned functional node is set according to configuration script, initialize and is started and above-mentioned node role Relevant second service.
After distributing node role, available pre-stored above-mentioned configuration script, it can be understood as difference section Point role has corresponded to different placement algorithms, can execute corresponding placement algorithm according to the node role of each functional node, The node parameter is arranged, relevant service is realized.Above-mentioned node parameter may include the network parameter and storage parameter of node.
Specifically, adding server as calculate node by control node can include: obtained and needed by control node The IP and root password of the server of addition, the node role that the server is arranged is calculate node, configures the calculate node The IP of memory node, control node IP, virtualization type, the network type of every piece of network interface card of the calculate node is set, is initialized And starts and calculate relevant OpenStack service.
Server is added as memory node by control node can include: obtaining by control node needs clothes to be added The IP and root password of business device, the node role that the server is arranged is memory node, configures the storage section of the network node The IP of point, control node IP, virtualization type, the network type that every piece of network interface card of the memory node is arranged is bindtype, initially Change and starts the relevant OpenStack service of storage.
Server is added as network node by control node can include: obtaining by control node needs clothes to be added The IP and root password of business device, the node role that server is arranged is network node, configures the memory node of the network node IP, control node IP, virtualization type, be arranged two network interface cards of the network node as external network outlet, initialize and open Move the relevant OpenStack service of network.
106, whether it is connected between the functional node that detection is determined, if not being connected to, is not connected according to the debugging of above-mentioned configuration script The configuration parameter of logical functional node makes above-mentioned disconnected functional node connection.
System may be implemented automatically to detect the connected state each functional node, and above-mentioned detection can be the period Property, if somewhither functional node is not connected to for detection, it can obtain for node role and write in advance in above-mentioned configuration script Debugging algorithm debugs disconnected functional node, reconfigures parameter, so that above-mentioned disconnected functional node is normal Work, thus the connectivity between assurance function node.
The embodiment of the present application is used for the control node of control function node by determining, obtains and distributes letter comprising node role First Disposition Instructions of breath, reinitialize and start the first service in control node, so that control node is according to angle of rotation of joint Color distributes information addition destination server and is destination server distribution node role, so as to determine destination server Further, the configuration parameter of functional node, initialization to be arranged according to configuration script by the functional node of control node control And start relevant to angle of rotation of joint color second service, it then can also detect and whether be connected between the functional node determined, if not Connection, the configuration parameter of disconnected functional node is debugged according to configuration script, is connected to disconnected functional node, can be incited somebody to action Great deal of nodes debugs connection automatically, forms a complete available cloud computing platform, compared with general artificial deployment, lifting parts Efficiency is affixed one's name to, error caused by artificial participate in is avoided.
Referring to Fig. 2, Fig. 2 is the process of the control method of the deployment of another kind cloud computing platform disclosed in the embodiment of the present application Schematic diagram, Fig. 2 is advanced optimized on the basis of Fig. 1, as shown in Fig. 2, the controlling party of cloud computing platform deployment Method includes the following steps:
201, instruction is arranged in the control node received for destination server.
Specifically, can receive control node setting instruction, specify in control node setting instruction with destination service Device is selected as control node, such as by the IP address or title of destination server, and then is tentatively set as control node, Step 202 can be executed.User can choose using destination server as the control node of entire platform, as control node Proxy server (ProxyServer) can be used in server: being provided out the service based on HTTP by Proxy Server Interface can search address of service according to the information of ring and user is forwarded to request to corresponding account, container or object, carry out The operation such as CRUD (additions and deletions, which change, looks into).Before accessing the service, it needs to first pass through certificate server and obtains access token, then sending out Header information X-Auth-Token is added in the request sent.Proxy server is responsible for being in communication with each other between remaining component, while Handle a large amount of failure request.
202, judge whether above-mentioned destination server has installed the system configuration comprising all services of OpenStack.
Server as OpenStack control node needs to be equipped with all services of OpenStack, with safeguards system Stability and full-featured, therefore, above-mentioned destination server can be detected, judging whether it has installed includes The system configuration of all services of OpenStack can execute step 204 if having installed;If not installing, step can be executed 203。
203, the image file for installing the system comprising all services of above-mentioned OpenStack is obtained, in above-mentioned target Above-mentioned image file is installed on server.
Specifically, the acquisition of above-mentioned image file can be with are as follows: in the server for all services for having installed OpenStack The operating system is made as above-mentioned mirror by the operating system of upper acquisition, (the starting script for deleting all services of OpenStack) As file.After above-mentioned image file is successfully installed, step 204 can be executed.
204, determine that above-mentioned destination server is above-mentioned control node.
So far above-mentioned destination server can be determined as control node.Wherein, above-mentioned steps 201- step 204 can join The specific descriptions in embodiment illustrated in fig. 1 step 101 are examined, details are not described herein again.
205, the installation environment of above-mentioned control node is configured.
Before configuration node service, the installation environment of control node can be first configured, mainly may include modification host Title, configuration native network, upgrading recent systems etc., these operations can be what user manually performed, may be set to be certainly It is dynamic to execute.Optionally, platform can detect the installation environment of each node, to determine whether installation environment is perfect, ensure The stability of follow-up system operation.
206, the first Disposition Instructions that information is distributed comprising node role are obtained.
207, the first service in above-mentioned control node is initialized and starts, so that above-mentioned control node is according to above-mentioned section Point role distributes information addition destination server and is above-mentioned destination server distribution node role.
Wherein, above-mentioned first service is all services of above-mentioned OpenStack.
208, above-mentioned destination server is determined as the functional node controlled by above-mentioned control node.
209, the configuration parameter of above-mentioned functional node is set according to configuration script, initialize and is started and above-mentioned node role Relevant second service.
Wherein, above-mentioned second service can be understood as the partial service of OpenStack, true with specific reference to above-mentioned node role Fixed corresponding service.
210, whether it is connected between the functional node that detection is determined, if not being connected to, is not connected according to the debugging of above-mentioned configuration script The configuration parameter of logical functional node makes above-mentioned disconnected functional node connection.
Wherein, above-mentioned steps 206- step 210 can refer to the tool in the step 102- step 106 of embodiment illustrated in fig. 1 Body description, details are not described herein again.
211, when detecting the isolated instructions for destination node, the firewall information of above-mentioned destination node is configured, is made Above-mentioned destination node isolation.
In the case where needing that different nodes are isolated, the isolated instructions for destination node can be triggered, above-mentioned isolation refers to It enables and can be user's operation triggering, user can configure the firewall of destination node, such as can be by different storages Node is mutually isolated, guarantees the safety of data on different memory nodes.
In configuration node parameter, the configuration of firewall can also be performed.The key concept of OpenStack firewall is anti- The concept of wall with flues strategy and firewall rule, the regular collection that strategy is ordered into.Specified attribute (the example for constituting matching criteria of rule Such as port range, agreement and IP address) set, and the operation of (allow or refusal) is taken to matched flow.Strategy can With open, firewall can be shared.
Firewall is realized in various ways, is specifically dependent upon used driver.For example, iptables driver Firewall is realized using iptable rule;OpenVSwitch driver realizes firewall using the stream entry in flow table Rule.N secure group can be defined, each secure group can have n rule, n secure group can be bound to each example, Always there is a default secure group in nova, cannot be deleted.When creating example, if not specifying secure group, default Use this default secure group.
Specifically, Firewall as a Service (FWaaS) realization can be used, FWaaS is one of Neutron High-level service.User can be created by it and managing firewall, is filtered to flow.
Firewall in traditional network is generally placed upon on gateway, for controlling the access between subnet.The principle phase of FWaaS It seemingly, is the application firewall rule on the virtual router of Neutron, the data of control disengaging tenant network.Secure group rule exists Implement on the Linux bridge qbr being connected in the calculate node of an example, the firewall rule of FWaaS creation is in tenant network Implement on the virtual router that edge is realized.FWaaS is not intended to replace the function of secure group, and it provides more supplement peace Complete group, especially under its current realization state.FWaaS lacks some functions of secure group offer at present, including can not specify The direction etc. of communication.In contrast, secure group also refuses the ability of all flows in default of creation ad hoc rules, it is therefore desirable to FWaas is as supplement.
By configuring firewall parameter, FWaaS can be disposed simultaneously and secure group realizes double protection, not only ensure that section The connectivity of point, while improving safety.
Optionally, this method further include: detection system data processing state increases according to above system data processing state Or deletion of node.
In a cloud computing platform, management node preferably install it is multiple, once because network is excessively huge, one management The limited capacity of node will lead to the idle of most of resource, and installing multiple management nodes may be implemented load balancing, allow resource It may all make the best use of everything.
Specifically, above-mentioned node role distributes information can be adjusted by platform, by periodically detecting system number According to processing status (data processing amount), whether the quantity to determine a node is enough, if data processing amount is larger, can suitably increase Add node number, vice versa, and wherein the node number of different role can also be determined by the demand of different services.By certainly Dynamic increase or deletion of node, improve the flexibility of Platform deployment, reduce manual operation, realize intelligent deployment.
Optionally, other control can also be switched to when detecting that wherein a control node goes wrong Node guarantees the availability of service.
The embodiment of the present application judges above-mentioned destination service by receiving the control node setting instruction for destination server Whether device has installed the system configuration comprising all services of OpenStack, if it is not installed, obtaining for installing comprising above-mentioned The image file of the system of all services of OpenStack, installs above-mentioned image file on above-mentioned destination server, determines above-mentioned Destination server is above-mentioned control node, configures the installation environment of above-mentioned control node, obtains and distributes information comprising node role The first Disposition Instructions, the first service in above-mentioned control node is initialized and starts, so that above-mentioned control node is according to upper Node role is stated to distribute information addition destination server and for above-mentioned destination server distribution node role, above-mentioned target is taken Business device is determined as the functional node controlled by the control node, and the configuration parameter of above-mentioned node is arranged further according to configuration script, Second service relevant to above-mentioned angle of rotation of joint color is initialized and started, detects and whether is connected between the functional node determined, if not Connection, the configuration parameter of disconnected functional node is debugged according to above-mentioned configuration script, connects above-mentioned disconnected functional node It is logical, and can configure the firewall information of above-mentioned destination node when detecting the isolated instructions for destination node, make Destination node isolation is stated, a large amount of functional nodes can be debugged to connection automatically, a complete available cloud computing platform is formed, subtracts The deploying step of few manual hand manipulation promotes deployment efficiency.
Fig. 3 is referred to, Fig. 3 is a kind of structural schematic diagram of server provided by the embodiments of the present application, the server 300 packet Determining module 310, initial module 320 are included, module 330, setup module 340, configuration module 350, detection module 360 is obtained and adjusts Die trial block 370, in which:
Above-mentioned determining module 310, for determining the control node for being used for control function node;
Above-mentioned acquisition module 320, for obtaining the first Disposition Instructions for distributing information comprising node role;
Above-mentioned initial module 330, for initializing and starting the first service in above-mentioned control node, so that the control Node processed distributes information addition destination server according to the node role and is the destination server distribution node role;
Above-mentioned setup module 340, the function section for the destination server to be determined as being controlled by the control node Point;
Above-mentioned configuration module 350, for the configuration parameter of the functional node, the transmission mould to be arranged according to configuration script Block is also used to, and is initialized and is started second service relevant to the angle of rotation of joint color;
Whether above-mentioned detection module 360 is connected between the functional node determined for detecting;
Above-mentioned debugging module 370 when for not being connected between above-mentioned functional node, does not connect according to the debugging of above-mentioned configuration script The configuration parameter of logical node makes above-mentioned disconnected node connection.
Optionally, above-mentioned node role distributes the node role that information includes: node number and each node;
Above-mentioned node role includes: one of calculate node, memory node and network node or a variety of.
As a kind of possible embodiment, above-mentioned determining module 310 is specifically used for:
Instruction is arranged in the control node received for destination server;
Judge whether above-mentioned destination server has installed the system configuration comprising above-mentioned first service, if having installed, determines Above-mentioned destination server is above-mentioned control node.
As a kind of possible embodiment, above-mentioned first service is all services of OpenStack;
Above-mentioned server 300 further includes installation module 380, for not installing in above-mentioned destination server comprising above-mentioned first When the system configuration of service, the image file for installing system of the installation comprising all services of above-mentioned OpenStack is obtained, Above-mentioned image file is installed on above-mentioned destination server.
As a kind of possible embodiment, above-mentioned installation module 380 is also used to, and in above-mentioned initialization and starts above-mentioned control Before first service in node processed, the installation environment of above-mentioned control node is configured.
As a kind of possible embodiment, above-mentioned server 300 further includes node control module 390, is used for detection system System data processing state increases according to above system data processing state or deletes functional node.
As a kind of possible embodiment, above-mentioned server 300 further include:
Firewall module 3100, for configuring above-mentioned destination node when detecting the isolated instructions for destination node Firewall information, above-mentioned destination node is isolated.
According to the specific embodiment of the embodiment of the present application, the control method of Fig. 1 and cloud computing platform shown in Fig. 2 deployment The step 101 being related to~106,201~211 can be the modules in server 300 as shown in Figure 3 to execute.
By the server 300 of the embodiment of the present application, server 300 is used for the control section of control function node by determining Point obtains the first Disposition Instructions for distributing information comprising node role, initializes and start the first service in control node, with So that above-mentioned control node distributes information addition destination server according to node role and is destination server distribution node angle Above-mentioned destination server is determined as being controlled the functional node of node control by color, further according to matching for configuration script setting node Parameter is set, initializes and start second service relevant to angle of rotation of joint color, and whether is connected between the functional node determined of detection It is logical, if not being connected to, the configuration parameter of disconnected functional node is debugged according to above-mentioned configuration script, makes disconnected functional node Great deal of nodes can be debugged connection by connection automatically, form a complete available cloud computing platform, reduce manual hand manipulation Deploying step, promoted deployment efficiency.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another kind server disclosed in the embodiment of the present application.As shown in figure 4, The server 400 includes processor 401 and memory 402, wherein server 400 can also include bus 403, processor 401 It can be connected with each other by bus 403 with memory 402, bus 403 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..Bus 403 can be divided into address bus, data/address bus, control bus etc..For convenient for table Show, only indicated with a thick line in Fig. 4, it is not intended that an only bus or a type of bus.Wherein, server 400 can also include input-output equipment 404, and input-output equipment 404 may include display screen, such as liquid crystal display.It deposits Reservoir 402 is used to store one or more programs comprising instruction;Processor 401 is stored in memory 402 for calling Method and step some or all of is mentioned in the above-mentioned Fig. 1 and Fig. 2 embodiment of instruction execution.
It should be appreciated that in the embodiment of the present application, alleged processor 401 can be central processing unit (Central Processing Unit, CPU), which can also be other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at Reason device is also possible to any conventional processor etc..
Input equipment 402 may include that Trackpad, fingerprint adopt sensor (for acquiring the finger print information and fingerprint of user Directional information), microphone etc., output equipment 403 may include display (LCD etc.), loudspeaker etc..
The memory 404 may include read-only memory and random access memory, and to processor 401 provide instruction and Data.The a part of of memory 404 can also include nonvolatile RAM.For example, memory 404 can also be deposited Store up the information of device type.
By the server 400 of the embodiment of the present application, server 400 can determine the control section for control function node Point obtains the first Disposition Instructions for distributing information comprising node role, initializes and start the first service in control node, with So that above-mentioned control node distributes information addition destination server according to node role and is destination server distribution node angle Above-mentioned destination server is determined as being controlled the functional node of node control by color, further according to matching for configuration script setting node Parameter is set, initializes and start second service relevant to angle of rotation of joint color, and whether is connected between the functional node determined of detection It is logical, if not being connected to, the configuration parameter of disconnected functional node is debugged according to above-mentioned configuration script, makes disconnected functional node Great deal of nodes can be debugged connection by connection automatically, form a complete available cloud computing platform, reduce manual hand manipulation Deploying step, promoted deployment efficiency.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer A kind of some or all of the control method of cloud computing platform deployment step.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the module, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or module, It can be electrical or other forms.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple On network module.Some or all of the modules therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
If the integrated module is realized in the form of software function module and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (Read-Only Memory, ROM), random access memory The various media that can store program code such as (Random Access Memory, RAM), mobile hard disk, magnetic or disk.

Claims (10)

1. a kind of control method of cloud computing platform deployment, which is characterized in that the described method includes:
Determine the control node for being used for control function node;
Obtain the first Disposition Instructions that information is distributed comprising node role;
The first service in the control node is initialized and starts, so that the control node is according to the node role point It with information addition destination server and is the destination server distribution node role;
The destination server is determined as to the functional node controlled by the control node;
The configuration parameter of the functional node is set according to configuration script, initialize and starts relevant to the angle of rotation of joint color Two services;
Whether it is connected between the functional node that detection is determined, if not being connected to, disconnected function is debugged according to the configuration script The configuration parameter of node makes the disconnected functional node connection.
2. the method according to claim 1, wherein node role distribution information includes:
The node role of functional node number and each functional node;
The node role includes: one of calculate node, memory node and network node or a variety of.
3. according to the method described in claim 2, it is characterized in that, the determination is used for the control node packet of control function node It includes:
Instruction is arranged in the control node received for destination server;
Judge whether the destination server has installed the system configuration comprising the first service, if having installed, described in determination Destination server is the control node.
4. according to the method described in claim 3, it is characterized in that, the first service is all services of OpenStack;
If the destination server does not install the system configuration comprising the first service, the method also includes:
The image file for installing system of the installation comprising all services of the OpenStack is obtained, in the destination service The image file is installed on device.
5. according to the method described in claim 4, it is characterized in that, it is described initialization and start in the control node first Before service, the method also includes:
Configure the installation environment of the control node.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
Detection system data processing state increases according to the system data processing status or deletes the functional node.
7. method according to claim 1-6, which is characterized in that the method also includes:
When detecting the isolated instructions for destination node, the firewall information of the destination node is configured, the target is made Node isolation.
8. a kind of server characterized by comprising determining module, initial module obtain module, setup module, configuration mould Block, detection module and debugging module, in which:
The determining module, for determining the control node for being used for control function node;
The acquisition module, for obtaining the first Disposition Instructions for distributing information comprising node role;
The initial module, for initializing and starting the first service in the control node, so that the control node It according to node role distribution information addition destination server and is the destination server distribution node role;
The setup module, the functional node for the destination server to be determined as being controlled by the control node;
The configuration module, for the configuration parameter of the functional node to be arranged according to configuration script, the transmission module is also used In initializing and start second service relevant to the angle of rotation of joint color;
Whether the detection module is connected between the functional node determined for detecting;
The debugging module when for not being connected between the functional node, debugs disconnected function according to the configuration script The configuration parameter of energy node makes the disconnected functional node connection.
9. a kind of server, which is characterized in that including processor, input equipment, output equipment and memory, the processor, Input equipment, output equipment and memory are connected with each other, wherein the memory is for storing computer program, the calculating Machine program includes program instruction, and the processor is configured for calling described program instruction, is executed as claim 1-7 is any Method described in.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program, described Computer program includes program instruction, and described program instruction makes the processor execute such as claim when being executed by a processor The described in any item methods of 1-7.
CN201810884475.XA 2018-08-03 2018-08-03 Control method for cloud computing platform deployment, server and storage medium Active CN109067877B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810884475.XA CN109067877B (en) 2018-08-03 2018-08-03 Control method for cloud computing platform deployment, server and storage medium
PCT/CN2018/107908 WO2020024413A1 (en) 2018-08-03 2018-09-27 Method for controlling deployment of cloud computing platform, server, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810884475.XA CN109067877B (en) 2018-08-03 2018-08-03 Control method for cloud computing platform deployment, server and storage medium

Publications (2)

Publication Number Publication Date
CN109067877A true CN109067877A (en) 2018-12-21
CN109067877B CN109067877B (en) 2021-08-24

Family

ID=64831714

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810884475.XA Active CN109067877B (en) 2018-08-03 2018-08-03 Control method for cloud computing platform deployment, server and storage medium

Country Status (2)

Country Link
CN (1) CN109067877B (en)
WO (1) WO2020024413A1 (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109981348A (en) * 2019-02-26 2019-07-05 启迪云计算有限公司 A kind of cloud node mixed deployment method
CN109995878A (en) * 2019-04-12 2019-07-09 成都四方伟业软件股份有限公司 Resource share method and distributed cluster system
CN111045599A (en) * 2019-10-31 2020-04-21 平安科技(深圳)有限公司 Parameter configuration method and device of distributed storage system and computer equipment
WO2020135228A1 (en) * 2018-12-26 2020-07-02 中兴通讯股份有限公司 Cloud platform deployment method and apparatus, server and storage medium
CN111897539A (en) * 2020-07-20 2020-11-06 国云科技股份有限公司 Method and device for deploying applications according to service roles
CN112003754A (en) * 2020-08-25 2020-11-27 北京浪潮数据技术有限公司 Visual node registration method for OpenStack cluster
CN112995169A (en) * 2021-02-22 2021-06-18 中国工商银行股份有限公司 Method and device for deploying firewall
CN113064600A (en) * 2021-04-20 2021-07-02 支付宝(杭州)信息技术有限公司 Method and device for deploying application
CN114221808A (en) * 2021-12-14 2022-03-22 平安壹钱包电子商务有限公司 Security policy deployment method and device, computer equipment and readable storage medium
CN114244891A (en) * 2021-12-22 2022-03-25 北京天融信网络安全技术有限公司 Inter-container communication method and device, electronic equipment and storage medium
CN114244836A (en) * 2021-12-17 2022-03-25 杭州视洞科技有限公司 Batch management method for servers in mixed cloud scene

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501350A (en) * 2013-10-17 2014-01-08 中国联合网络通信集团有限公司 Method and device for deploying SaaS applications in cloud computing platform
CN104754032A (en) * 2015-02-27 2015-07-01 浪潮集团有限公司 Method and device for deploying OpenStack
CN105426208A (en) * 2015-11-16 2016-03-23 山东超越数控电子有限公司 OpenStack offline automatic installation method of cloud computing system
US20160234250A1 (en) * 2015-02-10 2016-08-11 International Business Machines Corporation System and method for software defined deployment of security appliances using policy templates
CN106506636A (en) * 2016-11-04 2017-03-15 武汉噢易云计算股份有限公司 A kind of cloud platform cluster method and system based on OpenStack
CN107172208A (en) * 2017-06-30 2017-09-15 联想(北京)有限公司 The dispositions method and its system of server
CN107483243A (en) * 2017-08-09 2017-12-15 鹤云来科技有限公司 A kind of automatic deployment method and equipment of OpenStack platforms

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10616052B2 (en) * 2016-02-23 2020-04-07 Cisco Technology, Inc. Collaborative hardware platform management
CN107769938B (en) * 2016-08-16 2021-01-22 北京金山云网络技术有限公司 System and method for Openstack platform to support multiple network areas
CN107819851A (en) * 2017-11-10 2018-03-20 郑州云海信息技术有限公司 A kind of Openstack single nodes deployment and virtualization system ICS docking calculation

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103501350A (en) * 2013-10-17 2014-01-08 中国联合网络通信集团有限公司 Method and device for deploying SaaS applications in cloud computing platform
US20160234250A1 (en) * 2015-02-10 2016-08-11 International Business Machines Corporation System and method for software defined deployment of security appliances using policy templates
CN104754032A (en) * 2015-02-27 2015-07-01 浪潮集团有限公司 Method and device for deploying OpenStack
CN105426208A (en) * 2015-11-16 2016-03-23 山东超越数控电子有限公司 OpenStack offline automatic installation method of cloud computing system
CN106506636A (en) * 2016-11-04 2017-03-15 武汉噢易云计算股份有限公司 A kind of cloud platform cluster method and system based on OpenStack
CN107172208A (en) * 2017-06-30 2017-09-15 联想(北京)有限公司 The dispositions method and its system of server
CN107483243A (en) * 2017-08-09 2017-12-15 鹤云来科技有限公司 A kind of automatic deployment method and equipment of OpenStack platforms

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020135228A1 (en) * 2018-12-26 2020-07-02 中兴通讯股份有限公司 Cloud platform deployment method and apparatus, server and storage medium
CN111371579A (en) * 2018-12-26 2020-07-03 中兴通讯股份有限公司 Cloud platform deployment method, device, server and storage medium
EP3905588A4 (en) * 2018-12-26 2022-01-19 ZTE Corporation Cloud platform deployment method and apparatus, server and storage medium
CN111371579B (en) * 2018-12-26 2023-04-07 中兴通讯股份有限公司 Cloud platform deployment method, device, server and storage medium
CN109981348A (en) * 2019-02-26 2019-07-05 启迪云计算有限公司 A kind of cloud node mixed deployment method
CN109995878A (en) * 2019-04-12 2019-07-09 成都四方伟业软件股份有限公司 Resource share method and distributed cluster system
CN111045599A (en) * 2019-10-31 2020-04-21 平安科技(深圳)有限公司 Parameter configuration method and device of distributed storage system and computer equipment
CN111897539A (en) * 2020-07-20 2020-11-06 国云科技股份有限公司 Method and device for deploying applications according to service roles
CN111897539B (en) * 2020-07-20 2024-03-29 国云科技股份有限公司 Method and device for deploying application according to service roles
CN112003754A (en) * 2020-08-25 2020-11-27 北京浪潮数据技术有限公司 Visual node registration method for OpenStack cluster
CN112995169B (en) * 2021-02-22 2022-12-06 中国工商银行股份有限公司 Method and device for deploying firewall
CN112995169A (en) * 2021-02-22 2021-06-18 中国工商银行股份有限公司 Method and device for deploying firewall
CN113064600A (en) * 2021-04-20 2021-07-02 支付宝(杭州)信息技术有限公司 Method and device for deploying application
CN114221808B (en) * 2021-12-14 2024-02-06 平安壹钱包电子商务有限公司 Security policy deployment method and device, computer equipment and readable storage medium
CN114221808A (en) * 2021-12-14 2022-03-22 平安壹钱包电子商务有限公司 Security policy deployment method and device, computer equipment and readable storage medium
CN114244836A (en) * 2021-12-17 2022-03-25 杭州视洞科技有限公司 Batch management method for servers in mixed cloud scene
CN114244836B (en) * 2021-12-17 2023-12-05 杭州视洞科技有限公司 Method for managing servers in batch in hybrid cloud scene
CN114244891A (en) * 2021-12-22 2022-03-25 北京天融信网络安全技术有限公司 Inter-container communication method and device, electronic equipment and storage medium
CN114244891B (en) * 2021-12-22 2024-01-23 北京天融信网络安全技术有限公司 Communication method and device between containers, electronic equipment and storage medium

Also Published As

Publication number Publication date
WO2020024413A1 (en) 2020-02-06
CN109067877B (en) 2021-08-24

Similar Documents

Publication Publication Date Title
CN109067877A (en) A kind of control method, server and the storage medium of cloud computing platform deployment
EP3761170B1 (en) Virtual machine creation method and apparatus
CN105681081B (en) Physical machine management method and device
WO2019184967A1 (en) Method and apparatus for deploying network slice
CN103475722B (en) A kind of business cooperation platform realizes system
CN110531987A (en) Management method, device and computer readable storage medium based on Kubernetes cluster
CN104753697B (en) A kind of method, equipment and system controlling the automatic beginning of the network equipment
US20080256531A1 (en) Method and Apparatus for Deploying and Instantiating Multiple Instances of Applications in Automated Data Centers Using Application Deployment Template
CN107580083A (en) A kind of method and system of container IP address distribution
CN113645071B (en) Cluster deployment method, system, medium and electronic terminal
CN106506636A (en) A kind of cloud platform cluster method and system based on OpenStack
CN111162941B (en) Method for automatically managing virtual IP (Internet protocol) in Kubernetes environment
CN118012572A (en) Techniques for automatically configuring minimum cloud service access rights for container applications
CN104735176B (en) The method, apparatus and server veneer that PXE starts
CN103685608A (en) Method and device for automatically configuring IP (Internet Protocol) address of security virtual machine
CN109799998A (en) OpenStack cluster configuration and batch dispositions method and system
JP2005092880A (en) Mechanism for automatically establishing resource grid
CN111130962A (en) Automatic configuration method, equipment, system and storage medium for switch
CN110928554A (en) Deployment method, device, equipment and storage medium
CN112328390A (en) Method and device for automatically implementing cloud management platform and storage medium
CN114124740A (en) VNF instantiation method and device
CN105406983A (en) Cloud computing network management control method based on user requirements
EP4258609A1 (en) Container cluster management method and apparatus
US7266820B2 (en) Trunked customized connectivity process for installing software onto an information handling system
WO2017107098A1 (en) Parameter configuration method, device and system for virtualized network function (vnf)

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