CN106899518B - Resource processing method and device based on Internet data center - Google Patents

Resource processing method and device based on Internet data center Download PDF

Info

Publication number
CN106899518B
CN106899518B CN201710109608.1A CN201710109608A CN106899518B CN 106899518 B CN106899518 B CN 106899518B CN 201710109608 A CN201710109608 A CN 201710109608A CN 106899518 B CN106899518 B CN 106899518B
Authority
CN
China
Prior art keywords
target
cloud
database
virtual machine
resource
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.)
Active
Application number
CN201710109608.1A
Other languages
Chinese (zh)
Other versions
CN106899518A (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 Technology Shenzhen 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 CN201710109608.1A priority Critical patent/CN106899518B/en
Publication of CN106899518A publication Critical patent/CN106899518A/en
Priority to PCT/CN2018/074340 priority patent/WO2018153218A1/en
Priority to TW107105645A priority patent/TWI710915B/en
Application granted granted Critical
Publication of CN106899518B publication Critical patent/CN106899518B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • H04L47/783Distributed allocation of resources, e.g. bandwidth brokers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches
    • 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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources

Abstract

The embodiment of the invention discloses a resource processing method and a device based on an internet data center, wherein the method comprises the following steps: receiving a service resource configuration request sent by a client; selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in an internet data center according to the resource configuration information; establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information. By adopting the invention, cloud management can be realized, dynamic elastic expansion can be supported, and the construction cost and the operation and maintenance cost are reduced.

Description

Resource processing method and device based on Internet data center
Technical Field
The invention relates to the technical field of internet, in particular to a resource processing method and device based on an internet data center.
Background
Currently, the construction mode of Oracle Rac (Oracle real application cluster) is usually as follows: taking an FC (fiber Channel) fiber as a data access Channel in a cluster, and taking a ten-gigabit Ethernet as a heartbeat and interaction network and a service access database network of a computing node; the computing node adopts a small computer of a non-X86 system; an FC SAN (Storage Area Network) disk array is used as Storage; the system needs special frame support, cannot use a universal frame of a computer room, and needs IDC (Internet Data Center) customized construction for support.
Therefore, the whole framework of the Oracle Rac is not universal at present, and the Oracle Rac has small computers, disk arrays, FC optical fiber equipment, Ethernet equipment and the like, and needs IDC customized infrastructure; the framework can not be subjected to cloud management, once the construction is finished, dynamic elastic expansion can not be supported, unified operation and maintenance management is difficult to achieve under the framework, different operation and maintenance resources need to be invested, and the construction cost and the operation and maintenance cost are very high.
Disclosure of Invention
The embodiment of the invention provides a resource processing method and device based on an internet data center, which can support dynamic elastic capacity expansion and reduce construction cost and operation and maintenance cost.
The embodiment of the invention provides a resource processing method based on an internet data center, which comprises the following steps:
receiving a service resource allocation request sent by a client; the service resource allocation request comprises target user information and resource allocation information;
selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in an internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches;
establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information;
when a service resource capacity expansion request is received, selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded.
Correspondingly, an embodiment of the present invention provides an internet data center-based resource processing apparatus, including:
the receiving module is used for receiving a service resource configuration request sent by a client; the service resource allocation request comprises target user information and resource allocation information;
the configuration module is used for selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in the internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches;
the establishing module is used for establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information;
the capacity expansion module is used for selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the business resource capacity expansion request when a business resource capacity expansion request is received, adding the cloud virtual machine to be expanded and the virtual switch to be expanded into the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded.
According to the embodiment of the invention, by receiving a service resource configuration request sent by a client, at least one target cloud virtual machine and at least one target virtual switch can be selected in a preset resource pool in an internet data center according to the resource configuration information in the service resource configuration request; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches; establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information; when a service resource capacity expansion request is received, selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded. Because the computing resources, the network resources and the storage resources are subjected to cloud management, dynamic elastic capacity expansion is easier to realize, and the construction cost and the operation and maintenance cost are reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a resource processing method based on an internet data center according to an embodiment of the present invention;
fig. 1a is a schematic structural diagram of an internet data center according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a resource processing method based on an internet data center according to an embodiment of the present invention;
fig. 2a is a schematic structural diagram of another internet data center provided in an embodiment of the present invention;
fig. 3 is a schematic flowchart of a resource processing method based on an internet data center according to an embodiment of the present invention;
fig. 3a is a schematic structural diagram of another internet data center provided in an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a resource processing apparatus based on an internet data center according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of a configuration module according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another resource processing apparatus based on an internet data center according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic flowchart of a resource processing method based on an internet data center according to an embodiment of the present invention is shown, where the method includes:
s101, receiving a service resource allocation request sent by a client; the service resource allocation request comprises target user information and resource allocation information;
specifically, the resource processing device based on the internet data center may receive a service resource configuration request sent by a client, and the resource processing device based on the internet data center may communicate with a plurality of internet data centers, that is, the resource processing device may manage the plurality of internet data centers, and the plurality of internet data centers may include a plurality of internet data centers in a plurality of different cities. The resource processing device may further be connected to and communicate with an operation management platform, wherein the client specifically sends the service resource configuration request to the operation management platform, and the resource processing device receives the service resource configuration request forwarded by the operation management platform.
The service resource configuration request comprises target user information and resource configuration information; the target user information is the user information (including information such as a user account and user authority) corresponding to the client. The resource configuration information comprises the number of cloud computing virtual machines, the number of cloud storage virtual machines and the number of virtual switches which are requested to be configured by the client.
S102, selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in an Internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches;
specifically, the resource pool includes a computing resource pool, a network resource pool and a storage resource pool; the computing resource pool is provided by hardware computing resources (which may include processors, memory in servers) of a plurality of servers (such as servers of an X86 architecture) in the internet data center; the network resource pool is provided by a plurality of switches (e.g., a Roce 40G switch) in the Internet data center; the storage resource pool is provided by hardware storage resources of a plurality of servers (such as servers of an X86 architecture) in the internet data center, and the hardware storage resources may include a PCIE (Peripheral Component Interconnect-Express) NVME (Non-Volatile Memory Express, a protocol similar to AHCI established on an m.2 interface) full flash hot plug hard disk. The at least one target cloud virtual machine comprises a target cloud computing virtual machine and a target cloud storage virtual machine.
The computing resource pool of the internet data center can comprise a plurality of preset cloud computing virtual machines; for example, the processor capacity and the memory capacity in one server may provide 100 cloud computing virtual machines, and then the computing resource pool provided by 50 servers in the internet data center may include 5000 cloud computing virtual machines. Optionally, the resource processing apparatus may further use a part of servers in the internet data center as a dedicated host, that is, when the dedicated host is allocated to the client according to the service resource configuration request, the client may share hardware computing resources in the dedicated host alone, that is, may create cloud computing virtual machines of a custom quantity and a custom specification on the dedicated host. The demands of exclusive sharing of customer resources and physical isolation of resources can be met by improving the special host machine. The security isolation level corresponding to the special host is higher than that corresponding to the cloud computing virtual machine in the server except the special host, that is, the cloud computing virtual machine created by using the special host can have higher security.
The storage resource pool of the internet data center can comprise a plurality of preset cloud storage virtual machines; for example, the storage capacity of a PCIE/NVME full flash hot plug hard disk in one server may provide 120 cloud storage virtual machines, and then the storage resource pool provided by 50 servers in the internet data center may include 6000 cloud storage virtual machines. Optionally, the resource processing device may further divide all cloud storage virtual machines in the internet data center into 3 cloud storage virtual machine clusters, where the 3 cloud storage virtual machine clusters include a common storage cluster (the cluster is based on one cloud storage virtual machine as a unit, that is, at least one cloud storage virtual machine is allocated in the common storage cluster to a client), an exclusive flash disk level storage cluster (the cluster is based on one flash disk as a unit, that is, at least all cloud storage virtual machines in one flash disk are allocated in the exclusive flash disk level storage cluster to a client), and an exclusive whole machine storage cluster (the cluster is based on 4 flash disks in one server as a unit, that is, at least all cloud storage virtual machines in 4 flash disks in one server are allocated in the exclusive flash disk level storage cluster to a client), where a security isolation level of the exclusive whole machine storage cluster pair is greater than that of the exclusive flash disk level storage cluster corresponding to the exclusive flash disk level storage cluster And the safety isolation level corresponding to the exclusive flash disk level storage cluster is greater than the safety isolation level corresponding to the public storage cluster. The storage capacity of the flash disk storage chips is (n +1) × size (n identifies the number of the storage chips, and size is the storage capacity of a single storage chip), the storage capacity of the n × size is provided for the outside, data are written by a redundancy algorithm similar to RAID5(Redundant Arrays of Independent Disks5, distributed parity structure), and when a storage chip bad block occurs, the bad block can be automatically marked to be unreadable and is relocated; or when the whole memory chip is bad, the chip can be automatically marked to be unreadable and the bad data of the chip can be relocated to realize redundancy protection.
The network resource pool in the internet data center may include a plurality of virtual switches set in advance. For example, one switch may provide 20 virtual switches, then 50 switches in the internet data center may provide 1000 virtual switches. Optionally, the resource processing apparatus may further divide all virtual switches in the internet data center into 3 virtual switch clusters, the 3 virtual switch clusters comprise a public network cluster (a virtual switch in the cluster can provide network service for a plurality of clients at the same time), a cloud private network cluster (one virtual switch in the cluster provides network service for only one client), an exclusive physical network cluster (the cluster takes two Roce 40G switches as a unit, namely all the virtual switches in the two Roce 40G switches are at least distributed to the clients in the exclusive physical network cluster), the security isolation level corresponding to the exclusive physical network cluster is greater than that corresponding to the cloud private network cluster, and the security isolation level corresponding to the cloud private network cluster is greater than that corresponding to the public network cluster.
Further, after receiving the service resource configuration request, the resource processing device may further select at least one target cloud computing virtual machine in the computing resource pool according to the resource configuration information, or may also select a dedicated host in the computing resource pool and create a number of target cloud computing virtual machines required by a user on the dedicated host. The resource processing device may further obtain a first security isolation level in the service resource configuration request, and select at least one target cloud storage virtual machine in the cloud storage virtual machine cluster with the first security isolation level in the storage resource pool according to the resource configuration information; and further acquiring a second security isolation level in the service resource configuration request, and selecting at least one target virtual switch in the virtual switch cluster with the second security isolation level in the network resource pool according to the resource configuration information. The first security isolation level may be any one of a security isolation level of the exclusive complete machine storage cluster pair, a security isolation level corresponding to the exclusive flash disk level storage cluster, and a security isolation level corresponding to the public storage cluster. The second security isolation level may be any one of a security isolation level corresponding to the exclusive physical network cluster, a security isolation level corresponding to the cloud private network cluster, and a security isolation level corresponding to the public network cluster.
S103, establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information;
specifically, the resource processing apparatus may establish a data transmission channel between each target cloud computing virtual machine and each target virtual switch, establish a data transmission channel between each target virtual switch and each target cloud storage virtual machine, and determine each target cloud computing virtual machine, each target cloud storage virtual machine, and each target virtual switch having the data transmission channel as a target cloud-based database corresponding to the target user information. Through the established data transmission channel, the data obtained by the operation of each target cloud computing virtual machine can be transmitted to the corresponding target cloud storage virtual machine through the target virtual switch.
Optionally, the resource processing apparatus may further establish a connection relationship between the target cloud database and an automatic load balancing device, and configure a cluster access policy, a load balancing algorithm, and a weight value for the target cloud database through the automatic load balancing device. The automatic load balancing device is one of the automatic load balancing clusters, and the automatic load balancing cluster may include a plurality of automatic load balancing devices. The automatic load balancing cluster can be connected with the cloud databases corresponding to a plurality of different users, namely, each automatic load balancing device in the automatic load balancing cluster is connected with one cloud database, namely, one automatic load balancing device can control one cloud database.
Optionally, the resource processing apparatus may further install a database system (the database system may include an Oracle GI and an Oracle DB) in the target clouded database, and return a service resource configuration result message to the client; the service resource configuration result message comprises a creation success message corresponding to the target cloud database, and information of computing resources, storage resources and data transmission channels provided by the at least one target cloud virtual machine. The target clouded database may provide an Oracle Rac service. If the resource processing device fails to create the target cloud database, the service resource configuration result message received by the client comprises a creation failure message.
After the target cloud database is created, each target cloud computing virtual machine in the target cloud database can perform operation processing on service data, and each target virtual switch can store the operation-processed service data to a corresponding target cloud storage virtual machine.
Optionally, the resource processing apparatus may further obtain a management configuration parameter sent by the client (the client may specifically send the management configuration parameter to the resource processing apparatus through a preset resource management platform), and update the management configuration parameter to the target cloud database; the management configuration parameters comprise maintenance configuration information and alarm configuration information, namely, a user corresponding to the client can autonomously manage the target cloud database.
And S104, when a service resource capacity expansion request is received, selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded.
Specifically, when the resource processing apparatus receives a service resource expansion request, a cloud virtual machine to be expanded and a virtual switch to be expanded may be selected in the resource pool according to the service resource expansion request, the cloud virtual machine to be expanded and the virtual switch to be expanded are added to the target cloud database, and a data transmission channel in the target cloud database is updated based on the cloud virtual machine to be expanded and the virtual switch to be expanded. The cloud virtual machine to be expanded comprises a cloud computing virtual machine to be expanded and a cloud storage virtual machine to be expanded, so that the target cloud database after expansion comprises the target cloud computing virtual machine and the cloud computing virtual machine to be expanded (so that the target cloud database after expansion has stronger computing capability), the target cloud storage virtual machine and the cloud storage virtual machine to be expanded (so that the target cloud database after expansion has more storage space), the target virtual switch and the virtual switch to be expanded (so that the target cloud database after expansion has more network resources). When the service data volume is increased, the target cloud database after capacity expansion can meet the increased service data volume by performing capacity expansion on the target cloud database.
Optionally, when the resource processing apparatus receives a service resource capacity reduction request, a cloud virtual machine to be capacity reduced and a virtual switch to be capacity reduced may be selected from the target cloud database according to the service resource capacity reduction request, the cloud virtual machine to be capacity reduced and the virtual switch to be capacity reduced are moved out of the target cloud database into the resource pool, and a data transmission channel in the target cloud database after the cloud virtual machine to be capacity reduced and the virtual switch to be capacity reduced are moved out is updated. The cloud virtual machines to be subjected to capacity reduction comprise cloud computing virtual machines to be subjected to capacity reduction and cloud storage virtual machines to be subjected to capacity reduction, so that the number of the target cloud computing virtual machines, the number of the target cloud storage virtual machines and the number of the target virtual switches in the target cloud database subjected to capacity reduction are reduced. When the service data volume is reduced, the target cloud database is subjected to capacity reduction, so that system resources can be saved.
The whole Oracle Rac service in the Internet data center provides at least 3 storage nodes and one backup storage node cloud host to provide access across a rack and a machine room, any 2 damaged nodes can be automatically switched through the heat migration of the cloud host, and Oracle Rac service storage service can be normally provided for each cloud database as long as one storage node cloud host works normally in the switching process. The whole Oracle Rac service in the Internet data center also provides at least 3 computing node point cloud hosts to cross the rack and the machine room for access, any 2 damaged nodes can be automatically switched through the heat migration of the cloud hosts, and the automatic switching is completed after the automatic switchingIn the process, only one cloud host of the computing nodes works normally, the access service of the Oracle Rac service can be provided for each cloud database normally, and the protection of the x86 whole computing nodes is realized. The whole Oracle Rac service in the Internet data center also provides at least 2 Roc 40G intranet switch pooling redundant resources, each cloud host intranet (calculation and storage) adopts a double-Roc 40G network card four-network-port architecture, data and heartbeat synchronous requests of the intranet are separated and redundantly linked with the two switches of the intranet, and the damage of any network component of the intranet does not influence the network service of the whole Oracle Rac service intranet; the backbone network adopts two paths of ten-million Ethernet switch redundant resources crossing the rack, and each cloud host (calculation and storage) external network adopts ten-million double network cards as the binding (the binding means that a plurality of network cards are virtualized into one network card to ensure that the network cards have the sameNetwork addressThe technology) is connected with the two external network switches in a redundant way, and the damage of any network component of the external network can not influence the network service of the external network of the Oracle Rac overall service, so as to realize the redundancy protection of the internal network and the backbone network. The internet data center can also use an Automatic Storage Management (ASM) file system of the Oracle Rac to manage data of the database, a Normal mode is adopted, each data is written into three copies, the data are respectively written into different flash memory disks of three Storage nodes, a cold standby Storage is added, each Storage node is provided with a writing disk, and the whole service data access service of the Oracle Rac cannot be influenced by the loss of any two copies of data.
Further, referring to fig. 1a together, a schematic structural diagram of an internet data center provided in an embodiment of the present invention is shown in fig. 1a, where the internet data center 100 may include a computing resource pool 100b, a network resource pool 100c, and a storage resource pool 100d, where the computing resource pool 100b includes CVM _ a1, CVM _ a2, …, CVM _ an-1, and CVM _ an, that is, the computing resource pool 100b may include n CVMs (Cloud Virtual machines) for performing Cloud computing, that is, each CVM in the computing resource pool 100b is a Cloud computing Virtual Machine. The network resource pool 100c includes a rock Switch _1, a rock Switch _2, …, a rock Switch _ n-1, and a rock Switch _ n, that is, the network resource pool 100c may include n virtual switches (rock switches) for data transmission, and the n virtual switches may be provided by a plurality of ROCE 40G switches. The storage resource pool 100d includes CVM _ b1, CVM _ b2, …, CVM _ bn-1, and CVM _ bn, that is, the storage resource pool 100d may include n CVMs for cloud storage, that is, each CVM in the storage resource pool 100d is a cloud storage virtual machine. When a client requests to create a target cloud database in the internet data center 100, according to a service resource configuration request sent by the client, CVM _ a1 and CVM _ a2 may be selected as target cloud computing virtual machines in the computing resource pool 100b, and see Switch _1 and ROCE Switch _2 as target virtual switches in the network resource pool 100c, and CVM _ b1 and CVM _ b2 as target storage virtual machines in the storage resource pool 100d, where CVM _ a1 and CVM _ a2 respectively establish data transmission channels with ROCE Switch _1 and ROCE Switch _2 (specifically, CVM _ a1 and CVM _ a2 may each include two ROCE interfaces, each ROCE interface respectively establishes a data transmission channel with ROCE Switch _1 and ROCE Switch _2 through the data transmission channels, and CVM _ b1 and CVM _ b2 respectively also establish a ROCE transmission channel with ROCE Switch _1 and ROCE Switch _2 (specifically, rocm _ a Switch _ b _2 and CVM _ b _2 are respectively establish data transmission channels, the CVM _ b1 and CVM _ b2 may each include 1 rock interface, each rock interface is connected to a rock Switch _1 and a rock Switch _2 through the data transmission channel, the rock Switch _1 and the rock Switch _2 may be connected and communicated through a two-wire interconnect, and further, the CVM _ a1, CVM _ a2, CVM _ b1, CVM _ b2, rock Switch _1, and rock Switch _2 that have established the data transmission channel may be determined as the target cloud database 100a corresponding to the client. The target cloud database 100a may be connected to a further TGW (Tencent GateWay, a system developed by Tencent to implement multi-network unified access, request forwarding of an external network, and support of automatic load balancing) cluster, where the TGW cluster may include a plurality of automatic load balancing devices, and the target cloud database 100a may be specifically connected to one of the automatic load balancing devices in the TGW cluster. The target cloud database 100a may perform operation processing on the service data sent by the client through the CVM _ a1 and the CVM _ a2, and the target cloud database 100a sends the operation-processed service data to the CVM _ b1 and the CVM _ b2 through the ROCE Switch _1 and the ROCE Switch _2, so that the CVM _ b1 and the CVM _ b2 may store the operation-processed service data. When the client wants to perform capacity expansion operation on the target cloud database 100a, the client may add CVM _ ax (3 ═ x ═ n) in an idle state in the computing resource pool 100b, rce Switch _ y (3 ═ y ═ n) in an idle state in the network resource pool 100c, and CVM _ bz (3 ═ z ═ n) in an idle state in the storage resource pool 100d to the target cloud database 100a, and update a data transmission channel in the target cloud database 100a, so as to complete capacity expansion of the target cloud database 100 a.
According to the embodiment of the invention, by receiving a service resource configuration request sent by a client, at least one target cloud virtual machine and at least one target virtual switch can be selected in a preset resource pool in an internet data center according to the resource configuration information in the service resource configuration request; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches; establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information; when a service resource capacity expansion request is received, selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded. Because the computing resources, the network resources and the storage resources are subjected to cloud management, dynamic elastic expansion is easier to realize, and the construction cost and the operation and maintenance cost are reduced.
Referring to fig. 2, a schematic flowchart of a resource processing method based on an internet data center according to an embodiment of the present invention is shown, where the method includes:
s201, receiving a service resource allocation request sent by a client; the service resource allocation request comprises target user information and resource allocation information;
s202, selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in an Internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches;
s203, establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information;
the specific implementation manner of steps S201 to S203 may refer to steps S101 to S103 in the corresponding embodiment of fig. 1, which are not described herein again.
S204, at least one same-city Internet data center associated with the Internet data centers is informed to create a same-city cloud database which is the same as the target cloud database, and the target cloud database is controlled to be communicated with each same-city cloud database through a special line, so that each same-city cloud database can synchronize service data, capacity expansion operation and capacity reduction operation in the target cloud database in real time;
specifically, the resource processing device may further notify at least one same-city internet data center associated with the internet data center to create a same-city clouded database that is the same as the target clouded database, and connect the target clouded database to each same-city clouded database through a dedicated line, so that each same-city clouded database synchronizes business data, capacity expansion operation, and capacity reduction operation in the target clouded database in real time. The number of cloud computing virtual machines, the number of cloud storage virtual machines, the number of virtual switches and the architecture of data transmission channels in the city-sharing clouding database are the same as those of the target clouding database. When an abnormal internet data center is abnormal, the TGW cluster connected with the abnormal internet data center can stop providing the abnormal internet data center with Oracle Rac service, that is, the target cloud database or the same-city cloud database in the rest normal internet data centers continuously realize the Oracle Rac service. When the target cloud database calculates and stores certain service data, the same-city cloud databases as the target cloud database synchronously calculate and store the service data; when the target cloud database is subjected to capacity expansion operation, the same as the target cloud database is also synchronously subjected to the same capacity expansion operation, namely the number of newly added cloud computing virtual machines (and/or cloud storage virtual machines and/or virtual interaction machines) between the target cloud database and the same city cloud databases is the same. When the target cloud database is subjected to capacity reduction operation, the same capacity reduction operation is synchronously performed on the same city cloud databases as the target cloud database, namely the number of cloud computing virtual machines (and/or cloud storage virtual machines and/or virtual interaction machines) moved out between the target cloud database and the same city cloud databases is the same.
Further, please refer to fig. 2a together, which is a schematic structural diagram of another internet data center provided in an embodiment of the present invention, in fig. 2a, two internet data centers in the same city are taken as an example, and specifically include an internet data center 200 and an internet data center 300, where the internet data center 200 and the internet data center 300 are located in the same city, that is, the internet data center 300 may be the internet data center in the same city of the internet data center 200. The system architectures (including a computing resource pool, a network resource pool, a storage resource pool, and a TGW cluster) in the internet data center 200 and the internet data center 300 may be the same as the internet data center 100 in fig. 1a, and the cloud database 200a in the internet data center 200 is also the same as the target cloud database 100a in fig. 1a, which is not described again in detail herein for the internet data center 200 and the cloud database 200 a. The internet data center 200 and the internet data center 300 may communicate with each other through a dedicated line, and therefore, when the cloud database 200a is created in the internet data center 200, a service resource configuration request for creating the cloud database 200a may be transmitted to the internet data center 300 through the dedicated line, so that the internet data center 300 may synchronously create the same cloud database 300a as the cloud database 200a, that is, the cloud database 300a is a same-city cloud database as the cloud database 200 a. The cloud database 300a may synchronize the service data processed by the cloud database 200a, and may synchronize the capacity expansion operation and the capacity reduction operation of the cloud database 200 a. Optionally, if the user wants to create a cloud database and selects a dual-living center option in the same city, half of the cloud computing virtual machines, the cloud storage virtual machines and the virtual switch may be respectively selected from the internet data center 200 and the internet data center 300 in the same city to create the cloud database, and provide an external service through the TGW clusters in the internet data center 200 and the internet data center 300, and if the internet data center 200 has a catastrophic result, the TGW cluster in the internet data center 300 kicks the internet data center 200 out of the Oracle Rac service access range.
In the embodiment of the invention, cloud host computing nodes and storage nodes of different machine rooms can be respectively placed in the unified computing resource pool and storage resource pool by utilizing the intranet bandwidth among the plurality of internet data centers in the same city, the computing nodes and the storage nodes can be distributed in different machine rooms in the same city by the whole Oracle Rac service, and when a certain machine room cannot work due to disastrous consequences, the Oracle Rac service can be continuously provided by adopting another internet data center in the same city independently, so that redundancy protection is realized.
Referring to fig. 3, a schematic flowchart of a resource processing method based on an internet data center according to an embodiment of the present invention is shown, where the method includes:
s301, receiving a service resource allocation request sent by a client; the service resource allocation request comprises target user information and resource allocation information;
s302, selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in an Internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches;
s303, establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information;
the specific implementation manner of steps S301 to S303 may refer to steps S101 to S103 in the corresponding embodiment of fig. 1, which are not described herein again.
S304, notifying at least one same-city internet data center associated with the internet data center to create a same-city clouded database as the target clouded database, and notifying at least one different-city internet data center associated with the internet data center to create a different-city clouded database as the target clouded database;
and S305, controlling the target cloud database to communicate with the same-city cloud databases through a first special line, and communicating with different-city cloud databases through DCI (Data Center Interconnect) so as to synchronize service Data, capacity expansion operation and capacity reduction operation in the target cloud databases in real time.
Specifically, the resource processing device may notify at least one city-wide internet data center associated with the internet data center to create a same-city clouded database as the target clouded database, and notify at least one different-city-wide internet data center associated with the internet data center to create a different-city clouded database as the target clouded database; the internet data centers between the same cities can be connected through a first special line (namely, two internet data centers in the same city can be connected through the first special line), the internet data centers between the different cities can be connected through DCI (namely, the two internet data centers in the different cities can be connected through DCI respectively), and then the target clouded database can be communicated with the same-city clouded databases through the first special line and communicated with the different-city clouded databases through the data center interconnection DCI, so that the same-city clouded databases and the different-city clouded databases can synchronize service data, capacity expansion operation and capacity reduction operation in the target clouded database in real time. The number of cloud computing virtual machines, the number of cloud storage virtual machines, the number of virtual switches and the architecture of data transmission channels in the same-city cloud database and the different-city cloud database are the same as those of the target cloud database. When an internet data center is abnormal, the TGW cluster connected with the abnormal internet data center can stop providing Oracle Rac service to the abnormal internet data center, namely, the Oracle Rac service is continuously realized by the target cloud database or the same-city cloud database or the different-city cloud database in the rest normal internet data centers.
When the target cloud database calculates and stores certain service data, the same city cloud databases and different city cloud databases which are the same as the target cloud database synchronously calculate and store the service data; when the target cloud database is subjected to capacity expansion operation, the same-city cloud databases and different-city cloud databases as the target cloud database are also subjected to the same capacity expansion operation synchronously, namely the number of cloud computing virtual machines (and/or cloud storage virtual machines and/or virtual interaction machines) newly added between the target cloud database and the same-city cloud databases and between the target cloud database and the different-city cloud databases is the same. When the target cloud database is subjected to capacity reduction operation, the same-city cloud databases and different-city cloud databases as the target cloud database are also subjected to the same capacity reduction operation synchronously, namely the number of cloud computing virtual machines (and/or cloud storage virtual machines and/or virtual interaction machines) moved out between the target cloud database and the same-city cloud databases and between the target cloud database and the different-city cloud databases is the same.
Further, please refer to fig. 3a together, which is a schematic structural diagram of another internet data center provided in an embodiment of the present invention, and fig. 3a specifically illustrates two internet data centers in the same city, which include an internet data center 400, an internet data center 500, an internet data center 600, and an internet data center 700, where the internet data center 400 and the internet data center 500 are both located in a city a, and the internet data center 600 and the internet data center 700 are both located in a city B, so that the internet data center 500 is the same-city internet data center of the internet data center 400, and the internet data center 600 and the internet data center 700 are both different-city internet data centers of the internet data center 400. System architectures (including a computing resource pool, a network resource pool, a storage resource pool, and a TGW cluster) in the internet data center 400, the internet data center 500, the internet data center 600, and the internet data center 700 may all be the same as the internet data center 100 in fig. 1a, and the cloud database 400a in the internet data center 400 is also the same as the target cloud database 100a in fig. 1a, and details of the internet data center 400 and the cloud database 400a are not repeated here. The internet data center 400 and the internet data center 500 may communicate with each other through a dedicated line, the internet data center 600 and the internet data center 700 may communicate with each other through a dedicated line, the internet data center 400 and the internet data center 600 may communicate with each other through DCI, and the internet data center 500 and the internet data center 700 may communicate with each other through DCI, so that when the cloud database 400a is created in the internet data center 400, a service resource configuration request for creating the cloud database 400a may be transmitted to the internet data center 500 through the dedicated line, the service resource configuration request may be transmitted to the internet data center 600 through DCI, and then the internet data center 500 transmits the service resource configuration request to the internet data center 700 through DCI (or through a dedicated line by the internet data center 600), the internet data center 500, the internet data center 600, and the internet data center 700 may synchronously create a clouded database 500a, a clouded database 600a, and a clouded database 700a that are the same as the clouded database 400a, that is, the clouded database 500a is a same-city clouded database of the clouded database 400a, and the clouded database 600a and the clouded database 700a are both different-city clouded databases of the clouded database 400 a. The cloud database 500a, the cloud database 600a, and the cloud database 700a may synchronize the service data processed by the cloud database 400a, and may synchronize the capacity expansion operation and the capacity reduction operation of the cloud database 400 a. Optionally, if the user wants to create a cloud database and selects the option of dual live centers in two places, Oracle Rac DG synchronization (attenuation is asynchronous when network jitter) of internet data centers in different cities can be increased when the cloud database is configured, the Oracle Rac service in one city supports reading and writing, and the Oracle Rac service in the other city is read only, so that when a disaster occurs in a certain city, the active and standby DG access mode is updated or the Oracle Rac service in the faulty city is kicked out through domain name switching.
According to the embodiment of the invention, DCI intranet bandwidth can be utilized between the internet data centers in different places, and data can be synchronously copied to Oracle Rac service of the internet data centers in different places by using the ADG service of Oracle, so that when a certain city cannot work due to disastrous consequences, the Oracle Rac service can be continuously provided by independently adopting another internet data center in different places through domain name switching.
Referring to fig. 4, it is a schematic structural diagram of a resource processing apparatus 1 based on an internet data center according to an embodiment of the present invention, where the resource processing apparatus 1 may include: the system comprises a receiving module 10, a configuration module 20, an establishing module 30, an installing module 40, an updating module 50, a capacity expanding module 60, a capacity shrinking module 70, a first notification creating module 80 and a second notification creating module 90;
the receiving module 10 is configured to receive a service resource configuration request sent by a client; the service resource allocation request comprises target user information and resource allocation information;
the configuration module 20 is configured to select at least one target cloud virtual machine and at least one target virtual switch from a resource pool preset in the internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches;
the establishing module 30 is configured to establish a data transmission channel between each target cloud virtual machine and each target virtual switch, and determine each target cloud virtual machine and each target virtual switch having the data transmission channel as a target cloud database corresponding to the target user information;
the establishing module 30 is further configured to establish a connection relationship between the target cloud database and an automatic load balancing device, and configure a cluster access policy, a load balancing algorithm, and a weight value for the target cloud database through the automatic load balancing device.
The installation module 40 is configured to install a database system in the target cloud database, and return a service resource configuration result message to the client; the service resource configuration result message comprises a successful creation message corresponding to the target cloud database, and information of computing resources, storage resources and data transmission channels provided by the at least one target cloud virtual machine;
the updating module 50 is configured to acquire the management configuration parameters sent by the client, and update the management configuration parameters to the target cloud database; the management configuration parameters comprise maintenance configuration information and alarm configuration information;
the capacity expansion module 60 is configured to, when a service resource capacity expansion request is received, select a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, add the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and update a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded;
the capacity reduction module 70 is configured to, when a service resource capacity reduction request is received, select a cloud virtual machine to be reduced and a virtual switch to be reduced in the target cloud database according to the service resource capacity reduction request, move the cloud virtual machine to be reduced and the virtual switch to be reduced out of the target cloud database into the resource pool, and update a data transmission channel in the target cloud database after the cloud virtual machine to be reduced and the virtual switch to be reduced are moved out.
The specific implementation manners of the receiving module 10, the configuring module 20, the establishing module 30, the installing module 40, the updating module 50, the capacity expanding module 60, and the capacity reducing module 70 may refer to S101 to S104 in the embodiment corresponding to fig. 1, which is not described herein again.
The resource pool comprises a computing resource pool, a network resource pool and a storage resource pool; the computing resource pool is provided by hardware computing resources of a plurality of servers in the internet data center; the network resource pool is provided by a plurality of switches in the internet data center; the pool of storage resources is provided by hardware storage resources of a plurality of servers in the internet data center. The at least one target cloud virtual machine comprises: the system comprises a target cloud computing virtual machine and a target cloud storage virtual machine.
Further, please refer to fig. 5, which is a schematic structural diagram of a configuration module 20 according to an embodiment of the present invention, where the configuration module 20 may include: a first selection unit 201, a second selection unit 202, a third selection unit 203;
the first selecting unit 201 is configured to select at least one target cloud computing virtual machine in the computing resource pool according to the resource configuration information;
the second selecting unit 202 is configured to obtain a first security isolation level in the service resource configuration request, and select, in a cloud storage virtual machine cluster having the first security isolation level in the storage resource pool, at least one target cloud storage virtual machine according to the resource configuration information;
the third selecting unit 203 is configured to obtain a second security isolation level in the service resource configuration request, and select at least one target virtual switch according to the resource configuration information in the virtual switch cluster having the second security isolation level in the network resource pool.
The specific implementation manners of the first selecting unit 201, the second selecting unit 202, and the third selecting unit 203 may refer to S102 in the embodiment corresponding to fig. 1, which is not described herein again.
The first notification creating module 80 is configured to notify at least one same-city internet data center associated with the internet data center to create a same-city cloud database that is the same as the target cloud database, and control the target cloud database to communicate with each same-city cloud database through a dedicated line, so that each same-city cloud database synchronizes service data, capacity expansion operation, and capacity reduction operation in the target cloud database in real time.
The specific implementation manner of the first notification creating module 80 may refer to S204 in the embodiment corresponding to fig. 2, which is not described herein again.
The second notification creation module 90 is configured to notify at least one city-sharing internet data center associated with the internet data center to create a city-sharing clouded database that is the same as the target clouded database, notify at least one different city internet data center associated with the internet data center to create a different city clouded database that is the same as the target clouded database, and control the target clouded database to communicate with each city-sharing clouded database through a first dedicated line, and communicate with each different city clouded database through a data center interconnection DCI, so that the city-sharing clouded databases and the different city clouded databases synchronize service data, capacity expansion operations, and capacity reduction operations in the target clouded database in real time.
The specific implementation manner of the second notification creating module 90 may refer to S304-S305 in the embodiment corresponding to fig. 3, which is not described herein again.
When the first notification creation module 80 performs the corresponding operation, the second notification creation module 90 will not perform any operation; when the second notification creation module 90 performs the corresponding operation, the first notification creation module 80 will not perform any operation.
According to the embodiment of the invention, by receiving a service resource configuration request sent by a client, at least one target cloud virtual machine and at least one target virtual switch can be selected in a preset resource pool in an internet data center according to the resource configuration information in the service resource configuration request; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches; establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information; when a service resource capacity expansion request is received, selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded into the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded. Because the computing resources, the network resources and the storage resources are subjected to cloud management, dynamic elastic expansion is easier to realize, and the construction cost and the operation and maintenance cost are reduced.
Fig. 6 is a schematic structural diagram of another resource processing device based on an internet data center according to an embodiment of the present invention. As shown in fig. 6, the resource processing apparatus 1000 may include: at least one processor 1001, e.g., CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 6, the memory 1005, which is a type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a device control application program.
In the resource processing apparatus 1000 shown in fig. 6, the network interface 1004 is mainly used for connecting a client; the processor 1001 may be configured to call the device control application stored in the memory 1005, and specifically perform the following steps:
receiving a service resource configuration request sent by a client; the service resource allocation request comprises target user information and resource allocation information;
selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in an internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches;
establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information;
when a service resource capacity expansion request is received, selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded into the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded.
In one embodiment, the processor 1001 further performs the steps of:
when a service resource capacity reduction request is received, a cloud virtual machine to be subjected to capacity reduction and a virtual switch to be subjected to capacity reduction are selected from the target cloud database according to the service resource capacity reduction request, the cloud virtual machine to be subjected to capacity reduction and the virtual switch to be subjected to capacity reduction are moved out of the target cloud database into the resource pool, and a data transmission channel in the target cloud database after the cloud virtual machine to be subjected to capacity reduction and the virtual switch to be subjected to capacity reduction are moved out is updated.
In one embodiment, the resource pool includes a computing resource pool, a network resource pool, and a storage resource pool; the computing resource pool is provided by hardware computing resources of a plurality of servers in the internet data center; the network resource pool is provided by a plurality of switches in the internet data center; the pool of storage resources is provided by hardware storage resources of a plurality of servers in the internet data center.
In one embodiment, the at least one target cloud virtual machine comprises: the system comprises a target cloud computing virtual machine and a target cloud storage virtual machine;
when the processor 1001 selects at least one target cloud virtual machine and at least one target virtual switch from a resource pool preset in the internet data center according to the resource configuration information, the following steps are specifically performed:
selecting at least one target cloud computing virtual machine in the computing resource pool according to the resource configuration information;
acquiring a first security isolation level in the service resource configuration request, and selecting at least one target cloud storage virtual machine in a cloud storage virtual machine cluster with the first security isolation level in the storage resource pool according to the resource configuration information;
and acquiring a second security isolation level in the service resource configuration request, and selecting at least one target virtual switch in the virtual switch cluster with the second security isolation level in the network resource pool according to the resource configuration information.
In an embodiment, before the processor 1001 selects a to-be-expanded cloud virtual machine and a to-be-expanded virtual switch in the resource pool according to a service resource expansion request when executing that the service resource expansion request is received, the following steps are further executed:
establishing a connection relation between the target cloud database and automatic load balancing equipment, and configuring a cluster access strategy, a load balancing algorithm and a weight value for the target cloud database through the automatic load balancing equipment.
In an embodiment, before the processor 1001 selects a to-be-expanded cloud virtual machine and a to-be-expanded virtual switch in the resource pool according to a service resource expansion request when executing that the service resource expansion request is received, the following steps are further executed:
installing a database system in the target cloud database, and returning a service resource configuration result message to the client;
the service resource configuration result message comprises a creation success message corresponding to the target cloud database, and information of computing resources, storage resources and data transmission channels provided by the at least one target cloud virtual machine.
In an embodiment, before the processor 1001 selects a to-be-expanded cloud virtual machine and a to-be-expanded virtual switch in the resource pool according to a service resource expansion request when executing that the service resource expansion request is received, the following steps are further executed:
acquiring management configuration parameters sent by the client, and updating the management configuration parameters to the target cloud database;
the management configuration parameters comprise maintenance configuration information and alarm configuration information.
In an embodiment, before the processor 1001 selects a to-be-expanded cloud virtual machine and a to-be-expanded virtual switch in the resource pool according to a service resource expansion request when executing that the service resource expansion request is received, the following steps are further executed:
and informing at least one city-sharing internet data center associated with the internet data centers to create a city-sharing clouded database which is the same as the target clouded database, and controlling the target clouded database to communicate with each city-sharing clouded database through a special line, so that each city-sharing clouded database can synchronize service data, capacity expansion operation and capacity reduction operation in the target clouded database in real time.
In an embodiment, before the processor 1001 selects a to-be-expanded cloud virtual machine and a to-be-expanded virtual switch in the resource pool according to a service resource expansion request when executing that the service resource expansion request is received, the following steps are further executed:
notifying at least one same-city internet data center associated with the internet data center to create a same-city clouded database as the target clouded database, and notifying at least one different-city internet data center associated with the internet data center to create a different-city clouded database as the target clouded database;
and controlling the target cloud database to communicate with the same-city cloud databases through a first special line and communicate with different-city cloud databases through data center interconnection DCI (Downlink control information) so as to facilitate real-time synchronization of the same-city cloud databases and the different-city cloud databases on business data, capacity expansion operation and capacity reduction operation in the target cloud databases.
According to the embodiment of the invention, by receiving a service resource configuration request sent by a client, at least one target cloud virtual machine and at least one target virtual switch can be selected in a preset resource pool in an internet data center according to the resource configuration information in the service resource configuration request; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches; establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information; when a service resource capacity expansion request is received, selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded. Because the computing resources, the network resources and the storage resources are subjected to cloud management, dynamic elastic capacity expansion is easier to realize, and the construction cost and the operation and maintenance cost are reduced.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (18)

1. A resource processing method based on an Internet data center is characterized by comprising the following steps:
receiving a service resource configuration request sent by a client; the service resource allocation request comprises target user information and resource allocation information; the service resource configuration request carries a second security isolation level;
selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in an internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches; the plurality of virtual switches are divided into a plurality of virtual switch clusters, the plurality of virtual switch clusters including a public network cluster, a cloud private network cluster, and an exclusive physical network cluster; the security isolation level corresponding to the exclusive physical network cluster is greater than that corresponding to the cloud private network cluster, and the security isolation level corresponding to the cloud private network cluster is greater than that corresponding to the public network cluster; the at least one target virtual switch is selected from a cluster of virtual switches with a second level of security isolation according to the resource configuration information;
establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information; the target cloud database is used for providing Oracle Rac service; the at least one target cloud virtual machine comprises: the system comprises a target cloud computing virtual machine and a target cloud storage virtual machine; the data transmission channel has the capacity of transmitting data obtained by operation of the target cloud computing virtual machine to the corresponding target cloud storage virtual machine through the target virtual switch;
when a service resource capacity expansion request is received, selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded into the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded.
2. The method of claim 1, further comprising:
when a service resource capacity reduction request is received, a cloud virtual machine to be subjected to capacity reduction and a virtual switch to be subjected to capacity reduction are selected from the target cloud database according to the service resource capacity reduction request, the cloud virtual machine to be subjected to capacity reduction and the virtual switch to be subjected to capacity reduction are moved out of the target cloud database into the resource pool, and a data transmission channel in the target cloud database after the cloud virtual machine to be subjected to capacity reduction and the virtual switch to be subjected to capacity reduction are moved out is updated.
3. The method of claim 1, wherein the resource pools comprise a computing resource pool, a network resource pool, and a storage resource pool; the computing resource pool is provided by hardware computing resources of a plurality of servers in the internet data center; the network resource pool is provided by a plurality of switches in the internet data center; the pool of storage resources is provided by hardware storage resources of a plurality of servers in the internet data center.
4. The method of claim 3, wherein the selecting at least one target cloud virtual machine and at least one target virtual switch from a resource pool preset in an internet data center according to the resource configuration information comprises:
selecting at least one target cloud computing virtual machine in the computing resource pool according to the resource configuration information;
acquiring a first security isolation level in the service resource configuration request, and selecting at least one target cloud storage virtual machine in a cloud storage virtual machine cluster with the first security isolation level in the storage resource pool according to the resource configuration information;
and acquiring a second security isolation level in the service resource configuration request, and selecting at least one target virtual switch in the virtual switch cluster with the second security isolation level in the network resource pool according to the resource configuration information.
5. The method according to claim 1, wherein before the step of selecting, when receiving a service resource expansion request, a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource expansion request, the method further includes:
establishing a connection relation between the target cloud database and automatic load balancing equipment, and configuring a cluster access strategy, a load balancing algorithm and a weight value for the target cloud database through the automatic load balancing equipment.
6. The method of claim 1, wherein before the step of selecting, when a service resource expansion request is received, a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource expansion request, the method further comprises:
installing a database system in the target cloud database, and returning a service resource configuration result message to the client;
the service resource configuration result message comprises a creation success message corresponding to the target cloud database, and information of computing resources, storage resources and data transmission channels provided by the at least one target cloud virtual machine.
7. The method of claim 1, wherein before the step of selecting, when a service resource expansion request is received, a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource expansion request, the method further comprises:
acquiring management configuration parameters sent by the client, and updating the management configuration parameters to the target cloud database;
the management configuration parameters comprise maintenance configuration information and alarm configuration information.
8. The method according to any one of claims 1 to 7, wherein before the step of selecting, when a service resource expansion request is received, a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource expansion request, the method further includes:
and informing at least one same-city internet data center associated with the internet data center to create a same-city clouded database which is the same as the target clouded database, and controlling the target clouded database to communicate with each same-city clouded database through a special line, so that each same-city clouded database synchronizes service data, capacity expansion operation and capacity reduction operation in the target clouded database in real time.
9. The method according to any one of claims 1 to 7, wherein before the step of selecting, when a service resource expansion request is received, a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the service resource expansion request, the method further includes:
notifying at least one same-city internet data center associated with the internet data center to create a same-city clouded database as the target clouded database, and notifying at least one different-city internet data center associated with the internet data center to create a different-city clouded database as the target clouded database;
and controlling the target cloud database to communicate with the same-city cloud databases through a first special line and communicate with different-city cloud databases through data center interconnection DCI (Downlink control information) so as to facilitate real-time synchronization of the same-city cloud databases and the different-city cloud databases on business data, capacity expansion operation and capacity reduction operation in the target cloud databases.
10. An internet data center-based resource processing device, comprising:
the receiving module is used for receiving a service resource configuration request sent by a client; the service resource allocation request comprises target user information and resource allocation information; the service resource configuration request carries a second security isolation level;
the configuration module is used for selecting at least one target cloud virtual machine and at least one target virtual switch from a preset resource pool in the internet data center according to the resource configuration information; the resource pool comprises a plurality of cloud virtual machines and a plurality of virtual switches; the plurality of virtual switches are divided into a plurality of virtual switch clusters, the plurality of virtual switch clusters including a public network cluster, a cloud private network cluster, and an exclusive physical network cluster; the security isolation level corresponding to the exclusive physical network cluster is greater than that corresponding to the cloud private network cluster, and the security isolation level corresponding to the cloud private network cluster is greater than that corresponding to the public network cluster; the at least one target virtual switch is selected from a virtual switch cluster with a second security isolation level according to the resource configuration information;
the establishing module is used for establishing a data transmission channel between each target cloud virtual machine and each target virtual switch, and determining each target cloud virtual machine and each target virtual switch with the data transmission channel as a target cloud database corresponding to the target user information; the target cloud database is used for providing Oracle Rac service; the at least one target cloud virtual machine comprises: the system comprises a target cloud computing virtual machine and a target cloud storage virtual machine; the data transmission channel has the capacity of transmitting data obtained by operation of the target cloud computing virtual machine to the corresponding target cloud storage virtual machine through the target virtual switch;
and the capacity expansion module is used for selecting a cloud virtual machine to be expanded and a virtual switch to be expanded in the resource pool according to the business resource capacity expansion request when receiving a business resource capacity expansion request, adding the cloud virtual machine to be expanded and the virtual switch to be expanded into the target cloud database, and updating a data transmission channel in the target cloud database based on the cloud virtual machine to be expanded and the virtual switch to be expanded.
11. The apparatus of claim 10, further comprising:
the capacity reduction module is used for selecting a cloud virtual machine to be subjected to capacity reduction and a virtual switch to be subjected to capacity reduction in the target cloud database according to the service resource capacity reduction request when receiving the service resource capacity reduction request, moving the cloud virtual machine to be subjected to capacity reduction and the virtual switch to be subjected to capacity reduction out of the target cloud database into the resource pool, and updating a data transmission channel in the target cloud database after the cloud virtual machine to be subjected to capacity reduction and the virtual switch to be subjected to capacity reduction are moved out.
12. The apparatus of claim 10, wherein the resource pools comprise a computing resource pool, a network resource pool, and a storage resource pool; the computing resource pool is provided by hardware computing resources of a plurality of servers in the internet data center; the network resource pool is provided by a plurality of switches in the internet data center; the pool of storage resources is provided by hardware storage resources of a plurality of servers in the internet data center.
13. The apparatus of claim 12, wherein the configuration module comprises:
a first selection unit, configured to select at least one target cloud computing virtual machine in the computing resource pool according to the resource configuration information;
a second selecting unit, configured to obtain a first security isolation level in the service resource configuration request, and select, in a cloud storage virtual machine cluster in the storage resource pool that has the first security isolation level, at least one target cloud storage virtual machine according to the resource configuration information;
and a third selecting unit, configured to obtain a second security isolation level in the service resource configuration request, and select at least one target virtual switch in the virtual switch cluster with the second security isolation level in the network resource pool according to the resource configuration information.
14. The apparatus of claim 10,
the establishing module is further configured to establish a connection relationship between the target cloud database and an automatic load balancing device, and configure a cluster access policy, a load balancing algorithm and a weight value for the target cloud database through the automatic load balancing device.
15. The apparatus of claim 10, further comprising:
the installation module is used for installing a database system in the target cloud database and returning a service resource configuration result message to the client;
the service resource configuration result message comprises a creation success message corresponding to the target cloud database, and information of computing resources, storage resources and data transmission channels provided by the at least one target cloud virtual machine.
16. The apparatus of claim 10, further comprising:
the updating module is used for acquiring the management configuration parameters sent by the client and updating the management configuration parameters to the target cloud database;
the management configuration parameters comprise maintenance configuration information and alarm configuration information.
17. The apparatus of any one of claims 10-16, further comprising:
the first notification creation module is used for notifying at least one same-city internet data center associated with the internet data center to create a same-city cloud database which is the same as the target cloud database, and controlling the target cloud database to communicate with each same-city cloud database through a special line, so that each same-city cloud database can synchronize service data, capacity expansion operation and capacity reduction operation in the target cloud database in real time.
18. The apparatus of any one of claims 10-16, further comprising:
the second notification creation module is used for notifying at least one city-sharing internet data center associated with the internet data center to create a city-sharing clouded database which is the same as the target clouded database, notifying at least one different city internet data center associated with the internet data center to create a different city clouded database which is the same as the target clouded database, controlling the target clouded database to be communicated with the city-sharing clouded databases through a first special line, and communicating with the different city clouded databases through data center interconnection DCI (distributed information control) so as to facilitate real-time synchronization of service data, capacity expansion operation and capacity reduction operation in the target clouded database between the city-sharing clouded databases and the different city clouded databases.
CN201710109608.1A 2017-02-27 2017-02-27 Resource processing method and device based on Internet data center Active CN106899518B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201710109608.1A CN106899518B (en) 2017-02-27 2017-02-27 Resource processing method and device based on Internet data center
PCT/CN2018/074340 WO2018153218A1 (en) 2017-02-27 2018-01-26 Resource processing method, related apparatus and communication system
TW107105645A TWI710915B (en) 2017-02-27 2018-02-14 Resource processing method based on internet data center, related devices and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710109608.1A CN106899518B (en) 2017-02-27 2017-02-27 Resource processing method and device based on Internet data center

Publications (2)

Publication Number Publication Date
CN106899518A CN106899518A (en) 2017-06-27
CN106899518B true CN106899518B (en) 2022-08-19

Family

ID=59184307

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710109608.1A Active CN106899518B (en) 2017-02-27 2017-02-27 Resource processing method and device based on Internet data center

Country Status (3)

Country Link
CN (1) CN106899518B (en)
TW (1) TWI710915B (en)
WO (1) WO2018153218A1 (en)

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899518B (en) * 2017-02-27 2022-08-19 腾讯科技(深圳)有限公司 Resource processing method and device based on Internet data center
CN109802985B (en) * 2017-11-17 2021-01-29 北京金山云网络技术有限公司 Data transmission method, device, equipment and readable storage medium
CN109840094B (en) * 2017-11-24 2021-08-31 腾讯科技(深圳)有限公司 Database deployment method and device and storage equipment
CN108512693A (en) * 2018-02-24 2018-09-07 国家计算机网络与信息安全管理中心 A kind of trans-regional disaster recovery method and device
CN110874384B (en) * 2018-09-03 2023-05-02 阿里巴巴集团控股有限公司 Method, device and system for expanding and shrinking capacity of database cluster
CN109271235B (en) * 2018-09-06 2023-12-19 广州力挚网络科技有限公司 Database cluster establishment method and device
CN109828868B (en) * 2019-01-04 2023-02-03 新华三技术有限公司成都分公司 Data storage method, device, management equipment and double-active data storage system
CN110213147B (en) * 2019-02-22 2021-09-03 企商在线(北京)网络股份有限公司 Cloud network intercommunication method and device, storage medium and terminal equipment
CN110008000A (en) * 2019-03-05 2019-07-12 阿里巴巴集团控股有限公司 Application cluster capacity reduction method and device
CN110209492B (en) * 2019-03-21 2023-09-05 腾讯科技(深圳)有限公司 Data processing method and device
CN111831713A (en) * 2019-04-18 2020-10-27 阿里巴巴集团控股有限公司 Data processing method, device and equipment
CN110096336B (en) * 2019-04-29 2022-09-06 江苏满运软件科技有限公司 Data monitoring method, device, equipment and medium
CN112351051A (en) * 2019-08-06 2021-02-09 中兴通讯股份有限公司 Cloud service processing method and device, cloud server, cloud service processing system and storage medium
CN110433487B (en) * 2019-08-08 2022-01-28 腾讯科技(深圳)有限公司 Method and related device for distributing service resources
CN112702372B (en) * 2019-10-22 2024-04-05 中兴通讯股份有限公司 Cloud service management method, cloud service management device and readable storage medium
CN113132175B (en) * 2019-12-31 2024-03-26 北京华为数字技术有限公司 Network resource scheduling method and device
CN111221624A (en) * 2019-12-31 2020-06-02 中国电力科学研究院有限公司 Container management method for regulation cloud platform based on Docker container technology
CN111338755B (en) * 2020-02-20 2024-02-23 上海仪电(集团)有限公司中央研究院 Linux cloud host information security judging device based on shadow virtual machine
CN113407403B (en) * 2020-03-16 2023-04-25 顺丰科技有限公司 Cloud host management method and device, computer equipment and storage medium
CN111580977B (en) * 2020-05-12 2023-08-29 中国民航信息网络股份有限公司 Resource adjustment method and related equipment
CN111858035A (en) * 2020-06-29 2020-10-30 浪潮电子信息产业股份有限公司 FPGA equipment allocation method, device, equipment and storage medium
CN114124944A (en) * 2020-08-27 2022-03-01 阿里巴巴集团控股有限公司 Data processing method and device of hybrid cloud and electronic equipment
CN112671882B (en) * 2020-12-18 2022-03-01 上海安畅网络科技股份有限公司 Same-city double-activity system and method based on micro-service
CN112685151B (en) * 2020-12-24 2022-02-01 四川长虹电器股份有限公司 Resource scheduling system based on optimized weight model
CN112822235A (en) * 2020-12-29 2021-05-18 乐陵欧曼电子科技有限公司 Data sharing system and method of heterogeneous cloud computing system
CN112835527A (en) * 2021-02-05 2021-05-25 西藏宁算科技集团有限公司 Expansion method and device based on MINIO cloud storage and electronic equipment
CN112799849B (en) * 2021-02-18 2024-03-19 腾讯科技(深圳)有限公司 Data processing method, device, equipment and storage medium
CN113472565B (en) * 2021-06-03 2024-02-20 北京闲徕互娱网络科技有限公司 Method, apparatus, device and computer readable medium for expanding server function
CN114070888B (en) * 2021-11-10 2024-04-12 中国联合网络通信集团有限公司 Service processing method, server, equipment and system based on cloud terminal
CN114500540B (en) * 2022-04-14 2022-08-02 阿里巴巴(中国)有限公司 Data transmission method and device of cloud data center
CN115459968B (en) * 2022-08-25 2023-06-06 中国人民解放军国防科技大学 Isolation method for high-performance computer system and high-performance computer system
CN116389593B (en) * 2023-04-17 2024-01-23 阿里巴巴(中国)有限公司 Resource configuration method, system and electronic equipment
CN116610270B (en) * 2023-07-21 2023-10-03 湖南马栏山视频先进技术研究院有限公司 Video processing calculation and separation method and video calculation and separation system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7463648B1 (en) * 1999-08-23 2008-12-09 Sun Microsystems, Inc. Approach for allocating resources to an apparatus based on optional resource requirements
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN103200020A (en) * 2012-01-04 2013-07-10 中兴通讯股份有限公司 Resource allocating method and resource allocating system
CN103235725A (en) * 2013-05-16 2013-08-07 浪潮通信信息系统有限公司 Linux-based rapid deployment method for Oracle database in cloud computing
CN103516623A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Resource distribution method and system
WO2015165095A1 (en) * 2014-04-30 2015-11-05 华为技术有限公司 Method for creating virtual base station, and base station cloud device

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201327205A (en) * 2011-12-21 2013-07-01 Inventec Corp Managing method for hardware performance and cloud computing system
US8335851B1 (en) * 2012-03-12 2012-12-18 Ringcentral, Inc. Network resource deployment for cloud-based services
US9507612B1 (en) * 2012-08-31 2016-11-29 United Services Automobile Association (Usaa) Managing dedicated and floating pool of virtual machines based on demand
CN103827825B (en) * 2012-09-07 2017-02-22 运软网络科技(上海)有限公司 Virtual resource object component
TWI493933B (en) * 2013-02-01 2015-07-21 Chunghwa Telecom Co Ltd The Dynamic Storage Configuration System and Method of Cloud Group Group Data Room
CN103607308B (en) * 2013-11-29 2016-09-21 杭州东信北邮信息技术有限公司 Virtual machine multi-network management system under cloud computing environment and method
US20150244583A1 (en) * 2014-02-27 2015-08-27 Futurewei Technologies, Inc. System and Method for Creating Service Chains and Virtual Networks in the Cloud
TWI603266B (en) * 2014-03-03 2017-10-21 廣達電腦股份有限公司 Resource adjustment methods and systems for virtual machines
CN106899518B (en) * 2017-02-27 2022-08-19 腾讯科技(深圳)有限公司 Resource processing method and device based on Internet data center

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7463648B1 (en) * 1999-08-23 2008-12-09 Sun Microsystems, Inc. Approach for allocating resources to an apparatus based on optional resource requirements
CN101938416A (en) * 2010-09-01 2011-01-05 华南理工大学 Cloud computing resource scheduling method based on dynamic reconfiguration virtual resources
CN103200020A (en) * 2012-01-04 2013-07-10 中兴通讯股份有限公司 Resource allocating method and resource allocating system
CN103516623A (en) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 Resource distribution method and system
CN103235725A (en) * 2013-05-16 2013-08-07 浪潮通信信息系统有限公司 Linux-based rapid deployment method for Oracle database in cloud computing
WO2015165095A1 (en) * 2014-04-30 2015-11-05 华为技术有限公司 Method for creating virtual base station, and base station cloud device

Also Published As

Publication number Publication date
TWI710915B (en) 2020-11-21
TW201832093A (en) 2018-09-01
CN106899518A (en) 2017-06-27
WO2018153218A1 (en) 2018-08-30

Similar Documents

Publication Publication Date Title
CN106899518B (en) Resource processing method and device based on Internet data center
US11445019B2 (en) Methods, systems, and media for providing distributed database access during a network split
CN107707393B (en) Multi-active system based on Openstack O version characteristics
US9747179B2 (en) Data management agent for selective storage re-caching
CN107391294B (en) Method and device for establishing IPSAN disaster recovery system
US9917767B2 (en) Maintaining a communication path from a host to a storage subsystem in a network
CN100423491C (en) Virtual network storing system and network storing equipment thereof
CN109828868B (en) Data storage method, device, management equipment and double-active data storage system
CN103618627B (en) A kind of manage the method for virtual machine, Apparatus and system
WO2017050254A1 (en) Hot backup method, device and system
CN107666493B (en) Database configuration method and equipment thereof
CN104811476A (en) Highly-available disposition method facing application service
CN110908723A (en) Main/standby switching method and device of operating system and related equipment
CN111431980B (en) Distributed storage system and path switching method thereof
CN113849136B (en) Automatic FC block storage processing method and system based on domestic platform
CN109254873B (en) Data backup method, related device and system
US11153173B1 (en) Dynamically updating compute node location information in a distributed computing environment
CN111708843A (en) Cross-data-center MySQL multi-activity implementation method based on MGR
WO2016206392A1 (en) Data reading and writing method and device
CN111400285A (en) MySQ L data fragment processing method, apparatus, computer device and readable storage medium
KR101618992B1 (en) System for providing virtual desktop service, control method thereof, recording medium for recording program for executing the control method, application saved in the recording medium for executing the control method being combined with hardware
JP2003196254A (en) Management of one or more domains in system
CN109753292A (en) A kind of method and device for disposing multiple applications in more single instance database services
CN117271205A (en) Data processing system, data processing method, data processing device and related equipment
US11947431B1 (en) Replication data facility failure detection and failover automation

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