Installation Guide for Oracle Self-Service E-Billing > Configuring Oracle WebLogic > Process of Configuring the Billing and Payment Application on an Oracle WebLogic Cluster >
Creating the Oracle WebLogic Domain and Managed Servers for the Billing and Payment Application on a Cluster
To implement the Billing and Payment application on an Oracle WebLogic cluster, you must create a domain and admin server on the computer where you installed the Billing and Payment application. You must also create one or more managed servers on this computer and on the other computers in the cluster. Table 5 shows an example of the entities created for the Billing and Payment application in a clustered environment.
Table 5. Example of a Cluster Environment for the Billing and Payment Application
|
|
|
|
|
Admin Server |
Computer 1 |
AdminServer |
10.240.12.163 |
7001 |
Proxy Server |
Computer 1 |
EBillingProxy |
10.240.12.163 |
9007 |
Managed Server 1 |
Computer 1 |
EBillingMS1 |
10.240.12.163 |
9001 |
Managed Server 2 |
Computer 2 |
EBillingMS2 |
10.240.8.244 |
9002 |
Managed Server 3 |
Computer 3 |
EBillingMS3 |
10.240.12.157 |
9003 |
This task is a step in Process of Configuring the Billing and Payment Application on an Oracle WebLogic Cluster. To create a domain and servers for the Billing and Payment application on a cluster
- On the computer where you installed the Billing and Payment application, create a domain for the Billing and Payment EAR file:
- Go to the following directory:
- UNIX.
WL_HOME/wlserver_12.1/common/bin
- Windows.
WL_HOME\wlserver_12.1\common\bin
- Run the following command:
- UNIX.
config.sh
- Windows.
config.cmd
- On the Oracle WebLogic Configuration Wizard, select Create a new WebLogic domain, then click Next.
- Leave the option to automatically configure the domain selected, then click Next.
- Enter the user name and password of the user to administer the Oracle WebLogic domain, then click Next.
- Select the SUNJDK to use for this domain, then click Next.
- Choose Yes to configure the Oracle WebLogic domain, then click Next.
- Enter the name of the domain to create, such as EBilling_Domain, then enter a location for the domain, such as port 7001, and the default Admin Server. Click Create.
- Start the domain, using the following command:
WLS_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 Billing and Payment 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 Billing and Payment application.
- Click Environment, Servers, and then New.
- Enter a name for the managed server, such as EBillingMS1.
- 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:
$WLS_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
$WLS_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:
$WEBLOGIC_HOME/server/bin/startNodeManager.sh
- Edit the required scripts:
- Add the following code to the commEnv.sh file, located in the
$WLS_HOME/common/bin directory to set EDX_HOME, the directory where you installed Oracle Self-Service E-Billing:
export EDX_HOME=/home/oracle/eBilling
export CLASSPATH=$CLASSPATH:$EDX_HOME/config:$EDX_HOME/config/resourcebundle:$EDX_HOME/lib/xercesImpl-2.7.1.jar:$EDX_HOME/lib/xalan-2.7.1.jar:$EDX_HOME/lib/serializer-2.7.1.jar
- Also in the commEnv.sh file, change the MaxPermSize value to 1024 for each platform.
- In the startManagedWebLogic.sh file, located in the
$WLS_HOME/common/bin directory, add the Dlog4j.configuration Java option to the end of the definition in the JAVA option section:
export JAVA_VM="${JAVA_VM} -Dedx.home=${EDX_HOME} -Dlog4j.configuration=file:${EDX_HOME}/config/log4j.xml -Djavax.xml.transform.TransformerFactory=org.apache.xalan.processor.TransformerFactoryImpl -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl -Djavax.xml.parsers.DocumentBuilderFactory=org.apache.xerces.jaxp.DocumentBuilderFactoryImpl -Dorg.owasp.esapi.resources=${EDX_HOME}/config"
- Repeat Step 3 through Step 6 as necessary to create and configure additional servers on this computer or other computers in the cluster.
|