配置WebLogic NodeManager
1. C:\bea10g\wlserver_10.0\common\bin>startManagedWebLogic WL10_ManagedServer_1 <a href="http://localhost:7001 target="_blank" rel="nofollow">]http://localhost:70012. 配置NodeManager来管理多个Machine。
3.
简单地说需要先把NodeManager注册到AdminServer上,然后AdminServer才能管理远程的NodeManager。(管理服务器要先开启)
4. 具体步骤如下:
-Go to weblogic92_home\wlserver_10.3\server\bin
-Run the Command:
D:\bea\wlserver_10.3\common\bin>setWLSEnv.cmd
5.
-Start WLST at the remote Machine to run nmEnroll command
D:\bea\wlserver_10.3\common\bin>java weblogic.WLST
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
-wls:/offline> connect()
Note:Give the user name and password for the Admin server which located on Machine A:
Please enter your username :
Please enter your password :
Please enter your server URL :t3://10.148.62.115:7001
Connecting to t3://10.148.62.115:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'base_domain'.
Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
-Run The nmEnroll Command:
wls:/Nodemanager_domain/serverConfig>nmEnroll(r'D:\bea\wlserver_10.3\common\nodemanager')
Enrolling this machine with the domain directory at D:\bea\wlserver_10.3\common\nodemanager
nodemanager ...
Successfully enrolled this machine with the domain directory at D:\bea\wlserver_10.3\common\nodemanager.
wls:/Nodemanager_domain/serverConfig>
6.
-Done. Now start the Nodemanager .
Steps that needs to be followed at Machine A(管理服务器)
-Start the weblogic server
-Open the Weblogic Console http://localhost:7001/console
-Create a Machine in the console
(Environments\Mahine)
-Click on Node manager
-Listen Addresss : Give the IP address of remote machine
-Listen port : port number (5556 default) of remote machine
-Save and click on Monitoring.
7.
-It will show status :Reachable.
-Create a managed server, give the Listen address of the Remote Machine,port:7070 for example
-Save and restart (if necessary) the Admin server.
-Click on Managed server once the Admin server is up.
-Click on Control-> Start the managed server.
8.
简单地说是如下如下两步,用weblogic.WLST的connect()命令连接到AdminServer,然后用nmEnroll(r'...\nodemanager')将NodeManager注册到AdminServer,将在NodeManager目录下建立两个目录,这样就有了连接AdminServer的配置信息。
9. 批注:此步骤成功后,就可以实现将受管服务器分配到集群和应用部署到集群了。
页:
[1]