US20210256600A1 - Connector leasing for long-running software operations - Google Patents

Connector leasing for long-running software operations Download PDF

Info

Publication number
US20210256600A1
US20210256600A1 US17/224,868 US202117224868A US2021256600A1 US 20210256600 A1 US20210256600 A1 US 20210256600A1 US 202117224868 A US202117224868 A US 202117224868A US 2021256600 A1 US2021256600 A1 US 2021256600A1
Authority
US
United States
Prior art keywords
connectors
connector
request
operations
maintenance operations
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US17/224,868
Inventor
Thomas Kludy
Ricardo F. Feijoo
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Citrix Systems Inc
Original Assignee
Citrix Systems Inc
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 Citrix Systems Inc filed Critical Citrix Systems Inc
Priority to US17/224,868 priority Critical patent/US20210256600A1/en
Assigned to CITRIX SYSTEMS, INC. reassignment CITRIX SYSTEMS, INC. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KLUDY, THOMAS, FEIJOO, RICARDO F.
Publication of US20210256600A1 publication Critical patent/US20210256600A1/en
Assigned to WILMINGTON TRUST, NATIONAL ASSOCIATION reassignment WILMINGTON TRUST, NATIONAL ASSOCIATION SECURITY INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: CITRIX SYSTEMS, INC.
Assigned to WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT reassignment WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT PATENT SECURITY AGREEMENT Assignors: CITRIX SYSTEMS, INC., TIBCO SOFTWARE INC.
Assigned to GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT reassignment GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT SECOND LIEN PATENT SECURITY AGREEMENT Assignors: CITRIX SYSTEMS, INC., TIBCO SOFTWARE INC.
Assigned to BANK OF AMERICA, N.A., AS COLLATERAL AGENT reassignment BANK OF AMERICA, N.A., AS COLLATERAL AGENT PATENT SECURITY AGREEMENT Assignors: CITRIX SYSTEMS, INC., TIBCO SOFTWARE INC.
Assigned to WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT reassignment WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT PATENT SECURITY AGREEMENT Assignors: CITRIX SYSTEMS, INC., CLOUD SOFTWARE GROUP, INC. (F/K/A TIBCO SOFTWARE INC.)
Assigned to CITRIX SYSTEMS, INC., CLOUD SOFTWARE GROUP, INC. (F/K/A TIBCO SOFTWARE INC.) reassignment CITRIX SYSTEMS, INC. RELEASE AND REASSIGNMENT OF SECURITY INTEREST IN PATENT (REEL/FRAME 062113/0001) Assignors: GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT
Abandoned legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0645Rental transactions; Leasing transactions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/20Administration of product repair or maintenance
    • 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/18
    • 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/52Network services specially adapted for the location of the user terminal

