Unix/Linux Offline Agent Deployment

You can install the Agent in offline mode. The Agent is installed but not registered. An ObserveIT service is responsible for checking the Application server periodically.

Deploying the Agent in Offline Mode

ObserveIT Application Server must be unavailable when you execute the script.

To execute, run the command:

./observeit-agent-RHEL6-7.9.0.79.run -- -i -s 10.2.8.15 -m

Once you deploy the Agent in offline mode, only one ObserveIT service will be running.

For example:

c65-64-1:~$ ps -ef |grep obitd

root 1589 1 99 18:27 ? 00:01:01 /usr/sbin/obitd

userfolder 1898 1855 0 18:28 pts/0 00:00:00 grep obitd

c65-64-1:~$ sudo oitcheck

Detected platform: Linux - "CentOS release 6.5 (Final)"

Check for oit package: PASS

oit-7.9.0.79-1.x86_64

Check for obitd service: PASS

STATUS: obitd (pid 1589 )is running...

Check that obitd daemon running: PASS

Check for /opt/observeit/agent/run directory: PASS

Check for /opt/observeit/agent/conf/obit.conf: Not PASS

Checking for registration by remote app server: ERROR

Checking for Obit basic interception linkage: Not PASS

Checking SELinux status:

STATUS: disabled

When script is finished make sure:

  • Configuration file "obit.conf "does not exist 

    Check for /opt/observeit/agent/conf/obit.conf: Not PASS

  • Registration returns an error

    Checking for registration by remote app server: ERROR

  • Interception does pass

    Checking for Obit basic interception linkage: Not PASS

Preparing Golden Image

If you want to prepare a golden image, you must complete the deployment offline (Deploying the Agent in Offline Mode).

Then you can shutdown and prepare your golden image. The Agent will register itself when the Application server is available.

To check an installed Agent's registration and health status, run the command:

/opt/observeit/agent/bin/oitcheck

For example:

c65-64-1:~$ sudo oitcheck

The results should look like this (on a CentOS Linux-based supported platform):

Detected platform: Linux - "CentOS release 6.5 (Final)"

Check for oit package: PASS

oit-7.9.0.79-1.x86_64

Check for obitd service: PASS

STATUS: obitd (pid 2132 2153 2156 2159) is running...

Check that obitd daemon running: PASS

Check for /opt/observeit/agent/run directory: PASS

Check for /opt/observeit/agent/conf/obit.conf: PASS

HostURL: http://10.3.0.68:4884/ObserveITapplicationServer

WebConsoleURL: http://10.3.0.68:4884/ObserveIT

Checking for registration by remote app server: PASS

Checking for Obit basic interception linkage: PASS

Checking SELinux status:

STATUS: disabled (edited)

Open a new SSH session and check the web console to verify that the Agent is working.

Related Topics:

Unix/Linux Agent Deployment