Wednesday, February 24, 2016

Install Oracle Traffic Director 12.2.1 in silent mode

Hello Friends!! In this post, let's discuss on Installation procedure for OTD. Oracle Traffic Director (OTD) is developed on Fusion Middleware supported platforms and on Oracle's engineered systems such as Exalogic and SPARC SuperCluster.

Oracle Traffic Director 12.2.1 is a software load balancer for load balancing HTTP/S and TCP traffic to back-end servers. These back-end servers, which are referred to as origin servers within Oracle Traffic Director, can be application servers, web servers, LDAP servers and so on

Oracle Traffic Director OTD installation

Prerequisites for Collocated Domain:

Create silent mode installation will take the default paths which takes the arguments given in the same line instead of response file, INSTALL_TYPE="Collocated OTD (Managed through WebLogic server)" is the option will tells the Oracle Universal Installer that install OTD  with the following:


Download and unzip file V78163-01.zip to install traffic director

./fmw_12.2.1.0.0_otd_linux64.bin -silent ORACLE_HOME=$ORACLE_HOME DECLINE_SECURITY_UPDATES=true INSTALL_TYPE="Collocated OTD (Managed through WebLogic server)" -invPtrLoc /home/oracle/silent/oraInst.loc
0%...................................................................................................100%
Launcher log file is /tmp/OraInstall2016-02-25_11-25-48AM/launcher2016-02-25_11-25-48AM.log.
Starting Oracle Universal Installer

Checking if CPU speed is above 300 MHz.   Actual 2924.000 MHz    Passed
Checking swap space: must be greater than 512 MB.   Actual 17304 MB    Passed
Checking if this platform requires a 64-bit JVM.   Actual 64    Passed (64-bit not required)
Checking temp space: must be greater than 300 MB.   Actual 706019 MB    Passed


Preparing to launch the Oracle Universal Installer from /tmp/OraInstall2016-02-25_11-25-48AM
Log: /tmp/OraInstall2016-02-25_11-25-48AM/install2016-02-25_11-25-48AM.log
Setting ORACLE_HOME to /home/oracle/products/12.2.1/Oracle_Home
Setting DECLINE_SECURITY_UPDATES to true
Setting INSTALL_TYPE to Collocated OTD (Managed through WebLogic server)
Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved.
Skipping Software Updates
Starting check : CertifiedVersions
Expected result: One of redhat-7,redhat-6,oracle-6,oracle-7,SuSE-11
Actual Result: oracle-7
Check complete. The overall result of this check is: Passed
CertifiedVersions Check: Success.


Starting check : Packages
Checking for binutils-2.23.52.0.1; found binutils-2.23.52.0.1-55.el7-x86_64.    Passed
Checking for compat-libcap1-1.10; found compat-libcap1-1.10-7.el7-x86_64.       Passed
Checking for compat-libstdc++-33-3.2.3-x86_64; found compat-libstdc++-33-3.2.3-72.el7-x86_64.   Passed
Checking for libgcc-4.8.2-x86_64; found libgcc-4.8.5-4.el7-x86_64.      Passed
Checking for libstdc++-4.8.2-x86_64; found libstdc++-4.8.5-4.el7-x86_64.        Passed
Checking for libstdc++-devel-4.8.2-x86_64; found libstdc++-devel-4.8.5-4.el7-x86_64.    Passed
Checking for sysstat-10.1.5; found sysstat-10.1.5-7.el7-x86_64. Passed
Checking for gcc-4.8.2; found gcc-4.8.5-4.el7-x86_64.   Passed
Checking for gcc-c++-4.8.2; found gcc-c++-4.8.5-4.el7-x86_64.   Passed
Checking for ksh-...; found ksh-20120801-22.el7_1.3-x86_64.     Passed
Checking for make-3.82; found make-1:3.82-21.el7-x86_64.        Passed
Checking for glibc-2.17-x86_64; found glibc-2.17-106.0.1.el7_2.1-x86_64.        Passed
Checking for glibc-devel-2.17-x86_64; found glibc-devel-2.17-106.0.1.el7_2.1-x86_64.    Passed
Checking for libaio-0.3.109-x86_64; found libaio-0.3.109-13.el7-x86_64. Passed
Checking for libaio-devel-0.3.109-x86_64; found libaio-devel-0.3.109-13.el7-x86_64.     Passed
Check complete. The overall result of this check is: Passed
Packages Check: Success.


