Install a Worker (Binary)
This page introduces how to use the Binary package to add a BladePipe Worker.
Prerequisite
Please make sure that the BladePipe Console has been installed via Binary.
If not, please install the Console following the doc Install All-in-One (Binary).
Procedure
Deploy Automatically
- Make sure that there are the SSH access rights to the Console and the Worker.
- In the top navigation bar, click Sync Settings > Sync Worker.
- Click Workers in the Operation column.
- Click Add Worker in the upper-right conner, and select Automatic.
- Fill in the following server information of the Worker and click Test Connection.
Item | Description |
---|---|
ip | IP of the Worker |
port | Port of the Worker, can be customized |
Remote installation path | Installation path |
Package path | The path where the installation package is stored |
SSH Type | You can choose to log in using Password or Secret Key |
Username | Username of the Worker |
- Click Deploy Automatically.
- Make sure that the Worker IP has been updated and system metrics have been collected, which means the Worker is successfully installed.
Deploy Manually
Make sure that there are the SSH access rights to the Console and the Worker.
In the top navigation bar, click Sync Settings > Sync Worker.
Click Workers in the Operation column.
Click Add Worker in the upper-right conner, and select Manual.
Click Generating Unique Identification.
Get the link of the installation package at BladePipe website.
Download the package to the specified path.
cd /home/bladepipe/tar_gz
wget "{paste the download link got from BladePipe website}" -O bladepipe.tgzRun the following command to unzip the package.
tar xavf bladepipe.tgz
tar xaf bladepipe-core.tar.gz && tar xaf bladepipe-worker.tar.gz && tar xaf bladepipe-ds.tar.gz
mv /home/bladepipe/tar_gz/bladepipe /home/bladepipe/Return to the BladePipe Worker list page. Select the Worker to be confirmed, and click Configuration.
Click Get Code and enter 777777.
Get the unique identification information and click Copy.
Paste the configuration information to the following Worker configuration file.
vi /home/bladepipe/bladepipe/global_conf/conf.properties
Start the Worker.
cd /home/bladepipe/bladepipe/worker/bin
sh ./startWorker.shMake sure that the Worker IP has been updated and system metrics have been collected, which means the Worker is successfully installed.