分页: 1 / 1

3PAR – Automation/Part I

发表于 : 2012年 5月 1日 21:15 星期二
admin
Author Dung Hoang Khac

As I mentioned in this post, 3PAR – Automating SAN Zone creation, I want to automate the creation of SAN Zones for 3PAR arrays based on best practices of SAN Zoning, drive this from a single console and execute simple scripts against the different HW devices including:

the On-Board administrator to retrieve WWNs of each Bay
the 3PAR Inform OS to collect WWN of each port
the SAN switches to create SAN zones based on information collected from previous steps.

Luckily the 3 HW components support SSH protocol and allow remote execution of commands through SSH. To streamline the process with PowerShell, I leverage the Putty/Plink modified version from Quest(http://rc.quest.com/downloads.php?project=PuTTY ).

The next series of post will describe in details the different scripts developed for the automation:

Create-WWMN-MAC-List.ps1: collect WWN/MAC address of servers by connecting through SSH to the OA
Connect to the Inform environment thru SSH to collect WWNs on storage port
Define SAN zone ( 1 zone per initiator/guest) and connect to the Brocade SAN switches thru SSH to create zones

The figure below highlights the different tasks
image27.png