Starting check : Kernel
Checking for VERSION=3.8.0; found VERSION=3.10.0-229.el7.x86_64.        Passed
Checking for hardnofiles=4096; found hardnofiles=4096.  Passed
Checking for softnofiles=4096; found softnofiles=4096.  Passed
Check complete. The overall result of this check is: Passed
Kernel Check: Success.


Starting check : TotalMemory
Expected result: 1024MB
Actual Result: 31972MB
Check complete. The overall result of this check is: Passed
TotalMemory Check: Success.


Starting check : CheckJDKVersion
Expected result: 1.8.0_51
Actual Result: 1.8.0_51
Check complete. The overall result of this check is: Passed
CheckJDKVersion Check: Success.


Validations are enabled for this session.
Verifying data
Copying Files
Percent Complete : 10
Percent Complete : 20
Percent Complete : 30
Percent Complete : 40
Percent Complete : 50
Percent Complete : 60
Percent Complete : 70
Percent Complete : 80
Percent Complete : 90
Percent Complete : 100

The installation of Oracle Traffic Director 12.2.1.0.0 completed successfully.
Logs successfully copied to /home/oracle/oraInventory/logs.

We have updated the following topics with the integration process with OHS and Oracle WebLogic.

  1. OTD connecting OHS instances
  2. OTD Instance creation with WLST
  3. OTD Standalone Domain
  4. OHS Instance creation using WLST
  5. OHS Standalone domain
  6. OHS Collocated domain

Monday, February 22, 2016

Oracle SOA Suite Administration interview questions - Part 3

21. How does your application can call external web service ?

22. Calling async BPEL process within empty BPEL process?

23. Combination of ESB and BPEL and third party web services ?

24. Java embedding 48. BPEL and OSB console ?

25. Adapter - concepts, integration, life-cycle mgmt., translation errors ?

26. Oracle E-Biz adapter and capturing event from oracle ERP ?

27. Fine tuning BPEL process ?

28. What is the SOA Deployment framework used in your Project?
A. Partitioned deployment strategy is most commonly used.
Components can be deployed using Enterprise Manager or WLST Scripts.

29. Business rules and AIA ?

30. Email notification and rejection handler ?

31. Patches and installation - UNIX based and windows based ?

32. External resource management (example MQ shared library and third party jar files) ?

33. JMS and connection pools 58. Transformation and iteration ?

34. Which are the areas you think Oracle SOA fits perfectly?

35. What is a file adapter ?
In JEE specification we have JCA specs. The on-demand adapter usage available in the WebLogic 12c onwards. Which is used in the SOA domain and we can have the File adapter can be enabled by a BPEL or  human workflow to  exchange, read and write files on a logical system.



 36. What are the default schema will  be created while  installing Oracle SOA ?
A. There are four important schema will be created using RCU for SOA.

      1. BAM

      2. SOA INFRA

      3. META DATA SERVICE

      4. USER MESSAGING SERVICE

37. What is SOA infra ?

Oracle SOA Suite 11g provides a unified runtime based on the SCA standard. The runtime consists of Service Engines and Binding Components (JCA Adapters, B2B) that are managed and interconnected by a common SOA Infrastructure. SOA Infrastructure also provides common services such as lifecycle management and deployment.

The diagram shows the runtime of an SOA composite application. It has the following parts: Binding Components establishes the connectivity between an SOA composite and the external world. Service Infrastructure provides internal message transport. Service Engines (containers hosting service components) host the business logic or processing rules of the service components. Each service component has its own service engine. UDDI and MDS The MDS (Metadata Services) repository stores descriptions of available services. The UDDI advertises these services, and enables discovery and dynamic binding at runtime. SOA Archive: Composite is the deployment unit that describes the composite application.


38. What is database purging ?


 Deleting tales in the database is said to be database purging.



39. What is  Mediator ?

