Private Instance Woes
|
05-27-2011, 01:39 AM
Post: #1
|
|||
|
|||
Private Instance Woes
Hello,
I am trying to get pagetest running on a private instance. I have created a webserver using a base CentOS image and have installed necessary software (apache, php5.2.16, gd, etc.). For the test agents, I have utilized the Amazon AMI Image, using the following userdata strings when spun up: wpt_server=wpt.domain.com wpt_location=Test_loc wpt_browser="IE 8" Here is a copy of my locations.ini file on the webserver: [locations] 1=Test_loc default=Test_loc [Test_loc] 1=Test default=Test label=Test Location [Test] browser=IE 8 ;browserExe=pagetest.exe latency=0 label="Test Location" ;key=TestKey123 Here is a copy of the urlblast.ini file on the test agent server: [Configuration] Test Type=4 Startup Delay=10 Log File=c:\pagetest\log Thread Count=1 Timeout=60 Reboot Interval=720 Clear Cache Interval=0 browser=IE 8 debug=1 localDir=/wpt.domain.com/work/ ; we're running in EC2 so get the config dynamically from user data ec2=1 Here is what I get from the urlblast log: 2011/05/26 15:35:24 -1 8 1 20 0 Debug Work request response was empty 2011/05/26 15:35:35 -1 8 1 20 0 Debug Requesting work from wpt.domain.com/work/getwork.phpvideo=1&location=Test_loc&k ey=&ec2=i-ff9f4591&pc=PAGETEST-IE8 2011/05/26 15:35:35 -1 8 1 20 0 Debug Job of t ype 'text/plain; charset=UTF-8' received 2011/05/26 15:35:35 -1 8 1 20 0 Debug Work request response was empty Any help would be greatly appreciated! Thanks, Scott |
|||
05-27-2011, 01:45 AM
Post: #2
|
|||
|
|||
RE: Private Instance Woes
You actually don't need to modify the urlblast.ini on the agent, the settings will be pulled from the user data.
The problem is with the location you are specifying to the agent. You should use "Test" instead of "Test_loc". Test_loc is a higher-level that can include multiple different configurations (different browsers, etc). The actual location for a given agent is the leaf location (Test in this case). Thanks, -Pat |
|||
05-27-2011, 02:04 AM
Post: #3
|
|||
|
|||
RE: Private Instance Woes
(05-27-2011 01:45 AM)pmeenan Wrote: You actually don't need to modify the urlblast.ini on the agent, the settings will be pulled from the user data. Thank you, but excuse my ignorance....what exactly do I need to change in the locations.ini file? :-) Scott |
|||
05-27-2011, 05:46 AM
Post: #4
|
|||
|
|||
RE: Private Instance Woes
You need to change your user data string to be:
wpt_server=wpt.domain.com wpt_location=Test wpt_reboot_interval=0 (reboot interval because the AMI's seem to be more stable if you don't reboot them but it's unrelated). Or, if you prefer to keep the same agent instance running you can change the locations.ini to look like this: [locations] 1=Test_location default=Test_location [Test_location] 1=Test_loc default=Test_loc label=Test Location [Test_loc] browser=IE 8 ;browserExe=pagetest.exe latency=0 label="Test Location" ;key=TestKey123 |
|||
05-27-2011, 05:49 AM
Post: #5
|
|||
|
|||
RE: Private Instance Woes
Thank you. I have gotten it working (I just spun up a new image with the change to userdata). I'll play with the config file a bit later, I'm now working on getting the video to go! :-)
Thank you! Scott |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)