WebLogic集群配置NodeManager来远程管理多个Machine _Tomcat, WebLogic及J2EE讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  Tomcat, WebLogic及J2EE讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 1896 | 回复: 0   主题: WebLogic集群配置NodeManager来远程管理多个Machine         下一篇 
大红薯
注册用户
等级:少校
经验:1440
发帖:159
精华:0
注册:2011-7-21
状态:离线
发送短消息息给大红薯 加好友    发送短消息息给大红薯 发消息
发表于: IP:您无权察看 2015-4-17 17:17:15 | [全部帖] [楼主帖] 楼主

需要先把NodeManager注册到AdminServer上,然后AdminServer才能管理远程的NodeManager。(管理服务器要先开启)
具体步骤如下:

-Go to weblogic92_home\wlserver_10.3\server\bin
-Run the Command:
D:\bea\wlserver_10.3\common\bin>setWLSEnv.cmd
-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 [weblogic] :
Please enter your password [weblogic] :
Please enter your server URL [t3://localhost:7001] :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>
-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.
-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.


简单地说是如下如下两步,用weblogic.WLST的connect()命令连接到AdminServer,然后用nmEnroll(r'...\nodemanager')将NodeManager注册到AdminServer,将在NodeManager目录下建立两个目录,这样就有了连接AdminServer的配置信息。

批注:此步骤成功后,就可以实现将受管服务器分配到集群和应用部署到集群了。

--转自 北京联动北方科技有限公司




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论