Definitions

  • the present disclosure relates generally to computing systems. More particularly, the present disclosure relates to implementing systems and methods which allow a long-running software operation to be scheduled for execution on a machine.
  • a customer deploys two or more connectors per resource location.
  • Each connector is a Windows®-based machine.
  • a resource location is a collection of related resources (including related machines) that a customer manages.
  • the connector allows the cloud-hosted services in Citrix® Cloud to access the resources inside of the resource location.
  • the connectors in a resource location are considered to be part of a single “availability set” (meaning, the connectors are able to provide full functionality without any outages, as long as no more than one connector in the resource location is offline at any point in time).
  • Citrix® Cloud coordinates maintenance activities across connectors in a way that ensures that any maintenance operation (defined as: any operation with a potential to cause a service disruption) happens on only a single connector at a time, and that maintenance operations do not happen on a connector while the connector is actively processing a task.
  • any maintenance operation defined as: any operation with a potential to cause a service disruption
  • Citrix Cloud has some long-running operations that occasionally need to execute on each connector. Long-running operations may take up to 2 hours to complete. The connector cannot be interrupted during these operations, or the operations will fail, causing the product itself to fail. Usually the operations need to be completely cleaned up and restarted if they are terminated prematurely.
  • Citrix Cloud needs to keep the connector up-to-date by distributing security patches and other updates in a timely manner to the connector.
  • the updates can include installing operating system updates, performing remote reboots, and other maintenance operations deemed necessary by Citrix to ensure that the connector is running in a healthy state. Maintenance operations cause the connector to shut down, terminating its ability to execute operations, and terminating any operations in progress.
  • the method involves receiving at an electronic processing circuit (e.g., a server) of a cloud-based computing system a lease request.
  • the lease request will originate from at least one of a plurality of cloud-hosted service computing systems (CSCS) and will specify at least one suitable connector of a plurality of remote computing machines comprising connectors in an availability set at a computing resources location.
  • the plurality of connectors facilitate for the plurality of CSCS access to resources within the computing resources location.
  • the server determines whether at least one of the connectors has pending maintenance operations.
  • the pending maintenance operations can include various activities such as those involving security patches, installation of operating system updates, and/or performance of a remotely initiated reboot.
  • the server will selectively grant the lease request by generating at least one electronic message directed to the CSCS which originated the lease request.
  • the lease request in some scenarios can specify a single suitable connector.
  • the method can involve operating the server so as to deny the lease request if the suitable connector has pending maintenance operations, or any connector in the computing resources location is currently in a maintenance mode.
  • the lease request in some scenarios will specify a plurality of suitable connectors.
  • the server can determine whether all of the plurality of suitable connectors have at least one pending maintenance operation. If all of the plurality of suitable connectors have at least one pending maintenance operation, then the server can identify at least one of the plurality of suitable connectors with a longest remaining lease time. Thereafter, the server can grant the lease request with respect to the at least one of the plurality of suitable connectors which has the longest remaining lease time.
  • the server can identify at least one of the plurality of suitable connectors with a shortest remaining lease time. Thereafter, the server can grant the lease request with respect to the at least one of the plurality of suitable connectors which has the shortest remaining lease time.
  • a lease request as described herein will specify at least one lease term indicating a duration of time during which the at least one CSCS seeks to utilize the at least one suitable connector. Further, if the lease request is granted, the server will update a connector lease end time data (e.g., based in part on the lease term information).
  • this disclosure concerns a cloud-based computing system.
  • the cloud based computing system comprises various elements including a computer processor (e.g. a computer server) which can include a non-transitory computer-readable storage medium.
  • the non-transitory computer readable storage medium comprises programming instructions. These instructions are configured to cause the computer processor to implement a method for preventing service disruptions in the cloud-based computing system as described above.
  • a computer server can parse a lease request originating from at least one of a plurality of cloud-hosted service computing systems (CSCS).
  • the lease request will specify at least one suitable connector of a plurality of remote computing machines comprising connectors which exist in an availability set at a computing resources location.
  • the server is configured to determine whether at least one of the connectors has pending maintenance operations. Based at least in part on the determining operation, the server will selectively grant the lease request by generating at least one electronic message directed to the CSCS which originated the lease request.
  • FIG. 1 is an illustration of an exemplary system.
  • FIG. 2 is an illustration of an exemplary architecture for a computing device.
  • FIGS. 3A-3D (collectively referred to herein as “ FIG. 3 ”) is a flow diagram of an exemplary method for leasing connectors to facilitate long-running software operations.
  • the solution disclosed herein provides a way to allow a long-running operation to be scheduled for execution on a machine, ensuring the machine will not enter a maintenance window during the operation, while also ensuring that long-running operations will not starve the ability of the machine to enter a maintenance window in a reasonable amount of time.
  • the solution offers several advantages. For example, it allows maintenance operations to be stalled on an instance during long-running operations. It also allows long-running operations to be scheduled across instances in a fair, load-balanced manner. A further advantage is that if facilitates scheduled maintenance operations with minimal delay even in presence of frequent, and overlapped, long-running operations.
  • System 100 is configured to use a maintenance service 114 hosted by a cloud-based computing system 110 to facilitate the coordination of certain maintenance services.
  • the maintenance service 114 can coordinate the application of software (e.g., Operating System (OS)) updates so that only a single connector 104 1 , . . . , 104 M in an availability set 112 will receive updates at the same time.
  • OS Operating System
  • updates are coordinated across independent connectors 104 1 , . . . , 104 M that act as part of an availability set 112 .
  • the maintenance services required for each connector can be stored in a list of messages 120 which are stored in a memory location. In order to initiate the specified maintenance services, these messages can be communicated to each of the connectors at the appropriate time using messaging Application Programming Interface (API) 118 . APIs are well known in the art, and therefore will not be described herein.
  • each connector 104 1 , . . . , 104 M is a Windows®-based machine (e.g., a server).
  • Each connector 104 1 , . . . , 104 M is installed to facilitate the administration and control of resource locations from the cloud-based computing system 110 .
  • each connector 104 1 , . . . , 104 M serves as a channel for communication between the cloud-based computing system 110 and the resource location 106 enabling cloud management without requiring complex networking or infrastructure configurations.
  • each connector 104 1 , . . . , 104 M authenticates and encrypts all communication between the cloud-based computing system 110 and the resource location 106 .
  • each connector 104 1 , . . . , 104 M performs functions to enable: Active Directory (“AD”) management; publishing from resources in the resource location 106 ; application and device management; user group management; and machine provisioning to the resource location 106 .
  • AD Active Directory
  • M connectors are deployed for a resource location 106 .
  • M is an integer value equal to or greater than two (2), i.e., two (2) or more connectors are deployed per resource location 106 .
  • Two or more connectors are employed to provide relatively high availability and relatively high throughput. It will be appreciated that a single connector cannot provide this capability. For example, if there is only one connector and it goes offline, then the connectivity with the cloud-based computing system 110 would be lost and the service would cease functioning.
  • the resource location 106 comprises a collection of resources that the customer (or company) manages.
  • the resources can include, but are not limited to, computing device(s) 102 and/or an AD 116 .
  • Computing devices and ADs are well known in the art, and therefore will not be described herein. Any known or to be known computing device and/or AD can be used herein without limitation.
  • the computing device 102 includes, but is not limited to, a desktop computer, a personal computer, a personal digital assistant, a laptop computer, and/or a smart phone.
  • the AD 116 includes, but is not limited to, a single-tenant AD (such as Microsoft® AD).
  • the AD 116 provides identifying information for a customer's employees. The identifying information can include, but is not limited to, Security Identifiers (“SIDs”).
  • SIDs Security Identifiers
  • a cloud-hosted maintenance service 114 (e.g., a Citrix Cloud service) 110 schedules maintenance operations across connectors 104 1 , . . . , 104 M .
  • the scheduling is performed in a way such that the maintenance operations occur in, at most, one machine at a time.
  • the maintenance services are scheduled through the cloud-hosted maintenance service 114 rather than via the control of the OS (as is done in conventional systems).
  • Information concerning the status of such maintenance services in progress at each connector 104 1 , . . . , 104 M can be communicated to the cloud-hosted maintenance service 114 by messages generated by each of the connectors.
  • a connectors 104 1 , . . . , 104 M can communicate to the cloud-based maintenance service 114 when a maintenance operation is about to begin.
  • the connector can also communicate to the cloud-based maintenance service 114 when such maintenance operations are completed.
  • the handling of such messaging at the cloud-based maintenance service 114 is facilitated by messaging API 118 .
  • Information concerning the status of such maintenance activities can be parsed by the cloud-based messaging service 114 and then stored in a data store 121 which is accessible to the cloud-based maintenance service 114 .
  • a plurality of Cloud Service Computing Systems (CSCS) 122 1 , . . . 122 N can require access to the computing resources which are provided at resource location 106 , where N is an integer value equal to or greater than two (2).
  • one or more of the plurality of CSCS 122 1 , . . . 122 N can comprise part of a Citrix® Cloud service which require access to the computing resources which are provided at resource location 106 .
  • the access required by each of the two (2) or more CSCS can potentially involve some long-running operations that need to execute on each connector 104 1 , . . . , 104 M . These long-running operations may take up to 2 hours to complete.
  • the connector 104 1 , . . . , 104 M not be interrupted during these long-running operations, or such operations will fail, causing the cloud-hosted product itself to fail.
  • the types of long-running operations described herein need to be completely cleaned up and restarted if they are terminated prematurely.
  • maintenance operations initiated by a cloud-hosted maintenance service 114 can cause the connector to shut down. Accordingly, the initiation of such maintenance services can terminate the ability of the connector 104 1 , . . . , 104 M to execute the various types of long-running operations which may be requested by a CSCS 122 1 , . . . 122 N , including any such long-running operations which may be already in progress.
  • a cloud-hosted maintenance service 114 can perform certain connector control operations as described herein.
  • FIG. 2 there is provided an illustration of an exemplary computing device 200 hosting a maintenance service (e.g., maintenance service 114 of FIG. 1 ).
  • the computing device 200 is part of a cloud-based computing system (e.g., cloud-based computing system 110 of FIG. 1 ).
  • the cloud-based computing system can include a plurality of servers arranged in a distributed fashion. Each server is the same as or substantially similar to computing device 200 .
  • the connectors 104 1 , . . . , 104 M of FIG. 1 can have the same or similar architecture as that shown in FIG. 2 .
  • the description of FIG. 2 is also suitable for understanding the hardware and/or software architectures of the connectors of FIG. 1 .
  • the connectors 104 1 , . . . , 104 M of FIG. 1 can include, but are not limited to, machines (or computing devices) running a Windows OS (e.g., a personal computer or server).
  • Such machines (or computing devices) are well known in the art, and will not be described in detail herein.
  • Such machines are well known in the art, and will not be described in detail herein.
  • Such modifications can include software modifications, hardware modification or a combination of both.
  • Computing device 200 may include more or less components than those shown in FIG. 2 . However, the components shown are sufficient to disclose an illustrative embodiment implementing the present solution.
  • the hardware architecture of FIG. 2 represents one embodiment of a representative computing device configured to enable the prevention of service disruptions during operating system updates as described herein. As such, the computing device 200 of FIG. 2 implements at least a portion of the method(s) described herein.
  • the hardware includes, but is not limited to, one or more electronic circuits.
  • the electronic circuits can include, but are not limited to, passive components (e.g., resistors and capacitors) and/or active components (e.g., amplifiers and/or microprocessors).
  • the passive and/or active components can be adapted to, arranged to and/or programmed to perform one or more of the methodologies, procedures, or functions described herein.
  • the computing device 200 comprises a user interface 202 , a Central Processing Unit (“CPU”) 206 , a system bus 210 , a memory 212 connected to and accessible by other portions of computing device 200 through system bus 210 , and hardware entities 214 connected to system bus 210 .
  • the user interface can include input devices and output devices, which facilitate user-software interactions for controlling operations of the computing device 200 .
  • the input devices include, but are not limited, a physical and/or touch keyboard 250 .
  • the input devices can be connected to the computing device 200 via a wired or wireless connection (e.g., a Bluetooth® connection).
  • the output devices include, but are not limited to, a speaker 252 , a display 254 , and/or light emitting diodes 256 .
  • Hardware entities 214 perform actions involving access to and use of memory 212 , which can be a Radom Access Memory (“RAM”), a disk driver and/or a Compact Disc Read Only Memory (“CD-ROM”).
  • Hardware entities 214 can include a disk drive unit 216 comprising a computer-readable storage medium 218 on which is stored one or more sets of instructions 220 (e.g., software code) configured to implement one or more of the methodologies, procedures, or functions described herein.
  • the instructions 220 can also reside, completely or at least partially, within the memory 212 and/or within the CPU 206 during execution thereof by the computing device 200 .
  • the memory 212 and the CPU 206 also can constitute machine-readable media.
  • machine-readable media refers to a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions 220 .
  • machine-readable media also refers to any medium that is capable of storing, encoding or carrying a set of instructions 220 for execution by the computing device 200 and that cause the computing device 200 to perform any one or more of the methodologies of the present disclosure.
  • the hardware entities 214 include an electronic circuit (e.g., a processor) programmed for facilitating the prevention of service disruptions during operating system updates.
  • the electronic circuit can access and run application(s) 224 installed on the computing device 200 .
  • the functions of the software application(s) 224 are apparent from the following discussion of the present solution.
  • the software application is configured to perform one or more of the operations described below in relation to FIG. 3 .
  • a lease request with respect to a connector should be understood as a negotiated agreement between the cloud-based maintenance service 114 and a CSCS 122 1 , . . . 122 N to make available a requested connector, based on certain lease terms presented by the CSCS.
  • lease request will specify one or more such connectors which are deemed suitable for carrying out the required computing operations, and an availability period during which the CSCS is requesting that such hardware and software resources are made available.
  • a process for connector leasing can be begin at 302 and continue at 304 where the cloud-hosted maintenance service 114 will receive the lease request 124 from a CSCS 122 1 , . . . 122 N .
  • the handling of the lease request messaging is facilitated at maintenance service 114 by messaging API 118 .
  • the lease request will specify certain request information (i.e., lease terms), such as the identity of one or more connectors 104 1 , . . . , 104 M that are suitable for performing the computing operation.
  • the lease request 124 will also advantageously specify an estimated duration of time which is necessary for completion of the long-running operation (i.e., a requested duration of the lease).
  • the CSCS 122 1 , . . . 122 N can ask for any period of time from 5 minutes up to 2 hours.
  • the maintenance service 114 will parse the lease request 124 to extract the request information contained therein. Such information can then be stored in a memory location (e.g., data store 121 ) associated with the maintenance service 114 .
  • the cloud-hosted maintenance service 114 will examine the list of connectors 104 1 , . . . , 104 M which are specified in the request as suitable. Thereafter, at 306 the maintenance service 114 will determine which one(s) of such suitable connectors have pending maintenance operations. In some scenarios, this process can involve examination of the list of maintenance messages which are stored in the list of messages 120 . In other scenarios, a list of pending maintenance operations can be stored as part of a databases contained in data store 121 . Examples of such maintenance operations as described herein can include security patches, installation of operating system updates, performance of remotely initiated reboots, and/or other maintenance operations deemed necessary by the cloud services provider to ensure that the connector is running in a healthy state.
  • the process continues to 308 where a determination is made as to whether only a single suitable connector has been identified in the lease request. If so ( 308 : Yes), the process continues to 312 .
  • the cloud-hosted maintenance service 114 will examine the status of connectors which were not identified as being suitable, and will determine whether any are currently involved with performing software maintenance operations.
  • the lease request from the CSCS is denied at 315 . More particularly, the denial of such lease request can be facilitated by using the messaging API 118 to communicate a message to the CSCS 122 1 , . . . 122 N from which the lease request originated.
  • the effect of the process described in 312 - 316 is that a caller cannot continuously lease a connector 104 1 , . . . , 104 M while maintenance operations need to be performed.
  • the process will continue on to 316 where the lease request is granted. More particularly, at 316 the cloud-hosted maintenance service 114 will grant the lease request to the CSCS 122 1 , . . . 122 N from which the lease request originated. Granting of such lease request will include sending a message to the CSCS 122 1 , . . . 122 N from which the lease request 124 originated.
  • the connector lease end-time data is updated in the cloud hosted maintenance service at 318 .
  • Such lease end-time data can be stored in data store in 121 .
  • the connector 104 1 , . . . , 104 M which was leased is returned to the CSCS 122 1 , . . . 122 N so that the connector can carry out the requested operations.
  • the CSCS which initiated the lease request can then be assured that no maintenance operations will execute on the connector during the lease period. Consequently, it is ensured that the connector will be allowed to complete the long-running operations without interruption.
  • a CSCS 122 1 , . . . 122 N which will specify more than one suitable connector for carrying out the requested long-running operations ( 308 : No).
  • the process will continue to 310 where a determination is made as to whether all of the suitable connector have pending maintenance operations. If so, the process continues to step 330 in FIG. 3C , where the maintenance server 114 will identify (from among the list of suitable connectors specified in the lease request), at least one connector with a longest remaining lease time.
  • a determination is made as to whether there is more than one connector with the longest remaining lease time (e.g., two connectors which have the same longest lease time so as to create a tie).
  • maintenance server 114 will randomly select at 334 one connector for the lease assignment (from among the suitable connectors) having the longest remaining lease times. Otherwise ( 332 : No), the connector with the longest remaining lease time is simply selected for lease assignment at 336 .
  • the maintenance server will actually grant the lease request for the selected connector at 338 . Granting the lease request can involve messaging the CSCS that initiated the lease request with information specifying that the requested lease has been granted. Such messaging operations can be facilitated by means of messaging API 118 .
  • the maintenance server 114 will update the lease end-time for the leased connector.
  • the lease end-time information can be stored in a data store (e.g. data store 121 ). For example, assume that a connector currently has twenty minutes of lease time remaining from a previously lease request so that its lease end time is 9:00 A.M. If the new lease request which has been granted seeks a lease time of 30 minutes, then the updated lease-end time for that particular connector will be 9:30 A.M.
  • the effect of the process in FIG. 3C is that, during the time period when all connectors 104 1 , . . . , 104 M are awaiting maintenance, all lease requests will be granted with respect to a single connector. This allows the long-running operations to complete on all other connectors in the minimum amount of time.
  • the process continues on to 350 in FIG. 3D .
  • the maintenance server 114 will identify (from list of suitable connectors specified in the lease request) at least one connector with shortest remaining lease time.
  • a determination is made as to whether there is more than one connector with the shortest remaining lease time (e.g., two connectors which have the same shortest remaining lease time so as to create a tie). If so ( 352 : Yes), then maintenance server 114 will randomly select at 354 one connector for the lease assignment from among the suitable connectors having the shortest remaining lease times. Otherwise ( 352 : No), the connector with the shortest remaining lease time is simply selected for lease assignment at 356 .
  • the maintenance server 114 will grant the lease request for the selected connector at 358 . After a connector lease has been granted (or concurrently therewith) the maintenance server 114 will update the lease end-time for the leased connector.
  • the effect of the process steps described in FIG. 3D is that the lease requests directed to any of connectors 104 1 , . . . , 104 M will be automatically load balanced by the maintenance server 114 between and among such connectors. Each time a connector lease is granted on a specific connector, that same connector is much less likely (due to its updated lease end date) to be chosen for the next lease request.
  • the solution presented herein provides a way to allow a long-running operation to be scheduled for execution on a machine, ensuring the machine will not enter a maintenance window during the operation, while also ensuring that long-running operations will not starve the ability of the machine to enter a maintenance window in a reasonable amount of time.

