User interface-based whole-machine group agent installation with intelligent prompt

By preinstalling packages in the cloud computing virtual machine image, providing user interface control strategies, and automatically installing and updating agents, solving the user's awareness of the installation and update of agents and technical proficiency in the agents, realizing that the agents' problems occur in the problem Installed before, simplifying the management process.

CN118891609APending Publication Date: 2024-11-01GOOGLE LLC
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202380028006.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-02-16
Filing Date
2023-01-11
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

In cloud computing, users have difficulty aware of the need to install agents, and lack of understanding whether agents need to be installed or updated, especially technical proficiency is required to manage the process, and relying on third-party automation tools adds complexity and risk.

Method used

By preinstalling packages in the virtual machine image, it provides user interface-controlled policies, allowing users to enter policies to install agents, and automatically install or update agents with the processor, reducing dependence on command line tools and third-party tools.

Benefits of technology

It improves users' awareness of installation and update of agents, reduces technical proficiency requirements, ensures that agents are installed before problems occur, simplifies deployment management of the entire machine group, and reduces the risk of relying on complex tools.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118891609A_ABST
    Figure CN118891609A_ABST
Patent Text Reader

Abstract

A method for installing an agent at one or more VMs of a virtual machine (VM) fleet includes transmitting a message to a user interface according to a policy defined in a pre-installation package included in a VM image of the VM fleet, receiving a user input indicating that the agent is installed at the one or more VMs, and installing the agent at the one or more VMs based on the user input.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is a continuation of U.S. patent application No. 17 / 673,246 filed on February 16, 2022, the disclosure of which is hereby incorporated by reference herein. Background Art

[0003] In cloud computing, agents are often installed on virtual machines (VMs) to collect metrics and logs and monitor the health of the VMs and any applications running at the VMs.

[0004] Installation of the agent on the VM can be performed via a command line tool. This approach has several disadvantages. First, the user may not even be aware that the agent needs to be installed, which means that monitoring for problems often only begins after the problem begins to occur. In addition, it is not always clear to the user which VMs have the agent installed and which do not, and whether the VMs are updated to the appropriate version of the desired agent. In addition, command line tools require a level of technical proficiency that not all users have.

[0005] Building a third-party automated tool to manage agent installation and updates can solve the problem of users' lack of knowledge of whether an agent needs to be installed or updated, but requires a certain level of technical proficiency to build. In addition, using a third-party tool creates an additional layer of dependency, making the VM operate normally only when the third-party tool itself is installed correctly and up to date. Summary of the invention

[0006] The present disclosure provides a method and system for installing and updating an agent on a VM without requiring technical proficiency in command line tools, while also eliminating reliance on third-party automation tools. This is achieved using policies for controlling multiple pre-installed packages included in a VM image. The VM image can be used to create a user's VM, and can also control one or more policies for managing the installation and updating of agents on the user's VM.

[0007] One aspect of the present disclosure relates to a method for installing an intelligent agent at one or more VMs in a virtual machine (VM) cluster, the method comprising: transmitting, by one or more processors, a message to a user interface, the message requesting user input for setting a policy for installing the intelligent agent at the VM cluster; receiving, by one or more processors, user input for setting a policy for installing the intelligent agent at the VM cluster; setting, by one or more processors, a policy for installing the intelligent agent at the VM cluster based on the user input; and installing, by one or more processors, the intelligent agent at one or more VMs according to the policy.

[0008] In some examples, the message may include an indication of a plurality of VMs included in the VM image, the user input may include selecting a VM from the plurality of VMs indicated in the message, and the policy may be set based on the user input for selecting the VM.

[0009] In some examples, the selection of a VM may specify at least one of: a project, an operating system (OS), a distributed network region, or a distributed network zone at which to set the policy.

[0010] In some examples, the method may also include: detecting, by one or more processors, a user action; and transmitting, by the one or more processors, a message to a user interface in response to the user action.

[0011] In some examples, the user action may be: a user instruction to install an agent at a VM of a VM cluster; or a user instruction to create a new VM at a VM cluster.

[0012] In some examples, analyzing VM fleet data may include: determining a number of VMs at which the agent does not have an installation or is not up to date; transmitting a message to a user interface may be responsive to the determined number of VMs reaching or exceeding a threshold, and the message may include an indication of the determined number of VMs.

[0013] In some examples, transmitting messages to the user interface may be performed at regular intervals.

