Skip to content

Advanced administration

This section describes an administration of the pre-installed virtual machine of TeskaLabs LogMan.io collector, done from the command line.

Starting and stopping the collector

To start a stopped collector, type:

# service lmio-collector start

To stop a collector, type:

# service lmio-collector stop

Upgrade to a new stable release

# docker pull pcr.teskalabs.com/lmio/lmio-collector:stable
# service lmio-collector restart
# docker stop lmio-collector-cntrl

Note

Upgrade of the collector is triggered automatically every night.

Enble SSH access

service ssh start

Access: ssh tladmin@<collector-ip>

Tip

Make sure that the password is set to tladmin user.

Run a collector in the foreground

# service lmio-collector stop

# docker run \
    --rm \
    --name lmio-collector \
    -v /conf:/conf \
    -v /data:/data \
    --net=host\
    pcr.teskalabs.com/lmio/lmio-collector:stable

Press Ctrl-C to terminate the collector.

To launch collector in the background execute:

# service lmio-collector start