https://github.com/ksingh7/ceph-prerequisite
Old code only for referenee
https://github.com/ksingh7/ceph-prerequisite
Last synced: 3 months ago
JSON representation
Old code only for referenee
- Host: GitHub
- URL: https://github.com/ksingh7/ceph-prerequisite
- Owner: ksingh7
- Created: 2017-02-21T08:57:18.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-21T08:59:24.000Z (about 8 years ago)
- Last Synced: 2025-01-08T20:15:35.637Z (4 months ago)
- Language: Python
- Size: 634 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ceph-prerequisite
This repository aims to configure systems before deploying Ceph on top of them. This repository should ideally be used before ceph-ansible repository.
Some of the changes that we are automating using this repository are:
* Add correct pre pouplated /etc/hosts file
* Configure network interface bonds and VLANs for admin, Ceph public and Ceph cluster network
* Add local user sys admins
* Add SSH keys for sys admins
* Add opsview/collectd monitoringThis repo also has the logic to update HP / Dell firmwares. This is not a part of the default site.yml playbook, it has to be run separately.
The main playbook which calls all the others is called `site.yml`.
Setup:
ansible-galaxy install -r requirements.yml
Run:
ansible-playbook -i inventories/$HOSTS_FILE -c ssh site.yml
To upgrade firmware:
ansible-playbook -i inventories/$HOSTS_FILE firmware-update.yml -l LIMIT_TO THESE_SERVERSYou should be careful with running the firmware update playbook. Test the firmware updates on a subset of similar test HW before running against production.