Recent Posts

Pages: [1] 2 3 ... 10
1
SERT / Natutunan ko at may katuturan sa forum na ito, kaya marami akong nilalaman.
« Last post by CraigCox on November 28, 2018, 05:41:57 AM »
Ako ay isang tagapagpananaliksik na naglalapat upang matuto ng mga bagong bagay. Ano ang iyong natutunan upang idagdag?
2
How big is this large data source? How much data can I get because I suspect that this large content has deleted the database?
3
SPECvirt_sc2013 / Re: fail to setup appserver with v1.04
« Last post by RamyaMeruva on July 09, 2018, 01:16:11 PM »
JAVA_HOME on client1, set it to set to /usr/lib/jvm/jre.

-Ramya
4
SPECvirt_sc2013 / Re: fail to setup appserver with v1.04
« Last post by johnnyli on July 09, 2018, 05:51:05 AM »
Rebuild infraserver and webserver, confirmed infraserver1-int:/home/webfiles/downloads is mounted before Wafgen.
All ifconfig commands are dumped in attached.
This time the error is different. Don't it's better or worse than before.
Which JAVA_HOME need to set to /usr/lib/jvm/jre, All? I don't do this now.

[root@client1 SPECvirt]# cat primectrl.out
2018-07-09 04:35:46:588 Mon Jul 09 04:35:46 EDT 2018
2018-07-09 04:35:46:588 specvirt: maxPreRunTime = 481
2018-07-09 04:35:46:589 specvirt: runTime = 7200
2018-07-09 04:35:46:589 specvirt: runTime = 7200
2018-07-09 04:35:46:589 specvirt: runTime = 600
2018-07-09 04:35:46:589 specvirt: runTime = 600
2018-07-09 04:35:46:590 Validator: [WARNING] NUM_WORKLOADS value is: 2; should be 4
2018-07-09 04:35:46:591 Validator: [WARNING] Non-compliant configuration.
2018-07-09 04:35:46:591 [WARNING] This will be a non-compliant benchmark result!
2018-07-09 04:35:46:634 RMI server started: client1:9990
2018-07-09 04:35:46:641 modVals: [Ljava.lang.String;@41cb0ed6
2018-07-09 04:35:46:642 [INFO] This is a perf-only benchmark run. Skipping active idle polling interval.
2018-07-09 04:35:46:643 PrimeControl: preparing client drivers.
2018-07-09 04:35:46:643 PrimeControl: PRIME_HOST 0 = client1:1098
2018-07-09 04:35:46:643 PrimeControl: PRIME_HOST 1 = client1:1096
2018-07-09 04:35:46:644 PrimeControl: Master 1: client1:1098
2018-07-09 04:35:46:644 PrimeControl: Master 2: client1:1096
2018-07-09 04:35:46:645 PrimeControl: adding host client1:1098
2018-07-09 04:35:46:654 PrimeControl: adding host client1:1096
2018-07-09 04:35:46:665 First client for 0: 192.168.1.132:1091
client[0][0]: 192.168.1.132:1091
remote client "192.168.1.132" added
2018-07-09 04:35:46:670 PrimeControl: done in client for loop
2018-07-09 04:35:46:677 First client for 1: 192.168.1.132:1010
client[1][0]: 192.168.1.132:1010
2018-07-09 04:35:46:679 PrimeControl: done in client for loop
creating ClientThread-0
2018-07-09 04:35:46:681 PrimeControl: setting job: 0
2018-07-09 04:35:46:681 PrimeControl: client: waiting for all done...done=0
2018-07-09 04:35:46:681 PrimeControl: client: getting job...done=0
2018-07-09 04:35:46:681 PrimeControl: got job: 0
2018-07-09 04:35:46:681 PrimeControl: starting clients...
2018-07-09 04:35:46:681 PrimeControl: clients.length = 2
2018-07-09 04:35:46:681 PrimeControl: clients[0].length = 1
2018-07-09 04:35:46:681 PrimeControl: starting clients[0][0]: 192.168.1.132:1091
2018-07-09 04:35:46:691 PrimeControl: started client: 192.168.1.132:1091
2018-07-09 04:35:46:691 PrimeControl: clients[1].length = 1
2018-07-09 04:35:46:691 PrimeControl: starting clients[1][0]: 192.168.1.132:1010
2018-07-09 04:35:46:696 PrimeControl: started client: 192.168.1.132:1010
2018-07-09 04:35:46:696 PrimeControl: client: getting job...done=1
2018-07-09 04:35:46:696 PrimeControl: done starting clients
2018-07-09 04:35:46:696 PrimeControl: PTDs not used for this benchmark run!
2018-07-09 04:35:46:696 PrimeControl: starting 2 masters.
2018-07-09 04:35:46:697 PrimeControl: entered startMasters(); remoteMasters.length = 2
2018-07-09 04:35:46:698 PrimeControl: getting job... id=0
2018-07-09 04:35:46:699 PrimeControl: calling primeJob.setJob(10).
2018-07-09 04:35:46:699 PrimeControl: setting job: 10
2018-07-09 04:35:46:700 PrimeControl: got job: 10; id=0
2018-07-09 04:35:46:700 PrimeControl: switch: jobNumber=10; id=0
2018-07-09 04:35:46:700 PrimeControl: getting job... id=1
2018-07-09 04:35:46:700 PrimeControl: got job: 10; id=1
2018-07-09 04:35:46:700 PrimeControl: switch: jobNumber=10; id=1
2018-07-09 04:36:00:360 PrimeControl: getting job... id=1
2018-07-09 04:38:45:206 PrimeControl: getting job... id=0
2018-07-09 04:38:45:206 PrimeControl: calling primeJob.setJob(0).
2018-07-09 04:38:45:206 PrimeControl: setting job: 0
2018-07-09 04:38:45:206 PrimeControl: got job: 0; id=0
2018-07-09 04:38:45:207 PrimeControl: switch: jobNumber=0; id=0
2018-07-09 04:38:45:207 PrimeControl: got job: 0; id=1
2018-07-09 04:38:45:207 PrimeControl: master[0][0] sleeping 20 sec.
2018-07-09 04:38:45:207 PrimeControl: switch: jobNumber=0; id=1
2018-07-09 04:38:45:207 PrimeControl: master[0][1] sleeping 20 sec.
2018-07-09 04:39:05:207 PrimeControl: calling startMaster: client1:1098 for tile  0, benchmark 0
2018-07-09 04:39:05:207 PrimeControl: calling startMaster: client1:1096 for tile  0, benchmark 1
2018-07-09 04:39:05:215 PrimeControl: getting job... id=0
2018-07-09 04:39:05:215 PrimeControl: getting job... id=1
2018-07-09 04:39:05:215 PrimeControl: waiting on 2 prime client(s).
2018-07-09 04:39:05:395 Sending config to client1:1096
2018-07-09 04:39:05:400 Sending config to client1:1098
2018-07-09 04:39:05:427 specvirt: primeRmiStarted = 1; id=0
2018-07-09 04:39:05:504 specvirt: primeRmiStarted = 2; id=1
2018-07-09 04:39:05:859 [ERROR] Received abort signal from client1:1096. Terminating.
2018-07-09 04:39:05:859 PrimeControl: sending abortTest() to prime clients.
2018-07-09 04:39:05:859 PrimeControl: setting job: 6
2018-07-09 04:39:05:859 PrimeControl: got job: 6; id=1
2018-07-09 04:39:05:859 PrimeControl: switch: jobNumber=6; id=1
2018-07-09 04:39:05:859 PrimeControl: got job: 6; id=0
2018-07-09 04:39:05:859 PrimeControl: id=1, abortID=1
2018-07-09 04:39:05:860 PrimeControl: switch: jobNumber=6; id=0
2018-07-09 04:39:05:860 PrimeControl: getting job... id=1
2018-07-09 04:39:05:860 PrimeControl: id=0, abortID=1
2018-07-09 04:39:05:860 PrimeControl: getting job... id=0
2018-07-09 04:39:05:860 PrimeControl: stopping remote client processes
2018-07-09 04:39:05:860 PrimeControl: setting job: 1
2018-07-09 04:39:05:860 PrimeControl: client: waiting for all done...done=0
2018-07-09 04:39:05:860 PrimeControl: got job: 1
2018-07-09 04:39:05:860 PrimeControl: calling client.stopClients() ...
.
2018-07-09 04:39:06:215 PrimeControl: calling primeJob.setJob(1)
2018-07-09 04:39:06:216 PrimeControl: setting job: 1
2018-07-09 04:39:06:216 PrimeControl: got job: 1; id=0
2018-07-09 04:39:06:216 PrimeControl: switch: jobNumber=1; id=0
2018-07-09 04:39:06:216 PrimeControl: got job: 1; id=1
2018-07-09 04:39:06:216 PrimeControl: Naming lookup for 192.168.1.132:9900
2018-07-09 04:39:06:216 PrimeControl: switch: jobNumber=1; id=1
2018-07-09 04:39:06:216 PrimeControl: Naming lookup for 192.168.1.132:9901
2018-07-09 04:39:06:228 PrimeControl: done in Naming lookup for 192.168.1.132:9900
2018-07-09 04:39:06:228 PrimeControl: calling getHostVMs()...
2018-07-09 04:39:06:231 PrimeControl: hostVMs[0] = specdelivery:8001,specdb:8001
2018-07-09 04:39:06:231 PrimeControl: calling getBuildNumber()...
2018-07-09 04:39:07:865 PrimeControl: client: getting job...done=1
2018-07-09 04:39:07:865 PrimeControl: stopping local client threads
2018-07-09 04:39:07:865 PrimeControl: setting job: 2
2018-07-09 04:39:07:865 PrimeControl: client: waiting for all done...done=0
2018-07-09 04:39:07:865 PrimeControl: got job: 2
2018-07-09 04:39:07:866 PrimeControl: exiting clientThread.
2018-07-09 04:39:07:866 Terminating client processes
2018-07-09 04:39:07:866 PrimeControl: setting job: 1
2018-07-09 04:39:07:866 Sending termination signal to clientmgr processes
2018-07-09 04:39:07:866 PrimeControl: setting job: 2
2018-07-09 04:39:07:866 Terminating prime client processes
2018-07-09 04:39:07:866 PrimeControl: setting job: 4
2018-07-09 04:39:07:866 Sending termination signal to prime clientmgr processes
2018-07-09 04:39:07:866 PrimeControl: setting job: 5
2018-07-09 04:39:07:866 Exiting...
2018-07-09 04:39:07:866 calling control.stop()...
2018-07-09 04:39:07:867 PrimeControl: terminating run. Please wait...
2018-07-09 04:39:07:869 specvirt: benchmark run failed!
2018-07-09 04:39:07:869 specvirt: Done!

[root@client1 SPECvirt]# cat Clientmgr1_1096.out
2018-07-09 04:35:26:623 Creating clientmgr using RMI Registry port 1096
2018-07-09 04:35:26:658 client1:1096 ready...
Mon Jul  9 04:35:45 EDT 2018: Starting webInit.sh
Filesystem           1K-blocks     Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      17938864  5009552  12011400  30% /
Stopping httpd: [  OK  ]
Filesystem           1K-blocks     Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      17938864  5009556  12011396  30% /
tmpfs                   510048       72    509976   1% /dev/shm
/dev/vda1               487652    40116    421936   9% /boot
/dev/vdb              51475068 33286072  15567556  69% /home/webfiles/downloads
Filesystem           1K-blocks     Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      17938864  5044960  11975992  30% /
Stopping httpd: [  OK  ]
Starting httpd: [  OK  ]
Filesystem           1K-blocks     Used Available Use% Mounted on
/dev/mapper/VolGroup-lv_root
                      17938864  5044996  11975956  30% /
tmpfs                  5064832       72   5064760   1% /dev/shm
/dev/vda1               487652    40116    421936   9% /boot
infraserver1-int:/home/webfiles/downloads
                      51475072 33286016  15567616  69% /var/www/html/support/downloads
Mon Jul  9 04:35:59 EDT 2018: Ending webInit.sh
2018-07-09 04:39:05:211 Starting client1:1096
2018-07-09 04:39:05:212 Command line: [java, -jar, specweb.jar, -sv, client1, -svp, 9990, -id, 1, -tile, 0, -wkld, 1]
2018-07-09 04:39:05:214 Started client1:1096

Messages from: client1:1096
-> 2018-07-09 04:39:05:314 Looking up SPECvirt controller: client1
-> 2018-07-09 04:39:05:394 masterID: 1, tile: 0, workload: 1
-> 2018-07-09 04:39:05:394 hostname: client1
-> 2018-07-09 04:39:05:490 Mon Jul 09 04:39:05 EDT 2018
-> 2018-07-09 04:39:05:503 RMI server started: client1:9901
-> 2018-07-09 04:39:05:509 SpecwebControl: **** SPECweb2005 benchmark started
-> 2018-07-09 04:39:05:510 SpecwebControl: * Running SPECweb_Support workload
-> 2018-07-09 04:39:05:510 Configuration: Clearing workload.
-> 2018-07-09 04:39:05:512 RemoteLoadGen: Total clients: 1
-> 2018-07-09 04:39:05:535 HttpRequestSched: [ERROR] Valid SERVER_TIME value not provided in header.
-> 2018-07-09 04:39:05:535 HttpRequestSched: [ERROR] Response was:
-> HTTP/1.1 200 OK
-> Date: Mon, 09 Jul 2018 08:39:05 GMT
-> Server: Apache/2.2.15 (CentOS)
-> X-Powered-By: PHP/5.3.3
-> Content-Length: 139
-> Content-Type: text/html; charset=UTF-8
->
-> <html>
->    <head>
->       <title>SPECweb2005 Support Workload Init</title>
->    </head>
->    <body>
-> Error: Could not write to init_vars.php
->    </body>
-> </html>
-> 2018-07-09 04:39:05:535 SPECweb_Support: [ERROR] Error! setServerDate() failed.
-> 2018-07-09 04:39:05:536 RemoteLoadGen: [ERROR] Unable to successfully initialize workload variables. Terminating.
-> 2018-07-09 04:39:05:536 SpecwebControl: [ERROR] Could not create all client threads.
-> 2018-07-09 04:39:05:536 SpecwebControl: [ERROR] setupWorkload() failed!
-> 2018-07-09 04:39:05:536 SpecwebControl: [ERROR] runTests() failed!
-> 2018-07-09 04:39:05:536 SpecwebControl: [ERROR] Benchmark run failed!
-> 2018-07-09 04:39:05:538 SpecwebControl: Terminating run. Please wait...
5
SPECvirt_sc2013 / Re: fail to setup appserver with v1.04
« Last post by RamyaMeruva on July 06, 2018, 01:42:43 PM »
Hi Johnnyli,

Can you check if your infraserver nfs share is mounted on webserver before you ran Wafgen?
On my specvirt_sc setup, I have JAVA_HOME set to /usr/lib/jvm/jre. Can u change this and retry?
The connection refused errors you're seeing are probably because of some kind of network misconfiguration. From the details u shared so far, everything looks good to me. Can u also post ifconfig output from all your VMs here?

Thanks,
Ramya
6
SPECvirt_sc2013 / Re: fail to setup appserver with v1.04
« Last post by johnnyli on July 06, 2018, 04:21:56 AM »
Use a 10Gb card for internal network, issue is the same.

[root@client1 ~]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
##
# Defaults used for the SPECvirt_sc2013 Example VM Setup Guide.

# External VM-to-client communications
192.168.1.180     infraserver infraserver1
192.168.1.137     webserver webserver1
192.168.1.161     mailserver mailserver1
192.168.1.151     appserver appserver1 specdelivery specemulator
192.168.1.178     dbserver dbserver1
192.168.1.170     batchserver batchserver1

192.168.1.132   client1 specdriver

# Internal VM-to-VM only communications
10.10.10.36       infraserver1-int
10.10.10.37       webserver1-int
10.10.10.38       appserver1-int
10.10.10.39       dbserver1-int specdb

[root@client1 other_scripts]# ./test_hostentries.sh
Testing the external IP addresses of the Virtual Machines and client

Pinging Infraserver1 VM (infraserver1)...Passed!
Pinging Webserver1 VM (webserver1)...Passed!
Pinging Mailserver1 VM (mailserver1)...Passed!
Pinging Appserver1 VM (specdelivery)...Passed!
Pinging DBserver1 VM (dbserver1)...Passed!
Pinging Batchserver1 VM (batchserver1)...Passed!
Pinging Client1 VM (client1)...Passed!

Testing the internal IP addresses of the Virtual Machines
This does not work on the client since it has no internal
network adapter. Run this test on web/infraserver and app/dbserver.

Pinging Infraserver1 VM (infraserver1-int)...FAILED
Pinging Webserver1 VM (webserver1-int)...FAILED
Pinging Appserver1 VM (appserver1-int)...FAILED
Pinging DBserver VM (specdb)...FAILED

[root@webserver other_scripts]# ./test_hostentries.sh
Testing the external IP addresses of the Virtual Machines and client

Pinging Infraserver1 VM (infraserver1)...Passed!
Pinging Webserver1 VM (webserver1)...Passed!
Pinging Mailserver1 VM (mailserver1)...Passed!
Pinging Appserver1 VM (specdelivery)...Passed!
Pinging DBserver1 VM (dbserver1)...Passed!
Pinging Batchserver1 VM (batchserver1)...Passed!
Pinging Client1 VM (client1)...Passed!

Testing the internal IP addresses of the Virtual Machines
This does not work on the client since it has no internal
network adapter. Run this test on web/infraserver and app/dbserver.

Pinging Infraserver1 VM (infraserver1-int)...Passed!
Pinging Webserver1 VM (webserver1-int)...Passed!
Pinging Appserver1 VM (appserver1-int)...Passed!
Pinging DBserver VM (specdb)...Passed!

[root@client1 SPECvirt]# tail -f primectrl.out
2018-07-05 23:48:07:925 PrimeControl: entered startMasters(); remoteMasters.length = 2
2018-07-05 23:48:07:927 PrimeControl: getting job... id=0
2018-07-05 23:48:07:927 PrimeControl: getting job... id=1
2018-07-05 23:48:07:929 PrimeControl: calling primeJob.setJob(10).
2018-07-05 23:48:07:929 PrimeControl: setting job: 10
2018-07-05 23:48:07:929 PrimeControl: got job: 10; id=1
2018-07-05 23:48:07:929 PrimeControl: got job: 10; id=0
2018-07-05 23:48:07:930 PrimeControl: switch: jobNumber=10; id=1
2018-07-05 23:48:07:930 PrimeControl: switch: jobNumber=10; id=0
2018-07-05 23:48:21:689 PrimeControl: getting job... id=1
2018-07-05 23:51:18:642 PrimeControl: getting job... id=0
2018-07-05 23:51:18:643 PrimeControl: calling primeJob.setJob(0).
2018-07-05 23:51:18:643 PrimeControl: setting job: 0
2018-07-05 23:51:18:643 PrimeControl: got job: 0; id=0
2018-07-05 23:51:18:643 PrimeControl: switch: jobNumber=0; id=0
2018-07-05 23:51:18:643 PrimeControl: got job: 0; id=1
2018-07-05 23:51:18:643 PrimeControl: master[0][0] sleeping 20 sec.
2018-07-05 23:51:18:643 PrimeControl: switch: jobNumber=0; id=1
2018-07-05 23:51:18:644 PrimeControl: master[0][1] sleeping 20 sec.
2018-07-05 23:51:38:644 PrimeControl: calling startMaster: client1:1098 for tile  0, benchmark 0
2018-07-05 23:51:38:644 PrimeControl: calling startMaster: client1:1096 for tile  0, benchmark 1
2018-07-05 23:51:38:652 PrimeControl: getting job... id=0
2018-07-05 23:51:38:655 PrimeControl: getting job... id=1
2018-07-05 23:51:38:655 PrimeControl: waiting on 2 prime client(s).
2018-07-05 23:51:38:830 Sending config to client1:1098
2018-07-05 23:51:38:885 specvirt: primeRmiStarted = 1; id=0
2018-07-05 23:51:38:908 Sending config to client1:1096
2018-07-05 23:51:38:996 specvirt: primeRmiStarted = 2; id=1
.
2018-07-05 23:51:39:656 PrimeControl: calling primeJob.setJob(1)
2018-07-05 23:51:39:656 PrimeControl: setting job: 1
2018-07-05 23:51:39:656 PrimeControl: got job: 1; id=1
2018-07-05 23:51:39:656 PrimeControl: switch: jobNumber=1; id=1
2018-07-05 23:51:39:656 PrimeControl: got job: 1; id=0
2018-07-05 23:51:39:656 PrimeControl: Naming lookup for 192.168.1.132:9901
2018-07-05 23:51:39:657 PrimeControl: switch: jobNumber=1; id=0
2018-07-05 23:51:39:657 PrimeControl: Naming lookup for 192.168.1.132:9900
2018-07-05 23:51:39:669 PrimeControl: done in Naming lookup for 192.168.1.132:9900
2018-07-05 23:51:39:669 PrimeControl: calling getHostVMs()...
2018-07-05 23:51:39:672 PrimeControl: hostVMs[0] = specdelivery:8001,specdb:8001
2018-07-05 23:51:39:672 PrimeControl: calling getBuildNumber()...
2018-07-05 23:51:41:684 RMI name lookup error for  prime client 192.168.1.132 on port 9901: exception java.rmi.ConnectException: Connection refused to host: 192.168.1.132; nested exception is:
        java.net.ConnectException: Connection refused (Connection refused)
2018-07-05 23:51:41:684 PrimeControl: done in Naming lookup for 192.168.1.132:9901
2018-07-05 23:51:41:684 PrimeControl: calling getHostVMs()...
2018-07-05 23:51:41:684 PrimeControl: [ERROR] masters[0] build numbers (null) do not match the specvirt prime controller's (80). Please update complete harness and retry.
2018-07-05 23:51:41:685 PrimeControl: [ERROR] masters[1] build numbers (null) do not match the specvirt prime controller's (80). Please update complete harness and retry.
2018-07-05 23:51:41:685 PrimeControl: [ERROR] startMasters() failed!
2018-07-05 23:51:41:685 PrimeControl: sending abortTest() to prime clients.
2018-07-05 23:51:41:685 PrimeControl: setting job: 6
Exception in thread "Thread-6" java.lang.NullPointerException
        at org.spec.virt.PrimeControl$PrimeClientThread.run(PrimeControl.java:1650)
2018-07-05 23:53:54:928 PrimeControl: buildNum[0] = 80
2018-07-05 23:53:54:928 PrimeControl: getting job... id=0
2018-07-05 23:53:54:928 PrimeControl: got job: 6; id=0
2018-07-05 23:53:54:929 PrimeControl: switch: jobNumber=6; id=0
2018-07-05 23:53:54:929 PrimeControl: id=0, abortID=-1
2018-07-05 23:53:54:929 PrimeControl: masters[0]=client1:1098
2018-07-05 23:54:05:683 specvirt: waiting on 1 prime clients.
2018-07-05 23:54:07:329 PrimeControl: getting job... id=0
7
SPECvirt_sc2013 / Re: fail to setup appserver with v1.04
« Last post by johnnyli on July 05, 2018, 09:53:24 PM »
Hi Ramya,
  I confirmed again in all VMs, firewall and SELinux are disabled, JAVA is 1,7.0_181, specvirt version is SPECvirt_sc2013 v1.1, build: 80.
  There are httpd error & access logs in webserver, but not in infraserver
  Do I need to set $JAVA_HOME in all VMs? I see $JAVA_HOME is /usr/lib/jvm/java-openjdk in appserver and client1, is /usr/lib/jvm/jre in dbserver, and is empty in the rest.
  I don't use 10GbE LAN card, I'll find one.

[root@webserver logs]# service iptables status
iptables: Firewall is not running.
[root@webserver logs]# service ip6tables status
ip6tables: Firewall is not running.
[root@webserver logs]# cat /proc/cmdline
ro root=/dev/mapper/VolGroup-lv_root rd_NO_LUKS LANG=en_US.UTF-8 rd_NO_MD rd_LVM_LV=VolGroup/lv_swap SYSFONT=latarcyrheb-sun16 crashkernel=129M@0M rd_LVM_LV=VolGroup/lv_root  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM rhgb quiet selinux=0 audit=0
[root@webserver logs]# java -version
java version "1.7.0_181"
OpenJDK Runtime Environment (rhel-2.6.14.8.el6_9-x86_64 u181-b00)
OpenJDK 64-Bit Server VM (build 24.181-b00, mixed mode)
[root@webserver logs]# java -jar /opt/SPECvirt/specvirt.jar -v
SPECvirt_sc2013 v1.1, build: 80
[root@webserver logs]# ping infraserver
PING infraserver (192.168.1.180) 56(84) bytes of data.
64 bytes from infraserver (192.168.1.180): icmp_seq=1 ttl=64 time=1.42 ms
^C
--- infraserver ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 959ms
rtt min/avg/max/mdev = 1.423/1.423/1.423/0.000 ms
[root@webserver logs]# ping infraserver1-int
PING infraserver1-int (192.168.1.145) 56(84) bytes of data.
64 bytes from infraserver1-int (192.168.1.145): icmp_seq=1 ttl=64 time=0.998 ms
64 bytes from infraserver1-int (192.168.1.145): icmp_seq=2 ttl=64 time=0.372 ms
64 bytes from infraserver1-int (192.168.1.145): icmp_seq=3 ttl=64 time=0.360 ms
^C
--- infraserver1-int ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2192ms
rtt min/avg/max/mdev = 0.360/0.576/0.998/0.299 ms

[root@webserver ~]# java -jar /opt/SPECvirt/specvirt.jar -v
SPECvirt_sc2013 v1.1, build: 80

[root@infraserver logs]# cd /etc/httpd/logs/
[root@infraserver logs]# ls
[root@webserver ~]# cd /etc/httpd/logs/
[root@webserver logs]# ls
access_log  error_log  ssl_access_log  ssl_error_log  ssl_request_log
[root@webserver logs]# cat access_log
192.168.1.132 - - [05/Jul/2018:03:28:37 -0400] "GET /support/init.php?BESIM_HOST=infraserver&BESIM_PORT=81&BESIM_URI=/fcgi-bin/besim_fcgi.fcgi&BESIM_PERSISTENT=false&PADDING_DIR=/var/www/html/support/dynamic_padding/&SMARTY_DIR=/var/www/html/Smarty-2.6.26/libs/&SMARTY_SUPPORT_DIR=/var/www/html/support/&SEND_CONTENT_LENGTH=true HTTP/1.1" 200 537 "-" "-"
[root@webserver logs]# cat error_log
[Thu Jul 05 03:25:33 2018] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 05 03:25:34 2018] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 05 03:25:34 2018] [notice] Digest: done
[Thu Jul 05 03:25:34 2018] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[root@webserver logs]# cat ssl_access_log

