This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
storperf:installing [2016/03/07 21:02] Mark Beierl [VM Configuration] |
storperf:installing [2016/03/08 18:58] (current) Mark Beierl [Running StorPerf Container] |
||
---|---|---|---|
Line 15: | Line 15: | ||
+ | # Create the StorPerf network | ||
+ | neutron net-create StorPerf_Agent_Network | ||
+ | neutron subnet-create StorPerf_Agent_Network 192.168.0.0/16 --name StorPerf_Agent_Subnet --gateway 192.168.0.1 | ||
+ | |||
+ | # Create the StorPerf Agent Flavor | ||
+ | nova flavor-create "StorPerf Agent" auto 4096 4 4 | ||
===== Running StorPerf in a VM ===== | ===== Running StorPerf in a VM ===== | ||
Line 42: | Line 48: | ||
# the disk larger. | # the disk larger. | ||
nova flavor-create StorPerf auto 8192 120 8 | nova flavor-create StorPerf auto 8192 120 8 | ||
+ | nova flavor-create "StorPerf Agent" auto 4096 4 4 | ||
| | ||
# (Optional) Create a keypair for your StorPerf master | # (Optional) Create a keypair for your StorPerf master | ||
Line 90: | Line 97: | ||
* 8000 for StorPerf's Graphite Web Server | * 8000 for StorPerf's Graphite Web Server | ||
- | Running the StorPerf Container with all ports open: | + | You might want to have the local disk used for storage as the default size of the docker container is only 10g. This is done with the -v option, mounting under /opt/graphite/storage/whisper |
+ | |||
+ | Running the StorPerf Container with all ports open and a local disk: | ||
- | docker run -t --env-file admin-rc -p 5022:22 -p 5000:5000 -p 8000:8000 opnfv/storperf | + | mkdir -p ~/carbon |
+ | sudo chown 33:33 ~/carbon | ||
+ | docker run -t --env-file admin-rc -p 5022:22 -p 5000:5000 -p 8000:8000 -v ~/carbon:/opt/graphite/storage/whisper --name storperf opnfv/storperf | ||
| | ||
This will then permit ssh to localhost port 5022 for CLI access. | This will then permit ssh to localhost port 5022 for CLI access. | ||