rev qa1_test.txt | cut -c 70- | rev > newqa1_.txt
Pages
▼
Thursday, July 31, 2014
Saturday, July 19, 2014
Weblogic 12c New JDBC future
WebLogic 12.1.3 will come with the JDBC 12c driver, this driver will gives us better integration and reliability between WebLogic 12c and Oracle Database 12c (Application Continuity).
When we take a look at the administration side of WebLogic we can see that the Enterprise Manager will be more important, in WebLogic 12.1.3 we can also do Application and JMS administration from the EM application. Also 12.1.3 will contain a Restful management APIs for additional monitoring, operations, Datasource and deployment support. Plus a global OWSM policy to protect all your Web and Rest services with one server policy.
WebLogic 12.1.4 will have a new feature called Multi-Tenant Applications, this way you can define an WebLogic template for an application, so one or more customers of this application which will have its own Cluster, Managed Servers, Application and (not shared) resources plus it will support Oracle Database 12c pluggable databases.
Weblogic 12c Dynamic Clustering
WebLogic 12.1.3 will be the first version for many FMW 12c products like Oracle SOA Suite 12c and probably come in one big jar. 12.1.3 & 12.1.4 will add extra features and improvements to Elastic JMS & Dynamic Clusters. Elastic JMS in 12.1.3 will support Server Migration so you can’t lose any JMS messages.
In 12.1.4, Dynamic Clusters will have support for auto-scaling based on thresholds based on user-defined metrics. WebLogic 12.1.4 will also have an API to control the Dynamic Clusters, this way we can easily program when to stop, start or remove nodes from a dynamic cluster.
Weblogic 12C history
WebLogic 10.3.6 is still the
latest 11g version but Oracle will support 10.3.6 till 2018 and extended
support till 2021. So Oracle’s Fusion Apps and we have enough time to migrate
to WebLogic 12.1.X. Oracle also promised that the upgrade should be easy. That
being said we can take look at the WebLogic 12.1.X features.
Jun 2013
Oracle already released WebLogic 12.1.2 which has since WebLogic 12.1.1 been
certified for Java EE 6 and it looks like the Java EE 7 certification is still
far away, so Oracle updated the 12.1.2 version with some badly needed
frameworks like WebSockets. To make the developer experience more complete
Oracle added more support for Maven and it comes with a utility to synchronize
a Maven repository with all the needed WebLogic libraries.
12.1.2
is also the first release, which comes with Fusion Middleware infrastructure
components. For now FMW 12.1.2 contains ADF & OWSM and comes with
Enterprise Manager & MDS.
WebLogic
12.1.2 replaced the BEA installer and the BSU patching utilities with the
Oracle Universal Installer and the OPatch utilities for applying patches.
To make it even more easier it just comes in one taste ( no Java included
or a specific Operating System installer ). Just one big jar file for
WebLogic with Coherence or one for WebLogic, Coherence and FMW.
WebLogic
12.1.2 introduced Dynamic Clusters, Elastic JMS and integrated Coherence
configuration and management. Dynamic Clusters is a great feature to extend the
WebLogic Cluster with Managed Servers based on a Server Template. For this we
only need to change a parameter on the cluster and the new Managed Servers are
distributed over the NodeManagers. To use this feature your blades need to have
enough free resources to handle the extra Managed Servers.
Elastic
JMS can be combined with Dynamic Clusters, this way we only need to create 1
JMS server, target this to the cluster and every Cluster node will have its own
JMS server.
When we
look at the announced features of WebLogic 12.1.3 and 12.1.4 we can see that
Oracle continues on this road.
Tuesday, July 15, 2014
WebLogic 12.1.2 Futures
WebLogic 12.1.2 Futures
1. Dynamic Cluster Support:
It is one of the most striking features of WebLogic 12.1.2. This release introduces use of the dynamic cluster for a highly scalable systems, high availability environment. Dynamic cluster allows the managed servers to be automatically added based on a server template.
2. Support with Oracle Database 12c.
3. JMS enhancements:
Supports clustered targeted JMS Servers for providing high availability eliminating the need to configure many JMS resources for every single server.
4. Enhanced maven support.
Support for POMs, Maven 3.0.4.
5. WebSocket support.
Supports for WebSocket Protocol (RFC 6455),which provides two-way, full-duplex communication over a single TCP connection between clients and servers, where each side can send data independently from the other. The WebSockets communication model occurs in real-time and promotes user interaction.
Saturday, July 5, 2014
find out top 10 largest file/directories
To find top 10 largest file/directories
du -a /opt/middleware | sort -n -r | head -n 10
more human readable output try:
$ du -hsx * | sort -rh | head -10
more human readable output try:
$ du -hsx * | sort -rh | head -10
delete 100 lines forward from (including) the current one
delete 100 lines forward from (including) the current one
repeat dd (delete current line) 100 times:
100dd
delete from current line to 99 lines forward
d99j
delete 100 lines backwards from (including) the current one
d99k
delete lines in a specific range by line number
:1,100d
delete lines in a range beginning with the current lin
repeat dd (delete current line) 100 times:
100dd
delete from current line to 99 lines forward
d99j
delete 100 lines backwards from (including) the current one
d99k
delete lines in a specific range by line number
:1,100d
delete lines in a range beginning with the current lin
Tuesday, July 1, 2014
Alert for diskspace in Weblogic Environemnts
#!/bin/bash
#admin email account
ADMIN="madhuchilipi@gmail.com"
# set usage alert threshold
THRESHOLD=10
#hostname
HOSTNAME=$(hostname)
#mail client
MAIL=/usr/bin/mail
# store all disk info here
EMAIL="/l01/apps/oracle"
for line in $(df -hP | egrep '^/l01/apps/oracle' | awk '{ print $6 "_:_" $5 }')
do
part=$(echo "$line" | awk -F"_:_" '{ print $1 }')
part_usage=$(echo "$line" | awk -F"_:_" '{ print $2 }' | cut -d'%' -f1 )
if [ $part_usage -ge $THRESHOLD -a -z "$EMAIL" ];
then
EMAIL="$(date): Running out of diskspace on $HOSTNAME\n"
EMAIL="$EMAIL\n$part ($part_usage%) >= (Threshold = $THRESHOLD%)"
elif [ $part_usage -ge $THRESHOLD ];
then
EMAIL="$EMAIL\n$part ($part_usage%) >= (Threshold = $THRESHOLD%)"
fi
done
if [ -n "$EMAIL" ];
then
echo -e "$EMAIL" | $MAIL -s "Alert: Partition(s) almost out of diskspace on $HOSTNAME" "$ADMIN"
fi
em console access denied Access denied. Required roles: Admin, Operator, Monitor, executing subject: principals=[].
em console access denied Access denied. Required roles: Admin, Operator, Monitor, executing subject: principals=[].
Not able to see all composites in em console
Fix for EM account issues
Open em Navigate to Security à Application Roles
Click on Search Button.
All groups will be displayed. Select SOAMointer
group and click on Edit button.
Click on Add Button in the following screen.
Select Type as “Group” and Click on Search
buttion.All groups will be displayed like below.
Add AddTesters group for SOAMoniter role.
Repeat the same steps and add
IntegrationMoniters group to SOAMoniter role.