Chủ Nhật, 23 tháng 2, 2020

DỰNG WEBLOGIC CLUSTER TỪ A-Z - BÀI 4: START DOMAIN VÀ NODE MANAGER

1.  Start domain:

bash-3.2$ cd /u02/weblogic/Oracle/Middleware/user_projects/domains/Test_Domain/bin
bash-3.2$ ./startWebLogic.sh
.
.
JAVA Memory arguments: -Xms256m -Xmx512m  -XX:MaxPermSize=256m
.
WLS Start Mode=Production
.
CLASSPATH=/u02/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/jdk/instances/jdk1.6.0/lib/tools.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u02/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u02/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u02/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/bin:/u02/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/jdk/instances/jdk1.6.0/jre/bin:/usr/jdk/instances/jdk1.6.0/bin:/usr/bin:
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
Starting WLS with line:
/usr/jdk/instances/jdk1.6.0/bin/java -server -d64   -Xms256m -Xmx512m  -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy  -Dweblogic.ProductionModeEnabled=true   -da -Dplatform.home=/u02/weblogic/Oracle/Middleware/wlserver_10.3 -Dwls.home=/u02/weblogic/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/u02/weblogic/Oracle/Middleware/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/u02/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath  weblogic.Server
<May 31, 2017 9:31:01 AM ICT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<May 31, 2017 9:31:01 AM ICT> <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>
<May 31, 2017 9:31:01 AM ICT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.12-b01 from Sun Microsystems Inc.>
<May 31, 2017 9:31:01 AM ICT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
<May 31, 2017 9:31:02 AM ICT> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic         ## Enter username
Enter password to boot WebLogic server:                          ##Enter password of weblogic user
<May 31, 2017 9:31:11 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<May 31, 2017 9:31:11 AM ICT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<May 31, 2017 9:31:11 AM ICT> <Notice> <Log Management> <BEA-170019> <The server log file /u02/weblogic/Oracle/Middleware/user_projects/domains/Test_Domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<May 31, 2017 9:31:13 AM ICT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<May 31, 2017 9:31:15 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<May 31, 2017 9:31:15 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<May 31, 2017 9:31:17 AM ICT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<May 31, 2017 9:31:18 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<May 31, 2017 9:31:18 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<May 31, 2017 9:31:18 AM ICT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.0.100:8001 for protocols iiop, t3, ldap, snmp, http.>
<May 31, 2017 9:31:18 AM ICT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "Test_Domain" running in Production Mode>
<May 31, 2017 9:31:18 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<May 31, 2017 9:31:18 AM ICT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>
## Press Control + C to stop

^C<May 31, 2017 9:31:19 AM ICT> <Notice> <WebLogicServer> <BEA-000388> <JVM called WLS shutdown hook. The server will force shutdown now>
<May 31, 2017 9:31:19 AM ICT> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by <WLS Kernel>>
<May 31, 2017 9:31:19 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SUSPENDING>
<May 31, 2017 9:31:20 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<May 31, 2017 9:31:20 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
<May 31, 2017 9:31:20 AM ICT> <Notice> <Server> <BEA-002607> <Channel "Default" listening on 192.168.0.100:8001 was shutdown.>


2.  Create boot file for background start of admin server:

bash-3.2$ cd /u02/weblogic/Oracle/Middleware/user_projects/domains/Test_Domain/servers/AdminServer/
bash-3.2$ mkdir security
bash-3.2$ cd security/
bash-3.2$ vi boot.properties ##Enter  username and password into boot.properties file.

"boot.properties" [New file]
username=weblogic 
password=weblogic123

3.  Start Admin console in background:

bash-3.2$ cd /u02/weblogic/Oracle/Middleware/user_projects/domains/Test_Domain/bin
bash-3.2$ nohup ./startWebLogic.sh &
[1] 1408
Sending output to nohup.out