Abstract

Preventing certain types of service disruptions in a computing system involves receiving a lease request at a server of a cloud-based computing system, where the lease request originates from one of a plurality of cloud-hosted service computing systems (CSCS). The lease request will specify at least one suitable connector of a plurality of remote computing machines, where such connectors comprise an availability set at a computing resources location. In response to receiving the request, the server determines whether at least one of the connectors has pending maintenance operations. Based on such determination, the server will selectively grant the lease request by generating at least one electronic message directed to the CSCS which originated the lease request.

Description

    CROSS REFERENCE TO RELATED APPLICATIONS
  • The present application is a continuation of U.S. patent application Ser. No. 15/663,186 filed Jul. 28, 2017. The entirety of this application is incorporated herein by reference.
  • BACKGROUND Statement of the Technical Field
  • The present disclosure relates generally to computing systems. More particularly, the present disclosure relates to implementing systems and methods which allow a long-running software operation to be scheduled for execution on a machine.
  • Description of the Related Art
  • As part of Citrix® Cloud, a customer deploys two or more connectors per resource location. Each connector is a Windows®-based machine. A resource location is a collection of related resources (including related machines) that a customer manages. The connector allows the cloud-hosted services in Citrix® Cloud to access the resources inside of the resource location. The connectors in a resource location are considered to be part of a single “availability set” (meaning, the connectors are able to provide full functionality without any outages, as long as no more than one connector in the resource location is offline at any point in time).
  • Citrix® Cloud coordinates maintenance activities across connectors in a way that ensures that any maintenance operation (defined as: any operation with a potential to cause a service disruption) happens on only a single connector at a time, and that maintenance operations do not happen on a connector while the connector is actively processing a task.
  • Citrix Cloud has some long-running operations that occasionally need to execute on each connector. Long-running operations may take up to 2 hours to complete. The connector cannot be interrupted during these operations, or the operations will fail, causing the product itself to fail. Usually the operations need to be completely cleaned up and restarted if they are terminated prematurely.
  • Also, as part of best practices of running a machine (any kind of machine), it is necessary to keep the machine patched and up to date with the latest software. Accordingly, Citrix Cloud needs to keep the connector up-to-date by distributing security patches and other updates in a timely manner to the connector. The updates can include installing operating system updates, performing remote reboots, and other maintenance operations deemed necessary by Citrix to ensure that the connector is running in a healthy state. Maintenance operations cause the connector to shut down, terminating its ability to execute operations, and terminating any operations in progress.
  • SUMMARY
  • Implementing systems and methods are described herein for preventing certain types of service disruptions in a computing system. The method involves receiving at an electronic processing circuit (e.g., a server) of a cloud-based computing system a lease request. The lease request will originate from at least one of a plurality of cloud-hosted service computing systems (CSCS) and will specify at least one suitable connector of a plurality of remote computing machines comprising connectors in an availability set at a computing resources location. The plurality of connectors facilitate for the plurality of CSCS access to resources within the computing resources location. In response to receiving the request, the server determines whether at least one of the connectors has pending maintenance operations. The pending maintenance operations can include various activities such as those involving security patches, installation of operating system updates, and/or performance of a remotely initiated reboot. Based at least in part on the determination as to whether at least one connector has a pending maintenance operation, the server will selectively grant the lease request by generating at least one electronic message directed to the CSCS which originated the lease request.
  • The lease request in some scenarios can specify a single suitable connector. In such a scenario, the method can involve operating the server so as to deny the lease request if the suitable connector has pending maintenance operations, or any connector in the computing resources location is currently in a maintenance mode.
  • The lease request in some scenarios will specify a plurality of suitable connectors. In that scenario, the server can determine whether all of the plurality of suitable connectors have at least one pending maintenance operation. If all of the plurality of suitable connectors have at least one pending maintenance operation, then the server can identify at least one of the plurality of suitable connectors with a longest remaining lease time. Thereafter, the server can grant the lease request with respect to the at least one of the plurality of suitable connectors which has the longest remaining lease time.
  • Alternatively, if at least one of the plurality of suitable connector does not have at least one pending maintenance operation, then the server can identify at least one of the plurality of suitable connectors with a shortest remaining lease time. Thereafter, the server can grant the lease request with respect to the at least one of the plurality of suitable connectors which has the shortest remaining lease time.
  • A lease request as described herein will specify at least one lease term indicating a duration of time during which the at least one CSCS seeks to utilize the at least one suitable connector. Further, if the lease request is granted, the server will update a connector lease end time data (e.g., based in part on the lease term information).
  • According to another aspect, this disclosure concerns a cloud-based computing system. The cloud based computing system comprises various elements including a computer processor (e.g. a computer server) which can include a non-transitory computer-readable storage medium. The non-transitory computer readable storage medium comprises programming instructions. These instructions are configured to cause the computer processor to implement a method for preventing service disruptions in the cloud-based computing system as described above. For example, a computer server can parse a lease request originating from at least one of a plurality of cloud-hosted service computing systems (CSCS). The lease request will specify at least one suitable connector of a plurality of remote computing machines comprising connectors which exist in an availability set at a computing resources location. The server is configured to determine whether at least one of the connectors has pending maintenance operations. Based at least in part on the determining operation, the server will selectively grant the lease request by generating at least one electronic message directed to the CSCS which originated the lease request.
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • Embodiments will be described with reference to the following drawing figures, in which like numerals represent like items throughout the figures.
  • FIG. 1 is an illustration of an exemplary system.
  • FIG. 2 is an illustration of an exemplary architecture for a computing device.
  • FIGS. 3A-3D (collectively referred to herein as “FIG. 3”) is a flow diagram of an exemplary method for leasing connectors to facilitate long-running software operations.
  • DETAILED DESCRIPTION
  • It will be readily understood that the components of the embodiments as generally described herein and illustrated in the appended figures could be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of various embodiments, as represented in the figures, is not intended to limit the scope of the present disclosure, but is merely representative of various embodiments. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
  • The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by this detailed description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
  • Reference throughout this specification to features, advantages, or similar language does not imply that all of the features and advantages that may be realized with the present invention should be or are in any single embodiment of the invention. Rather, language referring to the features and advantages is understood to mean that a specific feature, advantage, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Thus, discussions of the features and advantages, and similar language, throughout the specification may, but do not necessarily, refer to the same embodiment.
  • Furthermore, the described features, advantages and characteristics of the invention may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, in light of the description herein, that the invention can be practiced without one or more of the specific features or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments of the invention.
  • Reference throughout this specification to “one embodiment”, “an embodiment”, or similar language means that a particular feature, structure, or characteristic described in connection with the indicated embodiment is included in at least one embodiment of the present invention. Thus, the phrases “in one embodiment”, “in an embodiment”, and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
  • As used in this document, the singular form “a”, “an”, and “the” include plural references unless the context clearly dictates otherwise. Unless defined otherwise, all technical and scientific terms used herein have the same meanings as commonly understood by one of ordinary skill in the art. As used in this document, the term “comprising” means “including, but not limited to”.
  • The solution disclosed herein provides a way to allow a long-running operation to be scheduled for execution on a machine, ensuring the machine will not enter a maintenance window during the operation, while also ensuring that long-running operations will not starve the ability of the machine to enter a maintenance window in a reasonable amount of time. The solution offers several advantages. For example, it allows maintenance operations to be stalled on an instance during long-running operations. It also allows long-running operations to be scheduled across instances in a fair, load-balanced manner. A further advantage is that if facilitates scheduled maintenance operations with minimal delay even in presence of frequent, and overlapped, long-running operations.
  • Referring now to FIG. 1, there is provided an illustration of an exemplary system 100. System 100 is configured to use a maintenance service 114 hosted by a cloud-based computing system 110 to facilitate the coordination of certain maintenance services. For example, the maintenance service 114 can coordinate the application of software (e.g., Operating System (OS)) updates so that only a single connector 104 1, . . . , 104 M in an availability set 112 will receive updates at the same time. In this way, updates (and corresponding temporary outages) are coordinated across independent connectors 104 1, . . . , 104 M that act as part of an availability set 112. No two (2) connectors 104 1, . . . , 104 M in the availability set 112 apply updates at the same time. The maintenance services required for each connector can be stored in a list of messages 120 which are stored in a memory location. In order to initiate the specified maintenance services, these messages can be communicated to each of the connectors at the appropriate time using messaging Application Programming Interface (API) 118. APIs are well known in the art, and therefore will not be described herein.
  • Connectors are well known in the art, and therefore will not be described in detail herein. However, it will be appreciated that in some scenarios, each connector 104 1, . . . , 104 M is a Windows®-based machine (e.g., a server). Each connector 104 1, . . . , 104 M is installed to facilitate the administration and control of resource locations from the cloud-based computing system 110. Accordingly, each connector 104 1, . . . , 104 M serves as a channel for communication between the cloud-based computing system 110 and the resource location 106 enabling cloud management without requiring complex networking or infrastructure configurations. Each connector 104 1, . . . , 104 M authenticates and encrypts all communication between the cloud-based computing system 110 and the resource location 106. During operations, each connector 104 1, . . . , 104 M performs functions to enable: Active Directory (“AD”) management; publishing from resources in the resource location 106; application and device management; user group management; and machine provisioning to the resource location 106.
  • As shown in FIG. 1, M connectors are deployed for a resource location 106. M is an integer value equal to or greater than two (2), i.e., two (2) or more connectors are deployed per resource location 106. Two or more connectors are employed to provide relatively high availability and relatively high throughput. It will be appreciated that a single connector cannot provide this capability. For example, if there is only one connector and it goes offline, then the connectivity with the cloud-based computing system 110 would be lost and the service would cease functioning.
  • The resource location 106 comprises a collection of resources that the customer (or company) manages. The resources can include, but are not limited to, computing device(s) 102 and/or an AD 116. Computing devices and ADs are well known in the art, and therefore will not be described herein. Any known or to be known computing device and/or AD can be used herein without limitation. For example, the computing device 102 includes, but is not limited to, a desktop computer, a personal computer, a personal digital assistant, a laptop computer, and/or a smart phone. The AD 116 includes, but is not limited to, a single-tenant AD (such as Microsoft® AD). The AD 116 provides identifying information for a customer's employees. The identifying information can include, but is not limited to, Security Identifiers (“SIDs”).
  • A cloud-hosted maintenance service 114 (e.g., a Citrix Cloud service) 110 schedules maintenance operations across connectors 104 1, . . . , 104 M. The scheduling is performed in a way such that the maintenance operations occur in, at most, one machine at a time. The maintenance services are scheduled through the cloud-hosted maintenance service 114 rather than via the control of the OS (as is done in conventional systems).
  • Information concerning the status of such maintenance services in progress at each connector 104 1, . . . , 104 M can be communicated to the cloud-hosted maintenance service 114 by messages generated by each of the connectors. For example, a connectors 104 1, . . . , 104 M can communicate to the cloud-based maintenance service 114 when a maintenance operation is about to begin. The connector can also communicate to the cloud-based maintenance service 114 when such maintenance operations are completed. The handling of such messaging at the cloud-based maintenance service 114 is facilitated by messaging API 118. Information concerning the status of such maintenance activities can be parsed by the cloud-based messaging service 114 and then stored in a data store 121 which is accessible to the cloud-based maintenance service 114.
  • A plurality of Cloud Service Computing Systems (CSCS) 122 1, . . . 122 N can require access to the computing resources which are provided at resource location 106, where N is an integer value equal to or greater than two (2). For example, in some scenarios, one or more of the plurality of CSCS 122 1, . . . 122 N can comprise part of a Citrix® Cloud service which require access to the computing resources which are provided at resource location 106. In such a system the access required by each of the two (2) or more CSCS can potentially involve some long-running operations that need to execute on each connector 104 1, . . . , 104 M. These long-running operations may take up to 2 hours to complete.
  • It is important that the connector 104 1, . . . , 104 M not be interrupted during these long-running operations, or such operations will fail, causing the cloud-hosted product itself to fail. Usually the types of long-running operations described herein need to be completely cleaned up and restarted if they are terminated prematurely. Notably, maintenance operations initiated by a cloud-hosted maintenance service 114 can cause the connector to shut down. Accordingly, the initiation of such maintenance services can terminate the ability of the connector 104 1, . . . , 104 M to execute the various types of long-running operations which may be requested by a CSCS 122 1, . . . 122 N, including any such long-running operations which may be already in progress. To avoid these and other problems, a cloud-hosted maintenance service 114 can perform certain connector control operations as described herein.
  • Referring now to FIG. 2, there is provided an illustration of an exemplary computing device 200 hosting a maintenance service (e.g., maintenance service 114 of FIG. 1). In this regard, the computing device 200 is part of a cloud-based computing system (e.g., cloud-based computing system 110 of FIG. 1). The cloud-based computing system can include a plurality of servers arranged in a distributed fashion. Each server is the same as or substantially similar to computing device 200.
  • Notably, the connectors 104 1, . . . , 104 M of FIG. 1 can have the same or similar architecture as that shown in FIG. 2. As such, the description of FIG. 2 is also suitable for understanding the hardware and/or software architectures of the connectors of FIG. 1. As noted above, the connectors 104 1, . . . , 104 M of FIG. 1 can include, but are not limited to, machines (or computing devices) running a Windows OS (e.g., a personal computer or server). Such machines (or computing devices) are well known in the art, and will not be described in detail herein. Still, it should be understood that such machines are modified to implement all or a portion of the methods described herein. Such modifications can include software modifications, hardware modification or a combination of both.
  • Computing device 200 may include more or less components than those shown in FIG. 2. However, the components shown are sufficient to disclose an illustrative embodiment implementing the present solution. The hardware architecture of FIG. 2 represents one embodiment of a representative computing device configured to enable the prevention of service disruptions during operating system updates as described herein. As such, the computing device 200 of FIG. 2 implements at least a portion of the method(s) described herein.
  • Some or all the components of the computing device 200 can be implemented as hardware, software and/or a combination of hardware and software. The hardware includes, but is not limited to, one or more electronic circuits. The electronic circuits can include, but are not limited to, passive components (e.g., resistors and capacitors) and/or active components (e.g., amplifiers and/or microprocessors). The passive and/or active components can be adapted to, arranged to and/or programmed to perform one or more of the methodologies, procedures, or functions described herein.
  • As shown in FIG. 2, the computing device 200 comprises a user interface 202, a Central Processing Unit (“CPU”) 206, a system bus 210, a memory 212 connected to and accessible by other portions of computing device 200 through system bus 210, and hardware entities 214 connected to system bus 210. The user interface can include input devices and output devices, which facilitate user-software interactions for controlling operations of the computing device 200. The input devices include, but are not limited, a physical and/or touch keyboard 250. The input devices can be connected to the computing device 200 via a wired or wireless connection (e.g., a Bluetooth® connection). The output devices include, but are not limited to, a speaker 252, a display 254, and/or light emitting diodes 256.
  • At least some of the hardware entities 214 perform actions involving access to and use of memory 212, which can be a Radom Access Memory (“RAM”), a disk driver and/or a Compact Disc Read Only Memory (“CD-ROM”). Hardware entities 214 can include a disk drive unit 216 comprising a computer-readable storage medium 218 on which is stored one or more sets of instructions 220 (e.g., software code) configured to implement one or more of the methodologies, procedures, or functions described herein. The instructions 220 can also reside, completely or at least partially, within the memory 212 and/or within the CPU 206 during execution thereof by the computing device 200. The memory 212 and the CPU 206 also can constitute machine-readable media. The term “machine-readable media”, as used here, refers to a single medium or multiple media (e.g., a centralized or distributed database, and/or associated caches and servers) that store the one or more sets of instructions 220. The term “machine-readable media”, as used here, also refers to any medium that is capable of storing, encoding or carrying a set of instructions 220 for execution by the computing device 200 and that cause the computing device 200 to perform any one or more of the methodologies of the present disclosure.
  • In some scenarios, the hardware entities 214 include an electronic circuit (e.g., a processor) programmed for facilitating the prevention of service disruptions during operating system updates. In this regard, it should be understood that the electronic circuit can access and run application(s) 224 installed on the computing device 200. The functions of the software application(s) 224 are apparent from the following discussion of the present solution. For example, the software application is configured to perform one or more of the operations described below in relation to FIG. 3.
  • In a scenario in which a CSCS 122 1, . . . 122 N has a long-running operation which needs to be performed on a connector 104 1, . . . , 104 M, the CSCS 122 1, . . . 122 N will initiate a lease request 124 and communicate same to the cloud-hosted maintenance service 114. As used herein, a lease request with respect to a connector should be understood as a negotiated agreement between the cloud-based maintenance service 114 and a CSCS 122 1, . . . 122 N to make available a requested connector, based on certain lease terms presented by the CSCS. These lease terms will generally be specified as part of a lease request, which is described below in greater detail. At a minimum, the lease request will specify one or more such connectors which are deemed suitable for carrying out the required computing operations, and an availability period during which the CSCS is requesting that such hardware and software resources are made available.
  • Referring now to FIG. 3, a process for connector leasing can be begin at 302 and continue at 304 where the cloud-hosted maintenance service 114 will receive the lease request 124 from a CSCS 122 1, . . . 122 N. The handling of the lease request messaging is facilitated at maintenance service 114 by messaging API 118. According to one aspect, the lease request will specify certain request information (i.e., lease terms), such as the identity of one or more connectors 104 1, . . . , 104 M that are suitable for performing the computing operation. The lease request 124 will also advantageously specify an estimated duration of time which is necessary for completion of the long-running operation (i.e., a requested duration of the lease). For example, in the lease request 124 the CSCS 122 1, . . . 122 N can ask for any period of time from 5 minutes up to 2 hours. The maintenance service 114 will parse the lease request 124 to extract the request information contained therein. Such information can then be stored in a memory location (e.g., data store 121) associated with the maintenance service 114.
  • Once the lease request information has been extracted from the lease request message, the cloud-hosted maintenance service 114 will examine the list of connectors 104 1, . . . , 104 M which are specified in the request as suitable. Thereafter, at 306 the maintenance service 114 will determine which one(s) of such suitable connectors have pending maintenance operations. In some scenarios, this process can involve examination of the list of maintenance messages which are stored in the list of messages 120. In other scenarios, a list of pending maintenance operations can be stored as part of a databases contained in data store 121. Examples of such maintenance operations as described herein can include security patches, installation of operating system updates, performance of remotely initiated reboots, and/or other maintenance operations deemed necessary by the cloud services provider to ensure that the connector is running in a healthy state.
  • Thereafter, the process continues to 308 where a determination is made as to whether only a single suitable connector has been identified in the lease request. If so (308: Yes), the process continues to 312. At 312 a determination is made as to whether the single suitable connector which has been specified has any pending maintenance operations. If not (312: No) then the process continues on to 314 where a determination is made as to whether there is any connector 104 1, . . . , 104 M in the same resource location 106 as the single specified connector that is currently in maintenance mode. In other words, at 314 the cloud-hosted maintenance service 114 will examine the status of connectors which were not identified as being suitable, and will determine whether any are currently involved with performing software maintenance operations.
  • If the connector 104 1, . . . , 104 M specified as suitable does have pending maintenance operations (312: Yes), or if any other connector in the same resource location is currently in maintenance mode (314: Yes) then the lease request from the CSCS is denied at 315. More particularly, the denial of such lease request can be facilitated by using the messaging API 118 to communicate a message to the CSCS 122 1, . . . 122 N from which the lease request originated. The effect of the process described in 312-316 is that a caller cannot continuously lease a connector 104 1, . . . , 104 M while maintenance operations need to be performed.
  • If the connector specified as suitable does not have pending maintenance operations (312: No), and if there are no connectors in the same resource location currently in maintenance mode (314: No) then the process will continue on to 316 where the lease request is granted. More particularly, at 316 the cloud-hosted maintenance service 114 will grant the lease request to the CSCS 122 1, . . . 122 N from which the lease request originated. Granting of such lease request will include sending a message to the CSCS 122 1, . . . 122 N from which the lease request 124 originated.
  • If a lease is granted at 316, the connector lease end-time data is updated in the cloud hosted maintenance service at 318. Such lease end-time data can be stored in data store in 121. At this point in the process, the connector 104 1, . . . , 104 M which was leased is returned to the CSCS 122 1, . . . 122 N so that the connector can carry out the requested operations. The CSCS which initiated the lease request can then be assured that no maintenance operations will execute on the connector during the lease period. Consequently, it is ensured that the connector will be allowed to complete the long-running operations without interruption.
  • Referring once again to FIG. 3A, there are some lease requests from a CSCS 122 1, . . . 122 N which will specify more than one suitable connector for carrying out the requested long-running operations (308: No). In such scenarios, the process will continue to 310 where a determination is made as to whether all of the suitable connector have pending maintenance operations. If so, the process continues to step 330 in FIG. 3C, where the maintenance server 114 will identify (from among the list of suitable connectors specified in the lease request), at least one connector with a longest remaining lease time. At 332, a determination is made as to whether there is more than one connector with the longest remaining lease time (e.g., two connectors which have the same longest lease time so as to create a tie). If so (332: Yes), then maintenance server 114 will randomly select at 334 one connector for the lease assignment (from among the suitable connectors) having the longest remaining lease times. Otherwise (332: No), the connector with the longest remaining lease time is simply selected for lease assignment at 336.
  • Once a suitable connector has been selected for lease assignment at 334 or 336, the maintenance server will actually grant the lease request for the selected connector at 338. Granting the lease request can involve messaging the CSCS that initiated the lease request with information specifying that the requested lease has been granted. Such messaging operations can be facilitated by means of messaging API 118. After a connector lease has been granted (or concurrently therewith) the maintenance server 114 will update the lease end-time for the leased connector. The lease end-time information can be stored in a data store (e.g. data store 121). For example, assume that a connector currently has twenty minutes of lease time remaining from a previously lease request so that its lease end time is 9:00 A.M. If the new lease request which has been granted seeks a lease time of 30 minutes, then the updated lease-end time for that particular connector will be 9:30 A.M.
  • The effect of the process in FIG. 3C is that, during the time period when all connectors 104 1, . . . , 104 M are awaiting maintenance, all lease requests will be granted with respect to a single connector. This allows the long-running operations to complete on all other connectors in the minimum amount of time.
  • Referring once again to FIG. 3A, if all connectors 104 1, . . . , 104 M do not have at least one pending maintenance operation (310: No) then the process continues on to 350 in FIG. 3D. At 350 the maintenance server 114 will identify (from list of suitable connectors specified in the lease request) at least one connector with shortest remaining lease time. At 352, a determination is made as to whether there is more than one connector with the shortest remaining lease time (e.g., two connectors which have the same shortest remaining lease time so as to create a tie). If so (352: Yes), then maintenance server 114 will randomly select at 354 one connector for the lease assignment from among the suitable connectors having the shortest remaining lease times. Otherwise (352: No), the connector with the shortest remaining lease time is simply selected for lease assignment at 356.
  • Once a suitable connector has been selected for lease assignment at 354 or 356, the maintenance server 114 will grant the lease request for the selected connector at 358. After a connector lease has been granted (or concurrently therewith) the maintenance server 114 will update the lease end-time for the leased connector.
  • The effect of the process steps described in FIG. 3D is that the lease requests directed to any of connectors 104 1, . . . , 104 M will be automatically load balanced by the maintenance server 114 between and among such connectors. Each time a connector lease is granted on a specific connector, that same connector is much less likely (due to its updated lease end date) to be chosen for the next lease request.
  • The solution presented herein provides a way to allow a long-running operation to be scheduled for execution on a machine, ensuring the machine will not enter a maintenance window during the operation, while also ensuring that long-running operations will not starve the ability of the machine to enter a maintenance window in a reasonable amount of time.
  • Although the invention has been illustrated and described with respect to one or more implementations, equivalent alterations and modifications will occur to others skilled in the art upon the reading and understanding of this specification and the annexed drawings. In addition, while a particular feature of the invention may have been disclosed with respect to only one of several implementations, such feature may be combined with one or more other features of the other implementations as may be desired and advantageous for any given or particular application. Thus, the breadth and scope of the present invention should not be limited by any of the above described embodiments. Rather, the scope of the invention should be defined in accordance with the following claims and their equivalents.

