Showing posts with label websphere datapower. Show all posts
Showing posts with label websphere datapower. Show all posts

Thursday, September 24, 2015

What are the ESB implementation patterns and SOA in Datapower? (115/285 technotes for 2015)

An ESB Must Support the following mentioned below - 



Application Awareness in ESB

  • Service Virtualization
  • Improved Manageability - all the things below can be managed centrally
    • style sheets
    • security
    • caching
    • routing 
  • Monitoring and Managing messages as they flow on the bus
  • Routing messages 
  • Converting Protocols
  • Transformation
  • Securing messages
  • Providing connectivity to application services via open and propriety interfaces



Monitoring & Managing - log information about arrival path, contents of the msg based on filters
  • ESB general monitoring
    • track messages as they flow through the Enterprise - determine where time and resources are being spent
    • remote monitoring of Datapower appliances - using SNMP, WSDM, WS-Management and proprietary SOAP API.
    • for end to end monitoring for the ESB as well as the services is to - integrate Enterprise Monitoring software through std protocols like SNMP and ARM - like ITCAM for SOA

  • ESB service level management (SLA) via monitoring - this is one of the most important 
    • throttle (reject) and shape(delay) traffic based on patterns below
      • Prioritization
      • Count Monitors
      • Duration Monitors
    • protects the backend application resources when.
      • application latency reaches a threshold
      • processing latency reaches a threshold



Routing - is required the 2 reasons mentioned below
  • Quality of Service - able to prioritize some message based on the the SLA
  • Support of specific functionality or affinity - 
    • some functionality provided in a particular version
    • session may exist on a particular destination - requiring affinity based routing
  • Different types of Routing
    • Content based routing
    • Context based routing
    • Aggregation and Disaggregation

Protocol Conversion -
  • need to move messages from one protocol to another
  • web based scenario's are asynchronous, but back end systems are transaction oriented and want it to be synchronous. So state management responsibility is also there for the mediator.
  • if Websphere ESB is used - to convert protocol and transform and route message - it in general degrades performance

Message Transformation -

  • XML-to-XML Transformations 
  • HTML/SOAP to XML Transformations
  • Binary Transformations
  • Content Enrichment and Filtering


Securing Messages -

  • Though it has a large set of Security services - but a fairly small set of Services should be available for an ESB
    • Support for standard WS-Security protocols as defined in the WS-I Basic Security Profile  
    • Support for credential mapping across multiple protocols and transports  
    • AAA

Connectivity -







References:

Datapower Architectural Design Patterns - Integrating and Securing Services Across Domains - http://www.redbooks.ibm.com/redbooks/pdfs/sg247620.pdf

What are the three possible placement of Datapower in an ESB scenario? (114/285 technotes for 2015)



Architecturally Datapower can be placed in the three possible places in the Enterprise Infrastructure

  • Standard ESB - basically used as an ESB
  • ESB Federated Gateway
  • DMZ Gateway - at the edge of the ESB

Standard ESB


ESB Federated Gateway
DMZ Gateway














Wednesday, September 23, 2015

What is a DMZ? (113/295 technotes for 2015)



In computer security, a DMZ or demilitarized zone (sometimes referred to as a perimeter network) is a 
  • physical or logical subnetwork that 
  • contains and exposes an organization's external-facing services to a larger and untrusted network, usually the Internet.




References:

How can Datapower be used as an ESB? (112/285 technotes for 2015)

Datapower can be considered as an ESB since - 

    • supports - abstraction using the proxy architecture
    • highly message oriented - with support for SOAP, raw XML and ther formats
    • has full Web Services support
    • Is network aware - residing between application layer and network - with support for 
      • routing, msg filter, transformation etc
    • Also 
      • has a surprisingly small footprint
      • built from the ground up to be network aware.

Tuesday, June 30, 2015

Datapower Setup in VMWare Workstation (91/285 technotes for 2015)

  • Download the “idg7104.vmware_deved.ova” file (Datapower virtual appliance file) from the IBM Passport Advantage site.
  • Download the VMWare Workstation 11 from http://vmw.re/1FsfizF
  • Start VMWare Workstation - File–> Open –> 

    “idg7104.vmware_deved.ova”

  • Once the import is complete - start the appliance 
    • If required adjust the number of processors and memory Datapower uses.


Static IP:

Do you want to install Wizard? y

Step1:
Do you want to Configure network interfaces? y
Do you have this information? y
Do you want to configure the eth0 interface? y
Do you want to enable DHCP? n
Enter the IPv4 address for the interface in CIDR notation: 10.0.0.124/24
Enter the IPv4 address for the default gateway: 10.0.0.1
Do you want to configure the eth1 interface? n
Do you want to configure the eth2 interface? n
Do you want to configure the eth3 interface? n

Step2: Do you want to configure network interfaces? y
Do you want to configure DNS? y
Enter the IP Address of the DNS Server: 10.0.0.1 (this is the ip address of my default gateway)

Step3: Do you want to define a unique system identifier? y
Enter a unique system identifier: data123

Step 4 - Do you want to configure remote management access? y
Do you want to enable SSH? y
Enter the local IP address : 10.0.0.124 (this is the static ip for the DP)
Enter the port number: 22

Do you want to enable WebGUI access? y
Enter the local IP address : 10.0.0.124 (this is the static ip for the DP)
Enter the port number : 9090

Step5-7 - no

Saved the configuration

Post Installation:
Now goto internet browser and type the url

https://10.0.0.124:9090/login.xml?session=false

DHCP:

Do you want to install Wizard? y

Step1:
Do you want to Configure network interfaces? y
Do you have this information? y
Do you want to configure the eth0 interface? y
Do you want to enable DHCP? y
Do you want to configure the eth1 interface? n
Do you want to configure the eth2 interface? n
Do you want to configure the eth3 interface? n

Step2: Do you want to configure network interfaces? y
Do you want to configure DNS? n

Step3: Do you want to define a unique system identifier? y
Enter a unique system identifier: data767

Step 4 - Do you want to configure remote management access? y
Do you want to enable SSH? y
Enter the local IP address : 0.0.0.0 (this is the default ip)
Enter the port number: 22

Do you want to enable WebGUI access? y
Enter the local IP address : 0.0.0.0 (this is the default ip)
Enter the port number : 9090

Step5-7 - no

Saved the configuration

Post Installation:

cmd -> show int
this will give the ip address

Now goto internet browser and type the url

https://10.0.0.16:9090
If there is any issue with the DP Portal not working, login to CLI and type the command below

→ show int

If you dont see the ip address for eth0, type the commands below

→ co
→ ethe eth0
→ show

Check if the above value of ip-config-mode is static / dhcp. If static, set it to dhcp

→ ip-config-mode dhcp
→ exit
→ write mem
→ exit
→ show int