Update! Setup Active Directory Integration with the PowerShell SDK

Update 10/6/2017 — Updated the PowerShell script to support the cmdlets in the PowerShell SDK (1.7.4.0+).

—————

Having Active Directory integration certainly helps with organizing users in the various groups to control what actions can be performed on the FlashArray. The most complicated part of setting up Directory Service integration is on the Active Directory side. Once you have the below ingredients it very straight-forward.

Basic ingredients:

  • 1 Active Directory (AD) Server
  • 1 Organizational Unit (OU)
  • 1 Organization Group (Global)
  • 3 Security Groups
    • 1 Array Admin Group — Full permissions.
    • 1 Storage Admin Group — Perform storage tasks (add hosts, wwns/iqns, volumes)
    • 1 Read Only Group — View permissions to focus on the Analysis tab use.
  • 1 AD user account that has privileges to query (Eg. MSLAB\PureDSSync).

Each of the Active Directory Groups that need to be created can have any name you choose but obviously make sure that each of the groups can easily be identified as related to Pure Storage for easy management.

Once all of the details have been gathered substiture them into the hashtable items of the $oDS PowerShell variable below and run the script. The script will setup the Directory Service configuration and at the end test that the Directory Services works.

Below shows my environment after setting up the Directory Services.

 

 

Cheers,
Barkz