Weblogic : Monitor Weblogic through command line
Set the java environment
There is a script for setting the CLASSPATH and PATH so that this tool can work.
Set the java environment
There is a script for setting the CLASSPATH and PATH so that this tool can work.
We have to create WAS groups before creating & assigning users.
The following represents the Oracle recommended method for automating database startup and shutdown of Oracle 10g instances.
What is SSL ?
Method 1:
1) Install exact websphere version including fixpack on a new machine
Note you have to make sure to use same install path for example
Let’s check if there are any java (server) process running ?
[was61@ scripts]$ ps -ef | grep java | awk ‘{print $2 ” “ $8}’
18343 /opt/IBM/WebSphere/AppServer/java/bin/java
18521 /opt/IBM/WebSphere/AppServer/java/bin/java
18639 /opt/IBM/WebSphere/AppServer/java/bin/java
18819 /opt/IBM/WebSphere/AppServer/java/bin/java
This jython script will produce output as below :
$/opt/IBM/WebSphere/AppServer/bin/wsadmin.sh -lang jython -profile serverStatus.py -c “serverStatus()”
This script is designed to get complete server status details and OS details just before deployemnt. Its designed to help in debugging and simulating the same environment.
Note:No arguments required for this script to run
Go to application server profile and start the server. Start the deployment manager. Go to the administrative console and login.
WebSphere Portal has concept of Development mode for some time, basic idea is to improve the startup time of portal by delaying the startup of application. The application should be started when it is accessed for first time instead of starting it at the server startup time.
Count of archive files and size of the redo generated by day
SELECT A.*, ROUND (A.Count# * B.AVG# / 1024 / 1024) Daily_Avg_Mb FROM ( SELECT TO_CHAR (First_Time, 'YYYY-MM-DD') DAY, COUNT (1) Count#, MIN (RECID) Min#, MAX (RECID) Max# FROM v$log_history GROUP BY TO_CHAR (First_Time, 'YYYY-MM-DD') ORDER BY 1 DESC) A, (SELECT AVG (BYTES) AVG#, COUNT (1) Count#, MAX (BYTES) Max_Bytes, MIN (BYTES) Min_Bytes FROM v$log) B;
The PerfServlet provides the performance data output as an XML document, The servlet provides a way to use an HTTP request to query the performance metrics for an entire WebSphere Application Server administrative domain.