Set up an Ansible control node
To set up an Ansible control node, you must designate a virtual or physical machine with network access to all file and block nodes deployed for the BeeGFS on NetApp solution.
Review the Technical requirements for a list of recommended package versions. The following steps were tested on Ubuntu 22.04. For steps specific to your preferred Linux distribution, see the Ansible documentation.
-
From your Ansible control node, install the following Python and Python Virtual Environment packages.
sudo apt-get install python3 python3-pip python3-setuptools python3.10-venv
-
Create a Python virtual environment
python3 -m venv ~/pyenv
-
Activate the virtual environment.
source ~/pyenv/bin/activate
-
Install the required Python packages within the activated virtual environment.
pip install ansible netaddr cryptography passlib
-
Install the BeeGFS collection using Ansible Galaxy.
ansible-galaxy collection install netapp_eseries.beegfs
-
Verify the installed versions of Ansible, Python, and the BeeGFS collection match the Technical requirements.
ansible --version ansible-galaxy collection list netapp_eseries.beegfs
-
Set up passwordless SSH 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.
ssh-keygen
-
Set up passwordless SSH to each of the file nodes.
ssh-copy-id <ip_or_hostname>
-
|
Do not set up passwordless SSH to the block nodes. This is neither supported nor required. |