Thursday, 1 June 2017

Oracle CLOUD Concepts-Public Cloud,Private Cloud,Saas,Paas

What Is Cloud ?



The cloud is a metaphor for the Internet. In very simplistic terms, cloud computing means that your Microsoft Office 365 applications or software, data, and computing needs are accessed, stored, and occur over the Internet or the cloud.

Perhaps one of the best ways to illustrate the concept of cloud computing is through the story of how Saleforce grew from a start-up in a rented apartment to the world’s fastest growing software company in less than a decade.

Marc Benioff describes how he saw an opportunity to deliver business software applications in a new way. He wanted to make software simpler to use without the complexities of installation, maintenance, and constant upgrades. His vision was to sell software as a service.

Companies would pay a monthly fee, per user, only for those services they used delivered via the Internet. The idea was to host the software on a website and for it to be available to companies anytime, anywhere.


Simply put, cloud computing is the delivery of computing services—servers, storage, databases, networking, software, analytics and more—over the Internet (“the cloud”). Companies offering these computing services are called cloud providers and typically charge for cloud computing services based on usage, similar to how you are billed for water or electricity at home.




What Is Public Cloud ?



Public clouds are owned and operated by a third-party cloud service provider, which deliver their computing resources like servers and storage over the Internet. Microsoft Azure is an example of a public cloud. With a public cloud, all hardware, software and other supporting infrastructure is owned and managed by the cloud provider. You access these services and manage your account using a web browser.

Another example -

Salesforce started as Software as a Service (SAAS) CRM company. Salesforce now provides various software solutions and a platform for users and developers to develop and distribute custom software.



What is a Private Cloud?

A private cloud is a particular model of cloud computing that involves a distinct and secure cloud based environment in which only the specified client can operate. As with other cloud models, private clouds will provide computing power as a service within a virtualised environment using an underlying pool of physical computing resource. However, under the private cloud model, the cloud (the pool of resource) is only accessible by a single organisation providing that organisation with greater control and privacy.



What Is Hybrid Cloud ?

Hybrid cloud is a cloud computing environment which uses a mix of on-premises, private cloud and third-party, public cloud services with orchestration between the two platforms.



What Is Saas?

Software as a service (or SaaS) is a way of delivering applications over the Internet—as a service. Instead of installing and maintaining software, you simply access it via the Internet, freeing yourself from complex software and hardware management.

SaaS applications are sometimes called Web-based software, on-demand software, or hosted software. Whatever the name, SaaS applications run on a SaaS provider’s servers. The provider manages access to the application, including security, availability, and performance.


Advantage-

SaaS customers have no hardware or software to buy, install, maintain, or update. Access to applications is easy: You just need an Internet connection.


A multitenant architecture, in which all users and applications share a single, common infrastructure and code base that is centrally maintained. Because SaaS vendor clients are all on the same infrastructure and code base, vendors can innovate more quickly and save the valuable development time previously spent on maintaining numerous versions of outdated code.


Improved access to data from any networked device while making it easier to manage privileges, monitor data use, and ensure everyone sees the same information at the same time.


What is Paas?


Issues -

Building and running on-premise applications has always been complex, expensive, and slow. Each application required hardware, an operating system, a database, middleware, Web servers, and other software. Once the stack was assembled, a team of developers had to navigate frameworks like J2EE and .NET. A team of network, database, and system management experts was needed to keep everything up and running..


PaaS provides all the infrastructure needed to develop and run applications over the Internet. Users can access custom apps built in the cloud, just like their SaaS apps, while IT departments and ISVs can focus on innovation instead of complex infrastructure.


Example - IBM Bluemix is a cloud platform as a service (PaaS) developed by IBM. It supports several programming languages and services as well as integrated DevOps to build, run, deploy and manage applications on the cloud.

Other Example -Windows AzureHerokuForce.comGoogle App Engine.




What is Iaas?



