Skip to content

morpher-vm/morpher-agent

Repository files navigation

morpher-agent

morpher-vm logo

morpher-agent is a lightweight agent that collects VM information for migration.

Installation

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.


Quick Start

x86_64

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

ARM64

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

Verify

systemctl status morpher-agent --no-pager
journalctl -u morpher-agent -e --no-pager

Environment Variables

  • MORPHER_CONTROLLER_IP: The IP address of the Morpher controller to connect to.

Service Management

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

Delete agent

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

License

Licensed under the MIT License.

About

Lightweight agent that collects VM information for migration

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •