gwcloudlab / evade-4.7

Test evade vm with xen-4.7
Other
0 stars 1 forks source link

Test Web Benchmarking with remus #17

Open SunnyRaj opened 7 years ago

SunnyRaj commented 7 years ago

Try to request for the php pages when testing with remus/autobench because those are the ones that do a database request when called for. The html pages, when called via httperf (not via web browser) will just send the contents, and not do complex stuff like calling the php pages, get the database contents, display it using Javascript, etc.

twood02 commented 7 years ago

Michael confirmed that the index.html page we looked at in the browser is just doing javascript/html/css stuff. The only parts that do any real processing are the scripts in the php folder. Some of them access MySQL and some of the access memcached (which is also set up on that VM)

SunnyRaj commented 7 years ago

I rebooted nn44 on Friday, and it hasn't come back up yet. It shows a weird error on bootup saying "No DHCP or proxyDHCP offers were received. Exiting Intel Boot Agent." Harpreet and I looked into it and could not find an easy solution. I'm waiting to get @nks5295's help tomorrow to resolve this.

nks5295 commented 7 years ago

nn44's HDD died which is why we lost the VM. With the help of @mjost5v we have created a new opensuse VM with the webapp in it. This is hosted on nimbnode43 with the hostname nn43-xen-opensuse-01. This VM is backed up at /raid/backup2/Xen_Images/opensuse1310_webapp. I also understand how to reproduce the VM now and will put the steps to do so in #8

mjost5v commented 7 years ago

Just FYI, wikibench requires the following:

  1. Sun Java - 1.5, 1.6

  2. Java - MySQL connector that can be found in package libmysql-java. It is advised that the path to mysql.jar should be added to the CLASSPATH.

  3. HttpComponents-Client and HttpComponents-Core (Can be downloaded from http://hc.apache.org/downloads.cgi)

  4. Ant

The VM has the Oracle JDK and MySQL installed. Ant is simple to install (it should be provided by zypper; if not it's just download, untar and add its bin dir to PATH). Likewise, the HttpComponents requirements are just jar downloads.