Use the mqsichangeproperties command to modify broker properties and properties of broker resources.
Use the mqsichangeproperties command to change properties that are associated with a broker:
You can also use the IBM® Integration Explorer or the IBM Integration API (also known as the CMP) to change properties.
Use the mqsireportproperties command to view properties that are associated with a broker.
>>-mqsichangeproperties--BrokerName-----------------------------> >--+------------------------------+-- -o --ObjectName-----------> +- -b --ComponentName----------+ +- -c --ConfigurableService----+ '- -e --IntegrationServerLabel-' >-- -n --PropertyName--+- -v --PropertyValue-+--+-----+-------->< +- -p --Path.FileName-+ '- -f-' '- -d ----------------'
The valid resource types are listed in Configurable services properties.
You must also specify -b, -e, or -c with -o, except if you specify the object name BrokerRegistry, or the object name ComIbmJVMManager to change a property related to the heap size.
For compatibility with previous versions, you can also specify the value ComIbmXmlParserFactory for the ObjectName.
The property names for predefined configurable services are described in Configurable services properties.
If you specify a Configurable Service of type UserDefined, the PropertyName specified is created if it does not exist.
You can specify more than one property name together with a corresponding value, by using commas as separators, if you use a valid value for the corresponding property; for example, -n Name1,Name2 -v Value1,Value2.
Do not leave a space after each comma in the list of names and corresponding values. Use "" to specify an empty PropertyValue string.
If the property value contains a comma, enclose the value with escaped double quotation marks (\" and \"); for example, -n Name1,Name2 -v Value1,\"Value21,Value22\".
mqsichangeproperties IB9NODE -c JDBCProviders -o DB2EXTRA -n connectionUrlFormat
-v "jdbc:db2://[serverName]:[portNumber]/[databaseName]:user=[user];password=[password];"
If you set the -c parameter to EISProviders or JMSProviders, and the -n parameter to jarsURL, the expected value is a URL that specifies the file location of the EIS or JMS provider JAR files, but omits the file:// part of the URL. (On Windows, the file location cannot be a mapped network drive on a remote Windows computer; the directory must be local or on a Storage Area Network (SAN) disk.)
Use this parameter for policy sets and bindings.
Use this parameter for monitoring profiles; the XML file must conform to the monitoring profile schema.
If you specify this parameter for other configurable services or components, an error is generated.
You can use this parameter only when the integration server is in the stopped state. You can use the -f parameter when the broker is running or stopped. You are advised to use this parameter only under the direction of IBM support to recover from integration server startup failures.
If you specify this parameter for other configurable services or components, an error is generated.
Always enter the command on a single line; in some examples, line breaks have been added to enhance readability.
Changes to broker components
The following examples specify the -b parameter to identify a particular broker component.
mqsichangeproperties IB9NODE -b httplistener -o HTTPListener
-n startListener -v false
mqsichangeproperties IB9NODE -b httplistener -o HTTPListener
-n startListener -v true
mqsichangeproperties IB9NODE -b httplistener -o HTTPListener
-n enableSSLConnector -v true
mqsichangeproperties IB9NODE -b httplistener -o HTTPSConnector
-n sslProtocol -v TLS
mqsichangeproperties IB9NODE -b httplistener -o HTTPSConnector
-n crlFile -v file_path
mqsichangeproperties IB9NODE -b securitycache -o SecurityCache
-n cacheTimeout -v 200
mqsichangeproperties IB9NODE -b webadmin -o server
-n enabled -v false
mqsichangeproperties IB9NODE -b webadmin -o HTTPSConnector
-n port -v new_port_number
You can change this
property only when the broker is running, and the change takes effect
when the broker is restarted.mqsichangeproperties IB9NODE -o ComIbmJVMManager
-n jvmMaxHeapSize -v size_in_bytes
Changes to properties that are associated with integration servers
The following examples include the -e parameter to specify the integration server to change.
mqsichangeproperties IB9NODE -e exgroup1 -o ExecutionGroup
-n httpNodesUseEmbeddedListener -v true
If you disable the broker-wide listener (as shown in a previous example), you do not have to change the integration server configuration as shown in this command; if the broker-wide listener is not active, all integration servers use the embedded listener by default for all HTTP message handling.
mqsichangeproperties IB9NODE -e exgroup1 -o ExecutionGroup
-n httpNodesUseEmbeddedListener -v false
mqsichangeproperties IB9NODE -e exgroup1 -o ExecutionGroup
-n soapNodesUseEmbeddedListener -v false
mqsichangeproperties IB9NODE -e exgroup1 -o ExecutionGroup
-n soapNodesUseEmbeddedListener -v true
If you disable the broker-wide listener (as shown in a previous example), you do not have to change the integration server configuration as shown in this command; if the broker-wide listener is not active, all integration servers use the embedded listener by default for all HTTP message handling.
mqsichangeproperties IB9NODE -e exgroup1 -o ExecutionGroup
-n failedMessageWaitTime -v wait_time
mqsichangeproperties IB9NODE -e exgroup1 -o HTTPSConnector
-n explicitlySetPortNumber -v 7777
mqsichangeproperties IB9NODE -e default
-o HTTPSConnector -n ciphers
-v \"SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA\"
-v \"SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA\"
-v "SSL_RSA_WITH_RC4_128_MD5,SSL_RSA_WITH_RC4_128_SHA"
mqsichangeproperties IB9NODE -e exgroup1 -n crlFile -v file_path
mqsichangeproperties IB9NODE -e exgroup1 -o ComIbmJVMManager -n enableCRLDP -v true
mqsichangeproperties IB9NODE -e exgroup1 -o ComIbmJVMManager
-n jvmDebugPort -v 8018
mqsichangeproperties IB9NODE -e exgroup1 -o ComIbmJVMManager
-n jvmMaxHeapSize -v size_in_bytes
mqsichangeproperties IB9NODE -e AddressSampleProvider
-o ComIbmJVMManager
-n keystoreType -v JKS
mqsichangeproperties IB9NODE -e myExecutionGroup
-o FTEAgent -n coordinationQMgr -v QM2
mqsichangeproperties IB9NODE -e exgroup1
-o ComIbmGenericXmlParserFactory -n invalidCharacterEscapeType -v character_type
where character_type specifies
how to render the character:mqsichangeproperties IB9NODE -e default
-o ComIbmMQConnectionManager -n expiryCompensation -v option
where option specifies
if the expiry compensation is active or not:Changes to the BrokerRegistry object
mqsichangeproperties IB9NODE -o BrokerRegistry
-n httpConnectorPortRange -v 7777-8888
mqsichangeproperties IB9NODE -o BrokerRegistry -n crlFileList -v file_path
Changes to configurable services
The following examples include the -c parameter to specify the type of configurable service to change.
mqsichangeproperties IB9NODE -c Aggregation
-o myAggregationService
-n timeoutSeconds -v 120
This command changes all nodes
that are configured to use the myAggregationService configurable service
by setting the timeout of an aggregation to 120 seconds.mqsichangeproperties IB9NODE -c CICSConnection -o myCICSConnectionService
-n connectionTimeoutSecs -v 120
This command changes the CICSRequest node that is configured to use the myCICSConnectionService configurable service by setting the Connection timeout to 120 seconds.
mqsichangeproperties IB9NODE -c Collector
-o myCollectorService
-n collectionExpirySeconds -v 120
This command changes
all nodes that are configured to use the myCollectorService configurable
service by setting the expiry time of collections to 120 seconds.mqsichangeproperties IB9NODE -c CORBA -o myCORBAService -n namingService,objectReferenceName -v localhost:2809,Europe.region/Market.object
mqsichangeproperties IB9NODE -c EmailServer -o
myEmailConfigurableServiceName -n securityIdentity -v
myNewSecurityIdentityObjectName
This command changes the EmailInput node that is configured to use the myEmailConfigurableServiceName configurable service by renaming the securityIdentity object to myNewSecurityIdentityObjectName.
Note that you can use any string for the -o Objectname parameter.
mqsichangeproperties IB9NODE -c CDServer -o myCDServer -n brokerPathToStagingDir
-v /tmp/cdtransfer
mqsichangeproperties IB9NODE -c EISProviders -o SAP
-n jarsURL,nativeLibs
-v c:\sapjco\jars,c:\sapjco\bin
mqsichangeproperties IB9NODE -c FtpServer -o TEST1
-n protocol,serverName,scanDelay,remoteDirectory,securityIdentity,
cipher,compression,strictHostKeyChecking
-v SFTP,winlnx58,30,.,chbatey,blowfish-cbc,9,no
mqsichangeproperties IB9NODE -c IMSConnect
-o myIMSConnectService
-n Hostname -v production.ims.ibm.com
mqsichangeproperties IB9NODE -c JDBCProviders -o Oracle
-n securityIdentity -v OracleDSN
OracleDSN is the DSN
with which you have associated a user ID and password using the mqsisetdbparms command.mqsichangeproperties IB9NODE -c JDBCProviders -o myJDBCProvider
-n databaseSchemaNames -v mySchemaName
mqsichangeproperties IB9NODE -c JDBCProviders -o myJDBCProvider
-n databaseSchemaNames -v myTableNameA:mySchemaName01
mqsichangeproperties IB9NODE -c JDBCProviders -o myJDBCProvider
-n databaseSchemaNames -v myDefaultSchemaName;myTableNameA:mySchemaName01
mqsichangeproperties IB9NODE -c JMSProviders -o WebSphere_MQ
-n jarsURL -v file://D:\SIBClient\Java
mqsichangeproperties IB9NODE -c JMSProviders -o BEA_Weblogic
-n proprietaryAPIAttr2, proprietaryAPIAttr3
-v t3://9.20.94.16:7001,BEAServerName
mqsichangeproperties IB9NODE -c JMSProviders -o myJMSprovider
-n jndiEnvironmentObject,jndiEnvironmentObjectParm1,jndiEnvironmentObjectParm2,jndiEnvironmentObjectParm3
-v java.util.Vector:name=com.tibco.tibjms.naming.ssl_trusted_certs,mycert1,mycert2,mycert3
mqsichangeproperties IB9NODE -c JMSProviders -o myJMSprovider
-n jndiEnvironmentParms
-v domainName=myDomain;timeout=6000
mqsichangeproperties IB9NODE -c MonitoringProfiles -o mp1
-n profileProperties -p mp1.xml
mqsichangeproperties IB9NODE -c PeopleSoftConnection
-o myPeopleSoftAdapter.outadapter -n hostName
-v "my.peoplesoft.production.com"
Import a policy set to a broker from a file:
mqsichangeproperties IB9NODE -c PolicySets -o Policy_2
-n ws-security -p policyset.xml
This command reads
file policyset.xml and sets its contents as Policy_2
in broker IB9NODE.
The command is used to move policy sets between brokers, or to restore
from a backup.mqsichangeproperties IB9NODE -c PolicySetBindings -o Bindings_2
-n ws-security -p bindings.xml
This command reads
file bindings.xml and sets its contents as Bindings_2
in broker IB9NODE.
The command is used to move policy set bindings between brokers, or
to restore from a backup.mqsichangeproperties IB9NODE -c Resequence -o myResequenceService
-n missingMessageTimeoutSeconds -v 120
This command changes
all nodes that are configured to use the myResequenceService configurable
service, by setting them to propagate message sequences that have
missing messages after waiting for 120 seconds.mqsichangeproperties IB9NODE -c SAPConnection -o mySAPAdapter
-n applicationServerHost -v production.sap.ibm.com
mqsichangeproperties IB9NODE -c SecurityProfiles
-o TFIMv62MapSecProfile
-n mapping,mappingConfig
-v "WS-Trust v1.3 STS",
http://wstrusthost1.ibm.com:9080/TrustServerWST13/services/RequestSecurityToken
mqsichangeproperties IB9NODE -c ServiceRegistries -o DefaultWSRR
-n connectionTimeout -v 180
mqsichangeproperties IB9NODE -c SiebelConnection
-o mySiebelAdapter.outadapter
-n connectString
-v "siebel://my.siebel.production.com/SBA_80/SSEObjMgr_enu"
mqsichangeproperties IB9NODE -c TCPIPClient
-o ClientPort1452HostnameJsmith
-n MinimumConnections -v 0
mqsichangeproperties IB9NODE -c TCPIPServer -o ServerPort1452
-n ExpireConnectionSec -v 30
mqsichangeproperties IB9NODE -c TCPIPClient -o MyTCPIPClient
-n AlternativeAddresses -v smith6:1111;jones7
mqsichangeproperties IB9NODE -c TCPIPClient -o MyTCPIPClient
-n UseUniqueConnectionPool -v true
mqsichangeproperties IB9NODE -e default -o TCPIP/quiesce/Server -n port, 1445
mqsichangeproperties IB9NODE -e default -o TCPIP/quiesce/Server -n port, 1445
mqsichangeproperties IB9NODE -e default -o TCPIP/quiesce/Server -n port, quiesceTimeoutSec -v 1445,30
mqsichangeproperties IB9NODE -c Timer -o myTimerService
-n timeoutIntervalSeconds -v 1
This command changes all TimeoutNotification nodes that
are configured to use the myTimerService configurable service, by
configuring them to generate events every second if the node is configured
in Automatic mode.mqsichangeproperties IB9NODE -e default -o ContentBasedFiltering
-n cbfEnabled -v true
mqsichangeproperties IB9NODE -e default -o ContentBasedFiltering
-n validationThreads -v 5
mqsichangeproperties IB9NODE -c JavaClassLoader
-o myJavaClassLoader
-n sharedJarPath
-v /var/app2/jars
mqsichangeproperties IB9NODE -c UserDefined
-o MyService1 -n VerifyRequestTimeout -v 60
mqsichangeproperties IB9NODE -c UserDefined
-o HTTP_Timeout -n VerifyRequestTimeout -d