[root@webserver logs]# cat ssl_error_log
[Thu Jul 05 03:25:33 2018] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Thu Jul 05 03:25:34 2018] [warn] RSA server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[root@webserver logs]# cat ssl_request_log
8
SPECvirt_sc2013 / Re: fail to setup appserver with v1.04
« Last post by RamyaMeruva on July 05, 2018, 02:48:35 PM »
Hi Johnnyli,

The Connection refused errors are usually due to firewall, SELinux or SPECpoll not running. I see that u have all of these in place.Can u confirm if webserver & infraserver can ping each other via internal network? are you using Java JDK 7 on all VMs?

From the prime client, can u please check the specvirt build version of all workload VMs, clients, and prime client as follows:

java -jar /opt/SPECvirt/specvirt.jar -v

U should see the following :

SPECvirt_sc2013 v1.1, build: 80

if u don't, you need to make sure you've installed SPECvirt correctly on all VMs.

Also, are you using 10GbE between the clients and SUT? One tile uses about 1.4GbE per tile. If you don't have 10GbE, you can split off webserver onto its own client.

Can u also attach httpd error & access logs from webserver & infraserver?

Thanks,
Ramya
9
SPECvirt_sc2013 / Re: fail to setup appserver with v1.04
« Last post by johnnyli on July 05, 2018, 04:41:39 AM »
set NUM_WORKLOADS = 2, the test is failed. Detail results and logs are attached, any suggestion?

