Working with end point properties file

You can use properties files to change the end points of a server.

Before you begin

Determine the changes that you want to make to your end point configuration.

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

About this task

Using a properties file, you can modify end point properties.

Run administrative commands using wsadmin to extract a properties file for an end point, validate the properties, and apply them to your configuration.

Table 1. Actions for end point properties files. You can modify end point properties.
Action Procedure
create Not available
modify Edit properties and then run the applyConfigProperties command.
delete Not available

Optionally, you can use interactive mode with the commands:

AdminTask.command_name('-interactive')

Procedure

  1. Edit end point properties under a server.

    Open an editor on a properties file. Example properties for an EndPoint under a server follow. The example specifies three different host names in the Environment Variables section: myHostName,* and localhost. You can copy the example properties into an editor and modify them as needed for your situation.

    #
    # Header
    #
    ResourceType=EndPoint
    ImplementingResourceType=Server
    ResourceId=Cell=!{cellName}:Node=!{nodeName}:Server=!{serverName}
    #
    #
    #Properties
    #
    SOAP_CONNECTOR_ADDRESS=8888:!{hostName} # integer 
    SIP_DEFAULTHOST_SECURE=5067:!{hostName1} # integer 
    SIP_DEFAULTHOST=5066:!{hostName1} # integer 
    SIB_ENDPOINT_ADDRESS=7283:!{hostName1} # integer 
    WC_defaulthost_secure=9447:!{hostName1} # integer 
    DCS_UNICAST_ADDRESS=9364:!{hostName1} # integer 
    SIB_MQ_ENDPOINT_SECURE_ADDRESS=5582:!{hostName1} # integer 
    WC_adminhost_secure=9052:!{hostName1} # integer 
    CSIV2_SSL_MUTUALAUTH_LISTENER_ADDRESS=9424:!{hostName} # integer 
    ORB_LISTENER_ADDRESS=0:!{hostName} # integer 
    BOOTSTRAP_ADDRESS=2813:!{hostName} # integer 
    CSIV2_SSL_SERVERAUTH_LISTENER_ADDRESS=9423:!{hostName} # integer 
    IPC_CONNECTOR_ADDRESS=9634:!{hostName2} # integer 
    SIB_ENDPOINT_SECURE_ADDRESS=7291:!{hostName1} # integer 
    WC_defaulthost=9084:!{hostName1} # integer 
    SIB_MQ_ENDPOINT_ADDRESS=5562:!{hostName1} # integer 
    SAS_SSL_SERVERAUTH_LISTENER_ADDRESS=9422:!{hostName} # integer 
    WC_adminhost=9069:!{hostName1} # integer
    #
    EnvironmentVariablesSection
    #
    #Environment Variables
    hostName2=localhost
    hostName1=*
    hostName=myHostName
    cellName=WASCell06
    serverName=myServer
    nodeName=WASNode04
  2. Run the applyConfigProperties command.

    Running 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 myObjectType.props -reportFileName report.txt '])

Results

You can use the properties file to configure and manage the end point properties.

What to do next

Save the changes to your configuration.




In this information ...


IBM Redbooks, demos, education, and more

(Index)

Use IBM Suggests to retrieve related content from ibm.com and beyond, identified for your convenience.

This feature requires Internet access.

Task topic Task topic    

Terms of Use | Feedback

Last updatedLast updated: Sep 19, 2011 3:08:41 PM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=matt&product=was-nd-zos&topic=txml_config_prop_endpoint
File name: txml_config_prop_endpoint.html