Service mapping administrative commands for the AdminTask object

You can configure and administer service mapping by using administrative commands with the wsadmin tool. Use the commands and parameters in the ServiceMappingCommands group to install, uninstall, create, delete, attach, and detach service maps and local mapping services in your configuration. You can also set event points on your local mapping services.

A service map represents the configuration of a service mapping. A service mapping links between one or more service clients and one or more service providers. A local mapping service provides the interception point for the requests. Use the following commands to manage your service mapping configurations:

Commands to administer a service map:
  • installServiceMap
  • uninstallServiceMap
  • listServiceMaps
  • showServiceMap
  • inspectServiceMapLibrary
Commands to administer a local mapping service:
  • createLMService
  • deleteLMService
  • listLMServices
  • showLMService
  • updateLMService
  • startLMService
  • stopLMService
After you create one or more service maps, and if one or more local mapping services exist, you can attach a service map to, and detach a service map from, a local mapping service by using the following commands:
  • attachServiceMap
  • detachServiceMap
Use the following commands to set event points on a local mapping service:
  • createLMServiceEventPoint
  • disableLMServiceEventPoint
  • enableLMServiceEventPoint
  • deleteLMServiceEventPoint

To run these commands, use the AdminTask object of the wsadmin scripting client. See Using the wsadmin scripting AdminTask object for scripted administration and Starting the wsadmin scripting client using wsadmin scripting Each command acts on multiple objects in one operation. The commands are provided so that you can make the most commonly-required types of update in a consistent manner, where modifying the underlying objects directly would be error-prone.

The wsadmin scripting client is run from Qshell. For more information, see Configuring Qshell to run WebSphere® Application Server scripts.

Command-line help is provided for service mapping commands:
  • For a list of the available service mapping commands in Jython, and a brief description of each command, enter the following command at the wsadmin prompt:

    print AdminTask.help('LMService')

  • For overview help on a given command, enter the following command at the wsadmin prompt:

    print AdminTask.help('command_name')

You can use the administrative command interactive mode to guide you through the steps for each command when using wsadmin scripting. For more information about the interactive mode, see Administrative command interactive mode environment using wsadmin scripting.


Icon that indicates the type of topic Reference topic

Terms and conditions for information centers | Feedback


Timestamp icon Last updated: Tuesday, 22 April 2014
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=phil&product=was-nd-iseries&topic=rsm_cmnds
File name: rsm_cmnds.html