Removing a UDDI Registry node
Overview
To completely remove a UDDI Registry node we need to remove the UDDI Registry application and delete the UDDI Registry database. However there may be situations where you only want to perform one of these tasks:
- Removing the UDDI Registry application from an application server.
- You might want to do this in order to reinstall the application because it has become corrupted for some reason, or to apply service. See also the topic on Reinstalling the UDDI Registry application.
- Delete the UDDI Registry database
- You might want to do this in order to use a different database product as the persistence store for your UDDI data, to delete all your UDDI Registry data in order to publish fresh data (for example, if you have completed a test cycle), or to cause the UDDI Registry node to re-initialize with new UDDI property settings (for example, to move from a default UDDI node to a customized UDDI node). Note that deleting a UDDI Registry database will cause all UDDI data for that UDDI Registry to be lost.
- Completely removing a UDDI Registry node from an application server
- You might want to do this in order to move the UDDI Registry to a different application server, or to remove a UDDI Registry that has been used for testing.
Depending on what you wish to achieve, complete one of the following steps:
Procedure
- Removing a UDDI Registry application
To remove the UDDI application from an application server, run the wsadmin script uddiRemove.jacl, as shown, from the install_root/bin directory.
The syntax of the command is as follows (this is a Windows platform example; for Unix or Linux platforms, add the .sh suffix to the wsadmin command):
wsadmin -f uddiRemove.jacl node servername [default]wsadmin -f uddiRemove.jacl {node servername | cluster_name} [default]
where
Output will appear on the screen by default. To direct the output to a log file, add '> removeuddi.log' (where removeuddi.log can be any log name of your choice) to the end of the command.
For example, to remove the UDDI application from server 'server1' running in node 'MyNode' on a Windows system, and send any messages to the file removeuddi.log
wsadmin -f uddiRemove.jacl MyNode server1 > removeuddi.log
To remove the UDDI application from cluster 'MyCluster' on a Windows system, and send any messages to the screen
wsadmin -f uddiRemove.jacl MyCluster
Note: If running in a network deployment configuration, the command must be executed against the deployment manager profile.
Note that this will cause all UDDI data in that UDDI Registry to be destroyed.
To completely remove a UDDI Registry node from an application server, we need to remove the UDDI registry application and database, and also the resources that were used to reference the UDDI Registry database.