[root@client1 SPECvirt]# cat /etc/hosts
127.0.0.1   localhost localhost.localdomain localhost4 localhost4.localdomain4
::1         localhost localhost.localdomain localhost6 localhost6.localdomain6
##
# Defaults used for the SPECvirt_sc2013 Example VM Setup Guide.

# External VM-to-client communications
192.168.1.180     infraserver infraserver1
192.168.1.137     webserver webserver1
192.168.1.161     mailserver mailserver1
192.168.1.151     appserver appserver1 specdelivery specemulator
192.168.1.178     dbserver dbserver1
192.168.1.170     batchserver batchserver1

192.168.1.132   client1 specdriver

# Internal VM-to-VM only communications
192.168.1.145       infraserver1-int
192.168.1.149       webserver1-int
192.168.1.173      appserver1-int
192.168.1.152       dbserver1-int specdb

[root@client1 other_scripts]# ./test_hostentries.sh
Testing the external IP addresses of the Virtual Machines and client

Pinging Infraserver1 VM (infraserver1)...Passed!
Pinging Webserver1 VM (webserver1)...Passed!
Pinging Mailserver1 VM (mailserver1)...Passed!
Pinging Appserver1 VM (specdelivery)...Passed!
Pinging DBserver1 VM (dbserver1)...Passed!
Pinging Batchserver1 VM (batchserver1)...Passed!
Pinging Client1 VM (client1)...Passed!