Claims (22)

1-20. (canceled)
21. A computing device comprising:
a memory;
a network interface; and
at least one processor coupled to the memory and the network interface and configured to
receive, from a service via the network interface, a request to lease a connector suitable to execute one or more computing operations having a duration of greater than 5 minutes,
identify, from a set of connectors in a resource location, one or more connectors suitable to execute the one or more computing operations,
determine which of the one or more connectors have one or more pending maintenance operations, and
respond to the request based at least in part on which of the one or more connectors have one or more pending maintenance operations.
22. The computing device of claim 21, wherein the request specifies the duration.
23. The computing device of claim 21, wherein to respond to the request comprises to send a message to the service indicating that the request is granted or denied.
24. The computing device of claim 21, wherein the at least one processor is further configured to update a remaining lease time for the one or more connectors where the request is granted.
25. The computing device of claim 21, wherein:
the at least one processor is further configured to determine whether the one or more connectors comprise a single connector; and
to respond to the request comprises to deny the request where the one or more connectors comprise a single connector and the single connector has one or more pending maintenance operations.
26. The computing device of claim 21, wherein:
the at least one processor is further configured to
determine whether the one or more connectors comprise a single connector; and
determine whether at least one other connector of the set of connectors is in maintenance mode; and
to respond to the request comprises to deny the request where the one or more connectors comprise a single connector, the single connector has no pending maintenance operations, and the at least one other connector is in maintenance mode.
27. The computing device of claim 21, wherein:
the at least one processor is further configured to
determine whether the one or more connectors comprise a single connector; and
determine whether other connectors of the set of connectors are in maintenance mode; and
to respond to the request comprises to grant the request where the one or more connectors comprise a single connector, the single connector has no pending maintenance operations, and the other connectors are not in maintenance mode.
28. The computing device of claim 21, wherein:
the at least one processor is further configured to
determine whether the one or more connectors comprise a single connector; and
select an identified connector of the one or more connectors with a longest remaining lease time; and
to respond to the request comprises to grant the request for the identified connector where the one or more connectors comprise a plurality of connectors and each connector of the plurality of connectors has one or more pending maintenance operations.
29. The computing device of claim 21, wherein:
the at least one processor is further configured to
determine whether the one or more connectors comprise a single connector; and
select an identified connector of the one or more connectors with a shortest remaining lease time; and
to respond to the request comprises to grant the request for the identified connector where the one or more connectors comprise a plurality of connectors and at least one connector of the plurality of connectors has no pending maintenance operations.
30. A method of leasing connectors comprising:
receiving, from a service via a network interface, a request to lease a connector suitable to execute one or more computing operations having a duration of greater than 5 minutes and less than 2 hours;
identifying, from a set of connectors in a resource location, one or more connectors suitable to execute the one or more computing operations;
determining which of the one or more connectors have one or more pending maintenance operations; and
responding to the request based at least in part on which of the one or more connectors have one or more pending maintenance operations.
31. The method of claim 30, further comprising:
determining that the one or more connectors comprises a single connector; and
determining that the single connector has one or more pending maintenance operations, wherein responding to the request comprises denying the request.
32. The method of claim 30, further comprising:
determining that the one or more connectors comprises a single connector;
determining that the single connector has no pending maintenance operations; and
determining that other connectors of the set of connectors are in maintenance mode, wherein responding to the request comprises denying the request.
33. The method of claim 30, further comprising:
determining that the one or more connectors comprises a single connector;
determining that the single connector has no pending maintenance operations; and
determining that no other connectors of the set of connectors are in maintenance mode, wherein responding to the request comprises granting the request.
34. The method of claim 30, further comprising:
determining that the one or more connectors comprises a plurality of connectors;
determining that each of the plurality of connectors has one or more pending maintenance operations; and
selecting an identified connector of the one or more connectors with a longest remaining lease time, wherein responding to the request comprises granting the request for the identified connector.
35. The method of claim 30, further comprising:
determining that the one or more connectors comprises a plurality of connectors;
determining that at least one connector of the plurality of connectors has no pending maintenance operations; and
selecting an identified connector of the one or more connectors with a shortest remaining lease time, wherein responding to the request comprises granting the request for the identified connector.
36. A non-transitory computer readable medium storing processor executable instructions to lease connectors, the instructions comprising instructions to:
receive, from a service via a network interface, a request to lease a connector suitable to execute one or more computing operations having a duration of greater than 5 minutes;
identify, from a set of connectors in a resource location, one or more connectors suitable to execute the one or more computing operations;
determine which of the one or more connectors have one or more pending maintenance operations;
determine whether the one or more connectors comprise a single connector; and
respond to the request based at least in part on which of the one or more connectors have one or more pending maintenance operations and whether the one or more connectors comprise a single connector.
37. The non-transitory computer readable medium of claim 36, wherein to respond to the request comprises to deny the request where the one or more connectors comprise a single connector and the single connector has one or more pending maintenance operations.
38. The non-transitory computer readable medium of claim 36, wherein:
the instructions further comprise instructions to determine where at least one other connector of the set of connectors is in maintenance mode, and
to respond to the request comprises to deny the request where the one or more connectors comprise a single connector, the single connector has no pending maintenance operations, and the at least one other connector is in maintenance mode.
39. The non-transitory computer readable medium of claim 36, wherein:
the instructions further comprise instructions to determine where other connectors of the set of connectors are in maintenance mode, and
to respond to the request comprises to grant the request where the one or more connectors comprise a single connector, the single connector has no pending maintenance operations, and the other connectors are not in maintenance mode.
40. The non-transitory computer readable medium of claim 36, wherein:
the instructions further comprise instructions to select an identified connector of the one or more connectors with a longest remaining lease time, and
to respond to the request comprises to grant the request for the identified connector where the one or more connectors comprise a plurality of connectors and each connector of the plurality of connectors has one or more pending maintenance operations.
41. The non-transitory computer readable medium of claim 36, wherein:
the instructions further comprise instructions to select an identified connector of the one or more connectors with a shortest remaining lease time, and
to respond to the request comprises to grant the request for the identified connector where the one or more connectors comprise a plurality of connectors and at least one connector of the plurality of connectors has no pending maintenance operations.
US17/224,868 2017-07-28 2021-04-07 Connector leasing for long-running software operations Abandoned US20210256600A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/224,868 US20210256600A1 (en) 2017-07-28 2021-04-07 Connector leasing for long-running software operations

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US15/663,186 US11010823B2 (en) 2017-07-28 2017-07-28 Connector leasing for long-running software operations
US17/224,868 US20210256600A1 (en) 2017-07-28 2021-04-07 Connector leasing for long-running software operations

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US15/663,186 Continuation US11010823B2 (en) 2017-07-28 2017-07-28 Connector leasing for long-running software operations

