forked from dsariel/swiftacular
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
executable file
·22 lines (16 loc) · 1.23 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# vagrant machines provisioning - need to change to bigger cluster
export VAGRANT_LOG=debug
vagrant destroy -f
vagrant up
sleep 120
#on a preprovisioned baremetal nodes change manually authorized key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCpVRhUXzuS2S+CaHw4jBi+dfNtDA+yKnaJY8I9DjvNfgApO2IGTbWLlUAmKM7biU7eQ/IakVRSp1p61cxqwl2Cf80eauWwHUxjneFBQ7V9HP7i/p51O2m8UUDXABnTQfRDK0cN+I8xe3GSBKRYlm7at3dYF/hRBHTYTRntRdMavpvo6gNiLTN7mOZHZnFOJgbVkURMhAzSfcah2wQWoCKKtug9b/KfLvRb2L9bnaz+4lc4h+Pm4hb8tAZhNNPD5J3piQwI7pwrUbc0b4I0iRNamilDZ3q2+NtfhWBgCkdeuUvijnYjgN2bKKutAPna8R7b0X5h+kMOFLlLzb0lpNydVyEdpToXrky4AX9wj+87PN44ZJi0ewXIOXOpQt9QWHom9DGXrzCkNHI47s1F8fwaEIUufv1B85pe9tmyziq8V5/+XAoLCLpov7eJG8qQbrVWjXfywlLv6HO6IWzEj2CCm6J+ziL7iXOCFBWIsj0qee0qE9IYEqtQOFGC0hiXHH8= dsariel@fedora
# on all vms created with virtual machine manager - 2 proxy + 8 sorage nodes
run scripts/setup.sh to inject ssh key to one machine. Then just clone it 7 times
# Then run
export ANSIBLE_LIBRARY=/srv/modules/custom_modules:/srv/modules/vendor_modules:/opt/swiftacular/library
virtualenv -p python3 venv
. venv/bin/activate
pip install ansible==8.2.0
ansible-playbook -i hosts prepare_cluster_nodes.yaml
ansible-playbook -i hosts deploy_swift_cluster.yml --extra-vars "rhos_release=16.1"