Infrastructure as a service (IaaS) is an instant computing infrastructure, provisioned and managed over the Internet. Quickly scale up and down with demand and pay only for what you use.
IaaS helps you avoid the expense and complexity of buying and managing your own physical servers and other datacenter infrastructure. Each resource is offered as a separate service component and you only need to rent a particular one for as long as you need it. The cloud computing service provider manages the infrastructure, while you purchase, install, configure and manage your own software—operating systems, middleware and applications.


Typical things businesses do with IaaS include:
Test and development. Teams can quickly set up and dismantle test and development environments, bringing new applications to market faster. IaaS makes it quick and economical to scale up dev-test environments up and down.
Website hosting. Running websites using IaaS can be less expensive than traditional web hosting.
Storage, backup and recovery. Organisations avoid the capital outlay for storage and complexity of storage management, which typically requires a skilled staff to manage data and meet legal and compliance requirements. IaaS is useful for handling unpredictable demand and steadily growing storage needs. It can also simplify planning and management of backup and recovery systems.
Web apps. IaaS provides all the infrastructure to support web apps, including storage, web and application servers and networking resources. Organisations can quickly deploy web apps on IaaS and easily scale infrastructure up and down when demand for the apps is unpredictable.
High-performance computing. High-performance computing (HPC) on supercomputers, computer grids or computer clusters helps solve complex problems involving millions of variables or calculations. Examples include earthquake and protein folding simulations, climate and weather predictions, financial modeling and evaluating product designs.



Excellent Video -- 


https://www.youtube.com/watch?v=A00bQ6UqV20&feature=youtu.be




Platform Differences Between the Cloud and On-Premises Environments


This table describes high-level differences between running Oracle SOA in the cloud and on-premises environments.
Oracle SOA Cloud ServiceOracle SOA Suite On-Premises
Available by subscription.
You install Oracle SOA Suite on your own hardware.
Provisioning of Oracle SOA Cloud Service automatically includes Oracle Java Cloud Service, which provides an Oracle WebLogic Server domain.
You create the complete domain.
Oracle SOA Cloud Service provides OPC-based backup services.
You must develop your own archival infrastructure.
During Oracle SOA Cloud Service provisioning, you select the database (Oracle Database Cloud Service) to use.
Note: You must provision Oracle Database Cloud Service prior to provisioning Oracle SOA Cloud Service.
You must install a database.
High availability functionality is provided by default using a virtual machine restart.
You must set up an environment based on your high availability requirements.
Load balancing is provided by the built-in Oracle Traffic Director.
Oracle HTTP Server serves as the load balancer.
Application deployment directly from Oracle JDeveloper to the cloud is not supported. You must use one of the deployment mechanisms described in Deploying and Undeploying Applications for an Oracle SOA Cloud Service Instance.
Applications can be deployed directly from Oracle JDevelope




Metered Vs Non Metered Cloud Services -




Metered Services are a Pre-paid offering, also referred to as "a-la-carte" or "committed" offerings. A Metered cloud service like Java Cloud Service (JCS) or Database Cloud Service (DBCS) is where you are charged based on the actual usage of the service resources on an hourly or monthly basis. A Metered service allows the customer to select resource configurations for a service and virtually any volume or capacity to meet their requirements. For instance, you can select the number of Oracle Compute Processor Units (OCPUs) or the amount of memory. Customers can change their service capacity as needed and that will increase/decrease their bill



Non-metered Services are a subscription based offering, also referred to as "standard subscription" or "un-committed" offerings.  A Non-metered service is essentially a monthly or annual subscription for a fixed service configuration which you typically cannot change. If a service is Non-metered it means that we sell it in well-known sizes or fixed configurations, let's say small, medium and large, and Oracle does not measure whether the entire capacity is used or not. A Non-metered subscription has a fixed monthly charge. While you can stop a service instance to take the service offline for a few hours or days within a month, charging does not stop, and your service will be charged for the entire month


What is Elastic Computing ?

Elastic computing is a concept in cloud computing in which computing resources can be scaled up and down easily by the cloud service provider. Elastic computingis the ability of a cloud service provider to provision flexible computing power when and wherever required

The elasticity of these resources can be in terms of processing power, storage, bandwidth, etc.