Publications (1)

Publication Number Publication Date
US20210256600A1 true US20210256600A1 (en) 2021-08-19

Family

ID=63143287

Family Applications (2)

Application Number Title Priority Date Filing Date
US15/663,186 Active 2038-06-07 US11010823B2 (en) 2017-07-28 2017-07-28 Connector leasing for long-running software operations
US17/224,868 Abandoned US20210256600A1 (en) 2017-07-28 2021-04-07 Connector leasing for long-running software operations

Family Applications Before (1)

Application Number Title Priority Date Filing Date
US15/663,186 Active 2038-06-07 US11010823B2 (en) 2017-07-28 2017-07-28 Connector leasing for long-running software operations

Country Status (6)

Country Link
US (2) US11010823B2 (en)
EP (1) EP3659033B1 (en)
CN (1) CN110959151A (en)
AU (1) AU2018306113A1 (en)
CA (1) CA3064340A1 (en)
WO (1) WO2019021074A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10917314B1 (en) * 2018-08-08 2021-02-09 Amazon Technologies, Inc. Distributed health management using peer leases

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140108775A1 (en) * 2012-10-12 2014-04-17 Citrix Systems, Inc. Maintaining resource availability during maintenance operations
US20160036921A1 (en) * 2014-07-31 2016-02-04 Ca, Inc. Accessing enterprise communication systems from external networks
US9294558B1 (en) * 2014-03-31 2016-03-22 Amazon Technologies, Inc. Connection re-balancing in distributed storage systems
US20160105471A1 (en) * 2014-10-14 2016-04-14 Midokura Sarl System and method for distributed flow state p2p setup in virtual networks
US20170155550A1 (en) * 2015-12-01 2017-06-01 Cisco Technology, Inc. Cloud orchestrated cloud connector upgrades
US20170153885A1 (en) * 2015-12-01 2017-06-01 Cisco Technology, Inc. Zero-downtime cloud connector upgrades

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10122593B2 (en) * 2007-02-20 2018-11-06 Oracle America, Inc. Method and system for managing computing resources using an electronic leasing agent
US8606922B1 (en) * 2010-09-27 2013-12-10 Amazon Technologies, Inc. Dynamic resource zone mapping
US9460169B2 (en) * 2011-01-12 2016-10-04 International Business Machines Corporation Multi-tenant audit awareness in support of cloud environments
US8806018B2 (en) * 2011-04-01 2014-08-12 Carnegie Mellon University Dynamic capacity management of multiple parallel-connected computing resources
US9037703B1 (en) 2012-02-29 2015-05-19 Google Inc. System and methods for managing system resources on distributed servers
US9032400B1 (en) * 2012-10-25 2015-05-12 Amazon Technologies, Inc. Opportunistic initiation of potentially invasive actions
US9323939B2 (en) * 2012-12-17 2016-04-26 Ca, Inc. Multi-tenancy governance in a cloud computing environment
US8769644B1 (en) * 2013-03-15 2014-07-01 Rightscale, Inc. Systems and methods for establishing cloud-based instances with independent permissions
US9280372B2 (en) * 2013-08-12 2016-03-08 Amazon Technologies, Inc. Request processing techniques
US20150067171A1 (en) * 2013-08-30 2015-03-05 Verizon Patent And Licensing Inc. Cloud service brokering systems and methods
CN105518650A (en) * 2013-09-04 2016-04-20 慧与发展有限责任合伙企业 Selection of resource providers for multi-tenancy provision of building blocks
WO2015034484A1 (en) * 2013-09-04 2015-03-12 Hewlett-Packard Development Company, L.P. Providing recursively-generated instantiated computing resource in a multi-tenant environment
US9661064B2 (en) * 2014-01-24 2017-05-23 Ca, Inc. Systems and methods for deploying legacy software in the cloud
US9811365B2 (en) * 2014-05-09 2017-11-07 Amazon Technologies, Inc. Migration of applications between an enterprise-based network and a multi-tenant network
US20150348177A1 (en) * 2014-05-29 2015-12-03 International Business Machines Corporation Managing lease transactions in distributed systems
CN104065663A (en) * 2014-07-01 2014-09-24 复旦大学 Auto-expanding/shrinking cost-optimized content distribution service method based on hybrid cloud scheduling model
US11244261B2 (en) * 2014-11-11 2022-02-08 Amazon Technologies, Inc. Catalog service platform for deploying applications and services
US10142174B2 (en) * 2015-08-25 2018-11-27 Oracle International Corporation Service deployment infrastructure request provisioning
CN105224385A (en) * 2015-09-03 2016-01-06 成都中机盈科科技有限公司 A kind of virtualization system based on cloud computing and method
US10205677B2 (en) * 2015-11-24 2019-02-12 Cisco Technology, Inc. Cloud resource placement optimization and migration execution in federated clouds
US10007586B2 (en) * 2016-01-08 2018-06-26 Microsoft Technology Licensing, Llc Deferred server recovery in computing systems
US10678579B2 (en) * 2017-03-17 2020-06-09 Vmware, Inc. Policy based cross-cloud migration

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140108775A1 (en) * 2012-10-12 2014-04-17 Citrix Systems, Inc. Maintaining resource availability during maintenance operations
US9294558B1 (en) * 2014-03-31 2016-03-22 Amazon Technologies, Inc. Connection re-balancing in distributed storage systems
US20160036921A1 (en) * 2014-07-31 2016-02-04 Ca, Inc. Accessing enterprise communication systems from external networks
US20160105471A1 (en) * 2014-10-14 2016-04-14 Midokura Sarl System and method for distributed flow state p2p setup in virtual networks
US20170155550A1 (en) * 2015-12-01 2017-06-01 Cisco Technology, Inc. Cloud orchestrated cloud connector upgrades
US20170153885A1 (en) * 2015-12-01 2017-06-01 Cisco Technology, Inc. Zero-downtime cloud connector upgrades

