Scheduling an AgilePoint Server Restart in Windows Service Mode

To restart AgilePoint Server running in Windows Service mode based on a schedule, do the following.

Prerequisites

Navigation

  1. Open Notepad.

Instructions

  1. In NotePad, create a new file with the following command, and save it as a PowerShell script file with a name such as apserverrestart.ps1:
    Restart-Service [AgilePoint Server Manager service name]

    If you have multiple AgilePoint Server service instances, create a separate script file for each instance.

  2. If you have an NLB environment, in NotePad, create a new file with the following command, and save it as a PowerShell script file with a name such as csmrestart.ps1:
    Restart-Service [Cluster Server Manager service name]
  3. In Notepad, create a new file with the following command, and save it as a batch file with a name such as apserverrestart.bat:
    PowerShell -command "& '[path]\apserverrestart.ps1' "

    If you have multiple AgilePoint Server service instances, create a separate script file for each instance.

  4. If you have an NLB environment, in Notepad, create a new file with the following command, and save it as a batch file with a name such as csmrestart.bat:
    PowerShell -command "& '[path]\csmrestart.ps1' "
  5. Use Windows Scheduler to execute the batch files according to the schedule you want.
    In an NLB environment, AgilePoint recommends restarting the servers on different days to maintain system availability. If you restart them on the same day, it is possible to experience system downtime.