Skip to main content
Skip table of contents

Multi Agent

Overview

QueryPie Multi Agent is an enhanced Proxy Agent that allows the simultaneous use of multiple QueryPie Hosts. Within the Agent UI, you can view the resources available from a specific Host. By simply installing the Agent and logging into each Host, you can access resources through two or more QueryPie Proxies without additional configuration.

Supported Versions

Multi Agent supports QueryPie Host version 10.2.5 or later. If you are using version 10.2.4 or earlier, please use the existing User Agent.

It is possible to install both the existing User Agent and Multi Agent on the same PC. However, they will not operate correctly if run simultaneously.

For QueryPie Host versions 10.2.5 to 10.2.7, the support scope is:

  • Service: DAC, KAC

  • Client OS: MacOS, Windows

For QueryPie Host version 10.2.8 or later, the support scope is:

  • Service: DAC, KAC, SAC

  • Client OS: MacOS, Windows, Linux

Agent App Download and Initial Setup

  1. After logging into QueryPie, navigate to the Profile (user icon) > Download & Support > Multi-Agent menu by clicking your profile icon in the top-right corner.

    스크린샷 2025-02-17 오전 11.03.58.png

    QueryPie Web > Profile menu

  2. When the QueryPie Multi-Agent Downloads pop-up window appears, download the installation file appropriate for your PC's operating system from Step 1. Then, copy the QueryPie URL provided in Step 3 referring to the image below.

    스크린샷 2025-04-13 오후 11.33.22.png

    QueryPie Web > QueryPie Multi-Agent Download

  3. Run the downloaded QueryPie Multi-Agent installer. For macOS, copy the .app file to the Applications folder to complete the installation. For Windows, follow the installer prompts.

    스크린샷 2025-02-17 오전 10.55.57.png

    Mac OS Installation Program

  4. Launch the installed QueryPie Agent. The initial Host registration page will open.
    In the QueryPie Host input field, paste the QueryPie URL you copied earlier and click the Next button. This will take you to the login screen for that Host.

    스크린샷 2025-02-17 오전 10.59.17.png

    Multi-Agent > Host Setting

  5. On the login page for the entered Host, enter your authentication credentials and click the Continue button.

    스크린샷 2025-02-17 오전 11.01.06.png

    Multi-Agent > Login

DAC

Connecting to Databases via the Agent

  1. In the Database tab, you can view a list of Database Connections for the selected QueryPie Host for which you have been granted privileges and for which Proxy use is enabled.

    스크린샷 2025-03-07 오전 10.55.12.png

    Multi-Agent > Databases

  2. Select the connection you wish to access and right-click to open the context menu.

    스크린샷 2025-03-07 오전 10.54.33.png

    Multi-Agent > Databases > Context-menu

    1. Connection Information: Allows you to view the information required for a Proxy connection.

    2. Open Connection With 10.2.6~: Allows you to connect to the database using a 3rd party tool.

      1. DBeaver: Opens DBeaver and populates the connection information
        (A one-time DBeaver path recognition process is required. It is recommended to run this function while DBeaver is already running.)

      2. DataGrip: Copies connection information that can be pasted into DataGrip.

      3. SQLGate for Oracle (Windows only): Opens SQLGate for Oracle and populates the connection information.

    3. Copy as JDBC URL 10.2.6~: Copies the JDBC URL of the selected connection.

Open Connection With, Copy as JDBC URL is available in 10.2.6 and later versions.

Managing 3rd Party Database Tool Settings in the Agent

You can manage settings related to 3rd party database tools by navigating to Settings > Databases.

스크린샷 2025-04-13 오후 11.52.52.png

Multi-Agent > Settings > Databases

  • Database Tool Path: Configure the path for supported 3rd party tools.

    • Auto Detected: Automatically finds the tool's path each time you select a tool via Open Connection With.

      • If the tool does not open correctly, it is recommended to manually specify the path using Manual Configuration.

    • Manual Configuration: Manually specify the installation path of the tool.

    • Do not use this tool: Disables the use of the tool. The tool will be hidden from the context menu in the connection list.

  • DataGrip Connection Guide: Configure whether to continuously display the guide modal when opening a connection with DataGrip.

Selecting Default Privilege in the Agent

n QueryPie Database Access Control, a user can be granted more than one privilege for a connection. If a user with access to a specific connection belongs to multiple groups, and different access rights are granted to these groups, the user may be assigned multiple privileges. In such cases, you can select the Privilege to be used for proxy connections within the agent screen (supported from version 10.3.0).

If multiple privileges are granted and the user has not set a default privilege, connection will not be possible. If a default privilege is not set, a warning icon will be displayed next to the connection, as shown below.

image-20250513-025002.png
  1. Right-click on a connection for which multiple privileges are assigned to open the context menu.

  2. Select Connection Information from the menu.

    image-20250513-042753.png

    Connection Information

  3. In the Original Information section, click the edit (pencil icon) button next to Privilege.

    image-20250513-043056.png

  4. Select one of the items under Privilege Name and save your selection.

    image-20250513-044616.png

  1. Verify that the warning icon disappears and the name of the assigned default privilege is displayed for that connection.

    image-20250513-045054.png


KAC

Viewing Kubernetes Cluster List by Role in the Agent

From the Role selector, choose one of the Roles assigned to you. Then, the list of K8s Clusters for which the selected Role has been granted privileges will be displayed.

스크린샷 2025-02-17 오전 11.39.08.png

Multi-Agent > Kubernetes

