When
we have a 32bit OS , we do have an Issue with the allocation of the
memory.
By
limit, a 32 bit OS, will not be able to allocate more than 3 GB on a
Linux environment, or 2 GB for Windows environment
When
this limit is reached, a migration to a 64 bit architecture is
recommended.
Here
are the Steps on how to Migrate a Weblogic Domain from a 32Bit to
64Bit
Req:
Weblogic
Server Version: WebLogic Server Version: 10.3.4.0
OS:
Linux vx181d 2.6.18-348.el5xen #1 SMP Wed Nov 28 21:31:28 EST 2012
x86_64 x86_64 x86_64 GNU/Linux
JVM:java
version "1.6.0_22"
Java(TM)
SE Runtime Environment (build 1.6.0_22-b04)
Oracle
JRockit(R) (build
R28.1.1-13-139783-1.6.0_22-20101206-0136-linux-x86_64, compiled mode)
To
create migration template:
1.
Execute $<WLS_HOME>/wlserver_10.3/common/bin/config_builder.sh
2.
Create Domain Template.
3.
Select Domain to migrate.
4.
Enter the name of template and other info. Click next.
5.
Using Add Button, Select libraries you want to add under lib folder.
copy jdbc data sources you would like to have under config/jdbc
folder. If you want to have log4j configuration, copy log4j.xml under
domain_root folder.
6.
Select data base for the domain and click next.
7.
Enter Admin Server Name and port numbers. Click next.
8.
Enter username and password. Click next. Select No if you don want to
add users/groups/roles
9.
Click next until reach button create.
This
will create a jar file which we will use to create a Domain on the
64bit machine
To
install and migrate domain to 64 bit architecture.
1.
Install JVM Jrockit R28.1.1.13 on environment
2. Go
to JRockit_Home/bin and execute
$
java -d64 -jar wls1034_generic.jar
3.
When prompt, select JRockit JVM in browse menu, and complete the
Installation
4. Go
to <WLS_HOME>/wlserver_10.3/common/bin
execute
$ ./config.sh
5.
Select Create a new Weblogic domain
6.
Select Base this domain on an existing template and select browse.
7.
Select jar file that was created previously
8.
Select Name of domain.
9.
Select user name and password.
10.
Select Jrockit SDK 1.6.0_22 and click next.
11.
Confirm all JMS/JDBC/security configuration.
12.
On select Optional Configuration, reconfigure if necessary.
13.
Check on Configuration summary for all domain configuration.
14.
Click on create, to finish up domain import.
Note:
Always when installing a 64 bit WLS, it's necessary to install first
the 64 JVM and then run the generic installer with the -d64 bit
option. If this is not performed, the installation will be the 32
default version.
More
to Come , happy learning :-)