![Cliff Parsons](/assets/img/avatar_default.png)
This commit contains the scripts for the Valet Devstack plugin. The plugin.sh file is the entry point into the plugin. These scripts provide the "stack", "unstack" and "clean" capabilities. Task: #4591 Story: #2001035 Change-Id: Ib7ec301802bb05969ebc83d060823c0bb8146f53
12 lines
496 B
Bash
Executable File
12 lines
496 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Configure MUSIC components
|
|
#===========================
|
|
|
|
sed -i 's/Test Cluster/Valet Cluster/g' /etc/cassandra/cassandra.yaml
|
|
sed -i 's/snitch: SimpleSnitch/snitch: GossipingPropertyFileSnitch/g' /etc/cassandra/cassandra.yaml
|
|
echo "quorumListenOnAllIPs=true" >> /etc/zookeeper/conf/zoo.cfg
|
|
echo "server.1=${HOST_IP}:2888:3888" >> /etc/zookeeper/conf/zoo.cfg
|
|
sed -i "s/replace this text with the cluster-unique zookeeper's instance id (1-255)/1/g" /var/lib/zookeeper/myid
|
|
|