ZebClient
Zebware.comCustomer Portal
  • ZebClient Documentation
  • Product Overview
    • Introduction to ZebClient
    • Functional Overview
    • Product Components
    • Data Flows
    • Data Striping
  • USE CASES
    • ZebClient Analytics
      • Architecture
        • Data Pipeline
        • Data Storage
        • Consumption
      • Deploy a ZebClient Advanced Cluster
        • Step 0 - Setup
      • FAQ
  • Planning & Getting Started
    • How to Choose your Deployment Mode
    • Deployment Modes and Tuning
    • Performance
    • License
    • Order Your ZebClient License
    • Pricing
  • Installation
    • Types of Installations
    • Guided Installation
      • ZebClient with Azure Blob Storage
        • Defining Backend with Azure Blob Storage
        • Mounting ZebClient with Azure Blob Storage
      • ZebClient with AWS S3
        • Defining Backend with AWS S3
        • Mounting ZebClient with AWS S3
      • Mount Additional Agent Node
    • Kubernetes
      • Azure Quickstart Guide
      • ZebClient CSI
      • ZebClient Helm
      • ZebClient Terraform
    • Virtual Machines
      • Azure Installation Guide
        • Installing Using Terraform
        • Uninstalling Using Terraform
    • Checking Installation
    • Running First Test
  • Management HOW-TOS
    • Add a New Agent VM into an Existing Cluster
    • Retrieve Cluster Log Files
    • CloudFormation Deployments
      • Understanding our CloudFormation Template
      • Uninstalling Using CloudFormation
    • Command-line Interface
  • Operations & Monitoring
    • Importing Your Data
    • Inlets
      • Data from External S3 Bucket
    • System Recovery Guide
      • Restore KeyDB Backup from S3
    • Port a Deploy
    • Add Resources to a Cluster
      • Add Application Node to Existing Machine (Manually)
      • Add Application Node to Existing Machine (via zc-cli)
      • Add New Application Node
      • Add Jumpbox
    • Verifying License Validity
    • Monitoring Your ZebClient Cluster with Netdata
Powered by GitBook
On this page
  • Prerequisites
  • Instructions
  1. Operations & Monitoring
  2. Add Resources to a Cluster

Add Application Node to Existing Machine (Manually)

PreviousAdd Resources to a ClusterNextAdd Application Node to Existing Machine (via zc-cli)

Last updated 1 year ago

Assuming agent1 is the name of new agent and agent0 is already installed via cloud formation and username is the username on the new agent

Prerequisites

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.

Instructions

  1. Login to agent0

ssh -i <key_file>.pem ubuntu@agent0
  1. Copy the ZebClient files and /etc/hosts file from agent0 to agent1. The following bash command will copy the files to agent1 using scp:

scp -r /etc/zebclient/ username@agent1.example.com:/tmp
scp /usr/local/bin/zebclient username@agent1.example.com:/tmp
scp /etc/systemd/system/zebclient-agent.service username@agent1.example.com:/tmp
 code
scp /etc/hosts username@agent1.example.com:/tmp

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.

  1. Log in to agent1 using SSH:

ssh username@agent1
  1. Make zebclient config location

sudo mkdir -p /etc/zebclient
  1. Copy agent config and license to ZebClient config location

sudo mv /tmp/agent.yaml /etc/zebclient
sudo mv /tmp/zebclient_license.json /etc/zebclient
  1. Copy zebclient binary and give execute privilege

sudo mv /tmp/zebclient /usr/local/bin/zebclient
sudo chmod a+x /usr/local/bin/zebclient
  1. Copy systemd file for ZebClient agent

sudo mv /tmp/zebclient-agent.service /etc/systemd/system/
  1. Add entries to /etc/hosts

grep -E 'agent|server|db' hosts | sudo tee -a /etc/hosts
  1. Reload the systemd daemon to recognize the new service file:

sudo systemctl daemon-reload
  1. Start the zebclient-agent service:

sudo systemctl start zebclient-agent.service
  1. Enable the zebclient-agent service to start automatically on boot:

sudo systemctl enable zebclient-agent.service

The zebclient-agent service will now start automatically every time agent1 boots up.

  1. Verify if ZebClient mount point is created

df -h | grep ZCFS
Please follow How to create passwordless access between VMs