Overview
Sometimes systems can have issues communicating using the correct IP for grid management, even if the preferred grid port is selected.
Solution
To check the current IPs being used for communication, you can use 'cat /run/quantastor/gridconnections.status'. Here is an example:
root@qs-demo-31:~# cat /run/quantastor/gridconnections.status
385f92a8-e65c-4965-2af8-cc2ec23af3a3=10.0.27.34
62992e89-a0ae-7ba3-9d5b-8c8b9dd8bb1a=10.0.27.33
9b15a2e1-0b31-938a-f374-201c79cab9d7=10.0.27.32
To override the IP to use, you need to create a <QS_UUID>.gpp file in /var/opt/osnexus/quantastor/, for example 'echo "192.168.27.34" > /var/opt/osnexus/quantastor/385f92a8-e65c-4965-2af8-cc2ec23af3a3.gpp'.
For the changes to take effect, you will need to restart the QuantaStor service. After, you'll see that the IP has now been changed. Here is an example:
root@qs-demo-31:~# cat /run/quantastor/gridconnections.status
385f92a8-e65c-4965-2af8-cc2ec23af3a3=192.168.27.34
62992e89-a0ae-7ba3-9d5b-8c8b9dd8bb1a=10.0.27.33
9b15a2e1-0b31-938a-f374-201c79cab9d7=10.0.27.32
Comments