WO2018153218A1 - 一种资源处理方法、相关装置以及通信系统 - Google Patents

一种资源处理方法、相关装置以及通信系统 Download PDF

Info

Publication number
WO2018153218A1
WO2018153218A1 PCT/CN2018/074340 CN2018074340W WO2018153218A1 WO 2018153218 A1 WO2018153218 A1 WO 2018153218A1 CN 2018074340 W CN2018074340 W CN 2018074340W WO 2018153218 A1 WO2018153218 A1 WO 2018153218A1
Authority
WO
WIPO (PCT)
Prior art keywords
cloud
target
virtual machine
database
resource
Prior art date
Application number
PCT/CN2018/074340
Other languages
English (en)
French (fr)
Inventor
周洪飞
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Publication of WO2018153218A1 publication Critical patent/WO2018153218A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • 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/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

Definitions

  • the present invention relates to the field of Internet technologies, and in particular, to a resource processing method, a related device, and a communication system.
  • Oracle Rac Order-application clusters
  • FC Fibre Channel
  • 10 Gigabit Ethernet as the heartbeat and interactive network of the compute nodes.
  • the service accesses the database network; the computing node uses a non-X86-based minicomputer; the FC SAN (Storage Area Network) disk array is used as the storage; the system requires special rack support, cannot use the general rack of the equipment room, and needs IDC. (Internet Data Center, Internet Data Center) customized construction to support.
  • FC Fibre Channel
  • FC SAN Storage Area Network
  • the embodiment of the invention provides a resource processing method, a related device and a communication system, which can support dynamic elastic expansion and reduce construction cost and operation and maintenance cost.
  • a first aspect of the embodiments of the present invention provides a resource processing method, including:
  • the resource pool includes multiple cloud virtual machines and multiple Virtual switch
  • the cloud virtual machine to be processed and the virtual switch to be processed are selected in the resource pool according to the service resource request, and the target is updated based on the to-be-processed cloud virtual machine and the to-be-processed virtual switch.
  • a data transmission channel in the cloud database where the target cloud database is a cloud corresponding to the service resource configuration request formed by the target cloud virtual machine and the target virtual switch that have the data transmission channel Database.
  • a second aspect of the embodiments of the present invention provides a resource processing apparatus based on an Internet data center, including:
  • a receiving module configured to receive a service resource configuration request sent by the client, where the service resource configuration request is used to select at least one target cloud virtual machine and at least one target virtual switch;
  • a processing module configured to select at least one of the target cloud virtual machine and at least one of the target virtual switches in a resource pool preset in an Internet data center according to the service resource configuration request;
  • the resource pool includes multiple clouds Virtual machine and multiple virtual switches;
  • a processing module configured to: when the service resource request is received, select a cloud virtual machine to be processed and a virtual switch to be processed in the resource pool according to the service resource request, and based on the to-be-processed cloud virtual machine and the to-be-processed virtual
  • the switch updates the data transmission channel in the target cloudization database, where the target cloudization database is formed by the target cloud virtual machine and the target virtual switch that have the data transmission channel and the service resource Configure the cloud database corresponding to the request.
  • a third aspect of the embodiments of the present invention provides a communication system, including a resource processing device, a client, multiple Internet data centers, and an operation management monitoring platform.
  • the resource processing device performs data communication with the client through the operation management monitoring platform; the resource processing device manages the plurality of Internet data centers, and the resource processing device is configured to perform the first aspect as shown in the above Methods.
  • a fourth aspect of the embodiments of the present invention provides a resource processing apparatus, including: one or more processors, a memory, a bus system, and one or more programs, where the processor and the memory are connected by the bus system ;
  • the one or more programs are stored in the memory, the one or more programs comprising instructions that, when executed by the resource processing device, cause the resource processing device to perform the first aspect as described above The method shown.
  • a fifth aspect of the embodiments of the present invention provides a computer readable storage medium storing program instructions, and when the processor executes the stored program instructions, the method as shown in the first aspect above is performed.
  • the at least one target cloud virtual machine and the at least one target virtual switch may be selected in the resource pool preset in the Internet data center according to the service resource configuration request;
  • the resource pool includes a plurality of cloud virtual machines and a plurality of virtual switches; and a data transmission channel is established between each target cloud virtual machine and each target virtual switch, and the target cloud virtual machines having the data transmission channel are Determining, by the target virtual switch, a target cloudization database corresponding to the target user information; when receiving the service resource request, selecting a to-be-processed cloud virtual machine and the to-be-processed in the resource pool according to the service resource request a virtual switch, and updating a data transmission channel in the target cloudization database based on the to-be-processed cloud virtual machine and the to-be-processed virtual switch.
  • cloud computing is performed on computing resources, network resources, and storage resources, it is easier to achieve dynamic elastic capacity expansion and reduce construction costs and operation and maintenance costs.
  • FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a resource processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of an Internet data center according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a resource processing method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another Internet data center according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart diagram of a resource processing method according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of still another Internet data center according to an embodiment of the present invention.
  • FIG. 8 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. 9 is a schematic structural diagram of a processing module according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of still another resource processing apparatus based on an Internet data center according to an embodiment of the present invention.
  • the communication system shown in this embodiment includes a resource processing device 101, a client 102, a plurality of Internet data centers 103, and an operation management monitoring platform 104.
  • the resource processing apparatus 101 performs data communication with the client 102 through the operation management monitoring platform 104.
  • the resource processing device 101 based on the Internet data center 103 can communicate with a plurality of Internet data centers 103, that is, the resource processing device 101 can manage the plurality of Internet data centers 103, and the plurality of Internet data centers 103 can Includes multiple Internet data centers in multiple different cities.
  • the resource processing method provided by the embodiment of the present invention is described below with reference to FIG. 2 , and the method may include:
  • the specific content included in the service resource configuration request is not limited in this embodiment, as long as the service resource configuration request enables the resource processing device to select at least one target cloud virtual machine and at least one target virtual switch.
  • the resource processing device based on the Internet data center may receive the service resource configuration request sent by the client, where the client specifically sends the service resource configuration request to the operation management monitoring platform, and the resource processing device receives The service resource configuration request forwarded by the operation management monitoring platform.
  • the service resource configuration request includes target user information and resource configuration information;
  • the target user information is user information corresponding to the client, where the user information includes but is not limited to a user account and/or User permissions, etc.
  • the resource configuration information includes, but is not limited to, the number of cloud computing virtual machines requested by the client, the number of cloud storage virtual machines, and the number of virtual switches.
  • the resource pool includes a computing resource pool, a network resource pool, and a storage resource pool; the computing resource pool is a hardware computing resource of multiple servers (such as an X86-based server) in the Internet data center.
  • the hardware computing resources may be provided by a processor, a memory in a server; the network resource pool is provided by a plurality of switches (such as a Roce 40G switch) in the Internet data center; the storage resource pool Provided by hardware storage resources of a plurality of servers (such as X86-based servers) in the Internet data center, the hardware storage resources may include PCIE (Peripheral Component Interconnect-Express)/NVME ( Non-Volatile Memory Express, an AHCI-like protocol built on the M.2 interface) All-flash hot-swappable hard drive.
  • the at least one target cloud virtual machine includes a target cloud computing virtual machine and a target cloud storage virtual machine.
  • the computing resource pool in the Internet data center may include a plurality of cloud computing virtual machines preset
  • the resource processing apparatus may also use a part of the 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 can exclusively enjoy the hardware computing resources in the dedicated host, that is, a cloud computing virtual machine can be created on the dedicated host to customize the number and custom specifications.
  • the security isolation level corresponding to the private host is higher than the security isolation level of the cloud computing virtual machine in the server other than the dedicated host, that is, the cloud computing virtual machine created by using the dedicated host may be used. Have higher security.
  • the storage resource pool in the Internet data center may include a plurality of cloud storage virtual machines preset; for example, the storage capacity of the PCIE/NVME all-flash hot-swappable hard disk in one server may provide 120 cloud storage virtual machines. Then, the storage resource pool provided by the 50 servers in the Internet data center may include 6000 cloud storage virtual machines.
  • the resource processing apparatus may further divide all the cloud storage virtual machines in the Internet data center into three cloud storage virtual machine clusters, where the three cloud storage virtual machine clusters comprise a common storage cluster (the cluster is One cloud storage virtual machine unit, that is, at least one cloud storage virtual machine is allocated to the client in the public storage cluster, and the exclusive flash disk level storage cluster (the cluster is in units of one flash disk, that is, in the Exclusively allocate at least one cloud storage virtual machine in the flash disk to the client in the exclusive flash disk storage cluster.
  • the cluster is One cloud storage virtual machine unit, that is, at least one cloud storage virtual machine is allocated to the client in the public storage cluster
  • the exclusive flash disk level storage cluster the cluster is in units of one flash disk, that is, in the Exclusively allocate at least one cloud storage virtual machine in the flash disk to the client in the exclusive flash disk storage cluster.
  • the cluster is based on 4 flash disks in one server, that is, in the exclusive All the cloud storage virtual machines of the four flash disks in the server are allocated to the client in the flash disk storage cluster, wherein the security isolation level of the exclusive storage cluster pair is greater than the exclusive flash disk storage.
  • the security isolation level corresponding to the cluster the security isolation level corresponding to the exclusive flash disk storage cluster is greater than the security isolation level corresponding to the public storage cluster.
  • the storage capacity of the flash disk storage chip is (n+1)*size (n identifies the number of memory chips, and the size is the storage capacity of a single memory chip), and provides n*size storage capacity externally, and adopts RAID 5 (Redundant Arrays of Independent).
  • Disks5, distributed parity parity independent disk structure) redundant algorithm write data when a memory chip bad block occurs, can automatically mark bad blocks can not be read and written, and carry out bad block data relocation; or, when a memory chip occurs When the whole is bad, it can automatically mark the chip to be unreadable and writable, and carry out chip bad block data relocation to achieve redundancy protection.
  • the network resource pool in the Internet data center may include a plurality of virtual switches preset. For example, if one switch can provide 20 virtual switches, then 50 switches in the Internet data center can provide 1000 virtual switches.
  • the resource processing apparatus may further divide all virtual switches in the Internet data center into three virtual switch clusters, where the three virtual switch clusters comprise a public network cluster (the virtual switches in the cluster may simultaneously Multiple clients provide network services), cloud private network clusters (one virtual switch in the cluster provides network services to only one client), and exclusive physical network clusters (the cluster is based on two Roce 40G switches) That is, at least two virtual switches of the two Roce 40G switches are allocated to the client in the exclusive physical network cluster, wherein the security isolation level corresponding to the exclusive physical network cluster is greater than the security corresponding to the cloud private network cluster.
  • the isolation level, the security isolation level corresponding to the cloud private network cluster is greater than the security isolation level corresponding to the public network cluster.
  • 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 be in the A dedicated host is selected in the computing resource pool and a desired number of target cloud computing virtual machines are created on the dedicated host.
  • the resource processing apparatus may further acquire the first security isolation level in the service resource configuration request, and in the cloud storage virtual machine cluster having the first security isolation level in the storage resource pool, according to the Selecting at least one target cloud storage virtual machine according to the resource configuration information; further obtaining a second security isolation level in the service resource configuration request, and configuring the virtual switch with the second security isolation level in the network resource pool In the cluster, at least one target virtual switch is selected according to the resource configuration information.
  • the first security isolation level may be a security isolation level of the exclusive storage cluster pair, a security isolation level corresponding to the exclusive flash disk storage cluster, and a security isolation level corresponding to the common storage cluster. Any type of security isolation.
  • the second security isolation level may be any one of the security isolation level corresponding to the exclusive physical network cluster, the security isolation level corresponding to the cloud private network cluster, and the security isolation level corresponding to the public network cluster.
  • the target cloud virtual machine and the target virtual switch that have the data transmission channel may be determined as a target cloud database corresponding to the target user information;
  • the resource processing device may establish a data transmission channel between each target cloud computing virtual machine and each target virtual switch, and establish a data transmission channel between each target virtual switch and each target cloud storage virtual machine, and The target cloud computing virtual machines, the target cloud storage virtual machines, and the target virtual switches of the data transmission channel are determined as target cloudization databases corresponding to the target user information. Through the established data transmission channel, the data calculated by each target cloud computing virtual machine can be transmitted to the corresponding target cloud storage virtual machine through the target virtual switch.
  • the resource processing apparatus may further establish a connection relationship between the target cloud database and the automatic load balancing device, and configure a cluster access policy and a load balancing algorithm for the target cloud database by using the automatic load balancing device. And the weight value.
  • the automatic load balancing device is one of the devices in the automatic load balancing cluster, and the automatic load balancing cluster may include multiple automatic load balancing devices.
  • the automatic load balancing cluster may be connected to a cloud database corresponding to a plurality of different users, that is, each automatic load balancing device in the automatic load balancing cluster is respectively connected to a cloud database, that is, an automatic load balancing device may be used. Control a clouded database.
  • the resource processing apparatus may further install a database system in the target cloud database (the database system may include Oracle GI and Oracle DB), and return a service resource configuration result message to the client;
  • the service resource configuration result message includes a creation success message corresponding to the target cloud database, computing resources and storage resources provided by the at least one target cloud virtual machine, and information of a data transmission channel.
  • the target cloud database can provide an Oracle Rac service. If the resource processing device fails to create the target cloudization database, the service resource configuration result message received by the client includes a creation failure message.
  • each target cloud computing virtual machine in the target cloud database can perform operation processing on the service data, and each target virtual switch can store the processed business data to the corresponding target. Cloud storage virtual machine.
  • the resource processing device may further obtain the management configuration parameter sent by the client, where the client may specifically send the management configuration parameter to the resource processing device by using a preset resource management platform. And updating the management configuration parameter to the target cloudization database; the management configuration parameter includes maintenance configuration information, monitoring configuration information, and alarm configuration information, that is, the user corresponding to the client can be managed autonomously.
  • the target cloud database may be obtained from the server.
  • the target cloudization database is a cloudization database corresponding to the service resource configuration request formed by the target cloud virtual machines and the target virtual switches of the data transmission channel.
  • the service resource request shown in this embodiment has two cases.
  • the first case of the service resource request is that the service resource request is a service resource expansion request; the second case of the service resource request is The service resource request is a service resource reduction request.
  • the cloud virtual machine to be expanded is selected in the resource pool according to the service resource expansion request (the cloud virtual machine to be processed) And the virtual switch to be expanded (the virtual switch to be processed), and the cloud virtual machine to be expanded and the virtual switch to be expanded are added to the target cloud database, and based on the cloud virtual to be expanded And the virtual switch to be expanded to update the data transmission channel in the target cloud database.
  • the cloud virtual machine to be expanded and the virtual switch to be expanded are selected in the resource pool according to the service resource expansion request, and the cloud to be expanded is selected.
  • the virtual machine and the virtual switch to be expanded are added to the target cloud database, and the 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 includes the cloud computing virtual machine to be expanded and the cloud storage virtual machine to be expanded.
  • the expanded target cloud computing database includes the target cloud computing virtual machine and the cloud computing virtual machine to be expanded (
  • the target cloud computing database has a more powerful computing capability, and the target cloud storage virtual machine and the cloud storage virtual machine to be expanded (so that the target cloudized database after expansion has more storage space),
  • the target virtual switch and the virtual switch to be expanded (so that the expanded target cloudized database has more network resources).
  • the target cloud-based database can be expanded to meet the increased amount of service data.
  • the cloud virtual machine to be compressed (the cloud virtual machine to be processed) and the target cloud database may be selected according to the service resource shrink request.
  • the virtual switch (the to-be-processed virtual switch) is to be reduced, and the to-be-reduced cloud virtual machine and the to-be-reduced virtual switch are removed from the target cloud database to the resource pool, and are removed.
  • the data transmission channel in the target cloud database after the cloud virtual machine to be contracted and the virtual switch to be compacted is updated.
  • the cloud virtual machine to be contracted includes a cloud computing virtual machine to be reduced and a cloud storage virtual machine to be reduced. Therefore, the target cloud computing virtual machine and the target cloud in the target cloud computing database after the volume reduction Both the storage virtual machine and the target virtual switch are reduced.
  • system resources can be saved by shrinking the target cloud database.
  • the entire Oracle Rac service in the Internet data center provides at least three storage nodes and one backup storage node cloud host to provide access across the rack and the machine room, and any two nodes can be completed through hot migration of the cloud host. Automatic switching, as long as one storage node cloud host works normally during the switching process, the Oracle Rac service storage service can be normally provided for each cloud database.
  • the entire Oracle Rac service in the Internet data center also provides at least three computing node cloud hosts to provide access across the rack and the machine room, and any two nodes can be automatically switched through hot migration of the cloud host during the switching process. As long as one compute node cloud host works normally, it can provide Oracle Rac service access services for each cloud database to achieve x86 machine compute node protection.
  • the entire Oracle Rac service in the Internet data center also provides pooled redundant resources of at least two Roc 40G intranet switches, and each cloud host intranet (computing and storage) adopts a dual Roc 40G network card four network port architecture,
  • the intranet data and heartbeat synchronization request separates the two links of the redundant link intranet. Any network component damage on the intranet will not affect the overall service network service of Oracle Rac.
  • the backbone network adopts two-way 10G across the rack. Redundant resources of the Ethernet switch.
  • Each cloud host (computing, storage) external network uses 10 Gigabit dual NICs for bonding (bonding refers to the technology of virtualizing multiple NICs into one NIC to make it have the same network address).
  • the Internet data center can also use Oracle Rac's ASM (Automated Storage Management) file system to manage database data. In Normal mode, each data is written in three copies and written to different flash memories of three storage nodes. On the disk, add a cold standby storage, and each storage node is set up with a voting disk. Losing any two data will not affect the Oracle Rac overall business data access service.
  • Oracle Rac's ASM Automatic Storage Management
  • FIG. 3 is a schematic structural diagram of an Internet data center according to an embodiment of the present invention.
  • the Internet data center may include a computing resource pool 300b, a network resource pool 300c, and a storage resource.
  • the pool 300d, the computing resource pool 300b includes CVM_a1, CVM_a2, ..., CVM_an-1, CVM_an, that is, the computing resource pool 300b may include n CVMs (Cloud Virtual Machines) for performing cloud computing. That is, each CVM in the computing resource pool 300b is a cloud computing virtual machine.
  • CVMs Cloud Virtual Machines
  • CVM_a1 and CVM_a2 may be selected as the target cloud computing virtual machine in the computing resource pool 300b according to the service resource configuration request sent by the client. And selecting ROCE Switch_1 and ROCE Switch_2 as the target virtual switch in the network resource pool 300c, and selecting CVM_b1 and CVM_b2 as the target storage virtual machine in the storage resource pool 300d, wherein CVM_a1 and CVM_a2 are respectively associated with ROCE Switch_1 and ROCE Switch_2 establishes a data transmission channel (specifically, both CVM_a1 and CVM_a2 can include two ROCE interfaces, each ROCE interface is connected to ROCE Switch_1 and ROCE Switch_2 through the data transmission channel), and CVM_b1 and CVM_b2 are also respectively associated with ROCE Switch_1 and ROCE.
  • Switch_2 establishes a data transmission channel (specifically, both CVM_b1 and CVM_b2 can include one ROCE interface, each ROCE interface is connected to ROCE Switch_1 and ROCE Switch_2 through the data transmission channel), and the ROCE Switch_1 and ROCE Switch_2 can pass through the dual Wire interconnection for connection communication, which in turn can Establish the data transmission channel CVM_a1, CVM_a2, CVM_b1, CVM_b2, ROCE Switch_1 ROCE Switch_2 and for the client to determine a corresponding target cloud Database.
  • the target cloud database may be connected to a further TGW (Tencent GateWay, a set of systems developed by Tencent to implement multi-network unified access, external network request forwarding, and automatic load balancing), and the TGW cluster may include multiple automatic
  • the load balancing device may be specifically connected to one of the automatic load balancing devices in the TGW cluster.
  • the target cloud database can perform operation processing on the service data sent by the client through CVM_a1 and CVM_a2, and the target cloud database sends the processed service data to CVM_b1 and CVM_b2 through ROCE Switch_1 and ROCE Switch_2. So that CVM_b1 and CVM_b2 can store the processed business data.
  • the at least one target cloud virtual machine may be selected according to the resource configuration information in the service resource configuration request in a resource pool preset in the Internet data center.
  • At least one target virtual switch ; the resource pool includes a plurality of cloud virtual machines and a plurality of virtual switches; and a data transmission channel is established between each target cloud virtual machine and each target virtual switch, and the data transmission channel is provided
  • the target cloud virtual machine and the target virtual switch are determined as the target cloud database corresponding to the target user information; when receiving the service resource expansion request, the service resource expansion request is in the resource pool according to the service resource expansion request Adding the cloud virtual machine to be expanded and the virtual switch to be expanded, and adding the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and based on the cloud virtual machine to be expanded and the The virtual switch to be expanded updates the data transmission channel in the target cloud database.
  • FIG. 4 is a schematic flowchart of a resource processing method according to an embodiment of the present disclosure, where the method may include:
  • the resource pool includes multiple cloud virtual machines and multiple virtual switches.
  • the method shown in this embodiment is used to synchronize the at least one cloud computing database in real time with at least one of the following: the service data, the capacity expansion operation, and the volume reduction operation in the target cloud database;
  • the resource processing device may further control, by using at least one of the same-city Internet data centers associated with the Internet data center, to create a same-city cloud database that is the same as the target cloud database, and connect the target cloud database to the dedicated line through a dedicated line.
  • Each of the same city cloud database is configured to facilitate the real-time synchronization of at least one of the following cloud data in the target cloud database: the service data, the capacity expansion operation, and the volume reduction operation.
  • the number of cloud computing virtual machines, the number of cloud storage virtual machines, the number of virtual switches, and the structure of the data transmission channel in the same-city cloud database are the same as the target cloud database.
  • the TGW cluster connected with the abnormal Internet data center can stop providing the Oracle Rac service to the abnormal Internet data center, that is, by the remaining normal Internet data center.
  • the target cloud database or the same-city cloud database continues to implement the Oracle Rac service.
  • the target cloud computing database calculates and stores a certain business data
  • the same city cloud database that is the same as the target cloud database also calculates and stores the service data synchronously; when the target cloud database is in the capacity expansion operation,
  • the same cloud computing database in the same city as the target cloud database also performs the same expansion operation, that is, the cloud computing virtual machine (and/or cloud) added between the target cloud database and each city cloud database.
  • the number of storage virtual machines and/or virtual interactive machines is the same.
  • the target cloudization database performs the shrinking operation
  • the same city cloud database that is the same as the target cloud database also performs the same volume reduction operation, that is, the target cloud database and the same city cloud database.
  • the number of cloud computing virtual machines (and/or cloud storage virtual machines and/or virtual interactive machines) moved out is the same.
  • FIG. 5 is a schematic structural diagram of another Internet data center according to an embodiment of the present invention.
  • FIG. 5 is an example of two Internet data centers in the same city, specifically including an Internet data center 500 and Internet data.
  • the center 501, the Internet data center 500 and the Internet data center 501 are in the same city, that is, the Internet data center may be the same city Internet data center of the Internet data center 500.
  • the system architecture (including the computing resource pool, the network resource pool, the storage resource pool, the TGW cluster) in the Internet data center 500 and the Internet data center 501 may be the same as the Internet data center in FIG. 3, and the Internet
  • the cloud database 500a in the data center 500 is also the same as the target cloud database in FIG. 3, and the Internet data center 500 and the cloud database 500a will not be described again here.
  • the private data may be communicated between the Internet data center 500 and the Internet data center 501. Therefore, when the cloud database 500a is created in the Internet data center 500, the cloudization database 500a may be used to create the cloudization.
  • the service resource configuration request of the database 500a is transmitted to the Internet data center 501 through the dedicated line, so that the Internet data center 501 can synchronously create the same cloud database 501a as the cloud database 500a, that is, the cloud database.
  • 501a is a city cloud database of the cloud database 500a.
  • the cloud database 501a can synchronize the service data processed by the cloud database 500a, and can synchronize the capacity expansion operation and the volume reduction operation of the cloud database 500a.
  • the user wants to create a cloud database and selects the same city double-active center option, he can select half of the cloud computing virtual machine, the cloud storage virtual machine, and the Internet data center 500 and the Internet data center 501 in the same city.
  • the virtual switch creates a cloud database and provides external services through the TGW cluster in the Internet data center 500 and the Internet data center. If the Internet data center 500 has catastrophic consequences, the TGW cluster in the Internet data center 501 will be the Internet data center. 500 kicked out the Oracle Rac service access range.
  • the plurality of Internet data centers in the same city can use the intranet bandwidth to place the cloud host computing nodes and storage nodes in different computer rooms in a unified computing resource pool and storage resource pool, and the entire Oracle Rac service will be used.
  • the computing node and the storage node are allocated in different computer rooms in the same city. When a certain computer room has catastrophic consequences and cannot work, the other Internet data center in the same city can continue to provide the Oracle Rac service without interruption to achieve redundancy protection.
  • FIG. 6 is a schematic flowchart diagram of a resource processing method according to an embodiment of the present disclosure, where the method may include:
  • the resource pool includes multiple cloud virtual machines and multiple virtual switches;
  • the center creates the same heterogeneous cloud database as the target cloud database;
  • the target cloud computing database is controlled to communicate with each cloud cloud database through the first private line, and communicates with each cloud cloud database through a DCI (Data Center Interconnect).
  • DCI Data Center Interconnect
  • the method shown in this embodiment can synchronize the at least one cloud computing database and the different cloud computing databases in real time to synchronize at least one of the following in the target cloud database: service data, capacity expansion, andshrinking operation.
  • the resource processing apparatus may 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 notify at least the Internet data center associated with the Internet data center.
  • An alien city data center creates the same heterogeneous cloud database as the target cloud database; wherein the Internet data center between the cities can be connected through the first private line (ie, two Internet data centers in the same city) The first private line can be connected.
  • the Internet data center between different cities can be connected through DCI (that is, two Internet data centers in different cities can be connected through DCI), and then the target cloud database can pass
  • the first dedicated line communicates with each cloud cloud database of the same city, and communicates with the cloud database of each city through the data center interconnection DCI, so as to synchronize the real-time cloud database and the different city cloud 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 structure of the data transmission channel in the same-city cloud database and the hetero-city cloud database are the same as the target cloud database.
  • the TGW cluster connected to the abnormal Internet data center can stop providing Oracle Rac services to the abnormal Internet data center, that is, clouding the target in the remaining normal Internet data center.
  • the database or the same city cloud database or the alien cloud database continues to implement the Oracle Rac service.
  • the target cloud computing database calculates and stores a certain business data
  • the same city cloud database and the different city cloud database that are the same as the target cloud database simultaneously calculate and store the service data;
  • the target cloudization When the database is being expanded, the same cloud computing database and the different city cloud database that are the same as the target cloud database are simultaneously synchronized to perform the same expansion operation, that is, the target cloud database and the same city cloud database,
  • the number of cloud computing virtual machines (and/or cloud storage virtual machines and/or virtual interactive machines) added between different cloud computing databases is the same.
  • the target cloudization database performs the shrinking operation
  • the same city cloud database and the different city cloud database that are the same as the target cloud database are simultaneously synchronized to perform the same volume reduction operation, that is, the target cloud database.
  • the number of cloud computing virtual machines (and/or cloud storage virtual machines and/or virtual interactive machines) that are removed from each of the same city cloud database and different city cloud databases is the same.
  • FIG. 7 is a schematic structural diagram of another Internet data center according to an embodiment of the present invention.
  • FIG. 7 is an example of two Internet data centers in the same city, including an Internet data center 701 and Internet data. Center 702, Internet data center 703, Internet data center 704.
  • the Internet data center 701 and the Internet data center 702 are both located in the city A, and the Internet data center 703 and the Internet data center 704 are located in the city B. Therefore, the Internet data center 702 is the same city Internet data center of the Internet data center 701, and the Internet data center. 703 and Internet data center 704 are all different city Internet data centers of Internet data center 701.
  • the system architecture including the computing resource pool, the network resource pool, the storage resource pool, the TGW cluster) in the Internet data center 701, the Internet data center 702, the Internet data center 703, and the Internet data center 704 may all be the same as the Internet data center in FIG.
  • the cloud database 701a in the Internet data center 701 is also the same as the target cloud database in FIG. 3, and the Internet data center 701 and the cloud database 704a are not described herein again.
  • the Internet data center 701 and the Internet data center 702 can communicate through a dedicated line, and the Internet data center 703 and the Internet data center 704 can also communicate through a dedicated line.
  • the Internet data center 701 and the Internet data center 703 can be connected by DCI. Communication, communication between the Internet data center 702 and the Internet data center 704 can be through DCI.
  • the service resource configuration request for creating the cloud database 701a may be transmitted to the Internet data center 702 through the dedicated line, and The service resource configuration request is transmitted to the Internet data center 703, and the service data configuration request is transmitted by the Internet data center 702 through the DCI (or by the Internet data center 703 through a dedicated line) to the Internet data.
  • the center 704 is configured to enable the Internet data center 702, the Internet data center 703, and the Internet data center 704 to simultaneously create an Internet data center 702, a cloud database 703a, and a cloud database 704a that are identical to the cloud database 701a.
  • the Internet data center 702 is a city cloud database of the cloud database 701a, and the cloud database 703a and the cloud database 704a are all different city cloud databases of the cloud database 701a.
  • the cloudization database 702a, the cloudization database 703a, and the cloudization database 704a can synchronize the business data processed by the cloudization database 701a, and can synchronize the capacity expansion operation and the volume reduction operation of the cloudization database 701a.
  • the Oracle RacDG synchronization of the Internet data center in different cities may be added when configuring the cloud database (the network jitter is attenuated to asynchronous).
  • the Oracle Rac service in one city supports reading and writing.
  • the Oracle Rac service in another city is read-only. Therefore, when a disaster occurs in a certain city, the DG active/standby access mode is updated through domain name switching or the Oracle Rac service in the faulty city is kicked out.
  • the Internet data center of the remote location can utilize the bandwidth of the DCI intranet, and the Oracle ADG service of the Oracle synchronously replicates the data to the Oracle Rac service of the Internet data center in the remote place to ensure that a city has catastrophic consequences and cannot work.
  • the domain name switch can be used separately.
  • Another Internet data center continues to provide Oracle Rac services without interruption.
  • FIG. 8 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.
  • the resource processing apparatus 1 may include: a receiving module 10, a processing module 20, an establishing module 30, and an installation module. 40, the update module 50, the first notification creation module 80, the second notification creation module 90;
  • the receiving module 10 is configured to receive a service resource configuration request sent by a client, where the service resource configuration request is used to select at least one target cloud virtual machine and at least one target virtual switch;
  • the processing module 20 is configured to select at least one target cloud virtual machine and at least one target virtual switch in a resource pool preset in an Internet data center according to the service resource configuration request; the resource pool includes Multiple cloud virtual machines and multiple 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;
  • the establishing module 30 is further configured to establish a connection relationship between the target cloud database and the automatic load balancing device, and configure a cluster access policy, a load balancing algorithm, and a weight for the target cloud database by using the automatic load balancing device. value.
  • 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 includes at least one of the following:
  • the update module 50 is configured to acquire management configuration parameters sent by the client, and update the management configuration parameters to the target cloudization database;
  • the management configuration parameters include at least one of the following:
  • 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 multiple servers in the Internet data center; the network resource pool is Provided by a plurality of switches in the Internet data center; the storage resource pool is provided by hardware storage resources of a plurality of servers in the Internet data center.
  • the at least one target cloud virtual machine includes: a target cloud computing virtual machine and a target cloud storage virtual machine.
  • the first notification creating module 80 is configured to control 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 pass
  • the leased line communicates with each of the same city cloud database to synchronize the at least one cloud cloud database in real time with at least one of the following in the target cloud database:
  • the second notification creating module 90 is configured to control at least one same-city Internet data center associated with the Internet data center to create a same-city cloud database identical to the target cloud database, and notify the Internet data center Corresponding at least one different city Internet data center creates the same heterogeneous cloud database as the target cloud database; controls the target cloud database to communicate with each cloud cloud database through the first dedicated line, and passes through the data center
  • the interconnected DCI communicates with the different cloud computing databases to synchronize the at least one cloud computing database and the different cloud computing databases in real time to at least one of the following in the target cloud database:
  • the second notification creation module 90 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 Do nothing.
  • the at least one target cloud virtual machine may be selected according to the resource configuration information in the service resource configuration request in a resource pool preset in the Internet data center.
  • At least one target virtual switch ; the resource pool includes a plurality of cloud virtual machines and a plurality of virtual switches; and a data transmission channel is established between each target cloud virtual machine and each target virtual switch, and the data transmission channel is provided
  • the target cloud virtual machine and the target virtual switch are determined as the target cloud database corresponding to the target user information; when receiving the service resource expansion request, the service resource expansion request is in the resource pool according to the service resource expansion request Adding the cloud virtual machine to be expanded and the virtual switch to be expanded, and adding the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and based on the cloud virtual machine to be expanded and the The virtual switch to be expanded updates the data transmission channel in the target cloud database. Because cloud computing is performed on computing resources, network resources, and storage resources, it is easier to achieve dynamic elastic capacity expansion
  • 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 service resource configuration request;
  • the second selecting unit 202 is configured to acquire a first security isolation level in the service resource configuration request, and in a cloud storage virtual machine cluster having the first security isolation level in the storage resource pool, Selecting at least one target cloud storage virtual machine according to the resource configuration information;
  • the processing module further includes:
  • the expansion unit 204 is configured to: when the service resource expansion request is received, select the to-be-expanded cloud virtual machine and the to-be-expanded virtual switch in the resource pool according to the service resource expansion request, and The cloud virtual machine to be expanded and the virtual switch to be expanded are added to the target cloud database, and the 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 condensing unit 205 is configured to: when the service resource shrink request is received, select the to-be-reduced cloud virtual machine and the to-be-reduced in the target cloud database according to the service resource shrink request a virtual switch, and moving the to-be-reduced cloud virtual machine and the to-be-reduced virtual switch from the target cloudization database to the resource pool, and removing the to-be-reduced cloud virtual machine and the The data transmission channel in the target cloud database after the virtual switch is to be resized is updated.
  • FIG. 10 is a schematic structural diagram of another resource processing apparatus based on an Internet data center according to an embodiment of the present invention.
  • the resource processing apparatus 1000 may include at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, a memory 1005, and at least one communication bus 1002.
  • the communication bus 1002 is used to implement connection communication between these components.
  • the user interface 1003 can include a display and a keyboard.
  • the optional user interface 1003 can also include a standard wired interface and a wireless interface.
  • the network interface 1004 can optionally include a standard wired interface, a wireless interface (such as a 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 can also optionally be at least one storage device located remotely from the aforementioned processor 1001.
  • An operating system, a network communication module, a user interface module, and a device control application may be included in the memory 1005 as a computer storage medium.
  • the network interface 1004 is mainly used to connect to the client; and the processor 1001 can be used to invoke the device control application stored in the memory 1005, and specifically perform the following steps:
  • the resource pool includes multiple cloud virtual machines and multiple Virtual switch
  • the cloud virtual machine to be processed and the virtual switch to be processed are selected in the resource pool according to the service resource request, and the target is updated based on the to-be-processed cloud virtual machine and the to-be-processed virtual switch.
  • a data transmission channel in the cloud database where the target cloud database is a cloud corresponding to the service resource configuration request formed by the target cloud virtual machine and the target virtual switch that have the data transmission channel Database.
  • the processor 1001 also performs the following steps:
  • the cloud virtual machine to be processed is a cloud virtual machine to be expanded
  • the virtual switch to be processed is a virtual switch to be expanded, and when the service resource expansion request is received, And selecting the to-be-expanded cloud virtual machine and the to-be-expanded virtual switch in the resource pool according to the service resource expansion request, and adding the to-be-expanded cloud virtual machine and the to-be-expanded virtual switch to the And updating the data transmission channel in the target cloudization database based on the to-be-expanded cloud virtual machine and the to-be-expanded virtual switch.
  • the processor 1001 also performs the following steps:
  • the to-be-processed cloud virtual machine is a to-be-reduced cloud virtual machine
  • the to-be-processed virtual switch is a to-be-reduced virtual switch, when the service resource is received.
  • the to-be-reduced virtual switch is removed from the target cloud-based database into the resource pool, and data in the target cloud-based database after the to-be-reduced cloud virtual machine and the to-be-reduced virtual switch are removed
  • the transmission channel is updated.
  • 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; A network resource pool is provided by a plurality of switches in the Internet data center; the storage resource pool is provided by hardware storage resources of a plurality of servers in the Internet data center.
  • the target cloud virtual machine is at least one of the following: a target cloud computing virtual machine and a target cloud storage virtual machine; the processor 1001 further performs the following steps:
  • the processor 1001 further performs the following steps:
  • the processor 1001 further performs the following steps:
  • the service resource configuration result message includes at least one of the following:
  • the processor 1001 further performs the following steps:
  • the management configuration parameters include at least one of the following:
  • the processor 1001 further performs the following steps:
  • the processor 1001 further performs the following steps:
  • the heterogeneous cloud database synchronizes at least one of the following in the target cloud database in real time:
  • the at least one target cloud virtual machine may be selected according to the resource configuration information in the service resource configuration request in a resource pool preset in the Internet data center.
  • At least one target virtual switch ; the resource pool includes a plurality of cloud virtual machines and a plurality of virtual switches; and a data transmission channel is established between each target cloud virtual machine and each target virtual switch, and the data transmission channel is provided
  • the target cloud virtual machine and the target virtual switch are determined as the target cloud database corresponding to the target user information; when receiving the service resource expansion request, the service resource expansion request is in the resource pool according to the service resource expansion request Adding the cloud virtual machine to be expanded and the virtual switch to be expanded, and adding the cloud virtual machine to be expanded and the virtual switch to be expanded to the target cloud database, and based on the cloud virtual machine to be expanded and the The virtual switch to be expanded updates the data transmission channel in the target cloud database.
  • the cloud virtual machine to be contracted and the virtual switch to be compacted are selected in the resource pool according to the service resource shrink request, and the cloud virtual machine and the virtual machine to be contracted are The virtual switch is removed from the target cloud database to the resource pool. Because the computing resources, network resources, and storage resources are clouded, it is easier to implement dynamic elastic expansion and reduce construction costs and operations. Dimensional cost.

Abstract

本发明实施例公开了一种资源处理方法、相关装置以及通信系统,其中方法包括:接收客户端发送的业务资源配置请求;根据所述资源配置信息在互联网数据中心中预设的资源池中,选择至少一个目标云虚拟机和至少一个目标虚拟交换机;在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道,并将具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机确定为所述目标用户信息对应的目标云化数据库。采用本发明,可以实现云化管理,进而可以支持动态弹性扩容,并降低建设成本和运维成本。

Description

一种资源处理方法、相关装置以及通信系统
本申请要求于2017年2月27日提交中国专利局,申请号为201710109608.1,发明名称为“一种基于互联网数据中心的资源处理方法以及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及互联网技术领域,尤其涉及一种资源处理方法、相关装置以及通信系统。
背景技术
目前Oracle Rac(Oracle real application clusters,Oracle的实时应用集群)的构建方式通常为:基于FC(Fibre Channel,光纤通道)光纤做集群内数据访问通道,万兆以太网作为计算节点的心跳和交互网络和业务访问数据库网络;计算节点采用非X86体系的小型机;使用FC SAN(Storage Area Network,存储区域网络)磁盘阵列作为存储;系统需要特殊机架支持,无法使用机房的通用机架,需要IDC(Internet Data Center,互联网数据中心)定制化的建设来支持。
由此可见,目前Oracle Rac的整体架构不通用,有小型机、磁盘阵列、FC光纤设备、以太网络设备等,需要IDC定制基础建设;该架构无法进行云化管理,一旦建设完毕无法支持动态弹性扩容,在该架构下很难做到统一运维监控,需要投入不同的运维资源,建设成本和运维成本非常高。
发明内容
本发明实施例提供一种资源处理方法、相关装置以及通信系统,可支持动态弹性扩容,并降低建设成本和运维成本。
本发明实施例第一方面提供了一种资源处理方法,包括:
接收客户端发送的业务资源配置请求,所述业务资源配置请求用于选定至少一个目标云虚拟机和至少一个目标虚拟交换机;
根据所述业务资源配置请求在互联网数据中心中预设的资源池中,选择至少一个所述目标云虚拟机和至少一个所述目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道;
当接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道,所述目标云化数据库为具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机所形成的与所述业务资源配置请求对应的云化数据库。
本发明实施例第二方面提供了一种基于互联网数据中心的资源处理装置,包括:
接收模块,用于接收客户端发送的业务资源配置请求;所述业务资源配置请求用于选定至少一个目标云虚拟机和至少一个目标虚拟交换机;
处理模块,用于根据所述业务资源配置请求在互联网数据中心中预设的资源池中,选择至少一个所述目标云虚拟机和至少一个所述目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
建立模块,用于在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道;
处理模块,用于当接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道,所述目标云化数据库为具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机所形成的与所述业务资源配置请求对应的云化数据库。
本发明实施例第三方面提供了一种通信系统,包括资源处理装置、客户端、多个互联网数据中心以及运营管理监控平台;
所述资源处理装置通过所述运营管理监控平台与所述客户端进行数据通信;所述资源处理装置管理所述多个互联网数据中心,所述资源处理装置用于执行如上述第一方面所示的方法。
本发明实施例第四方面提供了一种资源处理装置,包括:一个或多个处理器、存储器、总线系统、以及一个或多个程序,所述处理器和所述存储器通过所述总线系统相连;
其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述资源处理装置执行时使所述资源处理装置执行如上 述第一方面所示的方法。
本发明实施例第五方面提供了一种计算机可读存储介质,存储有程序指令,处理器执行所存储的程序指令时执行如上述第一方面所示的方法。
本发明实施例通过接收客户端发送的业务资源配置请求,可以根据所述业务资源配置请求在互联网数据中心中预设的资源池中,选择至少一个目标云虚拟机和至少一个目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;再在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道,并将具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机确定为所述目标用户信息对应的目标云化数据库;当接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道。由于将计算资源、网络资源、存储资源进行云化管理,所以更易于实现动态弹性扩容,并降低建设成本和运维成本。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本发明实施例提供的一种通信系统的结构示意图;
图2是本发明实施例提供的一种资源处理方法的流程示意图;
图3是本发明实施例提供的一种互联网数据中心的结构示意图;
图4是本发明实施例提供的一种资源处理方法的流程示意图;
图5是本发明实施例提供的另一种互联网数据中心的结构示意图;
图6是本发明实施例提供的一种资源处理方法的流程示意图;
图7是本发明实施例提供的又一种互联网数据中心的结构示意图;
图8是本发明实施例提供的一种基于互联网数据中心的资源处理装置的结构示意图;
图9是本发明实施例提供的一种处理模块的结构示意图;
图10是本发明实施例提供的又一种基于互联网数据中心的资源处理装置 的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
为更好的理解本发明实施例所示的方法,以下首先对能够实现本发明实施例所示的方法的通信系统的具体结构进行示例性说明:
如图1所示,本实施例所示的通信系统包括:资源处理装置101、客户端102、多个互联网数据中心103以及运营管理监控平台104。
具体的,所述资源处理装置101通过所述运营管理监控平台104与所述客户端102进行数据通信;
所述基于互联网数据中心103的资源处理装置101可以与多个互联网数据中心103进行通信,即所述资源处理装置101可以管理所述多个互联网数据中心103,所述多个互联网数据中心103可以包括多个不同城市中的多个互联网数据中心。
基于图1所示的通信系统,以下结合图2所示对本发明实施例所提供的资源处理方法进行说明,所述方法可以包括:
S201,接收客户端发送的业务资源配置请求。
本实施例对所述业务资源配置请求所包括的具体内容不做限定,只要所述业务资源配置请求能够使得资源处理装置选定至少一个目标云虚拟机和至少一个目标虚拟交换机即可。
具体的,基于互联网数据中心的资源处理装置可以接收客户端发送的业务资源配置请求,所述客户端具体将所述业务资源配置请求发送至所述运营管理监控平台,所述资源处理装置在接收由所述运营管理监控平台转发的所述业务资源配置请求。
可选的,所述业务资源配置请求包括目标用户信息和资源配置信息;所述目标用户信息即为所述客户端对应的用户信息,其中,所述用户信息包括但不限于用户账号和/或用户权限等。
所述资源配置信息包括但不限于所述客户端所请求配置的云计算虚拟机的数量、云存储虚拟机的数量、虚拟交换机的数量。
S202,在互联网数据中心中预设的资源池中,根据所述业务资源配置请求选择至少一个目标云虚拟机和至少一个目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
具体的,所述资源池包括计算资源池、网络资源池以及存储资源池;所述计算资源池是由所述互联网数据中心中的多个服务器(如X86架构的服务器)的硬件计算资源(所述硬件计算资源可以包括服务器中的处理器、内存)所提供的;所述网络资源池是由所述互联网数据中心中的多个交换机(如Roce 40G交换机)所提供的;所述存储资源池是由所述互联网数据中心中的多个服务器(如X86架构的服务器)的硬件存储资源所提供的,所述硬件存储资源可以包括PCIE(Peripheral Component Interconnect-Express,总线和接口标准)/NVME(Non-Volatile Memory express,建立在M.2接口上的类似AHCI的一种协议)全闪存热插拔硬盘。所述至少一个目标云虚拟机包括目标云计算虚拟机和目标云存储虚拟机。
在所述互联网数据中心的计算资源池可以包括预先设置的多个云计算虚拟机;
例如,一台服务器中的处理器能力和内存能力可以提供100个云计算虚拟机,那么所述互联网数据中心中的50个服务器所提供的计算资源池可以包括5000个云计算虚拟机。可选的,所述资源处理装置还可以将所述互联网数据中心中的部分服务器作为专用宿主机,即当根据所述业务资源配置请求将所述专用宿主机分配给所述客户端,则所述客户端可以独享所述专用宿主机中的硬件计算资源,即可以在所述专用宿主机上创建自定义数量和自定义规格的云计算虚拟机。通过提高所述专用宿主机可以满足客户资源独享和资源物理隔离的需求。其中,所述专用宿主机对应的安全隔离等级高于除了所述专用宿主机以外的服务器中的云计算虚拟机对应的安全隔离等级,即使用所述专用宿主机所创建的云计算虚拟机可以具备更高的安全性。
在所述互联网数据中心的存储资源池可以包括预先设置的多个云存储虚拟机;例如,一台服务器中的PCIE/NVME全闪存热插拔硬盘的存储能力可以 提供120个云存储虚拟机,那么所述互联网数据中心中的50个服务器所提供的存储资源池可以包括6000个云存储虚拟机。可选的,所述资源处理装置还可以将所述互联网数据中心中的所有云存储虚拟机划分为3个云存储虚拟机集群,这3个云存储虚拟机集群包括公共存储集群(该集群是以一个云存储虚拟机为单位,即在所述公共存储集群中至少分配一个云存储虚拟机给客户端)、独占闪盘级存储集群(该集群是以一块闪盘为单位,即在所述独占闪盘级存储集群中至少分配一个闪盘中的所有云存储虚拟机给客户端)、独占整机存储集群(该集群是以一个服务器中的4块闪盘为单位,即在所述独占闪盘级存储集群中至少分配一个服务器中的4个闪盘中的所有云存储虚拟机给客户端),其中,所述独占整机存储集群对的安全隔离等级大于所述独占闪盘级存储集群对应的安全隔离等级,所述独占闪盘级存储集群对应的安全隔离等级大于所述公共存储集群对应的安全隔离等级。其中,闪盘存储芯片存储容量为(n+1)*size(n标识存储芯片数目,size为单个存储芯片存储容量),对外提供n*size的存储容量,并采用类似RAID5(Redundant Arrays of Independent Disks5,分布式奇偶校验的独立磁盘结构)的冗余算法写入数据,当发生存储芯片坏块时,能够自动标记坏块不可读写,并进行坏块数据搬迁;或者,当发生存储芯片整体坏时,能够自动标记芯片不可读写,并进行芯片坏块数据搬迁,以实现冗余保护。
在所述互联网数据中心的网络资源池可以包括预先设置的多个虚拟交换机。例如,一个交换机可以提供20个虚拟交换机,那么所述互联网数据中心中的50个交换机可以提供1000个虚拟交换机。可选的,所述资源处理装置还可以将所述互联网数据中心中的所有虚拟交换机划分为3个虚拟交换机集群,这3个虚拟交换机集群包括公共网络集群(该集群中的虚拟交换机可以同时向多个客户端提供网络服务)、云私有网络集群(该集群中的一台虚拟交换机只向一个客户端提供网络服务)、独享物理网络集群(该集群是以两台Roce 40G交换机为单位的,即在所述独享物理网络集群中至少分配两台Roce 40G交换机中的所有虚拟交换机给客户端),其中,所述独享物理网络集群对应的安全隔离等级大于云私有网络集群对应的安全隔离等级,云私有网络集群对应的安全隔离等级大于公共网络集群对应的安全隔离等级。
进一步的,所述资源处理装置在接收到所述业务资源配置请求后,可以进一步根据所述资源配置信息在所述计算资源池中选择至少一个目标云计算虚拟机,或者,也可以在所述计算资源池中选择专用宿主机并在所述专用宿主机上创建用户所需数量的目标云计算虚拟机。所述资源处理装置还可以进一步获取所述业务资源配置请求中的第一安全隔离等级,并在所述存储资源池中的具备所述第一安全隔离等级的云存储虚拟机集群中,根据所述资源配置信息选择至少一个目标云存储虚拟机;再进一步获取所述业务资源配置请求中的第二安全隔离等级,并在所述网络资源池中的具备所述第二安全隔离等级的虚拟交换机集群中,根据所述资源配置信息选择至少一个目标虚拟交换机。其中,所述第一安全隔离等级可以为所述独占整机存储集群对的安全隔离等级、所述独占闪盘级存储集群对应的安全隔离等级、所述公共存储集群对应的安全隔离等级中的任意一种安全隔离等级。所述第二安全隔离等级可以为所述独享物理网络集群对应的安全隔离等级、云私有网络集群对应的安全隔离等级、公共网络集群对应的安全隔离等级中的任意一种安全隔离等级。
S203,在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道。
具体的,可将具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机确定为所述目标用户信息对应的目标云化数据库;
所述资源处理装置可以在各目标云计算虚拟机和各目标虚拟交换机之间建立数据传输通道,并在所述各目标虚拟交换机和各目标云存储虚拟机之间建立数据传输通道,并将具备所述数据传输通道的所述各目标云计算虚拟机、所述各目标云存储虚拟机以及所述各目标虚拟交换机确定为所述目标用户信息对应的目标云化数据库。通过所建立的数据传输通道,可以将所述各目标云计算虚拟机所运算得到的数据通过目标虚拟交换机传输到相应的目标云存储虚拟机。
可选的,所述资源处理装置可以进一步为所述目标云化数据库与自动负载均衡设备建立连接关系,并通过所述自动负载均衡设备为所述目标云化数据库配置集群访问策略、负载均衡算法以及权重值。其中,所述自动负载均衡设备为自动负载均衡集群中的其中一个设备,所述自动负载均衡集群可以包括多个自动负载均衡设备。所述自动负载均衡集群可以与多个不同用户分别对应的云 化数据库相连接,即所述自动负载均衡集群中的每个自动负载均衡设备分别连接一个云化数据库,即一个自动负载均衡设备可以控制一个云化数据库。
可选的,所述资源处理装置可以进一步在所述目标云化数据库中安装数据库系统(所述数据库系统可以包括Oracle GI和Oracle DB),并返回业务资源配置结果消息到所述客户端;所述业务资源配置结果消息包括与所述目标云化数据库对应的创建成功消息、所述至少一个目标云虚拟机所提供的计算资源和存储资源、数据传输通道的信息。所述目标云化数据库可以提供Oracle Rac服务。若所述资源处理装置创建所述目标云化数据库失败,则所述客户端接收到的业务资源配置结果消息包括创建失败消息。
在创建了所述目标云化数据库后,所述目标云化数据库中的各目标云计算虚拟机可以对业务数据进行运算处理,各目标虚拟交换机可以将运算处理后的业务数据存储到相应的目标云存储虚拟机。
可选的,所述资源处理装置还可以进一步获取所述客户端发送的管理配置参数(所述客户端具体可以通过预设的资源管理平台将所述管理配置参数发送到所述资源处理装置),并将所述管理配置参数更新至所述目标云化数据库中;所述管理配置参数包括维护配置信息、监控配置信息以及告警配置信息,即实现了让所述客户端对应的用户可以自主管理所述目标云化数据库。
S204,当接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道。
其中,所述目标云化数据库为具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机所形成的与所述业务资源配置请求对应的云化数据库。
本实施例所示的所述业务资源请求有两种情况,所述业务资源请求的第一种情况为,所述业务资源请求为业务资源扩容请求;所述业务资源请求的第二种情况为,所述业务资源请求为业务资源缩容请求。
在所述业务资源请求为业务资源扩容请求的情况下,当接收到业务资源扩容请求时,根据所述业务资源扩容请求在所述资源池中选择待扩容云虚拟机(所述待处理云虚拟机)和待扩容虚拟交换机(所述待处理虚拟交换机),并 将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。
具体的,当所述资源处理装置接收到业务资源扩容请求时,可以根据所述业务资源扩容请求在所述资源池中选择待扩容云虚拟机和待扩容虚拟交换机,并将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。所述待扩容云虚拟机包括待扩容云计算虚拟机和待扩容云存储虚拟机,因此,扩容后的目标云化数据库包括所述目标云计算虚拟机和所述待扩容云计算虚拟机(从而使扩容后的目标云化数据库具备更强的运算能力)、所述目标云存储虚拟机和所述待扩容云存储虚拟机(从而使扩容后的目标云化数据库具备更多的存储空间)、所述目标虚拟交换机和所述待扩容虚拟交换机(从而使扩容后的目标云化数据库具备更多的网络资源)。在业务数据量增大时,通过对所述目标云化数据库进行扩容可以使得扩容后的目标云化数据库能够满足增大后的业务数据量。
在所述业务资源请求为业务资源缩容请求的情况下,可以根据所述业务资源缩容请求在所述目标云化数据库中选择待缩容云虚拟机(所述待处理云虚拟机)和待缩容虚拟交换机(所述待处理虚拟交换机),并将所述待缩容云虚拟机和所述待缩容虚拟交换机从所述目标云化数据库移出至所述资源池中,并对移出所述待缩容云虚拟机和所述待缩容虚拟交换机后的目标云化数据库中的数据传输通道进行更新。其中,所述待缩容云虚拟机包括待缩容云计算虚拟机和待缩容云存储虚拟机,因此,缩容后的目标云化数据库中所述目标云计算虚拟机、所述目标云存储虚拟机以及所述目标虚拟交换机的数量均减少了。当业务数据量减少时,通过对于所述目标云化数据库进行缩容,可以节约系统资源。
其中,所述互联网数据中心中的整个Oracle Rac服务提供至少3个存储节点和一个备份存储节点云主机跨机架和机房来提供访问,损坏任何2个节点都能通过云主机的热迁移来完成自动切换,在切换过程中只要有一台存储节点云主机正常工作,就能为各云化数据库正常提供Oracle Rac业务存储服务。所述互联网数据中心中的整个Oracle Rac服务还提供至少3个计算节点云主机跨机 架和机房来提供访问,损坏任何2个节点都能通过云主机的热迁移来完成自动切换,在切换过程中只要有一台计算节点云主机正常工作,就能为各云化数据库正常提供Oracle Rac业务的访问服务,以实现x86整机计算节点保护。所述互联网数据中心中的整个Oracle Rac服务还提供至少2台Roc 40G内网交换机池化冗余资源,每台云主机内网(计算、存储)都采用双Roc 40G网卡四网口架构,将内网的数据和心跳同步请求分离冗余链接内网这两台交换机,内网的任意一个网络部件损坏均不会影响Oracle Rac整体业务内网网络服务;主干网采用跨机架两路万兆以太网交换机冗余资源,每台云主机(计算、存储)外网采用万兆双网卡做bonding(bonding是指将多块网卡虚拟成为一块网卡,使其具有相同的网络地址的技术)冗余连接这两台外网交换机,外网的任意一个网络部件损坏均不会影响Oracle Rac整体业务外网网络服务,以实现内网及主干网冗余保护。所述互联网数据中心还可以利用Oracle Rac的ASM(Automated Storage Management,自动存储管理)文件系统来管理数据库的数据,采用Normal模式,每个数据写三份,分别写到三个存储节点的不同闪存盘上,同时增加一个冷备存储,每个存储节点都设置一份voting disk(仲裁磁盘),丢失任何两份数据都不会影响Oracle Rac整体业务数据访问服务。
进一步的,再请一并参见图3,是本发明实施例提供的一种互联网数据中心的结构示意图,如图3所示,互联网数据中心可以包括计算资源池300b、网络资源池300c、存储资源池300d,所述计算资源池300b包括CVM_a1、CVM_a2、…、CVM_an-1、CVM_an,即所述计算资源池300b可以包括n个用于进行云计算的CVM(Cloud Virtual Machine,云虚拟机),即所述计算资源池300b中的每个CVM均为一个云计算虚拟机。所述网络资源池300c包括交换机ROCE Switch_1、ROCE Switch_2、…、ROCE Switch_n-1、ROCE Switch_n,即所述网络资源池300c可以包括n个用于进行数据传输的虚拟交换机(ROCE Switch),n个虚拟交换机可以由若干个Roce 40G交换机所提供。所述存储资源池300d包括CVM_b1、CVM_b2、…、CVM_bn-1、CVM_bn,即所述存储资源池300d可以包括n个用于进行云存储的CVM,即所述存储资源池300d中的每个CVM均为一个云存储虚拟机。当某客户端要在所述互联网数据中心中请求创建一个目标云化数据库时,可以根据客户端发送的业务资 源配置请求在所述计算资源池300b中选择CVM_a1和CVM_a2作为目标云计算虚拟机,并在所述网络资源池300c中选择ROCE Switch_1和ROCE Switch_2作为目标虚拟交换机,并在所述存储资源池300d中选择CVM_b1和CVM_b2作为目标存储虚拟机,其中,CVM_a1和CVM_a2分别与ROCE Switch_1和ROCE Switch_2建立数据传输通道(具体的,CVM_a1和CVM_a2均可以包括两个ROCE接口,每个ROCE接口均通过所述数据传输通道与ROCE Switch_1和ROCE Switch_2连接),CVM_b1和CVM_b2也分别与ROCE Switch_1和ROCE Switch_2建立数据传输通道(具体的,CVM_b1和CVM_b2均可以包括1个ROCE接口,每个ROCE接口均通过所述数据传输通道与ROCE Switch_1和ROCE Switch_2连接),ROCE Switch_1和ROCE Switch_2之间可以通过双线互联进行连接通信,进而可以将已建立所述数据传输通道的CVM_a1、CVM_a2、CVM_b1、CVM_b2、ROCE Switch_1以及ROCE Switch_2确定为该客户端对应的目标云化数据库。所述目标云化数据库可以连接进一步TGW(Tencent GateWay,腾讯开发的一套实现多网统一接入、外网网络请求转发、支持自动负载均衡的系统)集群,所述TGW集群可以包括多个自动负载均衡设备,所述目标云化数据库具体可以与所述TGW集群中的其中一个自动负载均衡设备连接。其中,所述目标云化数据库可以通过CVM_a1和CVM_a2对该客户端发送的业务数据进行运算处理,所述目标云化数据库再通过ROCE Switch_1和ROCE Switch_2将运算处理后的业务数据发送至CVM_b1和CVM_b2,使得CVM_b1和CVM_b2可以存储运算处理后的业务数据。当该客户端要对所述目标云化数据库进行扩容操作时,可以将所述计算资源池300b中空闲状态的CVM_ax(3<=x<=n)、所述网络资源池300c中空闲状态的ROCE Switch_y(3<=y<=n))、所述存储资源池300d中空闲状态的CVM_bz(3<=z<=n))添加至所述目标云化数据库,并更新所述目标云化数据库中的数据传输通道,以完成对所述目标云化数据库的扩容。
本发明实施例通过接收客户端发送的业务资源配置请求,可以根据所述业务资源配置请求中的所述资源配置信息在互联网数据中心中预设的资源池中,选择至少一个目标云虚拟机和至少一个目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;再在各目标云虚拟机和各目标虚拟交换机之间建 立数据传输通道,并将具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机确定为所述目标用户信息对应的目标云化数据库;当接收到业务资源扩容请求时,根据所述业务资源扩容请求在所述资源池中选择待扩容云虚拟机和待扩容虚拟交换机,并将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。当接收到业务资源缩容请求时,根据所述业务资源缩容请求在所述资源池中选择待缩容云虚拟机和待缩容虚拟交换机,并将所述待缩容云虚拟机和所述待缩容虚拟交换机从所述目标云化数据库移出至所述资源池中,由于将计算资源、网络资源、存储资源进行云化管理,所以更易于实现动态弹性扩容,并降低建设成本和运维成本。
请参见图4,是本发明实施例提供的一种资源处理方法的流程示意图,所述方法可以包括:
S401,接收客户端发送的业务资源配置请求;
S402,根据所述资源配置信息在互联网数据中心中预设的资源池中,选择至少一个目标云虚拟机和至少一个目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
S403,在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道;
其中,S401-S403步骤的具体实现方式可以参见上述图2对应实施例中的S201-S203,这里不再进行赘述。
S404,控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,控制所述目标云化数据库通过专线与各同城云化数据库进行通信。
通过本实施例所示的方法以使所述各同城云化数据库实时同步以下所示的至少一项:所述目标云化数据库中的业务数据、扩容操作以及缩容操作;
具体的,资源处理装置还可以控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,通过专线将所述目标云化数据库连接至各同城云化数据库,以便于所述各同城云化数据库实时同步所述目标云化数据库中的以下所示的至少一项:的业务数据、扩容操作、缩容操作。
其中,所述同城云化数据库中的云计算虚拟机的数量、云存储虚拟机的数量、虚拟交换机的数量以及数据传输通道的架构均与所述目标云化数据库相同。其中,当某个互联网数据中心出现异常,则与出现异常的互联网数据中心相连接的TGW集群可以停止向出现异常的互联网数据中心提供为Oracle Rac服务,即由剩余的正常的互联网数据中心中的目标云化数据库或同城云化数据库继续实现Oracle Rac服务。所述目标云化数据库在计算和存储某业务数据时,与所述目标云化数据库相同的各同城云化数据库也同步计算和存储该业务数据;所述目标云化数据库在进行扩容操作时,与所述目标云化数据库相同的各同城云化数据库也同步进行相同的扩容操作,即所述目标云化数据库与各同城云化数据库之间所新增的云计算虚拟机(和/或云存储虚拟机和/或虚拟交互机)的数量相同。所述目标云化数据库在进行缩容操作时,与所述目标云化数据库相同的各同城云化数据库也同步进行相同的缩容操作,即所述目标云化数据库与各同城云化数据库之间所移出的云计算虚拟机(和/或云存储虚拟机和/或虚拟交互机)的数量相同。
进一步的,请一并参见图5,是本发明实施例提供的另一种互联网数据中心的结构示意图,图5中以同城的两个互联网数据中心为例,具体包括互联网数据中心500和互联网数据中心501,互联网数据中心500和互联网数据中心501处于同一城市,即所述互联网数据中心可以为所述互联网数据中心500的同城互联网数据中心。所述互联网数据中心500和所述互联网数据中心501中的系统架构(包括计算资源池、网络资源池、存储资源池、TGW集群)可以均与图3中的互联网数据中心相同,且所述互联网数据中心500中的云化数据库500a也与图3中的目标云化数据库相同,这里不再对所述互联网数据中心500和云化数据库500a进行赘述。
在所述互联网数据中心500和所述互联网数据中心501之间可以通过专线进行通信,因此,在所述互联网数据中心500中创建所述云化数据库500a时,可以将用于创建所述云化数据库500a的业务资源配置请求通过所述专线传输到所述互联网数据中心501,使得所述互联网数据中心501可以同步创建与所述云化数据库500a相同的云化数据库501a,即所述云化数据库501a为所述云化数据库500a的同城云化数据库。所述云化数据库501a可以同步所述云化数 据库500a所处理的业务数据,并可以同步所述云化数据库500a的扩容操作和缩容操作。可选的,若用户要创建云化数据库,且选择了同城双活中心选项,则可以分别在同城的互联网数据中心500和互联网数据中心501中各选择一半云计算虚拟机、云存储虚拟机和虚拟交换机,以创建云化数据库,通过互联网数据中心500和互联网数据中心中的TGW集群提供对外服务,若互联网数据中心500发生灾难性后果,则互联网数据中心501中的TGW集群会将互联网数据中心500踢出Oracle Rac服务访问范围。
本发明实施例中同城的多个互联网数据中心之间可以利用内网带宽将不同机房的云主机计算节点和存储节点分别放在统一的计算资源池和存储资源池中,整个Oracle Rac服务会将计算节点和存储节点分配在同城不同的机房,当某个机房出现灾难性的后果无法工作时,能够单独采用同城另外一个互联网数据中心不间断继续提供Oracle Rac服务,以实现冗余保护。
请参见图6,是本发明实施例提供的一种资源处理方法的流程示意图,所述方法可以包括:
S601,接收客户端发送的业务资源配置请求;
S602,根据所述资源配置信息在互联网数据中心中预设的资源池中,选择至少一个目标云虚拟机和至少一个目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
S603,在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道;
其中,S601-S603步骤的具体实现方式可以参见上述图2对应实施例中的S201-S203,这里不再进行赘述。
S604,控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,并通知与所述互联网数据中心相关联的至少一个异城互联网数据中心创建与所述目标云化数据库相同的异城云化数据库;
S605,控制所述目标云化数据库通过第一专线与各同城云化数据库进行通信,并与通过DCI(Data Center Interconnect,数据中心互连)与各异城云化数据库进行通信。
通过本实施例所示的方法能够使得所述各同城云化数据库和所述各异城 云化数据库实时同步所述目标云化数据库中的如下所示的至少一项:业务数据、扩容操作以及缩容操作。
具体的,资源处理装置可以通知与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,并通知与所述互联网数据中心相关联的至少一个异城互联网数据中心创建与所述目标云化数据库相同的异城云化数据库;其中,同城之间的互联网数据中心可以通过第一专线进行连接(即同处一个城市的两个互联网数据中心可以通过第一专线进行连接),异城之间的互联网数据中心可以通过DCI进行连接(即分别处于不同城市的两个互联网数据中心可以通过DCI进行连接),进而所述目标云化数据库可以通过第一专线与各同城云化数据库进行通信,并与通过数据中心互连DCI与各异城云化数据库进行通信,以便于所述各同城云化数据库和所述各异城云化数据库实时同步所述目标云化数据库中的业务数据、扩容操作、缩容操作。其中,所述同城云化数据库和异城云化数据库中的云计算虚拟机的数量、云存储虚拟机的数量、虚拟交换机的数量以及数据传输通道的架构均与所述目标云化数据库相同。当某个互联网数据中心出现异常,则与出现异常的互联网数据中心相连接的TGW集群可以停止向出现异常的互联网数据中心提供Oracle Rac服务,即由剩余的正常的互联网数据中心中的目标云化数据库或同城云化数据库或异城云化数据库继续实现Oracle Rac服务。
所述目标云化数据库在计算和存储某业务数据时,与所述目标云化数据库相同的各同城云化数据库和各异城云化数据库也同步计算和存储该业务数据;所述目标云化数据库在进行扩容操作时,与所述目标云化数据库相同的各同城云化数据库和各异城云化数据库也同步进行相同的扩容操作,即所述目标云化数据库与各同城云化数据库、各异城云化数据库之间所新增的云计算虚拟机(和/或云存储虚拟机和/或虚拟交互机)的数量相同。所述目标云化数据库在进行缩容操作时,与所述目标云化数据库相同的各同城云化数据库、各异城云化数据库也同步进行相同的缩容操作,即所述目标云化数据库与各同城云化数据库、各异城云化数据库之间所移出的云计算虚拟机(和/或云存储虚拟机和/或虚拟交互机)的数量相同。
进一步的,请一并参见图7,是本发明实施例提供的又一种互联网数据中 心的结构示意图,图7中以同城的两个互联网数据中心为例,具体包括互联网数据中心701、互联网数据中心702、互联网数据中心703、互联网数据中心704。
其中,互联网数据中心701与互联网数据中心702均位于城市A,互联网数据中心703与互联网数据中心704均位于城市B,因此,互联网数据中心702是互联网数据中心701的同城互联网数据中心,互联网数据中心703和互联网数据中心704均为互联网数据中心701的异城互联网数据中心。互联网数据中心701、互联网数据中心702、互联网数据中心703、互联网数据中心704中的系统架构(包括计算资源池、网络资源池、存储资源池、TGW集群)可以均与图3中的互联网数据中心相同,且所述互联网数据中心701中的云化数据库701a也与图3中的目标云化数据库相同,这里不再对所述互联网数据中心701和云化数据库704a进行赘述。
互联网数据中心701和互联网数据中心702之间可以通过专线进行通信,互联网数据中心703和互联网数据中心704之间也可以通过专线进行通信,互联网数据中心701和互联网数据中心703之间可以通过DCI进行通信,互联网数据中心702和互联网数据中心704之间可以通过DCI进行通信。
因此,在互联网数据中心701中创建所述云化数据库701a时,可以将用于创建所述云化数据库701a的业务资源配置请求通过所述专线传输到所述互联网数据中心702,并通过DCI将所述业务资源配置请求传输到所述互联网数据中心703,再由所述互联网数据中心702通过DCI(或由所述互联网数据中心703通过专线)将所述业务资源配置请求传输到所述互联网数据中心704,使得所述互联网数据中心702、所述互联网数据中心703、所述互联网数据中心704可以同步创建与所述云化数据库701a相同的互联网数据中心702、云化数据库703a、云化数据库704a,即所述互联网数据中心702为所述云化数据库701a的同城云化数据库,所述云化数据库703a和所述云化数据库704a均为所述云化数据库701a的异城云化数据库。
云化数据库702a、云化数据库703a、云化数据库704a可以同步所述云化数据库701a所处理的业务数据,并可以同步所述云化数据库701a的扩容操作和缩容操作。可选的,若用户要创建云化数据库,且选择了两地双活中心选项, 则可以在配置云化数据库时会增加不同城市的互联网数据中心的Oracle RacDG同步(网络抖动时衰减为异步),一个城市的Oracle Rac服务支持读写,另外一个城市的Oracle Rac服务只读,因此,当某个城市发生灾害时,通过域名切换更新DG主备访问模式或者踢出故障城市的Oracle Rac服务。
本发明实施例中异地的互联网数据中心之间可以利用DCI内网带宽,使用Oracle的ADG服务同步复制数据到异地的互联网数据中心的Oracle Rac服务,保证某个城市出现灾难性的后果无法工作时,通过域名切换能够单独采用异地另外一个互联网数据中心不间断继续提供Oracle Rac服务。
请参见图8,是本发明实施例提供的一种基于互联网数据中心的资源处理装置1的结构示意图,所述资源处理装置1可以包括:接收模块10、处理模块20、建立模块30、安装模块40、更新模块50、第一通知创建模块80、第二通知创建模块90;
所述接收模块10,用于接收客户端发送的业务资源配置请求;所述业务资源配置请求用于选定至少一个目标云虚拟机和至少一个目标虚拟交换机;
所述处理模块20,用于根据所述业务资源配置请求在互联网数据中心中预设的资源池中,选择至少一个所述目标云虚拟机和至少一个所述目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
所述建立模块30,用于在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道;
所述建立模块30,还用于为所述目标云化数据库与自动负载均衡设备建立连接关系,并通过所述自动负载均衡设备为所述目标云化数据库配置集群访问策略、负载均衡算法以及权重值。
安装模块40,用于在所述目标云化数据库中安装数据库系统,并返回业务资源配置结果消息到所述客户端;
所述业务资源配置结果消息包括以下所示的至少一项:
与所述目标云化数据库对应的创建成功消息、所述至少一个目标云虚拟机所提供的计算资源和存储资源以及数据传输通道的信息;
更新模块50,用于获取所述客户端发送的管理配置参数,并将所述管理配置参数更新至所述目标云化数据库中;
所述管理配置参数包括如下所示的至少一种:
维护配置信息、监控配置信息以及告警配置信息;
其中,所述接收模块10、所述处理模块20、所述建立模块30、所述安装模块40、所述更新模块50的具体实现方式可以参见上述图2对应实施例中的S201-S204,这里不再进行赘述。
其中,所述资源池包括计算资源池、网络资源池以及存储资源池;所述计算资源池是由所述互联网数据中心中的多个服务器的硬件计算资源所提供的;所述网络资源池是由所述互联网数据中心中的多个交换机所提供的;所述存储资源池是由所述互联网数据中心中的多个服务器的硬件存储资源所提供的。所述至少一个目标云虚拟机包括:目标云计算虚拟机和目标云存储虚拟机。
所述第一通知创建模块80,用于控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,控制所述目标云化数据库通过专线与各同城云化数据库进行通信,以使所述各同城云化数据库实时同步所述目标云化数据库中的如下所示的至少一项:
业务数据、扩容操作以及缩容操作。
所述第二通知创建模块90,用于控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,并通知与所述互联网数据中心相关联的至少一个异城互联网数据中心创建与所述目标云化数据库相同的异城云化数据库;控制所述目标云化数据库通过第一专线与各同城云化数据库进行通信,并通过数据中心互连DCI与各异城云化数据库进行通信,以使所述各同城云化数据库和所述各异城云化数据库实时同步所述目标云化数据库中的如下所示至少一项:
业务数据、扩容操作以及缩容操作。
所述第一通知创建模块80在执行相应操作时,所述第二通知创建模块90将不执行任何操作;所述第二通知创建模块90执行相应操作时,所述第一通知创建模块80将不执行任何操作。
本发明实施例通过接收客户端发送的业务资源配置请求,可以根据所述业务资源配置请求中的所述资源配置信息在互联网数据中心中预设的资源池中,选择至少一个目标云虚拟机和至少一个目标虚拟交换机;所述资源池包括多个 云虚拟机和多个虚拟交换机;再在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道,并将具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机确定为所述目标用户信息对应的目标云化数据库;当接收到业务资源扩容请求时,根据所述业务资源扩容请求在所述资源池中选择待扩容云虚拟机和待扩容虚拟交换机,并将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。由于将计算资源、网络资源、存储资源进行云化管理,所以更易于实现动态弹性扩容,并降低建设成本和运维成本。
进一步的,请一并参见图9,是本发明实施例提供的一种处理模块20的结构示意图,所述处理模块20可以包括:第一选择单元201、第二选择单元202、第三选择单元203;
所述第一选择单元201,用于根据所述业务资源配置请求在所述计算资源池中选择至少一个目标云计算虚拟机;
所述第二选择单元202,用于获取所述业务资源配置请求中的第一安全隔离等级,并在所述存储资源池中的具备所述第一安全隔离等级的云存储虚拟机集群中,根据所述资源配置信息选择至少一个目标云存储虚拟机;
所述第三选择单元203,用于获取所述业务资源配置请求中的第二安全隔离等级,并在所述网络资源池中的具备所述第二安全隔离等级的虚拟交换机集群中,根据所述资源配置信息选择至少一个目标虚拟交换机。
其中,所述第一选择单元201、所述第二选择单元202、所述第三选择单元203的具体实现方式可以参见上述图2对应实施例中的S202,这里不再进行赘述。
所述处理模块还包括:
扩容单元204,用于当接收到所述业务资源扩容请求时,根据所述业务资源扩容请求在所述资源池中选择所述待扩容云虚拟机和所述待扩容虚拟交换机,并将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。
缩容单元205,用于当接收到所述业务资源缩容请求时,根据所述业务资源缩容请求在所述目标云化数据库中选择所述待缩容云虚拟机和所述待缩容虚拟交换机,并将所述待缩容云虚拟机和所述待缩容虚拟交换机从所述目标云化数据库移出至所述资源池中,并对移出所述待缩容云虚拟机和所述待缩容虚拟交换机后的目标云化数据库中的数据传输通道进行更新。
请参见图10,是本发明实施例提供的又一种基于互联网数据中心的资源处理装置的结构示意图。如图10所示,所述资源处理装置1000可以包括:至少一个处理器1001,例如CPU,至少一个网络接口1004,用户接口1003,存储器1005,至少一个通信总线1002。其中,通信总线1002用于实现这些组件之间的连接通信。其中,用户接口1003可以包括显示屏(Display)、键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。存储器1005可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器1005可选的还可以是至少一个位于远离前述处理器1001的存储装置。作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及设备控制应用程序。
在图10所示的资源处理装置1000中,网络接口1004主要用于连接客户端;而处理器1001可以用于调用存储器1005中存储的设备控制应用程序,并具体执行以下步骤:
接收客户端发送的业务资源配置请求,所述业务资源配置请求用于选定至少一个目标云虚拟机和至少一个目标虚拟交换机;
根据所述业务资源配置请求在互联网数据中心中预设的资源池中,选择至少一个所述目标云虚拟机和至少一个所述目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道;
当接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道,所述目标云化数据库为具 备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机所形成的与所述业务资源配置请求对应的云化数据库。
在一个实施例中,所述处理器1001还执行以下步骤:
若所述业务资源请求为业务资源扩容请求,则所述待处理云虚拟机为待扩容云虚拟机,所述待处理虚拟交换机为待扩容虚拟交换机,则当接收到所述业务资源扩容请求时,根据所述业务资源扩容请求在所述资源池中选择所述待扩容云虚拟机和所述待扩容虚拟交换机,并将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。
在一个实施例中,所述处理器1001还执行以下步骤:
若所述业务资源请求为业务资源缩容请求,则所述待处理云虚拟机为待缩容云虚拟机,所述待处理虚拟交换机为待缩容虚拟交换机,则当接收到所述业务资源缩容请求时,根据所述业务资源缩容请求在所述目标云化数据库中选择所述待缩容云虚拟机和所述待缩容虚拟交换机,并将所述待缩容云虚拟机和所述待缩容虚拟交换机从所述目标云化数据库移出至所述资源池中,并对移出所述待缩容云虚拟机和所述待缩容虚拟交换机后的目标云化数据库中的数据传输通道进行更新。
在一个实施例中,所述资源池包括计算资源池、网络资源池以及存储资源池;所述计算资源池是由所述互联网数据中心中的多个服务器的硬件计算资源所提供的;所述网络资源池是由所述互联网数据中心中的多个交换机所提供的;所述存储资源池是由所述互联网数据中心中的多个服务器的硬件存储资源所提供的。
在一个实施例中,所述目标云虚拟机为以下所示的至少一项:目标云计算虚拟机和目标云存储虚拟机;所述处理器1001还执行如下步骤:
根据所述业务资源配置请求在所述计算资源池中选择至少一个目标云计算虚拟机;
获取所述业务资源配置请求中的第一安全隔离等级,并在所述存储资源池中的具备所述第一安全隔离等级的云存储虚拟机集群中,根据所述资源配置信息选择至少一个目标云存储虚拟机;
获取所述业务资源配置请求中的第二安全隔离等级,并在所述网络资源池中的具备所述第二安全隔离等级的虚拟交换机集群中,根据所述资源配置信息选择至少一个所述目标虚拟交换机。
在一个实施例中,所述处理器1001还执行如下步骤:
为所述目标云化数据库与自动负载均衡设备建立连接关系,并通过所述自动负载均衡设备为所述目标云化数据库配置如下所示的至少一种:
集群访问策略、负载均衡算法以及权重值。
在一个实施例中,所述处理器1001还执行如下步骤:
在所述目标云化数据库中安装数据库系统,并返回业务资源配置结果消息到所述客户端;
所述业务资源配置结果消息包括以下所示的至少一项:
与所述目标云化数据库对应的创建成功消息、所述至少一个目标云虚拟机所提供的计算资源和存储资源以及数据传输通道的信息。
在一个实施例中,所述处理器1001还执行如下步骤:
获取所述客户端发送的管理配置参数,并将所述管理配置参数更新至所述目标云化数据库中;
所述管理配置参数包括如下所示的至少一种:
维护配置信息、监控配置信息以及告警配置信息。
在一个实施例中,所述处理器1001还执行如下步骤:
控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,控制所述目标云化数据库通过专线与各同城云化数据库进行通信,以使所述各同城云化数据库实时同步所述目标云化数据库中的如下所示的至少一项:
业务数据、扩容操作以及缩容操作。
在一个实施例中,所述处理器1001还执行如下步骤:
控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,并通知与所述互联网数据中心相关联的至少一个异城互联网数据中心创建与所述目标云化数据库相同的异城云化数据库;
控制所述目标云化数据库通过第一专线与各同城云化数据库进行通信,并通过数据中心互连DCI与各异城云化数据库进行通信,以使所述各同城云化数据库和所述各异城云化数据库实时同步所述目标云化数据库中的如下所示至少一项:
业务数据、扩容操作以及缩容操作。
本发明实施例通过接收客户端发送的业务资源配置请求,可以根据所述业务资源配置请求中的所述资源配置信息在互联网数据中心中预设的资源池中,选择至少一个目标云虚拟机和至少一个目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;再在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道,并将具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机确定为所述目标用户信息对应的目标云化数据库;当接收到业务资源扩容请求时,根据所述业务资源扩容请求在所述资源池中选择待扩容云虚拟机和待扩容虚拟交换机,并将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。当接收到业务资源缩容请求时,根据所述业务资源缩容请求在所述资源池中选择待缩容云虚拟机和待缩容虚拟交换机,并将所述待缩容云虚拟机和所述待缩容虚拟交换机从所述目标云化数据库移出至所述资源池中,由于将计算资源、网络资源、存储资源进行云化管理,所以更易于实现动态弹性扩容,并降低建设成本和运维成本。
本实施例还提供了一种计算机可读存储介质,存储有程序指令,其中,所述处理器执行所存储的程序指令时执行如上述所示的所述的方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (25)

  1. 一种资源处理方法,其特征在于,包括:
    接收客户端发送的业务资源配置请求,所述业务资源配置请求用于选定至少一个目标云虚拟机和至少一个目标虚拟交换机;
    根据所述业务资源配置请求在互联网数据中心中预设的资源池中,选择至少一个所述目标云虚拟机和至少一个所述目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
    在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道;
    当接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道,所述目标云化数据库为具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机所形成的与所述业务资源配置请求对应的云化数据库。
  2. 根据权利要求1所述的方法,其特征在于,所述业务资源配置请求包括目标用户信息和/或资源配置信息。
  3. 根据权利要求1或2所述的方法,其特征在于,若所述业务资源请求为业务资源扩容请求,则所述待处理云虚拟机为待扩容云虚拟机,所述待处理虚拟交换机为待扩容虚拟交换机,则所述当接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道包括:
    当接收到所述业务资源扩容请求时,根据所述业务资源扩容请求在所述资源池中选择所述待扩容云虚拟机和所述待扩容虚拟交换机,并将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。
  4. 根据权利要求1或2所述的方法,其特征在于,若所述业务资源请求为业务资源缩容请求,则所述待处理云虚拟机为待缩容云虚拟机,所述待处理虚拟交换机为待缩容虚拟交换机,则所述当接收到业务资源请求时,根据所述 业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道包括:
    当接收到所述业务资源缩容请求时,根据所述业务资源缩容请求在所述目标云化数据库中选择所述待缩容云虚拟机和所述待缩容虚拟交换机,并将所述待缩容云虚拟机和所述待缩容虚拟交换机从所述目标云化数据库移出至所述资源池中,并对移出所述待缩容云虚拟机和所述待缩容虚拟交换机后的目标云化数据库中的数据传输通道进行更新。
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述资源池包括计算资源池、网络资源池以及存储资源池;所述计算资源池是由所述互联网数据中心中的多个服务器的硬件计算资源所提供的;所述网络资源池是由所述互联网数据中心中的多个交换机所提供的;所述存储资源池是由所述互联网数据中心中的多个服务器的硬件存储资源所提供的。
  6. 根据权利要求5所述的方法,其特征在于,所述目标云虚拟机为以下所示的至少一项:目标云计算虚拟机和目标云存储虚拟机;所述方法还包括:
    根据所述业务资源配置请求在所述计算资源池中选择至少一个目标云计算虚拟机;
    获取所述业务资源配置请求中的第一安全隔离等级,并在所述存储资源池中的具备所述第一安全隔离等级的云存储虚拟机集群中,根据所述资源配置信息选择至少一个目标云存储虚拟机;
    获取所述业务资源配置请求中的第二安全隔离等级,并在所述网络资源池中的具备所述第二安全隔离等级的虚拟交换机集群中,根据所述资源配置信息选择至少一个所述目标虚拟交换机。
  7. 根据权利要求1至6任一项所述的方法,其特征在于,在所述接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机的步骤之前,还包括:
    为所述目标云化数据库与自动负载均衡设备建立连接关系,并通过所述自动负载均衡设备为所述目标云化数据库配置如下所示的至少一种:
    集群访问策略、负载均衡算法以及权重值。
  8. 根据权利要求1至7任一项所述的方法,其特征在于,在所述接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机的步骤之前,还包括:
    在所述目标云化数据库中安装数据库系统,并返回业务资源配置结果消息到所述客户端;
    所述业务资源配置结果消息包括以下所示的至少一项:
    与所述目标云化数据库对应的创建成功消息、所述至少一个目标云虚拟机所提供的计算资源和存储资源以及数据传输通道的信息。
  9. 根据权利要求1至8任一项所述的方法,其特征在于,在所述接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机的步骤之前,还包括:
    获取所述客户端发送的管理配置参数,并将所述管理配置参数更新至所述目标云化数据库中;
    所述管理配置参数包括如下所示的至少一种:
    维护配置信息、监控配置信息以及告警配置信息。
  10. 根据权利要求1至9任一项所述的方法,其特征在于,在所述接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机的步骤之前,还包括:
    控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,控制所述目标云化数据库通过专线与各同城云化数据库进行通信,以使所述各同城云化数据库实时同步所述目标云化数据库中的如下所示的至少一项:
    业务数据、扩容操作以及缩容操作。
  11. 根据权利要求1至9任一项所述的方法,其特征在于,在所述接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机的步骤之前,还包括:
    控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,并通知与所述互联网数据中心相关联的至少一个异城互联网数据中心创建与所述目标云化数据库相同的异 城云化数据库;
    控制所述目标云化数据库通过第一专线与各同城云化数据库进行通信,并通过数据中心互连DCI与各异城云化数据库进行通信,以使所述各同城云化数据库和所述各异城云化数据库实时同步所述目标云化数据库中的如下所示至少一项:
    业务数据、扩容操作以及缩容操作。
  12. 一种基于互联网数据中心的资源处理装置,其特征在于,包括:
    接收模块,用于接收客户端发送的业务资源配置请求;所述业务资源配置请求用于选定至少一个目标云虚拟机和至少一个目标虚拟交换机;
    处理模块,用于根据所述业务资源配置请求在互联网数据中心中预设的资源池中,选择至少一个所述目标云虚拟机和至少一个所述目标虚拟交换机;所述资源池包括多个云虚拟机和多个虚拟交换机;
    建立模块,用于在各目标云虚拟机和各目标虚拟交换机之间建立数据传输通道;
    处理模块,用于当接收到业务资源请求时,根据所述业务资源请求在所述资源池中选择待处理云虚拟机和待处理虚拟交换机,并基于所述待处理云虚拟机和待处理虚拟交换机更新所述目标云化数据库中的数据传输通道,所述目标云化数据库为具备所述数据传输通道的所述各目标云虚拟机和所述各目标虚拟交换机所形成的与所述业务资源配置请求对应的云化数据库。
  13. 根据权利要求12所述的装置,其特征在于,所述接收模块所接收到的所述业务资源配置请求包括目标用户信息和/或资源配置信息。
  14. 根据权利要求12或13所述的装置,其特征在于,若所述业务资源请求为业务资源扩容请求,则所述待处理云虚拟机为待扩容云虚拟机,所述待处理虚拟交换机为待扩容虚拟交换机,则所述处理模块包括扩容单元;
    所述扩容单元,用于当接收到所述业务资源扩容请求时,根据所述业务资源扩容请求在所述资源池中选择所述待扩容云虚拟机和所述待扩容虚拟交换机,并将所述待扩容云虚拟机和所述待扩容虚拟交换机添加至所述目标云化数据库中,并基于所述待扩容云虚拟机和所述待扩容虚拟交换机更新所述目标云化数据库中的数据传输通道。
  15. 根据权利要求12或13所述的装置,其特征在于,若所述业务资源请求为业务资源缩容请求,则所述待处理云虚拟机为待缩容云虚拟机,所述待处理虚拟交换机为待缩容虚拟交换机,则所述处理模块包括缩容单元;
    所述缩容单元,用于当接收到所述业务资源缩容请求时,根据所述业务资源缩容请求在所述目标云化数据库中选择所述待缩容云虚拟机和所述待缩容虚拟交换机,并将所述待缩容云虚拟机和所述待缩容虚拟交换机从所述目标云化数据库移出至所述资源池中,并对移出所述待缩容云虚拟机和所述待缩容虚拟交换机后的目标云化数据库中的数据传输通道进行更新。
  16. 根据权利要求12至15任一项所述的装置,其特征在于,所述资源池包括计算资源池、网络资源池以及存储资源池;所述计算资源池是由所述互联网数据中心中的多个服务器的硬件计算资源所提供的;所述网络资源池是由所述互联网数据中心中的多个交换机所提供的;所述存储资源池是由所述互联网数据中心中的多个服务器的硬件存储资源所提供的。
  17. 根据权利要求16所述的装置,其特征在于,所述目标云虚拟机为以下所示的至少一项:目标云计算虚拟机和目标云存储虚拟机;所述处理模块包括:
    第一选择单元,用于根据所述业务资源配置请求在所述计算资源池中选择至少一个目标云计算虚拟机;
    第二选择单元,用于获取所述业务资源配置请求中的第一安全隔离等级,并在所述存储资源池中的具备所述第一安全隔离等级的云存储虚拟机集群中,根据所述资源配置信息选择至少一个目标云存储虚拟机;
    第三选择单元,用于获取所述业务资源配置请求中的第二安全隔离等级,并在所述网络资源池中的具备所述第二安全隔离等级的虚拟交换机集群中,根据所述资源配置信息选择至少一个所述目标虚拟交换机。
  18. 根据权利要求12至17任一项所述的装置,其特征在于,所述建立模块,还用于为所述目标云化数据库与自动负载均衡设备建立连接关系,并通过所述自动负载均衡设备为所述目标云化数据库配置如下所示的至少一种:
    集群访问策略、负载均衡算法以及权重值。
  19. 根据权利要求12至18任一项所述的装置,其特征在于,所述装置还 包括:
    安装模块,用于在所述目标云化数据库中安装数据库系统,并返回业务资源配置结果消息到所述客户端;
    所述业务资源配置结果消息包括以下所示的至少一项:
    与所述目标云化数据库对应的创建成功消息、所述至少一个目标云虚拟机所提供的计算资源和存储资源以及数据传输通道的信息。
  20. 根据权利要求12至19任一项所述的装置,其特征在于,所述装置还包括:
    更新模块,用于获取所述客户端发送的管理配置参数,并将所述管理配置参数更新至所述目标云化数据库中;
    所述管理配置参数包括如下所示的至少一种:
    维护配置信息、监控配置信息以及告警配置信息。
  21. 根据权利要求12至20任一项所述的装置,其特征在于,所述装置还包括:
    第一通知创建模块,用于控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,控制所述目标云化数据库通过专线与各同城云化数据库进行通信,以使所述各同城云化数据库实时同步所述目标云化数据库中的如下所示的至少一项:
    业务数据、扩容操作以及缩容操作。
  22. 根据权利要求12至20任一项所述的装置,其特征在于,所述装置还包括:
    第二通知创建模块,用于控制与所述互联网数据中心相关联的至少一个同城互联网数据中心创建与所述目标云化数据库相同的同城云化数据库,并通知与所述互联网数据中心相关联的至少一个异城互联网数据中心创建与所述目标云化数据库相同的异城云化数据库;控制所述目标云化数据库通过第一专线与各同城云化数据库进行通信,并通过数据中心互连DCI与各异城云化数据库进行通信,以使所述各同城云化数据库和所述各异城云化数据库实时同步所述目标云化数据库中的如下所示至少一项:
    业务数据、扩容操作以及缩容操作。
  23. 一种通信系统,其特征在于,包括资源处理装置、客户端、多个互联网数据中心以及运营管理监控平台;
    所述资源处理装置通过所述运营管理监控平台与所述客户端进行数据通信;所述资源处理装置管理所述多个互联网数据中心,所述资源处理装置用于执行权利要求1至权利要求11任一项所述的方法。
  24. 一种资源处理装置,其特征在于,包括:一个或多个处理器、存储器、总线系统、以及一个或多个程序,所述处理器和所述存储器通过所述总线系统相连;
    其中所述一个或多个程序被存储在所述存储器中,所述一个或多个程序包括指令,所述指令当被所述资源处理装置执行时使所述资源处理装置执行如权利要求1至11任一项所述的方法。
  25. 一种计算机可读存储介质,存储有程序指令,其特征在于,处理器执行所存储的程序指令时执行根据权利要求1至11中任一项所述的方法。
