mqsireportproperties コマンドを使用して、ブローカー、実行グループ、または構成可能サービスに関係するプロパティーを表示します。
IBM® Integration Explorer を使用して、構成可能サービスを作成および表示することもできます。 詳しくは、IBM Integration 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 を指定します。 コマンド行でプロパティーを指定しないで mqsireportproperties コマンドを実行すると、AllReportableEntityNames が使用されます。
-n、-a、および -r からオプションを 1 つだけ選択しなければなりません。
このオプションは AllReportableEntityNames の可能なすべての値を表示するわけではないことに注意してください。 さらに、すべてのエンティティーがこのパラメーターをサポートするわけではありません。
このパラメーターを使用できるのは、実行グループが停止状態の場合のみで、-e および -o も指定する必要があります。
他の構成可能サービスまたはコンポーネント用にこのパラメーターを指定した場合、エラーが生成されます。
オブジェクト、プロパティー、値、およびこれらのパラメーターの有効な組み合わせについて詳しくは、mqsichangeproperties コマンドを参照してください。
httplistener コンポーネントの場合、mqsireportproperties コマンドは、プロパティーにデフォルトの設定があるとしても、mqsichangeproperties コマンドで明示的に設定されていないそれらのプロパティーについては報告しません。
例えば、使用されるデフォルトの HTTPSConnector ポートは (変更されていなければ) 7083 です。 ただし、この値はそのデフォルトから mqsichangeproperties コマンドを使用して変更されていない限り、mqsireportproperties コマンドによって報告されることはありません。 mqsireportproperties コマンドが報告できるすべてのプロパティーのデフォルト値を表示するには、mqsichangeproperties コマンドの説明を参照してください。
コマンドは常に 1 行で入力します。 いくつかの例では、読みやすいように改行しています。
ブローカー・コンポーネントに関連付けられたプロパティーの表示
以下の例には、表示するコンポーネントを指定するための -b パラメーターが含まれています。
mqsireportproperties IB9NODE -b httplistener -o HTTPListener -n startListener
mqsireportproperties IB9NODE -b cachemanager -o CacheManager -r
mqsireportproperties IB9NODE -b httplistener -o HTTPListener -a
mqsireportproperties IB9NODE -b httplistener -o HTTPSConnector -n port
構成可能サービスに関連付けられたプロパティーの表示
以下の例には、表示する構成可能サービスを指定するための -c パラメーターが含まれています。提供されている構成可能サービスのリスト、 およびそれらのプロパティーと値については、構成可能サービスのプロパティーを参照してください。
mqsireportproperties IB9NODE -c Aggregation -o AllReportableEntityNames -r
mqsireportproperties IB9NODE -c CDServer -o AllReportableEntityNames -r
このコマンドの結果は、以下の形式になります。CDServer
Default
hostname='localhost'
port='1363'
brokerPathToStagingDir=''
cdPathToStagingDir=''
brokerPathToInputDir=''
cdPathToInputDir=''
queuePrefix= ''
securityIdentity=”Default”
mqsireportproperties IB9NODE -c FtpServer -o TEST1 -r
mqsireportproperties IB9NODE -c FtpServer -o TEST1 -n protocol
mqsireportproperties IB9NODE -c JDBCProviders -o Oracle -r
mqsireportproperties IB9NODE -c JMSProviders
-o AllReportableEntityNames -r
mqsireportproperties IB9NODE -c JMSProviders
-o WebSphere_MQ -r
mqsireportproperties IB9NODE -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 IB9NODE -c PolicySets
-o Policy_2 -n ws-security -p policyset.xml
この出力ファイルを使用して、ブローカー間でのポリシー・セットの移動およびバックアップを行うことができます。mqsireportproperties IB9NODE -c PolicySetBindings
-o Bindings_2 -n ws-security -p bindings.xml
このコマンドは、ブローカー IB9NODE のポリシー・セット・バインディング・ファイル Bindings_2 を、ファイル bindings.xml に書き込みます。
このファイルを使用して、ポリシー・セット・バインディングのブローカー間での移動およびバックアップを行うことができます。mqsireportproperties IB9NODE -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 IB9NODE -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'