Want to recover the Recovery Solution cluster settings in the Notification Server database? This tip will tell you the method to do so.
SELECT NSClusterGuid FROM dbo.VaultGroup
[HKEY_LOCAL_MACHINE\SOFTWARE\Altiris\eXpress\Recovery Solution Agent]ClusterGUID
SELECT Guid, DbServer, DbName, Version FROM dbo.RS_Clusters
The SQL script:
declare @oldGuid nvarchar(40) declare @newGuid nvarchar(40) --Replace GUIDs here set @oldGuid = '<GUID>'--Must replace with guid from RS_Clusters table found in the Notification Server database set @newGuid = '<GUID>'--Must replace with NSClusterGuid from VaultGroup table found in the Recovery database without the {}. --begin transaction update Evt_NS_Item_Management set ItemGuid = @newGuid where ItemGuid = @oldGuid update Evt_NS_Item_Management set ItemGuid = @newGuid where ItemGuid = @oldGuid update Item set Guid = @newGuid where Guid = @oldGuid update ItemNameCache set ItemGuid = @newGuid where ItemGuid = @oldGuid update ItemPresentation set Guid = @newGuid where Guid = @oldGuid update ItemPresentation set BaseGuid = @newGuid where BaseGuid = @oldGuid update ItemReference set ChildItemGuid = @newGuid where ChildItemGuid = @oldGuid update ItemReplication set ItemGuid = @newGuid where ItemGuid = @oldGuid update ItemResource set Guid = @newGuid where Guid = @oldGuid update ResourceFolder set ResourceGuid = @newGuid where ResourceGuid = @oldGuid update RS_Clusters set Guid = @newGuid where Guid = @oldGuid update String set BaseGuid = @newGuid where BaseGuid = @oldGuid update StringCacheRN set BaseGuid = @newGuid where BaseGuid = @oldGuid --rollback transaction