CN107666493A - A kind of configuration method for database and its equipment - Google Patents

A kind of configuration method for database and its equipment Download PDF

Info

Publication number
CN107666493A
CN107666493A CN201610598779.0A CN201610598779A CN107666493A CN 107666493 A CN107666493 A CN 107666493A CN 201610598779 A CN201610598779 A CN 201610598779A CN 107666493 A CN107666493 A CN 107666493A
Authority
CN
China
Prior art keywords
virtual machine
database
server
business
cloud storage
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
CN201610598779.0A
Other languages
Chinese (zh)
Other versions
CN107666493B (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.)
Tencent Cloud Computing Beijing Co Ltd
Original Assignee
Tencent 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610598779.0A priority Critical patent/CN107666493B/en
Publication of CN107666493A publication Critical patent/CN107666493A/en
Application granted granted Critical
Publication of CN107666493B publication Critical patent/CN107666493B/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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality

Abstract

The embodiment of the present invention discloses a kind of configuration method for database and its equipment, and wherein method comprises the following steps:The database for obtaining the Service Database that data write-in is carried out to target service submitted creates conditional information;The virtual machine according to corresponding to database establishment conditional information creates the target service in the destination server under cloud platform, and to the virtual machine configuration cloud storage resource;Initialization process is carried out to the cloud storage resource of the virtual machine and the virtual machine, and the domain that enters that public network domain logic is carried out to the virtual machine is handled;The database of the virtual machine is configured after domain processing is entered, connects the database and cloud storage resource of the virtual machine.Using the present invention, it is possible to achieve database automatically configures, and the quantity of the Service Database of increase server carrying, lifts the utilization rate of server, effectively reduces the costs such as human resources, hardware resource.

Description