bash-3.2$ tail -100f nohup.out
.
.
JAVA Memory arguments: -Xms256m -Xmx512m  -XX:MaxPermSize=256m
.
WLS Start Mode=Production
.
CLASSPATH=/u02/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/usr/jdk/instances/jdk1.6.0/lib/tools.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic_sp.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.jar:/u02/weblogic/Oracle/Middleware/modules/features/weblogic.server.modules_10.3.6.0.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/webservices.jar:/u02/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/lib/ant-all.jar:/u02/weblogic/Oracle/Middleware/modules/net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/common/derby/lib/derbyclient.jar:/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/xqrl.jar
.
PATH=/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/bin:/u02/weblogic/Oracle/Middleware/modules/org.apache.ant_1.7.1/bin:/usr/jdk/instances/jdk1.6.0/jre/bin:/usr/jdk/instances/jdk1.6.0/bin:/usr/bin:
.
***************************************************
*  To start WebLogic Server, use a username and   *
*  password assigned to an admin-level user.  For *
*  server administration, use the WebLogic Server *
*  console at http://hostname:port/console        *
***************************************************
starting weblogic with Java version:
java version "1.6.0_37"
Java(TM) SE Runtime Environment (build 1.6.0_37-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01, mixed mode)
Starting WLS with line:
/usr/jdk/instances/jdk1.6.0/bin/java -server -d64   -Xms256m -Xmx512m  -XX:MaxPermSize=256m -Dweblogic.Name=AdminServer -Djava.security.policy=/u02/weblogic/Oracle/Middleware/wlserver_10.3/server/lib/weblogic.policy  -Dweblogic.ProductionModeEnabled=true   -da -Dplatform.home=/u02/weblogic/Oracle/Middleware/wlserver_10.3 -Dwls.home=/u02/weblogic/Oracle/Middleware/wlserver_10.3/server -Dweblogic.home=/u02/weblogic/Oracle/Middleware/wlserver_10.3/server   -Dweblogic.management.discover=true  -Dwlw.iterativeDev=false -Dwlw.testConsole=false -Dwlw.logErrorsToConsole=false -Dweblogic.ext.dirs=/u02/weblogic/Oracle/Middleware/patch_wls1036/profiles/default/sysext_manifest_classpath  weblogic.Server
<May 31, 2017 9:36:34 AM ICT> <Info> <Security> <BEA-090905> <Disabling CryptoJ JCE Provider self-integrity check for better startup performance. To enable this check, specify -Dweblogic.security.allowCryptoJDefaultJCEVerification=true>
<May 31, 2017 9:36:34 AM ICT> <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>
<May 31, 2017 9:36:34 AM ICT> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) 64-Bit Server VM Version 20.12-b01 from Sun Microsystems Inc.>
<May 31, 2017 9:36:35 AM ICT> <Info> <Management> <BEA-141107> <Version: WebLogic Server 10.3.6.0  Tue Nov 15 08:52:36 PST 2011 1441050 >
<May 31, 2017 9:36:36 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<May 31, 2017 9:36:36 AM ICT> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<May 31, 2017 9:36:36 AM ICT> <Notice> <Log Management> <BEA-170019> <The server log file /u02/weblogic/Oracle/Middleware/user_projects/domains/Test_Domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
<May 31, 2017 9:36:37 AM ICT> <Notice> <Security> <BEA-090082> <Security initializing using security realm myrealm.>
<May 31, 2017 9:36:37 AM ICT> <Notice> <Security> <BEA-090083> <Storing boot identity in the file: /u02/weblogic/Oracle/Middleware/user_projects/domains/Test_Domain/servers/AdminServer/security/boot.properties>
<May 31, 2017 9:36:39 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STANDBY>
<May 31, 2017 9:36:39 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<May 31, 2017 9:36:41 AM ICT> <Notice> <Log Management> <BEA-170027> <The Server has established connection with the Domain level Diagnostic Service successfully.>
<May 31, 2017 9:36:41 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
<May 31, 2017 9:36:41 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RESUMING>
<May 31, 2017 9:36:41 AM ICT> <Notice> <Server> <BEA-002613> <Channel "Default" is now listening on 192.168.0.100:8001 for protocols iiop, t3, ldap, snmp, http.>
<May 31, 2017 9:36:41 AM ICT> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "Test_Domain" running in Production Mode>
<May 31, 2017 9:36:41 AM ICT> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<May 31, 2017 9:36:41 AM ICT> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>  ## If server change to RUNNING mode, start is completed



@ Trần Văn Bình - Founder of Oracle DBA AZ
#học oracle #oracle database #khóa học oracle online #khóa học oca #học oca ở đâu #oca là gì #oca oracle #BossData #OraAz #OracleDBAAz #OracleTutorial #Quản_trị_cơ_sở_dữ_liệu_Oracle #OracleDBA #OracleDatabaseAdministration

ĐỌC NHIỀU

Trần Văn Bình - Oracle Database Master