Skip to main content

Complete Tutorial:Step By Step Configuration of Oracle SOA Cloud.

Hello Every one,

Recently i got an opportunity to learn Oracle Cloud for SOA 12C, With using Oracle Cloud you don't required any IT team who will take care of your server and need to manage them. With new Oracle SOA cloud you just need to maintenance your SOA service.
Let us start how to configure Oracle SOA Cloud.
What is Oracle SOA Cloud????
Ref @Oracle Documentation....
Oracle SOA Cloud Service provides an iPaaS computing platform solution for running integration platform applications in the cloud. The following service types are available for provisioning:
  • Oracle Service Bus is a configuration-based, policy-driven enterprise service bus that provides capabilities for service discovery and mediation, rapid service provisioning and deployment, and governance.
  • Oracle Service Bus is a configuration-based, policy-driven enterprise service bus that provides capabilities for service discovery and mediation, rapid service provisioning and deployment, and governance.
  • Oracle Managed File Transfer Cloud Service securely exchanges files between internal departments and external partners.
  • Oracle API Manager facilitates the creation of APIs that expose the functionality of back-end systems or other services. These APIs are published for use by application developers and are managed and monitored at runtime.
You have complete and unrestricted administrative access to your application environment in the cloud.
Oracle Cloud following components over Cloud:
•Oracle Database Cloud Service—Oracle SOA Cloud Service requires that you first subscribe to Oracle Database Cloud Service. You run a provisioning wizard to select an Oracle database instance and node cluster environment. The database is securely hosted in the cloud.
• Oracle Messaging Cloud Service—Provides a messaging system for applications to communicate reliably with each other, letting you share information across multiple applications through asynchronous queuing of messages. 
• Oracle Integration Cloud Service—Enables you to get the benefit of our newest iPaaS tool completely designed for cloud integration with an easy-to-use web-based UI experience. When you use it in conjunction with Oracle SOA Cloud Service, you have the most complete iPaaS in the world!
• Oracle Java Cloud Service—Provides a standards-based cloud environment built around Oracle WebLogic Server 12c.
• Oracle Developer Cloud Service—Enables you to manage the development life cycle effectively through integration with Hudson, a Git source code repository, Maven, tasks, and wikis.
• Oracle Storage Cloud Service—Your Oracle SOA Cloud Service backups are stored in Oracle Storage Cloud Service as a built-in function. 

