This directory contains scripts which are used to configure/deploy the Simba Cloud on PRObE nodes (http://nmc-probe.org/), specifically using the Kodiak cluster. These scripts configure Apache Cassandra, OpenStack Swift, and Simba Gateways and Stores. They expect Cassandra and Swift are pre-installed in your PRObE disk image. For deployment elsewhere, please adapt these scripts for your needs.
- Set the parameters for your project in
probe_config.pyandconfig.sh.
proj: PRObE project name
exp: PRObE experiment name
image: PRObE disk image
num_nodes: number of nodes to provision
NOTE: proj and exp are important because they are also a part of the hostname of the assigned node.
-
Instantiate your PRObE experiment with the following command, if it hasn't already been instantiated. Inside
startup/run./makebed. -
Set the role for each node in your experiment in
probe_config.py. There are 5 roles:
swift_nodes: Swift storage nodes
proxy_nodes: Swift proxy nodes, and also Simba store nodes
cassandra_nodes: Cassandra nodes
gateway_nodes: Simba gateway nodes
other_nodes: Client node hosts -
Run
start_all.pyto configure and start Swift and Cassandra on each node. -
Run
simba.py prep allto configure the Simba service. -
Run
simba.py start allto start Simba service.
- Run
simba.py stop allto stop the Simba service. - Run
stop_all.pyto stop Cassandra and Swift.