Currently Being Moderated

The NetApp Data ONTAP SMI-S Agent allows administrators to manage and monitor NetApp FAS storage systems through open standard protocols and classes defined by two organizations:

 

  • Distributed Management Task Force (DMTF)
  • Storage Networking Industry Association (SNIA)

 

The Data ONTAP Storage Management Initiative Specification (SMI-S) Agent is a command-based interface that detects and manages platforms that run Data ONTAP. SMI-S Agent uses web-based enterprise management (WBEM) protocols, which allow you to manage, monitor, and report on storage elements.

 

Data ONTAP SMI-S Agent 5.1 Features

 

  • Complies with the SMI-S 1.5 and SMI-S 1.6 specifications set by SNIA.

 

  • Manages and monitors NetApp storage systems.

   

    • Support for Data ONTAP 7.3.5 or later for 7-Mode systems.
    • Support for clustered Data ONTAP 8.2.1

 

  • Supports provisioning of SAN and NAS environments for NetApp storage systems using Microsoft SCVMM 2012 R2

 

  • Support for Windows Server 2012 R2

 

  • Copy Offload (ODX) provisioning from SCVMM 2012 R2

 

    • Copy offload provides a mechanism to perform full-file or subfile copies between two directories residing on remote servers, where the server can be same or different. Here, the copy is created by copying data between the servers (or same server if both source and destination files are on same server) without the client reading the data from the source and writing to the destination. This reduces the client/server processor/memory utilization and minimizes network I/O bandwidth. With Windows Server 2012, Microsoft introduces a copy offload mechanism, which allows you to offload the activity of copying files between two servers to the storage system. DATA ONTAP SMI-S 5.1 supports ODX with System Center 2012 R2 and Clustered DATA ONTAP 8.2

 

  • Supports lifecycle indications that monitor SMI-S operations.

 

    • Win2012/R2 client will register for lifecycle indications to monitor create/delete/modify on objects like volume, storage system, LUN, disk, igroup, initiators, lun-map.

 

  • Supports ASUP™ reporting.
    • This feature allows to send ASUP data for the SMI-S host, how many filers are managed by the SMI-S agent etc


  • Support for Virtual Fibre Channel Adapters


  • Support for IPv6
    • SMI-S 5.1 now supports IPv6 communication between filer - SMIS Agent – SCVMM. Basically, you can add a filer's IPv6 address to SMIS Agent and manage SMIS Agent with SCVMM using it's IPv6 address.


Data ONTAP SMI-S Agent can be installed on both Windows® and Linux® platforms. This SMI-S integration is designed to allow end-to-end discovery of logical and physical objects and the associations between them, add capacity to hosts/clusters, and rapidly provision VMs using the SAN and SMB 3.0 protocol.

 

The SMI-S Agent interface can also be used to allow simple tasks to be accomplished using System Center Virtual Machine Manager (SCVMM) to create and deploy new storage to individual hosts or clusters.

 

Compliance to SMI-S standards is defined by the Conformance Test Program set by SNIA. Data ONTAP   SMI-S Agent 5.1 is compliant with SMI-S 1.5 and 1.6 specifications.

 

In Part-1 of this tutorial i will show you steps which can be used to configure the NetApp SMI-S provider with SCVMM using Virtual Machine Manager powershell cmdlets and create storage classifications.

 

If the Windows firewall is enabled on the SMI-S server, then create firewall exceptions to allow the following TCP and UDP ports inbound.

 

  • Data ONTAP SMI-S Agent CIMOM HTTP rule TCP: 5988 inbound (allows SCVMM 2012 to communicate with SMI-S on the SMI-S server via http)
  • Data ONTAP SMI-S Agent CIMOM HTTPS rule TCP:5989 inbound (allows SCVMM 2012 to communicate with SMI-S on the SMI-S server via https)
  • Data ONTAP SMI-S Agent SLP rule UDP:427 inbound (Service Location Protocol (SLP) is used for SMI-S multicast and broadcast discovery )

 

Note: Installing SMI-S Agent on the server in which SCVMM is installed is not supported.

 

The SMI-S Agent can easily be run within another virtual machine because only IP connectivity to the SCVMM/SCOM server and NetApp storage controllers is needed.

 