[0014] In some examples, installing the agent at the one or more VMs may include assigning, by the one or more processors, a tag to the one or more VMs, the tag indicating that the agent is to be installed or updated.

[0015] In some examples, installing the agent at one or more VMs can be performed asynchronously at regular intervals based on the assigned tags.

[0016] In some examples, the agent may be an operational agent configured to collect telemetry data from one or more VMs of a VM fleet.

[0017] Another aspect of the present disclosure relates to a system for installing an agent at one or more VMs in a virtual machine (VM) cluster, the system comprising one or more processors and a memory in communication with the one or more processors. The memory may contain instructions configured to cause the one or more processors to perform the following operations: transmitting a message to a user interface, the message requesting user input for setting a policy for installing an agent at a VM cluster; receiving user input for setting a policy for installing an agent at a VM cluster; setting a policy for installing an agent at a VM cluster based on the user input; and installing the agent at one or more VMs according to the policy.

[0018] In some examples, the message may include an indication of multiple VMs included in the VM image, the user input may include selecting a VM from the multiple VMs indicated in the message, and the instructions may be configured to cause one or more processors to set a policy for selecting the VM based on the user input.

[0019] In some examples, the selection of the VM specifies at least one of: a project, an operating system (OS), a distributed network region, or a distributed network zone at which to set the policy.

[0020] In some examples, the instructions may be configured to cause one or more processors to: detect a user action; and transmit a message to a user interface in response to the user action.

[0021] In some examples, the user action may be: a user instruction to install an agent at a VM of a VM cluster; or a user instruction to create a new VM at a VM cluster.

[0022] In some examples, the instructions may be configured to cause one or more processors to determine a number of VMs at which the agent is not installed or is not up to date, transmitting a message to a user interface may be responsive to the determined number of VMs reaching or exceeding a threshold, and the message may include an indication of the determined number of VMs.

[0023] In some examples, the instructions may be configured to cause the one or more processors to transmit messages to the user interface at periodic intervals.

[0024] In some examples, the instructions may be configured to cause the one or more processors to install an agent at one or more VMs using tags assigned to the one or more VMs, the assigned tags indicating installation or updating of the agent.

[0025] In some examples, the instructions may be configured to cause the one or more processors to asynchronously install the agent at the one or more VMs at regular intervals based on the assigned tags.

[0026] In some examples, the system may also include multiple VMs included in a VM farm. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 is a block diagram of an example system according to aspects of the present disclosure.

[0028] Figure 2 and Figure 3 is a flow diagram of an example routine according to aspects of the present disclosure.

[0029] Figure 4 is an illustration of an example user interface according to aspects of the present disclosure.

[0030] Figure 5 is a diagram illustrating an example asynchronous installation routine according to aspects of the present disclosure. DETAILED DESCRIPTION

[0031] Overview

[0032] The present disclosure uses an installation policy that gives instructions to a pre-installation package of a VM image to manage the installation and update of an agent on a user's VM. The policy for the pre-installation package can be controlled via a user interface (UI). The UI can first output a message to the user, and then subsequently transmit the user input received in response to the output message. For example, the message can inform the user of the importance of installing an agent for collecting metrics and logs and request user permission to install the agent on all existing VMs or all existing VMs that currently do not have an agent. In such an example, the user input can be an instruction to install the agent on the VM. In another example, the message can request user permission to create a policy for automatically adding an agent to a newly created VM in the future or automatically updating a previously added agent to the latest non-interrupting version. In such an example, the user input can be an instruction to perform automatic agent installation or update.

[0033] In some examples, the pre-installation package can be programmed to respond to user input to install the agent by immediately installing the agent. In other examples, the pre-installation package can be programmed to assign tags to those VMs where the user wishes to install the agent in response to user input. Once the tags are assigned, an auxiliary program can be used to install the agent based on the tags. For example, the auxiliary program can be run at regular intervals, such as every ten minutes, to check for and install the requested agents. The auxiliary program can install the agents simultaneously or in batches according to regular intervals.

[0034] In some examples, the initial step of outputting a message may be performed at regular intervals or in response to a user action such as creating a new VM. In other examples, the preinstallation package may also include a fleet-based rule or benchmark for determining when to perform the initial step of outputting a message. For example, a rule or benchmark may predefine a threshold number and output a message to the UI when the number of installed VMs without agents meets or exceeds the threshold number. As a further example, a rule or benchmark may predefine a threshold amount of time and output a message to the UI when the amount of time since an update to a previously installed agent was published meets or exceeds the threshold amount of time and the previously installed agent has not been updated.

[0035] By leveraging pre-installed packages in VM images, the disclosed method and system enables users to establish UI-based policies and rules for managing fleet-wide agent deployment. UI-based policies and rules simultaneously reduce the technical proficiency required for users to manage fleets while also increasing user awareness of the need to install agents before problems begin to occur. The system can also enable control of policies via application program interface APIs, command line tools, and packages from infrastructure automation providers to enable automated management of policies as a supplement or alternative to user interface control.

[0036] Example System

[0037] Figure 1 is a block diagram illustrating an example system 100 that includes a client device 110 and a cluster of virtual machines (VMs) 120 connected via a network 130 .

[0038] The client device 110 may include a processor and a memory having any one or a combination of data and instructions, whereby the processor may analyze or otherwise process the data included in the memory based on the instructions. The client device may send and receive data via the network 130. In addition, the client device 110 includes a user interface 112. The user interface 112 may be configured to communicate the received data to a user of the client device 110 and to receive user input from the user. For example, the user interface may include a screen, a speaker, a key, a button, a touch-sensitive area, a camera, a microphone or other known peripheral device for providing output to the user and receiving input from the user, or any combination of the foregoing. Although only one client device is shown, it should be understood that any number of client devices may communicate via the network 130.

[0039] The VMs 122 of the VM cluster 120 may be configured to perform one or more tasks on behalf of a client, such as a user of the client device 110. The cluster 120 may also include a manager 124, which is configured to manage the VMs 122 included in the cluster 120 based on instructions. The manager 124 may include: a memory including data and instructions, such as data about the VMs 122 and one or more routines for controlling the management of the VMs 122; and one or more processors for processing data and executing instructions included in the manager 124. The memory and processor may belong to a single hardware device or multiple devices, such as in a distributed network architecture. Management of the VMs may include creating VMs, assigning or reassigning tasks to VMs, monitoring the health of the VMs, and the like.

[0040] System 100 Figure 11 is further shown as including network storage 140 for storing information that can be utilized by client devices 110, VM clusters 120, or both. Figure 1 Although the network storage is shown as a separate block in FIG. 1 , the storage may include memory of client device 110 , memory of VM manager 122 , memory separate from both client device 110 and the VM manager, or any combination thereof.

[0041] The network storage 140 may include a VM image 142 of a VM 122 from which a VM cluster 120 may be created. The VM image 142 may include parameters and policies that specify the operation of the VM 122 created from the image. The VM image 142 may also include software or a list of software to be installed on the VM 122 created from the image. For example, the software may include one or more installation packages 144 for installing a VM agent. The VM agent may be configured to perform any one or a combination of the following: monitoring indicators of the created VM, monitoring system indicators, monitoring indicators of applications including third-party applications, or other known agent functions or operations. For example, the agent may be an observability agent for monitoring the health of the infrastructure, applications, or both. For further examples, the agent may be a security agent for monitoring the security of the infrastructure, applications, or both. In addition, the VM agent may include a daemon or other VM service that may be installed to the selected VM. The installation package 144 itself may include an installation policy 146 for controlling the installation of the agent, such as whether the agent should be installed when the VM is created from the VM image 142, or whether the user should be notified of the possibility of installing the agent. In fact, the installation package 144 itself may be an agent that is automatically installed on the VM during instantiation.

[0042] In operation, VM manager 124 may be configured to manage the installation of agents based on the instructions of installation package 144, including installation policy 146. VM manager 124 may be configured to both set installation policy 146 at selected VMs 122 of VM fleet 120 and check for compliance with installation policy 146. Checking for compliance with the installation policy itself may include both instructions for checking whether the agent is properly installed at each VM selected for installation and instructions for making any non-compliant VMs compliant. In some instances, making a VM compliant may involve recreating a VM at the same or different location, reinstalling the agent on a previously created VM, setting configuration at the VM to ensure that the agent is installed, and the like.

[0043] Example Method

[0044] Figure 2 and Figure 32 is a flowchart illustrating example routines 200, 300 for installing an agent at one or more VMs of a VM cluster. Each of the routines 200, 300 are similar in that they result in the installation of an agent at a VM cluster based on user instructions. The routines differ in that the installation strategy of each routine is triggered in a different manner. Each of the routines may be executed in a manner such as Figure 1 The system 100 is implemented in a distributed network.