Testing the internal IP addresses of the Virtual Machines
This does not work on the client since it has no internal
network adapter. Run this test on web/infraserver and app/dbserver.

Pinging Infraserver1 VM (infraserver1-int)...Passed!
Pinging Webserver1 VM (webserver1-int)...Passed!
Pinging Appserver1 VM (appserver1-int)...Passed!
Pinging DBserver VM (specdb)...Passed!

[root@client1 SPECvirt]# ./pollmecheck.sh
Tile 1 VMs:
dbserver1:
root      2392     1  0 03:19 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n dbserver1-int -p 8001
appserver1:
root      2117     1  0 03:19 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n appserver -app -p 8001
batchserver1:
root      1963     1  0 03:19 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n batchserver -p 8001
mailserver1:
root      1968     1  0 03:21 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n mailserver -p 8001
infraserver1:
root      2050     1  0 03:19 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n infraserver1-int -p 8001
webserver1:
root      2175     1  0 03:20 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n webserver1-int -web -p 8001

[root@client1 SPECvirt]# tail -f primectrl.out
2018-07-05 03:25:20:681 PrimeControl: entered startMasters(); remoteMasters.length = 2
2018-07-05 03:25:20:682 PrimeControl: getting job... id=0
2018-07-05 03:25:20:684 PrimeControl: calling primeJob.setJob(10).
2018-07-05 03:25:20:684 PrimeControl: setting job: 10
2018-07-05 03:25:20:684 PrimeControl: getting job... id=1
2018-07-05 03:25:20:684 PrimeControl: got job: 10; id=1
2018-07-05 03:25:20:684 PrimeControl: switch: jobNumber=10; id=1
2018-07-05 03:25:20:685 PrimeControl: got job: 10; id=0
2018-07-05 03:25:20:685 PrimeControl: switch: jobNumber=10; id=0
2018-07-05 03:25:34:379 PrimeControl: getting job... id=1
2018-07-05 03:28:17:260 PrimeControl: getting job... id=0
2018-07-05 03:28:17:260 PrimeControl: calling primeJob.setJob(0).
2018-07-05 03:28:17:260 PrimeControl: setting job: 0
2018-07-05 03:28:17:261 PrimeControl: got job: 0; id=0
2018-07-05 03:28:17:261 PrimeControl: switch: jobNumber=0; id=0
2018-07-05 03:28:17:261 PrimeControl: got job: 0; id=1
2018-07-05 03:28:17:261 PrimeControl: master[0][0] sleeping 20 sec.
2018-07-05 03:28:17:261 PrimeControl: switch: jobNumber=0; id=1
2018-07-05 03:28:17:261 PrimeControl: master[0][1] sleeping 20 sec.
2018-07-05 03:28:37:261 PrimeControl: calling startMaster: client1:1098 for tile  0, benchmark 0
2018-07-05 03:28:37:262 PrimeControl: calling startMaster: client1:1096 for tile  0, benchmark 1
2018-07-05 03:28:37:270 PrimeControl: getting job... id=0
2018-07-05 03:28:37:271 PrimeControl: getting job... id=1
2018-07-05 03:28:37:271 PrimeControl: waiting on 2 prime client(s).
2018-07-05 03:28:37:420 Sending config to client1:1098
2018-07-05 03:28:37:452 Sending config to client1:1096
2018-07-05 03:28:37:454 specvirt: primeRmiStarted = 1; id=0
2018-07-05 03:28:37:543 specvirt: primeRmiStarted = 2; id=1
.
2018-07-05 03:28:38:272 PrimeControl: calling primeJob.setJob(1)
2018-07-05 03:28:38:272 PrimeControl: setting job: 1
2018-07-05 03:28:38:272 PrimeControl: got job: 1; id=1
2018-07-05 03:28:38:272 PrimeControl: switch: jobNumber=1; id=1
2018-07-05 03:28:38:272 PrimeControl: got job: 1; id=0
2018-07-05 03:28:38:273 PrimeControl: switch: jobNumber=1; id=0
2018-07-05 03:28:38:273 PrimeControl: Naming lookup for 192.168.1.132:9901
2018-07-05 03:28:38:273 PrimeControl: Naming lookup for 192.168.1.132:9900
2018-07-05 03:28:38:285 PrimeControl: done in Naming lookup for 192.168.1.132:9900
2018-07-05 03:28:38:285 PrimeControl: calling getHostVMs()...
2018-07-05 03:28:38:288 PrimeControl: hostVMs[0] = specdelivery:8001,specdb:8001
2018-07-05 03:28:38:289 PrimeControl: calling getBuildNumber()...
2018-07-05 03:28:40:275 RMI name lookup error for  prime client 192.168.1.132 on port 9901: exception java.rmi.ConnectException: Connection refused to host: 192.168.1.132; nested exception is:
        java.net.ConnectException: Connection refused (Connection refused)
