Remote Installation
2 minutesIntroduction
This workshop demonstrates how to use the smartagentctl command-line tool to install and manage AppDynamics Smart Agent on multiple remote hosts simultaneously. This approach is ideal for quickly deploying Smart Agent to a fleet of servers using SSH-based remote execution, without the need for additional automation tools like Jenkins or GitHub Actions.
What You’ll Learn
In this workshop, you’ll learn how to:
- Configure remote hosts using the
remote.yamlfile - Configure Smart Agent settings using
config.ini - Deploy Smart Agent to multiple hosts simultaneously via SSH
- Start and stop agents remotely across your infrastructure
- Check agent status on all remote hosts
- Troubleshoot common installation and connectivity issues
Key Features
- 🚀 Direct SSH Deployment - No additional automation platform required
- 🔄 Complete Lifecycle Management - Install, start, stop, and uninstall agents
- 🏗️ Configuration as Code - YAML and INI-based configuration files
- 🔐 Secure - SSH key-based authentication
- 📈 Concurrent Execution - Configurable concurrency for parallel deployment
- 🎛️ Simple CLI - Easy-to-use smartagentctl command-line interface
Architecture Overview
Workshop Components
This workshop includes:
- Prerequisites - Required access, tools, and permissions
- Configuration - Setting up
config.iniandremote.yaml - Installation & Startup - Deploying and starting Smart Agent on remote hosts
- Troubleshooting - Common issues and solutions
Prerequisites
- Control node with smartagentctl installed
- SSH access to all remote hosts
- SSH private key configured for authentication
- Sudo privileges on the control node
- Remote hosts with SSH enabled
- AppDynamics account credentials
Available Commands
The smartagentctl tool supports the following remote operations:
start --remote- Install and start Smart Agent on remote hostsstop --remote- Stop Smart Agent on remote hostsstatus --remote- Check Smart Agent status on remote hostsinstall --remote- Install Smart Agent without startinguninstall --remote- Remove Smart Agent from remote hosts--serviceflag - Install as systemd service
All commands support the --verbose flag for detailed logging.
Tip
The easiest way to navigate through this workshop is by using:
- the left/right arrows (< | >) on the top right of this page
- the left (◀️) and right (▶️) cursor keys on your keyboard