Posts

Showing posts from February, 2017

How to Automate WebLogic Domain Restart? When Physical or Virtual Linux Server Restart

Image
==> This Method is very Useful in below Scenarios  When Physical/Virtual  Linux Servers Crashed and You Brought Up Linux Server at the Same Time WebLogic Servers Also Started Without Manual Intervention. During Maintenance of Linux Servers, If Your Restarting Linux Server in that case also WebLogic Application Servers will be Started Automatically by Using this Method. If WebLogic Server Crashed Due to OOM(OutOfMemory) OR Due to any JVM BUG in that case also JVM will be restarted automatically.  Summary: ======== 1) Create nodemanager Script 2) Save the Script Inside Directory /etc/init.d 3) Issue the Command chkconfig for Script nodemanager 4) Change Properties Values in nodemanager.properties  File 5) Start the NodeManager, AdminServer & Managed Server Through NodeManager 6) For Testing Purpose Restart the Linux Server & Check WebLogic Application Server Status. STEPS:- ======= Step-1) Create nodemanager Script  ...

How To Increase Tomcat Performance Using Tomcat Native Library ?

Image
The Apache Tomcat Native Library is an optional component for use with Apache Tomcat that allows Tomcat to use certain native resources for performance, compatibility, etc. Specifically, the Apache Tomcat Native Library gives Tomcat access to the Apache Portable Runtime (APR) library's network connection (socket) implementation and random-number generator. Summary ============= 1) Download Softwares APR library, OpenSSL libraries & Tomcat Native Library 2) Install APR library 3) Install OpenSSL libraries  4) Install Tomcat Native Library 5) Add the Libraries Path to tomcat CLASSPATH 6) Restart Tomcat Server & Validate Libraries Loaded or Not at Run time. Steps: ===== 1) Download Softwares APR library, OpenSSL libraries & Tomcat Native Library Use Below links for downloading software's APR ==>  http://www-eu.apache.org/dist//apr/apr-1.5.2.tar.gz OpenSSL ==>   https://www.openssl.org/source/openssl-...

How to Start, Stop & Dissable Firewall in CentOS 7 using systemctl?

Image
1) Below command is used for checking status of firewall  systemctl status firewalld 2) Below command is used for starting firewall  systemctl start firewalld 3) Below commands are used for Stopping &  Disabling firewall systemctl stop firewalld systemctl disable firewalld

Tar Command Examples

Image
1) Creating tar files     a) How to Create .tar file             Below command creates uncompressed archive file.               tar -cvf log.tar log Options Meaning: c – Creates a new .tar archive file. v – Verbosely show the .tar file progress. f – File name type of the archive file.     b) How to Create .tar.gz OR .tgz files         Below command creates compressed  gzip archive file.Use z option           tar zcvf logs.tar.gz logs/         OR     tar zcvf logs.tgz logs/           c) How to create   tar.bz2 OR  tbz OR  tb2         The bz2 feature compress and create archive file less than the size of the gzip           To create highly compressed tar file we use option as j. ...

Log Files Rotated By WebLogic Server 12.1.2 OR 12.1.3 Are Not Closed

Issue Definition: ============= lsof command for Middleware directory shows that log files rotated by Node Manager are not getting closed by file handler due to this space is not releasing. [root@test1 ~]# df -h /dev/mapper/VolGroup00-LogVol06_Middleware Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol06_Middleware 50G 39G 8.1G 83% /oracle/Middleware [root@test1 ~]# lsof -a +L1 /oracle/Middleware/|grep -i delete java 5634 oracle 305w REG 253,6 5118896 921736 /oracle/Middleware/user_projects/domains/base_domain/servers/ms1/logs/ms1.out63956 (deleted) java 5634 oracle 331w REG 253,6 5118902 921330 /oracle/Middleware/user_projects/domains/base_domain/servers/ms1/logs/ms1.out63708 (deleted) java 5634 oracle 332w REG 253,6 5118898 921336 /oracle/Middleware/user_projects/domains/base_domain/servers/ms1/logs/ms1.out63709 (deleted) java 5634 oracle 335w REG 253,6 5118902 921350 /oracle/Middleware/user_projects/domains/base_domain/servers/ms1/logs/ms1.out...

Active Directory Authenticator Configuration with Weblogic or AD Integration with Weblogic

Image
Terminologies CN : Common name =Users, Groups, Container, Computer OU : Organisational Unit=Organisation Name DC :Domain Component=Domain Domain Controller:  A domain controller is a server that is running a version of the Windows Server operating system and has Active Directory Domain Services installed. Step 1) Create Users & Groups in Default AD container Users.              Below snapshot shows i have created               Users: jagan                         john                         scott               Group: testgroup Users jagan, john & scott are member of testgroup Step 2) Create Active Directory Authenticator Login to Wls console ==> Click on Security Realms ==> Click on myrealms ==> Click on Providers =...