After Moving SQL System Databases


Hi All,
if you moved sql server system database other than default location then you wont be able to start SQl Server Agent Services in failover cluster environment.I was trying to install SQL Server Agent Services in failover cluster but the setup did not complete succesfuly.upon further investigation this issue caused dns entry and regedit
You should make this,



After attempting to upgrade one of my servers to SQL Server 2008/2012 I found that the installer would error on installing the database engine.  The messge was:
“The Database Engine system data directory in the registry is not valid.”
I found the installer looks in
 HKLM\software\microsoft\microsoft sql server\%instance_name%\setup\SQLDataRoot to discover the path to the system databases.  This key was created during the 2008 R2 installation and the files were subsequently moved so what was created at install time is no longer correct.
If you modify this key to the path configured in the @mssqlpath from the script above the 2012 installer works just fine.  I’ve also modified the script, the last section makes the appropriate change to prevent this exception in the future.

Comments

Popular posts from this blog

Hana XS Engine Troubleshooting

Check Users Locked or deactivated in Hana or Hana Studio

Hana ini file location