Related pages:

Your Rating:
Results:
PatheticBadOKGoodOutstanding!
17 rates

You can enable the Database Agent to start automatically whenever the machine starts up. To do so, create a batch file for starting the agent.

  1. Create a batch file containing the following line:

    For 64-bit systems, allocating 2 GB of initial heap size
    java -Xmx2048m -Djava.library.path="<db_gent_home>\auth\x64" -jar <db_agent_home>\db-agent.jar

    For a 32-bit system, the set java.library.path="<db_agent_home>\auth\x32"

    If you are monitoring multiple databases, you must increase the size of the memory allocation. For more information, see Database Visibility System Requirements.

  2. Click Control panel > Scheduled Tasks.

  3. Select the batch file to execute. This is the file created in step 2.

  4. Create a new task.
  5. Select When my computer starts. When setting the agent to automatically start up using Task Scheduler when the machine starts or restarts, ensure the agent runs with the highest privileges available. 

  6. Enter the administrator's credentials to run the Database Agent as that user.

  7. Click Finish

  8. To start the Database Agent for the first time, right-click the scheduled task and click Run.