Mongoose Deployment
1. download the latest Mongoose tar file:
root@zhu [15:30:34] [/home/daisy_hu]-> #ls
mongoose-3.2.1.tgz
2. tar –xvf mongoose-3.2.1.tgz
3. start mongoose driver services:
root@zhu [15:33:44] [/home/daisy_hu/mongoose-3.2.1]
-> # java -jar mongoose-storage-driver-service.jar
4. set configuration properties
java -jar mongoose.jar--storage-net-node-addrs=10.249.249.176,10.249.249.177,10.249.249.178--load-limit-count=100000 --item-data-size=8KB--storage-auth-id=newsuperuser@SANITY.LOCAL--storage-auth-secret=D8tx9DPA0a/a8tDDv2JmV2yXM/5GDnz1rhCRdYBN
5. install the storage mock nagaina :
root@zhu[15:49:45] [/home/daisy_hu/nagaina-3.3.0]
-> # java -jar nagaina.jar
Start mongoose:
root@zhu [16:21:36][/home/daisy_hu/mongoose-3.2.1]
-> # java -jar mongoose.jar
6. runningresults:
2017-04-19T03:23:49,542 I LoadJob main Load job"2017.04.19.03.23.24.668" done
2017-04-19T03:23:49,556 I BasicLoadMonitor main
CREATE-1x1:n=(25261/0); t[s]=(23.154/21.8824); size=(24.67GB); TP[op/s]=(1090.99/1193.89);BW[MB/s]=(1090.9/1193.9); dur[us]=(642/468/4936); lat[us]=(194/23/10185)
2017-04-19T03:23:49,559 I SequentialJob main jsonScenario#1169474473: finished the sequential execution ofjsonScenario#1169474473 child jobs
2017-04-19T03:23:49,559 I JsonScenario main Scenario end
Mock:
2017-04-19T03:24:19,863 I BasicStorageIoStats BasicStorageIoStats Capacity used: 25261 (2.5%),containers count: 1
Operation|Count |Failed |TP[op/s]avg |TP[op/s]last|BW[MB/s]avg|BW[MB/s]last
----------|------------|------------|------------|------------|------------|------------
Write | 25261| 0| 279.556| 59.319| 279.556| 59.319
Read | 0| 0| 0.000| 0.000| 0.000| 0.000
Delete | 0| 0| 0.000| 0.000| |
Mongoose 2.5.6
1. download mongoose-2.5.6.tar
2. tar –xvf mongoose-2.5.6.tar
3. each of mongoose load services should be startedusing the following command:
java –jar mongoose.jar server
4. set configuration properties
root@zhu [15:23:19] [/home/daisy_hu/mongoose-2.5.6]
-> # java-Dauth.secret=D8tx9DPA0a/a8tDDv2JmV2yXM/5GDnz1rhCRdYBN-Dauth.id=newsuperuser@sanity.local-Ditem.dst.container=bucket1 -Drun.id=MY-TEST-Dstorage.addrs=10.249.249.176,10.249.249.177,10.249.249.178-Ditem.data.size=10KB -Dload.type=create-Dload.threads=40-Dload.limit.count=10 -Dstorage.http.api=s3-jar mongoose.jar standalone
On VM 10.249.249.91:
sudo java-Dauth.secret=D8tx9DPA0a/a8tDDv2JmV2yXM/5GDnz1rhCRdYBN-Dauth.id=newsuperuser@sanity.local -Ditem.dst.container=ECSBucket_nonEncrypt -Drun.id=MY-TEST -Dstorage.addrs=10.249.249.176,10.249.249.177,10.249.249.178-Ditem.data.size=200MB -Dload.type=create -Dload.threads=100-Dload.limit.count=10000 -Dstorage.http.api=s3 -jar mongoose.jar standalone
有问题不能运行root@zhu [18:50:23][/home/daisy_hu/mongoose-2.5.6]
-> # java-Dstorage.addrs=10.249.249.176,10.249.249.177,10.249.249.178-Dload.limit.count=100000 -Ditem.d ata.size=8KB -Dauth.id=newsuperuser@SANITY.LOCAL-Dauth.secret=D8tx9DPA0a/a8tDDv2JmV2yXM/5GDnz1rhCRdYBN - jarmongoose.jar
5. start the web storage mock first
java –jar mongoose.jar wsmock
6. then open another console and start mongooseitself:
java –jar mongoose.jar
7. results:
2017-04-24T02:29:36,103 I JsonScenario main Scenario end
2017-04-24T02:29:36,107 ILoadExecutorBase 0-S3-Create-1x1-closeHook "0-S3-Create-1x1" summary: n=(25911/0); size=(25.30GB);t[s]=(239.1/237.0); TP[op/s]=(108.4/98.49); BW[MB/s]=(108.4/98.49); dur[us]=(9204/5939/7574/8739/10696/19090);lat[us]=(2120/373/1610/1940/2517/8209)
Mock:
2017-04-24T02:40:37,711 IBasicStorageIOStats BasicStorageIOStats Capacity used: 25911 (2.6%), containers count: 2
Operation |Count |Failed |TP[op/s]avg |TP[op/s]last|BW[MB/s]avg|BW[MB/s]last
----------|------------|------------|------------|------------|------------|------------
Write | 25911| 0| 26.430| 0.000| 26.430| 0.000
Read | 0| 0| 0.000| 0.000| 0.000| 0.000
Delete | 0| 0| 0.000| 0.000| |