• 【IIS7】 セットアップ・展開 Part II

    ご紹介が遅れた点をひとつ。MSDNで入手できる環境をお使いの方に情報で、February CTP用のリリースノートAddendumが並んでダウンロードできるようになっており、以下の記述があります。

    IIS 7.0 installation
    Internet Information Services (IIS) 7.0 is not installed by default.

    以下、pkgmgrコマンドでインストールするコマンドラインの記述があります。
    例えば、最もリッチな内容でインストールするコマンドはこれ。(以前ここではリンクをご紹介するに留めておきました。)

    start /w pkgmgr /l:log.etw /iu:IIS-WebServerRole;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASPNET;IIS-NetFxExtensibility;IIS-ASP;IIS-CGI;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-HttpTracing;IIS-CustomLogging;IIS-ODBCLogging;IIS-Security;IIS-BasicAuthentication;IIS-WindowsAuthentication;IIS-DigestAuthentication;IIS-ClientCertificateMappingAuthentication;IIS-IISCertificateMappingAuthentication;IIS-URLAuthorization;IIS-RequestFiltering;IIS-IPSecurity;IIS-Performance;IIS-HttpCompressionStatic;IIS-HttpCompressionDynamic;IIS-WebServerManagementTools;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-ManagementService;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-LegacyScripts;IIS-LegacySnapIn;IIS-FTPPublishingService;IIS-FTPServer;IIS-FTPManagement;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

    ということで他の点も含めてリリースノートを是非お読みください。

  • 【IIS6】 USでIIS6関連のWebcastシリーズが始まった

    (体調が芳しくなく、間が少し空いてしまった。。。)

    http://www.iiswebcastseries.com をご紹介します。連続で何回かシリーズでよさげなWebcastが続きます。実はTechNetのサイトにリダイレクトされているだけですが、英語が苦で無い方は是非ご覧くださいませ。自分的には日本語化の候補には入れています。下記の日付はライブの日程で、数日するとオンデマンドで見れるようにそれぞれなります。

    TechNet Webcast: Microsoft.com Operations Introduces Real World Debugging: Debugging CLR Internals (Level 300)

    Live Webcast, Tue, 28 Mar 2006 17:30:00 GMT

    Do you ever wonder what happens in garbage collection and exception handling that slows down the performance of your Web site? Join a senior systems engineer from the Microsoft.com Debug team to dig into the inner workings of these two critical pieces of t...

    TechNet Webcast: Microsoft.com Operations I)ntroduces Real World Debugging: Diagnosing Memory Leaks in ASP.NET Applications (Level 300)

    Live Webcast, Wed, 29 Mar 2006 16:00:00 GMT

    Memory leaks or excessive memory consumption can manifest themselves in many ways, from subtle performance degradation issues to full application failure. Join a senior systems engineer from the Microsoft.com Operations Debug team to get an in-depth, real-...

    TechNet Webcast: Microsoft.com Operations Introduces Real World Debugging: How to Tackle Problems in Dynamically Generated Assemblies (Level 300)

    Live Webcast, Thu, 30 Mar 2006 17:30:00 GMT

    Join this webcast to get the inside scoop on how Microsoft.com senior systems engineers run through live debugging sessions that tackle dynamically generated assembly issues in a clustered Web site environment. We also feature an inside look at some poorly...

    TechNet Webcast: Microsoft.com Operations Introduces Real World Debugging: Debugging Without the Debugger in IIS and ASP.NET (Level 300)

    Live Webcast, Fri, 31 Mar 2006 16:00:00 GMT

    You can gain lot of valuable information about the state of the internet information services (IIS) and the applications running in its worker processes by using Event Tracing for Windows (ETW), which enables you to trace data without attaching a debugger....

    TechNet Webcast: IIS Logs and SQL Reporting Services IIS Log Pack: Digging into Your Data One Step at a Time! (Level 200)

    Live Webcast, Tue, 11 Apr 2006 19:30:00 GMT

    On servers running Microsoft Internet Information Server (IIS) 5.0 or 6.0, it can be difficult to obtain details about how clients use a Web site. This webcast explains how to mine your site’s log files and react accordingly. Focusing on the Microsoft SQL ...

    TechNet Webcast: Managing IIS 6.0 Servers in an Enterprise Environment: A Handful of Tips and Tricks (Level 200)

    Live Webcast, Thu, 27 Apr 2006 19:30:00 GMT

    As an IT professional, you just received distress signals from your company’s Human Resources (HR) and Purchasing departments: HR's Web-based application is hanging, and Purchasing needs to deploy 3.3 bits to their 28 servers in four Virtual IPs (VIPs). Wh...

    TechNet Webcast: Rapid Deployment of Large SharePoint Intranets and Extranets on IIS 6.0 (Level 300)

    Microsoft Windows SharePoint Services is now included with Internet Information Services (IIS) 6.0 in Microsoft Windows Server 2003 R2 as an additional server role. This webcast presents the best practices for implementing Windows SharePoint Services solutions of any size on IIS 6.0. Join us for a deep dive into how to install, build, deploy, secure, and manage your Windows Server System intranet or extranet solution. We cover how to manage and configure your deployment with the STSADM command-line handlers and how to make best use of reverse proxies in your deployment. We conclude with what to expect from the highly anticipated version three of Windows SharePoint Services.

     

    TechNet Webcast: Efficient Deployment and Management of ASP.NET 2.0 Applications on IIS 6.0 (Level 300)

    Because Windows Server 2003 R2 includes Microsoft .NET Framework 2.0, every Web administrator should be prepared to support Microsoft ASP.NET 2.0 applications. In this webcast, we help you manage ASP.NET 2.0 applications on Microsoft Internet Information Services (IIS) 6.0 efficiently. In addition, we also cover key concepts such as the Global Assembly Cache (GAC), Web.config settings, and the ASP.NET 2.0 Microsoft Management Console (MMC) snap-in for IIS Manager. Join us to also learn how to use temporary ASP.NET files with the aspnet_regiis.exe command-line utility and how to simultaneously support different versions of the .NET Framework. Finally, we show what to expect from deploying these ASP.NET 2.0 solutions on a 64-bit Web platform.

    うーん?Koreanのリンクがあるなぁ。負けてはいけませんなあ。頑張ります。

  • 【IIS7】 セットアップ・展開 Part I

    このブログを見ている方にとってはまずはセットアップだろうという感想をお持ちになった方もいらっしゃると思いますが、ベータ段階なので色々変わるだろうという配慮をしていました。ただ、米国のトレーニングでもここは重点的にやるように変わってきたようなので、早速書こうと思いました。

    IIS7 は Windows Activation Service(WAS)を依存サービスとしています。従って、IIS7のインストール時にはWASも入れる必要があります。HTTP のリスナーの役割を持っていますが、Vista/Longhorn ではより汎用的な役割に変わっています。同僚の高添の言葉を借りれば「OSのモジュールそのものもWebサービス化していくのにIISがその理由で必須なのはおかしいから分離した」のだと私も思います。無論 WCFのホスティングをするプラットフォームとしての機能融合という意味ももちろんあります。ということでインストール中にWASのメッセージが出た場合にはそういうことだとご理解ください。

    それとアップグレードに関してはアプリ試験環境を考えて別のマシンでのIIS7構築をお奨めしていますが、当然同一マシンでのアップグレードも対応しています。

    サーバー: IIS5.0(Windows2000)、IIS6.0(Windows Server 2003)
    クライアント: IIS5.0(Windows2000)、IIS5.1(Windows XP)

    インストールの方法はかなり豊富に用意されています。

    - GUI (2003の役割管理に該当するUI と 追加と削除の両方)
    - Unattend.xml
    - Sysprep (IIS7はSysprep展開に完全対応)
    - 同一マシンでのアップグレード
    - IIS7 Migration Tool

    Unattend とか Migration Tool は時間がとれたらレポートしたいと思います。

  • 【IIS7】 番外編: WMI CIM Studio のご紹介

    番外編というほどの内容でも無いのですが、IIS7だけの話じゃなく汎用的に管理に使えるWMIの話なので一応 番外編としてみました。米国でのIIS7向けのエンジニアトレーニングではWMIやADSIを含むスクリプティング関連も勉強するので、これはカリキュラム内な話ではあります。

    要するにツールのご紹介なんですが、WMI CIM StudioはWMIのスクリプトを書く際にWMIのオブジェクトツリーをうまく見ることができるので非常に便利なものです。MSのDownloadサイトから入手できます。

    まずありがちな接続画面が出るので通常のWindows管理として接続するのであればroot\CIMV2として接続します。IIS7が無い環境で試すならこういうことになります。IIS7がある環境では新しいWMI Namespaceであるroot\AppServerに接続します。あくまでも今後に仕様が変わらなければですが、ツリーにObjectというのがあるので展開します。そうすると見慣れた下記のようなIISの概念が表示されます。

    + Object
     +ConfiguredObject
      +Application
      +ApplicationServer
      +VirtualDirectory
      +Site
     +WorkerProcess
     +AppDomain
     +SecureBinding
     +ApplicationPool

    例えばここでSiteを展開していってSite関連のどこかのプロパティを変更するとApplicationHost.configに変更が実は反映されています。という訳でWMIの話ではあるもののIIS7の番外編で書いております。<site></site>を探して変更点を確認してみてください。

    実は上記で案内しているダウンロードサイトはWMI Tools Suiteを落とすものでCIM Studio以外にもObject Browserなど色々と役に立つものがありますので是非IIS7が無い環境でもご活用ください。

  • 【IIS7】 サーバーコア Part IV

    二つのモードの話について触れておこうかと思います。

    二つのモードとはISAPIモード(いわばIIS6互換モード)とIntegratedモード(私は統合モードって呼んでます)です。要するにIIS5互換モードは無くなるという点とIIS6とほぼ同じ構造で動作するモードがあると考えておけばいいでしょう。

    IIS7はサーバーの各種提供機能がモジュール構造になっており、ASP.NETとのより親密な融合が図られているわけですが、本当の意味の”統合”はIntegratedモードにしないと発揮できません。実はIIS本体のパイプラインとASP.NET系のパイプラインが並立するのがIIS6と言えますが、似たような機能(認証とか、コンテンツの振分け処理とか)を双方で持っています。これらをIIS本体のパイプラインで全部処理するのがIntegratedモードな訳です。いわば二本の線上でそれぞれ行われていた処理が一本の処理フローに統合されるイメージです。

    一方でISAPIモードは互換性を重視したモードですからほとんどの既存コードに最少の影響で済むように設計されていると言えるでしょう。ASP.NETコードもASPも動作します。ASPから呼び出している外部の処理はここではふれません、各々のバージョンアップによる影響はそれぞれだと思うので。前出で”ほぼ”と書いているのはISAPIベースで動作しているASP.NETのパイプラインのベースになっているISAPIの処理は新ISAPIモジュールが制御しているので、IIS6とまったく同じかと言うとそうではないからです。しかし、モジュール化する際にとったアプローチとして各機能をコード分割して別のDLLにした背景を考えると実際のコード自身にはあまり違わないと言えるでしょう。

    この二つのモードはアプリケーションプール単位で制御できます。つまり、AppPool1は一方のモードで、AppPool2は別のモードでという設定ができる訳で、サーバー全体を変更してしまうのではありませんのでかなり柔軟性があると言えるのではないでしょうか。

    米国のセミナーでよく質問があるらしいのですが、じゃあIntegratedモードを使わないでIIS7にするメリットは?という点があります。どうも現時点のビルドではそれほどのパフォーマンス差は無い、あるいはアプリの処理によっては遅いケースもあるようです。これは必死に開発チームがチューニング中らしいです。最終的に出荷のGOサインが出る評価ポイントの一つとしてこの点があり、中間のチェックポイントでIIS6同等のパフォーマンス、出荷時にはそれ以上を目指すということになっているとのことです。

    Integratedモードの側面は上記の通りで、別の観点としてサーバーの機能をマネージドコードで自分が開発してプラグインできる、あるいは置き換えることができる点に今後ふれていく必要がありますね。私は実戦(実践ではなく)でISAPIをゴリゴリ書いていた人ではないのでどこまで核心に迫れるか微妙ですが、比較する上で必要な情報は書くように努めます。