[0045] exist Figure 2 In the example routine 200 of FIG. 1 , operation begins at block 210 where a user action is entered. The user action may be entered by, for example, Figure 1 . In some examples, the user action may indicate a need to install an agent at one or more VMs of a VM cluster. For example, the user action may be an instruction to create a new VM, whereby if the user is not advised to install the agent, a new VM without the agent may be created. In other examples, the user action may indicate a user's interest in installing the agent. For example, the user action may be an instruction to install the agent at a different VM of a VM cluster, thereby indicating the user's interest in installing the VM and making it a relatively good time to recommend that the user install the agent at other VMs of the cluster.

[0046] The VM manager may detect a user action at block 210. In response to detecting the user action, operations may continue at block 220, where the VM manager transmits a prompt to the user. The prompt may be a message to the user suggesting that the user needs to install an agent at one or more VMs of the fleet. The message may be provided to the user in a user interface of the client device. Figure 4 An example user interface 400 is shown that includes an example message 410. The example message 410 indicates the reason for the prompt - in this case, it is in response to the user recently adding a monitoring agent to a VM in the VM fleet. The example message 410 also indicates that the VM fleet includes other VMs at which the agent is not yet installed. The example message 410 may also indicate the number of VMs at which the agent is not installed. Finally, the example message 410 may provide the user with a suggestion to install the agent on the remaining eligible VMs, and may provide reasons for doing so, such as in the case of a monitoring agent, to better monitor memory utilization, real-time processes, etc.

[0047] In another example, the message may indicate the cost of installing the agent at the selected VM. The cost may be determined based on predetermined criteria, information provided from the VM manager, or both. The predicted cost may be used to inform the user whether to proceed with the proposed agent installation, or may inform the user's selection of which VMs to install the agent at.

[0048] Back to Figure 2 , at box 230, the VM manager may receive a user selection in response to the prompt. The user selection may be based on user input at a user interface of the client device, and may indicate a selection of one or more VMs at which the user of the VM fleet wants to install the agent as suggested in prompt 220. In some examples, the user selection may identify the selected VM according to one or more parameters or criteria. For example, the VM may be selected according to a specific project of the user, thereby selecting only the VMs assigned to the selected project of the user to install the agent. As a further example, the VM may be selected according to the specific operating system of the VM, thereby selecting only the VMs running the specific OS to install the agent. In yet another example, the VM may be selected according to a specific zone or region, thereby installing the agent only at the VMs in the selected zone or region. Any one or combination of the criteria may be included in the user selection. Figure 4 Some example criteria are shown in user interface 400 of .

[0049] exist Figure 4 In the example of , each of the criteria is represented by a drop-down selection table, whereby the user can select a particular table and then select one or more options from that table. An item selection table 420 is provided to enable the user to select from a plurality of items, an OS family table 430 is provided to select from a plurality of OSes, and a zone table 440 is provided to select from a plurality of zones in which the user's VM is located. However, other tables presenting other criteria may be provided in other example user interfaces. Additionally, in Figure 4 In the example of , OS table 430 and zone table 440 are shown as nested within project table 420, so that different OS and zone selections can be made for each corresponding project of the user. However, in other examples, the selection tables may be nested in different ways, or not nested at all.

[0050] Figure 4 The user interface 400 also shows a "Create Policy" button 460 and a "Cancel" button 470, which the user can select to decide whether to send the selection of the project, OS and zone to the VM manager to initiate the installation of the agent. Figure 2 , user selection box 230 may correspond to a user selecting a "Create Policy" 460 button from user interface 400 of the client device, thereby pushing the user selection to the VM manager.

[0051] exist Figure 2Continuing at block 240 of , after the VM manager receives the user selection, the VM manager can initiate installation of the agent at the selected VMs. In some examples, installing the VM agent can involve immediately installing the VM agent at each selected VM. However, in other examples, the number of VMs selected for installation may be too large to allow for immediate installation of the agent. Additionally, in some examples, the priority of the agent installation may be lower than other tasks to be performed (such as creating a new VM). Therefore, in some examples, installation of the agent for at least some of the VMs may be delayed to a predetermined time after the current time.

[0052] Figure 5 is a diagram illustrating an example method for delaying the installation of an agent at a selected VM. Figure 5 In the example method, at the first time t 0 At time t, the VM manager can assign a tag to each of the selected VMs indicated in the user selection. The corresponding tag can be stored at the selected VM so that the VM can be analyzed later to see whether it complies with the installation policy of the agent. Next, at time t 1 At time t, the VMs in the first batch may be analyzed for compliance with the agent installation policy, and the VM manager may initiate actions to correct any VMs found to be noncompliant. For example, any VM included in the first batch that includes the assigned tag but does not have an agent installed may be designated as being decommissioned at time t. 1 Next, at time t 2 The second batch of VMs can be analyzed just as the first batch of VMs were analyzed at time t1, and any VM in the second batch of VMs that has the assigned label and lacks an agent can be analyzed at time t 2 The agent may be installed at time t3. At time t3, the same process may be repeated for a third batch of VMs, and so on, for additional batches of VMs at future times. In this manner, the agent may be installed on each of the selected VMs in an asynchronous and staggered manner, and further, the installation may be performed in the background rather than as part of the VM creation process. Using tags to queue VMs for agent installation is particularly useful for simplifying broad agent installation across several VMs, or even across multiple projects, OS families, regions, zones, or combinations thereof.

[0053] exist Figure 5 In the example, time t 1 ,t 2 and t 3Each of the can be separated by a predetermined fixed duration Δt, so that the VM is checked at regular intervals to see if an agent needs to be installed at the VM. The duration can depend on the available resources and the number of VMs that potentially need to be served. In one example, the duration can range from 5 minutes to about 1 hour. For example, the duration can be about 10 minutes, about 15 minutes, about 20 minutes, and so on.

[0054] from Figure 5 It can be seen that time t 0 does not occur at a fixed time t 1 ,t 2 ,t 3 Therefore, at time t 0 At time t, no agent is immediately installed at the selected VM. However, if 0 With t 1 ,t 2 or 3 If one of the two is consistent, then for at least some of the selected VMs, the installation of the VM can be immediately effective. Nevertheless, VM creation and agent installation can be separated into different processes to avoid reducing the VM creation success rate and to avoid increasing the time for VM to create successfully.

[0055] In one example, different batches of VMs may be checked at each fixed time. In another example, all VMs may be checked at a given fixed time until a threshold number of VMs that need service are found, and then the remaining VMs may be checked at the next fixed time. In either case, the VMs are updated asynchronously at regular intervals over time and avoid delaying other VM-related processes (such as creating new VM instances).

[0056] Back to Figure 3 , Figure 3The routine 300 of begins its operation at block 310, where data about the VM fleet is collected by the VM manager. The data may be collected in response to a request from the VM manager, which may be initiated at regular intervals or in response to different inputs (such as user actions or changes at the VM fleet). At block 320, the VM manager may analyze the VM fleet data to determine whether to send a prompt to the user. For example, the VM manager may evaluate the number of VMs in the VM fleet on which a particular agent is not installed, and if the number of VMs meets or exceeds a predetermined threshold (such as an absolute number or a percentage), the VM manager may determine to send a prompt. As a further example, the VM manager may evaluate the amount of time since the agent has been installed at any of the VMs in the VM fleet, and if the amount of time is above a maximum threshold amount of time, below a minimum threshold amount of time, or either, the VM manager may determine to send a prompt. The maximum threshold may correspond to the longest acceptable amount of time for a user to give up maintaining the VM fleet, while the minimum amount of time may correspond to the amount of time that a user's recent installation of an agent at one VM may affect the user's willingness to install the agent at other VMs. In another example, the amount of time may be evaluated on a per-VM basis, whereby the amount of time that a given VM does not have an agent installed may prompt a prompt for that given VM.

[0057] At block 330, the VM manager sends a prompt to the user. The prompt may be similar to the Figure 2 The prompt described in block 220. Figure 3 In the case of block 330, the message included in the prompt may include the fleet analysis from block 320 so that the user can be informed of the current status of the VM fleet relative to the agent to be installed. The user selection at block 340 and the agent installation by the VM manager at block 350 may be combined with Figure 2 The operations described in blocks 230 and 240 correspond to those described in blocks 230 and 240. Figure 3 The operation allows prompts to be selectively pushed from the VM manager to the client device based on the status of the VM fleet, thereby providing useful information to inform the user whether the agent needs to be installed.

