Over the past months I’ve given multiple presentations on software-defined storage and how NetApp plays in this space. I have also been part of a project to integrate NetApp storage into VMware’s Software-defined Data Center model. NetApp, of course, would be the Software-defined Storage goodness of VMware’s SDDC. NetApp WFA integrates with vCAC and vCO and automates the creation and management of storage objects for cloud environments (such as seen in my previous post here). The one question that I always get is “But how do you get started?” Due to this repeated question I decided (finally) that there needs to be a “how to setup” blog from me on this. In part one of this multi-part series I will cover setting up WFA 2.1. By the end of this blog series you will have an environment setup similar to the demo shown in Software-defined Storage with NetApp and VMware – vCAC 6, vCO, and NetApp WFA.
Let me first discuss what you will need setup to have WFA 2.1 setup and running successfully. First, you will need NetApp OnCommand Workflow Automation 2.1 setup and installed (this is probably stating the obvious). I’m not going to go into details here. However, for initial installation setup of NetApp OnCommand Workflow Automation 2.1 please refer to OnCommand® Workflow Automation 2.1 Installation and Setup Guide.
The next item you will need to setup in NetApp OnCommand Unified Manager 6.0 (OCUM 6.0). Installing allows for a central communication point for NetApp Clustered ONTAP storage and WFA 2.1. This will need to be setup as a data source (more on data sources later) for WFA later. Again, I’m not going into detail with this since someone else has already written the guide for this. To install and configure OCUM 6.0 please refer to the OnCommand® Unified Manager 6.0 Installation and Setup Guide. Also, be sure to follow the directions in the listed document in order to manage NetApp clustered ONTAP storage through OCUM 6.0.
Once everything is installed and setup we will now need to configure WFA to act as our Software-defined Storage automation engine. To do this, follow the below instructions for the initial setup of WFA.
Import WFA Workflows
1. Download the zip file containing the workflows and do the following
2. Unzip the files locally
3. Open the WFA Web portal
4. Select Administration > Import
6. Choose one of the DAR files and open.
7. Repeat steps 3 and 4 until all files are imported.
Setup vSphere Data Source
1. Access WFA using a web browser.
2. Click Execution > Data Sources.
3. Click New Data Source button.
4. In the New Data Source dialog box, select the required data source type
5. Enter the FQDN or the IP address in the host name field.
6. Enter the vCenter credentials in the user name and password fields.
7. Setup the Interval for the desired time (in the above example it is 10 minutes).
8. Click Save.
9. In the Data Sources table, select the data source and click Actions > ‘Acquire Now.’
10. Verify the data acquisition status in the History table.
Setup OCUM Database User
1. Log in to OCUM (in this case OCUM 6)
2. Click on Admiration at the top right of the screen
3. Under Administration click on Manage Users
4. You will now be on the NetApp OnCommand Unified Manager screen
5. At the NetApp OnCommand Unified Manager screen click on +Add
6. At the Add User screen select the Type as “Database User”
7. Set a name for the user. In the example below “wfa” is set as the name
8. Set a password for the username selected
9. Click on “Add” at the bottom of the Add User screen to add this user to OCUM 6
10. At the NetApp OnCommand Unified Manager screen the new user will now be visible
Setup OCUM Data Source
1. Go to Execution > Data Source.
2. Right-click in the top right pane and choose New.
3. Select the Data Source type of OnCommand Unified Manager (DFM)-6.0.
4. Enter the Hostname or IP of the OCUM appliance.
5. Type the username and password.
6. Set the port to 3306.
7. Set up the Interval for the desired time (In the below example it is set to 30 minutes).
8. Click save.
9. Right-click on the new Data Source and ‘Acquire Now.’
Setting Up Credentials for vCenter and OCUM
1. Go to Execution > Credentials.
2. Right-click in the right pane and choose New.
3. Match – Exact.
4. Type – VMware vCenter.
5. Name/IP – vCenter Server FQDN or IP address.
6. User name – User name for the vCenter.
7. Password –Type the password for the vCenter server
8. Click Save.
9. Next, setup OCUM credentials
10. Right-click in the right pane and choose New.
11. Match – Exact.
12. Type – OnCommand Unified Manager
13. Name/IP – OCUM Server FQDN or IP address.
14. User name – OCUM User Name. This is the admin password that created during OCUM setup
15. Password –Type the password for the OCUM
16. Click Save
At this point you should have WFA setup and ready to run workflows that can create, read, update, and delete NetApp clustered Data ONTAP storage. This is just the first step to the overall process. Next, we’ll tackle setting up communication between VMware vCenter Orchestrator (vCO) 5.5 and NetApp WFA.
Here are the links for the Software-Defined Storage with NetApp and VMware series:
- Software-Defined Storage with NetApp and VMware – Overview: vCAC 6, vCO, and NetApp WFA
- Software-Defined Storage with NetApp and VMware – Part 1: Setup WFA
- Software-Defined Storage with NetApp and VMware – Part 2: Setup vCO to Call WFA Workflows
- Software-Defined Storage with NetApp and VMware – Part 3: Create Workflow Integration with vCO and WFA
- Software-Defined Storage with NetApp and VMware – Part 4: Advanced Workflow Design using Wrapper Workflows with WFA and vCO
- Software-Defined Storage with NetApp and VMware – Part 5: Create the Storage Service Catalog in vCAC 6 (coming soon)
As always I’d love to get your feedback and hear what you’d like to see. Workflow ideas, blog post ideas, and general comments are all welcome.
Thanks for reading!