Current time: 06-27-2017, 03:18 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
No Agents Connected - Setting up Private Instance using Community AMI's
05-01-2017, 01:45 PM
Post: #1
No Agents Connected - Setting up Private Instance using Community AMI's
Hello All,

Due to increasing usage of WPT, we decided to do a POC by setting up WPT Private instance on AWS using community AMI's. Once complete we can invest on scaling up setup.

For POC we choose non auto-scaling EC2 WPT Agent. Based on all given documentation and understanding I have setup 2 instances (sever and agent). Must be doing something wrong due to which when agent is not getting populated on server.

Following are the steps and configurations:
1. Setup server using "ami-fcfd6194" and user data as "api_key=<my api key> headless=0 iq=80 pngss=1"
2. assigned an elastic IP
3. Tested UI and it is coming up good.
4. Setup Agent using AMI "ami-4bd6dc2f" and user data "wpt_server=<elastic IP of server" wpt_location=TG_London_WPT wpt_key=<my api key>"
5. RDP to agent is coming good.
6. Edited settings.ini on server, commented ec2_locations and ec2 both to 0
7. Edited locations.ini on server as
[locations]
1=EC2
default=EC2

[EC2]
1=TG_London_WPT_wptdriver
2=TG_London_WPT_IE11
label="TG_London"
default=TG_London_WPT_wptdriver

[TG_London_WPT_wptdriver]
browser=Chrome,Firefox
label="WPT Agent"

[TG_London_WPT_IE11]
browser=IE 11
label="IE 11 Agent"
8. Restarted NGINX
9. <elastic Ip>/install
Test Locations

EC2 : My awesome tester agent
TG_London_WPT_wptdriver : My awesome tester agent with wptdriver - No Agents Connected
TG_London_WPT_IE11 : My awesome tester agent - No Agents Connected

Please do let me know if need any further information.
Thanks
Tarun


Attached File(s) Image(s)
   
Find all posts by this user
Quote this message in a reply
05-04-2017, 03:11 PM
Post: #2
RE: No Agents Connected - Setting up Private Instance using Community AMI's
Adding to post - On further debugging following are new observation.
Please see if this helps in suggesting resolution path.

1. Access log on server are getting updated for getWork.php. But sure if this entries are complete, as I don't see any query aguments.

Attachment - access_log.png

2. On hitting URL - http://<elastic IP>/?hidden=1, getting location list populated however this is not the one I have configure in locations.ini

Attachment - private.png


Attached File(s) Image(s)
       
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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