Migrating a WebLogic Domain from a 32 to a 64 bit JVM/Architecture
Posted
by adejuanc
on Oracle Blogs
See other posts from Oracle Blogs
or by adejuanc
Published on Thu, 18 Oct 2012 13:17:51 +0000
Indexed on
2012/10/18
17:12 UTC
Read the original article
Hit count: 305
/Oracle
Currently on 32 bit OS which presents a physical constraint when trying to allocate 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 (not considering Physical Address Extension (PAE) implementation, which can increase the maximum allocatable memory).
When this limit is reached, a migration to a 64 bit architecture is recommended.
Below are the steps on how to install a 64 WebLogic Server version,
along with a 64 Bit JVM and then how to migrate the domain to this new
environment.
Weblogic Server Version: WebLogic Server Version: 10.3.4.0
OS: Linux adejuan-cl.cl.oracle.com 2.6.18-194.el5 #1 SMP Mon Jan 01 22:10:29 EDT 2010 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:
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 that is needed for the next action plan.
To install and migrate domain to 64 bit architecture.
2. Go to JRockit_Home/bin and execute $ java -d64 -jar wls1034_generic.jar
3. When prompt, select JRockit JVM in browse menu, and wait for installation to finish.
4. Go to <WLS_HOME>/wlserver_10.3/common/bin and 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 created on previous action plan.
8. Select Name of domain. Maintain in most cases.
9. Select user name and password. Maintain in most cases.
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.
For more information, please refer: http://download.oracle.com/docs/cd/E13188_01/jrockit/docs50/dev_faq.html#pae
© Oracle Blogs or respective owner