Add Application Node to Existing Machine (Manually)
Last updated
Last updated
Assuming
agent1
is the name of new agent and agent0 is already installed via cloud formation andusername
is the username on the new agent
agent0
and agent1
must be running a Linux operating system. You must have SSH access to both agent0
and agent1
using a non-root user with sudo privileges.
Login to agent0
Copy the ZebClient files and /etc/hosts file from agent0 to agent1. The following bash command will copy the files to agent1 using scp:
Replace username with the username you use to access agent1. This will copy the /etc/zebclient
directory, zebclient
binary file, zebclient-agent
systemd
service file, and /etc/hosts
file from agent0 to the corresponding locations on agent1
.
If you don't have passwordless access to
agent1
, you will be prompted to enter your password.
Log in to agent1
using SSH:
Make zebclient
config location
Copy agent config and license to ZebClient config location
Copy zebclient
binary and give execute privilege
Copy systemd
file for ZebClient agent
Add entries to /etc/hosts
Reload the systemd
daemon to recognize the new service file:
Start the zebclient-agent
service:
Enable the zebclient-agent
service to start automatically on boot:
The zebclient-agent
service will now start automatically every time agent1 boots up.
Verify if ZebClient mount point is created