Clone weblogic

classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Clone weblogic

satish
Dear erman,

Thanks for helping us in fixing our issues

Today,i have one doubt which needs clarification from you

We have to clone the middleware home to new server.

 sh /oracle/app/product/Middleware/oracle_common/bin/copyBinary.sh -javaHome /oracle/app/product/java/jrockit-jdk1.6.0_33-R28.2.4-4.1.0 -archiveLoc /backup/soa/my_copy.jar -sourceMWHomeLoc /oracle/app/product/Middleware -invPtrLoc /oracle/app/product/Middleware/oracle_common/oraInst.loc

My doubt is do we need to run the same command again for nodemanager or it will be included automatically?

Thanks for all your help
Reply | Threaded
Open this post in threaded view
|

Re: Clone weblogic

ErmanArslansOracleBlog
Administrator
For Node Manager, you use the copyConfig, extractMovePlan, and pasteConfig scripts to copy the configuration.

Read -> Fusion Middleware Administrator's Guide - Section 20 Using the movement scripts.

https://docs.oracle.com/cd/E23943_01/core.1111/e10105/clone.htm#ASADM

You will see the details about everything including nodemanager in FMW Administrator's Guide.
Reply | Threaded
Open this post in threaded view
|

Re: Clone weblogic

satish
Thanks erman.Is copyconfig.sh/pasteconfig.sh an alternative to pack and unpack commands in weblogic?
Reply | Threaded
Open this post in threaded view
|

Re: Clone weblogic

ErmanArslansOracleBlog
Administrator
Not exactly. Please read the following.

Reference: Oracle

You can move a copy of the WebLogic Server domain configuration using the copyConfig, extractMovePlan, and pasteConfig scripts. This step moves a copy of the configuration, including the domain, the Administration Server and Managed Servers and any components in the domain.

if the Managed Servers are not in the same directory as the Administration Server, you must re-create the domain directory for those Managed Servers by using the Oracle WebLogic Server pack and unpack commands.
Reply | Threaded
Open this post in threaded view
|

Re: Clone weblogic

satish
Dear Erman,

Thanks for the update.

could you please expand on the below point,it would be really helpful

if the Managed Servers are not in the same directory as the Administration Server, you must re-create the domain directory for those Managed Servers by using the Oracle WebLogic Server pack and unpack commands.

Regards,
satish
Reply | Threaded
Open this post in threaded view
|

Re: Clone weblogic

ErmanArslansOracleBlog
Administrator
The pack and unpack scripts are not copying for weblogic binaries, but they are for creating weblogic domains and templates from the command lines.

The statement " the Managed Servers are not in the same directory as the Administration Server" is clear.
It is a domain related thing and it is a specific case.
So if that's the case -> you must re-create the domain directory for those Managed Servers by using the Oracle WebLogic Server pack and unpack commands.
Reply | Threaded
Open this post in threaded view
|

Re: Clone weblogic

satish
Dear Erman,

Thanks for the update.

In general,the Managed Servers will be in same directory as the Administration Server right?
For example,in EBS,under EBS_DOMAIN_HOME,we have the directories like AdminServer,OACORE_SERVER1(managed server)

Please correct me if i am wrong
Reply | Threaded
Open this post in threaded view
|

Re: Clone weblogic

ErmanArslansOracleBlog
Administrator
Yes.