---
title: "Sitecore XM Scaledトポロジー用の分散インストールスクリプト"
slug: "distributed-installation-script-for-the-sitecore-xm-scaled-topology"
abstract: ""
---
# Sitecore XM Scaledトポロジー用の分散インストールスクリプト

複数サーバーでのスケールインストールを簡素化するために、PowerShellスクリプトを使ってSitecore XM Scaledトポロジーをインストールできます。詳細はSitecoreドキュメントのアーキテクチャ概要をご覧ください。

> !注このスクリプトを使ってSitecore XM Scaledトポロジーをインストールする場合、各サーバーロールは別々のコンピュータにインストールし、これらのコンピュータに過去にSitecoreをインストールしていかなるものでもありません。

## 分散インストールスクリプトの前提条件

サーバーを準備するには、各サーバーで以下の手順を実行しなければなりません。

1.  PowerShell Remotingを有効にしてください。
    
    PowerShell Remotingの詳細については、「 *[SIF Run SIFのリモート」](https://doc.sitecore.com/xp/ja/developers/105/guides/installation-guide-for-the-xm-scaled-topology/run-sif-remotely.html "Run SIF remotely")*セクションをご覧ください。
    
2.  すべての前提条件を設置してください。
    
    前提条件の詳細については、「 *[前提条件のインストール](https://doc.sitecore.com/xp/ja/developers/105/guides/installation-guide-for-the-xm-scaled-topology/install-the-prerequisites.html "Install the prerequisites")*」セクションをご覧ください。
    
3.  Sitecoreサーバーロールが割り当てられるかSolrを実行するすべてのマシンにc:\\resourcefilesフォルダを作成します。
    
4.  ウェブサーバーの役割(IIS)を設定しましょう。
    
    ![Select role services](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/105/guides/installation-guide-for-the-xm-scaled-topology/images/IIS.png)
    

## XM Scaledトポロジー用の分散インストールスクリプトを実行してください

XMトポロジーインストールスクリプトを編集・実行するには:

1.  c:\\resourcefilesというフォルダを作成します。
    
2.  [Sitecore Experience Platformダウンロードサイト](https://developers.sitecore.com/downloads)で、XM Scaledトポロジーのパッケージをダウンロードしてください。このファイルはオンプレミス展開のダウンロードオプションセクションに記載されています。すべてのscwdp.zipファイルと設定ファイルをc:\\resourcefilesフォルダに展開します。
    
3.  Sitecoreライセンスファイルをc:\\resourcefilesフォルダにlicense.xmlとして保存してください。
    
4.  c:\\resourcefilesフォルダでXM1-Distributed.ps1ファイルスクリプトを編集し、環境に合った適切な設定で各行を更新してください。
    
5.  PowerShellコマンドラインでc:\\resourcefilesフォルダに移動し、次のコマンドを実行します。
    
    .\\XM1-Distributed.ps1
    

インストールスクリプトを編集して実行した後は、「 *[インストール後ステップ](https://doc.sitecore.com/xp/ja/developers/105/guides/installation-guide-for-the-xm-scaled-topology/post-installation-steps.html "Post-installation steps")*」章で説明されているインストール後ステップを完了してください。