Uninstalling a service map by using the command line

Uninstall a service map so that that service map, and the rules it defines for routing and transforming requests, can no longer be applied to any service mapping.

Before you begin

Before you uninstall a service map you must ensure that that service map is not attached to a local mapping service.
Note: If you uninstall a service map, that service map is deleted and is no longer available to attach to a local mapping service.

About this task

You can uninstall a service map by using wsadmin commands, or by using the administrative console as described in Uninstalling a service map by using the administrative console.

Procedure

  1. Launch wsadmin by starting the wsadmin scripting tool.
  2. Use the uninstallServiceMap command to uninstall a service map that has been installed:
    AdminTask.uninstallServiceMap("MyServiceMap")
    The uninstallServiceMap uninstalls the service map.
  3. Use the listServiceMaps command to display a list of installed service maps in the cell, to check that the service map was uninstalled:
    AdminTask.listServiceMaps()
  4. Save your configuration changes by using the following command:
    AdminConfig.save()
  5. If you are in a clustered environment, you must synchronize the nodes. Use the syncActiveNodes script in the AdminNodeManagement script library to synchronize each active node in your environment, as the following example demonstrates:
    AdminNodeManagement.syncActiveNodes()

Results

You have uninstalled the selected service maps.


Icon that indicates the type of topic Task 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-express-iseries&topic=tsm_uninstallservicemap
File name: tsm_uninstallservicemap.html