外部ディレクトリからのデータの同期

お困りですか?

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

コミュニティに質問

For certain directory types, HipChat Server stores a cache of directory information in the application database, to ensure fast recurrent access to user data. A synchronization task runs periodically to update the internal cache with changes from the external directory.

On this page:

影響を受けるディレクトリ タイプ

Data caching and synchronisation apply to the following user directory types:

  • LDAP (Microsoft Active Directory and all supported LDAP directories) where permissions are set to read only.
  • Atlassian Crowd
  • Atlassian JIRA applications.

Data caching and synchronisation do not occur for the user directory type, Internal Directory.

動作の仕組

以下はキャッシュ機能のサマリーです。

  • キャッシュはアプリケーション データベースに保持されます。
  • When you connect a new external user directory to the application, a synchronisation task will start running in the background to copy all the required users, groups and membership information from the external directory to the application database. This task may take a while to complete, depending on the size and complexity of your user base.
  • Note that a user will not be able to log in until the synchronisation task has copied that user's details into the cache.
  • A periodic synchronisation task will run to update the database with any changes made to the external directory. The default synchronisation interval, or polling interval, is one hour (60 minutes). You can change the synchronisation interval on the directory configuration screen.
  • You can manually synchronise the cache if necessary.
  • すべての認証は、外部ディレクトリへのコールを介して発生します。外部ディレクトリからの情報をキャッシュする場合、ユーザー パスワードはアプリケーション データベースに格納されません。
  • 内部キャッシュに対して他のすべてのクエリを実行します。
After you synchronise a user directory, any users that were deleted from the directory still exist in HipChat Server. HipChat Server keeps the deleted users to preserve their chat histories. Deleted users do not count against the amount of users allowed for your license. (To view the deleted users, choose Group admin > Users and select Show deleted. )

Finding the Time Taken to Synchronise

The 'User Directories' screen shows information about the last synchronisation operation, including the length of time it took.

Manually Synchronising the Cache

You can manually synchronise the cache by clicking 'Synchronise' on the 'User Directories' screen. If a synchronisation operation is already in progress, you cannot start another until the first has finished.

Screen snippet: User directories, showing information about synchronisation 

同期間隔の設定

ディレクトリ設定画面では「同期間隔」を設定できます。同期間隔とは、ディレクトリサーバーからの更新のリクエストを待機する時間です。

同期間隔に設定した長さは、以下に応じて異なります。

  • 古いデータを許容できる時間の長さ。
  • アプリケーションとディレクトリ サーバーに配置する負荷の量。
  • ユーザー ベースのサイズ。

同期を頻繁に行う場合、データはより最新になります。頻繁に同期を行うことの欠点は、リクエストによってサーバーの負荷が増加する可能性があるということです。

どうすればいいかよくわからない場合、間隔を60分(デフォルト設定)から初めて、徐々に値を減らしていくことをお勧めします。ご利用のセットアップで実験する必要があります。

関連トピック

最終更新日 2016 年 5 月 10 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.