Start and Stop

Start

Start MA under the uavagent/bin directory.

cd uavagent/bin
sh start.sh netcard name JDK path

  • The host would have multiple IPs if there are several netcards or virtual netcards. MA specifies an IP based on the name of a netcard when getting started; otherwise, the IP whose serial No. is 1 shall be used by default (correct in most cases). Check the correspondence between the name of the netcard and IP with ifconfig command.
  • Configuration is not needed if the JDK version is above 1.7 in the JAVA environment of the local machine; otherwise, configure the JDK path after the command.

Check whether MA is successfully started or not with the JPS command.

Check whether MA functions properly with UAV GodEye in AppHub.

Change to the directory ../../uavagent.metadata/logs to check the startup log. Successful start if no error information.

Stop

The keep-alive script will be added to crontab of the user when MA gets started. MA shall get restarted automatically if the process is killed to stop the MA. Execute the command below to stop MA:

sh bin/stop.sh

Kill the process if it does not stop after the command above is executed.

Resource Limiter

The resource limiter shall run routine check on the use of system resources by MA. MA shall be automatically restarted when its memory use or CPU use is above the threshold set in MA Configuration and continues for a period.

results matching ""

    No results matching ""