Create a Replication Server connection to SAP HANA database.
hdbuserstore set rds myhost:xxxxx my_securestore_user my_securestore_pwdwhere:
CREATE USER muser PASSWORD mpwd_temp
ALTER USER muser PASSWORD mpwd_new
./hdbsql -u user -p password -i idwhere:
GRANT CREATE ANY, DELETE, DROP, EXECUTE, INDEX, SELECT, UPDATE ON SCHEMA myschema TO muserwhere myschema is your SAP HANA database schema, and muser is the maintenance user you just created.
isql –Usa –Psa_pass –SSAMPLE_RSIf you have not set up the sample Replication Server instance, enter your Replication Server instance name instead of SAMPLE_RS.
create connection to rds.rdb using profile rs_ase_to_hanadb;ech set username muser set password mpwd go
create connection to rds.rdb using profile rs_ase_to_hanadb;ech set username auser set password apwd set dsi_connector_sec_mech to "hdbuserstore" go
rds is the replicate SAP HANA database. For a standard connection, this must match the data server name in the Replication Server interfaces file entry. See the Adaptive Server Enterprise Configuration Guide for UNIX > Set Up Communications Across the Network > Contents of the interfaces File and the Adaptive Server Enterprise Configuration Guide for Windows > Network Communications Using sql.ini. For an SAP Secure User Store connection, this must match what you used as the key to create a user store of encrypted credentials with the hdbuserstore utility.
rdb is a placeholder; you must provide a value, but it is not used.
muser is the maintenance user for the replicate SAP HANA database instance you have already created.
mpwd is the replicate SAP HANA database maintenance user password.
auser and apwd are unused values supplied only to satisfy the syntax of the create connection command.