1)in the process of upgradation if it is horizontal clustered installation first we will upgrade domain in one node after that we can copy entire domain to node 2 right ? if we copy like this how node 2 will be recognized that purticular domain ? after copying domain what is the process that weblogic admin need to do just i want know clearly please let me know it is very very usefull to me. 2)so if we copy domain to node2 , initially it has existing domain as well right ? what about that domain should we delete or how it is please explain
You have to use pack and unpack command to move domain on each node after upgrading on primary node where you have admin server. Installation and domain should be on each machine in the cluster
Thanks for the explanation, i have a couple of questions : 1. Does MS1 and MS2 need to have different names? 2 after unpacking to node 2, i run startweblogic on both nodes or just in node 1 and control everything from node 1?
if we want to do clustered domain upgrade first we have to upgrade in one node and copy the domain to node2,3,4.... right ? by using pack and unpack command it is only the fastest process right? and is it correct process ?
Upgrade has to be done on each node because upgrade update binaries. For current version you have to install binaries in new Oracle Home,. Then upgrade domain on primary node and then pack and unpack on all node
In the process of domain upgradation after copying domain from one node to anather node in which file we need to update ipadress of the node 2 , let me know what are all the file we have to update after domain copying ?
So we have to do reconfig only one node after that we can copy domain to n number of nodes right ? so if we copy like that we can have two domain homes right ? can we delete this initial domain home? and if we install weblogic software can we get "Oracle_Home" or "wlserver" so we can have two oracle homes and two wlserver folders right ? can we delete old ones ? by using rm command ?
We have to install weblogic on each host in the same path, and then the domain has to be copied on each host. That means we have to maintain Oracle and Domain home on each host
if we install weblogic we can get anather weblogic home right ?so initially we can have anather weblogic home do we need to delete that one or how it is ?@@digitak.middleware
Oracle_Home or middleware in this case these folders are just created by us right to install weblogic server inside this folder but not auto generated folders (in the sense if we install weblogic software wlserver folder is auto created)
Both are related application will impact in case of jvm issues, but application issues doesn't always means jvm issue, it could be db, network, storage etc. Issues as well
If we have two node horizontal cluster domain will available in two nodes , so if we want to access the admin server url, which ip address ulr can we use either node1 or node2 ?
That depend how you configured JDK folder, using a standard name like JDK or with default folder name like jdk_1.8 something. In later case you have to update mostly files inside domain/bin. But depend on customizations as well
If we doing weblogic server migration to change ip address in all configuration files any single command is there in Linux or any other way is there ? Please let me know
Hi Sir, could you let me know how patching can be applied for Weblogic servers while on horizontal cluster, can we patch on one machine first, then patch cluster servers on second machine after a month? Or to be patched only on machine1 with Admin server or both machines to be patched at same time ?
You have to patch each node. To avoid downtime you can apply in rolling fashion one by one on each node. You can't have a gap of one month, you have to apply it at the same time otherwise your applications will not behave properly based on the fixes applied in the path.
create 2nd machine pointing to node 2, create 2nd managed server amd assign to 2nd machine, create cluster and add both managed servers, install weblogic on node 2 on same path, pack and unpack domain from node 1 to node2.
@@digitak.middleware initially we will be using one binary and one domain right , after that to upgrade domain we have to install anather binary which is upgraded ,so in cluster we will upgrade in one node first then we have to copy to another node so if we copy we can have anather domain also right so we can have two domains and two wlservers so what should we do to second domain
Sir one of the interviewers have asked me , if we copy domain from one node to anather node after copying what is the process ? is it ended with only copying the domain is that task finished ? this is the question which i have faced in the interview. please explain this sir
Answer depend on multiple situations, what's the purpose of copying domain. If you copying using pack and unpack during horizontal clustering then nothing required. If you want to migrate domain on some other machine then you have replace i.p and hostname on each file inside domain with new host where you have copied the domain. If db host also changed then you have update jdbc XML files with new db host as well. further it depend on the domain configurations and the applications deployed.
Its simple. Once domain created on machine 1, make a tar tar -cvf domainName.tar your-domain-name Copy created tar file on machine 2 and extract in same domain folder structure tar -xvf domainName.tar
so unpack command is different for both horizontal installation and horizontal upgradation what is that difference please let me know please write command in answer.
so if it is same while we copying the domain by using pack and unpack command if suppose first we have upgraded in node 1 after that i copied domain to node2 , so here node2 already has domain that is lower version of domain if we copy same domain will be upgraded or new doamain will be created ?if same domain upgrade in unpack command we need to use "overwrite the domain" please explain this@@digitak.middleware
Upgradation means you are upgrading from one major/minor version to other version, migration means you are moving it on different host or in system like from onpremise to cloud or Solaris to linux
thank you sir you made me very clear , thanks for your prompt response for each and ever question that i have posted, very nice explanation sir@@digitak.middleware
Admin server failover configuration is a bit different. You have to create an admin domain on shared drive and then define virtual i.p for listening address. Will post another video on same in few days.
Any application deployed on admin server will not be accessible. Also you will not be able to do any configuration changes in your domain. No impact on applications deployed on managed server(s).
Thanks for sharing knowledge , badass explanation.🤝
Perfectly explained.. Thanks 😀
1)in the process of upgradation if it is horizontal clustered installation first we will upgrade domain in one node after that we can copy entire domain to node 2 right ? if we copy like this how node 2 will be recognized that purticular domain ? after copying domain what is the process that weblogic admin need to do just i want know clearly please let me know it is very very usefull to me.
2)so if we copy domain to node2 , initially it has existing domain as well right ? what about that domain should we delete or how it is please explain
You have to use pack and unpack command to move domain on each node after upgrading on primary node where you have admin server. Installation and domain should be on each machine in the cluster
Thanks for the explanation, i have a couple of questions :
1. Does MS1 and MS2 need to have different names?
2 after unpacking to node 2, i run startweblogic on both nodes or just in node 1 and control everything from node 1?
1. Yes
2. Yes, from node 1 because there is only one admin server each domain.
@@digitak.middleware thank you, I was able to setup wl cluster because of your video
if we want to do clustered domain upgrade first we have to upgrade in one node and copy the domain to node2,3,4.... right ? by using pack and unpack command it is only the fastest process right? and is it correct process ?
Upgrade has to be done on each node because upgrade update binaries. For current version you have to install binaries in new Oracle Home,. Then upgrade domain on primary node and then pack and unpack on all node
Thank you. Good information.
If we have same domain in four nodes should we need to stop domain in four nodes or if we stop one node will it be populated to other nodes as well ?
All managed servers are controlled from the admin console which use node manager.
In the process of domain upgradation after copying domain from one node to anather node in which file we need to update ipadress of the node 2 , let me know what are all the file we have to update after domain copying ?
If you are upgrading weblogic server then it's not required.
So we have to do reconfig only one node after that we can copy domain to n number of nodes right ? so if we copy like that we can have two domain homes right ? can we delete this initial domain home? and if we install weblogic software can we get "Oracle_Home" or "wlserver" so we can have two oracle homes and two wlserver folders right ? can we delete old ones ? by using rm command ?
We have to install weblogic on each host in the same path, and then the domain has to be copied on each host. That means we have to maintain Oracle and Domain home on each host
if we install weblogic we can get anather weblogic home right ?so initially we can have anather weblogic home do we need to delete that one or how it is ?@@digitak.middleware
Oracle_Home or middleware in this case these folders are just created by us right to install weblogic server inside this folder but not auto generated folders (in the sense if we install weblogic software wlserver folder is auto created)
Yes
is jvm performance issue and application performance issue both are same ?
Both are related application will impact in case of jvm issues, but application issues doesn't always means jvm issue, it could be db, network, storage etc. Issues as well
If we have two node horizontal cluster domain will available in two nodes , so if we want to access the admin server url, which ip address ulr can we use either node1 or node2 ?
Depend on which node you have configured admin server
if we have two node cluster in two nodes we have same domain which url we need to use node or node2 ?
Which url?
after upgrading java which file we need to update in weblogic side ?
That depend how you configured JDK folder, using a standard name like JDK or with default folder name like jdk_1.8 something. In later case you have to update mostly files inside domain/bin. But depend on customizations as well
If we doing weblogic server migration to change ip address in all configuration files any single command is there in Linux or any other way is there ? Please let me know
You can use Linux find or grep command in combination with sed
sir what are stubs and heartbeats and what are their uses ?
To enable communication and failover between cluster members
Hi Sir, could you let me know how patching can be applied for Weblogic servers while on horizontal cluster, can we patch on one machine first, then patch cluster servers on second machine after a month? Or to be patched only on machine1 with Admin server or both machines to be patched at same time ?
You have to patch each node. To avoid downtime you can apply in rolling fashion one by one on each node. You can't have a gap of one month, you have to apply it at the same time otherwise your applications will not behave properly based on the fixes applied in the path.
Thank you so much@@digitak.middleware
How we can convert Managed Server running in single node to cluster configuration.
create 2nd machine pointing to node 2, create 2nd managed server amd assign to 2nd machine, create cluster and add both managed servers, install weblogic on node 2 on same path, pack and unpack domain from node 1 to node2.
what is the difference between weblogic 11g and 12c "installation" ?
Ssme
If we copy domain one machine to anather machine we can have two domains right ? What about old domain what should we do to that?
In horizontal clustering we have installation as well as domain on each host
@@digitak.middleware yeah that is I am asking we can have two wlservers and two domains can remove old ones ?
Sir pls answer this it will usefull
Sorry friend I didn't get your query. As i said in horizontal clustering we have binaries and domain on each node. Then what's the meaning of old
@@digitak.middleware initially we will be using one binary and one domain right , after that to upgrade domain we have to install anather binary which is upgraded ,so in cluster we will upgrade in one node first then we have to copy to another node so if we copy we can have anather domain also right so we can have two domains and two wlservers so what should we do to second domain
Sir one of the interviewers have asked me , if we copy domain from one node to anather node after copying what is the process ? is it ended with only copying the domain is that task finished ? this is the question which i have faced in the interview. please explain this sir
Answer depend on multiple situations, what's the purpose of copying domain. If you copying using pack and unpack during horizontal clustering then nothing required. If you want to migrate domain on some other machine then you have replace i.p and hostname on each file inside domain with new host where you have copied the domain. If db host also changed then you have update jdbc XML files with new db host as well. further it depend on the domain configurations and the applications deployed.
each file inside the domain means which file it is ?@@digitak.middleware
Can we do it without using pack and unpack if so how please suggest
If you dont want admin and manged server domain in a different directory structure then you can cooy and paste as well - like using tar and untar
@@digitak.middleware can you please make a video for it coz am fresher i don't have much knowledge please post a video
Its simple.
Once domain created on machine 1, make a tar
tar -cvf domainName.tar your-domain-name
Copy created tar file on machine 2 and extract in same domain folder structure
tar -xvf domainName.tar
so unpack command is different for both horizontal installation and horizontal upgradation what is that difference please let me know please write command in answer.
It's same
so if it is same while we copying the domain by using pack and unpack command if suppose first we have upgraded in node 1 after that i copied domain to node2 , so here node2 already has domain that is lower version of domain if we copy same domain will be upgraded or new doamain will be created ?if same domain upgrade in unpack command we need to use "overwrite the domain" please explain this@@digitak.middleware
sir answer for the above question it is usefull to me
You have to take backup of old domain on node 2 and then unpack new domain on same location.
Hi Sir what is the difference between domain upgradation and domain migration ?
Upgradation means you are upgrading from one major/minor version to other version, migration means you are moving it on different host or in system like from onpremise to cloud or Solaris to linux
So in migration scenario we need to update ip address of the targeted host after migration right ?@@digitak.middleware
sir is it correct ?
Yes
what is listen address of admin server ? no need to select listen address for admin server?
Yes you have to select listen address of each corresponding machine
How can we find weblogic MS or admin servers port numbers
You can check in config.xml
here in pack command what is the meaning of "managed = true" ? please let me know
It indicates you are going to pack managed server, so it takes all related configurations accordingly.
thank you sir you made me very clear , thanks for your prompt response for each and ever question that i have posted, very nice explanation sir@@digitak.middleware
can we give here "managed =false" as well ? if we give false what will happen please let me know the process@@digitak.middleware
sir please provide answer to my all questions i am continuing a rapo and flow with you that must be succesed .
How to failover admin server to another host in this scenario ???
Admin server failover configuration is a bit different. You have to create an admin domain on shared drive and then define virtual i.p for listening address. Will post another video on same in few days.
What happen if admin server down
Any application deployed on admin server will not be accessible. Also you will not be able to do any configuration changes in your domain. No impact on applications deployed on managed server(s).
Please upload videos sir in hindi please 🙏🙏🙏
Sure friend