Set up an Ansible control node
To set up an Ansible control node, you must identify a virtual or physical machine with network access to the management ports of all file and block nodes that can be used to configure the solution.
The following steps were tested on Ubuntu 22.04. For steps specific to your preferred Linux distribution, see the Ansible documentation.
-
Install Python 3.10 and ensure that the correct version of
pip
is installed.sudo apt install python3.10 -y sudo apt install python3-pip sudo apt install sshpass
-
Create symbolic links, ensuring that the Python 3.10 binary is used whenever
python3
orpython
is called.sudo ln -sf /usr/bin/python3.10 /usr/bin/python3 sudo ln -sf /usr/bin/python3 /usr/bin/python
-
Install the Python packages required by the NetApp BeeGFS collections.
python3 -m pip install ansible cryptography netaddr
To ensure that you are installing a supported version of Ansible and all required Python packages, refer to the BeeGFS collection's Readme file. Supported versions are also noted in Technical requirements. -
Verify that the correct versions of Ansible and Python are installed.
ansible --version ansible [core 2.17.2] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.10/dist-packages/ansible ansible collection location = /root/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible python version = 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] (/usr/bin/python3) jinja version = 3.1.4 libyaml = True
-
Store the Ansible inventories used to describe the BeeGFS deployment in source control systems such as Git or BitBucket, and then install Git to interact with those systems.
sudo apt install git -y
-
Set up passwordless SSH. This is the easiest way to allow Ansible to access the remote BeeGFS file nodes from the Ansible control node.
-
On the Ansible control node, if needed, generate a pair of public keys using
ssh-keygen
-
Set up passwordless SSH to each of the file nodes using
ssh-copy-id <ip_or_hostname>
Do not set up passwordless SSH to the block nodes. This is neither supported nor required.
-
-
Use Ansible Galaxy to install the version of the BeeGFS collection listed in Technical requirements.
This installation includes additional Ansible dependencies, such as the NetApp SANtricity software and host collections.
ansible-galaxy collection install netapp_eseries.beegfs:==3.2.0