Run the SQL Server Setup program (mss_setup) on a Microsoft SQL Server system to establish SharePlex as a SQL Server database user. This utility creates the following:
Microsoft SQL Server on Windows
Review the following requirements to ensure that the setup succeeds.
Run the
Important! If you installed the SharePlex instance on any port other than the default of 2100, use the -p option to specify the port number. For example, in the following command the port number is 9400.
C:\users\splex\bin>
Table 2: Setup prompts and responses
Prompt | Response |
---|---|
Enter the DSN name or connection string [] : |
Enter a connection string or a data source name (DSN) that connects to SQL Server. |
Enter the Microsoft SQL Server Administrator name : |
Enter the name of the SQL Server Administrator. This user will perform the setup work on the SharePlex account and schema. |
Enter the password for the Administrator account : |
Enter the password of the Administrator. |
Enter the name of the database : |
Enter the name of the database where you want to install the SharePlex objects. |
Database name database does not exist. Would you like to create it? [y] : |
If this prompt is displayed, the specified database does not exist. Press Enter to have the setup utility create it for you. |
Would you like to create a new SharePlex user [y]: |
Press Enter to accept the default to create a new SharePlex database user account, or enter n to use an existing account as the SharePlex database user. |
Enter the name of the new SharePlex user: Enter the name of the existing SharePlex user: |
One of these prompts is displayed depending on whether you elected to create a new user or use an existing user. Enter the name of the SharePlex user.
|
Enter the password of the SharePlex user : |
Enter the password of the SharePlex user account. |
Re-enter the password for the SharePlex user : |
Enter the SharePlex password again. |
A successful setup terminates with a message similar to the following:
Completed SharePlex for Microsoft SQL Server database configuration
SharePlex User name: splex
Database name: db1
Target specification in SharePlex configuration: r.db1
Run the pg_setup program on a PostgreSQL system to establish a user account, schema, and tables for use by SharePlex.
All implementations of the PostgreSQL open-source database on supported platforms
You can provide a connection string or a DSN. Note the following:
Connection Type | What to do |
---|---|
Connection string | You do not need to provide a user, password, or default database in a connection string. These will be added when you run the setup program. The connection string must have the port, server and driver defined. This is an example: Port=5444;server=localhost;driver=/u01/PostgresPlus/connectors/odbc/lib/edb-odbc.so;database=edb; |
DSN |
If you have a DSN defined, and you want to use it for the SharePlex connection, copy or link the ODBC files in which that DSN is defined (odbc.ini and odbcinst.ini) to the odbc subdirectory of the SharePlex variable-data directory. This prevents connection errors when the SharePlex processes connect to the database. If you do not have a DSN defined but want to use one, you can create it in the template files provided in the odbc subdirectory. |
Review the following requirements to ensure that the setup succeeds.
(Symfoware only) If the person who is running the setup is not a Fujitsu Enterprise Postgres owner, set the environment variable LD_LIBRARY_PATH to include the path to the lib subdirectory in the Fujitsu Enterprise Postgres installation directory. The LD_LIBRARY_PATH is set in the .bash_profile file of the Fujitsu Enterprise Postgres owner.
Example:
export LD_LIBRARY_PATH= /opt/symfoserver64/lib:$LD_LIBRARY_PATH
If you do not set this path, the following error occurs:
symbol lookup error: /opt/fsepv95client64/odbc/lib/psqlodbca.so: undefined symbol: PQconnectdbParams
Run the
Important! If you installed the SharePlex instance on any port other than the default of 2100, use the -p option to specify the port number. For example, in the following command the port number is 9400.
$ /users/splex/bin>
Table 3: Setup prompts and responses
Prompt | Response |
---|---|
Enter the PostgreSQL DSN name or connection string [] : |
Enter a connection string or a data source name (DSN) that connects to the PostgreSQL target. |
Enter the PostgreSQL Administrator name : |
Enter the name of the PostgreSQL Administrator. This user will perform the work on the SharePlex account. |
Enter the password for the Administrator account : |
Enter the password of the Administrator. |
Enter the replication target database name: |
Enter the name of the database that you want to contain the SharePlex tables and other objects for use by SharePlex. You can enter the name of a new or existing database. |
Database name database does not exist. Would you like to create it? [y] : |
If this prompt is displayed, the specified database does not exist. Press Enter to have the setup program create it for you. |
Would you like to create a new SharePlex user [y]: |
Press Enter to accept the default to create a new SharePlex database user account and schema of the same name in the specified database, or enter n to use an existing SharePlex account. |
Enter the name of the new SharePlex user: Enter the name of the existing SharePlex user: |
One of these prompts is displayed depending on whether you elected to create a new user or use an existing user. Enter the name of the SharePlex user.
|
Enter the password of the SharePlex user : |
Enter the password of the SharePlex user account. |
Re-enter the password for the SharePlex user : |
This prompt is only shown if you created a new user. Enter the SharePlex password again. |
A successful setup terminates with a message similar to the following:
Completed SharePlex for PostgreSQL database configuration
SharePlex User name: splex
Database name: ndb5
Target specification in SharePlex configuration: r.ndb5
Run the HANA Setup program (hana_setup) on a target HANA system to establish a user account, schema, and tables for use by SharePlex.
HANA on supported platforms
The only supported connection method to HANA is by connect string. Connection through a DSN is not yet supported.
HANA Setup must be run as a HANA Administrator in order to grant SharePlex the required privileges to operate on the database and to create the SharePlex database account.
Run the hana_setup utility from the bin subdirectory of the SharePlex product directory.
Important! If you installed the SharePlex instance on any port other than the default of 2100, use the -p option to specify the port number. For example, in the following command the port number is 9400.
$ /users/splex/bin> hana_setup -p9400
Table 4: HANA Setup Prompts and Responses
Prompt | Response |
---|---|
Enter the connection string [] : |
Enter a connection string that connects to the HANA database system. The required components of a connection string for SharePlex to connect to HANA are:
Example: SERVERNODE=server1.dept.abc.corp:30015;DRIVER=/usr/sap/hdbclient/libodbcHDB.so;CHAR_AS_UTF8=1 You do not have to supply a user, password, and default database, because hana_setup prompts for those. |
Enter the HANA Administrator name : |
Enter the name of the HANA Administrator. This user will perform the work on the SharePlex account. |
Enter the password for the Administrator account : |
Enter the password of the Administrator. |
Enter the name of the database : |
Enter the name of the database that you want to contain the tables and other objects for use by SharePlex. You can enter the name of a new or existing database. |
Database name database does not exist. Would you like to create it? [y] : |
If this prompt is displayed, the specified database does not exist. Press Enter to have hana_setup create it for you. |
Would you like to create a new SharePlex user [y]: |
Press Enter to accept the default to create a new SharePlex database user account and schema of the same name in the specified database, or enter n to use an existing SharePlex account. |
Enter the name of the new SharePlex user: Enter the name of the existing SharePlex user: |
One of these prompts is displayed depending on whether you elected to create a new user or use an existing user. Enter the name of the SharePlex user.
|
Enter the password of the SharePlex user : |
Enter the password of the SharePlex user account. |
Re-enter the password for the SharePlex user : |
This prompt is only shown if you created a new user. Enter the SharePlex password again. |
A successful setup terminates with a message similar to the following:
Completed SharePlex for HANA database configuration
SharePlex User name: splex
Database name: ndb5
Target specification in SharePlex configuration: r.ndb5
Before you start SharePlex replication to a HANA target, grant the following privileges to the SharePlex database user in that target (where SP_USER is the name of the SharePlex database user):
Additionally, log in as the owner of each schema that contains objects that you want to replicate, then make the following grants on the schema:
Run the Teradata Setup program (td_setup) on a Teradata system to establish a user account and database for use by SharePlex.
Teradata on supported platforms
Teradata Setup must be run as a Teradata Administrator in order to grant SharePlex the required privileges to operate on the database and to create the SharePlex database account.
Run the td_setup utility from the bin subdirectory of the SharePlex product directory.
Important! If you installed the SharePlex instance on any port other than the default of 2100, use the ‑p option to specify the port number. For example, in the following command the port number is 9400.
$/users/splex/bin> td_setup ‑p9400
Table 5: Teradata Setup Prompts and Responses
Prompt | Response |
---|---|
Please enter the full directory path of the Teradata ODBC driver: |
Enter the full path to the Teradata ODBC driver library. This step initializes the driver location within the Teradata Setup utility so that the rest of the setup can take place. It requires a second running of Teradata Setup to complete the setup steps. |
Please run td_setup again to create the tables, login and user accounts needed to run SharePlex replication. |
Run Teradata Setup again, including the port number if you installed SharePlex on any port other than 2100: $/users/splex/bin> td_setup -p9400 |
Enter the DSN name or connection string []: |
Enter a connection string or a data source name (DSN) that connects to Teradata. |
Enter the Teradata Administrator name: |
Enter the name of the Teradata Administrator. This user will perform the work on the SharePlex account. |
Enter the password for the Administrator account: |
Enter the password of the Administrator. |
Would you like to create a new SharePlex user [y]: |
Press Enter to accept the default to create a new SharePlex database user account or enter n to use an existing SharePlex account. |
Enter the name of the new SharePlex user: (or...) Enter the name of the existing SharePlex user: |
Enter the name of the new or existing SharePlex user, depending on which option you chose in the previous step.
|
Enter the password for new SharePlex user: (or...) Enter the password for existing SharePlex user: |
Enter the password of the new or existing SharePlex user account. |
Re-enter the password for new SharePlex user: |
This prompt is only shown if you created a new user. Enter the SharePlex password again. |
Enter the name of the database: |
Accept the default or enter a different name for the database. |
Database name database does not exist. Would you like to create it? [y]: |
If this prompt is displayed, the specified database does not exist. Press Enter to have Teradata Setup create it for you. |
A successful setup terminates with a message similar to the following:
Completed SharePlex for Teradata database configuration
SharePlex User name: splex
Database name: splex
Target specification in SharePlex configuration: r.splex
© 2023 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy