First, Log in to the console
Http://192.168.101.166:7001/console
User: WebLogic Password: weblogic010
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/16/wKioL1T2d6TC2VI-AANx2SndEs8702.jpg "title=" 1.jpg " alt= "Wkiol1t2d6tc2vi-aanx2sndes8702.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/5A/16/wKioL1T2eAHAmYI4AAOeU70-mXo445.jpg "title=" 1.jpg " alt= "Wkiol1t2eahamyi4aaoeu70-mxo445.jpg"/>
Second, Create a cluster
Click "Lock and edit" to create a new server or cluster.
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/16/wKioL1T2eJGSFta4AAP2a-5MU30963.jpg "title=" 1.jpg " alt= "Wkiol1t2ejgsfta4aap2a-5mu30963.jpg"/>
Click "New"
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/1A/wKiom1T2d8Gh9HqtAANxvutIKtA007.jpg "title=" 1.jpg " alt= "Wkiom1t2d8gh9hqtaanxvutikta007.jpg"/>
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/1A/wKiom1T2eAOTHYFCAAMIROvqUVE819.jpg "title=" 1.jpg " alt= "Wkiom1t2eaothyfcaamirovquve819.jpg"/>
Click "Next"
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/1A/wKiom1T2eEjSwQXUAAMn_U7oKKQ669.jpg "title=" 1.jpg " alt= "Wkiom1t2eejswqxuaamn_u7okkq669.jpg"/>
node 2 Create the same method as node 1
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/5A/16/wKioL1T2eZ2jOYo0AAPnzR9-6dA760.jpg "title=" 1.jpg " alt= "Wkiol1t2ez2joyo0aapnzr9-6da760.jpg"/>
The status is "unknown" because the node is not yet started.
Click "Activate Changes" to save the configuration.
Third, Managed Server ---- Password Authentication
Cd/app/sinova/domains/base_domain/bin
VI startmanagedweblogic.sh
[ Find, and modify, as follows ]
Wls_user= "WebLogic"
Export Wls_user
wls_pw= "weblogic010"
Export WLS_PW
Four, writing a restart managed node script
Cd/app/sinova/bin
1. virestart_redgift_node1.sh
#!/bin/bash
Date= ' date+%y%m%d '
wls_node= "Redgift_node1" "Change to a corresponding Note name "
User_mem_args= "-xms1024m-xmx1024m-xx:maxpermsize=512m"
Java_options= "-dusesunhttphandler=true"
serviceip=192.168.101.166 the Management Server IP "
Exportuser_mem_args java_options Wls_node Serviceip
Ps-ef | grep java | grep WebLogic | Grep-w ${wls_node} | awk ' {print $} ' |xargs kill-9 >/dev/null 2>&1
rm-rf/app/sinova/domains/base_domain/servers/${wls_node}/tmp/*
Sleep1
nohup/app/sinova/domains/base_domain/bin/startmanagedweblogic.sh ${wls_node}http://192.168.101.166:7001/>/ App/sinova/logs/www/${wls_node}-${date}.log2>&1 &
2 , VI restart_redgift_all.sh
#!/bin/bash
/app/sinova/bin/restart_redgift_node1.sh
/app/sinova/bin/restart_redgift_node2.sh
3 , Authorization chmod +x *.sh
4 , execute start all nodes ./restart_redgift_all.sh
Five, Console View node status
650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/5A/1A/wKiom1T2eOrTlMcdAAQwHRCVgz8257.jpg "title=" 1.jpg " alt= "Wkiom1t2eortlmcdaaqwhrcvgz8257.jpg"/>
This article is from "Allen Lee Oracle" blog, please make sure to keep this source http://lipengfei666666.blog.51cto.com/6384154/1617153
WebLogic Middleware cluster Sharing (vi) WebLogic creating managed nodes