Also Published As

Publication number Publication date
US11010823B2 (en) 2021-05-18
WO2019021074A1 (en) 2019-01-31
CN110959151A (en) 2020-04-03
EP3659033A1 (en) 2020-06-03
CA3064340A1 (en) 2019-01-31
US20190035012A1 (en) 2019-01-31
AU2018306113A1 (en) 2020-01-16
EP3659033B1 (en) 2023-06-07

Similar Documents

Publication Publication Date Title
CN106462467B (en) Integrated API and UI for consuming services over different distributed networks
US8271653B2 (en) Methods and systems for cloud management using multiple cloud management schemes to allow communication between independently controlled clouds
US9021005B2 (en) System and method to provide remote device management for mobile virtualized platforms
US20160021197A1 (en) Self-Extending Cloud
JPWO2017170470A1 (en) Network function virtualization management orchestration apparatus, method and program
US10649765B2 (en) Systems and methods for preventing service disruption during software updates
US20170019455A1 (en) Service onboarding
CN109828830B (en) Method and apparatus for managing containers
US20210256600A1 (en) Connector leasing for long-running software operations
CN108958933B (en) Configuration parameter updating method, device and equipment of task executor
US11575617B2 (en) Management of services in an Edge Computing system
CN113010238A (en) Permission determination method, device and system for micro application call interface
CN111770176A (en) Traffic scheduling method and device
CN106936643B (en) Equipment linkage method and terminal equipment
US10482397B2 (en) Managing identifiers
CN112953719B (en) Token authentication method and device
JP6460743B2 (en) Setting information generation system and setting information generation method
KR20150137766A (en) System and method for creating stack of virtual machine
JP2015153080A (en) Virtual machine management system, virtual machine management apparatus, virtual machine management method, and virtual machine management program
JP6243294B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, AND DATABASE ACCESS METHOD
WO2023029414A1 (en) Data analysis method and apparatus
US20230418805A1 (en) Tenantification of database management systems
CN117499489A (en) Service request distribution method, device, equipment and storage medium
WO2023250023A1 (en) Database as a service on cloud
US20180373571A1 (en) Method of allocating execution resources

