Code Snippet

Just another Code Snippet site

Clustering WebLogic 11g at different machines – Idan Fridman

Source: Clustering WebLogic 11g at different machines – Idan Fridman

, , ,


One thought on “Clustering WebLogic 11g at different machines – Idan Fridman

  • Olivier says:

    In summary:

    Create a domain in VM1 and VM2 with the same name and the same location. For the domain2, the Admin Server is not required.
    In the Admin Server1:
    Create a new weblogic machine a configure the node manager with the IP of VM1 and choose “plain” as type.
    Create a new weblogic machine a configure the node manager with the IP of VM2 and choose “plain” as type.
    Create a Managed Server and assign it to machine1, configure the listening adresse with the IP of VM1
    Create a Managed Server and assign it to machine2, configure the listening adresse with the IP of VM2
    Create a cluster and assign it the two managed server
    In the VM1 and VM2, open the file “/nodemanager/nodemanager.properties”:
    Change property “ListenAddress” with the VM IP
    Change the property “SecureListener” to false
    Go in
    /bin/ and execute “nohup ./startNodeManager.sh &”

    Run /common/bin/wlst.sh
    Connect you to the admin server 1 and enroll the node manager with these lines

    connect ('weblogic','password','t3://<IP_VM1>:7001')
    nmEnroll('<DOMAINE_HOME>','$WL_HOME/common/nodemanager')
    

Leave a Reply

Your email address will not be published. Required fields are marked *