Warning! You are viewing an older version of Alpaca Guides. View the latest
Alpaca Remote
Introduction
Alpaca Remote is a tool that transmits audit logs from their source location to the Alpaca Server for processing. Audit logs are transmitted to the Alpaca Server via REST.
Installation
Alpaca Remote should be installed on the server where your BroadWorks Audit Logs are located.
Prerequisites
- Java JDK 1.8
- Alpaca Server
Process
- Download the Alpaca Remote tarball(.tar.gz) to the
/opt
directory on the server. - Extract the archive.
cd /opt
tar xzvf /opt/alpaca-remote-<BW_VERSION>-<RELEASE_VERSION>-bin.tar.gz
- Create a symlink to the new alpaca directory.
-
ln -s /opt/alpaca-remote-<BW_VERSION>-<RELEASE_VERSION> /opt/alpaca-remote
-
- Create an alpaca user.
useradd -m alpaca
- Change the ownership of the
/opt/alpaca-remote
directory and all of its children.chown -R alpaca:alpaca /opt/alpaca-remote/
- Copy the license file from the ECG portal
ecg.license.txt
into theconfig
directory. - Perform configuration according to Alpaca Remote configuration guide.
Installing Alpaca Server and Alpaca Remote on separate servers
- Copy the
alpaca
file into/etc/init.d
. - Run the following commands:
-
chkconfig --add alpaca
chkconfig alpaca on
-
- Launch service with
service alpaca start
.
Installing Alpaca Server and Alpaca Remote on the same server
- Copy the
alpaca
file into/etc/init.d
and rename toalpaca-remote
usingmv alpaca /etc.init.d/alpaca-remote
. - Run the following commands:
-
chkconfig --add alpaca-remote
chkconfig alpaca-remote on
-
- Launch service with
service alpaca-remote start
.
Configuration
One Alpaca User per cluster must be configured for Alpaca Remote to use. This user should only have credentials for the one BroadWorks cluster that we are reading logs for.
-
hostname
- The hostname of the Alpaca server to send logs to. -
port
- The port that the Alpaca server is running on. -
username
- The username of the Alpaca User configured on the server. -
password
- The password of the Alpaca User configured on the server. -
audit-log-readers
- The list of directories to read from.
alpaca:
remote:
servers:
- hostname: localhost
port: 8080
username: remote
password:
audit-log-readers:
- directory: /opt/audit/lab
Usage
Once Alpaca Remote has been installed and configured, it can be ran with service alpaca start
. Once launched, Alpaca Remote will transmit audit logs to the Alpaca Server.