Weblogic NodeManager 的配置使用
1、配置計算機節點管理器執行環境 (不用操作)
nodemaneger HOME目錄:weblogic/wlserver_10.3/common/nodemanager
[weblogic@wls nodemanager]$ pwd
/u02/weblogic/wlserver_10.3/common/nodemanager
[weblogic@wls nodemanager]$ ls -l
總計 32
-rw-r----- 1 weblogic weblogic 130 12-11 05:24 nm_data.properties
-rw-r----- 1 weblogic weblogic 147 12-07 10:29 nodemanager.domains
-rw-r----- 1 weblogic weblogic 680 12-11 05:24 nodemanager.log
-rw-r----- 1 weblogic weblogic 822 12-11 05:24 nodemanager.properties
2、指定節點管理器的使用者名稱密碼
針對一個domain 使用一個統一的使用者名稱密碼,這個domain中的節點管理器都從管理伺服器下載。
控制檯:點選域,安全-節點管理器口令。可以修改。
此操作對應的配置檔案為:
[weblogic@wls nodemanager]$ pwd
/u02/weblogic/user_projects/domains/base_domain/config/nodemanager
[weblogic@wls nodemanager]$ cat *
#Node manager user information
#Sun Dec 07 10:29:29 CST 2014
hashed={Algorithm\=SHA-256}T/BxUu8AFDY+shoDdarrJ0vuzsKx24mKvwYL08LE2TE\=
[weblogic@wls nodemanager]$ cat *
#Node manager user information
#Thu Dec 11 09:10:31 CST 2014
hashed={Algorithm\=SHA-256}nSfOtTJcs43OzaWaBY3yV8TGQfW0eWtT0r0mG1f1OIc\=
3、配置一個計算機,使用nodemanager. 怎麼讓domain 認識到這個計算機上有個節點管理器
domian-環境-計算機-新增計算機-節點管理器--伺服器關聯
啟用後,點選監視。可以看到節點管理器的工作狀況。
4、配置節點管理器的 nodemanager.domains 檔案
nodemanager.domains 這個檔案中只會自動加上本機上的domain。
使用wlt
[weblogic@wls bin]$ pwd
/u02/weblogic/wlserver_10.3/common/bin
建立node1 的資料夾。
/u02/weblogic/user_projects/domains/base_domain/servers/node1
[weblogic@wls bin]$ ./wlst.sh
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect()
Please enter your username :weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://192.168.37.129:7001
Connecting to t3://192.168.37.129: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.
wls:/base_domain/serverConfig>
wls:/base_domain/serverConfig> nmEnroll('/u02/weblogic/user_projects/domains/base_domain/servers/node1')
Enrolling this machine with the domain directory at /u02/weblogic/user_projects/domains/base_domain/servers/node1
...
Successfully enrolled this machine with the domain directory at
/u02/weblogic/user_projects/domains/base_domain/servers/node1.
wls:/base_domain/serverConfig>
wls:/base_domain/serverConfig> disconnect()
Disconnected from weblogic server: AdminServer
wls:/offline> exit();
到
/u02/weblogic/wlserver_10.3/server/bin 啟動節點管理器例項。
./startNodeManager.sh
再找監視中檢視,還是非活動。
看日誌有一個警告。
警告: Uncaught exception in server handlerjavax.net.ssl.SSLKeyException: [Security:090482]BAD_CERTIFICATE alert
was received from wls - 192.168.37.129. Check the peer to determine why it rejected the certificate chain (trusted
CA configuration, hostname verification). SSL debug tracing may be required to determine the exact reason the
certificate was rejected.
下面再進行一個操作就可以了。
到AdminServer的SSL設定,高階。主機名驗證,設定成none.
再重啟後就可以成功在控制檯停啟受管理伺服器了。
測試節點管理器
/u02/weblogic/user_projects/domains/base_domain/servers/node1/servers/Server-0/data/nodemanager/Server-0.pid
找到pid;
kill -9 4115【檔案中的程式id】
可以看到自動重啟Server-0了。
nodemaneger HOME目錄:weblogic/wlserver_10.3/common/nodemanager
[weblogic@wls nodemanager]$ pwd
/u02/weblogic/wlserver_10.3/common/nodemanager
[weblogic@wls nodemanager]$ ls -l
總計 32
-rw-r----- 1 weblogic weblogic 130 12-11 05:24 nm_data.properties
-rw-r----- 1 weblogic weblogic 147 12-07 10:29 nodemanager.domains
-rw-r----- 1 weblogic weblogic 680 12-11 05:24 nodemanager.log
-rw-r----- 1 weblogic weblogic 822 12-11 05:24 nodemanager.properties
2、指定節點管理器的使用者名稱密碼
針對一個domain 使用一個統一的使用者名稱密碼,這個domain中的節點管理器都從管理伺服器下載。
控制檯:點選域,安全-節點管理器口令。可以修改。
此操作對應的配置檔案為:
[weblogic@wls nodemanager]$ pwd
/u02/weblogic/user_projects/domains/base_domain/config/nodemanager
[weblogic@wls nodemanager]$ cat *
#Node manager user information
#Sun Dec 07 10:29:29 CST 2014
hashed={Algorithm\=SHA-256}T/BxUu8AFDY+shoDdarrJ0vuzsKx24mKvwYL08LE2TE\=
[weblogic@wls nodemanager]$ cat *
#Node manager user information
#Thu Dec 11 09:10:31 CST 2014
hashed={Algorithm\=SHA-256}nSfOtTJcs43OzaWaBY3yV8TGQfW0eWtT0r0mG1f1OIc\=
3、配置一個計算機,使用nodemanager. 怎麼讓domain 認識到這個計算機上有個節點管理器
domian-環境-計算機-新增計算機-節點管理器--伺服器關聯
啟用後,點選監視。可以看到節點管理器的工作狀況。
4、配置節點管理器的 nodemanager.domains 檔案
nodemanager.domains 這個檔案中只會自動加上本機上的domain。
使用wlt
[weblogic@wls bin]$ pwd
/u02/weblogic/wlserver_10.3/common/bin
建立node1 的資料夾。
/u02/weblogic/user_projects/domains/base_domain/servers/node1
[weblogic@wls bin]$ ./wlst.sh
Initializing WebLogic Scripting Tool (WLST) ...
Welcome to WebLogic Server Administration Scripting Shell
Type help() for help on available commands
wls:/offline> connect()
Please enter your username :weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://192.168.37.129:7001
Connecting to t3://192.168.37.129: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.
wls:/base_domain/serverConfig>
wls:/base_domain/serverConfig> nmEnroll('/u02/weblogic/user_projects/domains/base_domain/servers/node1')
Enrolling this machine with the domain directory at /u02/weblogic/user_projects/domains/base_domain/servers/node1
...
Successfully enrolled this machine with the domain directory at
/u02/weblogic/user_projects/domains/base_domain/servers/node1.
wls:/base_domain/serverConfig>
wls:/base_domain/serverConfig> disconnect()
Disconnected from weblogic server: AdminServer
wls:/offline> exit();
到
/u02/weblogic/wlserver_10.3/server/bin 啟動節點管理器例項。
./startNodeManager.sh
再找監視中檢視,還是非活動。
看日誌有一個警告。
警告: Uncaught exception in server handlerjavax.net.ssl.SSLKeyException: [Security:090482]BAD_CERTIFICATE alert
was received from wls - 192.168.37.129. Check the peer to determine why it rejected the certificate chain (trusted
CA configuration, hostname verification). SSL debug tracing may be required to determine the exact reason the
certificate was rejected.
下面再進行一個操作就可以了。
到AdminServer的SSL設定,高階。主機名驗證,設定成none.
再重啟後就可以成功在控制檯停啟受管理伺服器了。
測試節點管理器
/u02/weblogic/user_projects/domains/base_domain/servers/node1/servers/Server-0/data/nodemanager/Server-0.pid
找到pid;
kill -9 4115【檔案中的程式id】
可以看到自動重啟Server-0了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/30066956/viewspace-1373312/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- WebLogic NodeManager 配置檔案nodemanager.propertiesWeb
- weblogic NodeManager狀態不可用Web
- win_weblogic_生產模式_nodeManagerWeb模式
- weblogic配置SSLWeb
- 【Weblogic】Weblogic安裝以及域配置Web
- weblogic.nodemanager.common.ConfigException:Nativeversionisenabledbutnodemanagernativelibrarycouldnotbeloaded解決辦法WebException
- 官方文件nodemanager 配置檔案和日誌檔案的路線圖
- weblogic配置httpsWebHTTP
- 如何設定weblogic的nodemanger配置Web
- weblogic中 JMS 的配置問題Web
- WebLogic的安裝和配置(轉)Web
- weblogic 9.X 配置Web
- weblogic8.1叢集配置Web
- Weblogic10 叢集配置Web
- linux 開啟啟動nodemanagerLinux
- weblogic配置JDBC資料來源WebJDBC
- weblogic XA 事務配置問題Web
- Weblogic 多機群集配置關鍵Web
- weblogic rac10g 配置haWeb
- Weblogic使用NIO模型Web模型
- 關於weblogic配置資料驅動的問題?Web
- Weblogic資料來源配置文件Web
- Weblogic 10.3.6叢集配置手冊Web
- HTTPS訪問:weblogic下配置SSLHTTPWeb
- Weblogic和eclipse安裝和配置WebEclipse
- 在centos5.4上配置weblogic(二)CentOSWeb
- Apache實現weblogic叢集配置(轉)ApacheWeb
- weblogic rac10g ha配置 (zt)Web
- 快速配置weblogic8.X的應用目錄Web
- weblogic GridLink資料來源配置Web
- weblogic軟體安裝與配置部署大全Web
- 在weblogic上配置資料來源薦Web
- weblogic+ofbiz安裝配置問題?Web
- Jbuilder7+weblogic6.X配置說明UIWeb
- weblogic 10.3使用80埠Web
- 請教在同一臺機器上配置weblogic的clusterWeb
- 將Hibernate配置到Weblogic JNDI上的詳細步驟Web
- 【MyEclipse】MyEclipse 2015配置WebLogicEclipseWeb