Current time: 09-25-2018, 04:52 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Private WPT Agent instance in AWS - have to give a kick every day
06-26-2018, 08:34 PM (This post was last modified: 06-26-2018 08:35 PM by stoz.)
Post: #1
Private WPT Agent instance in AWS - have to give a kick every day
Hi all,

I have setup a Win Server 2016 WPT agent in AWS Ireland region, based on latest AMI.

I have set 'Disable Termination' to True, so our WPT Server cannot kill it. This means that our server is not destroyed/created daily, and we are rolling with my custom EC2 instance each day (the reason for this is that it is assigned a static IP that has been firewall whitelisted to access our UAT environment, which is not wider public facing).

We are using a C5.Xlarge. The server is on every Monday to Friday, 9am to 5pm.

It has been a bit flakey recently, in that the Agent does not always register itself with the Server. The 'fix' has been to simply RDP on to the Agent, and this fixes it (we are also doing a daily `service nginx restart`).

I am looking at the scripts that run when a user logs on, and I can see two in the Task Scheduler:
* rdp-startup runs when Administrator logs on - this simply launches an RDP console connecting to localhost
* wptagent runs when webpagetest user logs on (not a user we have access to) and this calls the script c:\webpagetest\agent.cmd

I want to understand what controls the webpagetest user (presumably the WPT Server).

I want to try and automate the kick I give it, and have modified the scheduled task for the Administrator user to run every morning too, to save me having to logon.

If anyone has any other pointers that would be much appreciated.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Private WPT Agent instance in AWS - have to give a kick every day - stoz - 06-26-2018 08:34 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)