the resources are elastic in nature, i.e. they can be easily scaled depending upon the underlying resource requirements on run time without even disrupting the operations and this ability is known as elastic computing. On a small scale this is done manually, but for larger installations, the scaling is automatic. For example, a larger provider of online video could setup a system so that the number of webservers online scaled during peak viewing hours.


What is Single Tenant Enviorment?


In the cloud single tenant environment is a host machine dedicated entirely to a single customer whereas multi tenant environment is a host machine in a virtual machine model that hosts multiple customers.  


Factors Asked when providing service to customers for their org needs ---



»»Available CPU sizes: How much processing power
do your applications and workloads require?


»»Metered vs. unmetered pricing: Do you need a
“pay-as-you-go” option or the option to pay


Single tenant or multitenant: Do your security
and compliance requirements necessitate
infrastructure that is dedicated solely to your
organization?

»»Migration of KVM/VMware workloads: Do you
need to migrate KVM/VMware dev/test or demo
workloads off premises?

»»Hosted on-premises: Do you need an entire rack
of dedicated hardware (fully managed and
serviced) in your own data center?

»»Support for containers: Are your developers
actively writing next-generation applications
utilizing Docker as their primary container?





Oracle Bare Metal Cloud Service -

Oracle Bare Metal Cloud Services is a set of complementary cloud services that enable you to build and run a wide range of applications and services in a highly-available hosted environment. Oracle Bare Metal Cloud Services offers high-performance compute capabilities (as physical hardware instances) and storage capacity in a flexible overlay virtual network that is securely accessible from your on-premises network.













Friday, 30 September 2016

Error in listing files in the remote directory. Unable to list file in remote directory. ; nested exception is: BINDING.JCA-11430

Many times when you are working with mft transfers  might see below mentioned error :


operation 'FileListing' failed due to: Error in listing files in the remote directory. Error in listing files in the remote directory. Unable to list file in remote directory. ; nested exception is: BINDING.JCA-11430 Error in listing files in the remote directory. Error in listing files in the remote directory. Unable to list file in remote directory. Please make sure that the ftp server settings are correct. ]





Resolution to this problem is very simple.It occurs when your sftp remote path is incorrect in mft,it might happen you  have added extra '/' or need to remove some '/' .Best is to touch base with your target partner functional/technical team and understand how is their file system.


For mine i was putting like : /x/y/z and was throwing above error.

But it works like this : x/y/z.


Hope it helps.




Sunday, 25 September 2016

Oracle 12c New Features

Oracle has released SOA Suite 12c and lots of new features are introduced in this release. Below is list of some of the new features.

Single Installer: Oracle Suite 12c comes as single installer for developers that means you only need to install only one setup (SOA Suite 12c), DB/Weblogic/SOA will get installed, you need to install it separately. Oracle SOA 12c use Java Derby database, which is file based and that makes it really fast.


Single IDE: In Oracle SOA 12c Jdeveloper is used as IDE for all designs. For OSB development we need not to use different IDE (Eclipse) anymore, we can develop OSB application in Jdeveloper itself.

Debugger: This is new feature in Oracle SOA 12c, debugger is introduced to debug SOA and OSB applications. With the help of debugger we can debug our code before deploying it; this saves lot of development efforts. We can also change message text while debugging it.

Graphical MDS: In Oracle SOA 12c graphical tool is provided to publish, search and consume filed from MDS and OER.

SOA Templates: With the introduction of templates sharing of code between teams become earlier and development efforts reduced. There are three types of templates introduced.
  • Project Template
  • Component Template
  • Custom Activity Template

BPEL Sub-process: Sub-process is introduced in this launch which helps to reduce redundancy. Suppose we need to update database table 3 times in one flow so instead of add 3 different invoke to same BPEL, create sub-process which update the database table and use that sub-process 3 times in that BPEL. There are two types of sub-processes.
  • Standalone sub-process
  • Inline sub-process

