|
2 | 2 | Multinode Test Environment
|
3 | 3 | ==========================
|
4 | 4 |
|
5 |
| -Set up hosts |
6 |
| -============ |
7 |
| -1. Create four baremetal instances with a centos 8 stream LVM image, and a |
8 |
| - Centos 8 stream vm |
9 |
| -2. SSH into each baremetal and run ``sudo chown -R centos:.`` in the home |
10 |
| - directory, then add the lines:: |
11 |
| - |
12 |
| - 10.0.0.34 pelican pelican.service.compute.sms-lab.cloud |
13 |
| - 10.205.3.187 pulp-server pulp-server.internal.sms-cloud |
14 |
| - |
15 |
| - to ``/etc/hosts`` (if you're waiting on them starting up, you can progress |
16 |
| - until ``kayobe overcloud host configure`` without this step) |
17 |
| - |
18 |
| -Basic Kayobe Setup |
19 |
| -================== |
20 |
| -1. SSH into the VM |
21 |
| -2. ``sudo dnf install -y python3-virtualenv`` |
22 |
| -3. ``mkdir src`` and ``cd src`` |
23 |
| -4. Clone https://github.com/stackhpc/stackhpc-kayobe-config.git, then checkout |
24 |
| - commit f31df6256f1b1fea99c84547d44f06c4cb74b161 |
25 |
| -5. ``cd ..`` and ``mkdir venvs`` |
26 |
| -6. ``virtualenv venvs/kayobe`` and source ``venvs/kayobe/bin/activate`` |
27 |
| -7. ``pip install -U pip`` |
28 |
| -8. ``pip install ./src/kayobe`` |
29 |
| -9. Acquire the Ansible Vault password for this repository, and store a copy at |
30 |
| - ``~/vault-pw`` |
31 |
| -10. ``export KAYOBE_VAULT_PASSWORD=$(cat ~/vault-pw)`` |
32 |
| - |
33 |
| -Config changes |
34 |
| -============== |
35 |
| -1. In etc/kayobe/ansible/requirements.yml remove version from vxlan |
36 |
| -2. In etc/kayobe/ansible/configure-vxlan.yml, change the group of |
37 |
| - vxlan_interfaces so that the last octet is different e.g. 224.0.0.15 |
38 |
| -3. Also under vxlan_interfaces, add vni:x where x is between 500 and 1000 |
39 |
| -4. Also under vxlan_interfaces, check vxlan_dstport is not 4789 (this causes |
40 |
| - conflicts, change to 4790) |
41 |
| -5. In etc/kayobe/environments/ci-multinode/tf-networks.yml, edit admin_ips so |
42 |
| - that the compute and controller IPs line up with the |
43 |
| - instances that were created earlier, remove the other IPs for seed and |
44 |
| - cephOSD |
45 |
| -6. In etc/kayobe/environments/ci-multinode/network-allocation.yml, remove all |
46 |
| - the entries and just assign ``aio_ips:`` an empty set ``[]`` |
47 |
| -7. In etc/kayobe/environments/ci-multinode/inventory/hosts, remove the seed |
48 |
| -8. run stackhpc-kayobe-config/etc/kayobe/ansible/growroot.yml (if this fails, |
49 |
| - manually increase the partition size on each host) |
50 |
| - |
51 |
| -Final steps |
52 |
| -=========== |
53 |
| -1. ``source kayobe-env --environment ci-aio`` |
54 |
| -2. Run ``kayobe overcloud host configure`` |
55 |
| -3. Run ``kayobe overcloud service deploy`` |
56 |
| - |
| 5 | +The ``ci-multinode`` environment provides a Kayobe configuration for multi-node |
| 6 | +clouds to be used for test and development purposes. It is designed to be used |
| 7 | +in combination with the `terraform-kayobe-multinode |
| 8 | +<https://github.com/stackhpc/terraform-kayobe-multinode>`__ repository. Follow |
| 9 | +the instructions in terraform-kayobe-multinode to deploy a cluster using this |
| 10 | +configuration. This documentation covers configuration of additional services |
| 11 | +beyond the defaults. This includes: |
| 12 | + |
| 13 | +* Manila |
| 14 | +* Magnum |
| 15 | +* Wazuh |
57 | 16 |
|
58 | 17 | Manila
|
59 | 18 | ======
|
|
0 commit comments