[0058] Figure 2 and Figure 3 Examples generally describe the VM manager transmitting a prompt to a client device in response to information received at the VM manager (such as a user action or analysis of VM fleet data). However, in other examples, prompts may not be transmitted based on information, such as at regular intervals. For example, prompts may be sent weekly or every other week. These regular reminders can help get users to proactively install agents at VMs, rather than waiting for problems to occur first.

[0059] The above examples generally describe installing an agent at one or more VMs in a VM cluster. It should be appreciated that "installing" an agent is not limited to adding an agent to a VM that does not have a version of the agent. Rather, installing an agent may also include updating a version of an agent that already exists at a VM, thereby installing a new or latest version of the agent there. In this way, checking whether an agent is installed at a VM may involve one or both of checking any version of the agent and checking whether the installed version is the latest. In addition, the message to the user may specify whether a VM in a VM cluster lacks the agent entirely, or simply lacks the latest version of the agent. Similarly, asynchronously installing an agent at multiple VMs may involve one or both of newly installing an agent at a VM or updating a version of the agent at a VM. The above examples generally describe the interchangeable application of the present disclosure between newly installing an agent at a VM and updating an agent, and are not intended to limit the applicability of when or how an updated version of an agent may be installed.

[0060] In addition, it should be appreciated that the basic principles of the present disclosure can be extended to installing any software package at one or more selected VMs of a VM fleet. The basic advantages of the present disclosure can be realized for any type of installation that occurs at a selected VM based on user permissions, such as providing a user with a method for controlling the whole fleet installation policy based on a user interface and simplifying the whole fleet installation activity without interfering with higher priority activities.

[0061] Furthermore, the above examples generally describe setting installation policies for pre-existing VMs. However, the same basic principles and techniques can also be used to set installation policies for VM instances created in the future. For example, a prompt from the VM manager can ask the user whether they want to set a new policy to install the agent by default when instantiated at a VM instance created in the future. The user selection can then include instructions to update the installation policy so that all newly created VM instances include the agent. In response, the VM manager can then update the installation policy for the agent so that future VMs created from VM images in network storage are installed by default with the agent. Similarly, the policy can be changed to allow the agent to be updated with new versions released in the future by default.

[0062] Similar to the installation policy for existing versions of existing VMs and agents, the default installation policy for future versions of future VMs and agents can be set based on certain criteria, such as the project to which the future VM is assigned, the OS zone or region of the future VM, and so on.

[0063] The above principles for setting agent installation policies can also be applied to uninstallation. For example, if a user wishes to uninstall an agent at several VMs of a VM cluster, the VM manager may be able to handle the user selection for the VM to delete the agent or roll back the agent to a previous version. In this way, the uninstallation or rollback of an agent can be simplified on a cluster-wide basis using the same or similar techniques as described herein.

[0064] In summary, the disclosed techniques and routines provide several advantages to VM clients. Automated prompts teach users the importance of installing monitoring and security agents, and further train users to recognize events that may require updating installed policies at the VM fleet. In addition, because the simplified instructions are delivered through the VM manager, the VM manager's user interface can be utilized to communicate with the user without having to rely on more complex and technical network communication means, such as the Secure Shell (SSH) protocol and command line tools. In summary, the techniques allow for the implementation of full fleet policies with just a few button clicks from an intuitive interface.

[0065] Although the technology has been described herein with reference to specific embodiments, it should be understood that these embodiments are only illustrative of the principles and applications of the present technology. Therefore, it should be understood that various modifications may be made to the illustrative embodiments, and other arrangements may be designed without departing from the spirit and scope of the present technology as defined by the appended claims.

[0066] Most of the aforementioned alternative examples are not mutually exclusive, but can be implemented in various combinations to achieve unique advantages. Since these and other variations and combinations of the features discussed above can be utilized without departing from the subject matter defined by the claims, the previous description of the embodiments should be carried out by way of illustration rather than by way of limiting the subject matter defined by the claims. As an example, the preceding operations do not have to be performed in the exact order described above. On the contrary, the various steps can be disposed in different orders, such as disposed in the opposite order, or disposed simultaneously. Unless otherwise specified, steps can also be omitted. In addition, the examples described herein and the supply of clauses expressed as "such as", "including", etc. should not be interpreted as limiting the subject matter of the claims to specific examples; on the contrary, these examples are intended to illustrate only one of many possible embodiments. In addition, the same reference numerals in different figures can identify the same or similar elements.

