Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Use properties files to manage system configuration > Manage specific configuration objects using properties files > Work with service integration properties files


Work with the service integration bus member properties files

We can use properties files to add and remove service integration bus member objects. Service integration is the default JMS messaging provider for the product.

Determine the property values to set for the service integration bus member configuration.

Start wsadmin.sh.

To start wsadmin using the Jython language, run the wsadmin -lang Jython command from the bin directory of the server profile.

Use a properties file, you can add a member to a service integration object or remove a member from a service integration object.

Actions for the service integration member properties files. You can add or remove service integration members.

Action Procedure
create Specify commandName=addSIBusMember in the properties file. Run applyConfigProperties.
modify Not applicable
delete Specify commandName=removeSIBusMember in the properties file. Run applyConfigProperties.
create Property Not applicable
delete Property Not applicable


Procedure

  1. Add or remove a service integration bus member object.

    • Add a member to a service integration object.

      Open an editor, specify commandName=addSIBusMember in the header, specify the service integration bus member properties, and save the file.

      We can copy the following service integration bus member configuration to the properties file and edit the properties as needed. Set values for a server and either a cluster or node.

      #
      # Header
      #
      CreateDeleteCommandProperties=true
      commandName=addSIBusMember
      #
      
      #
      #Properties
      #
      minPermanentStoreSize=null #java.lang.Long
      trustUserIds=null #Boolean
      maxTemporaryStoreSize=null #java.lang.Long
      host=null #String
      createTables=null #Boolean
      enableAssistance=null #Boolean
      temporaryStoreDirectory=null #String
      securityAuthAlias=null #String
      maxHeapSize=null #Integer
      datasourceJndiName=null #String
      bus=myBus #String,required
      schemaName=null #String
      dataStore=null #String
      unlimitedPermanentStoreSize=null #Boolean
      policyName=null #String
      preferredServersOnly=null #Boolean
      logSize=null #java.lang.Long
      failback=null #Boolean
      minTemporaryStoreSize=null #java.lang.Long
      cluster=null #String
      node=myNode #String
      failover=null #Boolean
      permanentStoreDirectory=null #String
      maxPermanentStoreSize=null #java.lang.Long
      server=myServer #String
      wmqServer=null #String
      channel=null #String
      port=null #Integer
      virtualQueueManagerName=null #String
      unlimitedTemporaryStoreSize=null #Boolean
      logDirectory=null #String
      fileStore=null #String
      initialHeapSize=null #Integer
      transportChain=null #String
      authAlias=null #String
      createDefaultDatasource=null #Boolean
      
    • Remove a member from the service integration object.

      Open an editor, specify commandName=removeSIBusMember in the header, specify the bus, server, node, and cluster properties, and then save the file.

      #
      # Header
      #
      CreateDeleteCommandProperties=true
      commandName=removeSIBusMember
      #
      
      #
      #Properties
      #
      cluster=null #String
      bus=myBus #String,required
      node=myNode #String
      server=myServer #String
      

  2. Run applyConfigProperties to add or remove the service integration bus member.

    Run the applyConfigProperties command applies the properties file to the configuration. In this Jython example, the optional -reportFileName parameter produces a report named report.txt:

    AdminTask.applyConfigProperties(['-propertiesFileName mySIBusMember.props -reportFileName report.txt '])
    

    Optionally, you can use the command in interactive mode:

    AdminTask.applyConfigProperties('-interactive')
    


Results

We can use the properties file to configure and manage the service integration bus member.


What to do next

Save the changes to the configuration.
Extract properties files using wsadmin.sh
Create server, cluster, application, or authorization group objects using properties files and wsadmin scripting
Delete server, cluster, application, or authorization group objects using properties files


Related


PropertiesBasedConfiguration command group using wsadmin.sh

+

Search Tips   |   Advanced Search