This repository contains ansible playbooks that assist in configuring NetApp E-Series and attached hosts for use with a particular application.
These Ansible playbooks are written as best effort and provide no warranties or SLAs, expressed or implied.
Tested control server distros
- Debian 8 with Docker on Windows 10
- CentOS 7.3
Tested host distributions
- CentOS 7.3
- RHEL 7.4
- SUSE 12.3
- Ubuntu 16.04
Tested Santricity versions
- 08.40
The Ansible playbooks contained within are modular in nature and depending on what is defined in your hosts file, a small portion of the overall playbooks will be used.
It is recommended to have SSH keys setup prior to installation. Package installers (apt, yum, etc...) need to be configured.
-
Run the docker file with the following commands:
- docker build https://raw.githubusercontent.com/NetApp/eseries-stk/master/docker/ansibleDev/Dockerfile -t eseries-stk
- docker run --rm -it eseries-stk
-
Update git repository to ensure you are on the latest commit
- cd /home/eseries-stk
- git pull
-
Fill out /home/eseries-stk/hosts file with a single entry per line.
- splunk_eseries: Any array that should be provisioned for splunk.
- For E-Series arrays, just use the ip address for the first controller.
- fc_hosts: Host servers that are connected to the array via the fibre channel host ports
- sas_hosts: Host servers that are connected to the array via the SAS host ports
- splunk_indexers: Index servers that splunk is being deployed on.
- This list should be the same as the protocol hosts such as fc_hosts or sas_hosts.
- splunk_eseries: Any array that should be provisioned for splunk.
-
Fill out /home/eseries-stk/group_vars/all file.
- For E-Series arrays, set your user/pass for E-Series (api_username, api_password) in /home/eseries-stk/group_vars/all file.
-
Run the Ansible playbook with the following command from /home/eseries-stk directory.
- ansible-playbook -i hosts splunk.yml
-
Requires Unix host with network connection to all hosts and E-Series storage arrays.
-
Verify that you have the following packages installed:
- Python 2.7.6
- Ansible 2.3.2.0
- Git
-
Clone the git repository:
- cd /home/eseries-stk
- git clone https://github.com/NetApp/eseries-stk
-
If you are using a directory other than /home/eseries-stk you will need to update library variable in ansible.cfg to include the path to the roles/eseries/library directory.
-
Continue with step three from docker workflow above.
-
Find a better way to pass in array IP addreses and passwords other than group_vars/all
-
Use smaller docker base image.
For questions or queries, please email ng-eseries-solutiontoolkit@netapp.com
.
Please enter an issue if you would like to report a defect.