2018-07-05 03:28:40:275 PrimeControl: done in Naming lookup for 192.168.1.132:9901
2018-07-05 03:28:40:275 PrimeControl: calling getHostVMs()...
2018-07-05 03:28:40:275 PrimeControl: [ERROR] masters[0] build numbers (null) do not match the specvirt prime controller's (80). Please update complete harness and retry.
2018-07-05 03:28:40:276 PrimeControl: [ERROR] masters[1] build numbers (null) do not match the specvirt prime controller's (80). Please update complete harness and retry.
2018-07-05 03:28:40:276 PrimeControl: [ERROR] startMasters() failed!
2018-07-05 03:28:40:276 PrimeControl: sending abortTest() to prime clients.
2018-07-05 03:28:40:276 PrimeControl: setting job: 6
Exception in thread "Thread-6" java.lang.NullPointerException
        at org.spec.virt.PrimeControl$PrimeClientThread.run(PrimeControl.java:1650)
2018-07-05 03:30:52:981 PrimeControl: buildNum[0] = 80
2018-07-05 03:30:52:981 PrimeControl: getting job... id=0
2018-07-05 03:30:52:981 PrimeControl: got job: 6; id=0
2018-07-05 03:30:52:981 PrimeControl: switch: jobNumber=6; id=0
2018-07-05 03:30:52:981 PrimeControl: id=0, abortID=-1
2018-07-05 03:30:52:981 PrimeControl: masters[0]=client1:1098
2018-07-05 03:31:01:651 specvirt: waiting on 1 prime clients.
2018-07-05 03:31:03:299 PrimeControl: getting job... id=0