A kind of configuration method for database and its equipment
Technical field
The present invention relates to Internet technical field, more particularly to a kind of configuration method for database and its equipment.
Background technology
As Internet technology is constantly developed and perfect, by service server configuration database can meet net The storage demand of business datum in network, existing database is generally all artificially to be configured, while relies on service server The hard-disc storage space of itself stores to business datum, as the growth of business is, it is necessary to accordingly increase service server Quantity, cause the increase of the costs such as human resources, hardware resource, reduce the utilization rate of service server.
The content of the invention
The embodiment of the present invention provides a kind of configuration method for database and its equipment, it is possible to achieve and database automatically configures, Increase the quantity of the Service Database of server carrying, lift the utilization rate of server, effectively reduce human resources, hardware money The costs such as source.
First aspect of the embodiment of the present invention provides a kind of configuration method for database, it may include:
The database for obtaining the Service Database that data write-in is carried out to target service submitted creates conditional information;
Conditional information is created according to the database target service pair is created in the destination server under cloud platform The virtual machine answered, and to the virtual machine configuration cloud storage resource;
Initialization process is carried out to the cloud storage resource of the virtual machine and the virtual machine, and the virtual machine is carried out Public network domain logic enters domain processing;
The database of the virtual machine is configured after domain processing is entered, connects the database and cloud storage money of the virtual machine Source.
Second aspect of the embodiment of the present invention provides a kind of database configuration equipment, it may include:
Information acquisition unit, for obtaining the database for the Service Database that data write-in is carried out to target service submitted Create conditional information;
Resource configuration unit, created for creating conditional information according to the database in the destination server under cloud platform Virtual machine corresponding to the target service is built, and to the virtual machine configuration cloud storage resource;
Virtual machine initialization unit, for being carried out to the cloud storage resource of the virtual machine and the virtual machine at initialization Reason, and the domain that enters that public network domain logic is carried out to the virtual machine is handled;
Database dispensing unit, for configuring the database of the virtual machine after domain processing is entered, connect the virtual machine Database and cloud storage resource.
In embodiments of the present invention, conditional information is created by the database obtained to the Service Database of target service, Conditional information is created according to database virtual machine corresponding to target service is created in the destination server under cloud platform, to virtual Machine configures cloud storage resource, and carries out initialization process to the cloud storage resource of virtual machine and virtual machine and virtual machine is carried out Public network domain logic enter domain processing, enter domain processing after configure virtual machine database, the database of final connecting virtual machine and Cloud storage resource.By according to obtain database create conditional information, in destination server complete virtual machine establishment with And the configuration of database, realize the automatic configuration process of database, while by using virtual machine and the mode of cloud storage, So that the quantity increase for the Service Database that server can carry, improves the utilization rate of server, effectively reduces manpower money The costs such as source, hardware resource.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of configuration method for database provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another configuration method for database provided in an embodiment of the present invention;
Fig. 3 is a kind of example schematic of database configuration provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another configuration method for database provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of database configuration equipment provided in an embodiment of the present invention;
Fig. 6 is the structural representation of resource configuration unit provided in an embodiment of the present invention;
Fig. 7 is the structural representation of virtual machine initialization unit provided in an embodiment of the present invention;
Fig. 8 is the structural representation of database dispensing unit provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another database configuration equipment provided in an embodiment of the present invention;
Figure 10 is the structural representation of another database configuration equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, rather than whole embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other under the premise of creative work is not made Embodiment, belong to the scope of protection of the invention.
Configuration method for database provided in an embodiment of the present invention can apply in the server under cloud platform to items The scene of business configuration database, such as:Database configuration equipment obtains the industry that data write-in is carried out to target service submitted Business wide area information server creates conditional information, and the database configuration equipment creates conditional information in cloud according to the database Virtual machine corresponding to the target service is created in destination server under platform, and the virtual machine configuration cloud storage is provided Source, the database configuration equipment carry out initialization process to the cloud storage resource of the virtual machine and the virtual machine, and right The domain that enters that the virtual machine carries out public network domain logic is handled, and the database configuration equipment configures described virtual after domain processing is entered The database of machine, connect the database of the virtual machine and the scene of cloud storage resource etc..By being created according to the database obtained Conditional information is built, the establishment of virtual machine and the configuration of database are completed in destination server, realizes the automatic of database Configuration process, while by using virtual machine and the mode of cloud storage so that the number for the Service Database that server can carry Amount increase, improves the utilization rate of server, effectively reduces the costs such as human resources, hardware resource.
The present embodiments relate to database configuration equipment can be management is monitored to the server under cloud platform Background service equipment;The cloud platform may be used to provide the necessary basis such as computing resource, storage resource, Internet resources mutually Networking technology (Internet Technology, IT) infrastructure services.
Below in conjunction with accompanying drawing 1- accompanying drawings 4, configuration method for database provided in an embodiment of the present invention is described in detail.
Fig. 1 is referred to, for the embodiments of the invention provide a kind of schematic flow sheet of configuration method for database.Such as Fig. 1 institutes Show, the methods described of the embodiment of the present invention may comprise steps of S101-S104.
S101, the database for obtaining the Service Database that data write-in is carried out to target service of submission create condition letter Breath;
Specifically, database configuration equipment can obtain the business number that data write-in is carried out to target service of user's submission Conditional information is created according to the database in storehouse, the target service carries out business datum write-in to be currently needed for configuration service database The Network of storage, such as:Game, special webpage etc., the business datum are that the target service is produced in terminal operating Raw data, can be for data or the business framework for presently described target service caused by personal operation Caused data, such as:Web page resources data in game in personal game data, special webpage etc., the database Create the database that conditional information can be inputted by the developer of the target service for the demand of the target service The relevant information of establishment, such as:Type of database, database configuration needs information etc., the database configuration needs information can For representing whether presently configured Service Database needs the demand information for High Availabitity, it is preferred that the database Configuration equipment can be selected with output database configuration interface for developer.
S102, conditional information is created according to the database target industry is created in the destination server under cloud platform Virtual machine corresponding to business, and to the virtual machine configuration cloud storage resource;
Specifically, the database configuration equipment can create mesh of the conditional information under cloud platform according to the database Virtual machine corresponding to the target service is created in mark server, and to the virtual machine configuration cloud storage resource, further, The database configuration equipment may determine that whether the type of database that the database creates selected in conditional information is pre- If type of database, such as:It may determine that whether mirror image title is SQL Server, and judge whether the mirror image title includes again 2012 printed words, that is, judge whether selected type of database is SQL Server 2012 etc., and judge the database configuration Whether demand information is designated as High Availabitity demand information.
The database configuration equipment can be pressed in the server cluster under based on the computer room mark selected by cloud platform Destination server is determined using polling mode according to the putting in order for network address information of each server in the server cluster, Virtual machine corresponding to the target service is created in the destination server, and to the virtual machine configuration cloud storage resource. It is understood that computer room mark is both provided with for the computer room where each server, for being accurately positioned current server institute Region, the database creates the computer room mark that can also include in conditional information selected by developer, it is preferred that institute Stating database configuration equipment can also be named to the virtual machine, and each server under the selected computer room mark is all Network address information is previously provided with, such as:Network interconnection agreement (Internet Protocol, IP) address etc., the data Storehouse configuration equipment can putting in order and find the in each server by the way of poll according to network address information One available server, such as:Possess enough spaces and create server of virtual machine etc., by first available service Device is defined as destination server, and virtual machine corresponding to the target service is created in the destination server, while to institute State virtual machine and the network address information of public network domain logic is set, and the virtual machine configuration cloud storage resource, the public network are patrolled Collecting domain can be expressed as to outer network, and the exterior terminal for carrying the target service can be by empty described in the external network connection Plan machine, the cloud storage resource are the storage resource of the memory node selected in the cloud storage resource pool, the storage section Multiple OSD can be included in point.
S103, initialization process is carried out to the cloud storage resource of the virtual machine and the virtual machine, and to described virtual The domain that enters that machine carries out public network domain logic is handled;
Specifically, the database configuration equipment can be carried out to the cloud storage resource of the virtual machine and the virtual machine Initialization process, can be described virtual including being named, binding to the virtual machine to the process of virtual machine initialization process The network address information of the public network domain logic of machine, disk initialization etc., cloud storage initializing resource processing can be included Disk scanning, disk activation, disk formatting and drive etc. is set using, the database configuration equipment is to described virtual After the cloud storage resource of machine and the virtual machine carries out initialization process, public network logic further can be carried out to the virtual machine Domain enters domain processing.
S104, configures the database of the virtual machine after domain processing is entered, and the database and cloud for connecting the virtual machine are deposited Store up resource;
Specifically, database configuration equipment the virtual machine is carried out public network domain logic enter domain processing after, can Further to configure the database of the virtual machine, while connect the database and cloud storage resource of the virtual machine.
In embodiments of the present invention, conditional information is created by the database obtained to the Service Database of target service, Conditional information is created according to database virtual machine corresponding to target service is created in the destination server under cloud platform, to virtual Machine configures cloud storage resource, and carries out initialization process to the cloud storage resource of virtual machine and virtual machine and virtual machine is carried out Public network domain logic enter domain processing, enter domain processing after configure virtual machine database, the database of final connecting virtual machine and Cloud storage resource.By according to obtain database create conditional information, in destination server complete virtual machine establishment with And the configuration of database, realize the automatic configuration process of database, while by using virtual machine and the mode of cloud storage, So that the quantity increase for the Service Database that server can carry, improves the utilization rate of server, effectively reduces manpower money The costs such as source, hardware resource.
It should be noted that developer creates conditional information, example for the database that the demand of current business is inputted Such as:Type of database, database configuration needs information etc., conditional information is created according to different databases, two kinds can be provided Database schema, it is respectively " resident availability group creates " and " unit establishment ", below in conjunction with accompanying drawing 2- accompanying drawings 4, to " resident Availability group establishment " and " unit establishment " two kinds of database schemas describe in detail respectively.
Fig. 2 is referred to, for the embodiments of the invention provide the schematic flow sheet of another configuration method for database.Such as Fig. 2 Shown, the methods described of the embodiment of the present invention is used for the configuration process for illustrating the database schema of " resident availability group creates ", This method may comprise steps of S201- steps S207.
S201, the database for obtaining the Service Database that data write-in is carried out to target service of submission create condition letter Breath;
Specifically, database configuration equipment can obtain the business number that data write-in is carried out to target service of user's submission Conditional information is created according to the database in storehouse, the target service carries out business datum write-in to be currently needed for configuration service database The Network of storage, such as:Game, special webpage etc., the business datum are that the target service is produced in terminal operating Raw data, can be for data or the business framework for presently described target service caused by personal operation Caused data, such as:Web page resources data in game in personal game data, special webpage etc., the database Create the database that conditional information can be inputted by the developer of the target service for the demand of the target service The relevant information of establishment, such as:Type of database, database configuration needs information etc., the database configuration needs information can For representing whether presently configured Service Database needs the demand information for High Availabitity, it is preferred that the database Configuration equipment can be selected with output database configuration interface for developer.
S202, when the selected type of database is presetting database type, and the database configuration needs are believed When breath is designated as High Availabitity demand information, the first industry corresponding to the target service is created in the server cluster under cloud platform Business virtual machine and the second business virtual machine, and cloud is respectively configured to first business virtual machine and second business virtual machine Storage resource;
Specifically, the database configuration equipment may determine that the database creates the data selected in conditional information Whether storehouse type is presetting database type, such as:It may determine that whether mirror image title is SQLServer, and judge the mirror again Whether picture title includes 2012 printed words, that is, judges whether selected type of database is SQL Server 2012 etc., and judge Whether the database configuration needs information is designated as High Availabitity demand information.
When the selected type of database is presetting database type, and the database configuration needs information indicates For High Availabitity demand information when, database configuration equipment can configure the database schema of " resident availability group creates ", The database schema that the resident availability group creates can be understood as creating the failover cluster of three virtual machines, wherein two Platform business virtual machine can respective bearer service database, while can be with synchronous service data, a virtual machine is arbitration in addition Virtual machine, for determining the business virtual machine that is broken down in the failover cluster jointly with any business virtual machine, , can by arbitrating the real-time monitoring of virtual machine and another business virtual machine when wherein a business virtual machine breaks down To determine that the business virtual machine of currently practical bearer service breaks down, target service can point to another business void The Service Database of plan machine, continue as target service and service is provided.Preferably, the database configuration equipment can be in cloud platform Under server cluster in create the first business virtual machine corresponding to the target service, the second business virtual machine and arbitration virtual Machine, and cloud storage resource is respectively configured to first business virtual machine and second business virtual machine.Further, it is described Database configures equipment in the server cluster under based on the computer room mark selected by cloud platform, according to the server cluster In the putting in order for network address information of each server first server is determined using polling mode, in the first server It is middle to create the first business virtual machine corresponding to the target service, it is to be understood that for the computer room where each server all Computer room mark is provided with, for the region being accurately positioned where current server, the database creates may be used also in conditional information To be identified including the computer room selected by developer, each server under the selected computer room mark is all previously provided with net Network address information, the network address information of each server can be the network address information of private network domain logic, or The network address information of public network domain logic, the public network domain logic can be expressed as to outer network, the exterior terminal of bearer service Can be by each server described in the external network connection, the private network domain logic is internal LAN, each service Intercommunication can be carried out by the LAN between device, the network address information is preferably IP address, and the database is matched somebody with somebody Install it is standby can putting in order and first found in each server by the way of poll according to network address information Available server, such as:Possess enough spaces and create server of virtual machine etc., first available server is true It is set to first server, and the first business virtual machine corresponding to the target service is created in the first server, preferably , the database configuration equipment can also be named to first business virtual machine, and naming rule can be:Computer room mark Knowledge+MSSQL+6 positions random sequence number -1, and cloud storage resource, the cloud storage resource are configured to first business virtual machine For the storage resource of the memory node selected in the cloud storage resource pool, multiple offers can be included in the memory node Storage resource (Object Storage Device, OSD).The database configuration equipment is in the server cluster except described In the first remaining server outside first server, according to the network address information of each server in the described first remaining server Put in order second server determined using polling mode, created in the second server corresponding to the target service Second business virtual machine, and cloud storage resource is configured to second business virtual machine, database configuration equipment can be with Second business virtual machine is named, naming rule can be:Computer room mark+MSSQL+6 positions random sequence number -2, together Reason, database configuration equipment the server cluster in addition to the first server and the second server second In remaining server, put in order according to the network address information of each server in the described second remaining server using poll Mode determines the 3rd server, is created in the 3rd server and arbitrates virtual machine corresponding to the target service.
It is understood that the determination of second server, the establishment of the second business virtual machine and the second business virtual machine The configuration of cloud storage resource can be with the determination of above-mentioned first server, the establishment of the first business virtual machine and the first industry The process of the configuration of the cloud storage resource of business virtual machine is identical, it is necessary to explanation, the cloud of the first business virtual machine configuration Storage resource needs to be located in different memory nodes from the cloud storage resource that the second business virtual machine configures.3rd server It is determined that and creating for arbitration virtual machine can be with the determination of above-mentioned first server and the establishment of the first business virtual machine Process is identical, it is to be understood that because arbitration process machine is not related to service bearer, it is therefore preferable that can be to arbitration process machine Use minimalist configuration.
The database configuration equipment can be respectively to first business virtual machine, second business virtual machine and institute The network address information that arbitration virtual machine sets private network domain logic is stated, wherein, the first business virtual machine, second business are virtual The network address information of the private network domain logic of any virtual machine is according to any virtual machine in machine and the arbitration virtual machine The physical machine mark of subordinate server is configured, it is to be understood that the administrative staff of server can be to each server Physical machine is set to identify, such as:Gu money number etc., database configuration equipment can be identified according to the physical machine of server and Private network domain logic where server, the business virtual machine of SEPARATE APPLICATION first, second business in network address information pond The network address information of the private network domain logic of virtual machine and the arbitration virtual machine.
In order to preferably ensure the characteristic of High Availabitity, the database configuration equipment can remove institute in the server cluster Second server is determined in remaining server where stating first server outside the Servers-all of frame, while can be described Server cluster is all except frame where the Servers-all of frame where the first server and the second server The 3rd server, i.e. first server, second server and the 3rd server difference are determined in remaining server outside server In the different frames with computer room, by select with a server of computer room difference frame carry out database establishment and Building for arbitration virtual machine, can avoid the other server failure of chassis level on the basis of time delay is reduced, effective to ensure height Available characteristic, certainly, for the not high business datum of real-time, the server of different computer rooms can be used to carry out database Create and arbitrate building for virtual machine.
S203, to first business virtual machine, second business virtual machine, the arbitration virtual machine, described first The cloud storage resource of business virtual machine, the cloud storage resource of second business virtual machine carry out initialization process;
Specifically, the database configuration equipment can monitor that first business virtual machine and the second business are virtual Machine from creation state be transformed into running status when, respectively to first business virtual machine, the second business virtual machine, the first business Cloud storage resource, the cloud storage resource of the second business virtual machine of virtual machine carry out initialization process, the initialization to virtual machine The process of processing can include being named the virtual machine, the network address information of binding the virtual machine, disk are initial Change etc., disk scanning, disk activation, disk formatting can be included to the initialization process of cloud storage resource and are set using Drive etc..
S204, after initialization process according in advance for first business virtual machine, second business virtual machine and The network address information of public network domain logic that the arbitration virtual machine is respectively configured, to first business virtual machine, described the The domain that enters that two business virtual machines and the arbitration virtual machine carry out the public network domain logic is handled;
Specifically, the database configuration equipment can be to first business virtual machine, the second business virtual machine, first The cloud storage resource of business virtual machine, the cloud storage resource of the second business virtual machine carry out after initialization process and waited private network After the completion of the network card configuration of domain logic, according to being first business virtual machine, second business virtual machine and described in advance The network address information for the public network domain logic that arbitration virtual machine is respectively configured, to first business virtual machine, second industry The domain that enters that business virtual machine and the arbitration virtual machine carry out the public network domain logic is handled, it is to be understood that first industry The network address information for the public network domain logic that business virtual machine, second business virtual machine and the arbitration virtual machine are respectively configured Equipment SEPARATE APPLICATION in network address information pond after each virtual machine creating is configured for the database.
S205, the database of first business virtual machine and second business virtual machine are configured after domain processing is entered Database, and the database and cloud storage resource of first business virtual machine are connected, and connection second business is virtual The database and cloud storage resource of machine;
Specifically, the database configuration equipment can configure the database and described second of first business virtual machine The database of business virtual machine, and the database and cloud storage resource of first business virtual machine are connected, and described in connection The database and cloud storage resource of second business virtual machine, it is to be understood that the database configuration equipment can configure master Copy and secondary copy, the primary copy are used for the database for carrying the first business virtual machine, and it possesses read-write capability, described auxiliary Help copy be used for carry the second business virtual machine database, diverted the aim as incipient fault, and the secondary copy can be with For read-only copy, user can be read corresponding business datum by secondary copy, passed through when inquiring about target service By the way of the read and write abruption of database cluster and mirror database, it is easy to rational application hardware resource.
S206, to first business virtual machine, second business virtual machine and the arbitration virtual machine configuration failure The virtual network address information of transfer, and the target is configured to first business virtual machine and second business virtual machine The virtual network address information of business;
Specifically, the database configuration equipment can be to first business virtual machine, second business virtual machine With the virtual network address information of the arbitration virtual machine configuration failure transfer, and to first business virtual machine and described the Two business virtual machines configure the virtual network address information of the target service, it is to be understood that the void of the failure transfer The virtual network address information for intending network address information and the target service can be that the database configures equipment in each void The public network address that plan machine is applied after creating in network address information pond, it is preferred that can be empty according to the first business Public network domain logic where the physical machine mark and first server of the first server belonging to plan machine carries out the event Hinder the application of the virtual network address information of transfer and the virtual network address of the target service, the failure shifts virtual Network address information is used to represent that first business virtual machine, second business virtual machine and the arbitration virtual machine are formed Failover cluster network address, i.e. the virtual network address information that can be shifted according to the failure between three virtual machines In real time or the running status of the database of the first business virtual machine and the database of the second business virtual machine is monitored in timing, is taken simultaneously The network address information of the private network domain logic of each virtual machine is heartbeat network address information.The virtual network of the target service Location information is used for the network address for the data write-in for representing target service, that is, carries the exterior terminal of target service by configuring The business datum of target service is uploaded to the first business virtual machine by the virtual network address information can for stating target service The database of database or the second business virtual machine, without obtaining the network of the actual public network domain logic of the first business virtual machine The network address of the public network domain logic of address or the second business virtual machine reality, avoid because wherein event occurs in a virtual machine , it is necessary to which network address of the batch modification exterior terminal when business datum writes is pointed to during barrier, the data of target service are improved The efficiency of write-in.
S207, using the configuration shape of the creation state of virtual machine, the cloud storage resource described in default monitoring script logging The configuration status of the database of state and the virtual machine;
Specifically, the database configuration equipment can also be set in advance when obtaining the database establishment conditional information Monitoring script is put, creation state, second business that the monitoring script is used to record first business virtual machine are virtual The creation state of machine, the arbitration creation state of virtual machine, the configuration status of the cloud storage resource and the database Configuration status, the establishment of establishment, second business virtual machine when first business virtual machine, the arbitration virtual machine Any process in creation state, the configuration of the cloud storage resource and the configuration of the database occurs abnormal and causes data During the configuration failure of storehouse, the monitoring script can be with generation error daily record, and triggers rolling back action, when database configuration successful, The script of monitoring can generate the announcement information of database configuration successful, and the announcement information is preferably the script made an appointment State value (such as:200 etc.).
For the database schema of " resident availability group create ", please also refer to Fig. 3, be the embodiments of the invention provide A kind of example schematic of database configuration.As shown in figure 3, first server, second server are determined by polling mode With the 3rd server, the first business virtual machine, while carry cloud storage resource are created under the first machine tool in first server, The second business virtual machine is created under the second machine tool in second server, is created under the 3rd machine tool in the 3rd server secondary Virtual machine is cut out, while carry cloud storage resource is distinguished to the first business virtual machine and the second business virtual machine, cloud storage resource connects A memory node in cloud storage resource pool is connect, the memory node includes multiple OSD, for follow-up storage service data Business datum in the DB1 of storehouse, from figure 3, it can be seen that the Service Database configured in the first business virtual machine and the second business are empty The Service Database configured in plan machine is DB1, and it is for target service and can be synchronous to be expressed as both Service Databases Database, while phase can in real time or be regularly carried out between the first business virtual machine, the second business virtual machine and arbitration virtual machine Mutually monitor, to detect whether to have database failure, the database schema of " resident availability group creates " is realized with this.
In embodiments of the present invention, in embodiments of the present invention, by obtaining the number to the Service Database of target service Conditional information is created according to storehouse, create conditional information according to database creates target service pair in the destination server under cloud platform The virtual machine answered, carried out to virtual machine configuration cloud storage resource, and to the cloud storage resource of virtual machine and virtual machine at initialization Reason and the database for entering domain processing, virtual machine being configured after domain processing is entered that public network domain logic is carried out to virtual machine, finally connect Connect the database and cloud storage resource of virtual machine.By creating conditional information according to the database obtained, in destination server The establishment of virtual machine and the configuration of database are completed, realizes the automatic configuration process of database, while by using virtual The mode of machine and cloud storage so that the quantity increase for the Service Database that server can carry, improve the utilization of server Rate, effectively reduce the costs such as human resources, hardware resource;By configuring the database schema of " resident availability group creates ", Realize the deployment of High Availabitity framework;By selecting the server with computer room difference frame to carry out the establishment of database and secondary Building for virtual machine is cut out, the other server failure of chassis level can be avoided on the basis of time delay is reduced, it is effective to ensure that height Characteristic.
Fig. 4 is referred to, for the embodiments of the invention provide the schematic flow sheet of another configuration method for database.Such as Fig. 4 Shown, the methods described of the embodiment of the present invention is used for the configuration process for illustrating the database schema of " unit establishment ", and this method can To comprise the following steps S301- steps S305.
S301, the database for obtaining the Service Database that data write-in is carried out to target service of submission create condition letter Breath;
Specifically, database configuration equipment can obtain the business number that data write-in is carried out to target service of user's submission Conditional information is created according to the database in storehouse, the target service carries out business datum write-in to be currently needed for configuration service database The Network of storage, such as:Game, special webpage etc., the business datum are that the target service is produced in terminal operating Raw data, can be for data or the business framework for presently described target service caused by personal operation Caused data, such as:Web page resources data in game in personal game data, special webpage etc., the database Create the database that conditional information can be inputted by the developer of the target service for the demand of the target service The relevant information of establishment, such as:Type of database, database configuration needs information etc., the database configuration needs information can For representing whether presently configured Service Database needs the demand information for High Availabitity, it is preferred that the database Configuration equipment can be selected with output database configuration interface for developer.
S302, when the selected type of database is presetting database type, and the database configuration needs are believed When breath instruction is not High Availabitity demand information, in the server cluster under based on the computer room mark selected by cloud platform, according to Putting in order for the network address information of each server determines destination server using polling mode in the server cluster, Virtual machine corresponding to the target service is created in the destination server, and to the virtual machine configuration cloud storage resource;
Specifically, the database configuration equipment may determine that the database creates the data selected in conditional information Whether storehouse type is presetting database type, such as:It may determine that whether mirror image title is SQLServer, and judge the mirror again Whether picture title includes 2012 printed words, that is, judges whether selected type of database is SQL Server 2012 etc., and judge Whether the database configuration needs information is designated as High Availabitity demand information.
When the selected type of database is presetting database type, and the database configuration needs information indicates When not being High Availabitity demand information, the database configuration equipment can configure the database schema of " unit establishment ", the list The database schema for hitting establishment can be understood as single virtual machine bearer service database.Preferably, the database is matched somebody with somebody and installed It is standby can be in the server cluster under based on the computer room mark selected by cloud platform, according to respectively being serviced in the server cluster Putting in order for the network address information of device determines destination server using polling mode, and institute is created in the destination server Virtual machine corresponding to target service is stated, and to the virtual machine configuration cloud storage resource.It is understood that it is directed to each server The computer room at place is both provided with computer room mark, and for the region being accurately positioned where current server, the database creates bar The computer room mark selected by developer can also be included in part information, it is preferred that the database configuration equipment can also be right The virtual machine is named, and naming rule can be:Computer room mark+MSSQL+6 positions random sequence number -0, it is described selected Each server under computer room mark is all previously provided with network address information, such as:IP address etc., the database configure equipment Can according to network address information put in order and found by the way of poll in each server first it is available Server, such as:Possess enough spaces and create server of virtual machine etc., first available server is defined as mesh Server is marked, and virtual machine corresponding to the target service is created in the destination server, while the virtual machine is set The network address information of public network domain logic is put, and to the virtual machine configuration cloud storage resource, the public network domain logic can be with table It is shown as to outer network, the exterior terminal for carrying the target service can be described by virtual machine described in the external network connection Cloud storage resource is the storage resource of the memory node selected in the cloud storage resource pool, can be wrapped in the memory node Include multiple OSD.
S303, initialization process is carried out to the cloud storage resource of the virtual machine and the virtual machine, and to described virtual The domain that enters that machine carries out public network domain logic is handled;
Specifically, the database configuration equipment can be carried out to the cloud storage resource of the virtual machine and the virtual machine Initialization process, can be described virtual including being named, binding to the virtual machine to the process of virtual machine initialization process The network address information of the public network domain logic of machine, disk initialization etc., cloud storage initializing resource processing can be included Disk scanning, disk activation, disk formatting and drive etc. is set using, the database configuration equipment is to described virtual After the cloud storage resource of machine and the virtual machine carries out initialization process, public network logic further can be carried out to the virtual machine Domain enters domain processing.
S304, configures the database of the virtual machine after domain processing is entered, and the database and cloud for connecting the virtual machine are deposited Store up resource;
Specifically, database configuration equipment the virtual machine is carried out public network domain logic enter domain processing after, can Further to configure the database of the virtual machine, while connect the database and cloud storage resource of the virtual machine.
S305, using the configuration shape of the creation state of virtual machine, the cloud storage resource described in default monitoring script logging The configuration status of the database of state and the virtual machine;
Specifically, the database configuration equipment can also be set in advance when obtaining the database establishment conditional information Put monitoring script, creation state, the configuration status of the cloud storage resource monitored script and be used to record the virtual machine With the configuration status of the database of the virtual machine, the configuration of establishment, the cloud storage resource when the virtual machine and described When any process in the configuration of the database of virtual machine exception occurs and causes database configuration failure, the monitoring script can With generation error daily record, and rolling back action is triggered, when database configuration successful, the monitoring script can generate database and match somebody with somebody Put successful announcement information, the announcement information be preferably make an appointment script status value (such as:200 etc.).
In embodiments of the present invention, conditional information is created by the database obtained to the Service Database of target service, Conditional information is created according to database virtual machine corresponding to target service is created in the destination server under cloud platform, to virtual Machine configures cloud storage resource, and carries out initialization process to the cloud storage resource of virtual machine and virtual machine and virtual machine is carried out Public network domain logic enter domain processing, enter domain processing after configure virtual machine database, the database of final connecting virtual machine and Cloud storage resource.By according to obtain database create conditional information, in destination server complete virtual machine establishment with And the configuration of database, realize the automatic configuration process of database, while by using virtual machine and the mode of cloud storage, So that the quantity increase for the Service Database that server can carry, improves the utilization rate of server, effectively reduces manpower money The costs such as source, hardware resource.
Below in conjunction with accompanying drawing 5- accompanying drawings 9, database provided in an embodiment of the present invention configuration equipment is described in detail. It should be noted that the database configuration equipment shown in accompanying drawing 5- accompanying drawings 9, for performing Fig. 1-embodiment illustrated in fig. 4 of the present invention Method, for convenience of description, illustrate only the part related to the embodiment of the present invention, particular technique details does not disclose, please With reference to the embodiment shown in Fig. 1-Fig. 4 of the present invention.
Fig. 5 is referred to, is that the embodiments of the invention provide the structural representation that a kind of database configures equipment.Such as Fig. 5 institutes Show, the database configuration equipment 1 of the embodiment of the present invention can include:Information acquisition unit 11, resource configuration unit 12, void Plan machine initialization unit 13 and database dispensing unit 14.
Information acquisition unit 11, for obtaining the data for the Service Database that data write-in is carried out to target service submitted Storehouse creates conditional information;
In the specific implementation, described information acquiring unit 11 can obtain user submission to target service carry out data write-in Service Database database create conditional information, the target service for be currently needed for configuration service database carry out business The Network of data write-in storage, such as:Game, special webpage etc., the business datum are the target service in terminal Data caused by operation, can be for data caused by personal operation or for presently described target service Data caused by business framework, such as:Web page resources data in game in personal game data, special webpage etc., institute Stating database establishment conditional information can be inputted by the developer of the target service for the demand of the target service Database create relevant information, such as:Type of database, database configuration needs information etc., the database configuration need Information is asked to can be used to indicate that whether presently configured Service Database needs the demand information for High Availabitity, it is preferred that institute Stating database configuration equipment 1 can be with output database configuration interface so that developer is selected.
Resource configuration unit 12, for creating conditional information in the destination server under cloud platform according to the database Virtual machine corresponding to the target service is created, and to the virtual machine configuration cloud storage resource;
In the specific implementation, the resource configuration unit 12 can create conditional information under cloud platform according to the database Destination server in create virtual machine corresponding to the target service, and to the virtual machine configuration cloud storage resource, enter one Step, the resource configuration unit 12 may determine that whether the database creates type of database selected in conditional information For presetting database type, such as:It may determine that whether mirror image title is SQL Server, and whether judge the mirror image title again Comprising 2012 printed words, that is, judge whether selected type of database is SQL Server 2012 etc., and judge the database Whether configuration needs information is designated as High Availabitity demand information.
The resource configuration unit 12 can be pressed in the server cluster under based on the computer room mark selected by cloud platform Destination server is determined using polling mode according to the putting in order for network address information of each server in the server cluster, Virtual machine corresponding to the target service is created in the destination server, and to the virtual machine configuration cloud storage resource. It is understood that computer room mark is both provided with for the computer room where each server, for being accurately positioned current server institute Region, the database creates the computer room mark that can also include in conditional information selected by developer, it is preferred that institute Stating resource configuration unit 12 can also be named to the virtual machine, and each server under the selected computer room mark is all Network address information is previously provided with, such as:IP address etc., the resource configuration unit 12 can be according to network address information Put in order and find first available server in each server by the way of poll, such as:Possess enough Space creates server of virtual machine etc., and first available server is defined as into destination server, and in the target Virtual machine corresponding to the target service is created in server, while the network address of public network domain logic is set to the virtual machine Information, and the virtual machine configuration cloud storage resource, the public network domain logic can be expressed as to outer network, carry the mesh The exterior terminal of mark business can be by virtual machine described in the external network connection, and the cloud storage resource is in the cloud storage The storage resource of the memory node selected in resource pool, multiple OSD can be included in the memory node.
It should be noted that developer creates conditional information, example for the database that the demand of current business is inputted Such as:Type of database, database configuration needs information etc., conditional information is created according to different databases, two kinds can be provided Database schema, it is respectively " resident availability group creates " and " unit establishment ".
For the embodiment of the present invention the first feasible embodiment (database mould of " resident availability group creates " Formula), please also refer to Fig. 6, for the embodiments of the invention provide the structural representation of resource configuration unit.It is as shown in fig. 6, described Resource configuration unit 12 can include:
Virtual machine creating subelement 121, for being presetting database type when the selected type of database, and institute When stating database configuration needs information and being designated as High Availabitity demand information, the clothes under based on the computer room mark selected by cloud platform Be engaged in device cluster in, according in the server cluster network address information of each server put in order it is true using polling mode Determine first server, the first business virtual machine corresponding to the target service is created in the first server, and to described First business virtual machine configures cloud storage resource;
The virtual machine creating subelement 121, be additionally operable to the server cluster in addition to the first server In one remaining server, wheel is used according to putting in order for the network address information of each server in the described first remaining server Inquiry mode determines second server, and the second business virtual machine corresponding to the target service is created in the second server, And cloud storage resource is configured to second business virtual machine;
The virtual machine creating subelement 121, it is additionally operable in the server cluster except the first server and described In the second remaining server outside second server, according to the network address information of each server in the described second remaining server Put in order the 3rd server determined using polling mode, created in the 3rd server corresponding to the target service Arbitrate virtual machine;
In the specific implementation, when the selected type of database is presetting database type, and the database configures When demand information is designated as High Availabitity demand information, the database configuration equipment 1 can configure " resident availability group creates " Database schema, the failure that the database schema that the resident availability group creates can be understood as creating three virtual machines turns Move cluster, wherein two business virtual machines can respective bearer service database, while can be with synchronous service data, one in addition Virtual machine is arbitration virtual machine, for determining what is broken down in the failover cluster jointly with any business virtual machine Business virtual machine, when wherein business virtual machine breaks down, by arbitrating virtual machine and another business virtual machine Monitor in real time, it may be determined that the business virtual machine of currently practical bearer service breaks down, and target service can be pointed to described The Service Database of another business virtual machine, continue as target service and service is provided.Preferably, virtual machine creating is single Member 121 can create the first business virtual machine corresponding to the target service, the second industry in the server cluster under cloud platform Business virtual machine and arbitration virtual machine, and cloud storage is respectively configured to first business virtual machine and second business virtual machine Resource.Further, server set of the virtual machine creating subelement 121 under based on the computer room mark selected by cloud platform In group, first is determined using polling mode according to the putting in order for network address information of each server in the server cluster Server, the first business virtual machine corresponding to the target service is created in the first server, it is to be understood that pin Computer room mark is both provided with to the computer room where each server, for the region being accurately positioned where current server, the number The computer room that being created according to storehouse can also be included in conditional information selected by developer identifies, under the selected computer room mark Each server is all previously provided with network address information, and the network address information of each server can be private network domain logic Network address information, or the network address information of public network domain logic, the public network domain logic can be expressed as to outer net Network, the exterior terminal of bearer service can be by each server described in the external network connection, and the private network domain logic is internal LAN, intercommunication can be carried out by the LAN between each server, the network address information is preferred For IP address, the virtual machine creating subelement 121 can putting in order and using the side of poll according to network address information Formula finds first available server in each server, such as:Possesses the server that enough spaces create virtual machine Deng first available server being defined as into first server, and the target industry is created in the first server First business virtual machine corresponding to business, it is preferred that the virtual machine creating subelement 121 can also be virtual to first business Machine is named, and naming rule can be:Computer room mark+MSSQL+6 positions random sequence number -1, and it is virtual to first business Machine configures cloud storage resource, and the cloud storage resource is the storage money of the memory node selected in the cloud storage resource pool Source, multiple offer storage resources (Object Storage Device, OSD) can be included in the memory node.It is described virtual Machine creates subelement 121 in first remaining server of the server cluster in addition to the first server, according to described The putting in order for network address information of each server determines second server using polling mode in first remaining server, The second business virtual machine corresponding to the target service is created in the second server, and second business virtual machine is matched somebody with somebody Cloud storage resource is put, the virtual machine creating subelement 121 can also be named to second business virtual machine, name rule Can be then:Computer room mark+MSSQL+6 positions random sequence number -2, similarly, the virtual machine creating subelement 121 is in the clothes It is engaged in the second remaining server of the device cluster in addition to the first server and the second server, it is remaining according to described second Putting in order for the network address information of each server determines the 3rd server using polling mode in server, the described 3rd Arbitration virtual machine corresponding to the target service is created in server.
It is understood that the determination of second server, the establishment of the second business virtual machine and the second business virtual machine The configuration of cloud storage resource can be with the determination of above-mentioned first server, the establishment of the first business virtual machine and the first industry The process of the configuration of the cloud storage resource of business virtual machine is identical, it is necessary to explanation, the cloud of the first business virtual machine configuration Storage resource needs to be located in different memory nodes from the cloud storage resource that the second business virtual machine configures.3rd server It is determined that and creating for arbitration virtual machine can be with the determination of above-mentioned first server and the establishment of the first business virtual machine Process is identical, it is to be understood that because arbitration process machine is not related to service bearer, it is therefore preferable that can be to arbitration process machine Use minimalist configuration.
In order to preferably ensure the characteristic of High Availabitity, the virtual machine creating subelement 121 can be in the server set Determine second server in remaining server in addition to group's Servers-all of frame where the first server, while can be with In the server cluster except frame where the Servers-all of frame where the first server and the second server Servers-all outside remaining server in determine the 3rd server, i.e., first server, second server and the 3rd service Device is located in the different frames with a computer room respectively, by selecting the server of same computer room difference frame to carry out the wound of database Building for virtual machine is built and arbitrated, the other server failure of chassis level can be avoided on the basis of time delay is reduced, effectively Ensure the characteristic of High Availabitity, certainly, for the not high business datum of real-time, the server of different computer rooms can be used to enter line number According to the establishment in storehouse and building for arbitration virtual machine.
Information sets subelement 122, for respectively to first business virtual machine, second business virtual machine and institute State the network address information that arbitration virtual machine sets private network domain logic;
In the specific implementation, described information sets subelement 122 can be respectively to first business virtual machine, described second Business virtual machine and the arbitration virtual machine set the network address information of private network domain logic, wherein, the first business virtual machine, institute State in the second business virtual machine and the arbitration virtual machine according to the network address information of the private network domain logic of any virtual machine The physical machine mark of any virtual machine subordinate server is configured, it is to be understood that the administrative staff of server can To set physical machine to identify each server, such as:Gu money number etc., described information sets subelement 122 can be according to service Private network domain logic where the physical machine mark and server of device, the business of SEPARATE APPLICATION first is empty in network address information pond The network address information of the private network domain logic of plan machine, second business virtual machine and the arbitration virtual machine.
And for second of feasible embodiment (database schema of " unit establishment ") of the embodiment of the present invention:
When the selected type of database is presetting database type, and the database configuration needs information indicates When not being High Availabitity demand information, the database configuration equipment 1 can configure the database schema of " unit establishment ", the list The database schema for hitting establishment can be understood as single virtual machine bearer service database.Preferably, the resource configuration unit 12 can be in the server cluster under based on the computer room mark selected by cloud platform, according to respectively being serviced in the server cluster Putting in order for the network address information of device determines destination server using polling mode, and institute is created in the destination server Virtual machine corresponding to target service is stated, and to the virtual machine configuration cloud storage resource.It is understood that it is directed to each server The computer room at place is both provided with computer room mark, and for the region being accurately positioned where current server, the database creates bar The computer room mark selected by developer can also be included in part information, it is preferred that the resource configuration unit 12 can also be right The virtual machine is named, and naming rule can be:Computer room mark+MSSQL+6 positions random sequence number -0, it is described selected Each server under computer room mark is all previously provided with network address information, such as:IP address etc., the resource configuration unit 12 Can according to network address information put in order and found by the way of poll in each server first it is available Server, such as:Possess enough spaces and create server of virtual machine etc., first available server is defined as mesh Server is marked, and virtual machine corresponding to the target service is created in the destination server, while the virtual machine is set The network address information of public network domain logic is put, and to the virtual machine configuration cloud storage resource, the public network domain logic can be with table It is shown as to outer network, the exterior terminal for carrying the target service can be described by virtual machine described in the external network connection Cloud storage resource is the storage resource of the memory node selected in the cloud storage resource pool, can be wrapped in the memory node Include multiple OSD.
Virtual machine initialization unit 13, for being initialized to the cloud storage resource of the virtual machine and the virtual machine Processing, and the domain that enters that public network domain logic is carried out to the virtual machine is handled;
In the specific implementation, the virtual machine initialization unit 13 can be to the cloud storage of the virtual machine and the virtual machine Resource carries out initialization process, can be including being named, binding to the virtual machine to the process of virtual machine initialization process The network address information of the public network domain logic of the virtual machine, disk initialization etc., to cloud storage initializing resource processing Disk scanning, disk activation, disk formatting can be included and be set using drive etc., the virtual machine initialization unit 13 , can be further to the virtual machine after initialization process is carried out to the cloud storage resource of the virtual machine and the virtual machine Carry out public network domain logic enters domain processing.
For the first above-mentioned feasible embodiment, please also refer to Fig. 7, for the embodiments of the invention provide virtual machine The structural representation of initialization unit.As shown in fig. 7, the virtual machine initialization unit 13 can include:
Initialization process subelement 131, for first business virtual machine, second business virtual machine, described Virtual machine, the cloud storage resource of first business virtual machine, the cloud storage resource of second business virtual machine is arbitrated to carry out Initialization process;
In the specific implementation, the initialization process subelement 131 can monitor first business virtual machine and Two business virtual machines from creation state be transformed into running status when, it is virtual to first business virtual machine, the second business respectively Machine, the cloud storage resource of the first business virtual machine, the cloud storage resource of the second business virtual machine carry out initialization process, to virtual The process of the initialization process of machine can include the network address letter that the virtual machine is named, bound to the virtual machine Breath, disk initialization etc., disk scanning, disk activation, disk formatting can be included to the initialization process of cloud storage resource And it is set using drive etc..
Enter domain processing subelement 132, for after initialization process according to being in advance first business virtual machine, described The network address information for the public network domain logic that second business virtual machine and the arbitration virtual machine are respectively configured, to first industry The domain that enters that business virtual machine, second business virtual machine and the arbitration virtual machine carry out the public network domain logic is handled;
In the specific implementation, it is described enter domain processing subelement 132 can be virtual to first business virtual machine, the second business Machine, the cloud storage resource of the first business virtual machine, the cloud storage resource of the second business virtual machine carry out initialization process after and After the completion of the network card configuration for waiting private network domain logic, according to being that first business virtual machine, second business are virtual in advance The network address information for the public network domain logic that machine and the arbitration virtual machine are respectively configured, to first business virtual machine, institute The domain that enters for stating the second business virtual machine and the arbitration virtual machine progress public network domain logic is handled, it is to be understood that institute State the network for the public network domain logic that the first business virtual machine, second business virtual machine and the arbitration virtual machine are respectively configured Address information is that the database configures the SEPARATE APPLICATION in network address information pond after each virtual machine creating of equipment 1.
And above-mentioned second feasible embodiment is directed to, the virtual machine initialization unit 13 can be to the virtual machine Initialization process is carried out with the cloud storage resource of the virtual machine, the process of virtual machine initialization process can be included to described Virtual machine is named, bound the network address information of the public network domain logic of the virtual machine, disk initialization etc., to the cloud Storage resource initialization process can include disk scanning, disk activation, disk formatting and be set using drive etc., described Virtual machine initialization unit 13, can be with after initialization process is carried out to the cloud storage resource of the virtual machine and the virtual machine Public network domain logic is further carried out to the virtual machine enters domain processing.
Database dispensing unit 14, for configuring the database of the virtual machine after domain processing is entered, connect described virtual The database and cloud storage resource of machine;
In the specific implementation, the database dispensing unit 14 is handled in the domain that enters that public network domain logic is carried out to the virtual machine Afterwards, the database of the virtual machine can be further configured, while connects the database and cloud storage resource of the virtual machine.
For the first above-mentioned feasible embodiment, please also refer to Fig. 8, for the embodiments of the invention provide database The structural representation of dispensing unit.As shown in figure 8, the database dispensing unit 14 can include:
Database configure subelement 141, for enter domain processing after configure first business virtual machine database and The database of second business virtual machine, and the database and cloud storage resource of first business virtual machine are connected, and Connect the database and cloud storage resource of second business virtual machine;
In the specific implementation, the database configuration subelement 141 can configure the database of first business virtual machine With the database of second business virtual machine, and the database and cloud storage resource of first business virtual machine are connected, with And the database and cloud storage resource of connection second business virtual machine, it is to be understood that the database configures equipment 1 Primary copy and secondary copy can be configured, the primary copy is used for the database for carrying the first business virtual machine, and it possesses read-write Function, the secondary copy are used for the database for carrying the second business virtual machine, diverted the aim as incipient fault, and described auxiliary It can be read-only copy to help copy, and user can read corresponding industry when inquiring about target service by secondary copy Business data, by using database cluster and the mode of the read and write abruption of mirror database, are easy to rational application hardware resource.
Information configuration subelement 142, for first business virtual machine, second business virtual machine and described secondary The virtual network address information of virtual machine configuration failure transfer is cut out, and it is empty to first business virtual machine and second business Plan machine configures the virtual network address information of the target service;
In the specific implementation, described information configuration subelement 142 can be to first business virtual machine, second business Virtual machine and the virtual network address information of the arbitration virtual machine configuration failure transfer, and to first business virtual machine and Second business virtual machine configures the virtual network address information of the target service, it is to be understood that the failure turns The virtual network address information of shifting and the virtual network address information of the target service can be that the database configures equipment 1 The public network address applied after each virtual machine creating in network address information pond, it is preferred that can be according to first Public network domain logic where the physical machine mark and first server of the first server belonging to business virtual machine is carried out The application of the virtual network address information of the failure transfer and the virtual network address of the target service, the failure transfer Virtual network address information be used to represent that first business virtual machine, second business virtual machine and the arbitration are virtual The network address for the failover cluster that machine is formed, i.e. the virtual network that can be shifted according to the failure between three virtual machines Location information is in real time or the running status of the database of the first business virtual machine and the database of the second business virtual machine is monitored in timing, The network address information for taking the private network domain logic of each virtual machine simultaneously is heartbeat network address information.The target service it is virtual Network address information is used for the network address for the data write-in for representing target service, that is, the exterior terminal for carrying target service passes through The business datum of target service is uploaded to the first business void by the virtual network address information can for configuring the target service The database of the database of plan machine or the second business virtual machine, the public network domain logic actual without obtaining the first business virtual machine Network address or the actual public network domain logic of the second business virtual machine network address, avoid due to a wherein virtual machine , it is necessary to which network address of the batch modification exterior terminal when business datum writes is pointed to during failure, target service is improved Data write-in efficiency.
And above-mentioned second feasible embodiment is directed to, the database dispensing unit 14 is carried out to the virtual machine Public network domain logic enter domain processing after, can further configure the database of the virtual machine, while connect the virtual machine Database and cloud storage resource.
In embodiments of the present invention, conditional information is created by the database obtained to the Service Database of target service, Conditional information is created according to database virtual machine corresponding to target service is created in the destination server under cloud platform, to virtual Machine configures cloud storage resource, and carries out initialization process to the cloud storage resource of virtual machine and virtual machine and virtual machine is carried out Public network domain logic enter domain processing, enter domain processing after configure virtual machine database, the database of final connecting virtual machine and Cloud storage resource.By according to obtain database create conditional information, in destination server complete virtual machine establishment with And the configuration of database, realize the automatic configuration process of database, while by using virtual machine and the mode of cloud storage, So that the quantity increase for the Service Database that server can carry, improves the utilization rate of server, effectively reduces manpower money The costs such as source, hardware resource;By configuring the database schema of " resident availability group creates ", the portion of High Availabitity framework is realized Administration;By selecting the establishment of the server progress database with a computer room difference frame, can be kept away on the basis of time delay is reduced Exempt from the other server failure of chassis level, the effective characteristic for ensureing High Availabitity;It is " resident availability group creates " and " single by providing The database schema of machine establishment ", can meet different business demands with the configuration mode in abundant data storehouse.
Fig. 9 is referred to, is that the embodiments of the invention provide the structural representation that another database configures equipment.Such as Fig. 9 Shown, the database configuration equipment 1 of the embodiment of the present invention can include:Information acquisition unit 11, resource configuration unit 12, Virtual machine initialization unit 13, database dispensing unit 14 and state recording unit 15;Wherein, information acquisition unit 11, resource The structure of dispensing unit 12, virtual machine initialization unit 13 and database dispensing unit 14 may refer to embodiment illustrated in fig. 5 Specifically describe, herein without repeating.
State recording unit 15, for being deposited using the creation state of virtual machine, the cloud described in default monitoring script logging Store up the configuration status of the configuration status of resource and the database of the virtual machine;
In the specific implementation, for the first above-mentioned feasible embodiment, the state recording unit 15 can also be in institute When stating information acquisition unit 11 and obtaining the database and create conditional information, monitoring script is pre-set, the monitoring script is used It is virtual in the creation state, the creation state of second business virtual machine, the arbitration for recording first business virtual machine The configuration status of the creation state of machine, the configuration status of the cloud storage resource and the database, when first business is empty The establishment of plan machine, the establishment of second business virtual machine, the arbitration creation state of virtual machine, the cloud storage resource When there is exception and causes database configuration failure in any process in configuration and the configuration of the database, the monitoring script Can be with generation error daily record, and rolling back action is triggered, when database configuration successful, the monitoring script can generate database The announcement information of configuration successful, the announcement information be preferably make an appointment script status value (such as:200 etc.).
For above-mentioned second feasible embodiment, the state recording unit 15 can also obtain single in described information When member 11 obtains the database establishment conditional information, monitoring script is pre-set, the monitoring script is used to record the void The configuration status of the database of the creation state of plan machine, the configuration status of the cloud storage resource and the virtual machine, when described Any process in the configuration of the database of the establishment of virtual machine, the configuration of the cloud storage resource and the virtual machine occurs different When often causing database configuration failure, the monitoring script can be with generation error daily record, and triggers rolling back action, works as database During configuration successful, the script of monitoring can generate the announcement information of database configuration successful, and the announcement information is preferably pre- First arrange script status value (such as:200 etc.).
In embodiments of the present invention, conditional information is created by the database obtained to the Service Database of target service, Conditional information is created according to database virtual machine corresponding to target service is created in the destination server under cloud platform, to virtual Machine configures cloud storage resource, and carries out initialization process to the cloud storage resource of virtual machine and virtual machine and virtual machine is carried out Public network domain logic enter domain processing, enter domain processing after configure virtual machine database, the database of final connecting virtual machine and Cloud storage resource.By according to obtain database create conditional information, in destination server complete virtual machine establishment with And the configuration of database, realize the automatic configuration process of database, while by using virtual machine and the mode of cloud storage, So that the quantity increase for the Service Database that server can carry, improves the utilization rate of server, effectively reduces manpower money The costs such as source, hardware resource;By configuring the database schema of " resident availability group creates ", the portion of High Availabitity framework is realized Administration;By selecting the establishment of the server progress database with a computer room difference frame, can be kept away on the basis of time delay is reduced Exempt from the other server failure of chassis level, the effective characteristic for ensureing High Availabitity;It is " resident availability group creates " and " single by providing The database schema of machine establishment ", can meet different business demands with the configuration mode in abundant data storehouse.
Figure 10 is referred to, is that the embodiments of the invention provide the structural representation that another database configures equipment.Such as figure Shown in 10, the database configuration equipment 1000 can include:At least one processor 1001, such as CPU, at least one network Interface 1004, user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus 1002 is used for real Connection communication between these existing components.Wherein, user interface 1003 can include display screen (Display), keyboard (Keyboard), optional user interface 1003 can also include wireline interface, the wave point of standard.Network interface 1004 is optional Wireline interface, the wave point (such as WI-FI interfaces) that can include standard.Memory 1005 can be high-speed RAM memory, Can also be non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 1005 optionally can also be at least one storage device for being located remotely from aforementioned processor 1001.As shown in Figure 10, as one Can include in the memory 1005 of kind of computer-readable storage medium operating system, network communication module, Subscriber Interface Module SIM and Database configures application program.
In the database configuration equipment 1000 shown in Figure 10, user interface 1003 is mainly used in providing the user input Interface, obtain the data of user's input;Network interface 1004 is used to enter row data communication with the Cloud Server managed;And handle Device 1001 can be used for calling the database configuration application program stored in memory 1005, and specifically perform following operate:
The database for obtaining the Service Database that data write-in is carried out to target service submitted creates conditional information;
Conditional information is created according to the database target service pair is created in the destination server under cloud platform The virtual machine answered, and to the virtual machine configuration cloud storage resource;
Initialization process is carried out to the cloud storage resource of the virtual machine and the virtual machine, and the virtual machine is carried out Public network domain logic enters domain processing;
The database of the virtual machine is configured after domain processing is entered, connects the database and cloud storage money of the virtual machine Source.
In one embodiment, the database, which creates conditional information, includes selected type of database and selected Database configuration needs information;
The processor 1001 is performing the destination server according to database establishment conditional information under cloud platform It is middle to create virtual machine corresponding to the target service, and during to the virtual machine configuration cloud storage resource, it is specific to perform following grasp Make:
When the selected type of database is presetting database type, and the database configuration needs information indicates For High Availabitity demand information when, it is virtual that the first business corresponding to the target service is created in the server cluster under cloud platform Machine, the second business virtual machine and arbitration virtual machine, and first business virtual machine and second business virtual machine are distinguished Configure cloud storage resource.
In one embodiment, the processor 1001 creates the mesh in execution in the server cluster under cloud platform First business virtual machine, the second business virtual machine and arbitration virtual machine corresponding to mark business, and to first business virtual machine It is specific to perform following operate when cloud storage resource is respectively configured with second business virtual machine:
In the server cluster under based on the computer room mark selected by cloud platform, according to respectively being taken in the server cluster The putting in order for network address information of business device determines first server using polling mode, is created in the first server First business virtual machine corresponding to the target service, and cloud storage resource is configured to first business virtual machine;
It is remaining according to described first in first remaining server of the server cluster in addition to the first server Putting in order for the network address information of each server determines second server using polling mode in server, described second The second business virtual machine corresponding to the target service is created in server, and cloud storage is configured to second business virtual machine Resource;
In second remaining server of the server cluster in addition to the first server and the second server, Putting in order for network address information according to each server in the described second remaining server determines the 3rd using polling mode Server, created in the 3rd server and arbitrate virtual machine corresponding to the target service;
Private network is set to patrol first business virtual machine, second business virtual machine and the arbitration virtual machine respectively Collect the network address information in domain;
Wherein, any virtual machine in the first business virtual machine, second business virtual machine and the arbitration virtual machine The network address information of private network domain logic is to be configured according to the physical machine of any virtual machine subordinate server mark.
In one embodiment, the first server, the second server and the 3rd server are to belong to same One computer room and adhere to the server in different frames separately.
In one embodiment, the processor 1001 is being performed to the cloud storage of the virtual machine and virtual machine money Source carries out initialization process, and when entering domain processing of public network domain logic is carried out to the virtual machine, specific to perform following operate:
It is empty to first business virtual machine, second business virtual machine, the arbitration virtual machine, first business The cloud storage resource of plan machine, the cloud storage resource of second business virtual machine carry out initialization process;
After initialization process according to be in advance first business virtual machine, second business virtual machine and described secondary The network address information for the public network domain logic that virtual machine is respectively configured is cut out, to first business virtual machine, second business The domain that enters that virtual machine and the arbitration virtual machine carry out the public network domain logic is handled.
In one embodiment, the processor 1001 configures the data of the virtual machine in execution after domain processing is entered Storehouse, it is specific to perform following operate when connecting the database and cloud storage resource of the virtual machine:
The database of first business virtual machine and the data of second business virtual machine are configured after domain processing is entered Storehouse, and the database and cloud storage resource of first business virtual machine are connected, and connection second business virtual machine Database and cloud storage resource;
To first business virtual machine, second business virtual machine and the arbitration virtual machine configuration failure transfer Virtual network address information, and the target service is configured to first business virtual machine and second business virtual machine Virtual network address information;
Wherein, the virtual network address information of failure transfer is used to representing first business virtual machine, described the The network address for the failover cluster that two business virtual machines and the arbitration virtual machine are formed;The virtual net of the target service Network address information is used for the network address for the data write-in for representing target service.
In one embodiment, the database, which creates conditional information, includes selected type of database and selected Database configuration needs information;
The processor 1001 is performing the destination server according to database establishment conditional information under cloud platform It is middle to create virtual machine corresponding to the target service, and during to the virtual machine configuration cloud storage resource, it is specific to perform following grasp Make:
When the selected type of database is presetting database type, and the database configuration needs information indicates When not being High Availabitity demand information, in the server cluster under based on the computer room mark selected by cloud platform, according to the clothes The putting in order for network address information of each server determines destination server using polling mode in business device cluster, in the mesh Virtual machine corresponding to the target service is created in mark server, and to the virtual machine configuration cloud storage resource.
In one embodiment, the processor 1001 also performs following operation:
Using the creation state of virtual machine, the configuration status of the cloud storage resource and institute described in default monitoring script logging State the configuration status of the database of virtual machine.
In embodiments of the present invention, conditional information is created by the database obtained to the Service Database of target service, Conditional information is created according to database virtual machine corresponding to target service is created in the destination server under cloud platform, to virtual Machine configures cloud storage resource, and carries out initialization process to the cloud storage resource of virtual machine and virtual machine and virtual machine is carried out Public network domain logic enter domain processing, enter domain processing after configure virtual machine database, the database of final connecting virtual machine and Cloud storage resource.By according to obtain database create conditional information, in destination server complete virtual machine establishment with And the configuration of database, realize the automatic configuration process of database, while by using virtual machine and the mode of cloud storage, So that the quantity increase for the Service Database that server can carry, improves the utilization rate of server, effectively reduces manpower money The costs such as source, hardware resource;By configuring the database schema of " resident availability group creates ", the portion of High Availabitity framework is realized Administration;By selecting the establishment of the server progress database with a computer room difference frame, can be kept away on the basis of time delay is reduced Exempt from the other server failure of chassis level, the effective characteristic for ensureing High Availabitity;It is " resident availability group creates " and " single by providing The database schema of machine establishment ", can meet different business demands with the configuration mode in abundant data storehouse.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (16)

  1. A kind of 1. configuration method for database, it is characterised in that including:
    The database for obtaining the Service Database that data write-in is carried out to target service submitted creates conditional information;
    According to corresponding to database establishment conditional information creates the target service in the destination server under cloud platform Virtual machine, and to the virtual machine configuration cloud storage resource;
    Initialization process is carried out to the cloud storage resource of the virtual machine and the virtual machine, and public network is carried out to the virtual machine Domain logic enters domain processing;
    The database of the virtual machine is configured after domain processing is entered, connects the database and cloud storage resource of the virtual machine.
  2. 2. according to the method for claim 1, it is characterised in that the database, which creates conditional information, includes selected number According to storehouse type and selected database configuration needs information;
    It is described that the target service pair is created in the destination server under cloud platform according to database establishment conditional information The virtual machine answered, and to the virtual machine configuration cloud storage resource, including:
    When the selected type of database is presetting database type, and the database configuration needs information is designated as height When can use demand information, created in the server cluster under cloud platform the first business virtual machine corresponding to the target service, Second business virtual machine and arbitration virtual machine, and first business virtual machine and second business virtual machine are respectively configured Cloud storage resource.
  3. 3. according to the method for claim 2, it is characterised in that described in being created in the server cluster under cloud platform First business virtual machine, the second business virtual machine and arbitration virtual machine corresponding to target service, and it is virtual to first business Cloud storage resource is respectively configured in machine and second business virtual machine, including:
    In the server cluster under based on the computer room mark selected by cloud platform, according to each server in the server cluster Putting in order for network address information first server is determined using polling mode, in the first server create described in First business virtual machine corresponding to target service, and cloud storage resource is configured to first business virtual machine;
    In first remaining server of the server cluster in addition to the first server, according to the described first remaining service Putting in order for the network address information of each server determines second server using polling mode in device, in the second service The second business virtual machine corresponding to the target service is created in device, and to second business virtual machine configuration cloud storage money Source;
    In second remaining server of the server cluster in addition to the first server and the second server, according to Putting in order for the network address information of each server determines the 3rd service using polling mode in the second remaining server Device, created in the 3rd server and arbitrate virtual machine corresponding to the target service;
    Private network domain logic is set to first business virtual machine, second business virtual machine and the arbitration virtual machine respectively Network address information;
    Wherein, the first business virtual machine, second business virtual machine and the private network for arbitrating any virtual machine in virtual machine The network address information of domain logic is to be configured according to the physical machine of any virtual machine subordinate server mark.
  4. 4. according to the method for claim 3, it is characterised in that the first server, the second server and described 3rd server is to belong to same computer room and adhere to the server in different frames separately.
  5. 5. according to the method for claim 2, it is characterised in that the cloud storage to the virtual machine and the virtual machine Resource carries out initialization process, and the domain that enters that public network domain logic is carried out to the virtual machine is handled, including:
    To first business virtual machine, second business virtual machine, the arbitration virtual machine, first business virtual machine Cloud storage resource, the cloud storage resource of second business virtual machine carry out initialization process;
    Basis is that first business virtual machine, second business virtual machine and the arbitration are empty in advance after initialization process The network address information for the public network domain logic that plan machine is respectively configured, it is virtual to first business virtual machine, second business The domain that enters that machine and the arbitration virtual machine carry out the public network domain logic is handled.
  6. 6. according to the method for claim 2, it is characterised in that the data that the virtual machine is configured after domain processing is entered Storehouse, the database and cloud storage resource of the virtual machine are connected, including:
    The database of first business virtual machine and the database of second business virtual machine are configured after domain processing is entered, and Connect the database and cloud storage resource of first business virtual machine, and the database of connection second business virtual machine With cloud storage resource;
    To the virtual of first business virtual machine, second business virtual machine and the arbitration virtual machine configuration failure transfer Network address information, and the virtual of the target service is configured to first business virtual machine and second business virtual machine Network address information;
    Wherein, the virtual network address information of the failure transfer is used to represent first business virtual machine, second industry The network address for the failover cluster that business virtual machine and the arbitration virtual machine are formed;The virtual network of the target service Location information is used for the network address for the data write-in for representing target service.
  7. 7. according to the method for claim 1, it is characterised in that the database, which creates conditional information, includes selected number According to storehouse type and selected database configuration needs information;
    It is described that the target service pair is created in the destination server under cloud platform according to database establishment conditional information The virtual machine answered, and to the virtual machine configuration cloud storage resource, including:
    When the selected type of database is presetting database type, and database configuration needs information instruction is not During High Availabitity demand information, in the server cluster under based on the computer room mark selected by cloud platform, according to the server Putting in order for the network address information of each server determines destination server using polling mode in cluster, is taken in the target Virtual machine corresponding to the target service is created in business device, and to the virtual machine configuration cloud storage resource.
  8. 8. according to the method for claim 1, it is characterised in that also include:
    Using the creation state of virtual machine, the configuration status of the cloud storage resource and the void described in default monitoring script logging The configuration status of the database of plan machine.
  9. 9. a kind of database configures equipment, it is characterised in that including:
    Information acquisition unit, the database for obtaining the Service Database that data write-in is carried out to target service submitted create Conditional information;
    Resource configuration unit, institute is created in the destination server under cloud platform for creating conditional information according to the database Virtual machine corresponding to target service is stated, and to the virtual machine configuration cloud storage resource;
    Virtual machine initialization unit, for carrying out initialization process to the cloud storage resource of the virtual machine and the virtual machine, And the domain that enters that public network domain logic is carried out to the virtual machine is handled;
    Database dispensing unit, for configuring the database of the virtual machine after domain processing is entered, connect the number of the virtual machine According to storehouse and cloud storage resource.
  10. 10. equipment according to claim 9, it is characterised in that the database creates conditional information including selected Type of database and selected database configuration needs information;
    The resource configuration unit is specifically used for when the selected type of database is presetting database type, and the number When being designated as High Availabitity demand information according to storehouse configuration needs information, the target industry is created in the server cluster under cloud platform First business virtual machine, the second business virtual machine and arbitration virtual machine corresponding to business, and to first business virtual machine and institute State the second business virtual machine and cloud storage resource is respectively configured.
  11. 11. equipment according to claim 10, it is characterised in that the resource configuration unit includes:
    Virtual machine creating subelement, for being presetting database type when the selected type of database, and the data When storehouse configuration needs information is designated as High Availabitity demand information, the server set under based on the computer room mark selected by cloud platform In group, first is determined using polling mode according to the putting in order for network address information of each server in the server cluster Server, the first business virtual machine corresponding to the target service is created in the first server, and to first industry Business virtual machine configuration cloud storage resource;
    The virtual machine creating subelement, it is additionally operable to the first remaining clothes in addition to the first server in the server cluster Be engaged in device in, according in the described first remaining server the network address information of each server put in order it is true using polling mode Determine second server, the second business virtual machine corresponding to the target service is created in the second server, and to described Second business virtual machine configures cloud storage resource;
    The virtual machine creating subelement, it is additionally operable to remove the first server and the second service in the server cluster In the second remaining server outside device, the arrangement according to the network address information of each server in the described second remaining server is suitable Sequence determines the 3rd server using polling mode, creates in the 3rd server and is arbitrated virtually corresponding to the target service Machine;
    Information sets subelement, for respectively to first business virtual machine, second business virtual machine and the arbitration Virtual machine sets the network address information of private network domain logic;
    Wherein, the first business virtual machine, second business virtual machine and the private network for arbitrating any virtual machine in virtual machine The network address information of domain logic is to be configured according to the physical machine of any virtual machine subordinate server mark.
  12. 12. equipment according to claim 11, it is characterised in that the first server, the second server and institute It is to belong to same computer room and adhere to the server in different frames separately to state the 3rd server.
  13. 13. equipment according to claim 10, it is characterised in that the virtual machine initialization unit includes:
    Initialization process subelement, for virtual to first business virtual machine, second business virtual machine, the arbitration Machine, the cloud storage resource of first business virtual machine, the cloud storage resource of second business virtual machine are carried out at initialization Reason;
    Enter domain processing subelement, for after initialization process according in advance for first business virtual machine, second industry The network address information for the public network domain logic that business virtual machine and the arbitration virtual machine are respectively configured, it is virtual to first business The domain that enters that machine, second business virtual machine and the arbitration virtual machine carry out the public network domain logic is handled.
  14. 14. equipment according to claim 10, it is characterised in that the database dispensing unit includes:
    Database configures subelement, for configuring the database and described second of first business virtual machine after domain processing is entered The database of business virtual machine, and the database and cloud storage resource of first business virtual machine are connected, and described in connection The database and cloud storage resource of second business virtual machine;
    Information configuration subelement, for virtual to first business virtual machine, second business virtual machine and the arbitration The virtual network address information of machine config failure transfer, and first business virtual machine and second business virtual machine are matched somebody with somebody Put the virtual network address information of the target service;
    Wherein, the virtual network address information of the failure transfer is used to represent first business virtual machine, second industry The network address for the failover cluster that business virtual machine and the arbitration virtual machine are formed;The virtual network of the target service Location information is used for the network address for the data write-in for representing target service.
  15. 15. equipment according to claim 9, it is characterised in that the database creates conditional information including selected Type of database and selected database configuration needs information;
    The resource configuration unit is specifically used for when the selected type of database is presetting database type, and the number According to storehouse configuration needs information instruction be High Availabitity demand information when, based on selected by cloud platform computer room identify under service In device cluster, determined according to the putting in order for network address information of each server in the server cluster using polling mode Destination server, virtual machine corresponding to the target service is created in the destination server, and to the virtual machine configuration Cloud storage resource.
  16. 16. equipment according to claim 9, it is characterised in that also include:
    State recording unit, for using default creation state, the cloud storage resource for monitoring virtual machine described in script logging Configuration status and the virtual machine database configuration status.
