Step 1) Run config.sh command to create a domain using configuration wizard.
cd /home/osboxes/Oracle/Middleware/Oracle_Home/oracle_common/common/bin
[osboxes@machine1 bin]$ pwd
/home/osboxes/Oracle/Middleware/Oracle_Home/oracle_common/common/bin
[osboxes@machine1 bin]$ ./config.sh
Provide user name and password:
UserName: weblogic
Password: weblogic1
Provide NodeManager UserName and Password
UserName: weblogic
Password: weblogic1
Step 2) Start NodeManager, AdminServer , ManagedServer1 & ManagedServer2 and Access Weblogic Server Console
cd /home/osboxes/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/bin
[osboxes@machine1 bin]$ ls -rlt
total 76
drwxr-x---. 2 osboxes osboxes 24 Jan 20 10:46 service_migration
drwxr-x---. 2 osboxes osboxes 28 Jan 20 10:46 server_migration
drwxr-x---. 2 osboxes osboxes 61 Jan 20 10:46 patching
drwxr-x---. 2 osboxes osboxes 27 Jan 20 10:46 nodemanager
-rwxr-x---. 1 osboxes osboxes 794 Jan 20 10:46 setStartupEnv.sh
-rwxr-x---. 1 osboxes osboxes 8186 Jan 20 10:46 startWebLogic.sh
-rwxr-x---. 1 osboxes osboxes 2157 Jan 20 10:46 stopWebLogic.sh
-rwxr-x---. 1 osboxes osboxes 2836 Jan 20 10:46 startManagedWebLogic.sh
-rwxr-x---. 1 osboxes osboxes 2692 Jan 20 10:46 stopManagedWebLogic.sh
-rwxr-x---. 1 osboxes osboxes 15438 Jan 20 10:46 setDomainEnv.sh
-rwxr-x---. 1 osboxes osboxes 2675 Jan 20 10:46 generateArchive.sh
-rwxr-x---. 1 osboxes osboxes 907 Jan 20 10:46 setNMJavaHome.sh
-rwxr-x---. 1 osboxes osboxes 1151 Jan 20 10:46 stopNodeManager.sh
-rwxr-x---. 1 osboxes osboxes 1185 Jan 20 10:46 startNodeManager.sh
-rwxr-x---. 1 osboxes osboxes 723 Jan 20 10:46 startRSDaemon.sh
-rwxr-x---. 1 osboxes osboxes 887 Jan 20 10:46 stopRSDaemon.sh
-rwxr-x---. 1 osboxes osboxes 2520 Jan 20 10:46 startComponent.sh
-rwxr-x---. 1 osboxes osboxes 2530 Jan 20 10:46 restartComponent.sh
-rwxr-x---. 1 osboxes osboxes 2184 Jan 20 10:46 stopComponent.sh
a) Start NodeManager in Background
[osboxes@machine1 bin]$ nohup ./startNodeManager.sh &
[1] 112618
[osboxes@machine1 bin]$ nohup: ignoring input and appending output to 'nohup.out'
[osboxes@machine1 bin]$ tail -f nohup.out
LogFormatter=weblogic.nodemanager.server.LogFormatter
ListenAddress=192.168.1.196
StateCheckInterval=500
coherence.StartScriptEnabled=false
LogCount=1
NodeManagerHome=/home/osboxes/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain/nodemanager
RestEnabled=false
isLogLockingEnabled=true
weblogic.startup.JavaHome=/home/osboxes/jdk-11.0.9
weblogic.startup.MW_Home=
coherence.startup.JavaHome=/home/osboxes/jdk-11.0.9
coherence.startup.MW_Home=
Domain name mappings:
base_domain -> /home/osboxes/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain
<Jan 20, 2021 10:54:29 AM Eastern Standard Time> <INFO> <14.1.1.0.0>
<Jan 20, 2021 10:54:29 AM Eastern Standard Time> <INFO> <Server Implementation Class: weblogic.nodemanager.server.NMServer$ClassicServer.>
<Jan 20, 2021 10:54:30 AM Eastern Standard Time> <INFO> <Secure socket listener started on port 5556, host /192.168.1.196>
b) Start AdminServer using startWebLogic.sh Script and it will prompt you for username and password
Refer the below link on how to setup boot.properties file for Admin and Managed Servers so that it will not prompt for username and password
[osboxes@machine1 bin]$ ./startWebLogic.sh
After you setup boot.properties file, You may run Admin Server and Managed Servers on background using nohup command
[osboxes@machine1 bin]$ nohup ./startWebLogic.sh &
[2] 113680
[osboxes@machine1 bin]$ nohup: ignoring input and appending output to 'nohup.out'
[osboxes@machine1 bin]$ tail -f nohup.out
Start Managed Server 1 on background
[osboxes@machine1 bin]$ nohup ./startManagedWebLogic.sh ManagedServer_1 t3://192.168.1.196:9001 &
[3] 113889
[osboxes@machine1 bin]$ nohup: ignoring input and appending output to 'nohup.out'
[osboxes@machine1 bin]$ tail -f nohup.out
Start Manged Server 2 on Background
[osboxes@machine1 bin]$ nohup ./startManagedWebLogic.sh ManagedServer_2 t3://192.168.1.196:9001 &
[4] 114021
[osboxes@machine1 bin]$ nohup: ignoring input and appending output to 'nohup.out'
[osboxes@machine1 bin]$ tail -f nohup.out
Access Admin console using http://<hostname>:<adminport>/console
http://192.168.1.196:9001/console
or
http://machine1:9001/console
username : weblogic
password : weblogic1
Check the status of Admin , ManagedServer 1 , ManagedServer 2 and NodeManager from the console
No comments:
Post a Comment