Server から Data Center への移行


アトラシアン コミュニティをご利用ください。


Below is the process for migrating from Crowd Server to Crowd Data Center.

If you're installing Crowd for the first time and you don't have any existing Crowd data to migrate, see Installing Crowd Data Center



Before you install Crowd Data Center, you need to answer a few questions.


What is Crowd Data Center?


You should first understand what Crowd Data Center is, and how it works. We've gathered some resources that will help you get to know the high-level overview of Data Center, and its architecture.

Take a look at Crowd Data Center.


You'll need two things to get started – an installer, and a license. There's no special installer for Data Center – you just install Crowd, and then enable Data Center features in it.

As for the license, get your Crowd Data Center license, or try it out for free.




Supported operating systems, databases, etc., are the same as for the Server installation, and you can see them here: Supported platforms. You need to use an external database - HSQLDB is not supported.


Those specific to Data Center include requirements for nodes that create the cluster:

  • 各ノードが別のマシンである (物理または仮想)。同一でなくても構いませんが、パフォーマンスを一貫させるためには、可能な限り同じにする必要があります。
  • All nodes are running the same version of Crowd. You'll be copying Crowd from one node to another, so this shouldn't be a problem.
  • They use the same timezone, and have the current time synced. You can use ntpd to set this up.
  • すべてのノードは共通のデータベースを共有し、別のマシンにインストールされている。
  • すべてのノードは共有ホーム ディレクトリへアクセスできます。NFS または同様のソリューションを使用してセットアップできます。これについてはこのガイド内で説明します。
ロード バランサは必要ですか?

Yes. Crowd Data Center relies on a load balancer to balance the traffic between the nodes, and this guide assumes that you already have one set up. You can use a load balancer of your choice, just make sure it meets these requirements:

  • "クッキー ベースのセッション アフィニティ" ("スティッキー セッション" としても知られる) をサポートする必要があります。
  • 利用可能なノードのいずれかへ HTTP/HTTPS トラフィックをルーティングできる。
  • ノードが利用可能かどうかを決定し、必要に応じてリクエストを他のノードへルーティングできる。
  • すべてのアトラシアン アプリケーションやその他の REST クライアントは、ロード バランサ経由でノードにアクセスする必要があります。

または、プロキシをロード バランサに変えてもかまいません。

Many bigger installations of Crowd already have a reverse proxy configured, and many reverse proxies can do load balancing as well. We've provided some examples on how to use your proxy as a load balancer. See Load balancer examples.

1. Enable Crowd Data Center on your existing Crowd Server instance

Crowd Data Center is available for Crowd 3.0 and later. If you're not on this version yet, install or upgrade your Crowd instance. See Crowd installation and upgrade guide.

Your Crowd license will determine whether you're running Crowd Data Center or Crowd Server. To run Crowd Data Center you need a Data Center license. You can purchase your Crowd Data Center license here , or try out free evaluation license.

  1. Go to  > Licensing to enter your license key. Once successful you should see that Data Center is now available, but you need to restart before you can start using it.
  2. Stop Crowd now. Before restarting it you will need to set up the shared home directory.

2. 共有ディレクトリのセットアップ

Crowd Data Center requires that the <CROWD HOME>/shared directory can be read and written by all the machines running Crowd Data Center.

When installing Crowd Server <CROWD HOME>/shared is created as a normal directory. To use Crowd Data Center:

  1. Stop Crowd.
  2. Backup your Crowd home directory before making any changes.
  3. Prepare a shared, network-accessible directory.

    For this example we will assume the you are using Linux, and the shared directory is available at /mnt/nfs/crowd

  4. Move <CROWD HOME>/shared to the shared directory you've prepared:

    mv <CROWD_HOME>/shared /mnt/nfs/crowd
  5. Mount or create a symbolic link at <CROWD_HOME>/shared  that points to the copied directory:

    ln -s /mnt/nfs/crowd/shared <CROWD_HOME>/shared

  6. Check if <CROWD_HOME>/shared/crowd.cfg.xml exists and is accessible from the machine running Crowd to verify you have configured the directory correctly.
  7. Start Crowd again.

3. Add the first Crowd node to your load balancer


You must enable clustering in Crowd first. To do that, in your shared directory edit the crowd.cfg.xml file and set the crowd.clustering.enabled property to true and restart Crowd.

ロード バランサはノード間のトラフィックを分散させます。ノードが動作を停止すると、残りのノードがワークロードを引き継ぐため、ユーザーは気付くこともありません。

  1. First, add your load balancer as a trusted proxy server in Crowd. See Configuring Trusted Proxy Servers.
  2. 最初のノードをロード バランサに追加します。

  3. Restart the node, and then try opening different pages in Crowd. If the load balancer is working properly, you should have no problems with accessing Crowd.
  4. In Crowd, go to > Clustering. The node should be listed as part of the cluster. 

    tip/resting Created with Sketch.

    If your load balancer supports health checks, configure it to perform a check on http://<crowd-node>:8095/<context-path>/status, where <crowd-node> is the node's hostname or IP address, and <context-path> is the Crowd's context path (e.g. /crowd). If the node doesn't respond with a 200 OK response within a reasonable time, the load balancer shouldn't direct any traffic to this node.

  5. After you've added the node to the load balancer, configure the Crowd's base URL to also point to the load balancer. Go to > General, and enter the URL of your load balancer as Base URL.

4. 残りのノードをクラスターに追加します。

  1. Copy the Crowd installation directory to the new node. 
  2. Create a home directory, like you did for the first node, and mount shared as its sub-directory.
  3. Edit, and enter the path to the home directory that you just created. 

    Where can I find

    The file is in <installation-directory>\crowd-webapp\WEB-INF\classes\.

  4. Go to <installation-directory>/apache-tomcat/conf/Catalina/localhost, and delete the openidserver.xml file. This is needed because currently the CrowdID component doesn't support clustering, and it must be enabled only on the first node. The component will work as usual.
  5. Start Crowd. It will read the configuration from the shared directory, and start without any extra setup.
  6. Take a look around the new Crowd instance. Verify that user and group management, directory synchronization, and any custom integrations all work as expected.
  7. Again, verify that the node was added to the cluster. In Crowd, go to  > Clustering.

  8. If everything looks fine, you can configure your load balancer to start routing traffic to the new node. Once you do this, you can make a couple of changes in one Crowd instance to see if they're visible in other instances as well.


Adding node names

When displaying information about your nodes in the Crowd footer or on the  > Clustering page, Crowd Data Center uses random IDs that were generated for your nodes. Instead, you can give them more persistent and readable names by setting the system property, like in the following example:

最終更新日 2022 年 7 月 8 日


Powered by Confluence and Scroll Viewport.