[root@appserver ~]# tail -f /tmp/pollme.out
Creating RMI listener using RMI Registry port 8001
appserver/192.168.1.151:8001 ready...
2018-07-05 03:31:01:196 contacting host 'specdb'...
appserver: 1530775861209
specdb: 1530775861418

[root@dbserver ~]# tail -f /tmp/pollme.out
Creating RMI listener using RMI Registry port 8001
dbserver1-int/192.168.1.152:8001 ready...
dbserver1-int: 1530775861418

[root@webserver ~]# tail -f /tmp/pollme.out
Creating RMI listener using RMI Registry port 8001
webserver1-int/192.168.1.149:8001 ready...
10
SPECvirt_sc2013 / Re: fail to setup appserver with v1.04
« Last post by johnnyli on July 05, 2018, 04:38:13 AM »
set NUM_WORKLOADS = 1, all the test passed. Detail results and logs are attached

[root@client1 SPECvirt]# ./pollmecheck.sh
Tile 1 VMs:
dbserver1:
root      2317     1  0 00:08 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n dbserver1-int -p 8001
appserver1:
root      2069     1  0 00:08 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n appserver -app -p 8001
batchserver1:
root      1963     1  0 00:08 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n batchserver -p 8001
mailserver1:
root      1970     1  0 00:08 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n mailserver -p 8001
infraserver1:
root      2049     1  0 00:08 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n infraserver1-int -p 8001
webserver1:
root      2097     1  0 00:10 ?        00:00:00 java -jar /opt/SPECpoll/pollme.jar -n webserver1-int -web -p 8001

