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
Server
Associated Computer
Server Name
IP Address
Port

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

  1. On the computer where you installed the Self-Service application, create a domain for the Self-Service EAR file:
    1. Go to the following directory:
      • UNIX. WL_HOME/common/bin
      • Windows. WL_HOME\common\bin
    2. Run the following command:
      • UNIX. config.sh
      • Windows. config.cmd
    3. On the Oracle WebLogic Configuration Wizard, select Create a new domain, then browse or enter the Domain Location. Click Next.
    4. Leave the option to Create Domain Using Product Templates, accept the default selections, and then click Next.
    5. Enter the user name and password of the user to administer the Oracle WebLogic domain. Confirm the password, and click Next.
    6. Select the SUNJDK to use for this domain, and click Next.
    7. In Advanced Configurations, select Administration Server, and then click Next.
    8. Enter the Listen Port, such as port 7001, and click Next.
    9. Review the Configuration Summary, and click Create.
  2. Start the domain, using the following command:

    WL_HOME/common/bin/startWebLogic.sh

  3. Create a managed server:
    1. 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.
    1. Click Environment, Servers, and then New.
    2. Enter a name for the managed server, such as BillingInsightMS1.
    3. Specify the server listen address (the IP address of the managed server).
    4. Enter the server listen port, such as 9001.
    5. Select the Standalone Server option (not the Clustering option).
    6. 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.

  4. Stop the domain, using the following command:

    $WL_HOME/common/bin/stopWebLogic.sh

  5. Configure the Node Manager for the computer:
    1. Make sure you start the Node Manager at least once. The configuration file, nodemanager.properties, is created automatically when you first start Node Manager.
    2. Edit the nodemanager.properties file, located in the WL_HOME/common/nodemanager directory. Set the following parameter values.
      Parameter
      Value
      Purpose

      AuthenticationEnabled

      false

      Creates a nonauthenticated connection to Node Manager.

      SecureListener

      false

      Creates a plain connection to Node Manager, not a secure connection.

    3. Start the Node Manager, using the following command:

    $WL_HOME/server/bin/startNodeManager.sh

  6. Edit the required scripts:
    1. 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

    1. 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

  7. Repeat Step 3 through Step 6 as necessary to create and configure additional servers on this computer or other computers in the cluster.
Installation Guide for Oracle Billing Insight Copyright © 2017, Oracle and/or its affiliates. All rights reserved. Legal Notices.