services:rhev
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| services:rhev [2020/03/31 15:57] – djgalloway | services:rhev [2024/08/23 00:41] (current) – [Gluster] dmick | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| ===== Summary ===== | ===== Summary ===== | ||
| We have have a RHEV instance running on [[hardware: | We have have a RHEV instance running on [[hardware: | ||
| + | |||
| + | Currently the RHEV Hosts installed version is 4.3.5-1 | ||
| The [[http:// | The [[http:// | ||
| Line 10: | Line 12: | ||
| ===== Storage ===== | ===== Storage ===== | ||
| - | Two new storage chassis are being used as the storage nodes. | ||
| - | A third host, [[hardware:senta|senta01]], is configured as the arbiter node for the Gluster volume. | + | **Note: this was the original configuration. |
| + | < | ||
| + | |||
| + | A third host, [[hardware: | ||
| + | </ | ||
| ---- | ---- | ||
| ==== Gluster ==== | ==== Gluster ==== | ||
| - | All VMs (except the Hosted Engine which is on the '' | + | <del>All VMs (except the Hosted Engine which is on the '' |
| If there is a storage node failure, RHEV will use the remaining Gluster node and Gluster will automatically heal as part of the recovery process. | If there is a storage node failure, RHEV will use the remaining Gluster node and Gluster will automatically heal as part of the recovery process. | ||
| - | A single software RAID6 was decided upon as the most redundant and reliable storage configuration. | + | A single software RAID6 was decided upon as the most redundant and reliable storage configuration. |
| {{ : | {{ : | ||
| Line 52: | Line 57: | ||
| The Hypervisors (hv{01..04}) and Storage nodes (ssdstore{01..02}) have entries in ''/ | The Hypervisors (hv{01..04}) and Storage nodes (ssdstore{01..02}) have entries in ''/ | ||
| + | Note: it is important that the version of glusterfs packages on the hypervisors does not exceed the version on the storage nodes (i.e. client is older or equal to server). | ||
| ---- | ---- | ||
| Line 81: | Line 87: | ||
| - **Storage Domain:** '' | - **Storage Domain:** '' | ||
| - **Allocation Policy:** '' | - **Allocation Policy:** '' | ||
| + | - '' | ||
| + | - '' | ||
| - **OK** | - **OK** | ||
| - At the bottom, **Network Interfaces** tab | - At the bottom, **Network Interfaces** tab | ||
| Line 105: | Line 113: | ||
| * '' | * '' | ||
| * '' | * '' | ||
| + | |||
| + | === A note about installing RHEL/CentOS === | ||
| + | You need to specify the URL for the installation repo as a kernel parameter. | ||
| + | |||
| + | Otherwise you'll end up with an error like '' | ||
| ==== ovirt-guest-agent ==== | ==== ovirt-guest-agent ==== | ||
| Line 173: | Line 186: | ||
| ==== Emergency RHEV Web UI Access w/o VPN ==== | ==== Emergency RHEV Web UI Access w/o VPN ==== | ||
| In the event the OpenVPN gateway VM is inaccessible/ | In the event the OpenVPN gateway VM is inaccessible/ | ||
| + | |||
| + | ==== GFIDs listed in '' | ||
| + | This is https:// | ||
| + | |||
| + | As long as the unsynced entries are GFIDs only and they only appear under the arbiter (senta01) server, you can paste **just** the GFIDs into a ''/ | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | set -ex | ||
| + | |||
| + | VOLNAME=ssdstorage | ||
| + | for id in $(gluster volume heal $VOLNAME info | egrep ' | ||
| + | file=$(find / | ||
| + | if [ $(getfattr -d -m . -e hex $(echo $file) | grep trusted.afr.$VOLNAME* | grep " | ||
| + | echo " | ||
| + | for i in $(getfattr -d -m . -e hex $(echo $file) |grep trusted.afr.$VOLNAME*|cut -f1 -d' | ||
| + | setfattr -x $i $(echo $file) | ||
| + | done | ||
| + | else | ||
| + | echo "not deleting xattr for gfid $id" | ||
| + | fi | ||
| + | done | ||
| + | </ | ||
| ---- | ---- | ||
| Line 194: | Line 230: | ||
| I used to have a summary of steps here but it's safer to just follow the [[https:// | I used to have a summary of steps here but it's safer to just follow the [[https:// | ||
| + | ==== VM has paused due to no storage space error ==== | ||
| + | We started seeing this issue on VMs like teuthology and it looks like it's a known bug I updated / | ||
| + | |||
| + | https:// | ||
| ==== Growing a VM's virtual disk ==== | ==== Growing a VM's virtual disk ==== | ||
| - Log into the [[https:// | - Log into the [[https:// | ||
| Line 219: | Line 259: | ||
| ==== Onlining Hot-Plugged CPU/RAM ==== | ==== Onlining Hot-Plugged CPU/RAM ==== | ||
| https:// | https:// | ||
| + | |||
| + | < | ||
| + | #!/bin/bash | ||
| + | # Based on script by William Lam - http:// | ||
| + | |||
| + | # Bring CPUs online | ||
| + | for CPU_DIR in / | ||
| + | do | ||
| + | CPU=${CPU_DIR## | ||
| + | echo "Found cpu: ' | ||
| + | CPU_STATE_FILE=" | ||
| + | if [ -f " | ||
| + | if grep -qx 1 " | ||
| + | echo -e " | ||
| + | else | ||
| + | echo -e " | ||
| + | echo 1 > " | ||
| + | fi | ||
| + | else | ||
| + | echo -e " | ||
| + | fi | ||
| + | done | ||
| + | |||
| + | # Bring all new Memory online | ||
| + | for RAM in $(grep line / | ||
| + | do | ||
| + | echo "Found ram: ${RAM} ..." | ||
| + | if [[ " | ||
| + | echo " | ||
| + | echo $RAM | sed " | ||
| + | else | ||
| + | echo " | ||
| + | fi | ||
| + | done | ||
| + | </ | ||
services/rhev.1585670220.txt.gz · Last modified: by djgalloway