The SCVMM 2012 server must be installed on a separate physical or virtual server than the SMI-S server, and both servers must be members of the same Active Directory domain.


To add storage device in the SCVMM console you would need to install and configure SMI-S Agent.

 

First of all install the Data ONTAP SMI-S agent and make sure the SMIS service is running.

 

1.png

Next you would need to add a CIM server user, this would be the local administrator account on the SMI-S server.

1.png

Next you would need to add the storage system to the repository using the SMIS command, you would get an error message if the Netapp storage system already exists in SMIS repository.

 

Untitled.png

 

  You can verify if SMIS is properly configured via.

 

Untitled.png

 

And run a test to show the list of luns or volumes etc.

 

Untitled.png

 

Once we install and configure Data ONTAP SMI-S Agent, we will start with the steps to integrate it with SCVMM.

 

Open the Virtual Machine Manager Command Shell in “Run as Administrator” Mode:

 

1.png

 

Create a VMM Run as Account for SMI-S, The UserName and Password provided should be as the same credentials as the SMI-S local user account on the NetApp SMI-S server.

 

$Creds = Get-Credential
$RunAsAccount = New-SCRunAsAccount -Name "SMIS-Administrator" -Credential $Creds

The first command uses the Get-Credential cmdlet to prompt you to supply a user name and password and stores the credentials in the $Credential variable.
The second command creates a Run As account named SMIS-Administrator using the credentials provided in $Creds.


 

Adding NetApp SMI-S provider using HTTP protocol

 

Type in the below set of commands, modify the parameters based on your environment.

 

# Get the SMIS Run As Account.
$RunAsAcct = Get-SCRunAsAccount -Name *smis*

# Add the SMI-S Storage Provider to SCVMM console.
  Add-SCStorageProvider –NetworkDeviceName ` "http://cloud2012dc.virtualcloud.com" -TCPPort 5988 -Name "cloud2012dc.virtualcloud.com" -RunAsAccount $RunAsAcct

 

1.png

Once executed, the Storage Provider will be available in SCVMM, in Fabric > Storage > Providers.

 

Adding NetApp SMI-S provider using HTTPS protocol with SSL Connection

 

Type in the below set of commands.

 

# Get the SMIS Run As Account.
$RunAsAcct = Get-SCRunAsAccount -Name *smis*


# Get the Certificate Details.
$CRT = Get-SCCertificate -Computername "cloud2012dc.virtualcloud.com" -TCPPort 5989


# Add the SMI-S Storage Provider to SCVMM console.
Add-SCStorageProvider –NetworkDeviceName ` "https://cloud2012dc.virtualcloud.com" -TCPPort 5989 -Name "cloud2012dc.virtualcloud.com" -RunAsAccount $RunAsAcct


It is recommended to use HTTPS protocol, enable Secure Sockets Layer (SSL)  for secure communication between the storage controller and the SMI-S Agent.

 

coolstuff1.png

Importing the Data ONTAP SMI-S Agent for NetApp and create storage classifications.

 

#Shows the StorageSubSystems objects which are registered with SMI-S and also verifies the operational status
Get-StorageSubSystem

#Import storage providers that are installed and registered on a VMM management server.
Import-SCStorageProvider

#Refreshes all the cache for the storage provider and associated child objects.
Update-StorageProviderCache

#Create Storage Classifications. A storage classification defines the capabilities of a storage pool. For example, a classification of Gold could be associated with storage pools that have the highest performance and availability.
New-SCStorageClassification -Name "Platinum" -Description "SSD Disks" -RunAsynchronously


 

I hope that you have enjoyed this blog entry  and have found this information helpful.

 

In the next series of blogs i would be talking about various use cases and powershell scripts which can be used to utilize  SCVMM - Data ONTAP SMI-S integration for effective Hyper-V storage management. Some of these include SCVMM Rapid Provisioning using SAN Copy (NetApp Flexclone), Provisioning CIFS shares for Hyper-V over SMB 3.0, Leverage SCVMM 2012 R2 Offload Data Transfer feature for VM Rapid Provisioning using SCVMM.

 

Good Luck !

 

Thanks,

Vinith

 

 


Comments

Filter Blog

By author:
By date:
By tag: