3PAR – Automation/Part II: Collecting WWN of hosts
发表于 : 2012年 5月 1日 21:18 星期二
3PAR – Automation/Part II: Collecting WWN of hosts
Author Dung Hoang Khac
The first step is to collect WWN of the hosts. As our environment is based on C7000 with Flex-Fabric modules, I can query the OA to get the information. However, the output of the command is all text-based, I need to convert it into objects to be easily re-used.
The script posted is doing exactly that. It queries the OA and performs some screen-scraping then stores the result in a CSV file.
Here is the result:
Author Dung Hoang Khac
The first step is to collect WWN of the hosts. As our environment is based on C7000 with Flex-Fabric modules, I can query the OA to get the information. However, the output of the command is all text-based, I need to convert it into objects to be easily re-used.
The script posted is doing exactly that. It queries the OA and performs some screen-scraping then stores the result in a CSV file.
Here is the result: