Virtual member manager は、WebSphere® Application Server のインストール中に WebSphere システム・アプリケーションとしてインストールされます。インストール手順については、WebSphere Application Server の文書を参照してください。
オプションで、Virtual member manager サービス EJB とその互換 EJB をターゲットにデプロイできます。EJB をデプロイするには、以下の wsadmin コマンドを実行します。
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -server dmgr -systemApp}
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -node node1 -server server1 -systemApp}
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -cluster cluster1 -systemApp}
$AdminApp install app_server_root/installableApps/wimperdomain.ear
{-appname wimperdomain –BindJndiForEJBNonMessageBinding
{{wim.ejb WIMService wimejb.jar,META-INF/ejb-jar.xml
ejbdomain1/com/ibm/websphere/wim/ejb/WIMServiceHome}}
-MapModulesToServers {{wim.ejb wimejb.jar,META-INF/ejb-jar.xml
WebSphere:cell=myCell,node=myNode,server=server1}} -systemApp}
この手順により、特定のドメインの EJB を介して Virtual member manager API を呼び出すことができます。Virtual member manager API の必須アクセス・ロールが割り当てられているユーザー、またはそのドメインのスーパーユーザーのみが、該当する API を呼び出すことができます。
制約事項: Virtual member manager EJB を管理対象ノードにデプロイすると、構成、スキーマ、またはファイル・レジストリーの更新操作が失敗します。
完全なコマンド構文については、WebSphere インフォメーション・センターの参照セクションで「$AdminApp インストール」の wsadmin コマンドの文書を参照してください。
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -cell MyCell -cluster mycluster -systemApp}
$AdminApp install app_server_root/systemApps/wim.ear {-appname wim -cell MyCell -server server1 -systemApp}
$AdminApp uninstall wim {-cell myCell -node myNode -server dmgr}
$AdminConfig save