Setting up the SQL Server Account
Protecting the Database - Setting up the Disaster Recovery Backup
The CommServe and the Microsoft SQL Server Database Engine
can be installed on separate computers. The following procedure describes the steps involved in building such a topology. Note that these procedures require familiarity and understanding of both the Microsoft SQL Server Database Engine and the Windows operating system. This procedure can be used when you initially install the software, or when you split an existing CommServe.
|
![]() |
1. | Install the CommServe software on the computer that will host the CommServe. | See Install the CommServe for step-by-step instructions. |
2. | Verify that no jobs are in progress or scheduled to occur
while setting up this configuration. If jobs are in progress or other tasks (such as reports or updates) are scheduled, either perform this task at another time or disable all activity or disable all scheduled tasks from the CommCell Console. |
To disable activity control:
|
3. | Stop all services on the CommServe computer. | To stop services:
|
4. | Install the CommServe software on the SQL Server computer.
This installation will automatically install SQL Server software. See System Requirements - CommServe for more information on the SQL Server version. |
See Install the CommServe for step-by-step instructions. |
5. | Stop all services on the SQL Server computer. Note that the CommServe Services must be disabled permanently. |
To stop services:
|
6. | In the CommServe computer, using the SQL Server Management Studio, backup the CommServ database and create a .dmp file. | Perform the following steps to back up the CommServe
database to a full database backup:
|
7. | Copy the backup dump (.dmp) file created in Step 4
to SQL Server Computer using any of the following method:
|
|
8. | In the SQL Server computer, using the SQL Server Management Studio, restore the CommServ database. | Perform the following steps to restore the full database
to the SQL Server computer:
|
9. | Run the following query from SQL Management Studio on SQL
Server Computer: Usage: exec CommServ..executeCSSetupScripts '<path>' Example exec CommServ..executeCSSetupScripts 'C:\Program Files\Bull Calypso\Calypso\' Where <path> - This is the path of CommServe Installation Directory on SQL Server Computer. |
10. | On the CommServe computer, from the Registry Editor,
edit the following values to point to SQL Server Computer:
|
To open and edit the registry key:
|
11. | On the CommServe computer, modify the DSN Settings for the CommServe database to point to the database in the SQL Server computer. |
|
12. | Restart the services on the CommServe computer and re-enable jobs that were disabled. | To start the services:
|
As Disaster Recovery Backup will not work in this setup, use the following steps to protect the database:
13. | Disable the Disaster Recovery Backup schedule. | Use the following steps to disable a schedule:
|
14. | Install the File System iDataAgent on the SQL Server computer. | See Getting Started - Windows File System Deployment for more information. |
15. | Using the File System iDataAgent,
create a subclient which includes a script in the pre-scan phase to create
a .dmp file of the CommServ database. Schedule regular backups
of this subclient database from file system
iDataAgent. Recommended schedule is a daily full backup. |
Use the following command line in a batch file and attach
the batch file as a PreBackup Process:
<sql install path>\Isql.exe -S <SQL ServerName> -U sa -P <sapwd> -q "BACKUP DATABASE [CommServ] TO DISK = 'C:\cs.dmp'" This should create a dump file c:\cs.dmp. You can choose the folder in which the .dmp file is created. |
16. | If you want a copy of the dump in a disk library (similar to Disaster Recovery Backup) copy the dump file to another location. This can be included in the post-backup phase. |
17. | If you wish to recover the database, restore the dump file using the File System iDataAgent on the SQL Server computer and then recover the database using the SQL Server Management Studio. |
Use the following steps to install updates on CommServe and SQL Server computers:
Perform the following steps to install updates on SQL Server computer:
Perform the following steps to install updates on CommServe computer:
|
Use the following steps to uninstall updates on Commserve and SQL Server computers:
Perform the following steps to install updates
on CommServe computer:
Perform the following steps to install updates on SQL Server computer:
|