PCT/CN2018/074340 2017-02-27 2018-01-26 一种资源处理方法、相关装置以及通信系统 WO2018153218A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710109608.1 2017-02-27
CN201710109608.1A CN106899518B (zh) 2017-02-27 2017-02-27 一种基于互联网数据中心的资源处理方法以及装置

Publications (1)

Publication Number Publication Date
WO2018153218A1 true WO2018153218A1 (zh) 2018-08-30

Family

ID=59184307

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/074340 WO2018153218A1 (zh) 2017-02-27 2018-01-26 一种资源处理方法、相关装置以及通信系统

Country Status (3)

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

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109828868A (zh) * 2019-01-04 2019-05-31 新华三技术有限公司成都分公司 数据存储方法、装置、管理设备和双活数据存储系统
CN110008000A (zh) * 2019-03-05 2019-07-12 阿里巴巴集团控股有限公司 应用集群缩容方法及装置
CN110096336A (zh) * 2019-04-29 2019-08-06 江苏满运软件科技有限公司 数据监控方法、装置、设备和介质
CN110874384A (zh) * 2018-09-03 2020-03-10 阿里巴巴集团控股有限公司 数据库集群扩缩容的方法、装置和系统
CN111221624A (zh) * 2019-12-31 2020-06-02 中国电力科学研究院有限公司 一种针对基于Docker容器技术的调控云平台的容器管理方法
CN111338755A (zh) * 2020-02-20 2020-06-26 上海仪电(集团)有限公司中央研究院 基于影子分身虚机的Linux云主机信息安全判定装置
CN111831713A (zh) * 2019-04-18 2020-10-27 阿里巴巴集团控股有限公司 一种数据处理方法、装置及设备
CN111858035A (zh) * 2020-06-29 2020-10-30 浪潮电子信息产业股份有限公司 一种fpga设备分配方法、装置、设备及存储介质
CN112351051A (zh) * 2019-08-06 2021-02-09 中兴通讯股份有限公司 云服务处理方法、装置、云服务器、系统及存储介质
CN112835527A (zh) * 2021-02-05 2021-05-25 西藏宁算科技集团有限公司 基于minio云存储的扩容方法、装置及电子设备
CN113132175A (zh) * 2019-12-31 2021-07-16 北京华为数字技术有限公司 一种网络资源调度方法以及装置
CN113472565A (zh) * 2021-06-03 2021-10-01 北京闲徕互娱网络科技有限公司 服务器功能的扩容方法、装置、设备和计算机可读介质
CN114500540A (zh) * 2022-04-14 2022-05-13 阿里巴巴(中国)有限公司 一种云数据中心的数据传输方法和装置
CN115459968A (zh) * 2022-08-25 2022-12-09 中国人民解放军国防科技大学 用于高性能计算机系统的隔离方法及高性能计算机系统
CN116389593A (zh) * 2023-04-17 2023-07-04 阿里巴巴(中国)有限公司 资源的配置方法、系统和电子设备
CN112799849B (zh) * 2021-02-18 2024-03-19 腾讯科技(深圳)有限公司 一种数据处理方法、装置、设备及存储介质

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899518B (zh) * 2017-02-27 2022-08-19 腾讯科技(深圳)有限公司 一种基于互联网数据中心的资源处理方法以及装置
CN109802985B (zh) * 2017-11-17 2021-01-29 北京金山云网络技术有限公司 数据传输方法、装置、设备及可读取存储介质
CN109840094B (zh) * 2017-11-24 2021-08-31 腾讯科技(深圳)有限公司 一种数据库的部署方法、装置及存储设备
CN108512693A (zh) * 2018-02-24 2018-09-07 国家计算机网络与信息安全管理中心 一种跨区域容灾方法和装置
CN109271235B (zh) * 2018-09-06 2023-12-19 广州力挚网络科技有限公司 一种数据库集群建立方法与装置
CN110213147B (zh) * 2019-02-22 2021-09-03 企商在线(北京)网络股份有限公司 一种云网络互通方法、装置、存储介质及终端设备
CN110209492B (zh) * 2019-03-21 2023-09-05 腾讯科技(深圳)有限公司 一种数据处理方法及装置
CN110433487B (zh) * 2019-08-08 2022-01-28 腾讯科技(深圳)有限公司 一种业务资源分配的方法及相关装置
CN112702372B (zh) * 2019-10-22 2024-04-05 中兴通讯股份有限公司 一种云服务管理方法、云服务管理装置及可读存储介质
CN113407403B (zh) * 2020-03-16 2023-04-25 顺丰科技有限公司 一种云主机管理方法、装置、计算机设备及存储介质
CN111580977B (zh) * 2020-05-12 2023-08-29 中国民航信息网络股份有限公司 一种资源调整方法及相关设备
CN114124944A (zh) * 2020-08-27 2022-03-01 阿里巴巴集团控股有限公司 混合云的数据处理方法、装置及电子设备
CN112671882B (zh) * 2020-12-18 2022-03-01 上海安畅网络科技股份有限公司 一种基于微服务的同城双活系统和方法
CN112685151B (zh) * 2020-12-24 2022-02-01 四川长虹电器股份有限公司 一种基于优化的权重模型的资源调度系统
CN112822235A (zh) * 2020-12-29 2021-05-18 乐陵欧曼电子科技有限公司 一种异构云计算系统的数据共享系统及方法
CN114070888B (zh) * 2021-11-10 2024-04-12 中国联合网络通信集团有限公司 基于云终端的业务处理方法、服务器、设备及系统
CN116610270B (zh) * 2023-07-21 2023-10-03 湖南马栏山视频先进技术研究院有限公司 一种视频处理的存算分离方法及视频存算分离系统
CN117649214B (zh) * 2024-01-30 2024-05-03 深圳市贝为科技有限公司 一种互联网运维的流程管理方法及系统