Checking Kubeconfig Setup Guide in the Agent

A one-time Kubeconfig setup is required to use kubectl commands through the Proxy.

Click the gear icon (Settings) in the top-right corner of the Agent to enter the Settings page.

Select the Kubernetes tab. Here, you can manage the Kubeconfig file save path and copy the Kubeconfig setup command.

Paste the copied command into your terminal and execute it.

스크린샷 2025-02-17 오전 11.37.12.png

Multi-Agent > Setting > Kubernetes

SAC 10.2.8~

Connecting to Servers via the Agent

  1. Select a Role from the Role dropdown menu. This will display a list of servers accessible with the selected Role.

    스크린샷 2025-04-13 오후 11.40.48.png

    Multi-Agent > Servers

  2. Select a server, right-click to open the context menu, and choose Open Connection With > Your Terminal Tool.

    스크린샷 2025-04-13 오후 11.43.14.png

    Multi-Agent > Servers

  3. If necessary, enter Account information and click the Open button.

  4. You can now connect to the server using your selected terminal tool.

    스크린샷 2025-04-13 오후 11.46.44.png

OS Permission Modal

  • Terminal Tool Access (One-time request): The first time you attempt to open a connection with a specific terminal tool, the OS will request permission for QueryPie Multi Agent to control that tool. If you do not grant permission, the terminal tool cannot be opened.

  • System Events (One-time request): The OS may also request permission for System Events. Granting this permission allows you to receive notifications for events such as session disconnections in your system's notification area.

Managing 3rd Party Terminal Tool Settings in the Agent

You can manage settings related to terminal tools by navigating to Settings > Servers.

스크린샷 2025-04-13 오후 11.53.01.png

Multi-Agent > Setting > Servers

  • Terminal Tool Path: Configure the path for supported 3rd party terminal tools.

    • Auto Detected: Automatically finds the tool's path each time you select a tool via Open Connection With.

      • If the tool does not open correctly, it is recommended to manually specify the path using Manual Configuration.

    • Manual Configuration: Manually specify the installation path of the tool.

    • Do not user the tool: Disables the use of the tool. The tool will be hidden from the context menu in the server list.

Using Multiple Hosts in the Agent

  1. Navigate to Settings > Hosts. Click the + Add New Host button, enter the domain of the new Host, and save.

    스크린샷 2025-04-13 오후 11.50.30.png

    Multi-Agent > Setting > General > Add New Host

  2. A toast notification will confirm if the new Host was successfully registered. Verify that the new Host appears in the list, then click the X button in the top-right corner to exit the settings page.

    1. You can switch between Hosts by clicking the desired Host in the list on the main agent screen.

      스크린샷 2025-04-13 오후 11.50.51.png

      Multi-Agent > Setting > General

  3. Alternatively, click the profile button. A list of registered Hosts will be displayed, allowing you to switch between them.

    스크린샷 2025-02-17 오전 11.42.00.png

    Multi-Agent > Click Profile menu

Switching Hosts is necessary for the initial login to each Host. However, once you are logged in and a proxy connection is established for a resource, you can access all registered resources from any logged-in Host without needing to switch the active Host view in the UI.

Resetting Multi Agent Settings

  1. Click the Multi Agent icon in the system tray (Windows) or menu bar (macOS). From the menu that appears, select Reset All Settings.

스크린샷 2025-04-14 오전 12.07.19.png

Status Bar Item (MacOS)

스크린샷 2025-04-14 오전 12.12.07.png

Application Menu (MacOS)

  1. Click the gear icon (Settings) in the top-right corner of the Agent to enter the Settings page. Navigate to the Hosts tab and click the Reset All Settings button at the bottom.

    스크린샷 2025-02-17 오전 11.42.41.png

    Multi-Agent > Setting > Hosts

  2. A confirmation modal will appear. Click the Reset button. All settings stored in the local folder will be initialized.

    스크린샷 2025-02-17 오전 11.42.45.png

    Multi-Agent > Setting > Hosts > Reset All Settings

  3. You will be taken back to the Multi Agent initial setup page (Host registration).

    스크린샷 2025-02-17 오전 11.42.50.png

    Multi-Agent > Host Setting

Extracting Multi Agent Logs

If you encounter issues while using Multi Agent, please extract the logs using the following procedures:

GUI

image (13).png

MacOS

image (12).png

Windows

  1. Click the Multi Agent icon in the menu bar (macOS) or system tray (Windows). Navigate to Diagnostic Tools > Enable Tracing.

    1. This changes the log level to Trace, and the menu item will change to Disable Tracing.

  2. Reproduce the issue.

  3. Click the Multi Agent icon again, then navigate to Diagnostic Tools > Export Log.

  4. Provide the exported log file to the support team.

macOS

  1. Quit the Agent. Open Terminal and execute the following command:

CODE
QPMA_TRACE=1 open -a QueryPieMultiAgent
  1. Reproduce the issue.

  2. Compress the following folder and provide it to the support team:

CODE
~/.querypie-multi-agent

Windows

  1. Quit the Agent. Open Command Prompt or PowerShell and execute the following commands:

CODE
set QPMA_TRACE=1 "%ProgramFiles%\QueryPie Multi Agent\QueryPieMultiAgent.exe"
  1. Reproduce the issue.

  2. Compress the following folder and provide it to the support team:

CODE
%USERPROFILE%\.querypie-multi-agent

Constraints Document for Administrators

For information on Multi Agent constraints relevant to administrators, please refer to the separate administrator guide Multi Agent Constraints.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.