Clustering : - Grouping of an AppServer under a single application/name.
Types of Clustering:-
1) VERTICAL CLUSTERING : Deployed the application on one machine and we can run that application on our own box(or) machine.
In this Vertical Clustering Machine FailOver is not possible.
If the machine gets failed we cannot run that application (or)
SINGLE POINT OF FAILURE.
If one Server fails the other Server will takes care
If machine fails nothing can be done.
2) HORIZONTAL CLUSTERING : Grouping of AppServers in which one AppServer should be on one node and Another AppServer should be on another node.
Means if we take two machines one application should be deployed on different machines Remotely (or) one application should run in INDIA and another application should run in AMERICA.
If Machine1 application will be deployed on Machine2 so we have to know the IP address of Machine1 then only it is possible to deployed that application Successfully.
Both Machines should have Internet Connection.
Here no SINGLE POINT OF FAILURE.
It Supports MACHINE FAILOVER.
DMGR and the JVMs resides on the different machines.This will work even when the physical machine failover is happened.
WORKLOADMANAGEMENT : Sharing requests across Multiple Servers.
SCALABILITY : can add 2/3 members or add a cluster member to existing member
VERTICAL CLUSTER CONFIGURATION :
STEP 1: Goto Cluster.
STEP2 : Click New.
STEP3: Give Cluster Name.
STEP4 : Prefer LOCAL (By default enable)
STEP5 : Click Next Button.
STEP6: Add Cluster Member 1
STEP7 : Weight (2 Members ---> Equivalent weight)
STEP8 : Add Cluster Member2
STEP9 : Generate unique HTTP ports.
STEP10 : Click Finish Button.
STEP11 : Select Scope.
STEP12 : Controlling Cluster.
STEP13 : Start Cluster Member1
STEP14 : Start Cluster Member2
STEP15 : LogOut from AdminConsole.
STEP16 : Again LogIn to AdminConsole.
STEP17 : See in AdminConsole both Clusters are started.
STEP BY STEP FOR CREATING CLUSTERS.
STEP 1 : ND - None Installation.
STEP 2 : Create 3 profiles DMGR , APPSRV1 , CUSTOM.
STEP 3 : Federation (APPSRV1 , CUSTOM) ------> DMGR.
STEP 4 : IHS (WEB SERVER + PLUG-IN )
STEP 5 : Map Web Server Instance in DMGR.
STEP 6 : Cluster Creation (Node A) ----> SRV 2
(Node B) -----> SRV 1
STEP 7 : Deployed Application under Cluster or Web Server Scope
STEP 8 : Ensure PLUG-IN Generation and Propogation.
STEP 9 : Restarts (SERVER 1 , SERVER 2 , WEB SERVER)
Clustering concept is for High Availability and and Workload Management.
Types of Clustering:-
1) VERTICAL CLUSTERING : Deployed the application on one machine and we can run that application on our own box(or) machine.
In this Vertical Clustering Machine FailOver is not possible.
If the machine gets failed we cannot run that application (or)
SINGLE POINT OF FAILURE.
If one Server fails the other Server will takes care
If machine fails nothing can be done.
2) HORIZONTAL CLUSTERING : Grouping of AppServers in which one AppServer should be on one node and Another AppServer should be on another node.
Means if we take two machines one application should be deployed on different machines Remotely (or) one application should run in INDIA and another application should run in AMERICA.
If Machine1 application will be deployed on Machine2 so we have to know the IP address of Machine1 then only it is possible to deployed that application Successfully.
Both Machines should have Internet Connection.
Here no SINGLE POINT OF FAILURE.
It Supports MACHINE FAILOVER.
DMGR and the JVMs resides on the different machines.This will work even when the physical machine failover is happened.
WORKLOADMANAGEMENT : Sharing requests across Multiple Servers.
SCALABILITY : can add 2/3 members or add a cluster member to existing member
VERTICAL CLUSTER CONFIGURATION :
STEP 1: Goto Cluster.
STEP2 : Click New.
STEP3: Give Cluster Name.
STEP4 : Prefer LOCAL (By default enable)
STEP5 : Click Next Button.
STEP6: Add Cluster Member 1
STEP7 : Weight (2 Members ---> Equivalent weight)
STEP8 : Add Cluster Member2
STEP9 : Generate unique HTTP ports.
STEP10 : Click Finish Button.
STEP11 : Select Scope.
STEP12 : Controlling Cluster.
STEP13 : Start Cluster Member1
STEP14 : Start Cluster Member2
STEP15 : LogOut from AdminConsole.
STEP16 : Again LogIn to AdminConsole.
STEP17 : See in AdminConsole both Clusters are started.
STEP BY STEP FOR CREATING CLUSTERS.
STEP 1 : ND - None Installation.
STEP 2 : Create 3 profiles DMGR , APPSRV1 , CUSTOM.
STEP 3 : Federation (APPSRV1 , CUSTOM) ------> DMGR.
STEP 4 : IHS (WEB SERVER + PLUG-IN )
STEP 5 : Map Web Server Instance in DMGR.
STEP 6 : Cluster Creation (Node A) ----> SRV 2
(Node B) -----> SRV 1
STEP 7 : Deployed Application under Cluster or Web Server Scope
STEP 8 : Ensure PLUG-IN Generation and Propogation.
STEP 9 : Restarts (SERVER 1 , SERVER 2 , WEB SERVER)