morpher-agent is a lightweight agent that collects VM information for migration.
You can install the agent using the provided arch-specific install scripts.
These scripts will download the release tarball, extract the binary, create a
systemd service, and start it automatically.
Note: Requires
sudo
privileges.
wget -O install_amd64.sh https://raw.githubusercontent.com/morpher-vm/morpher-agent/main/scripts/install_amd64.sh
chmod +x install_amd64.sh
sudo MORPHER_CONTROLLER_IP=<controller-ip> ./install_amd64.sh
wget -O install_arm64.sh https://raw.githubusercontent.com/morpher-vm/morpher-agent/main/scripts/install_arm64.sh
chmod +x install_arm64.sh
sudo MORPHER_CONTROLLER_IP=<controller-ip> ./install_arm64.sh
systemctl status morpher-agent --no-pager
journalctl -u morpher-agent -e --no-pager
MORPHER_CONTROLLER_IP
: The IP address of the Morpher controller to connect to.
After installation, the morpher-agent service is managed via systemd:
sudo systemctl start morpher-agent
sudo systemctl enable morpher-agent
sudo systemctl status morpher-agent
sudo journalctl -u morpher-agent -f
sudo systemctl disable --now morpher-agent
sudo rm -f /etc/systemd/system/morpher-agent.service
sudo rm -rf /etc/morpher-agent
sudo rm -f /usr/local/bin/morpher-agent
sudo systemctl daemon-reload
Licensed under the MIT License.