mqsireportproperties コマンドを使用して、ブローカー、実行グループ、または構成可能サービスに関係するプロパティーを表示します。
WebSphere® Message Broker Explorer を使用して、構成可能サービスを作成および表示することもできます。 詳しくは、WebSphere Message Broker Explorer を使用した構成可能サービスの処理を参照してください。
mqsireportproperties コマンドを使って、mqsichangeproperties コマンドを使用して設定したプロパティーやブローカー・リソースや、mqsicreateconfigurableservice コマンドを使用して作成したプロパティーやブローカー・リソースの値を調べます。
>>-mqsireportproperties--BrokerName-----------------------------> >--+---------------------------+-- -o --ObjectName--------------> +- -b --ComponentName-------+ +- -e --ExecutionGroupLabel-+ '- -c --ConfigurableService-' >--+- -n --PropertyName-+--+----------------+--+-----+--------->< +- -a----------------+ '- -p --FileName-' '- -f-' '- -r----------------'
提供されている構成可能サービスのリスト、 およびそれらのプロパティーと値については、構成可能サービスのプロパティーを参照してください。
オブジェクト名 BrokerRegistry を指定する場合を除き、 -b、-e、または -c を -o の後に指定する必要もあります。
パラメーターを設定して、HTTP および SOAP ノード用のブローカー全体のリスナーを使用不可または使用可能にできます。デフォルトでは、このリスナーはアクティブであり HTTP ノードで使用されます。 SOAP ノードは、デフォルトで実行グループ (組み込み) リスナーを使用します。
すべての HTTP ノードがブローカー全体のリスナーではなく組み込みリスナーを使用するように、実行グループを構成することができます。 また、SOAP ノードがブローカー全体のリスナーを使用するように、実行グループを構成することもできます。 詳しくは、HTTP リスナーを参照してください。
すべての有効なオブジェクト名のリストを戻すには、値 AllReportableEntityNames を指定します。
-n、-a、および -r からオプションを 1 つだけ選択しなければなりません。
このオプションは AllReportableEntityNames の可能なすべての値を表示するわけではないことに注意してください。 さらに、すべてのエンティティーがこのパラメーターをサポートするわけではありません。
このパラメーターを使用できるのは、実行グループが停止状態の場合のみで、-e および -o も指定する必要があります。
他の構成可能サービスまたはコンポーネント用にこのパラメーターを指定した場合、エラーが生成されます。
オブジェクト、プロパティー、値、およびこれらのパラメーターの有効な組み合わせについて詳しくは、mqsichangeproperties コマンドを参照してください。
httplistener コンポーネントの場合、mqsireportproperties コマンドは、プロパティーにデフォルトの設定があるとしても、mqsichangeproperties コマンドで明示的に設定されていないそれらのプロパティーについては報告しません。
例えば、使用されるデフォルトの HTTPSConnector ポートは (変更されていなければ) 7083 です。 ただし、この値はそのデフォルトから mqsichangeproperties コマンドを使用して変更されていない限り、mqsireportproperties コマンドによって報告されることはありません。 mqsireportproperties コマンドが報告できるすべてのプロパティーのデフォルト値を表示するには、mqsichangeproperties コマンドの説明を参照してください。
コマンドは常に 1 行で入力します。 いくつかの例では、読みやすいように改行しています。
ブローカー・コンポーネントに関連付けられたプロパティーの表示
以下の例には、表示するコンポーネントを指定するための -b パラメーターが含まれています。
mqsireportproperties MB8BROKER -b httplistener -o HTTPListener -n startListener
mqsireportproperties MB8BROKER -b cachemanager -o CacheManager -r
mqsireportproperties MB8BROKER -b httplistener -o HTTPListener -a
mqsireportproperties MB8BROKER -b httplistener -o HTTPSConnector -n port
mqsichangeproperties MB8BROKER -b servicefederation -o AllReportableEntityNames -r
実行グループに関連付けられたプロパティーの表示
以下の例には、表示する実行グループを指定するための -e パラメーターが含まれています。
mqsireportproperties MB8BROKER -e FTESAMPLE -o FTEAgent -n agentName
エージェントが作成されていると、このコマンドによってエージェント名が戻ります。 エージェントが作成されていない場合、このコマンドは空ストリングを戻します。mqsireportproperties MB8BROKER -e exgroup1 -o ExecutionGroup -n httpNodesUseEmbeddedListener
mqsireportproperties MB8BROKER -e exgroup1 -o ExecutionGroup -n soapNodesUseEmbeddedListener
mqsireportproperties MB8BROKER -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 CDServer -o AllReportableEntityNames -r
このコマンドの結果は、以下の形式になります。CDServer
Default
hostname='localhost'
port='1363'
brokerPathToStagingDir=''
cdPathToStagingDir=''
brokerPathToInputDir=''
cdPathToInputDir=''
queuePrefix= ''
securityIdentity=”Default”
mqsireportproperties MB8BROKER -c FtpServer -o TEST1 -r
mqsireportproperties MB8BROKER -c FtpServer -o TEST1 -n protocol
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 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 MB8BROKER -c SecurityProfiles
-o AllReportableEntityNames -r
このコマンドの結果は、以下の形式になります。ReportableEntityName=''
SecurityProfiles
Default_Propagation=''
authentication = 'NONE'
authenticationConfig = ''
authorization = 'NONE'
authorizationConfig = ''
idToPropagateToTransport = 'Message ID'
keyStore = 'Reserved for future use'
mapping = 'NONE'
mappingConfig = ''
passwordValue = 'PLAIN'
propagation = 'TRUE'
rejectBlankpassword = 'FALSE'
transportPropagationConfig = ''
trustStore = 'Reserved for future use'
mqsireportproperties MB8BROKER -c SecurityProfiles
-o MyFirstSecurityProfile -r
このコマンドの結果は、以下の形式になります。ReportableEntityName=''
SecurityProfiles
MyFirstSecurityProfile=''
authentication = 'LDAP'
authenticationConfig = 'ldap://localhost:389/ou=users,o=ibm'
authorization = 'NONE'
authorizationConfig = ''
idToPropagateToTransport = 'Message ID'
keyStore = 'Reserved for future use'
mapping = 'TFIM'
mappingConfig = 'http://tfimhost1:80'
passwordValue = 'PLAIN'
propagation = 'TRUE'
rejectBlankpassword = 'FALSE'
transportPropagationConfig = ''
trustStore = 'Reserved for future use'