Claims

1. A method for installing an agent at one or more VMs of a virtual machine (VM) cluster, characterized in that: The method comprises: transmitting, by one or more processors, a message to a user interface, the message requesting user input for setting a policy for installing the agent at the VM cluster; receiving, by the one or more processors, the user input for setting the policy for installing the agent at the VM cluster; Setting, by the one or more processors, the policy for installing the agent at the VM cluster based on the user input; and The agent is installed at the one or more VMs by the one or more processors according to the policy.

2. The method according to claim 1, characterized in that The message includes an indication of a plurality of the VMs included in a VM image, and wherein the user input includes selecting a VM from the plurality of VMs indicated in the message, wherein the policy is set based on the user input for selecting the VM.

3. The method according to claim 2, characterized in that The selection of a VM specifies at least one of: a project, an operating system (OS), a distributed network region, or a distributed network zone at which to set the policy.

4. The method according to claim 1, characterized in that The method further comprises: detecting, by the one or more processors, a user action; and The message is transmitted to the user interface by the one or more processors in response to the user action.

5. The method according to claim 4, characterized in that The user action is: A user instruction for installing the agent at a VM of the VM cluster; or User instructions to create a new VM at the VM fleet.

6. The method according to claim 1, characterized in that Analyzing the VM fleet data includes: determining a number of VMs at which the agent is not installed or is not up to date, wherein transmitting the message to the user interface is in response to the determined number of VMs reaching or exceeding a threshold, and wherein the message includes an indication of the determined number of VMs.

7. The method according to claim 1, characterized in that Transmitting the message to the user interface is performed at regular intervals.

8. The method according to claim 1, characterized in that Installing the agent at the one or more VMs includes assigning, by the one or more processors, a tag to the one or more VMs, the tag indicating installation or update of the agent.

9. The method according to claim 8, characterized in that Installing the agent at the one or more VMs is performed asynchronously at regular intervals based on the assigned tags.

10. The method according to claim 1, characterized in that The agent is an operational agent configured to collect telemetry data from the one or more VMs of the VM fleet.

11. A system for installing an agent at one or more VMs in a virtual machine (VM) cluster, characterized in that: include: one or more processors; as well as a memory in communication with the one or more processors, wherein the memory comprises instructions configured to cause the one or more processors to: transmitting a message to a user interface, the message requesting user input for setting a policy for installing the agent at the VM cluster; receiving the user input for setting the policy for installing the agent at the VM cluster; Setting the policy for installing the agent at the VM cluster based on the user input; as well as The agent is installed at the one or more VMs according to the policy.

12. The system according to claim 11, characterized in that The message includes an indication of a plurality of the VMs included in the VM image, and wherein the user input includes selecting a VM from the plurality of VMs indicated in the message, wherein the instructions are configured to cause the one or more processors to set the policy for selecting a VM based on the user input.

13. The system of claim 12, wherein: The selection of a VM specifies at least one of: a project, an operating system (OS), a distributed network region, or a distributed network zone at which to set the policy.

14. The system according to claim 11, characterized in that The instructions are configured to cause the one or more processors to: Detecting user actions; and The message is transmitted to the user interface in response to the user action.

15. The system of claim 14, wherein: The user action is: A user instruction for installing the agent at a VM of the VM cluster; or User instructions to create a new VM at the VM fleet.

16. The system of claim 11, wherein: The instructions are configured to cause the one or more processors to determine a number of VMs at which the agent is not installed or is not up to date, wherein transmitting the message to the user interface is in response to the determined number of VMs reaching or exceeding a threshold, and wherein the message includes an indication of the determined number of VMs.

17. The system of claim 11, wherein: The instructions are configured to cause the one or more processors to transmit the message to the user interface at regular intervals.

18. The system of claim 11, wherein: The instructions are configured to cause the one or more processors to install the agent at the one or more VMs using tags assigned to the one or more VMs, the assigned tags indicating installation or update of the agent.

19. The system of claim 18, wherein: The instructions are configured to cause the one or more processors to asynchronously install the agent at the one or more VMs at regular intervals based on the assigned tags.

20. The system of claim 11, wherein: Also included are multiple VMs included in the VM cluster.

Citation Information

Cited By

  • Updating application hosts in a cluster

    US12504962B2