Preparation
Before you can request provisioning of a SOA CS instance, you need to have gone through some preparations (also see: https://docs.oracle.com/cloud/latest/soacs_gs/CSBCS/GUID-544C682A-6ECB-499F-9A9D-DFFF522F1AB7.htm#CSBCS-GUID-544C682A-6ECB-499F-9A9D-DFFF522F1AB7):
  • you need a (trial) subscription to SOA CS
  • you need a running DBaaS instance – a database instance that will host the SOA Infra schema, the MDS schema and other SOA Suite components
  • you need a (trial) subscription to Storage Cloud Service and you need to prepare a storage container on this service – to host the back ups of the SOA CS instance
  • you need to have prepared an SSH public/private key pair (which you also need to do for the DBaaS instance) and have access to the public key
Once you have done with trial account request and Oracle approve it, They will send you a mail with you service dashboard URL and other details related to your domain.
Go to My Service Console by Clicking on URL of My Service received in Mail sent by oracle.
Oracle Database Cloud Service, You need it because SOA use RCU, Cloud will create MDS in cloud DB it self.
Oracle SOA Cloud Service uses Oracle Database Cloud Service to host the Oracle Fusion Middleware component schemas required by Oracle Java Required Files (JRF). Make sure you have a subscription to Oracle Database Cloud Service (Database as a Service), NOT Oracle Database Cloud Service (Database Schema).
In your Oracle Database Cloud Service, you need to create a service instance using the standard service level. If you use an Oracle Real Application Clusters (RAC) database, you will need to create a Database Cloud Service instance using the standard service level and the database edition called Enterprise Edition - Extreme Performance. For information about subscribing to Oracle Database Cloud Service, provisioning Database Cloud Service instances, and using Oracle RAC in Database as a Service.
One of the platform offerings in the Oracle Public Cloud is the SOA Cloud Service. This service offers various flavors of SOA Suite 12c (Service Bus, SOA Suite, Technology Adapters) and API Manager 12c, automatically provisioned on the cloud. This service builds on top of a pre-existing DBaaS instance and Storage CS container and implicitly creates a JCS instance and several compute nodes on IaaS Compute CS – as shown in the figure to the right.
With this step you need to create a Cloud Storage Container, You can create it seprately but it will be good if you will create it from here only, You need to check the check box under "Password" Text box.
Here you need to also provide SSH public key, Click on Edit button, it will open a pop up then you can choose last option which is create new SSH key, just go on. These new created SSH keys will be later used in SOA instance creation.
After DB will be in active state, you just need to start it.
You can check status in activity console, weather DB has been started or not.
Changes access Rule so you can access DB on public IP:
Enable All Rules:

Access to Database Instance from SQL Developer

One of the Network Security Rules enabled on the Compute Cloud node is for port 1521, the port used for SQL*Net access. Because we have enabled that rule and therefore this port, we can create a very simple and direct connection from SQL Developer to the DBaaS instance.

Access to Database Instance via Web Consoles


When you click on the Open DBaaS Monitor Console option in the menu, you will be prompted with an authentication dialog. The username to use is dbaas_monitor. For the password, use the password that was specified (for SYS/SYSTEM) when your database instance was created.
The initial login to APEX can be a little tricky. The Workspace to use is INTERNAL. The username is ADMIN. For the password, use the password that was specified (for SYS/SYSTEM) when your database instance was created.
Now we have done with Data base creation and Data base testing, We can test Storage Cloud with CURL command, If you want to test with it, Else you can check with Cloud Storage whether new backup folder is created or not.
SOA Instance Creation:
You need to select public key which was generated at the time of DB creation, Select that key and provide basic details.
In this screen you need to select your new created DB and provide admin user and password, Also you need to provide storage details, in my case storage container name is same as DB storage.


See progress of instance creation below:
It's done, when instance will be created you can use it with there public IP.



Known Issue: When you will try to create a new SOA instance, and provide storage container details then it will generate error on it. For same you need to create one more user whom you will give storage administrator access , Create a user name of that user.

Extra Notes For Accessing resources out of CLOUD
Request an authentication token by running the following cURL command:
curl -v -s -X GET -H "X-Storage-User: Storage-domain name:LOGIN EMAIL ID" -H "X-Storage-Pass: LOGINPASSWORD" https://domainname.storage.oraclecloud.com/auth/v1.0
you will receive a response from CURL command, Use below details from command response.
< HTTP/1.1 200 OK
< date: 1493700966654
< X-Auth-Token: AUTH_TokenValue from CURL
< X-Storage-Token: AUTH_tk43c502939cd956af8d48680c4636a2a2
< X-Storage-Url: https://uscom-central-1.storage.oraclecloud.com/v1/Storage-domainname
Execute next CURL command:
curl -v -s -X GET -H "X-Auth-Token:AUTH_TokenValue from CURL" X-Storage-Url/foldername
it will return you a response with list of file that are available in your storage cloud.
Connect with your VM on Putty:
a.   Launch PuTTY.
The PuTTY Configuration window is displayed, showing the Session panel.
b.   In the Host Name (or IP address) field, enter the public IP address of the VM.
c.    In the Category tree, expand Connection if necessary and then click Data.
d.   In the Auto-login username field, enter opc.
e.   Confirm that the When username is not specified option is set to Prompt.
f.     In the Category tree, expand Connection > SSH, and then click Auth.
g.   Under Private key file for authentication, click Browse.
h.   Navigate to and select your private key file. Then click Open.
If you have any query, Post me!! Happy clouding!!!

Comments

Post a Comment

Popular posts from this blog

Oracle SOA 12C rest adapter with Custom HTTP headers

Most existing web applications are connected through web services, which are commonly known as SOAP services. More and more users are relying on mobile devices for communication, and they’re looking for lighter ways to access enterprise information on the go. REST services are the answer for the mobile device platform, because they get rapid responses and fast access to data. Oracle SOA Suite 12 c  provides a complete set of service infrastructure components for designing, deploying, and managing composite applications. Oracle SOA Suite 12 c  enables services to be created, managed, and orchestrated into composite applications and business processes. Some time we have need to send HTTP headers in REST service, In OSB we use header component and add what ever is needed but in oracle SOA 12C it's little bit different. Let see how we can do it. Create one SOA Application. Create one SOA Sample project inside SOA Application. Go to composite and drag drop REST adapt

Dynamic Routing in OSB 12C

Dynamic Routing in OSB cab be used when the BusinessService endpoint required to be determine at runtime in message flow. Consider a scenario where OSB has to route the incoming requests to 2 different services based on the CustomerType element value sent in the payload. So create a XQuery resource with the following contents. Observe that we are using the absolute path of business service in configuration as required by dynamic routing. Following is the XML schema that we use:>>  Customer.xsd <?xml version="1.0" encoding="windows-1252" ?> <xsd:schema targetNamespace="http://xmlns.oracle.com/schema/Customer" xmlns:xsd="http://www.w3.org/2001/XMLSchema"             xmlns:ns1="http://xmlns.oracle.com/schema/Customer">   <xsd:complexType name="Customer">     <xsd:sequence>       <xsd:element name="CustomerId" type="xsd:string"/>       <xsd:elemen

Swagger API document from Any WADL & Schema in Oracle SOA

Hi everyone, Hope everyone is doing well these days, Recently i started a project work over how to generate swagger API document for your any REST API, In case if you don't know what is swagger please go and check " https://swagger.io/tools/swagger-editor/ ". It's a great and easy to use tool which will help to create user friendly, human readable form API documentation with extension for generating API client in different languages with capability of testing your API from same. What is swagger editor, Design, describe, and document your API on the first open source editor fully dedicated to OpenAPI-based APIs. The Swagger Editor is great for quickly getting started with the OpenAPI (formerly known as the Swagger Specification) specification, with support for Swagger 2.0 and OpenAPI 3.0.  What benefits you will get by using swagger, Runs Anywhere, The Editor works in any development environment, be it locally or in the web. Smart Feedback, Validate you