Current time: 09-25-2020, 03:04 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need a Help for Autoscaling Agent on Private WPT Server
08-16-2020, 10:59 PM (This post was last modified: 08-16-2020 11:01 PM by ankitjain082.)
Post: #1
Need a Help for Autoscaling Agent on Private WPT Server
Hi,

I want to run more than 300 test on private WPT so created a server with using "webpagetest-server-2014-11-25 (ami-fcfd6194)" AMI on AWS but not able to Auto scale Agent. I am sharing my settings.ini file details here

When I started server then it initiated single Agent only but I want to initiate agent for all location which I mentioned in settings.ini file so that will get result within 10 hours currently it's taking more that 15 hours.

Could anyone help me on this.

settings.ini ::

[settings]
product=WebPagetest
;contact=admin@my.email.com
; **************
; UI Integration
; **************
; Comment out the publishTo if you do not want to be able to upload your
; results to the public instance (this is useful for sharing internal tests
; with external users)
publishTo=www.webpagetest.org
;Uncomment map=1 if you want to enable the map-based picker
map=1
#lighthouse=1
; Integrate with cloudshark
tcpdump_view="http://cloudshark.org/view?url="
; *********************
; Test options/defaults
; *********************
enableVideo=1
; Run tests concurrently across test machines
shard_tests=1
; Maximum number of runs allowed per test
maxruns=50
; Allow (1) or disable (0) testing of sites on private IP addresses (http://
192.168.0.1/ for example).
allowPrivate=1
#ec2_use_server_private_ip=1
; image quality (defaults to 30)
;iq=75
;save png full-resolution screen shots
;pngss=1
; *************
; Server Config
; *************
; disable gzip compressing the result text files
;nogzip=1
;Log tests that take longer than X seconds
;slow_test_time=240
; beanstalkd memory queue for tests (only the default 11300 port is supported
right now)
beanstalkd=127.0.0.1
beanstalk_api_only=1
; Automatically update from git hourly.
; (assumes a git clone and just runs "git pull origin master" as the web user).
gitUpdate=1
; Automatically update test agents hourly (pulls the latest test agents from the
provided server)
agentUpdate=http://cdn.webpagetest.org/
; ***********************
; Test result integration
; ***********************
;tsview time-series database
;tsviewdb=http://<server:port>/src/v1/
; Serialize the test results to a log file in JSON format for
; bulk logs processing (splunk, logster, flume, etc).
; The directories must already exist and have permissions set so the web server
; user can write to it.
;
; logTestResults - file for the page-level data to be logged
; logTestRequests - file for the per-request data (each request for every test
will be logged as a separate record)
; logPrivateTests - Set to 0 to disable logging of tests marked private (defaults
to logging all tests)
;
;logTestResults=/var/log/webpagetest/page_data.log
;logTestRequests=/var/log/webpagetest/requests.log
;logPrivateTests=0
;
; showslow (beacon rate is a percent of results to allow for sampling)
;
;showslow=http://www.showslow.com
;beaconRate=100
;showslow_key=<your showslow API key>
; **************
; Test Archiving
; **************
; archiving to local storage - directory to archive test files (must include trailing
slash)
;archive_dir=/data/archive/
; archiving to s3 (using the s3 protocol, not necessarily just s3)
;archive_s3_server=s3.amazonaws.com
;archive_s3_key=<access key>
;archive_s3_secret=<secret>
;archive_s3_bucket=<bucket>
;archive_s3_url=http://s3.amazonaws.com/
;Number of days to keep tests locally before archiving
archive_days=2
; *************
; EC2 Instances
; *************
; Should we automatically delete any EBS volumes marked as "available"?
; This can be used to prevent orphaned volumes but only if the account
; doesn't expect to keep offline EBS volumes.
ec2_locations=1
ec2=1
#This will create one new test agent for every 5 tests queued
# *up to the location max*:
EC2.ScaleFactor=5
# The default max per location is 1, so you need to override it per
# location to enable scale out:
EC2.us-east-1.max=3
EC2.us-west-1-group.max=3
EC2.eu-west-1-group.max=3
EC2.eu-central-1-group.max=3
EC2.ap-northeast-1-group.max=3
EC2.ap-southeast-1-group.max=3
EC2.sa-east-1-group.max=3
EC2.us-west-1.min=1
EC2.eu-west-1.min=1
EC2.us-east-1.min=1
EC2.us-east-1-group.min=1
EC2.ap-northeast-1-group.min=1
EC2.ap-southeast-1-group.min=1
EC2.sa-east-1-group.min=1
;
;Settings from user data
ec2_key=MyKey
ec2_secret=MyKey
location_key=MyKey
ec2_initialized=1
EC2.east-1.securityGroup=sg-02bfb67a,sg-65382a17,sg-0ff026ee4490bf035
EC2.default=us-east-1
EC2.us-east-1.subnetId=subnet-8c22f1d5
EC2.IdleTerminateMinutes=15
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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