Yes No Oracle Fusion Middleware Online Documentation Library
6-12 Oracle Complex Event Processing Administrators Guide
For example: prompt cd d:\oracle_cep\user_projects\domains\mydomain\server1
prompt cp .msasig.dat ..\server2 prompt cp .msasig.dat ..\server3
8.
Perform the following steps on each server in the cluster:
■
Open a command window and set your environment as described in Setting Your Development Environment in the Oracle Complex Event Processing
Getting Started.
■
Change to the DOMAIN_DIRservername directory, where DOMAIN_DIR refers to the domain directory and servername refers to the name of your
server, such as d:\oracle_cep_home\user_ projects\domains\mydomain\myserver1.
prompt cd d:\oracle_cep_home\user_projects\domains\mydomain\myserver1
■
Create a keystore coherence-identity.jks containing the boot user using the JDK keytool utility and the following command line broken here for
readability; in practice the full command should be on one line:
prompt keytool -genkey -v -keystore configcoherence-identity.jks -storepass PASSWORD -alias BOOT-USER -keypass BOOT-USER-PASSWORD
-dname CN=BOOT-USER
Where:
– PASSWORD
is the password used to secure the keystore.
– BOOT-USER
is the user name you used to log into the Oracle CEP server host.
– BOOT-USER-PASSWORD
is the password you used when you logged into the Oracle CEP server host.
■
Create a permissions.xml file.
■
Edit the permissions.xml file to add the following permission for the boot user:
permissions grant
principal classjavax.security.auth.x500.X500Principalclass
nameCN=BOOT-USERname principal
permission targettarget
actionallaction permission
grant permissions
Where BOOT-USER is the user name you used to log into the Oracle CEP server host.
■
Save and close the permissions.xml file.
■
Create a login.config file.
■
Edit the login.config file to add the following:
Administrating Multi-Server Domains With Oracle Coherence 6-13
Coherence { com.tangosol.security.KeystoreLogin required
keyStorePath=.{}config{}coherence-identity.jks; };
■
Save and close the login.config file.
■
Update the server startup script for your platform, startwlevs.cmd Windows or startwlevs.sh UNIX, by adding the following property to
the java command that actually starts the server:
-Djava.security.auth.login.config=.login.config For example in practice, the full command should be on one line:
JAVA_HOME\bin\java DGC DEBUG -Djava.security.auth.login.config=.login.config
-Dwlevs.home=USER_INSTALL_DIR -Dbea.hoe=BEA_HOME -jar USER_INSTALL_DIR\bin\wlevs.jar 1 2 3 4 5 6
9.
If you plan to use Oracle CEP Visualizer with the servers in this domain, see Section 10.5.3, How to Configure SSL in a Multi-Server Domain for Oracle CEP
Visualizer .
10.
Start all servers in your multi-server domain. See
Section 6.5, Starting and Stopping an Oracle CEP Server in a Multi-Server Domain
.