Databases Reference
In-Depth Information
A WebLogic cluster can also be added to the domain. The cluster consists of
one or
more Managed Servers acting as one single entity. A single WebLogic Server installation
is not restricted to one WebLogic domain, and more domains can be created using the
same installation.
Getting ready
Before creating a new WebLogic domain, you have to plan and define its architecture.
For production environments, it is mandatory to use WebLogic clusters with a minimum
architecture of at least two WebLogic Server instances (the Managed Servers) in two
different machines. The objective is to avoid having a single point of failure.
We will create a new WebLogic domain called
PROD_DOMAIN
with an administration instance
(
AdminServer
) named
PROD_AdminServer
and a WebLogic cluster
PROD_Cluster
with
the two Managed Servers
PROD_Server01
and
PROD_Server02
. The two machines hosts
are called
prod01
and
prod02
. Since you have already installed WebLogic Server 12
c
in
prod01
, install it in
prod02
as well. We will assume these names throughout the entire topic.
The machines
prod01
and
prod02
should also have IP addresses assigned and be visible
through the network. It's recommended to use the fully qualified domain name (FQDN) of the
servers. In this recipe, and the rest of the topic,
prod01
is
prod01.domain.local
and the
hostname of the
prod02
machine is
prod02.domain.local
.
To simplify the reading, we'll use the following term when referring to the
directories:
$DOMAIN_HOME
to the created WebLogic Domain directory—
/oracle/
Middleware/user_projects/domains/PROD_DOMAIN
.
How to do it...
To create a new WebLogic domain, follow the ensuing steps:
1. Log in as a
wls
user on the first machine
prod01
and navigate to the following folder:
[wls@prod01]$ cd $WL_HOME/common/bin
2. Start WebLogic Configuration Wizard in console mode:
[wls@prod01]$ ./config.sh -mode=console
3. Follow the onscreen instructions and type
1
, and press
Enter
to select the Create
a new WebLogic domain option on the Welcome screen.
4. Type
1
and press
Enter
to select the Choose WebLogic Platform components option
on the Select Domain Source screen.
Search WWH ::
Custom Search