Citations (5)

* 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 (zh) * 2010-09-01 2011-01-05 华南理工大学 一种基于动态重配置虚拟资源的云计算资源调度方法
CN103235725A (zh) * 2013-05-16 2013-08-07 浪潮通信信息系统有限公司 一种基于linux的Oracle数据库在云计算中的快速部署方法
CN103516623A (zh) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 资源分配方法及系统
CN106899518A (zh) * 2017-02-27 2017-06-27 腾讯科技(深圳)有限公司 一种基于互联网数据中心的资源处理方法以及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW201327205A (zh) * 2011-12-21 2013-07-01 Inventec Corp 硬體效能的管理方法及雲端運算系統
CN103200020B (zh) * 2012-01-04 2016-06-01 中兴通讯股份有限公司 一种资源部署方法和系统
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
WO2014036717A1 (zh) * 2012-09-07 2014-03-13 运软网络科技(上海)有限公司 虚拟资源对象组件
TWI493933B (zh) * 2013-02-01 2015-07-21 Chunghwa Telecom Co Ltd The Dynamic Storage Configuration System and Method of Cloud Group Group Data Room
CN103607308B (zh) * 2013-11-29 2016-09-21 杭州东信北邮信息技术有限公司 云计算环境下的虚拟机多网络管理系统和方法
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 (zh) * 2014-03-03 2017-10-21 廣達電腦股份有限公司 虛擬機器之資源調整方法及系統
WO2015165095A1 (zh) * 2014-04-30 2015-11-05 华为技术有限公司 一种虚拟基站的创建方法及基站云设备

