Commit 9bfde6a4 authored by Chris King's avatar Chris King
Browse files

Add preliminary ceph setup notes

parent 44bbd751
......@@ -10,11 +10,25 @@ eval $(ssh-agent)
ssh-add ~/path/to/private/key
```
# Quickstart
# Infrastructure deployment
* Copy `terraform.tfvars.example` to `terraform.tfvars` and edit in appropriate values
* Run `terraform init`
* Run `terraform apply`
1. Copy `terraform.tfvars.example` to `terraform.tfvars` and edit in appropriate values
2. Run `terraform init`
3. Run `terraform apply`
# Ceph setup
1. Log into the admin node with `ssh -i ~/.ssh-keys/openstack-fedora-vm -o GlobalKnownHostsFile=/dev/null -o StrictHostKeyChecking=no sles@$(terraform output -raw admin_ip_address)`
2. `sudo salt-key -F` to show nodes waiting to be accept into the salt-master; you may need to wait a bit before all nodes show up
3. `sudo salt-key --accept-all` to accept all nodes
4. `sudo salt \* saltutil.sync_all` to sync all the nodes (if there's an error, wait a moment and try again)
5. `sudo ceph-salt import cluster.json` to import configuration
6. `sudo ceph-salt config ls` to both verify that the config is correct and to create ceph-salt metadata files
7. `sudo ceph-salt update --reboot` to update all nodes; reboot the admin node with `sudo shutdown -r now`
8. log back in to the admin node (same command as step 1)
9. `sudo ceph-salt apply`
10. access the web interface (in the terraform outputs as `web_ip_address`)
# Variables
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment