To restart AgilePoint Server running in Windows Service mode based on a schedule, do the
following.
Prerequisites
- Microsoft Windows PowerShell is installed on
your machine.
Instructions
- 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.
- 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]
- 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.
- 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' "
- 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.