6.2 Configuring the Platform Agent

The Platform Agent runs as a Systemd service, named olcne-agent. You can get logs for this service using:

$ sudo journalctl -u olcne-agent

By default, the service runs on TCP port 8090. You can change this and other Platform Agent settings by editing the Systemd service unit file so that the binary is invoked to use additional options.

Additional options available to olcne-agent include:

olcne-agent options:

  • [-p|--port] port-number

    Specifies the port that the Platform Agent service binds to. Defaults to 8090 if unspecified.

  • [-x|--insecure]

    Allows the gRPC server to accept clients that do not securely establish their identity.

To reconfigure the Platform Agent to use any of these options, you can edit the Systemd unit file at /usr/lib/systemd/system/olcne-agent.service and append the option to the ExecStart line.

If you edit the Systemd unit file, you must run the following commands for the changes to take effect:

$ sudo systemctl daemon-reload
$ sudo systemctl restart olcne-agent.service
Note

If you change the port value for this service, you should take this into account for all other instructions provided in the documentation.