Friday, January 7, 2011

How to remove an Action Server from Opalis

Normally, when you like to remove an Action Server from Opalis you use the Deployment Manager. Simply right-click the server to be decommissioned and select Uninstall Action Server.

But sometimes it happens, that the Action Server is not available any more when you try to do that. The step above ends with an error message (“Failed to uninstall the Action Server” with detail “RPC not available”).

In that case there is no supported way to remove the Action Server from the Management Server. But you can remove the Action Server by using the following three SQL statements:

SELECT [UniqueID]
  FROM [Opalis].[dbo].[ACTIONSERVERS]
  WHERE [Computer] = '<action_server_to_be_removed>'
GO

DELETE
  FROM [Opalis].[dbo].[ACTIONSERVERS]
  WHERE [Computer] = '<UniqueID_from_1st_query>'
GO

DELETE
  FROM [Opalis].[dbo].[OBJECTS]
  where UniqueID = '<UniqueID_from_1st_query>'
GO


Replace the string <action_server_to_be_removed> by the server name exactly as provided in the Deployment Manager. Further, replace the <UniqueID_from_1st_query> by the UniqueID you get from the first statement.


All information is provided "as is" without any warranty! Try in lab before. Handle with care in production.

0 Comments:

Post a Comment