1.start new doman admin console
2. open admin console URL http://localhost:7001/console/login/LoginForm.jsp
click 'New' button to add new clustering servers
specify server name, server listen address, server listen port, choose 'Yes,create a new cluster for this server' and click Next
key in the cluster name and click Finish
click Next
click Finish
click 'Machines' and click 'New' button to add new machines which will be worked in a cluster 'CPortal_Cluster'
click OK to exit and do the same thing to add 'CPortal_Machine_2'
click the hyperlink 'CPortal_Machine_1' and open 'Node Manager' tab to configure node manager on this machine
click Save to save the configuration for node manager on machine CPortal_Machine_1
choose 'Servers' tab , click 'Add' button
select a server to tie to this machine, click Next
click the hyperlink 'CPortal_Machine_2' and do the same thing above
reconfigure node manager (do this for both machine)
click above two machine hyperlink and open 'Monitor' tab to check the status is 'Reachable' or not
open E:\bea\wlserver_10.3\common\nodemanager\nodemanager.properties
SecureListener=false
>>>>> copy the whole folder E:\bea\user_projects on machine 192.168.0.84 to machine 192.168.0.85
click above two machine hyperlink and open 'Monitor' tab to check the status is 'Reachable' or not
found there is an exception on machine 192.168.0.85.
go to this machine, and open log file E:\bea\wlserver_10.3\common\nodemanager\nodemanager.log
<INFO> <Loading domains file: E:\bea\WLSERV~1.3\common\nodemanager\nodemanager.domains>
<INFO> <Loaded node manager configuration properties from 'E:\bea\WLSERV~1.3\common\nodemanager\nodemanager.properties'>
<INFO> <Plain socket listener started on port 5556>
<Warning> <I/O error while reading domain directory: java.io.FileNotFoundException: Domain directory 'E:\bea\wlserver_10.3\common\nodemanager' invalid (domain salt file not found)>
java.io.FileNotFoundException: Domain directory 'E:\bea\wlserver_10.3\common\nodemanager' invalid (domain salt file not found)
at weblogic.nodemanager.server.DomainManager.initialize(DomainManager.java:81)
at weblogic.nodemanager.server.DomainManager.<init>(DomainManager.java:53)
at weblogic.nodemanager.server.NMServer.getDomainManager(NMServer.java:252)
at weblogic.nodemanager.server.Handler.handleDomain(Handler.java:218)
at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:109)
at weblogic.nodemanager.server.Handler.run(Handler.java:66)
at java.lang.Thread.run(Thread.java:619)
how to resolve the problem ?
open domain file E:\bea\WLSERV~1.3\common\nodemanager\nodemanager.domains on both servers and compare, found the domain file on machine 192.168.0.85 lost one item
cportal_domain=E\:\\bea\\user_projects\\domains\\cportal_domain
add it into nodemanager.domains on machine 192.168.0.85 and restart the node manager service on this machine.
go back to check the status on machine 192.168.0.85 and found it is reachable.
No comments:
Post a Comment