第八篇:weblogic之节点管理服务器
节点管理服务器用于远程启动、关闭以及重新启动管理服务器和受管理服务器
1、依次展开 环境-计算机,点击 锁定并编辑,右侧 新建 计算机
修改监听地址
点击 完成,激活更改,添加计算机成功。
2、关联计算机和被管服务器
依次展开 环境-计算机,右侧单击 demo1,点击 添加,在配置-服务器中选择需要加入的被管服务器
3、启动节点管理服务器
进入weblogic主目录/home/weblogic/Oracle/Middleware/wlserver_10.3/的server/bin下
首先执行环境设置脚本setWLSEnv.sh,然后执行启动节点服务器脚本startNodeManager.sh
./startNodeManager.sh 监听地址 5556端口
1 [weblogic@localhost bin]$ pwd 2 /home/weblogic/Oracle/Middleware/wlserver_10.3/server/bin 3 [weblogic@localhost bin]$ ll 4 total 12 5 drwxr-x---. 2 weblogic weblogic 6 Aug 24 14:04 international 6 -rwxr-x---. 1 weblogic weblogic 3899 Aug 24 14:04 setWLSEnv.sh 7 -rwxr-x---. 1 weblogic weblogic 4602 Aug 24 14:04 startNodeManager.sh 8 [weblogic@localhost bin]$ ./setWLSEnv.sh 9 CLASSPATH=/home/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/weblogic/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/jdk/lib/tools.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:.:/usr/local/jdk/lib/dt.jar:/usr/local/jdk/lib/tools.jar:/usr/local/jdk/jre/lib 10 11 PATH=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/bin:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/local/jdk/jre/bin:/usr/local/jdk/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/usr/local/jdk/bin:/home/weblogic/.local/bin:/home/weblogic/bin 12 13 Your environment has been set. 14 [weblogic@localhost bin]$ ./startNodeManager.sh 192.168.78.129 5556 15 + CLASSPATH=/home/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/home/weblogic/Oracle/Middleware/patch_ocp371/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/local/jdk/lib/tools.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/home/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/home/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/home/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:.:/usr/local/jdk/lib/dt.jar:/usr/local/jdk/lib/tools.jar:/usr/local/jdk/jre/lib:/home/weblogic/Oracle/Middleware 16 + '[' '!' -z '' ']' 17 + '[' '!' -z '' ']' 18 + export CLASSPATH 19 + export PATH 20 + cd /home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager 21 + set -x 22 + '[' '' '!=' '' ']' 23 + '[' '' '!=' '' ']' 24 + /usr/local/jdk/bin/java -client -Xms32m -Xmx200m -XX:MaxPermSize=128m -Dcoherence.home=/home/weblogic/Oracle/Middleware/coherence_3.7 -Dbea.home=/home/weblogic/Oracle/Middleware -Xverify:none -Djava.security.policy=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy -Dweblogic.nodemanager.javaHome=/usr/local/jdk weblogic.NodeManager -v 25 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0 26 <Aug 24, 2018 6:01:58 PM> <INFO> <Loading domains file: /home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains> 27 Aug 24, 2018 6:01:58 PM weblogic.nodemanager.server.NMServerConfig initDomainsMap 28 INFO: Loading domains file: /home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains 29 <Aug 24, 2018 6:02:03 PM> <INFO> <Loading identity key store: FileName=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/DemoIdentity.jks, Type=jks, PassPhraseUsed=true> 30 Aug 24, 2018 6:02:03 PM weblogic.nodemanager.server.SSLConfig loadKeyStoreConfig 31 INFO: Loading identity key store: FileName=/home/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/DemoIdentity.jks, Type=jks, PassPhraseUsed=true 32 <Aug 24, 2018 6:02:04 PM> <WARNING> <Node manager configuration properties file '/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties' not found. Using default settings.> 33 Aug 24, 2018 6:02:04 PM weblogic.nodemanager.server.NMServer <init> 34 WARNING: Node manager configuration properties file '/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties' not found. Using default settings. 35 <Aug 24, 2018 6:02:04 PM> <INFO> <Saving node manager configuration properties to '/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties'> 36 Aug 24, 2018 6:02:04 PM weblogic.nodemanager.server.NMServer <init> 37 INFO: Saving node manager configuration properties to '/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.properties' 38 Node manager v10.3 39 40 Configuration settings: 41 42 NodeManagerHome=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager 43 ListenAddress= 44 ListenPort=5556 45 ListenBacklog=50 46 SecureListener=true 47 AuthenticationEnabled=true 48 NativeVersionEnabled=true 49 CrashRecoveryEnabled=false 50 JavaHome=/usr/local/jdk/jre 51 StartScriptEnabled=false 52 StopScriptEnabled=false 53 StartScriptName=startWebLogic.sh 54 StopScriptName= 55 LogFile=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.log 56 LogLevel=INFO 57 LogLimit=0 58 LogCount=1 59 LogAppend=true 60 LogToStderr=true 61 LogFormatter=weblogic.nodemanager.server.LogFormatter 62 DomainsFile=/home/weblogic/Oracle/Middleware/wlserver_10.3/common/nodemanager/nodemanager.domains 63 DomainsFileEnabled=true 64 StateCheckInterval=500 65 UseMACBroadcast=false 66 DomainRegistrationEnabled=false 67 DomainsDirRemoteSharingEnabled=false 68 69 Domain name mappings: 70 71 base_domain -> /home/weblogic/Oracle/Middleware/user_projects/domains/base_domain 72 73 <Aug 24, 2018 6:02:05 PM CST> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true> 74 <Aug 24, 2018 6:02:05 PM CST> <Info> <Security> <BEA-090906> <Changing the default Random Number Generator in RSA CryptoJ from ECDRBG to FIPS186PRNG. To disable this change, specify -Dweblogic.security.allowCryptoJDefaultPRNG=true> 75 <Aug 24, 2018 6:02:07 PM CST> <Info> <Security> <BEA-090908> <Using default WebLogic SSL Hostname Verifier implementation.> 76 <Aug 24, 2018 6:02:08 PM> <INFO> <Secure socket listener started on port 5556> 77 Aug 24, 2018 6:02:08 PM weblogic.nodemanager.server.SSLListener run 78 INFO: Secure socket listener started on port 5556
4、登录console控制台验证启动、停止操作