Installation Guide for Oracle Billing Insight > Configuring Oracle WebLogic > Process of Configuring the Self-Service Application on an Oracle WebLogic Cluster >
Creating the Oracle WebLogic Domain and Managed Servers for the Self-Service Application on a Cluster
To implement the Self-Service application on an Oracle WebLogic cluster, you must create a domain and admin server on the computer where you installed the Self-Service application. You must also create one or more managed servers on this computer and on the other computers in the cluster. Table 4 shows an example of the entities created for the Self-Service application in a clustered environment.
Table 4. Example of a Cluster Environment for the Self-Service Application
|
|
|
|
|
Admin Server |
Computer 1 |
AdminServer |
10.240.12.163 |
7001 |
Proxy Server |
Computer 1 |
BillingInsightProxy |
10.240.12.163 |
9007 |
Managed Server 1 |
Computer 1 |
BillingInsightMS1 |
10.240.12.163 |
9001 |
Managed Server 2 |
Computer 2 |
BillingInsightMS2 |
10.240.8.244 |
9002 |
Managed Server 3 |
Computer 3 |
BillingInsightMS3 |
10.240.12.157 |
9003 |
This task is a step in Process of Configuring the Self-Service Application on an Oracle WebLogic Cluster. To create a domain and servers for the Self-Service application on a cluster
- On the computer where you installed the Self-Service application, create a domain for the Self-Service EAR file:
- Go to the following directory:
- UNIX.
WL_HOME/common/bin
- Windows.
WL_HOME\common\bin
- Run the following command:
- UNIX.
config.sh
- Windows.
config.cmd
- On the Oracle WebLogic Configuration Wizard, select Create a new domain, then browse or enter the Domain Location. Click Next.
- Leave the option to Create Domain Using Product Templates, accept the default selections, and then click Next.
- Enter the user name and password of the user to administer the Oracle WebLogic domain. Confirm the password, and click Next.
- Select the SUNJDK to use for this domain, and click Next.
- In Advanced Configurations, select Administration Server, and then click Next.
- Enter the Listen Port, such as port 7001, and click Next.
- Review the Configuration Summary, and click Create.
- Start the domain, using the following command:
WL_HOME/common/bin/startWebLogic.sh
- Create a managed server:
- Log in to the Oracle WebLogic administration console, for example:
http:// localhost:7001/console/
where:
- localhost is the host name of the server where you installed the Self-Service application. The host name can be the Domain Name System (DNS) name or the IP address, such as 10.240.12.163.
- 7001 is the port number where you installed the Self-Service application.
- Click Environment, Servers, and then New.
- Enter a name for the managed server, such as BillingInsightMS1.
- Specify the server listen address (the IP address of the managed server).
- Enter the server listen port, such as 9001.
- Select the Standalone Server option (not the Clustering option).
- Click Next, and click Finish.
If successful, then the following messages appear:
All changes have been activated. However, 1 items must be restarted for the changes to take effect.
Server created successfully.
- Stop the domain, using the following command:
$WL_HOME/common/bin/stopWebLogic.sh
- Configure the Node Manager for the computer:
- Make sure you start the Node Manager at least once. The configuration file, nodemanager.properties, is created automatically when you first start Node Manager.
- Edit the nodemanager.properties file, located in the
WL_HOME/common/nodemanager directory. Set the following parameter values.
|
|
|
AuthenticationEnabled |
false |
Creates a nonauthenticated connection to Node Manager. |
SecureListener |
false |
Creates a plain connection to Node Manager, not a secure connection. |
- Start the Node Manager, using the following command:
$WL_HOME/server/bin/startNodeManager.sh
- Edit the required scripts:
- Add the following code to the commEnv.sh file, located in the
$WL_HOME/common/bin directory to set EDX_HOME, the directory where you installed Oracle Billing Insight:
export EDX_HOME=/home/oracle/BillingInsight
CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/lib/xercesImpl-2.7.1.jar:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar:$EDX_HOME/config/resourcebundle
export CLASSPATH
- In the startManagedWebLogic.sh file, located in the
$WL_HOME/common/bin directory, add the Dlog4j.configuration Java option to the end of the definition in the JAVA option section:
JAVA_VM="${JAVA_VM} -Dedx.home=${EDX_HOME} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j.xml -Dweblogic.security.SSL.protocolVersion=TLS1 -Dweblogic.security.SSL.minimumProtocolVersion=TLSv1.2 -Dorg.owasp.esapi.resources=${EDX_HOME}/config"
export JAVA_VM
- Repeat Step 3 through Step 6 as necessary to create and configure additional servers on this computer or other computers in the cluster.
|