mqsireportproperties コマンドを使用して、ブローカー、実行グループ、または構成可能サービスに関係するプロパティーを表示します。
WebSphere® Message Broker Explorer を使用して、構成可能サービスを作成および表示することもできます。詳しくは、WebSphere Message Broker Explorer を使用した構成可能サービスの処理を参照してください。
mqsireportproperties コマンドを使って、mqsichangeproperties コマンドを使用して設定したプロパティーやブローカー・リソースや、mqsicreateconfigurableservice コマンドを使用して作成したプロパティーやブローカー・リソースの値を調べます。
提供されている構成可能サービスのリスト、 およびそれらのプロパティーと値については、構成可能サービスのプロパティーを参照してください。
オブジェクト名 BrokerRegistry を指定する場合を除き、 -b、-e、または -c を -o の後に指定する必要もあります。
パラメーターを設定して、HTTP ノード用のブローカー全体のリスナーを使用不可または使用可能にできます。デフォルトでは、このリスナーはアクティブです。
すべての HTTP ノードがブローカー全体のリスナーではなく組み込みリスナーを使用するように、実行グループを構成することもできます。
すべての有効なオブジェクト名のリストを戻すには、値 AllReportableEntityNames を指定します。コマンド行でプロパティーを指定しないで mqsireportproperties コマンドを実行すると、AllReportableEntityNames が使用されます。
-n、-a、および -r からオプションを 1 つだけ選択しなければなりません。
このオプションは AllReportableEntityNames の可能なすべての値を表示するわけではないことに注意してください。 さらに、すべてのエンティティーがこのパラメーターをサポートするわけではありません。
オブジェクト、プロパティー、値、およびこれらのパラメーターの有効な組み合わせについて詳しくは、mqsichangeproperties コマンドを参照してください。
httplistener コンポーネントの場合、mqsireportproperties コマンドは、プロパティーにデフォルトの設定があるとしても、mqsichangeproperties コマンドで明示的に設定されていないそれらのプロパティーについては報告しません。
例えば、使用されるデフォルトの HTTPSConnector ポートは (変更されていなければ) 7083 です。 ただし、この値はそのデフォルトから mqsichangeproperties コマンドを使用して変更されていない限り、mqsireportproperties コマンドによって報告されることはありません。 mqsireportproperties コマンドが報告できるすべてのプロパティーのデフォルト値を表示するには、mqsichangeproperties コマンドの説明を参照してください。
このコマンドを実行するための特定の権限は必要ありません。
コマンドは常に 1 行で入力します。 いくつかの例では、読みやすいように改行しています。
ブローカー・コンポーネントに関連付けられたプロパティーの表示
以下の例には、表示するコンポーネントを指定するための -b パラメーターが含まれています。
mqsireportproperties TEST -b httplistener -o HTTPListener -n startListener
mqsireportproperties TEST -b httplistener -o HTTPListener -a
mqsireportproperties TEST -b httplistener -o HTTPSConnector -n port
mqsichangeproperties TEST -b servicefederation -o AllReportableEntityNames -r
実行グループに関連付けられたプロパティーの表示
以下の例には、表示する実行グループを指定するための -e パラメーターが含まれています。
mqsireportproperties MB8BROKER -e FTESAMPLE -o FTEAgent -n agentNameエージェントが作成されていると、このコマンドによってエージェント名が戻ります。エージェントが作成されていない場合、このコマンドは空ストリングを戻します。
mqsireportproperties TEST -e exgroup1 -o ExecutionGroup -n httpNodesUseEmbeddedListener
mqsireportproperties TEST -e exgroup1 -o ServiceFederationManager -a
このコマンドの結果は、以下の形式になります。
ServiceFederationManager uuid='ServiceFederationManager' userTraceLevel='none' traceLevel='none' userTraceFilter='none' traceFilter='none' port='8811' securePort='8844' maxWaitTime='180' proxyURLHostName=' mbhost.ibm.com ' proxyPathPrefix='proxy' proxyPathPrefixesEnabled='TRUE' creationTime='2009-09-11 15:37:52.639219' nextProxyPathPrefixCount='8' ownedProxyGroupCount='2'
構成可能サービスに関連付けられたプロパティーの表示
以下の例には、表示する構成可能サービスを指定するための -c パラメーターが含まれています。
mqsireportproperties MB8BROKER -c Aggregation -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c CICSConnection -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c CDServer -o AllReportableEntityNames -rこのコマンドの結果は、以下の形式になります。
CDServer
Default
hostname='localhost'
port='1363'
brokerPathToStagingDir=''
cdPathToStagingDir=''
brokerPathToInputDir=''
cdPathToInputDir=''
queuePrefix= ''
securityIdentity=”Default”
mqsireportproperties MB8BROKER -c Collector -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c CORBA -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c EmailServer -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c FtpServer -o TEST1 -r
mqsireportproperties MB8BROKER -c FtpServer -o TEST1 -n protocol
mqsireportproperties MB8BROKER -c IMSConnect -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c JDBCProviders -o Oracle -r
mqsireportproperties MB8BROKER -c JMSProviders -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c JMSProviders -o WebSphere_MQ -r
mqsireportproperties MB8BROKER -c JMSProviders -o BEA_WebLogic –rこのコマンドの結果は、以下の形式になります。
ReportableEntityName=''
JMSProviders
BEA_Weblogic=''
jarsURL='default_Path'
nativeLibs='default_Path'
proprietaryAPIAttr1='weblogic.jndi.WLInitialContextFactory'
proprietaryAPIAttr2='t3://9.20.94.16:7001'
proprietaryAPIAttr3='BEAServerName'
proprietaryAPIAttr4='default_none'
proprietaryAPIAttr5='default_none'proprietaryAPIHandler='BEAWebLogicAPIHandler.jar'
mqsireportproperties MB8BROKER -c PeopleSoftConnection -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c PolicySets -o AllReportableEntityNames -a
mqsireportproperties MB8BROKER -c PolicySetBindings -o AllReportableEntityNames -a
mqsireportproperties MB8BROKER -c PolicySets -o Policy_2 -n ws-security -p policyset.xmlこの出力ファイルを使用して、ブローカー間でのポリシー・セットの移動およびバックアップを行うことができます。
mqsireportproperties MB8BROKER -c PolicySetBindings -o Bindings_2 -n ws-security -p bindings.xmlこのコマンドは、ブローカー MB8BROKER のポリシー・セット・バインディング・ファイル Bindings_2 を、ファイル bindings.xml に書き込みます。 このファイルを使用して、ポリシー・セット・バインディングのブローカー間での移動およびバックアップを行うことができます。
mqsireportproperties WBRK7 -c Resequence -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c EISProviders -o SAP -r
mqsireportproperties MB8BROKER -c SAPConnection -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c SecurityProfiles -o AllReportableEntityNames -rこのコマンドの結果は、以下の形式になります。
ReportableEntityName='' SecurityProfiles Default_Propagation='' Authentication = 'NONE' AuthenticationConfig = '' Mapping = 'NONE' MappingConfig = '' Authorization = 'NONE' AuthorizationConfig = '' Propagation = 'TRUE' passwordValue = 'PLAIN'
mqsireportproperties MB8BROKER -c SecurityProfiles -o MyFirstSecurityProfile -rこのコマンドの結果は、以下の形式になります。
ReportableEntityName='' SecurityProfiles MyFirstSecurityProfile='' Authentication = 'LDAP' AuthenticationConfig = 'ldap://localhost:389/ou=users,o=ibm' Mapping = 'TFIM' MappingConfig = 'http://tfimhost1:80' Authorization = 'NONE' AuthorizationConfig = '' Propagation = 'TRUE' passwordValue = 'PLAIN'
mqsireportproperties MB8BROKER -c SiebelConnection -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c TCPIPClient -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c TCPIPServer -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c Timer -o AllReportableEntityNames -r
mqsireportproperties MB8BROKER -c JavaClassLoader -o AllReportableEntityNames -r