Data flowing through Service Component Architecture (SCA) may need to be filtered, transformed, validated, and routed from a source to one or more target services. The Mediator component enables you to easily implement and perform these capabilities within the context of a composite application. A Mediator component provides a lightweight mediation framework to manage data between clients and services and through events.

 Routing data, which is the main purpose of a Mediator component, is accomplished by adding one or more routing rules. Each routing rule specifies a target service for the data, which may be communicated synchronously or asynchronously. Routing rules can handle returned responses, callbacks, faults, timeouts, and specify content-based and header-based filtering criteria, enabling data to be routed to a suitable target. Using a Mediator component, you can facilitate integration between events and services where service invocations and events can be mixed and matched through an implementation of a variety of patterns, such as service virtualization, publish and subscribe, fan-in, and fan-out, and various synchronous and asynchronous request response patterns. For example, a Mediator component can accept data from a text file, transform it to a format for updating a database, route, and deliver the data to that database through a database service.


 40. What is OSB ?

 Oracle service bus is used to connect , mediate and manage interaction between hetrogenous services, legacy applications, packaged applications and multiple service bus instances across an enterprise wide network.


Oracle SOA Suite Administration interview questions - Part 4

This post is series of SOA Suite Administration interview Questions. You might be interested to see :


41. What is plan.xml and where do you need this?
Whenever we have huge deployments in SOA environments and the variation only the DB Details and Context URL paths then we can create multiple plan.xml files to simplify the deployment Unit to multiple platforms such as QA, TEST, DEV etc.

42. Daily activities that you do as an Administrator in a SOA  project ?
SOA admin daily activities are:

  • Installation of Environments one time activity for Production multiple for non-Production
  • Configurations - major once minor depending on releases
  • Deployments - Currently every project is following Agile methodology twice in month for Production, non production daily [many times also]
  • Control - Stop or start environments
  • Monitoring the environment sweeping out the logs to clear disk space. recycle long running servers to free up JVM, etc
  • DR sync up for every release code ensure everything working fine after a release deployment. Some time reverting



43. Tell me  about your current company/client using environment ?


44. What are the differences between identity store and trust store ?
These two are the important files to configure your web services/web applications for accessing HTTPS protocol based.

References:

SSL Configuration on WebLogic Environment


45.  Do you have any questions to me ?


Oracle SOA Suite Administration interview questions - Part 2

11. What is the Path of the SOA server related log files ?

MW_HOME/user projects/domains/soa_domain/ms_server/logs


12. What is synchronous and asynchronous process in BPEL ?

BPEL is an orchestration language that actively describes the ways in which individual services can be composed to implement a more complex service.

BPEL is designed to integrate Web services. Web services are components described by their interfaces, which are known as WSDL. But WSDL does not make statements about message sequences. BPEL’s processing model is based on the assumption that all import and export of data is done by using Web services.

Most BPEL processes are executable. They can be started by external actions or some internal process (within the BPEL context). BPEL processes are executed by an execution engine. The engine can publish a BPEL process through a Web services interface or react to trigger conditions set up inside the process itself. BPEL processes can be long-running transactions. If human interaction is required, some processes may take weeks or months. BPEL processes can define the business logic and perform routing, transforming, and filtering inside a BPEL Process component contained in a composite application. BPEL processes are described like flow charts. BPEL defines a small number of basic building blocks. Some special controls are used for branching, joining, and exceptions. BPEL execution is the process of transporting data through the chart. BPEL flow can be modeled in a visual designer tool.


Synchronous BPEL process can block  the client when it is being called

Asynchronous BPEL process not  blocking may use call backs

13. Tell me basic commands in Solaris like checking the CPU usage RAM consumption ?

14. Basic requirements on database creation and configuration of DB Adapters ?

15. List the various adapters used ?

 To interact with Oracle  application with non Oracle application we use fusion middleware adapters.


     1. File adapter

     2. JMS

     3. DB

     4. AQ

     5. APPS

     6. UMS




16. What is SOA, Oracle SOA suite, BPEL, ESB ?

17. Difference between BPEL and ESB ?

18. Transactions and fault (exception) management ?

19.  Designer for Business process ?

20. Run time components of SOA ?