[root@client1 SPECvirt]# tail -f primectrl.out
2018-07-05 02:39:10:532 PrimeControl: clients in runtime decremented: 0
2018-07-05 02:39:10:536 PrimeControl: stopping result polling.
2018-07-05 02:39:10:536 PrimeControl: setting job: 2
2018-07-05 02:39:10:536 PrimeControl: waiting for all workloads to stop...
2018-07-05 02:39:10:539 PrimeControl: finished pollMaster().
2018-07-05 02:39:10:539 PrimeControl: getting job... id=0
2018-07-05 02:39:10:539 PrimeControl: got job: 2; id=0
2018-07-05 02:39:10:539 PrimeControl: switch: jobNumber=2; id=0
2018-07-05 02:39:10:539 Sending resetCounters(false) command.
2018-07-05 02:39:10:541 PrimeControl: getting job... id=0
2018-07-05 02:39:13:616 PrimeControl: client1:1098 (PRIME_HOST[0][0]) run complete; numStarted = 0
2018-07-05 02:39:13:617 PrimeControl: calling doneMonitor.notifyAll().
2018-07-05 02:39:20:537 PrimeControl: all workloads stopped
2018-07-05 02:39:20:537 PrimeControl: stopping data reporting.
2018-07-05 02:39:20:537 PrimeControl: setting job: 8
2018-07-05 02:39:20:537 PrimeControl: exiting dataReporter thread.
2018-07-05 02:39:20:537 PrimeControl: got job: 8; id=0
2018-07-05 02:39:20:537 PrimeControl: switch: jobNumber=8; id=0
2018-07-05 02:39:20:538 PrimeControl: calling getValidationRept() ...
2018-07-05 02:39:20:540 No validation errors reported by workloads.
2018-07-05 02:39:20:540 PrimeControl: getting job... id=0
2018-07-05 02:39:20:540 PrimeControl: setting job: 9
2018-07-05 02:39:20:540 PrimeControl: got job: 9; id=0
2018-07-05 02:39:20:540 PrimeControl: switch: jobNumber=9; id=0
2018-07-05 02:39:20:540 PrimeControl: calling getResFiles() ...
2018-07-05 02:39:20:551 PrimeControl: aggregate audit...
2018-07-05 02:39:20:555 PrimeControl: getting job... id=0
2018-07-05 02:39:20:555 PrimeControl: validating aggregate audit...
2018-07-05 02:39:20:556 PrimeControl: setting job: 12
2018-07-05 02:39:20:556 PrimeControl: got job: 12; id=0
2018-07-05 02:39:20:557 PrimeControl: switch: jobNumber=12; id=0
2018-07-05 02:39:20:566 PrimeControl: getting job... id=0
2018-07-05 02:39:20:566 PrimeControl: setting job: 13
2018-07-05 02:39:20:566 PrimeControl: got job: 13; id=0
2018-07-05 02:39:20:566 PrimeControl: switch: jobNumber=13; id=0
2018-07-05 02:39:20:573 PrimeControl: getting job... id=0
2018-07-05 02:39:20:573 PrimeControl: calling primeJob.setJob(4)
2018-07-05 02:39:20:573 PrimeControl: setting job: 4
2018-07-05 02:39:20:573 PrimeControl: got job: 4; id=0
2018-07-05 02:39:20:573 PrimeControl: switch: jobNumber=4; id=0
2018-07-05 02:39:20:573 PrimeControl: stopping prime client client1:1098
2018-07-05 02:39:22:576 PrimeControl: getting job... id=0
2018-07-05 02:39:22:610 PrimeControl: calling primeJob.setJob(11).
2018-07-05 02:39:22:610 PrimeControl: setting job: 11
2018-07-05 02:39:22:610 PrimeControl: got job: 11; id=0
2018-07-05 02:39:22:610 PrimeControl: switch: jobNumber=11; id=0
2018-07-05 02:39:22:610 PrimeControl: getting job... id=0
2018-07-05 02:39:22:610 PrimeControl: calling primeJob.setJob(5)
2018-07-05 02:39:22:610 PrimeControl: setting job: 5
2018-07-05 02:39:22:611 PrimeControl: got job: 5; id=0
2018-07-05 02:39:22:611 PrimeControl: switch: jobNumber=5; id=0
2018-07-05 02:39:22:611 PrimeControl: exiting primeClientThread.
2018-07-05 02:39:22:611 PrimeControl: stopping clients.
2018-07-05 02:39:22:611 PrimeControl: stopping remote client processes
2018-07-05 02:39:22:611 PrimeControl: setting job: 1
2018-07-05 02:39:22:611 PrimeControl: client: waiting for all done...done=0
2018-07-05 02:39:22:611 PrimeControl: got job: 1
2018-07-05 02:39:22:611 PrimeControl: calling client.stopClients() ...
2018-07-05 02:39:24:614 PrimeControl: client: getting job...done=1
2018-07-05 02:39:24:614 PrimeControl: stopping local client threads
2018-07-05 02:39:24:614 PrimeControl: setting job: 2
2018-07-05 02:39:24:614 PrimeControl: client: waiting for all done...done=0
2018-07-05 02:39:24:614 PrimeControl: got job: 2
2018-07-05 02:39:24:614 PrimeControl: exiting clientThread.
2018-07-05 02:39:24:614 PrimeControl: done stopping clients.
  > Loading Raw Result File..

2018-07-05 02:39:24:654 calling control.stop()...
2018-07-05 02:39:24:654 PrimeControl: terminating run. Please wait...
2018-07-05 02:39:25:657 specvirt: Done!

[root@appserver ~]# tail -f /tmp/pollme.out
Creating RMI listener using RMI Registry port 8001
appserver/192.168.1.151:8001 ready...
2018-07-05 00:19:09:083 contacting host 'specdb'...
appserver: 1530764349092
specdb: 1530764349295

[root@dbserver ~]# tail -f /tmp/pollme.out
Creating RMI listener using RMI Registry port 8001
dbserver1-int/192.168.1.152:8001 ready...
dbserver1-int: 1530764349295
Pages: [1] 2 3 ... 10