---
sourceDocument: Xanadu IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/ja-JP/xanadu/it-operations-management

 Release :

    - xanadu

ft:locale :

    - ja-JP

ft:publication_title :

    - Xanadu IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# IBM WebSphere サーバーディスカバリー

# IBM WebSphere サーバーディスカバリー {#ariaid-title1}

* リリースバージョン: Xanadu
* 
* 更新日 2024年08月01日
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 所要時間：8分

IBM WebSphere アプリケーションサーバーは、Java ベースの Web アプリケーションをホストするミドルウェアを備えたソフトウェアフレームワークです。ディスカバリー は、Windows または Linux システム上で実行されている WebSphere アプリケーションサーバーのインスタンスを検出すると、CMDB レコードを作成または更新します。

## Windows 上の Websphere の検出 {#c_DataCollDiscoWebSphereServers__section_rvr_52z_1cb}

ディスカバリーの要件：

Windows システムで実行されている WebSphere アプリケーションサーバーの場合、MID サーバーで [PowerShell](https://servicenow-prod.fluidtopics.net/SqR3oYlFynyfoZqHZ~DzIg "Windows サーバーの水平および垂直ディスカバリーに PowerShell を使用するように、MID サーバーを組織内で設定します。") を有効にします。

## Linux 上の Websphere の検出 {#c_DataCollDiscoWebSphereServers__section_qw3_w2z_1cb}

ディスカバリーの要件：

* WebSphere アプリケーションサーバーで SSH を有効にします。
* 次のプローブがコマンドを実行できるように、実行権限を設定します。
  * WebSphere - serverindex.xml を取得：serverindex.xml ファイルの cat/読み込み権限
  * WebSphere - cell.xml を取得：cell.xml ファイルの cat/読み込み権限
  * WebSphere - server.xml を取得：server.xml ファイルの cat/読み込み権限
  {#c_DataCollDiscoWebSphereServers__ul_upr_bvw_45}
{#c_DataCollDiscoWebSphereServers__ul_qhh_gp5_45}

ディスカバリーおよびサービスマッピングに必要な特権コマンドのリストについては、「[特権ユーザーを必要とする サービスマッピング コマンド](https://servicenow-prod.fluidtopics.net/8bmtWtEWstv5QeJseIc~Mw "サービスマッピング は昇格された権限を必要とするコマンドを使用して、組織内の Unix ベースのホストを検出およびマッピングします。必要な認証情報の設定に加えて、組織内のサーバー を設定し、サービスマッピング がこれらのコマンドを昇格された権限で実行できるようにします。")」を参照して、組織内で Unix ベースのホストを検出およびマッピングするために、昇格された権限を必要とするコマンドのリストを確認してください。

## プローブとセンサー {#c_DataCollDiscoWebSphereServers__section_ayf_cfz_1cb}

ディスカバリー は次のプロセスを使用して、Linux WebSphere アプリケーションサーバーを識別します。  
1. \[Unix - アクティブプロセス\] プローブは、com.ibm.ws.runtime.WsServer に一致する実行中のプロセスを検出します。たとえば、...com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer プロセスの出力には /opt/IBM/WPS/profiles/ccmdb/config localhostNode01Cell ccmdb01 server1 のパラメーターがあります。値は次のとおりです。
   * 最後のパラメーター = server_name = server1
   * 最後のパラメーター - 1 = node_name = ccmdb01
   * 最後のパラメーター - 2 = cell_name = localhostNode01Cell
   * 最後のパラメーター - 3 = config_path ='/opt/IBM/WPS/profiles/ccmdb/config'
   {#c_DataCollDiscoWebSphereServers__ul_sww_ft5_2y}
2. 一致があると、IBM Websphere \[cmdb_ci_app_server_websphere\] テーブルにレコードが作成されます。次のプローブがトリガーされます。
   * WebSphere - セル
   * WebSphere - Web アプリケーション
   * WebSphere --Web サービス
   {#c_DataCollDiscoWebSphereServers__ul_owh_mq5_45}
3. \[WebSphere - セル\] プローブは、実行中のプロセスのパラメーターを使用してインスタンスの cell.xml ファイルを検索し、次に、関連する \<config_path\>\\cells\\\<cell_name\>\\ ディレクトリ内を検索します。
4. プローブが cell.xml ファイルを正常に見つけた場合、センサーはその内容を読み取り、必要に応じて追加の Websphere セル \[cmdb_ci_websphere_cell\] テーブルレコードを入力します。
5. プローブが serverindex.xml ファイルを正常に見つけた場合、センサーはその内容を読み取り、必要に応じて追加の Web アプリケーション \[cmdb_ci_web_application\] テーブルレコードを入力します。
6. プローブが server.xml ファイルを正常に見つけた場合、センサーはその内容を読み取り、必要に応じて追加の Web サービス \[cmdb_ci_web_service\] テーブルレコードを入力します。
{#c_DataCollDiscoWebSphereServers__ol_npp_hq5_45}

ディスカバリー は次のプロセスを使用して、Windows WebSphere アプリケーションサーバーを識別します。  
1. \[Windows - アクティブプロセス\] プローブは、com.ibm.ws.runtime.WsServer に一致する実行中のプロセスを検出します。たとえば、...com.ibm.ws.bootstrap.WSLauncher com.ibm.ws.runtime.WsServer プロセスの出力には /opt/IBM/WPS/profiles/ccmdb/config localhostNode01Cell ccmdb01 server1 のパラメーターがあります。値は次のとおりです。
   * 最後のパラメーター = server_name = server1
   * 最後のパラメーター - 1 = node_name = ccmdb01
   * 最後のパラメーター - 2 = cell_name = localhostNode01Cell
   * 最後のパラメーター - 3 = config_path ='/opt/IBM/WPS/profiles/ccmdb/config'
   {#c_DataCollDiscoWebSphereServers__ul_jwh_ct5_2y}
2. 一致があると、IBM Websphere \[cmdb_ci_app_server_websphere\] テーブルにレコードが作成されます。次のプローブがトリガーされます。
   * Windows - WebSphere - セル
   * Windows - WebSphere - Web アプリケーション
   * Windows - WebSphere --Web サービス
   {#c_DataCollDiscoWebSphereServers__ul_ott_mq5_45}
3. \[Windows - WebSphere - セル\] プローブは、実行中のプロセスのパラメーターを使用してインスタンスの cell.xml ファイルを検索し、次に、関連する \<config_path\>\\cells\\\<cell_name\>\\ ディレクトリー内を検索します。
4. プローブが cell.xml ファイルを正常に見つけた場合、センサーはその内容を読み取り、必要に応じて追加の Websphere セル \[cmdb_ci_websphere_cell\] テーブルレコードを入力します。
5. \[Windows - WebSphere - Web アプリケーション\] プローブは、実行中のプロセスのパラメーターを使用してインスタンスの serverindex.xml ファイルを検索し、次に、関連する \<config_path\>\\cells\\\<cell_name\>\\nodes\\\<node_name\> ディレクトリー内を検索します。
6. プローブが serverindex.xml ファイルを正常に見つけた場合、センサーはその内容を読み取り、必要に応じて追加の Web アプリケーション \[cmdb_ci_web_application\] テーブルレコードを入力します。
7. \[Windows - WebSphere - Web サービス\] プローブは、実行中のプロセスのパラメーターを使用してインスタンスの server.xml ファイルを検索し、次に、関連する \<config_path\>\\cells\\\<cell_name\>\\nodes\\\<node_name\>\\servers\\\<server_name\> ディレクトリー内を検索します。
8. プローブが server.xml ファイルを正常に見つけた場合、センサーはその内容を読み取り、必要に応じて追加の Web サービス \[cmdb_ci_web_service\] テーブルレコードを入力します。
{#c_DataCollDiscoWebSphereServers__ol_mmp_hq5_45}

## 収集されるデータ {#c_DataCollDiscoWebSphereServers__section_yxn_3fz_1cb}

{#c_DataCollDiscoWebSphereServers__table_mxv_krr_z4__entry__3}

| テーブル | フィールド | ソース |
|-|-|-|
| cmdb_ci_app_server_websphere | 名前 (name) | 実行中のプロセス |
| cmdb_ci_websphere_cell | 名前 (name) | cell.xml |
| cmdb_ci_websphere_cell | セル ID (cell_id) | cell.xml |
| cmdb_ci_websphere_cell | セルタイプ (cell_type) | cell.xml |
| cmdb_ci_websphere_cell | セルディスカバリープロトコル (cell_discovery_protocol) | cell.xml |
| cmdb_ci_web_service | 名前 (name) | server.xml |
| cmdb_ci_web_service | サービス ID (service_id) | server.xml |
| cmdb_ci_web_application | 名前 (name) | serverindex.xml |
[表 : 1. Windows Websphere サーバーで収集されるデータ]

{#c_DataCollDiscoWebSphereServers__table_mxv_krr_z4}  
{#c_DataCollDiscoWebSphereServers__table_mxv_uur_z4__entry__4}

| ラベル | テーブル名 | フィールド名 | ソース |
|-|-|-|-|
| 名前 | cmdb_ci_websphere_cell | name | server.xml |
| アプリケーション サーバー | cmdb_ci_web_service | app_server | 内部参照 |
| 名前 | cmdb_ci_web_service | name | server.xml |
| 名前 | cmdb_ci_web_application | name | serverindex.xml |
| アプリケーション サーバー | cmdb_ci_web_application | app_server | serverindex.xml |
[表 : 2. Linux Websphere サーバーで収集されるデータ]

{#c_DataCollDiscoWebSphereServers__table_mxv_uur_z4}

## リレーションシップ {#c_DataCollDiscoWebSphereServers__section_bxn_nfz_1cb}

次の関係が CI 関係 \[cmdb_rel_ci\] テーブルに作成されます。  
{#c_DataCollDiscoWebSphereServers__id_th2_thz_n5b__entry__3}

| 親クラス | 関係性タイプ | 子クラス |
|-|-|-|
| cmdb_ci_app_server_websphere | Runs on::Runs | cmdb_ci_linux_server |
| cmdb_ci_win_server | Runs on::Runs | cmdb_ci_win_server |
| cmdb_ci_app_server_websphere | Contains::Contained by | cmdb_ci_web_application |
| cmdb_ci_web_service | Runs on::Runs | cmdb_ci_app_server_websphere |
| cmdb_ci_websphere_cell | Contains::Contained by | cmdb_ci_app_server_websphere |
[ ]

{#c_DataCollDiscoWebSphereServers__id_th2_thz_n5b}