Patent Citations (5)

* 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 (zh) * 2010-09-01 2011-01-05 华南理工大学 一种基于动态重配置虚拟资源的云计算资源调度方法
CN103516623A (zh) * 2012-06-25 2014-01-15 中兴通讯股份有限公司 资源分配方法及系统
CN103235725A (zh) * 2013-05-16 2013-08-07 浪潮通信信息系统有限公司 一种基于linux的Oracle数据库在云计算中的快速部署方法
CN106899518A (zh) * 2017-02-27 2017-06-27 腾讯科技(深圳)有限公司 一种基于互联网数据中心的资源处理方法以及装置

Cited By (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110874384A (zh) * 2018-09-03 2020-03-10 阿里巴巴集团控股有限公司 数据库集群扩缩容的方法、装置和系统
CN110874384B (zh) * 2018-09-03 2023-05-02 阿里巴巴集团控股有限公司 数据库集群扩缩容的方法、装置和系统
CN109828868A (zh) * 2019-01-04 2019-05-31 新华三技术有限公司成都分公司 数据存储方法、装置、管理设备和双活数据存储系统
CN110008000A (zh) * 2019-03-05 2019-07-12 阿里巴巴集团控股有限公司 应用集群缩容方法及装置
CN111831713A (zh) * 2019-04-18 2020-10-27 阿里巴巴集团控股有限公司 一种数据处理方法、装置及设备
CN110096336B (zh) * 2019-04-29 2022-09-06 江苏满运软件科技有限公司 数据监控方法、装置、设备和介质
CN110096336A (zh) * 2019-04-29 2019-08-06 江苏满运软件科技有限公司 数据监控方法、装置、设备和介质
EP4013000A4 (en) * 2019-08-06 2023-09-06 ZTE Corporation CLOUD COMPUTER SERVICE PROCESSING METHOD AND DEVICE, CLOUD COMPUTER SERVER, CLOUD COMPUTER SERVICE SYSTEM AND STORAGE MEDIUM
US11888933B2 (en) 2019-08-06 2024-01-30 Xi'an Zhongxing New Software Co., Ltd. Cloud service processing method and device, cloud server, cloud service system and storage medium
CN112351051A (zh) * 2019-08-06 2021-02-09 中兴通讯股份有限公司 云服务处理方法、装置、云服务器、系统及存储介质
CN113132175A (zh) * 2019-12-31 2021-07-16 北京华为数字技术有限公司 一种网络资源调度方法以及装置
CN113132175B (zh) * 2019-12-31 2024-03-26 北京华为数字技术有限公司 一种网络资源调度方法以及装置
CN111221624A (zh) * 2019-12-31 2020-06-02 中国电力科学研究院有限公司 一种针对基于Docker容器技术的调控云平台的容器管理方法
CN111338755A (zh) * 2020-02-20 2020-06-26 上海仪电(集团)有限公司中央研究院 基于影子分身虚机的Linux云主机信息安全判定装置
CN111338755B (zh) * 2020-02-20 2024-02-23 上海仪电(集团)有限公司中央研究院 基于影子分身虚机的Linux云主机信息安全判定装置
CN111858035A (zh) * 2020-06-29 2020-10-30 浪潮电子信息产业股份有限公司 一种fpga设备分配方法、装置、设备及存储介质
CN112835527A (zh) * 2021-02-05 2021-05-25 西藏宁算科技集团有限公司 基于minio云存储的扩容方法、装置及电子设备
CN112799849B (zh) * 2021-02-18 2024-03-19 腾讯科技(深圳)有限公司 一种数据处理方法、装置、设备及存储介质
CN113472565A (zh) * 2021-06-03 2021-10-01 北京闲徕互娱网络科技有限公司 服务器功能的扩容方法、装置、设备和计算机可读介质
CN113472565B (zh) * 2021-06-03 2024-02-20 北京闲徕互娱网络科技有限公司 服务器功能的扩容方法、装置、设备和计算机可读介质
CN114500540A (zh) * 2022-04-14 2022-05-13 阿里巴巴(中国)有限公司 一种云数据中心的数据传输方法和装置
CN115459968B (zh) * 2022-08-25 2023-06-06 中国人民解放军国防科技大学 用于高性能计算机系统的隔离方法及高性能计算机系统
CN115459968A (zh) * 2022-08-25 2022-12-09 中国人民解放军国防科技大学 用于高性能计算机系统的隔离方法及高性能计算机系统
CN116389593B (zh) * 2023-04-17 2024-01-23 阿里巴巴(中国)有限公司 资源的配置方法、系统和电子设备
CN116389593A (zh) * 2023-04-17 2023-07-04 阿里巴巴(中国)有限公司 资源的配置方法、系统和电子设备

Also Published As

Publication number Publication date
TWI710915B (zh) 2020-11-21
TW201832093A (zh) 2018-09-01
CN106899518B (zh) 2022-08-19
CN106899518A (zh) 2017-06-27

Similar Documents

Publication Publication Date Title
WO2018153218A1 (zh) 一种资源处理方法、相关装置以及通信系统
US11445019B2 (en) Methods, systems, and media for providing distributed database access during a network split
US20210176513A1 (en) Storage virtual machine relocation
US11232004B2 (en) Implementing automatic switchover
US11860898B2 (en) Non-disruptive baseline and resynchronization of a synchronous replication relationship
JP6317856B2 (ja) クラスタ間冗長構成におけるスムーズな制御部交代
US9990262B2 (en) Dynamic mirroring
WO2019085875A1 (zh) 存储集群的配置修改方法、存储集群及计算机系统
US9817721B1 (en) High availability management techniques for cluster resources
US10719419B2 (en) Service processor traps for communicating storage controller failure
US20160057009A1 (en) Configuration of peered cluster storage environment organized as disaster recovery group
KR20080096547A (ko) 가상 네트워크 저장 시스템, 네트워크 저장 장치 및 가상 방법
WO2017050254A1 (zh) 热备方法、装置及系统
CN111130835A (zh) 数据中心双活系统、切换方法、装置、设备及介质
CN106874142A (zh) 一种实时数据容错处理方法及系统
CN113849136B (zh) 一种基于国产平台的自动化fc块存储处理方法和系统
CN110674539B (zh) 一种硬盘保护设备、方法及系统
JP2024504171A (ja) オペレーティングシステムベースのストレージ方法およびシステム
WO2023246241A1 (zh) 数据处理系统、数据处理方法、装置及相关设备
CN116107707A (zh) 一种数据基础引擎平台及使用方法
CN117290159A (zh) 一种数据中心双活架构的建设方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18757423

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18757423

Country of ref document: EP

Kind code of ref document: A1