UPGRADING WEBLOGIC FROM 12.1.2.0 TO 12.2.1 IN DISTRIBUTED SETUP(WEBLOGIC 12c)

THIS IS THE LOOK OF MY CURRENT ENVIRONMENT BEFORE THE UPGRADE.

screen1

ANOTHER LOOK OF MY ENVIRONMENT BEFORE UPGRADE.

  • Admin server and server1 is running on host01
  • server2 is running on host02
  • Both servers are member of cluster1
  • Nodemanager is configure for both machines to start/stop manage servers
  • old_environment_weblogic_before_upgrade
  1. LET’S START THE UPGRADE PROCESS.  I HAVE DOWNLOADED AND PLACED JAVA 8 AND WEBLOGIC  BINARIES UNDER /u01/software folder.  JAVA 8 IS REQUIRED FOR WEBLOGIC  12.2software_folder
  2. LET’S INSTALL JAVA 8 ON BOTH MACHINES. NEW JAVA IS INSTALLED MARK IN RED.java_installation_screen_shot
  3. NOW UPDATE THE NEW JAVA PATH WITH CORRECT VALUE:

export_java

4. NEXT INSTALL WEBLOGIC 12.2 BINARIES IN NEW MIDDLEWARE HOME.  I HAVE CREATED NEW  DIRECTORY STRUCTURE FOR MW_HOME AS FOLLOWING /u01/app/fmw12.2   PLEASE PICK DIRECTORY STRUCTURE AS PER YOUR ENVIRONMENT.

new_middleware_home

5. NOW START INSTALLING BINARIES IN NEW MW_HOME.  MAKE SURE X WINDOWS IS CONFIGURE ON BOTH BOXES UNLESS YOU

KNOW HOW TO DO SILENT INSTALL.  I HAVE X WINDOWS CONFIGURE SO THAT IS WHAT I WILL BE USING.

CLICK NEXT HEREscreen1

TAKE DEFAULT AND CLICK NEXT

SCREEN2

 

GIVE NEW MW_HOME  THAT WAS CREATED AND CLICK NEXT

SCREEN3

LEAVE DEFAULT VALUE AND CLICK NEXT

screen4

I HAVE OLD VERSION OF  LINUX SO INSTALLER IS WARNING ME THAT “ORACLE SOFTWARE IS CERTIFIED WITH CURRENT OS VERSION.”  I WILL IGNORE AND CLICK NEXT

screen5

I WILL UNCHECK ” I WISH TO RECEIVE SECURITY UPDATE VIA  MY ORACLE SUPPORT” AND CLICK NEXT AND THEN CLICK YES

SCREEN6

CLICK INSTALLSCREEN7

INSTALLATION STARTED

SCREEN8

BINARY INSTALLATION COMPLETED    CLICK FINISHSCREEN9

NOW GO TO host01 where is your domain and admin server recited and initiate the upgrade process from new HOME that just got created. Run reconfigure.sh script from MW_HOME/oracle_common/common/bin  as following and click next

screen10

click Next herescreen11

click Next here.  Please note new Java version 8 that is  shown being selectescreen12

WE DON’T TO MODIFY ANYTHING.  CLICK NEXT

screen13

NEXT PAGE WILL PROVIDE YOU SUMMARY OF COMPONENTS.  CLICK on reconfigure

screen15

RECONFIGURATION WIZARD STARTED

screen16

UPGRADE ON host01 COMPLETED.  CLICK NEXT

screen17

YOU WILL SEE “END Of Configuration screen.” CLICK FINISH

screen18

NOW THE CONFIGURATION CHANGES I HAVE MADE TO UPGRADE host02  HAVE WORKED FOR ME.   SO HERE ARE THE STEPS

ON host02 MACHINE GO TO DOMAIN_HOME AND MAKE COPY OF EXISTING DOMAIN FOLDER. I HAVE MADE A COPY AND NAMED IT WITH OLD DOMAIN VERSION AS SHOW BELOW MARK IN RED “wlsadmin_12.1.2.0”screen20

NOW MOVE THE ENTIRE DOMAIN FOLDER FROM host01 machine  to host02 AS SHOW BELOWmoving_domain

ONCE THE WHOLE DIRECTORY GET COPIED ON host02 machine.   GO TO DOMAIN_HOME/NODEMANAGER FOLDER AND edit the nodemanager.properties  FILE AND CHANGE HOST NAME ENTRY FROM host01 to host02  AND SAVE THE CHANGES.    screen21

SAVE CHANGES ONCE DONE MAKING IN nodemanager.properties FILE AND START THE SERVICES.  ONCE SERVER COMES UP YOU SHOULD SEE NEW VERSION OF WEBLOGIC STATED IN ADMIN CONSOLE AS SHOW BELOW.  AFTER_UPGRADE_SCREEN_SHOT

 

UPGRADED COMPLETED.