Weblogic installation for application like FCUBS env
++ Create user
Create users and groups
groupadd –g 600 wlsgroup
useradd -g wlsgroup -s /usr/bin/bash oracle
++ Installation dir
Installation Path=/oradata/Weblogic/Middleware/
Domain Path=/oradata/Weblogic/logs/
Log path=/oradata/Weblogic/domains/
++ Change the kernel parameters
Ulimit entries:
1) /etc/security/limits.conf
oracle soft nofile 131072
oracle hard nofile 131072
oracle soft nproc 131072
oracle hard nproc 131072
oracle soft core unlimited
oracle hard core unlimited
oracle soft memlock 3500000
oracle hard memlock 3500000
2) /etc/profile
ulimit -S -c 0 > /dev/null 2>&1
Change it to the following:
ulimit -S -c unlimited > /dev/null 2>&1
And add the below entry at the last above unset
---
if [ $USER = "oracle" ]; then
umask 022
ulimit -i 1024
ulimit -l 128
ulimit -n 65536
fi
unset i
unset pathmunge
Login as oracle user
Export the display to xmanager or take the console from the serer
And execute the installer
Enter the path Middleware
++ Create the Domain
++Console username and password
Select Sun SDK
Select Admin and Managed servers
++Enter the IP address of the servers
++Enter Managed server name and IP address
++ Check the domain is there in startweblogic script and start the weblogic
++Check the config.xml file configuration
++Check logfile
++ Check password is encrypted in Boot.properties file
++Login to the console
weblogic/weblogic123
++Changing managed server to stat from the console
Click machines > machines> server > add
check the domain is registered in nodemanager.domains and start the node manager and
Change
Change sercureListener >> since its Test
Now check the status of the node manager is active
Here is shows still inactive then to fix navigate to configuration>select plain>save
To test from backend
Cd /oradata/Weblogic/Middleware/user_projects/domains/base_domain/bin
startManagedWebLogic.sh start mange server in backend
setDomainEnv.sh to check heap memory and to add additional mem parameter.
Error:
[oracle@ZA-FCUBS-DEV-01 security]$ pwd
/oradata/Weblogic/Middleware/user_projects/domains/base_domain/servers/AdminServer/security
[oracle@ZA-FCUBS-DEV-01 security]$ cp boot.properties /oradata/Weblogic/Middleware/user_projects/domains/base_domain/servers/MS1/security/
[oracle@ZA-FCUBS-DEV-01 security]$ ls -ltr /oradata/Weblogic/Middleware/user_projects/domains/base_domain/servers/MS1/security/
total 4
-rw-r----- 1 oracle oinstall 187 Jun 12 17:11 boot.properties
[oracle@ZA-FCUBS-DEV-01 security]$
Now start the Manage server
[oracle@ZA-FCUBS-DEV-01 bin]$ pwd
/oradata/Weblogic/Middleware/user_projects/domains/base_domain/bin
[oracle@ZA-FCUBS-DEV-01 bin]$ nohup ./startManagedWebLogic.sh MS1 &
[2] 23650
[oracle@ZA-FCUBS-DEV-01 bin]$ nohup: appending output to `nohup.out'
[oracle@ZA-FCUBS-DEV-01 bin]$
[oracle@ZA-FCUBS-DEV-01 bin]$
No comments:
Post a Comment