The SQLServer agent was modified to do the sp_dropserver and sp_addserver automatically. This is causing the @@SERVERNAME value to become NULL on every online.
Create registry key to work around the issue.
SQL 2008 Registry change:
1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\VCS\EnterpriseAgents
2. Create a key named SQLServer2008
3. Create a key named __Global__
SQL 2005 Registry change:
1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\VCS\EnterpriseAgents.
2. Create a key named SQLServer2005
3. Create a key named __Global__
The following registry change can be made to disable server linking at the instance level instead of using the __Global__ key above.
SQL 2008 instance change:
1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\VCS\EnterpriseAgents
2. Create a key named SQLServer2008
3. Create a key with the same name as the SQL resource name in VCS.
- Example: The key name would be SQLServer2008-SQLSVR.
4. Add a DWORD named DisableServerLinking in the
5. After creating the registry key execute the following.
SQL 2005 instance change:
1. Go to HKEY_LOCAL_MACHINE\SOFTWARE\VERITAS\VCS\EnterpriseAgents.
2. Create a key named SQLServer2005
3. Create a key with the same name as the SQL resource name in VCS.
- Example: the key name would be SQL-INST1-SQLServer2005.
5. After creating the registry key execute the following.
Applies To
Storage Foundation for Windows High Availability (SFW HA) or Veritas Cluster Server (VCS)
SQL Server 2008 or SQL Server 2008 R2
SQL Server 2005
Windows Server 2008 or Server 2008 R2