Re-sequencing in OSB: In 11g this feature was available in Mediator, in Oracle SOA 12c this features added to service bus also, with the help of this feature we able to process the request message in proper sequence.


Adapter: Coherence, LDAP and cloud adapter are introduced in this release.


Xquery Mapper: In this release Xquery mapper is introduced which provide XQuery support.

Enterprise Service Scheduler: ESS is out of box scheduler. By using this we can schedule the services.

Translate Activity Translate activity is also introduced which is used for Native to XML and XML to Native transformation.

MDS support for OSB: In 11g version MDS support was not there for OSB but in 12c MDS support is provided for OSB.







Saturday, 4 June 2016

Installation Steps(Oracle API Gateway)-OAG Policy Studio Installation


1)       Download the OAG installable for windows.
Version : 11.1.2.4.0



2.       Once downloaded, run the installable file and below popup will come and in that core server wil be selected by default and u need to select the policy studio also.




































3.       Mention the installable directory




















4.       Mention the username and password of your choice and select "no" as shown below

















5.Select "no " and click next











6) Again select no and wait for installation to get completed




7)Wait for the node manager to get installed


8)Once installed you can see  below page and start using OAG









Oracle Api Gateway

Oracle API Gateway : accelerates ,governs,secures,web api and SOA based systems.
 
Serves rest API and Soap Web services to client.

  1. Converts REST to Soap
  2. Converts XML to Jason
  3. Supports other protocols also - FTP,SFTP,FTPS,TIBCO Rendezvous and EMS,JMS.
  4. Caching and traffic management
  5. Monitoring of API and service usage.
  6. Content filtering.
  7. Authentication : O auth,certificate auth,HTTP auth,WS Security.



      Basic Architecture (Image 1) :
   
 





      Basic Architecture (Image 2) :
















What It Does?

a) OAG is installed in the RED Zone.t’s a software appliance that can provide application-level routing (base on source, on destination, sender’s identity and XML content); it can do XML conversion and XML Validation or scan incoming message for any known threats, provide XML acceleration to save on performance on processing heavy payload. It provides decent level of monitoring and altering feature to its administrator.


b) OAG’s main purpose is to provide the “First Line Of Defense” by filtering out malformed message, xml bombs, XML Denial of service (XML DoS), SQL injection, XPATH Injection from the external consumer. Once the message is filtered , the message is then forwarded to the GREEN Zone which is the last security. After entering the GREEN Zone the message is Authenticated, Authorized and Audited by OWSM before it’s delivered to the backend web service for processing.


c) OAG can virtualize a web services location, thereby hiding its real location and implementation details from its external consumers keeping it safe from attacks. OAG provide various inbuilt Out-of-the-Box filters that can be implemented in message circuit to filter external messages from threats. It can throttle the inbound message flow.





Oracle API Gateway Installation :


Oracle API Gateway has three distinct components :


a)Oracle API gateway:

 It is a standalone software platform that does not run on WebLogic and should be deployed in your DMZ to guard against external threats such as Denial of Service (DOS) attacks, injection and malicious  code (like SQL or XPath injection), confidentiality integrity (like sniffing and parameter tampering), reconnaissance attacks (like directory reversal) and privilege escalation attacks (like race conditions and buffer overflow).



 























b)Oracle API gateway Studio:

 Along with the API Gateway Manager  this is perhaps the most important tool that Oracle API Gateway provides.  It is a graphical tool used to virtualize APIs and develop policies in a flow-chart style with a drag and drop UI that should be familiar to anyone who has worked with Service Bus or SOA Suite.




 













c)Oracle API gateway Analytics:
 
   This web-based console provides the ability to monitor and report on all API Gateways in the domain over an extended time period.  It can help administrators to analyze what APIs are used, how often APIs are used, when APIs are used, and who is using APIs.  It can also schedule reports in PDF format to be emailed to specific users.




















Saturday, 30 April 2016

How To Import SOA Composite Into JDEV



Open Jdev, File --> Import --> SOA Archive into SOA Project
























Provide an appropriate project name




















Import the jar file and finish





















This will import all the project resources from the jar file into your current project