Legal Events

Date Code Title Description
AS Assignment

Owner name: CITRIX SYSTEMS, INC., FLORIDA

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:KLUDY, THOMAS;FEIJOO, RICARDO F.;SIGNING DATES FROM 20170724 TO 20170726;REEL/FRAME:055860/0479

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

AS Assignment

Owner name: WILMINGTON TRUST, NATIONAL ASSOCIATION, DELAWARE

Free format text: SECURITY INTEREST;ASSIGNOR:CITRIX SYSTEMS, INC.;REEL/FRAME:062079/0001

Effective date: 20220930

AS Assignment

Owner name: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT, DELAWARE

Free format text: PATENT SECURITY AGREEMENT;ASSIGNORS:TIBCO SOFTWARE INC.;CITRIX SYSTEMS, INC.;REEL/FRAME:062113/0470

Effective date: 20220930

Owner name: GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT, NEW YORK

Free format text: SECOND LIEN PATENT SECURITY AGREEMENT;ASSIGNORS:TIBCO SOFTWARE INC.;CITRIX SYSTEMS, INC.;REEL/FRAME:062113/0001

Effective date: 20220930

Owner name: BANK OF AMERICA, N.A., AS COLLATERAL AGENT, NORTH CAROLINA

Free format text: PATENT SECURITY AGREEMENT;ASSIGNORS:TIBCO SOFTWARE INC.;CITRIX SYSTEMS, INC.;REEL/FRAME:062112/0262

Effective date: 20220930

AS Assignment

Owner name: CLOUD SOFTWARE GROUP, INC. (F/K/A TIBCO SOFTWARE INC.), FLORIDA

Free format text: RELEASE AND REASSIGNMENT OF SECURITY INTEREST IN PATENT (REEL/FRAME 062113/0001);ASSIGNOR:GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT;REEL/FRAME:063339/0525

Effective date: 20230410

Owner name: CITRIX SYSTEMS, INC., FLORIDA

Free format text: RELEASE AND REASSIGNMENT OF SECURITY INTEREST IN PATENT (REEL/FRAME 062113/0001);ASSIGNOR:GOLDMAN SACHS BANK USA, AS COLLATERAL AGENT;REEL/FRAME:063339/0525

Effective date: 20230410

Owner name: WILMINGTON TRUST, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT, DELAWARE

Free format text: PATENT SECURITY AGREEMENT;ASSIGNORS:CLOUD SOFTWARE GROUP, INC. (F/K/A TIBCO SOFTWARE INC.);CITRIX SYSTEMS, INC.;REEL/FRAME:063340/0164

Effective date: 20230410

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION