Sets characteristics of the SAP Replication Server, including network-based security, and configures the ERSSD.
configure replication server { set repserver_param to 'value' | set route_param to 'value' | set database_param to 'value' | set logical_database_param to 'value' | set password_param to 'value' | maintenance_user_password_param to 'value' | set security_param to 'value' | set id_security_param to 'value' | set security_services [to] 'default'} | set user_authentication_source to 'value' | set parameter to 'parameter_value' |
password_parameter | Description and value |
---|---|
min_password_len |
Minimum number of characters required.
|
max_password_len |
Maximum number of characters. Always set max_password_len to a value greater than min_password_len. Range – 13 to 30 (default 30). |
password_lowercase_required |
Whether lowercase characters are required.
|
password_uppercase_required |
Whether uppercase characters are required.
|
password_numeric_required |
Whether a numeric character is required.
|
password_special_required |
Whether a special character is required.
|
simple_passwords_allowed |
If you set this option (or "simple_passwords_allowed") to false, Replication Server does not allow the password to contain the user name or any values from a user password dictionary.
You can create the password dictionary in the RSSD in the
rs_dictionary system table. The table does not store
default values. You must create your own scripts to insert values into the
table. For
example:
insert into rs_dictionary (words) values (“abcd”); insert into rs_dictionary (words) values (“1234”); |
disallowed_prev_passwords |
Number of previous passwords that cannot be reused when the user changes his or her password.
The parameter value does not apply to a user password when the administrator is resetting the password. |
password_expiration |
Number of days after which the password expires.
You can use password_expiration with alter user and create user. If the password has expired, Replication Server locks the account and notifies the user that the password has expired. If the user does not reset his password, he or she cannot log in once disconnected until the administrator resets the password. The new password must meet all the password requirements. Passwords do not expire for any user that rs_init creates with connect source permission or the ID user. These passwords override any setting for password_expiration that you set for all users in the Replication Server. Databases, other Replication Servers, and Replication Agents use user IDs with connect source permission. Administrators set the password to not expire for any user that is created for Replication Agent or an RSI. |
initial_password_expiration |
Number of days after which the initial password expires.
An initial password for a user is the password set by the administrator when creating the user or when resetting the user password. |
max_failed_logins |
Maximum number of failed login attempts Replication Server allows before locking the account.
Replication Server locks the account according to the time interval set in password_lock_interval. |
password_lock_interval |
Number of minutes that an account remains locked if the user reaches the maximum number of login attempts set in max_failed_logins.
|
unused_login_expiration |
Number of days after which an unused user account expires.
Replication Server locks an account that remains unused for longer than unused_login_expiration. The administrator can reactivate the account by resetting the password. |
maintenance_user_password_param |
Value |
---|---|
hide_maintuser_pwd |
Configures password protection for the maintenance user and restricts maintenance user access to Replication Server. Set hide_maintuser_pwd on to:
Default – off. |
maintuser_pwd_expiration |
Sets the password expiration interval for the maintenance user. Replication Server automatically changes the password when the password expires. You must enable maintenance user password protection by setting hide_maintuser_pwd on before you set a nonzero value for maintuser_pwd_expiration. Range – 0 to 32,767 days Default – the default password expiration interval for the maintenance user is the value set in the Replication Server password_expiration option. The default for password_expiration is 0 days which means the password does not expire. |
security_param |
Value |
---|---|
msg_confidentiality |
Indicates whether Replication Server sends and receives encrypted data. If set to “required,” outgoing data is encrypted. If set to “not required,” Replication Server accepts incoming data that is encrypted or not encrypted. Default: not_required |
msg_integrity |
Indicates whether data is checked for tampering. Default: not_required |
msg_origin_check |
Indicates whether the source of data should be verified. Default: not_required |
msg_replay_detection |
Indicates whether data should be checked to make sure it has not been intercepted and resent. Default: not_required |
msg_sequence_check |
Indicates whether data should be checked to make sure it was received in the order sent. Default: not_required |
mutual_auth |
Indicates whether the remote server must provide proof of identify before a connection is established. Default: not_required |
security_mechanism |
The name of the third-party security mechanism enabled for the pathway. Default: first mechanism listed in the SECURITY section of libtcl.cfg Note: This parameter does not apply to non-ASE and non-IQ connectors like
ExpressConnect for HANA DB. For information about these connectors, see the
Replication Server Heterogeneous Guide.
|
send_enc_password |
Ensures that all Replication Server client connections are made with encrypted passwords—except for the first connection to the RSSD. Values are “on” and “off.” Default: off |
unified_login |
Indicates how Replication Server seeks to log in to remote data servers and accepts incoming logins. Default: not_required |
use_security_services |
Tells Replication Server whether to use security services. If use_security_services is “off,” no security features take effect. Note: This parameter can only be set by configure
replication server. This parameter does not apply to non-ASE
and non-IQ connectors like ExpressConnect for HANA DB. For information
about these connectors, see the Replication Server Heterogeneous
Guide.
|
use_ssl |
Indicates whether Replication Server is enabled for session-based SSL security. Default: off |
security_param |
Value |
---|---|
id_msg_confidentiality |
Indicates whether Replication Server sends and receives encrypted data packets. If set to “required,” outgoing data is encrypted. If set to “not required,” Replication Server accepts incoming data that is encrypted or not encrypted. Default: not required |
id_msg_integrity |
Indicates whether data packets are checked for tampering. Default: not required |
id_msg_origin_check |
Indicates whether the source of data packets should be verified. Default: not required |
id_msg_replay_detection |
Indicates whether data packets should be checked to make sure they have not been intercepted and resent. Default: not required |
id_ msg_sequence_check |
Indicates whether data packets should be checked to make sure they are received in the order sent. Default: not required |
id_mutual_auth |
Requires the ID Server to provide proof of identify before Replication Server establishes a connection. Default: not required |
id_security_mech |
Specifies the name of the supported security mechanism. Supported security mechanisms are listed under SECURITY in the libtcl.cfg file. If no name is specified, Replication Server uses the default mechanism. Default: the first mechanism in the list |
id_unified_login |
Indicates how Replication
Server seeks to connect to ID Server. The values are:
Note: Only the “sa” user can log in to Replication
Server without a credential if unified_login is “required.” If
the security mechanism should fail, the “sa” user
can log in and disable unified_login.
Default: not required |
If Replication Server supports more than one security mechanism, set security_services [to] 'default' also sets the security mechanism to the default, the first mechanism listed in the SECURITY section of the libtcl.cfg file.
Parameter | Description |
---|---|
rs |
Disables LDAP user authentication and uses rs_users table user credentials to authenticate a login request. |
any |
Indicates Replication Server uses the LDAP server user credentials to authenticate a login request. If the user account does not exist in the LDAP server or the LDAP server is down, Replication Server uses the rs_users user credentials to authenticate a login request. This option is used when you are migrating from the rs_users system table authentication to an LDAP authentication. |
ldap |
Indicates Replication Server uses only the LDAP server to authenticate an user account. The user must exist in the LDAP server. This option allows the LDAP server to prevent existing users from being authenticated by Replication Server when they do not have valid LDAP user accounts. Note: If Kerberos authentication is enabled in addition to the LDAP user
authentication, Replication Server uses Kerberos to authenticate login
requests.
|
configure replication server set id_msg_confidentiality to 'required'
configure replication server set security_services to 'default'
suspend route to each_dest_replication_server configure replication server set rsi_save_interval to '2' resume route to each_dest_replication_server
configure replication server set block_size to ‘64’
(Optional) Uses the with shutdown clause to set the block size and shut down the primary Replication Server
configure replication server set block_size to ‘64’ with shutdown
configure replication server set min_password_len to '8'
configure replication server set password_expiration to '90'
configure replication server set user_authentication_source to 'ldap'
configure replication server set user_authentication_source to 'any'The user account must exist in the rs_users table before you can execute this command.
configure replication server set block_sub_for_repdef_in_pub to 'on'
Each parameter has two values: the configured value and the run value. Replication Server uses the configured value when it restarts. The run value is the value the Replication Server is using currently. When you start Replication Server the values are equal.
Replication Server shuts down automatically when you set the queue block size with the “set block_size to ‘block_size’ with shutdown” Replication Server parameter. The new block size takes effect after you restart Replication Server. See Replication Server Administration Guide Volume 2 > Performance Tuning > Increasing Queue Block Size .
varchar_truncation enables truncation of varchar columns at the primary or replicate Replication Server. When incoming varchar data exceeds the column length specified in the replication definition, the following occurs:
varchar_truncation set at primary Replication Server |
varchar_truncation set at replicate Replication Server |
|
---|---|---|
varchar_truncation set to “on” |
Replication Server truncates incoming data to the length specified in the replication definition. |
Replication Server truncates incoming data to the length specified in the replication definition. |
varchar_truncation set to “off” |
RepAgent prints a message in the Replication Server log, and Replication Server ignores rows that exceed the column length specified in the replication definition. |
Replication Server prints a message in the Replication Server log, and the DSI shuts down. |
Use ha_failover to enable SAP failover support. In the event of an ASE server failover, all connections from Replication Server to ASE will fail. Replication Server will retry connections. Setting ha_failover to on will allow the new connections to failover to the new ASE server.
Use ERSSD configuration parameters to configure backup time, directory location and RepAgent name.
ERSSD Configuration Parameter |
Value |
Default |
---|---|---|
erssd_backup_start_time |
Time the backup starts. Specified as: “hh:mm AM” or “hh:mm PM”, using a 12-hour clock, or “hh:mm” using a 24-hour clock. |
Default: 01:00 AM |
erssd_backup_start_date |
Date the backup begins. Specified as “MM/DD/YYYY”. |
Default: current date |
erssd_backup_interval |
Interval between backups of database and log. Specified as “nn hours” or “nn minutes” or “nn seconds”. |
Default: 24 hours |
erssd_backup_dir |
Location of stored backup files. Should be a full directory path. Configuring this path causes immediate backup. |
Default: Same directory as the transaction log mirror; initial value specified in rs_init. |
erssd_ra |
Configures Replication Agent name, in order to create a route from the current site to another Replication Server. This server name must exist in the interfaces name. |
erssd_name_ra |
Replication Server Parameters
Route Parameters
Route parameters specify default values for all routes that originate at the source Replication Server.
You can override default values specified using configure replication server by using alter route to set values for individual routes.
You must suspend all routes originating at the current Replication Server before executing the configure replication server command. After you have changed the parameter, you must resume all routes for the change to take effect.
Database Parameters
Database parameters specify default values for all connections that originate at the source Replication Server.
You can override default values specified using configure replication server by using alter connection to set values for an individual connection.
You must suspend all connections originating at the current Replication Server before executing configure replication server. After you change the parameter, resume all connections for the change to take effect.
Logical Database Parameters
Logical database parameters specify default values for logical connections that originate at the source Replication Server.
You can override default values specified using configure replication server by using configure logical connection to set values for a specific logical connection.
Logical database parameters are dynamic. They take effect immediately.
Network-Based Security Parameters
With the exception of use_security_services and use_ssl, security parameters configured with configure replication server are dynamic; they take effect immediately.
use_security_services and use_ssl are static. If you change their values, you must restart Replication Server for the change to take effect.
Default network-based security parameters set with configure replication server specify values for all incoming and outgoing pathways related to the current Replication Server.
You can override default security settings specified using configure replication server by using alter route or alter connection to reset security values for individual outgoing pathways.
If unified_login is set to “required,” only the “sa” user can log in to the Replication Server without a credential. If the security mechanism should go down, the “sa” user can log in to Replication Server with a password and disable unified_login.
A Replication Server can support more than one security mechanism. Each supported mechanism is listed in the libtcl.cfg file under SECURITY.
Both ends of a route must use compatible Security Control Layer (SCL) drivers with the same security mechanisms and security settings. It is the replication system administrator's responsibility to choose and set security features for each server. Replication Server does not query the security features of remote servers before it attempts to establish a connection. Network connections fail if security features at both ends of the pathway are not compatible.
Message encryption is a costly process with severe performance penalties. In most instances, it is wise to set msg_confidentiality to “required” only for certain pathways. Alternatively, choose a less costly feature, such as msg_integrity, to ensure security.