hazelcast / hazelcast-simulator

A tool for stress testing Hazelcast
Apache License 2.0
87 stars 74 forks source link

Support mounting additional EBS devices #819

Open jerrinot opened 8 years ago

jerrinot commented 8 years ago

For HotRestart tests I would like Provisioner to create new machine instances with a specific disk size.

Also I'd like Provisioner to mount a specified EBS device or instance store.

See https://jclouds.apache.org/guides/aws-ebs/

pveentjer commented 8 years ago

Can't this be done through the init.sh script @jerrinot ?

jerrinot commented 8 years ago

the init.sh script need to call AWS API. EBS devices have to be provisioned before they are mounted.

pveentjer commented 8 years ago

Sure. But can it be done through the init.sh script? I would rather enhance this script than adding more functionality in the coordinator itself to do this stuff.

jerrinot commented 8 years ago

everything can be done via shell script - it's turing complete:) but is it practical? no. it would also require AWS libs on workers boxes I presume.

maybe init.sh is good enough as long as we provide an example how to do it. (commented out) also you'll need to decommission the EBS device at some point.