中文 / English
Neatlogic-Agent is an optional method for deploying on managed target operating systems, which smoothly replaces host connection protocols. Tagent has the following characteristics:
There are several common application scenarios for Neatlogic Agent:
Neatlogic-Tagent There are two ways to obtain installation packages:
Explanation: The Windows installation package contains the Perl runtime dependency environment and 7z tools, as shown in the differences in the installation package below.
#####Installation Package Description############
#Neatlogic runner comes with 3 installation packages
#Unix class: tagent.tar
#Windows 32 Class: agent_ Windows_ X32. zip
#Windows 64 class: agent_ Windows_ X64.zip
##########################
#Eg: Obtain Unix installation package
#Format: http://Neatlogic-runner Machine IP: 8084/autoexecutor/agent/download/agent.tar
#Example
curl tagent.tar http://192.168.0.10:8084/autoexecrunner/tagent/download/tagent.tar
#Eg: Obtain Windows 64 bit installation package
#Example
curl tagent_windows_x64.zip http://192.168.0.10:8084/autoexecrunner/tagent/download/tagent_windows_x64.zip
Unix operating systems are recommended to be installed as root users, and the agent installed by root will register the service.
The Windows operating system needs to be installed by opening the cmd window in administrative mode.
# Login to the target managed machine and download the installation package. It is recommended to store it in the /opt directory uniformly
cd /opt
curl tagent.tar http://192.168.0.10:8084/autoexecrunner/tagent/download/tagent.tar
# decompression
tar -xvf tagent.tar
# View shell kind
echo $0 #The AIX operating system should be noted that most default is ksh
# Perform installation
# Parameter Description:--serveraddr neatlogic-runner http access address --tenant tenant name
# shell kind is bash,eg
sh tagent/bin/setup.sh --action install --serveraddr http://192.168.0.10:8084 --tenant demo
# shell kind is ksh,eg
sh tagent/bin/setup.ksh --action install --serveraddr http://192.168.0.10:8084 --tenant demo
# Installation completion check (3 processes)
ps -ef |grep tagent
# view log
less tagent/run/root/logs/tagent.log
# view config
less tagent/run/root/conf/tagent.conf
#start / stop command
service tagent start/stop
Example:
cd c:\tagent_windows_x64
service-install.bat
# Define neatlogic-runner variable
RUNNER_ADDR=http://192.168.0.10:8084 #Neatlogic runner's IP and port
cd /opt
# Download installation script
curl -o install.sh $RUNNER_ADDR/autoexecrunner/tagent/download/install.sh
# Perform installation
bash install.sh --tenant demo --pkgurl $RUNNER_ADDR/autoexecrunner/tagent/download/tagent.tar --serveraddr $RUNNER_ADDR
#Open the browser and enter the neatlogic-runner address to download install.vbs, as shown in: http://192.168.0.10:8080/autoexecrunner/tagent/download/install.vbs
#Open cmd window as administrator
#Switch the directory where install.vbs is located, or copy install.vbs to the '% Temp%' directory
#Perform installation
set RUNNER_ADDR=http://192.168.0.10:8084
cscript install.vbs /tenant:demo /pkgurl:%RUNNER_ADDR%/autoexecrunner/tagent/download/tagent_windows_x64.tar /serveraddr:%RUNNER_ADDR%
cd /opt
# View shell kind
echo $0
# Shell kind is bash
sh tagent/bin/setup.sh --action uninstall
# Shell kind is ksh
sh tagent/bin/setup.ksh --action uninstall
# Remove installation directory
rm -rf tagent
Open the cmd window with administrator privileges and switch to agent_ Windows_ X64 installation directory, execute: service uninstall.bat, and delete the installation directory. Example:
cd c:\tagent_windows_x64
service-uninstall.bat
rd /s /q c:\tagent_windows_x64
Source IP | Destination IP | Port | Protocol | Description |
---|---|---|---|---|
neatlogic-tagent-client host | neatlogic-runner host | 8084/8888 | TCP | 8084 registration port/ 8888 Heartbeat Port |
neatlogic-runner host | neatlogic-tagent-client host | 3939 | TCP | Command issue execution port |
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。