CN201610598779.0A 2016-07-27 2016-07-27 Database configuration method and equipment thereof Active CN107666493B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610598779.0A CN107666493B (en) 2016-07-27 2016-07-27 Database configuration method and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610598779.0A CN107666493B (en) 2016-07-27 2016-07-27 Database configuration method and equipment thereof

Publications (2)

Publication Number Publication Date
CN107666493A true CN107666493A (en) 2018-02-06
CN107666493B CN107666493B (en) 2020-08-14

Family

ID=61115029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610598779.0A Active CN107666493B (en) 2016-07-27 2016-07-27 Database configuration method and equipment thereof

Country Status (1)

Country Link
CN (1) CN107666493B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271235A (en) * 2018-09-06 2019-01-25 广州力挚网络科技有限公司 A kind of data-base cluster method for building up and device
CN109445912A (en) * 2018-11-14 2019-03-08 国网新疆电力有限公司信息通信公司 A kind of configuration method of virtual machine, configuration system and SDN controller
CN109800084A (en) * 2018-12-21 2019-05-24 平安科技(深圳)有限公司 Discharge the method and terminal device of resources of virtual machine
CN110519365A (en) * 2019-08-26 2019-11-29 网宿科技股份有限公司 A kind of method and business change system changing appliance services
CN111143039A (en) * 2020-01-02 2020-05-12 安超云软件有限公司 Virtual machine scheduling method and device and computer storage medium
CN112015520A (en) * 2020-09-14 2020-12-01 支付宝(杭州)信息技术有限公司 Data uploading system and method
CN112153146A (en) * 2020-09-25 2020-12-29 北京金山云网络技术有限公司 Operation notification method and apparatus, storage medium, and electronic apparatus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347979A (en) * 2010-07-29 2012-02-08 日本电气株式会社 Thin client system, management server, and virtual machine creation management method
CN103607308A (en) * 2013-11-29 2014-02-26 杭州东信北邮信息技术有限公司 Virtual machine multi-network management system and method in cloud computing environment
CN103647849A (en) * 2013-12-24 2014-03-19 华为技术有限公司 Method and device for migrating businesses and disaster recovery system
US20140258235A1 (en) * 2013-03-05 2014-09-11 VCE Company LLC Method to provide user domain management of snapshots for virtual desktops using centralized portal
CN104239166A (en) * 2014-09-11 2014-12-24 武汉噢易云计算有限公司 Method for realizing file backup for running virtual machine
CN104796469A (en) * 2015-04-15 2015-07-22 北京中油瑞飞信息技术有限责任公司 Method and device for configuring cloud computing platforms

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347979A (en) * 2010-07-29 2012-02-08 日本电气株式会社 Thin client system, management server, and virtual machine creation management method
US20140258235A1 (en) * 2013-03-05 2014-09-11 VCE Company LLC Method to provide user domain management of snapshots for virtual desktops using centralized portal
CN103607308A (en) * 2013-11-29 2014-02-26 杭州东信北邮信息技术有限公司 Virtual machine multi-network management system and method in cloud computing environment
CN103647849A (en) * 2013-12-24 2014-03-19 华为技术有限公司 Method and device for migrating businesses and disaster recovery system
CN104239166A (en) * 2014-09-11 2014-12-24 武汉噢易云计算有限公司 Method for realizing file backup for running virtual machine
CN104796469A (en) * 2015-04-15 2015-07-22 北京中油瑞飞信息技术有限责任公司 Method and device for configuring cloud computing platforms

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109271235A (en) * 2018-09-06 2019-01-25 广州力挚网络科技有限公司 A kind of data-base cluster method for building up and device
CN109271235B (en) * 2018-09-06 2023-12-19 广州力挚网络科技有限公司 Database cluster establishment method and device
CN109445912A (en) * 2018-11-14 2019-03-08 国网新疆电力有限公司信息通信公司 A kind of configuration method of virtual machine, configuration system and SDN controller
CN109800084A (en) * 2018-12-21 2019-05-24 平安科技(深圳)有限公司 Discharge the method and terminal device of resources of virtual machine
CN110519365A (en) * 2019-08-26 2019-11-29 网宿科技股份有限公司 A kind of method and business change system changing appliance services
WO2021036229A1 (en) * 2019-08-26 2021-03-04 网宿科技股份有限公司 Method for changing service on device and service changing system
CN110519365B (en) * 2019-08-26 2022-07-01 网宿科技股份有限公司 Method for changing equipment service and service changing system
CN111143039A (en) * 2020-01-02 2020-05-12 安超云软件有限公司 Virtual machine scheduling method and device and computer storage medium
CN111143039B (en) * 2020-01-02 2024-01-02 安超云软件有限公司 Scheduling method and device of virtual machine and computer storage medium
CN112015520A (en) * 2020-09-14 2020-12-01 支付宝(杭州)信息技术有限公司 Data uploading system and method
CN112153146A (en) * 2020-09-25 2020-12-29 北京金山云网络技术有限公司 Operation notification method and apparatus, storage medium, and electronic apparatus
CN112153146B (en) * 2020-09-25 2022-08-16 北京金山云网络技术有限公司 Operation notification method and apparatus, storage medium, and electronic apparatus

