PowerShell meets BIG-IP, F5 networks
(English follows Japanese)
先週、F5ネットワークス社 (http://www.f5networks.co.jp) の「DevCentral Japan メンバーミーティング」にて PowerShell についてのセッションを行いました。(DevCentral Japan: http://www.f5networks.co.jp/devcentral/index.html) 貴重な機会をいただき、また多数ご参加いただきありがとうございました。当日の模様が、F5ネットワークス 伊藤様のブログでご紹介されています。
第1回メンバーミーティングにご参加いただきありがとうございました
http://devcentral.f5.com/weblogs/toshi/archive/2008/05/26/3296.aspx
なぜ F5ネットワークスのコミュニティで PowerShell ? と思われるかもしれません。実は Dev Central サイトにて BIG-IP (ロードバランサ) 用の PowerShell スナップインが提供されていて、まずは PowerShell のご紹介をということになりました。つまり、すでに PowerShell から BIG-IP にアクセスして、直接情報を取得したりコントロールすることができるようになっているのです。BIG-IP に組み込まれている拡張機能を利用しているため、本体 (BIG-IP) 側には一切変更を加える必要がないのもうれしいです。
インストールや簡単な使い方は、スクリーンキャストをご覧ください。(音声なし)
iControl snap-in のページはこちら(ダウンロードは要ログイン)
Microsoft PowerShell with iControl (英語)
http://devcentral.f5.com/Default.aspx?tabid=71
以下の記事に、より実践的な利用方法が記されていますので、より具体的なイメージがつかめると思います。
iControl 101 - #10 - Performance Graphs
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=194
このように、さまざまなサーバーやネットワーク機器を PowerShell を介して連携させることで、「System Center Virtual Machine Manager で仮想マシンを作って、Webアプリケーションをコピーして、IISの設定をして、BIG-IPの負荷分散のプールに追加して、System Center Operations Managerの監視対象に追加して、、、」という一連の作業が、一つのスクリプトでできるようになりますね。楽しみです。
//
Last week, I had a chance to speak about PowerShell at "DevCentral Japan Member Meeting". DevCentral (http://devcentral.f5.com/) is a user community and online resources hosted by F5 networks. I am grateful for DevCentral Japan members and F5 people. Check out the blog post about meeting and their trip to Japan.
DevCentral Tokyo - Day 4
http://devcentral.f5.com/weblogs/Joe/archive/2008/05/22/devcentral-tokyo---day-4.aspx
Glad to find they had enjoyed Tokyo very much!
So, why PowerShell for F5 users? F5 has already introduced PowerShell snap-in to access BIG-IP. The snap-in leverages iControl, BIG-IP extender, so that no upgrade or modification to BIG-IP boxes is necessary to access them from PowerShell.
Take a look at screen cast. (no audio) I demoed it in presence of the author of snap-in. What a nervous moment!
iControl snap-in can be found here (logon required to download)
Microsoft PowerShell with iControl
http://devcentral.f5.com/Default.aspx?tabid=71
Another article discusses more practical usages, far useful than fan speed.
iControl 101 - #10 - Performance Graphs
http://devcentral.f5.com/Default.aspx?tabid=63&articleType=ArticleView&articleId=194
By interoperating various computers and equipments, different kinds of operations would be streamlined in a single script. For example, create a virtual machine with System Center Virtual Machine Manager, copy web contents and applications, set up IIS, add to BIG-IP load balancing pool, then monitor with System Center Operations Manager.