Databases (SQL)
Which SQL instance should the Command Centre databases use?
Gallagher's recommendation is to attach the Command Centre databases to their own SQL instance (named Gallagher by convention, for example SQLServerName\Gallagher).
It is possible to mix the Command Centre databases in with other databases in a single shared SQL instance, but this is neither recommended nor supported. Gallagher does not expect any other databases to be attached to the instance hosting Command Centre.
Authentication and service accounts
Which account does Command Centre use to connect to SQL, and how has that changed by version?
CCFTSA account (legacy)
CCFTSA was the SQL account the FT Command Centre service used to connect to the database.
The login name is
ccftsa; its password is encrypted based on the site.Gallagher stopped using
ccftsafor sites with DB admin enabled in 7.30.Pre-7.30: Command Centre connects to the Gallagher instance using SQL authentication and the
CCFTSAaccount.7.30 and later: connects to the SQL instance using the Windows account the FT Command Centre service is configured to log on as.
7.70+: uses Windows authentication only.
What rights does the Command Centre service account need?
When installing or upgrading Command Centre on a server, the Windows user account should have local admin rights to the server and sysadmin rights to the SQL server. This lets the Command Centre service be granted elevated rights during install or upgrade, then have them removed afterward so the account holds only the minimum required to operate, which gives higher overall security.
How to change the Command Centre service account?
The Command Centre service account needs rights to both CCFTCentral and CCFTEvent. Give it db_owner.
Procedure in SQL Server Management Studio (SSMS):
Go to the Security folder, expand it, right-click Logins (you can first check whether the login already exists by expanding Logins), then click New Login.

In the new window, go to User Mappings.

Individually add
db_ownerto bothCCFTCentralandCCFTEvent. At the end, select each database to confirm the privilege was added correctly.

Testing a SQL connection with SQLCMD
How do you test a SQL connection, and what are the limits of a remote SQL server?
SQLCMD is useful for diagnosing corrupt databases and checking connections:
An error message shows if there is a connection or database problem.
Remote and shared SQL: support position and limitations
From 7.70, having CCFTCentral and CCFTEvent on a shared server is supported but not recommended.
When the SQL server is remote, the following do not work:
Templates.
Backups initiated from the Command Centre Workstation.
Restoring a database from within Command Centre.
The
AttachDB,DetachDB, andBackupDButilities (they do not support SQL Server running on a separate computer).Some customizations can have issues (rare).
The service account used by the FT Command Centre service needs local SQL admin rights (for example, sysadmin) to modify SQL Server memory in File Server > Properties.
DBADMIN agreement (7.60 and below)
Note: The following is the content of the
DBADMIN=1agreement for 7.60 and below.
For Command Centre v7.70 or earlier:
The customer agrees not to modify any data or schemas in the Gallagher Command Centre databases by any method other than via the Gallagher Command Centre application.
The customer should provide appropriate measures to ensure adequate levels of data security.
The customer should manage database backups, both scheduled and manual, and monitor and maintain database transaction log files.
The customer accepts full responsibility for any data loss or corruption associated with unauthorized modification of data or schemas within the Gallagher system.
Gallagher Group Ltd can no longer guarantee the integrity of the event data. If the event data is required for legal purposes, Gallagher will be unable to verify that the data has not been altered by an unauthorized method or software outside the Gallagher Command Centre application.
Adding indexes is not recommended. Maintaining existing indexes is fine.
Pointing Command Centre at a remote SQL server (registry)
Change the registry string on the Command Centre server to point to the new SQL server and instance name, for example SQLServerName\Gallagher.
When installed locally, the Command Centre service account has a dependency on the SQL server: Command Centre will not start if the local SQL service is not running, even when the registry points to a remote SQL. An uninstall/re-install removes the dependency if a remote SQL is specified during install.
Registry keys to edit:
32-bit OS:
HKEY_LOCAL_MACHINE\SOFTWARE\Cardax\Command Centre key\DatabaseServerMachineHKEY_LOCAL_MACHINE\SOFTWARE\Cardax\Command Centre key\EventDatabaseServer
64-bit OS:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cardax\Command Centre FT\DatabaseServerMachineHKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Cardax\Command Centre FT\EventDatabaseService
🔗 Related
Databases - Structure. What
CCFTCentralandCCFTEventcontain and where they live.Databases - Encryption. Which fields are encrypted in the database.
Databases - SQL Collation. Why the collation must not be changed.
Last updated
Was this helpful?