Also Published As

Publication number Publication date
CN107666493B (en) 2020-08-14

Similar Documents

Publication Publication Date Title
CN107666493A (en) A kind of configuration method for database and its equipment
US11070520B2 (en) Hierarchical network managers
RU2595540C9 (en) Chassis controllers for converting universal flows
CN110311831B (en) Container cloud-based system resource monitoring method and related equipment
CN106489251A (en) The methods, devices and systems that applied topology relation finds
US20180024866A1 (en) System, virtualization control apparatus, method for controlling a virtualization control apparatus, and program
CN107665141A (en) A kind of configuration method for database and its equipment
CN103051551A (en) Distributed system and automatic maintaining method for same
CN103516802A (en) Method and device for achieving seamless transference of across heterogeneous virtual switch
CN104506348A (en) Method for automatically discovering and configuring monitoring object
CN106464584A (en) Providing router information according to a programmatic interface
CN100563253C (en) A kind of data processing method in client
CN109547875A (en) A kind of FC exchange network arbitrary port access design method
CN109462511A (en) The method for building up and device of network
CN103905498B (en) Service information management method and service information management system
CN108363611A (en) Method for managing security, device and the omnidirectional system of virtual machine
CN106547790A (en) A kind of relevant database service system
CN112351106B (en) Service grid platform containing event grid and communication method thereof
CN106789286A (en) The display methods and device of a kind of network topological diagram
CN109450768A (en) The method of container interconnection and the system interconnected for container
CN105471986B (en) A kind of Constructing data center Scale Revenue Ratio method and device
CN116455869A (en) Method and system for efficiently configuring public network domain name based on Kubernetes
CN113114552A (en) Method and equipment for providing network for virtual machine and container in cloud platform
CN112448833A (en) Multi-management-domain communication method and device
CN103180831B (en) fault processing system and method

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

Effective date of registration: 20230914

Address after: 100190 Beijing Haidian District Zhichun Road 49 No. 3 West 309

Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd.

Address before: 2, 518000, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District

Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd.

TR01 Transfer of patent right