SUSE one-SP3 weblogic associated Node Manager configuration
Purpose: To enable the shutdown of the node in the console (by default, the console can issue a shutdown instruction, but it cannot start, the boot needs to be linked)
This installation primarily addresses the NodeManager management of each node in a managed domain to initiate a shutdown task
Disadvantage: Do this is mainly to deal with the superior, did not realize the start tune their own scripts, there is time to modify
Environment:
192.168.137.128:7001 AdminServer
192.168.137.128:7002 Nodemanager7002
192.168.137.128:7003 Nodemanager7003
192.168.137.130:7004 Nodemanager7004
192.168.137.128:5556 machine_128
192.168.137.130:5557 machine_130
1. Log in to the 192.168.137.128:7001/console console, add two computers machine_128 machine_130, and add a server to it
2. Configure NodeManager, create machine_128, machine_130 under node management of 128, 130, and then create nodemanager.properties in its directory
Copy startnodemanager.sh to machine_128, machine_130, and change the contents of the script separately
128 on,
cd/home/weblogic/domains/mcp_domain/nodemanager/machine_128
Vim Nodemanager.properties
listenaddress=192.168.137.128
listenport=5556
Securelistener=false
Vim startnodemanager.sh
Wl_home= "/home/weblogic/weblogic12/wlserver"
. "${wl_home}/common/bin/commenv.sh"
if ["${nodemgr_home}" = ""]
Then
Nodemgr_home= "/home/weblogic/domains/mcp_domain/nodemanager/machine_128"
130 on,
cd/home/weblogic/domains/mcp_domain/nodemanager/machine_130
Vim Nodemanager.properties
listenaddress=192.168.137.130
listenport=5557
Securelistener=false
Vim startnodemanager.sh
Wl_home= "/home/weblogic/weblogic12/wlserver"
. "${wl_home}/common/bin/commenv.sh"
if ["${nodemgr_home}" = ""]
Then
Nodemgr_home= "/home/weblogic/domains/mcp_domain/nodemanager/machine_130"
3. Register the computer to the domain
128 on,
cd/home/weblogic/weblogic12/wlserver/server/bin/
SOURCE setwlsenv.sh
Java WebLogic. WLST
Connect (' WebLogic ', ' weblogic123 ', ' t3://10.133.212.84:8001 ') in the WLST command-line Input command to the Management Server
Nmenroll ('/home/weblogic/domains/jzsh_domain ', '/home/weblogic/domains/jzsh_domain/nodemanager/machine86 ') Run the registration command
Exit ()
130 on,
cd/home/weblogic/weblogic12/wlserver/server/bin/
SOURCE setwlsenv.sh
Java WebLogic. WLST
Connect (' WebLogic ', ' weblogic123 ', ' t3://192.168.137.128:7001 ') in the WLST command-line Input command to the Management Server
Nmenroll ('/home/weblogic/domains/mcp_domain ', '/home/weblogic/domains/mcp_domain/nodemanager/machine_130 ') Run the registration command
Exit ()
4. Start the node server script
./startnodemanager.sh
5. Log in to the console environment---server---control---"Start/Shut Down"
If there is no problem in the configuration, click Start after the error associated failure, then restart AdminServer
SuSE one-SP3 weblogic associated Node Manager configuration