An Agent is a lightweight service that connects to your configured storage, providing direct access to scan and move data. Agents are compatible with various storage types, including local file systems, network file shares, and object storage. They handle tasks like discovering data, analyzing file structures, and transferring files between sources and destinations.
Each Agent communicates with the CloudSoda Controller using UDP ports 7498 and 7499. If your environment includes multiple firewalls, be sure traffic can pass through all of them, not just the one closest to the Agent.
Use the following procedures to manage Agents:
Creating an Agent
To create an Agent, follow these steps:
- Click Orchestration > Agents in the left-hand navigation panel.
The Agents page displays.
- Click Create Agent.
The Create Agent page displays.
- Enter the Agent data:
- Name: Enter a name for the Agent.
- Account: Select an account associated with the Agent.
- Scope: Initial scope on the Agent which configures access control.
- Toggle Transient if the Agent should operate as a transient Agent.
-
Click Add Tags to assign tags to objects moved by the Agent; this is optional.
The Add Tag window displays.
a. Enter a Key and Value for the tag.
b. Click Save to apply the tag.
- Select a Location for the Agent. If you choose a cloud provider, you'll also need to select a region. If you select Other, you can specify a country to indicate where the Agent is located.
-
Click Save to create the Agent.
The Agents page displays the newly created Agent in the list.
Downloading the Agent Configuration
- Click Orchestration > Agents in the left-hand navigation panel.
The Agents page displays.
-
Click Download Agent and select an operating system::
- Linux/macOS - download a tar file of the Agent Installer software.
-
Windows - download a Windows zip file of the Agent Installer software.
-
Extract the downloaded file:
-
Linux/macOS - Untar the file to the /tmp folder or another directory on your Linux or Mac client.
-
Windows - Unzip the file to the Downloads folder or another directory on your Windows client.
-
Linux/macOS - Untar the file to the /tmp folder or another directory on your Linux or Mac client.
-
In the CloudSoda UI, navigate to the Agents page and select the newly-created Agent.
The Agent page displays and and defaults to the Details tab.
- Click the ellipsis (…) at the top-right of the page and Download Config to download a JSON file for the Agent configuration. Be sure this file is located in the same directory as the Agent Installer.
Installing the Agent
To install the Agent, follow the procedure for your operating system:
Installing the Agent on Linux/macOS
To install the Agent on Linux or macOS, follow these steps:
- Run as root or sudo.
-
Enter the following commands:
echo $PATH as root and verify that /usr/local/bin is in the PATH
NOTE: If you receive a pop-up with this message: "Soda' can't be opened because Apple cannot check it for malicious software", refer to the macOS Troubleshooting section below.
cd /tmp (or wherever you put the files)
tar -xvf soda_*.tar
chmod +x soda
sudo xattr -d com.apple.quarantine ./soda #run on macOS ONLY
sudo ./soda install
sudo soda status
sudo soda help (to view all command options)
-
To enable full disk access for CloudSoda on macOS to CloudSoda, follow these steps:
- Open System Settings.
- Click Privacy & Security.
- Click Full Disk Access.
- Click the + icon at the bottom and enter your password when prompted.
- Press Shift+Cmd+G simultaneously, then press Enter.
- Scroll and select soda from the list, then click Open.
Once the Agent is installed, check its status:
-
If soda status confirms it is running, return to the CloudSoda UI to enable the Agent.
- In the Agent Show model, click on the ellipses (…) and select Enable. You can also enable the Agent from the Agent page by clicking the > icon.
Completing this process securely configures and authenticates the Agent, connects it to the CloudSoda Controller, and assigns it to the appropriate storage.
If the Agent appears to be disconnected, refer to Why won't my Agent connect?
Installing the Agent on Windows
You can install the CloudSoda Agent on Windows using one of two methods:
-
PowerShell (Administrator) - recommended for most users
Installs method installs the Agent as a background service that runs continuously. However, because the Agent runs under the a local administrator account, it may have trouble accessing remote shares that require specific user credentials, e.g. username and password as a local mount. In these cases, use the SMB accessor when trying to access SMB shares instead of the File accessor with a file path to the local mount.
- PowerShell (Logged-in User)
This method installs the Agent to run in your System Tray, operating only under your logged-in user session. The Agent will start and connect only when you are logged in and does not run as a persistent background service.
To install the Agent on Windows, follow these steps:
- Open the Windows PowerShell (Admin) or PowerShell based on your chosen installation method.
-
Enter the following commands:
./soda.exe install
Install CloudSoda? [Y/N] y
Installing binary...
Profile file: agent-config.json
Setting up C:\ProgramData\soda... [etc.]
soda status
soda help (to view all command options) -
If soda status confirms the Agent is running, return to the CloudSoda UI to enable it.
- In the Agent Show model, click on the ellipses (…) and select Enable from the drop-down. You can also enable the Agent from the Agent page by clicking on the > icon.
Completing this process securely configures and authenticates the Agent, connects it to the CloudSoda Controller, and assigns it to the appropriate storage.
If the Agent appears to be disconnected, refer to Why won't my Agent connect?
macOS Troubleshooting
If you encounter issues installing the Agent on macOS, try this troubleshooting procedure before contacting CloudSoda Support.
Agent Won't Run Due to Security Restrictions
If you see the error "soda' can't be opened because Apple cannot check it for malicious software", follow these steps before re-trying the installation procedure:
- Open System Settings > Privacy & Security.
The Privacy & Security window opens. -
Click the Privacy & Security icon.
The Privacy & Security window opens.
- Click the lock at the bottom-left of the window.
The System Preferences window opens. - Enter your password in the appropriate field.
- Click the Unlock button.
You return to the Security & Privacy window. - Click the Allow Anyway button.
- Close the Privacy & Security window.
-
Re-enter the ./soda install command.
The error pop-up window reappears.
-
When prompted, enter your Mac administrator password and click Open.
The window closes, and the soda installation continues.
Return to Step 3 of the Installing the Agent on Linux/macOS procedure above to complete the installation.
Uninstalling an Agent
Uninstalling an Agent is a two-step process. First, detach the Agent from all attached storages and then uninstall it from CloudSoda. Next, uninstall CloudSoda from the Agent's host.
Uninstall the Agent from CloudSoda
To uninstall an Agent, follow these steps:
-
Click Orchestration > Agents in the left-hand navigation panel.
The Agents page displays.
-
Click the Agent you to want to uninstall.
The selected Agent's dialog box displays and defaults to the Details tab.
- Click the Attachments tab to display all storages attached to the Agent. Before uninstalling the Agent, make sure all attached storage is detached.
-
To detach a storage:
- In the row for the storage you want to detach, click the Disable icon on the right side and then click the Delete icon. The selected storage is detached from the Agent.
- Repeat this step for all storages attached to the Agent.
- Click the ellipses (...) at the top right of the Agent's dialog box and select the Delete option to uninstall the Agent.
Once the Agent is uninstalled, it will no longer be available, but CloudSoda remains installed on the Agent's host. To fully remove CloudSoda from the host, use this procedure.
Uninstall CloudSoda from the Agent's Host
To uninstall CloudSoda from the Agent's host, follow these steps:
-
From a command prompt, run the following command:
macOS/Linux Example:
sudo soda uninstall
Windows Example:soda.exe uninstall - Navigate to the following directories and delete the contents to fully remove CloudSoda from the server:
macOS/Linux directories:
/usr/local/bin/soda
/etc/soda/* (plus the directory)
Windows directories:/soda/*
/soda/*
CloudSoda has now been uninstalled and removed from the Agent's host.
Comments
0 comments
Please sign in to leave a comment.