Configure the consolidated database to act as the message server for the HTTP message system.
You must have the SYS_REPLICATION_ADMIN_ROLE system role.
Contexte et remarques
It is also possible to configure a separate database and database server to act as the message server.
Using Interactive SQL, connect to the consolidated database as a user with the SYS_REPLICATION_ADMIN_ROLE system role:
dbisql -c "SERVER=cons;DBN=cons;UID=DBA;PWD=sql"
When a database is first initialized, none of the web services needed to accept HTTP requests from remote users is defined, and neither are definitions to allow the database server to access the directory where the message files are stored. The creation of these objects is automated with the use of the sr_add_message_server stored procedure, which takes an optional parameter to specify who owns all the objects. Execute the following statements on the consolidated database (cons) to define all the objects needed for the message server, and specify that all the objects are owned by the cons user:
CREATE ROLE FOR USER cons; SET REMOTE http OPTION cons.root_directory='c:\\tutorial\\messages'; CALL sr_add_message_server( 'cons' ); COMMIT;
Disconnect from Interactive SQL.
Discuter à propos de cette page dans DocCommentXchange.
|Copyright © 2013, SAP AG ou société affiliée SAP - SAP Sybase SQL Anywhere 16.0|