Changing a database server

If you move your GainSeeker database to a new server, use the following instructions to point GainSeeker to the new database location.

 

Contents  [Hide]

 

1. Log out all GainSeeker users

2. Prepare the new server

A. Copy the database to the new server

Use one of the following methods to accomplish this task:

B. Set permissions on the new server

Set the permission structure on the new server to match that of the old server (for example: roles, schemas, and users).

3. Add a new GainSeeker Database Connection and make it the default

In the System Administration module:

    1. Create a new Database Connection that points to the GainSeeker database on the new server.

      For instructions, see To begin editing database connections and Creating a new database connection.

    2. Set this new Database Connection as the default connection for all GainSeeker users.

      For instructions, see Setting the default connection.

4. Modify each workstation and log in GainSeeker users

At each workstation where the GainSeeker client is installed, run GSSETUP.EXE with the ODBC command line parameter from your GainSeeker program folder (typically C:\Program Files(x86)\Hertzler Systems\GainSeeker or similar). The full command line will be similar to this:

"C:\Program Files(x86)\Hertzler Systems\GainSeeker\GSSETUP.EXE ODBC"

This will detect the new default Database Connection and update the relevant 32-bit ODBC Data Source and Cms.ini settings to match.

After each workstation has been updated, GainSeeker users can resume normal GainSeeker use.

5. Remove the GainSeeker database from the old database server

After following the steps above, all GainSeeker workstations should now be attached to the GainSeeker database on the new database server.

Removing the GainSeeker database from the old database server ensures that all new data and any new changes to GainSeeker will only happen on the new database server.