tag:blogger.com,1999:blog-69749006995392238942024-03-08T13:15:49.604-06:00Zeeshan Baig's BlogAll about TechnologyZeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.comBlogger174125tag:blogger.com,1999:blog-6974900699539223894.post-38059556016614624022020-02-13T23:08:00.001-06:002020-02-13T23:08:41.432-06:00This blog is no longer active<div dir="ltr" style="text-align: left;" trbidi="on">
Hi,<br />
<br />
Thanks for continuing visiting this blog I hope you still find relevant info. It is very difficult for me to keep all different blog sites up to date from now on I will publish only to my <a href="https://medium.com/@zeebaig" target="_blank">Medium</a> focusing on modern Cloud-based technologies.<br />
<br />
Please <a href="https://medium.com/@zeebaig" target="_blank">follow me on Medium</a> and <a href="https://www.youtube.com/datanextsolutions" target="_blank">Subscribe to my YouTube channel</a> lot of cool stuff is coming this year<br />
<br />
Thanks,<br />
Zeeshan Baig<br />
<br /></div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-33486893306755068152018-06-21T10:07:00.002-05:002018-06-21T10:07:48.139-05:00Using NAT Gateways in Amazon AWS<div dir="ltr" style="text-align: left;" trbidi="on">
<br /><div class="separator" style="clear: both; text-align: center;">
<a href="https://datanextsolutions.com/blog/using-nat-gateways-in-aws/" target="_blank"><img border="0" data-original-height="612" data-original-width="1600" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg_7i2MSjDbgnIucFWQR154Nd-Po8sddVWk3FfeajW_N4IQoqhrMqlntjCA2XEKukNJdfuKH_e3-Wo_A2iXNIZjX9hKPXwxJS01lDDrIxQakvOYLN8U1hHj3P_oO5wOEhKGbPYPTs3yppk/s640/nat-gateway.jpg" width="640" /></a></div>
<h3 style="text-align: left;">
<br /></h3>
<h3 style="text-align: left;">
Overview</h3>
<br />In AWS you can design your own network using VPC (Virtual Private Cloud). You can assign your own IP address ranges and split your network into Public and Private Subnets. In simple words, Public Subnet is like Green Zone where traffic from the internet is allowed while Private Subnet is DMZ where no direct internet access is allowed.<br /><br /><div>
<h3 style="text-align: left;">
Problem</h3>
<br />So what if we need to install/update/upgrade software, utilities or OS on EC2 Instances running in a private subnet? one option is to manually FTP to the box and install it but sometimes is not feasible.<br /><br />For scenarios like these AWS provides us NAT Gateways (previously NAT Instances which are going to obsolete soon).<br /><br />Let’s see how to setup NAT Gateways in your VPC<br /><h3 style="text-align: left;">
<br /></h3>
<h3 style="text-align: left;">
Solution</h3>
<br />To configure NAT gateway follow these steps<br /><ol style="text-align: left;">
<li>Make sure you have Internet Gateway route defined in Routing Table</li>
<li>Get the Public Subnet ID where your NAT gateway would be deployed</li>
<li>Create NAT Gateway</li>
<li>Test the Internet connectivity</li>
</ol>
</div>
<div>
<b>For detail solution with screenshots check my posts on <a href="https://datanextsolutions.com/blog/using-nat-gateways-in-aws/" target="_blank">DataNext Blog</a> and <a href="https://medium.com/@zeebaig/using-nat-gateways-in-aws-455f88887143" target="_blank">Medium.com</a> </b></div>
<div>
<br /></div>
<div>
<h4 style="text-align: left;">
<a href="https://datanextsolutions.com/blog/using-nat-gateways-in-aws/" target="_blank">DataNext Blog Using NAT Gateways in AWS </a></h4>
<h4 style="text-align: left;">
<br /><a href="https://medium.com/@zeebaig/using-nat-gateways-in-aws-455f88887143" target="_blank">Medium Blog Using NAT Gateways in AWS </a></h4>
<div>
<br /></div>
<div>
<a href="https://twitter.com/IamZeeshanBaig" target="_blank">@IamZeeshanBaig</a></div>
<div>
<br /><h3 style="text-align: left;">
About DataNext</h3>
<b><div>
<b><br /></b></div>
DataNext Solutions</b> is US based system integrator, specialized in Cloud, Big Data, DevOps technologies. As a registered AWS partner, our services comprise any Cloud Migration, Cost optimization, Integration, Security and Managed Services. <a href="http://bookings.datanextsolutions.com/">Click here and Book</a> Free assessment call with our experts today or visit our website <a href="https://www.datanextsolutions.com/">www.datanextsolutions.com</a> for more info.</div>
</div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-91891991297883420962018-05-23T09:57:00.001-05:002018-05-23T09:57:33.341-05:00How to setup AWS S3 Remote Backend in Terraform<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://datanextsolutions.com/blog/terraform-using-aws-s3-remote-backend/" target="_blank"><img border="0" data-original-height="612" data-original-width="1600" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrOMknJMtzEvy0UaLiBAPMBkpxQK7pkIjO6_9WPRWIjcv2h-vTYneuHcleioFT8-3FWS58DISOW1pEQBseFnb5enIKH9dm9vbwRV4xoQjA-ZkKo6N0S0GA9mM6JK02GAefJa5Vc2KztU0/s640/s3-remote-backend.jpg" width="640" /></a></div>
<h3 class="graf graf--h3 graf-after--figure" id="b183" name="b183" style="--baseline-multiplier: 0.22; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-sans-serif-font, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif; font-size: 34px; letter-spacing: -0.015em; line-height: 1.15; margin: 53px 0px 0px -2.13px;">
Overview</h3>
<div class="graf graf--p graf-after--h3" id="e2e1" name="e2e1" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 8px;">
These days <span class="markup--strong markup--p-strong" style="font-weight: 700;">Terraform</span> is the industry’s go-to tool for Infrastructure automation. Terraform allows you to write <span class="markup--strong markup--p-strong" style="font-weight: 700;">infrastructure as a code</span>, which you can manage via source control and one of many benefits is that you can keep track of the changes of your infrastructure (which is a nightmare for any organization).</div>
<div class="graf graf--p graf-after--p" id="53cd" name="53cd" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 29px;">
How Terraform keep track of the changes in your environment? it creates a <span class="markup--strong markup--p-strong" style="font-weight: 700;">terraform.tfstate</span> file on a local filesystem. TF state file is simply a small database of the state of your environment. Whenever you run terraform plan, apply or destroy commands it reads the current state from <span class="markup--strong markup--p-strong" style="font-weight: 700;">terraform.tfstate</span>file and applies changes to it.</div>
<h3 class="graf graf--h3 graf-after--p" id="ec00" name="ec00" style="--baseline-multiplier: 0.22; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-sans-serif-font, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif; font-size: 34px; letter-spacing: -0.015em; line-height: 1.15; margin: 56px 0px 0px -2.13px;">
Problem</h3>
<div class="graf graf--p graf-after--h3" id="76b4" name="76b4" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 8px;">
<span class="markup--strong markup--p-strong" style="font-weight: 700;">The problem arrives when you are working in a team</span>. Since <span class="markup--strong markup--p-strong" style="font-weight: 700;">terraform.tfstate</span> file is created on your local file system the other developer does not have visibility to it. When any other developer executes the same scripts terraform will create a new terraform.tfstate file which would be different from the current state.</div>
<div class="graf graf--p graf-after--p" id="705c" name="705c" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 29px;">
Common solutions to this issue could be to store <span class="markup--strong markup--p-strong" style="font-weight: 700;">terraform.tfstate</span> in a source control, that might work in a small team where one person is working at a time or where you have the option of having a different account for each developer. <span class="markup--strong markup--p-strong" style="font-weight: 700;">One issue with that is also the .tfstate file could have some sensitive information</span> (such as RDS passwords) that you don’t want to upload to source control systems like GitHub.</div>
<div class="graf graf--p graf-after--p" id="1e2c" name="1e2c" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 29px;">
Another solution is to use <a class="markup--anchor markup--p-anchor" data-href="https://www.hashicorp.com/products/terraform?utm_source=oss&utm_medium=header-nav&utm_campaign=terraform" href="https://www.hashicorp.com/products/terraform?utm_source=oss&utm_medium=header-nav&utm_campaign=terraform" rel="nofollow noopener" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0.54); background-color: transparent; background-image: linear-gradient(rgba(0, 0, 0, 0.68) 50%, rgba(0, 0, 0, 0) 50%); background-position: 0px 1.07em; background-repeat: repeat-x; background-size: 2px 0.1em; outline: 0px; text-decoration-line: none;" target="_blank"><span class="markup--strong markup--p-strong" style="font-weight: 700;">Terraform enterprise solution</span></a> which comes with all bells and whistles.</div>
<div class="graf graf--p graf-after--p" id="a908" name="a908" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 29px;">
In this post, I will show you how you can solve this problem using <span class="markup--strong markup--p-strong" style="font-weight: 700;">Remote backends</span>, how can you setup Terraform to use S3 buckets to keep the state of your environment.</div>
<h3 class="graf graf--h3 graf-after--p" id="6d85" name="6d85" style="--baseline-multiplier: 0.22; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-sans-serif-font, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif; font-size: 34px; letter-spacing: -0.015em; line-height: 1.15; margin: 56px 0px 0px -2.13px;">
Remote Backends</h3>
<div class="graf graf--p graf-after--h3" id="86dc" name="86dc" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 8px;">
There are many <a class="markup--anchor markup--p-anchor" data-href="https://www.terraform.io/docs/backends/types/index.html" href="https://www.terraform.io/docs/backends/types/index.html" rel="nofollow noopener" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0.54); background-color: transparent; background-image: linear-gradient(rgba(0, 0, 0, 0.68) 50%, rgba(0, 0, 0, 0) 50%); background-position: 0px 1.07em; background-repeat: repeat-x; background-size: 2px 0.1em; outline: 0px; text-decoration-line: none;" target="_blank">types of remote backends</a> you can use with Terraform but in this post, we will cover the popular solution of using S3 buckets.</div>
<div class="graf graf--p graf-after--p" id="77b0" name="77b0" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 29px;">
Following are some benefits of using remote backends</div>
<ol class="postList" style="background-color: white; color: rgba(0, 0, 0, 0.84); counter-reset: post 0; font-family: medium-content-sans-serif-font, -apple-system, system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif; font-size: 20px; list-style: none none; margin: 29px 0px 0px; padding: 0px;">
<li class="graf graf--li graf-after--p" id="f0f1" name="f0f1" style="--baseline-multiplier: 0.17; font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 14px; margin-left: 30px;"><span class="markup--strong markup--li-strong" style="font-weight: 700;">Team Development</span> — when working in a team, remote backends can keep the state of infrastructure at a centralized location</li>
<li class="graf graf--li graf-after--li" id="abcb" name="abcb" style="--baseline-multiplier: 0.17; font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 14px; margin-left: 30px;"><span class="markup--strong markup--li-strong" style="font-weight: 700;">Sensitive Information</span> — with remote backends your sensitive information would not be stored on local disk</li>
<li class="graf graf--li graf-after--li" id="3494" name="3494" style="--baseline-multiplier: 0.17; font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-bottom: 0px; margin-left: 30px;"><span class="markup--strong markup--li-strong" style="font-weight: 700;">Remote Operations</span> — Infrastructure build could be a time-consuming task, some remote backends supports remote execution of the tasks. You can then turn off your computer and your operation will still complete. Paired with remote state storage and locking above, this also helps in team environments.</li>
</ol>
<div class="graf graf--p graf-after--li" id="db5c" name="db5c" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 29px;">
I hope that gives you enough info on remote backends, let’s dive into the solution <b>C</b><span style="background-color: transparent;"><b>lick the Image</b> or <b>visit</b> </span><a href="https://medium.com/@zeebaig/terraform-using-aws-s3-remote-backend-52ea914fcbac" style="background-color: transparent;">https://medium.com/@zeebaig/terraform-using-aws-s3-remote-backend-52ea914fcbac</a></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://medium.com/@zeebaig/terraform-using-aws-s3-remote-backend-52ea914fcbac" target="_blank"><img border="0" data-original-height="612" data-original-width="1600" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUWwSJmRkbTrv2Yna8SgXyx7h3GatF8Ndk_avHK_jKaH0N68eMx_uXDJcSiV9A3tz646Uin4YFJsqLLydfok7q8vHFVqMHPQoGem9SLv9hmbu3xIVoo4sC04fpHjIs9stOTp8n9aNoTAQ/s640/s3-remote-backend.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<h4 class="graf graf--h4 graf-after--p" id="3fbc" name="3fbc" style="--baseline-multiplier: 0.22; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-sans-serif-font, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Arial, sans-serif; font-size: 26px; letter-spacing: -0.012em; line-height: 1.22; margin: 30px 0px 0px -1.63px;">
About DataNext</h4>
<div class="graf graf--p graf-after--h4 graf--trailing" id="3653" name="3653" style="--baseline-multiplier: 0.17; background-color: white; color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, "Times New Roman", Times, serif; font-size: 21px; letter-spacing: -0.003em; line-height: 1.58; margin-top: 6px;">
<span class="markup--strong markup--p-strong" style="font-weight: 700;">DataNext Solutions</span> is US based system integrator, specialized in Cloud, Big Data, DevOps technologies. As a registered AWS partner, our services comprise of any Cloud Migration, Cost optimization, Integration, Security and Managed Services. <a class="markup--anchor markup--p-anchor" data-href="http://bookings.datanextsolutions.com/" href="http://bookings.datanextsolutions.com/" rel="nofollow noopener" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0.54); background-color: transparent; background-image: linear-gradient(rgba(0, 0, 0, 0.68) 50%, rgba(0, 0, 0, 0) 50%); background-position: 0px 1.07em; background-repeat: repeat-x; background-size: 2px 0.1em; outline: 0px; text-decoration-line: none;" target="_blank">Click here and Book</a> Free assessment call with our experts today or visit our website <a class="markup--anchor markup--p-anchor" data-href="https://www.datanextsolutions.com/" href="https://www.datanextsolutions.com/" rel="nofollow noopener" style="-webkit-tap-highlight-color: rgba(0, 0, 0, 0.54); background-color: transparent; background-image: linear-gradient(rgba(0, 0, 0, 0.68) 50%, rgba(0, 0, 0, 0) 50%); background-position: 0px 1.07em; background-repeat: repeat-x; background-size: 2px 0.1em; outline: 0px; text-decoration-line: none;" target="_blank">www.datanextsolutions.com</a> for more info.</div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-77017235249138333402018-05-17T09:47:00.002-05:002018-05-17T09:49:47.273-05:00Key Changes Under GDPR<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="graf graf--p graf--hasDropCapModel graf--hasDropCap graf-after--p" id="8d62" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://datanextsolutions.com/blog/key-changes-under-gdpr/" target="_blank"><img border="0" data-original-height="612" data-original-width="1600" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgfV1wWe9K7-zc-FqVbYvG50UufOnrNrhnqwDUitbdi-ejS4G_RN4q2VMstbV3DX6OvsqoqPmPtI5kIpZwc7aFXWMHvG-MSALg_oRK_FmJQOzm2ONrO3aXl-iSIDDUXemjbjFkdNWlGwx8/s640/key-changes-under-gdpr.jpg" width="640" /></a></div>
<span style="font-family: inherit;"><span class="graf-dropCap" style="box-sizing: border-box;"><br /></span></span>
<span style="font-family: inherit;"><span class="graf-dropCap" style="box-sizing: border-box;"><br /></span></span>
<span style="font-family: inherit;"><span class="graf-dropCap" style="box-sizing: border-box;">We </span>all probably now familiar with the term <span class="markup--strong markup--p-strong" style="box-sizing: border-box; font-weight: 700;">GDPR, </span>if not then you have probably 100s of unread emails in your inbox on updated Privacy Policy from every account you signed up for.<span class="markup--strong markup--p-strong" style="box-sizing: border-box; font-weight: 700;"> </span>The term <span class="markup--strong markup--p-strong" style="box-sizing: border-box; font-weight: 700;">GDPR </span>stands for <span class="markup--strong markup--p-strong" style="box-sizing: border-box; font-weight: 700;">General Data Protection Regulation</span>. As per <a class="markup--anchor markup--p-anchor" data-href="https://en.wikipedia.org/wiki/General_Data_Protection_Regulation" href="https://en.wikipedia.org/wiki/General_Data_Protection_Regulation" rel="nofollow noopener" style="box-sizing: border-box; outline: 0px; text-decoration-line: none;" target="_blank">Wikipedia</a>:</span></div>
<blockquote class="graf graf--blockquote graf-after--p" id="c2c0" style="background-color: white; border: 2px solid rgb(229, 229, 229); box-sizing: border-box; line-height: 1.3; margin: 1.5em 0px; padding: 1em;">
<div style="box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">The <span class="markup--strong markup--blockquote-strong" style="box-sizing: border-box; font-weight: 700;">General Data Protection Regulation (GDPR)</span> (EU) 2016/679 is a regulation in EU law on data protection and privacy for all individuals within the European Union. It also addresses the export of personal data outside the EU. The GDPR aims primarily to give control to citizens and residents over their personal data and to simplify the regulatory environment for international business by unifying the regulation within the EU.</span></div>
</blockquote>
<div class="graf graf--p graf-after--blockquote" id="9bab" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">What covers under GDPR what is not? IMO one can write the whole book about it but I will try to explain in simple terms</span></div>
<h3 style="text-align: left;">
What is GDPR?</h3>
<div class="graf graf--p graf-after--h3" id="1246" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">The personal details such as IDs, birthdays, addresses, account numbers, health records and other sensitive information are everywhere and in the hands of partners and vendors, we work with every day.</span></div>
<div class="graf graf--p graf-after--p" id="2730" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">Because all this information is out there, we as individuals have to trust the parties to handle that information securely and when they don’t handle it, the data breaches could result in inconvenience, cost time and money and hurt the reputation.</span></div>
<div class="graf graf--p graf-after--p" id="8a54" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">European Union leads the way with GDPR regulation to keep information safe and protects the rights of a real people, customers, partners around the world.</span></div>
<div class="graf graf--p graf-after--p" id="2f7c" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">Following are some key highlights</span></div>
<h3 style="text-align: left;">
Individual Rights</h3>
<div class="graf graf--p graf-after--h3" id="fad6" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">Under personal privacy section, individuals have right to</span></div>
<ol class="postList" style="background-color: white; box-sizing: border-box; margin: 0px 0px 1.5em 1.655em; padding: 0px;">
<li class="graf graf--li graf-after--p" id="55d5" style="box-sizing: border-box;"><span style="font-family: inherit;">Data Transparency</span></li>
<li class="graf graf--li graf-after--li" id="8ba0" style="box-sizing: border-box;"><span style="font-family: inherit;">Full access to data</span></li>
<li class="graf graf--li graf-after--li" id="b3a0" style="box-sizing: border-box;"><span style="font-family: inherit;">Rectification of data</span></li>
<li class="graf graf--li graf-after--li" id="596d" style="box-sizing: border-box;"><span style="font-family: inherit;">Erase personal data</span></li>
<li class="graf graf--li graf-after--li" id="bbc7" style="box-sizing: border-box;"><span style="font-family: inherit;">Opt-out or object from processing at any time</span></li>
</ol>
<h3 style="text-align: left;">
Organizations Responsibilities</h3>
<div class="graf graf--p graf-after--h3" id="92a1" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">Organizations will need to:</span></div>
<ol class="postList" style="background-color: white; box-sizing: border-box; margin: 0px 0px 1.5em 1.655em; padding: 0px;">
<li class="graf graf--li graf-after--p" id="08df" style="box-sizing: border-box;"><span style="font-family: inherit;">Protect all personal data of any kind</span></li>
<li class="graf graf--li graf-after--li" id="4423" style="box-sizing: border-box;"><span style="font-family: inherit;">Determine the purpose and methods that will be used for processing the data, organizations would be responsible for any errors involving third parties as well</span></li>
<li class="graf graf--li graf-after--li" id="4b49" style="box-sizing: border-box;"><span style="font-family: inherit;">Get individuals consents for data processing</span></li>
<li class="graf graf--li graf-after--li" id="b6f4" style="box-sizing: border-box;"><span style="font-family: inherit;">Organizations must be completely transparent about the individual’s data on how and why they are using it.</span></li>
<li class="graf graf--li graf-after--li" id="66d2" style="box-sizing: border-box;"><span style="font-family: inherit;">Notify individuals and authorities for any data breaches</span></li>
</ol>
<h3 style="text-align: left;">
Your Responsibility</h3>
<div class="graf graf--p graf-after--h3" id="36cf" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">As a working professional, how to identify if you are compliant with GDPR or not? you need to ask the following questions from yourself</span></div>
<ol class="postList" style="background-color: white; box-sizing: border-box; margin: 0px 0px 1.5em 1.655em; padding: 0px;">
<li class="graf graf--li graf-after--p" id="4650" style="box-sizing: border-box;"><span style="font-family: inherit;">Do I have permission to use this data?</span></li>
<li class="graf graf--li graf-after--li" id="97b7" style="box-sizing: border-box;"><span style="font-family: inherit;">How can I protect this data?</span></li>
<li class="graf graf--li graf-after--li" id="0f2e" style="box-sizing: border-box;"><span style="font-family: inherit;">What to do if data is at risk?</span></li>
</ol>
<div class="graf graf--p graf-after--li" id="6b7f" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">By asking these questions you will fulfill your responsibility and compliance with GDPR.</span></div>
<div class="graf graf--p graf-after--p" id="8bae" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">Hope this post helps you to understand GDPR fundamentals</span></div>
<div class="graf graf--p graf-after--p" id="8bae" style="background-color: white; box-sizing: border-box; margin-bottom: 1.5em;">
<span style="font-family: inherit;">Originally published at </span><span style="background-color: transparent;"><a href="https://datanextsolutions.com/blog/key-changes-under-gdpr/" target="_blank">https://datanextsolutions.com/blog/key-changes-under-gdpr/</a></span></div>
<h4 style="background-color: white; box-sizing: border-box; letter-spacing: -0.035em; line-height: 1.4; margin: 1.75em 0px 0.5em; text-align: left; text-rendering: optimizeLegibility;">
<span style="letter-spacing: -0.035em;"><span style="font-family: inherit;">About DataNext</span></span></h4>
<div class="graf graf--p graf-after--h4 graf--trailing" id="97af" style="background-color: white; box-sizing: border-box;">
<span style="font-family: inherit;">DataNext Solutions is US based system integrator, specialized in Cloud, Big Data, DevOps technologies. As a registered AWS partner, our services comprise of any Cloud Migration, Cost optimization, Integration, Security and Managed Services. <a class="markup--anchor markup--p-anchor" data-href="http://bookings.datanextsolutions.com/" href="http://bookings.datanextsolutions.com/" rel="nofollow noopener nofollow noopener" style="box-sizing: border-box; outline: 0px; text-decoration-line: none;" target="_blank">Click here and Book</a> Free assessment call with our experts today or visit our website <a class="markup--anchor markup--p-anchor" data-href="http://www.datanextsolutions.com/" href="http://www.datanextsolutions.com/" rel="nofollow noopener nofollow noopener" style="box-sizing: border-box; outline: 0px; text-decoration-line: none;" target="_blank">www.datanextsolutions.com</a> for more info.</span></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-39630976888990363672018-05-11T10:01:00.004-05:002018-05-11T10:03:29.540-05:00How to Collect Custom Metrics from AWS EC2 Instances<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<h3 style="text-align: left;">
Overview</h3>
<br />
Monitoring is a critical part of any cloud infrastructure and it is important to maintain reliability, availability, and performance of your AWS cloud applications. There are 2 main types of monitoring you can do on AWS EC2 Instances as follows<br />
<br />
<b>Basic Monitoring</b> for Amazon EC2 instances: Seven pre-selected metrics at five-minute frequency and three status check metrics at one-minute frequency, for no additional charge.<br />
<br />
<div>
<b>Detailed Monitoring</b> for Amazon EC2 instances: All metrics available to Basic Monitoring at one-minute frequency, for an additional charge. Instances with Detailed Monitoring enabled allows data aggregation by Amazon EC2 AMI ID and instance type.<br />
<div>
<br />
<br />
While limited monitoring is enabled by default, it does not cover the memory utilization or disk I/O of the instances, for these use cases you need to enable custom monitoring on EC2 instances.<br />
<br />
This post covers how to enable custom detail monitoring and collect memory and disk metrics using AWS CloudWatch agent, later you can build custom CloudWatch dashboards using these metrics.<br />
<br />
Note: You can also monitor EC2 instances using older Perl scripts <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/mon-scripts.html" target="_blank">click here for more info</a><br />
<br />
In summary, you need to do the following:</div>
<div>
<br /></div>
<div>
<ol style="text-align: left;">
<li>Create CloudWatch Role</li>
<li>Assign CloudWatch Role to EC2 Instance</li>
<li>Install CloudWatch agent on the EC2 Instance</li>
<li>Configure Metrics</li>
<li>Start CloudWatch agent</li>
<li>Create CloudWatch Dashboards</li>
</ol>
<br />
Click the Image or the following link to learn more detail steps</div>
</div>
<div>
<br /></div>
<div>
<a href="https://datanextsolutions.com/blog/how-to-collect-custom-metrics-from-aws-ec2-instances/" target="_blank">https://datanextsolutions.com/blog/how-to-collect-custom-metrics-from-aws-ec2-instances/</a></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://datanextsolutions.com/blog/how-to-collect-custom-metrics-from-aws-ec2-instances/" target="_blank"><img border="0" data-original-height="612" data-original-width="1600" height="243" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUppXQTTDFiwLo5-IE9I79rXHgVFgc8-OnB9xGalnuLw58fCXh4MepQMF-CPrI9vW5EHUqjfGGkpqrPjASoFQB9Dej5wRDvf7nP8i0d3D5T5NxXgkMUMkSA4U0RIsH5ThkRX8Gt836r3s/s640/ec2-cloudwatch-1.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<h3 style="text-align: left;">
About DataNext</h3>
DataNext Solutions is US based system integrator, specialized in Cloud, Big Data, DevOps technologies. As a registered AWS partner, our services comprise of any Cloud Migration, Cost optimization, Integration, Security and Managed Services. <a href="http://bookings.datanextsolutions.com/" target="_blank">Click here and Book</a> Free assessment call with our experts today or visit our website <a href="http://www.datanextsolutions.com/" target="_blank">www.datanextsolutions.com</a> for more info.<br />
<div>
<br /></div>
<div>
<br /></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-22112335329236168032018-05-03T11:57:00.003-05:002018-05-03T11:57:25.168-05:00Assigning Public IPs to AWS EC2 Instances<div dir="ltr" style="text-align: left;" trbidi="on">
<br />Quick post today, recently a customer asked us that they have created a new VPC in <a href="http://aws.amazon.com/">AWS</a> but when they launch an EC2 instance in a public subnet, they don’t see a public IP assigned to it.<br /><br />To assign automatically public IPs, there are few things to look into when you launch an EC2 instance as follows<br /><br /><div>
<a href="https://datanextsolutions.com/blog/assigning-public-ips-to-aws-ec2-instances/" target="_blank">Visit DataNext Blog site to see the complete solution </a></div>
<div>
<br /></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://datanextsolutions.com/blog/assigning-public-ips-to-aws-ec2-instances/" target="_blank"><img border="0" data-original-height="373" data-original-width="800" height="186" src="https://datanextsolutions.com/wp-content/uploads/2018/05/modify-ip-dialog-846x394.png" width="400" /></a></div>
<h4 style="text-align: left;">
<b><br /></b></h4>
<h4 style="text-align: left;">
<b>About DataNext</b></h4>
DataNext Solutions is US based system integrator, specialized in Cloud, Big Data, DevOps technologies. As a registered AWS partner, our services comprise of any Cloud Migration, Cost optimization, Integration, Security and Managed Services. <a href="http://bookings.datanextsolutions.com/">Click here and Book</a> Free assessment call with our experts today or visit our website <a href="http://www.datanextsolutions.com/">www.datanextsolutions.com</a> for more info.</div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-19261165152858072012018-04-28T00:51:00.000-05:002018-04-28T22:29:31.867-05:00Copy EC2 Instances from one account to another <div dir="ltr" style="text-align: left;" trbidi="on">
<h3 style="text-align: left;">
Overview</h3>
Recently one of our customers came up with a requirement to merge assets into one single AWS account, there are some other ways such <a href="https://aws.amazon.com/organizations/">AWS Organization</a> to manage multiple AWS accounts but in this case, the requirement was clear to move EC2 instances from one account to another.<br />
<br />
The solution to this requirement was quick straightforward and convenient from AWS. To summarize you need to do the following<br />
<div>
<ol style="text-align: left;">
<li>Obtain AWS account ID where you want to copy/move/migrate the EC2 instance </li>
<li>On source AWS account, create AMI from existing EC2 instance</li>
<li>Grant access permissions on AMI to target AWS account</li>
<li>Log in to target AWS account and launch a new EC2 instance from AMI</li>
</ol>
For a detailed solution with screenshots visit original post: <a href="https://datanextsolutions.com/blog/aws-how-to-copy-ec2-instances-to-another-account/" target="_blank">https://datanextsolutions.com/blog/aws-how-to-copy-ec2-instances-to-another-account/</a><br />
<div>
<br /></div>
<div>
Cheers,</div>
<div>
Zeeshan Baig</div>
</div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-7687774794518570682016-04-16T08:45:00.000-05:002016-04-16T08:45:56.328-05:00My Slides from Collaborate 2016<div dir="ltr" style="text-align: left;" trbidi="on">
Geeks,<br />
<br />
Following are my slides from Collaborate 2016 in Las Vegas.<br />
<br />
My first session 'Architecting for the Cloud' was full house and it was great to see audience response as many of them asked me about the slides after the session. Unfortunately the OES session got low attendance as it was scheduled to be last session on Wednesday and many people left for the party.<br />
<br />
Here are my slides from the it. See you sometime in future.<br />
<br />
<h3 style="text-align: left;">
Architecting for the Cloud: Best Practices</h3>
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="485" marginheight="0" marginwidth="0" scrolling="no" src="//www.slideshare.net/slideshow/embed_code/key/PJxe4aqZF1Yi0" style="border-width: 1px; border: 1px solid #ccc; margin-bottom: 5px; max-width: 100%;" width="595"> </iframe> <br />
<div style="margin-bottom: 5px;">
<strong> <a href="https://www.slideshare.net/baigsorcl/architecting-for-the-cloud-best-practices" target="_blank" title="Architecting for the Cloud: Best Practices">Architecting for the Cloud: Best Practices</a> </strong> from <strong><a href="https://www.slideshare.net/baigsorcl" target="_blank">Zeeshan Baig</a></strong> </div>
<br />
<br />
<br />
<h3 style="text-align: left;">
Build Fine-Grained Authorization for WebCenter Using Oracle Entitlements Server (OES)</h3>
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="485" marginheight="0" marginwidth="0" scrolling="no" src="//www.slideshare.net/slideshow/embed_code/key/yqrWoJxiIQgDgL" style="border-width: 1px; border: 1px solid #ccc; margin-bottom: 5px; max-width: 100%;" width="595"> </iframe> <br />
<div style="margin-bottom: 5px;">
<strong> <a href="https://www.slideshare.net/baigsorcl/build-finegrained-authorization-for-webcenter-using-oracle-entitlements-server-oes" target="_blank" title="Build Fine-Grained Authorization for WebCenter Using Oracle Entitlements Server (OES)">Build Fine-Grained Authorization for WebCenter Using Oracle Entitlements Server (OES)</a> </strong> from <strong><a href="https://www.slideshare.net/baigsorcl" target="_blank">Zeeshan Baig</a></strong> <br />
<br />
<br />
Cheers,<br />
Zeeshan Baig<br />
<a href="https://twitter.com/IamZeeshanBaig" target="_blank">@IamZeeshanBaig</a></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com2tag:blogger.com,1999:blog-6974900699539223894.post-22100951381135554462016-04-06T14:27:00.000-05:002016-04-06T14:27:52.019-05:00My Sessions at Collaborate 2016 in Las Vegas<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Geeks,<br />
<br />
I will be presenting 2 topics at IOUG Collaborate 2016 in Las Vegas. I will be talking about Architecting for the Cloud and Oracle Entitlement Server Integration with WebCenter.<br />
<br />
The special thing about these 2 sessions that these sessions are selected for IOUGenius Certificate...what it is ? I will copy some exerts from IOUG website <b>for more details visit http://collaborate.ioug.org/certificates</b><br />
<br />
So make sure you mark you calendars to attend my session Learn and Earn.. see my session details below.<br />
<br />
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Arial, Verdana, geneva, sans-serif; font-size: 13px; margin-bottom: 12px; margin-top: 12px; outline: 0px; padding: 0px; vertical-align: baseline;">
</div>
<ol style="text-align: left;">
<li><b>1380 - Architecting For the Cloud: Best Practices</b></li>
<li><b>1351 - Build Fine-Grained Authorization for WebCenter Using Oracle Entitlements Server</b></li>
</ol>
<br />
<span style="background-color: white; color: #333333; font-family: Arial, Verdana, geneva, sans-serif; font-size: 13px;"><br /></span>
<table border="0" style="background-color: white; border-spacing: 0px; border: 0px; color: #333333; font-family: Arial, Verdana, geneva, sans-serif; font-size: 13px; outline: 0px; vertical-align: baseline;"><tbody style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; outline: 0px; vertical-align: baseline;">
<tr style="border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; outline: 0px; vertical-align: baseline;"><td style="border: 0px; font-family: inherit; font-style: inherit; outline: 0px; vertical-align: top;"><div class="title" style="background: none !important; border: 0px !important; color: #00264b; font-family: Arial, Helvetica, sans-serif !important; font-size: 24px; font-style: inherit; font-weight: bold; margin-bottom: 12px; margin-top: 12px; outline: 0px; padding: 0px; vertical-align: baseline; width: inherit !important;">
#IOUGenius Certificates</div>
<div style="background: transparent; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; margin-top: 12px; outline: 0px; padding: 0px; vertical-align: baseline;">
Looking for an easy way to demonstrate the skills you'll gain by attending COLLABORATE 16? Earn an #IOUGenius Certificate!</div>
<div style="background: transparent; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin-bottom: 12px; margin-top: 12px; outline: 0px; padding: 0px; vertical-align: baseline;">
Each set of certificate sessions has been selected by the IOUG Conference Committee to provide a comprehensive overview of skills, techniques and insights that will be critical for Oracle database and technology professionals.</div>
</td></tr>
</tbody></table>
<br />
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Arial, Verdana, geneva, sans-serif; font-size: 13px; margin-bottom: 12px; margin-top: 12px; outline: 0px; padding: 0px; vertical-align: baseline;">
<b style="background: transparent; border: 0px; color: #002a5c; font-family: inherit; font-size: 15px; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;">How to Earn Your Certificate</b></div>
<ul style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Arial, Verdana, geneva, sans-serif; font-size: 13px; list-style-image: none; list-style-position: outside; margin: 12px 0px; outline: 0px; padding: 0px 0px 0px 2em; vertical-align: baseline;">
<li style="background: transparent; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 9px; outline: 0px; padding: 0px; vertical-align: baseline;">Choose a certificate that benefits you and your company the most.</li>
<li style="background: transparent; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 9px; outline: 0px; padding: 0px; vertical-align: baseline;">Find eligible sessions on your mobile app device by using the hashtags below.</li>
<li style="background: transparent; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 9px; outline: 0px; padding: 0px; vertical-align: baseline;">“Check-in” to 4+ sessions on your mobile app.</li>
<li style="background: transparent; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 9px; outline: 0px; padding: 0px; vertical-align: baseline;">Email us at <a href="mailto:speakers@ioug.org" style="background: transparent; border: 0px; color: #022e5b; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">speakers@ioug.org</a> to receive your #IOUGenius e-certificate(s).</li>
<li style="background: transparent; border: 0px; font-family: inherit; font-style: inherit; font-weight: inherit; margin: 0px 0px 0px 9px; outline: 0px; padding: 0px; vertical-align: baseline;">Display your certificate(s) and make sure your co-workers and supervisors know you are an #IOUGenius! </li>
</ul>
<div>
<span style="color: #333333; font-family: Arial, Verdana, geneva, sans-serif;"><span style="font-size: 13px;"><br /></span></span></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv9WICKSTHaoHos9CN61g_OZzRG7nAufJyXclUTx0-CsUp1qo9PWySVmpBCXEr4Qd0j9G0GEzBjl7SHoqb6PMX8o7Vk7T-qMxqu_BWGsSueCgeW1ria0XNXOwYawxqRQthfqroRMQnxhA/s1600/ScreenHunter_04+Apr.+06+14.18.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjv9WICKSTHaoHos9CN61g_OZzRG7nAufJyXclUTx0-CsUp1qo9PWySVmpBCXEr4Qd0j9G0GEzBjl7SHoqb6PMX8o7Vk7T-qMxqu_BWGsSueCgeW1ria0XNXOwYawxqRQthfqroRMQnxhA/s1600/ScreenHunter_04+Apr.+06+14.18.jpg" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">My sessions at Collaborate 2016 in Las Vegas</td></tr>
</tbody></table>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<span style="color: #333333; font-family: Arial, Verdana, geneva, sans-serif;"><span style="font-size: 13px;">Happy Learning,</span></span></div>
<div>
<span style="color: #333333; font-family: Arial, Verdana, geneva, sans-serif;"><span style="font-size: 13px;">Zeeshan Baig</span></span></div>
<div>
<span style="color: #333333; font-family: Arial, Verdana, geneva, sans-serif;"><span style="font-size: 13px;"><a href="http://www.twitter.com/IamZeeshanBaig" target="_blank">@IamZeeshanBaig</a></span></span></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-79550308024067443452016-03-08T10:58:00.000-06:002016-03-22T12:43:27.142-05:00Quick Tip: Linux How to Enable X11 Forwarding in a SSH sudo Session<div dir="ltr" style="text-align: left;" trbidi="on">Hi,<br />
<br />
Recently I had to install some Oracle products for a customer. I provided my list of pre-requisites to them as per Oracle docs. We usually create a user called 'oracle' as Linux software owner but due to security reasons we didn't had access to 'oracle' user directly. Instead everyone have their own ID (For example zbaig) and then you run the sudo command to switch user.<br />
<br />
<h4 style="text-align: left;">Tools:</h4><br />
<ul style="text-align: left;"><li>You need X server running on your desktop. I use Xming because it is lightweight. </li>
<li>Make sure you have X11 Forwarding enabled in SSH utility like PuTTY or Secure Shell</li>
<li>Make sure X11 is enabled on the Linux server by root </li>
</ul><br />
<br />
<h4 style="text-align: left;">Problem:</h4><br />
The X11 was working when you log in directly in SSH (like with zbaig) but it wasn't working when I issue sudo command as follows<br />
<br />
<pre class="brush:html">[zbaig@server1] sudo -i -u oracle
[sudo] password for zbaig:
[zbaig@server1] xclock
</pre><br />
<b>Error: Can't open display:</b><br />
<br />
<h4 style="text-align: left;">Solution:</h4><br />
You need to enable X11 for the other user as well, run the following commands<br />
<br />
<pre class="brush:html">[zbaig@server1] /home/home01/zbaig $ xauth list
server2/unix:10 MIT-MAGIC-COOKIE-1 d3ce0c405b6ed8991916e47f8d532aef
server1/unix:10 MIT-MAGIC-COOKIE-1 a7c707e46943228264045845244d5c3c
[zbaig@server1] /home/home01/zbaig $ sudo -i -u oracle
[sudo] password for zbaig:
</pre><br />
In the following "xauth add" command paste the output of above command of 'server1' (you might see other COOKIE list as well, but use the server you are working on)<br />
<br />
<pre class="brush:html">[oracle@server1] /usr/home/oracle $ xauth add server1/unix:10 MIT-MAGIC-COOKIE-1 a7c707e46943228264045845244d5c3c
xauth: creating new authority file /usr/appl/nes/home/oracleuser/.Xauthority
[oracle@server1] /usr/home/oracle $ xclock
</pre><br />
All should be good.<br />
<br />
Hope you find this useful,<br />
<br />
<a href="https://twitter.com/IamZeeshanBaig" target="_blank">@IamZeeshanBaig</a><br />
<br />
</div>Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-73688845320843123722016-02-26T10:29:00.004-06:002016-02-26T10:29:31.594-06:00Resolving : BEA-090892 - The loading of OPSS java security policy provider failed due to exception<div dir="ltr" style="text-align: left;" trbidi="on">
Hi,<br />
<br />
A quick tip here this error could occur for many reasons I am documenting only one of the cases here. Sometimes when you create WebLogic cluster and after pack and unpack your domain files some Java security policies does not get updated on second node.<br />
<br />
<h3 style="text-align: left;">
<b>Problem:</b></h3>
<div>
<b><br /></b></div>
When you try to start a Managed server you might see the following error in the logs and it will fail to start a server. In my case I was installing Oracle Entitlement Server (OES) in a cluster environment. (I have seen this exception on other occasions as well so its good to get it documented).<br />
<br />
<b>(For Solution scroll down after error log) </b><br />
<br />
<blockquote class="tr_bq">
<div style="text-align: justify;">
<span style="font-size: x-small;"><span style="color: #e06666;"><Feb 22, 2016 3:30:35 PM CST> <Error>
<Security> <BEA-090892> <The loading of OPSS java security
policy provider failed due to exception, see the exception stack trace or the
server log file for root cause. If still see no obvious cause, enable the debug
flag -Djava.security.debug=jpspolicy to get more information. </span><b><span style="color: red;">Error message:
java.security.AccessControlException: access denied
("oracle.security.jps.service.credstore.CredentialAccessPermission"</span></b><span style="color: #e06666;">
"context=SYSTEM,mapName=OES_SYMMETRIC_KEY_MAP,keyName=OES_SYMMETRIC_KEY_alias"
"read")></span></span></div>
<span style="color: #e06666;"><span style="font-size: x-small;"><div style="text-align: justify;">
<Feb 22, 2016 3:30:35 PM CST> <Critical>
<WebLogicServer> <BEA-000386> <Server subsystem failed. Reason:
weblogic.security.SecurityInitializationException: The loading of OPSS java
security policy provider failed due to exception, see the exception stack trace
or the server log file for root cause. If still see no obvious cause, enable
the debug flag -Djava.security.debug=jpspolicy to get more information. Error
message: java.security.AccessControlException: access denied ("oracle.security.jps.service.credstore.CredentialAccessPermission"
"context=SYSTEM,mapName=OES_SYMMETRIC_KEY_MAP,keyName=OES_SYMMETRIC_KEY_alias"
"read")</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
weblogic.security.SecurityInitializationException: The
loading of OPSS java security policy provider failed due to exception, see the
exception stack trace or the server log file for root cause. If still see no
obvious cause, enable the debug flag -Djava.security.debug=jpspolicy to get
more information. Error message: java.security.AccessControlException: access denied
("oracle.security.jps.service.credstore.CredentialAccessPermission"
"context=SYSTEM,mapName=OES_SYMMETRIC_KEY_MAP,keyName=OES_SYMMETRIC_KEY_alias"
"read")</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.loadOPSSPolicy(CommonSecurityServiceManagerDelegateImpl.java:1402)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
weblogic.security.service.CommonSecurityServiceManagerDelegateImpl.initialize(CommonSecurityServiceManagerDelegateImpl.java:1022)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
weblogic.security.service.SecurityServiceManager.initialize(SecurityServiceManager.java:888)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
weblogic.security.SecurityService.start(SecurityService.java:141)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
Truncated. see
log file for complete stacktrace</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
Caused By: java.lang.RuntimeException:
java.security.AccessControlException: access denied
("oracle.security.jps.service.credstore.CredentialAccessPermission"
"context=SYSTEM,mapName=OES_SYMMETRIC_KEY_MAP,keyName=OES_SYMMETRIC_KEY_alias"
"read")</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at oracle.security.jps.az.internal.runtime.encryption.CipherServiceFactory.getService(CipherServiceFactory.java:86)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
oracle.security.jps.az.internal.runtime.pd.receiver.UpdatePolicySet.initCipherService(UpdatePolicySet.java:261)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
oracle.security.jps.az.internal.runtime.pd.receiver.UpdatePolicySet.<init>(UpdatePolicySet.java:189)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.initializeControlledPD(PDPServiceImpl.java:590)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
oracle.security.jps.az.internal.runtime.service.PDPServiceImpl.initial(PDPServiceImpl.java:682)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
Truncated. see
log file for complete stacktrace</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
Caused By: java.security.AccessControlException: access
denied ("oracle.security.jps.service.credstore.CredentialAccessPermission"
"context=SYSTEM,mapName=OES_SYMMETRIC_KEY_MAP,keyName=OES_SYMMETRIC_KEY_alias"
"read")</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
java.security.AccessControlContext.checkPermission(AccessControlContext.java:395)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
java.security.AccessController.checkPermission(AccessController.java:559)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
oracle.security.jps.util.JpsAuth$AuthorizationMechanism$3.checkPermission(JpsAuth.java:478)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:538)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
at
oracle.security.jps.util.JpsAuth.checkPermission(JpsAuth.java:564)</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
Truncated. see
log file for complete stacktrace</div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
></div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
<Feb 22, 2016 3:30:35 PM CST> <Notice>
<WebLogicServer> <BEA-000365> <Server state changed to
FAILED></div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
<Feb 22, 2016 3:30:35 PM CST> <Error>
<WebLogicServer> <BEA-000383> <A critical service failed. The
server will shut itself down></div>
</span><span style="font-size: x-small;"><div style="text-align: justify;">
<Feb 22, 2016 3:30:35 PM CST> <Notice>
<WebLogicServer> <BEA-000365> <Server state changed to
FORCE_SHUTTING_DOWN></div>
</span></span></blockquote>
<br />
<br />
<h3 style="text-align: left;">
Solution:</h3>
<div>
<br /></div>
<div>
<b>Solution is grant permissions to Java Security on WebLogic resources</b>, In my case it was Oracle entitlement server (OES) so I had to add following to weblogic.policy file where all the security policies are defined for WLS resources.</div>
<div>
<br /></div>
<div>
1. Add the following to weblogic.policy file located at <b>$MIDDLEWARE_HOME/wlserver_10.3/server/lib </b></div>
<div>
<br /></div>
<div>
<blockquote class="tr_bq">
<div style="text-align: justify;">
<span style="color: #e06666;">grant codeBase "file:${oes.client.home}/-" {</span></div>
<div style="text-align: justify;">
<span style="color: #e06666;"> permission
java.security.AllPermission;</span></div>
<div style="text-align: justify;">
<span style="color: #e06666;">};</span></div>
</blockquote>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<o:p></o:p></div>
<div class="MsoNormal">
<o:p> 2. Start the Managed server again </o:p></div>
<div class="MsoNormal">
<o:p><br /></o:p></div>
<div class="MsoNormal">
<o:p>Hope it helps</o:p></div>
<div class="MsoNormal">
<o:p><br /></o:p></div>
<div class="MsoNormal">
<o:p>Cheers,</o:p></div>
<div class="MsoNormal">
<o:p>Zeeshan Baig</o:p></div>
</div>
<div>
<a href="http://www.twitter.com/IamZeeshanBaig" target="_blank">@IamZeeshanBaig</a></div>
<br />
<div class="MsoNormal">
<o:p></o:p></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-15170053426504343872016-02-18T10:46:00.001-06:002016-02-18T10:46:56.521-06:00Presentation Slide: Cloud Explorations - Patterns and Practices<div dir="ltr" style="text-align: left;" trbidi="on">
Hi,<br />
<br />
Last week I presented a topic on Architecture for the Cloud Platform at RMOUG. The session went well I had around 20-25 people at 8:30 AM so no complains.<br />
<br />
Here are the slides from the session.<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="500" marginheight="0" marginwidth="0" scrolling="no" src="https://www.slideshare.net/slideshow/embed_code/key/jPl25Kc07OgcVE" style="border-width: 1px; border: 1px solid #ccc; margin-bottom: 5px; max-width: 100%;" width="600"> </iframe> <br />
<div style="margin-bottom: 5px;">
<strong> <a href="https://www.slideshare.net/baigsorcl/cloud-explorations-patterns-and-practices" target="_blank" title="Cloud Explorations - Patterns and Practices">Cloud Explorations - Patterns and Practices</a> </strong> from <strong><a href="http://www.slideshare.net/baigsorcl" target="_blank">Zeeshan Baig</a></strong> </div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com1tag:blogger.com,1999:blog-6974900699539223894.post-51949009541201941292015-11-13T12:20:00.000-06:002015-11-13T12:20:01.541-06:00Running Oracle Database on Amazon RDS<div dir="ltr" style="text-align: left;" trbidi="on">
Greetings,<br />
<br />
Amazon RDS is a database service that makes it easy to setup database in the Amazon AWS cloud. Using RDS you don't need to worry about managing databases, backups, replication (in Multi-AZ mode), upgrades and other common DBA operations. Amazon will do it for you. The only drawback is that you don't have direct access to OS / File system but that is the whole idea.<br />
<br />
In this post I will show you how to setup an Oracle database in Amazon AWS using RDS service and connect it using SQL Developer on my local machine.<br />
<br />
<h3 style="text-align: left;">
Pre-requisites:</h3>
<br />
<ul style="text-align: left;">
<li>To follow this blog post make sure you have Amazon AWS account, <a href="https://aws.amazon.com/free/" target="_blank">you can get one here</a> </li>
</ul>
<br />
<br />
<h3 style="text-align: left;">
Things to Remember</h3>
<div>
<br /></div>
Amazon RDS provides you 2 choices for Oracle licences<br />
<br />
<ul style="text-align: left;">
<li><b>License Included</b> - This option Amazon will arrange a license for you but the hourly charge is slightly higher</li>
<li><b>BYOL </b>- Bring Your Own License - This option you have to bring your own license, hourly rate is cheaper than option 1.</li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGH2oY7yrADfIEWCfTyIBlYPng8U6IaxQcWEBBLoudBtqqtmZti6nIiSEMz11yQzTt5CAH5ebDeuAZWQbjEzfO4IDzE61XgAtfuOic6PmLiFBTQbonY7YF6PvDSrAhyhwJ6uYwPVqw1tA/s1600/ScreenHunter_05+Nov.+13+10.56.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="108" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGH2oY7yrADfIEWCfTyIBlYPng8U6IaxQcWEBBLoudBtqqtmZti6nIiSEMz11yQzTt5CAH5ebDeuAZWQbjEzfO4IDzE61XgAtfuOic6PmLiFBTQbonY7YF6PvDSrAhyhwJ6uYwPVqw1tA/s640/ScreenHunter_05+Nov.+13+10.56.gif" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<b>Note</b>: In order to run Oracle in Amazon RDS <b>with Free Tier</b> you <b>must </b>have BYOL license for Oracle database.<br />
<br />
<b>Let's get started </b><br />
<br />
<h3 style="text-align: left;">
Creating Database in the Amazon RDS </h3>
<div>
<br /></div>
<div>
1. Log in to Amazon AWS Console <a href="https://console.aws.amazon.com/">https://console.aws.amazon.com</a></div>
<div>
<br /></div>
<div>
2. Click on the RDS under Database section in the console, </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXl1AAbnCIop5cdqQ4hl7n8ybMRjMavmi3_ShmHMyw8-qOPUKna2AM7fUVPee5r3eSHIlBvCSh6N9QDt2uYtiD0f0eJFXg68fUWjCXs1-QC9OuUhZWjrM72LlaBeIVw-s1q5CylT39C80/s1600/ScreenHunter_01+Nov.+13+10.55.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXl1AAbnCIop5cdqQ4hl7n8ybMRjMavmi3_ShmHMyw8-qOPUKna2AM7fUVPee5r3eSHIlBvCSh6N9QDt2uYtiD0f0eJFXg68fUWjCXs1-QC9OuUhZWjrM72LlaBeIVw-s1q5CylT39C80/s400/ScreenHunter_01+Nov.+13+10.55.gif" width="215" /></a></div>
<div>
3. First step is to add at-least 2 subnets in the DB subnet group. Click on the "Subnet Groups" on the left panel and click "add all the subnet". (Note: we are doing quick and dirty here)</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhxWFlq_NGd-j-PdmNpDCcq1mCK5PiFB3EYArvdqC8pmOR_BgvGgOnBoEsMMRf9YThlzFNr1CxMhry5F56y93Sl31ciyIQfkPv6ViUiMB-AfVGDzolS2noxjQZtSGQjoihdM8y0bcUIHI/s1600/ScreenHunter_10+Nov.+13+11.17.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="329" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhxWFlq_NGd-j-PdmNpDCcq1mCK5PiFB3EYArvdqC8pmOR_BgvGgOnBoEsMMRf9YThlzFNr1CxMhry5F56y93Sl31ciyIQfkPv6ViUiMB-AfVGDzolS2noxjQZtSGQjoihdM8y0bcUIHI/s640/ScreenHunter_10+Nov.+13+11.17.gif" width="640" /></a></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
4. Click on the "Instances" in the left panel and click "Launch DB Instance"</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJfSm0r4P29URiv-iHukp8V8jRzGIHH35fsnc_KIIIfNYsNeyoBB-mrbUIaGcbd7HPydMn4ZtDl0O3X8vV8GN6nUm2UM1LXVR8kQon1Bvmumzx7Q3xW20v2D_niJSGbEZIMvsZoGd1Oxw/s1600/ScreenHunter_11+Nov.+13+11.18.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJfSm0r4P29URiv-iHukp8V8jRzGIHH35fsnc_KIIIfNYsNeyoBB-mrbUIaGcbd7HPydMn4ZtDl0O3X8vV8GN6nUm2UM1LXVR8kQon1Bvmumzx7Q3xW20v2D_niJSGbEZIMvsZoGd1Oxw/s640/ScreenHunter_11+Nov.+13+11.18.gif" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<br /></div>
<div>
5. Select Oracle and select 'Oracle SE One' (you can select anyone)</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiBfjJTExpITwHXQhhjlmAvtibSGCjyYawuMimc1ImOZnkecQqI_SfwDrQprKKHciCK31_23Pp5KUuC-0p59SN49ex1Vv-eIjaHuRnODK6KZ2QmU8blRKUusF5h9jAOlzcC2yvLaS6OD0/s1600/ScreenHunter_12+Nov.+13+11.18.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiBfjJTExpITwHXQhhjlmAvtibSGCjyYawuMimc1ImOZnkecQqI_SfwDrQprKKHciCK31_23Pp5KUuC-0p59SN49ex1Vv-eIjaHuRnODK6KZ2QmU8blRKUusF5h9jAOlzcC2yvLaS6OD0/s640/ScreenHunter_12+Nov.+13+11.18.gif" width="640" /></a></div>
<div>
<br /></div>
<div>
6. Select "No" from the choices and click Next, we are not going to use Multi-AZ deployment but in Production it is recommended</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPRIwLCbNS0maf2BeF5gRpo9OSAX_ovPhBrc0y5_MBPE7Is5qvVtVnmhEKYokdjuJk9TfjWcxHuXzjPK-p0_Zn3TRPkTKUAnhmjbukFiHSdvEaCPuGOx9NCzV36NJzOmK_S0EqJlIySeM/s1600/ScreenHunter_13+Nov.+13+11.18.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPRIwLCbNS0maf2BeF5gRpo9OSAX_ovPhBrc0y5_MBPE7Is5qvVtVnmhEKYokdjuJk9TfjWcxHuXzjPK-p0_Zn3TRPkTKUAnhmjbukFiHSdvEaCPuGOx9NCzV36NJzOmK_S0EqJlIySeM/s640/ScreenHunter_13+Nov.+13+11.18.gif" width="640" /></a></div>
<div>
<br /></div>
<div>
7. Enter basic details about the database such as Size of Instance, Instance name and SYSDBA account click Next Step</div>
<div>
Note: With RDS you don't have direct access to SYSDBA and SYS users but the user you define will have the same privileges </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVK7eLhNg48F3SauwNizo-t-R5neAJGdwYghxC5NbtBvk4dgbP5TqqH1jSyesVa28eo4dBL89S917cyiNpwFP-aKxLCnA6-UGOGtikNWcOVcaRf8NPSMmDpLlCtLbMfMm8w2gR8hF6l8M/s1600/ScreenHunter_14+Nov.+13+11.19.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="401" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVK7eLhNg48F3SauwNizo-t-R5neAJGdwYghxC5NbtBvk4dgbP5TqqH1jSyesVa28eo4dBL89S917cyiNpwFP-aKxLCnA6-UGOGtikNWcOVcaRf8NPSMmDpLlCtLbMfMm8w2gR8hF6l8M/s640/ScreenHunter_14+Nov.+13+11.19.gif" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
8. Leave the default settings for Network & Security (that is separate and huge topic, I will cover some other time) choose additional database options and Backup frequency, click Launch DB instance</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihRjhM5KP7qudGFZUG-b8qZTkvESi1KfwZ7aUEUgQkhDidT1UkgJgYSQ4rqoe46IBLRwojPvoLQYoFSRwZFHA-YFaE5SITmNNDkY0siYqrY1nKBvkZc9RBY4nLHacL4UkR3SKzj22A3UY/s1600/ScreenHunter_15+Nov.+13+11.19.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="390" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihRjhM5KP7qudGFZUG-b8qZTkvESi1KfwZ7aUEUgQkhDidT1UkgJgYSQ4rqoe46IBLRwojPvoLQYoFSRwZFHA-YFaE5SITmNNDkY0siYqrY1nKBvkZc9RBY4nLHacL4UkR3SKzj22A3UY/s640/ScreenHunter_15+Nov.+13+11.19.gif" width="640" /></a></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPWTeOgC0meo8Fo5EfAVPyqmAycNUGCim66DqvSXCeJQtK-h5C8PSKoNQIy1ZomGVsllXcOvkFPVxZzHknIE-B9SQmJZGkl8bhKABk543rFfB2F8uP89NmQxCgwflbRsY4hNlICwCIh4o/s1600/ScreenHunter_16+Nov.+13+11.19.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPWTeOgC0meo8Fo5EfAVPyqmAycNUGCim66DqvSXCeJQtK-h5C8PSKoNQIy1ZomGVsllXcOvkFPVxZzHknIE-B9SQmJZGkl8bhKABk543rFfB2F8uP89NmQxCgwflbRsY4hNlICwCIh4o/s640/ScreenHunter_16+Nov.+13+11.19.gif" width="640" /></a></div>
<div>
<br /></div>
<div>
9. You will get the following message if the action is successful. click View Your DB Instances.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrZPGx_cYrkIJ74MBXWEA-rXZXhPSOt5gUCBY1EvumLBVTnN2JQ_PSFelQIlef82dAsYAqzl8gFW2P6Lxm8MTonZahAkEAdO8nDltA3n294tSJ3dHXL6-RzqQSexU-1fhVLIW-OrxRs1w/s1600/ScreenHunter_17+Nov.+13+11.19.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="340" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrZPGx_cYrkIJ74MBXWEA-rXZXhPSOt5gUCBY1EvumLBVTnN2JQ_PSFelQIlef82dAsYAqzl8gFW2P6Lxm8MTonZahAkEAdO8nDltA3n294tSJ3dHXL6-RzqQSexU-1fhVLIW-OrxRs1w/s640/ScreenHunter_17+Nov.+13+11.19.gif" width="640" /></a></div>
<div>
<br /></div>
<div>
10. It usually takes 5-10 minutes for a DB instance to ready, Click and expand to see more details about the instance and copy the END POINT address</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMMgYPsPKwSb7SeQipLvHaDCrv6qMrh5Qj1S25-CcXtnZjI3YdmFs5gzFE5ouZOqV7ARPMWx_fIrsbjNTVptmpj35OJZECx9lajo6osbQJa9WXJ8cmKAvp518aDTKjQarqLomlqUF1fUk/s1600/ScreenHunter_18+Nov.+13+11.20.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="97" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMMgYPsPKwSb7SeQipLvHaDCrv6qMrh5Qj1S25-CcXtnZjI3YdmFs5gzFE5ouZOqV7ARPMWx_fIrsbjNTVptmpj35OJZECx9lajo6osbQJa9WXJ8cmKAvp518aDTKjQarqLomlqUF1fUk/s640/ScreenHunter_18+Nov.+13+11.20.gif" width="640" /></a></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifl0ZX8MAvdVTI9CFP1sLiaGMpka_TE6HzSuxjRX0DRBCcrD-L3xbiId-O6u2v_o77pnYRZC07K8BZY-F3PPkixCj4zA73s8IrZUswmlXsW_Vkktepc78WtpDAbdG4A9vl2MWN_BN6PX4/s1600/ScreenHunter_24+Nov.+13+11.39.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifl0ZX8MAvdVTI9CFP1sLiaGMpka_TE6HzSuxjRX0DRBCcrD-L3xbiId-O6u2v_o77pnYRZC07K8BZY-F3PPkixCj4zA73s8IrZUswmlXsW_Vkktepc78WtpDAbdG4A9vl2MWN_BN6PX4/s640/ScreenHunter_24+Nov.+13+11.39.gif" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2ePxbPaUraK19GybHWYnECXPuoRMUTptpsBKkCFSXqwJJsbJiSh6RFFtLzNkGaGVNvMzZ4ld39vvmKtfFxKsG2VIQh2NK4U2SG8v95EGD8SVbH2wTA7zwZNzsqorG-6VSj5fdT340UN8/s1600/ScreenHunter_19+Nov.+13+11.34.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2ePxbPaUraK19GybHWYnECXPuoRMUTptpsBKkCFSXqwJJsbJiSh6RFFtLzNkGaGVNvMzZ4ld39vvmKtfFxKsG2VIQh2NK4U2SG8v95EGD8SVbH2wTA7zwZNzsqorG-6VSj5fdT340UN8/s640/ScreenHunter_19+Nov.+13+11.34.gif" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<h3 style="text-align: left;">
Accessing the Database from SQL Developer</h3>
<div>
<br /></div>
<div>
1. Open SQL Developer, Create a new connection, enter the hostname the END POINT we copied from the AWS console, enter the user name and password you mentioned during configuration.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdih4DN9RQdItpvMQCGORmYWKXn37GASZOpEmgWM45_wGzpjWBcYP7PEE8v8ST_8xjcPqgCD22UsgHqOcnv1s_Ag4aszklDLVFswoKRThXrlzIucQRIVrIpfbEtUMEMD8rPJWm8WrzyUw/s1600/ScreenHunter_20+Nov.+13+11.35.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="500" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdih4DN9RQdItpvMQCGORmYWKXn37GASZOpEmgWM45_wGzpjWBcYP7PEE8v8ST_8xjcPqgCD22UsgHqOcnv1s_Ag4aszklDLVFswoKRThXrlzIucQRIVrIpfbEtUMEMD8rPJWm8WrzyUw/s640/ScreenHunter_20+Nov.+13+11.35.gif" width="640" /></a></div>
<div>
<br /></div>
<div>
2. Now you are all set and ready to play with Oracle DB in Amazon AWS using RDS</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpyK6pAnGB_K6_T4LKGX8H95_W1fvy_J7qxT1aKVX3SXNyNal6yL5ea78_k7QZVLQQKtGOXqkaxdCqU7m2xJEsE-wgglFIj6PtD0gbN6hmXlQDXs4SL1AYbdkgkyy_YKjvUXfrgXsmS6c/s1600/ScreenHunter_22+Nov.+13+11.39.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="417" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpyK6pAnGB_K6_T4LKGX8H95_W1fvy_J7qxT1aKVX3SXNyNal6yL5ea78_k7QZVLQQKtGOXqkaxdCqU7m2xJEsE-wgglFIj6PtD0gbN6hmXlQDXs4SL1AYbdkgkyy_YKjvUXfrgXsmS6c/s640/ScreenHunter_22+Nov.+13+11.39.gif" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
Have a good day,</div>
<div>
Zeeshan Baig</div>
<div>
<a href="http://www.twitter.com/IamZeeshanBaig" target="_blank">@IamZeeshanBaig</a></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com6tag:blogger.com,1999:blog-6974900699539223894.post-32662340826267959562015-10-26T10:36:00.000-05:002015-10-26T10:36:35.677-05:00Change of Twitter Handler Find me @IamZeeshanBaig<div dir="ltr" style="text-align: left;" trbidi="on">
Hello Friends,<br />
<br />
This is to inform you that I have renamed my Twitter handler to <a href="http://www.twitter.com/iamzeeshanbaig" target="_blank">@IamZeeshanBaig</a> from @baigsorcl<br />
<br />
If you follow me on twitter there is no change except you need to remember my new ID.<br />
<br />
I found my old handler was not really understandable and memorable to my friends and it is not tied to any technology.<br />
<br />
Regards,<br />
Zeeshan Baig<br />
<a href="http://www.twitter.com/iamzeeshanbaig" target="_blank">www.twitter.com/iamzeeshanbaig</a></div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-62594597458708765392015-10-21T15:17:00.000-05:002015-10-26T10:37:09.536-05:00How to Pass Dynamic Credentials to Web Services in BPEL Process<div dir="ltr" style="text-align: left;" trbidi="on">
Hi.<br />
<br />
Few days ago I got encountered with a little requirement about how to pass credentials to external web service calls inside BPEL process dynamically. I quickly mentioned to my colleagues that we can do using CSF-KEY on SOA Composite but the challenge was our BPEL process was really a service oriented :). Therefore, we had to pass a separate credentials to external web service calls.<br />
<br />
I did a little research and by hit and trail I found a little solution that works well.<br />
<br />
So here in summary you have to do<br />
<ul style="text-align: left;">
<li>Create <b>Map </b>in Weblogic Domain as <b>oracle.wsm.security</b> </li>
<li>Create <b>Key </b>inside the map called it <b>my-custom-csf-key</b> (you can call it anything) </li>
<li>In BPEL attach a required <b>policy </b>to your service in external reference </li>
<li>Create a <b>custom variable</b> in the BPEL process to hold the value of your custom CSF key i.e. my-custom-csf-key (You can read the CSF key name from Database if required) </li>
<li>Assign a csf key <b>value </b>to your variable in the <b>ASSIGN </b>activity </li>
<li>Add a <b>csf-key property</b> to your <b>INVOKE </b>Activity, set the value as your custom BPEL variable </li>
<li>Deploy your code and test</li>
</ul>
<ol style="direction: ltr; font-family: Calibri; font-size: 11pt; margin-bottom: 0in; margin-left: 0.375in; margin-top: 0in; unicode-bidi: embed;" type="1">
</ol>
<div style="text-align: left;">
<b><a href="https://drive.google.com/uc?export=download&id=0ByfOqYkc2afoWXZRWjE4VEtJZnM" target="_blank">Download the sample code here</a></b> </div>
<br />
<b>Creating Key Map and Credentials Key</b><br />
<div>
<b><br /></b></div>
<b>Log in to Enterprise Manager where BPEL Process is deployed i.e. http://localhost:7001/em</b><br />
<br />
<b>Right click the Domain Name and Choose Domain_Name > Security > Credentials </b><br />
<br />
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfbJnh9mnnIp5uLXh9mrEAbLYs_opk1rYf6opixlP9wRqlukCVizkcxb7uSugh1SVeaHmzn0vP-4Cib2hyKQjePJXCYrjswEPjQzfDzK_Ev2UE_INRSR6iggpc6imzXZMG3nPh-gq-zGw/s1600/ScreenHunter_01+Oct.+21+14.16.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfbJnh9mnnIp5uLXh9mrEAbLYs_opk1rYf6opixlP9wRqlukCVizkcxb7uSugh1SVeaHmzn0vP-4Cib2hyKQjePJXCYrjswEPjQzfDzK_Ev2UE_INRSR6iggpc6imzXZMG3nPh-gq-zGw/s400/ScreenHunter_01+Oct.+21+14.16.gif" width="400" /></a></div>
<div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Click <b>Create Map</b> button and enter <b>oracle.wsm.security (if it is not already exists), Click OK</b></div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmVlhFWB-2cCK41r4DRogMCrlKfs679Pf-WceMZCT96Q2LbDX-N1BMFtUYlfzdnPrJI8bjuxgawW36dYFGjB3mzNRWfgiEz7GOoRjiDHRg2OV82LhGdgyihQRsq87edVkZf6YAK8_nWzU/s1600/ScreenHunter_02+Oct.+21+14.16.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="168" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmVlhFWB-2cCK41r4DRogMCrlKfs679Pf-WceMZCT96Q2LbDX-N1BMFtUYlfzdnPrJI8bjuxgawW36dYFGjB3mzNRWfgiEz7GOoRjiDHRg2OV82LhGdgyihQRsq87edVkZf6YAK8_nWzU/s400/ScreenHunter_02+Oct.+21+14.16.gif" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Select <b>oracle.wsm.security</b> in the table and click <b>Create Key</b> button</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Enter your <b>credentials</b>, make sure the Type set as <b>Password</b></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK5Vwlac370q5qHvaM1ozXHHBpTJU1P3bU5JuwhNJY6jNejhCzgXQyRdZmnHMea0J32ojd4e_tvcDEMAJDNmdc6VfyTwOvNs3qfbvRZ3ljIdcw3Oe473NT-0LaJbIakP4eKTNYiRFeATo/s1600/ScreenHunter_03+Oct.+21+14.17.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhK5Vwlac370q5qHvaM1ozXHHBpTJU1P3bU5JuwhNJY6jNejhCzgXQyRdZmnHMea0J32ojd4e_tvcDEMAJDNmdc6VfyTwOvNs3qfbvRZ3ljIdcw3Oe473NT-0LaJbIakP4eKTNYiRFeATo/s400/ScreenHunter_03+Oct.+21+14.17.gif" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Click <b>OK</b>, make sure you see the something similar in your screen (ignore basic.credentials)</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz4Wf3StKiO9mO-JAYzdNcOL1ex9umw9lv8if42ZzqElm-5QLCG4JmLQEEXuM02wUHg1n9VzIUWiIJBnOA4j1aawKADIcTnDiAa9OIhBFDQ-yhyoYuw7qfrtGetxwzMNpjHxqBV7Kw_aE/s1600/ScreenHunter_04+Oct.+21+14.17.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="41" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiz4Wf3StKiO9mO-JAYzdNcOL1ex9umw9lv8if42ZzqElm-5QLCG4JmLQEEXuM02wUHg1n9VzIUWiIJBnOA4j1aawKADIcTnDiAa9OIhBFDQ-yhyoYuw7qfrtGetxwzMNpjHxqBV7Kw_aE/s400/ScreenHunter_04+Oct.+21+14.17.gif" width="400" /></a></div>
<div>
<br /></div>
<br />
<br />
<br />
<h3 style="text-align: left;">
BPEL Process Details</h3>
<div>
<br /></div>
<div>
In the example my application have 2 BPEL process as follows</div>
<div>
<br /></div>
<div>
a. <b>HellowithCredentials </b>- This is main service secured by OWSM policy, you must pass credentials to successfully call it </div>
<div>
b. <b>CallSecureService </b>- This is client application which is passing CSF key before invoking HellowithCredentials Service</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKoHyv7Ns48aghMdORmmQoGug8G85V_i0cRIyx-hxohD66cmmOW0DDT3FOsuNwm4ajqM-q7esSswohUxHrXRX94yVzN5qqO2ermL90RLKpQ8Q6CIeUK1HD1gKZcv1IVTtCzvig24gOe9w/s1600/ScreenHunter_05+Oct.+21+14.25.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKoHyv7Ns48aghMdORmmQoGug8G85V_i0cRIyx-hxohD66cmmOW0DDT3FOsuNwm4ajqM-q7esSswohUxHrXRX94yVzN5qqO2ermL90RLKpQ8Q6CIeUK1HD1gKZcv1IVTtCzvig24gOe9w/s320/ScreenHunter_05+Oct.+21+14.25.gif" width="320" /></a></div>
<h4 style="text-align: left;">
<b><br /></b></h4>
<h4 style="text-align: left;">
<b>HellowithCredentials Details</b></h4>
<div>
<b><br /></b></div>
<div>
The service is a simple BPEL process and protected by SOA WS Policies i.e. oracle/wss_username_token_service_policy</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZCpkkcpSrZ810WOk4ugvcKsYNj7oA3oN_WImpasRS7oSfrMe92rKyOiiJpKewhfgRCRXixTQ66fJFicLM1U9hCW_RGFwzG4fhE5-vC005bB9ug5lbpv3BKKQGRZwIiQFfqwK5x6ALw-0/s1600/ScreenHunter_06+Oct.+21+14.26.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZCpkkcpSrZ810WOk4ugvcKsYNj7oA3oN_WImpasRS7oSfrMe92rKyOiiJpKewhfgRCRXixTQ66fJFicLM1U9hCW_RGFwzG4fhE5-vC005bB9ug5lbpv3BKKQGRZwIiQFfqwK5x6ALw-0/s400/ScreenHunter_06+Oct.+21+14.26.gif" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1mpN5hHA6kdlG7Tz_CkmKJM3nLFtxKUEOwLvu-o_csd_2gk0SHiCGsGXHD7UzZhXxxdC8x1Rjcqu9TnCX0Lc9Bzcbr-W6cc6ce9IeHi87VeNerd-SlNAsJkL2pPiTfQNL9fFSP2yj8Qo/s1600/ScreenHunter_07+Oct.+21+14.26.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1mpN5hHA6kdlG7Tz_CkmKJM3nLFtxKUEOwLvu-o_csd_2gk0SHiCGsGXHD7UzZhXxxdC8x1Rjcqu9TnCX0Lc9Bzcbr-W6cc6ce9IeHi87VeNerd-SlNAsJkL2pPiTfQNL9fFSP2yj8Qo/s400/ScreenHunter_07+Oct.+21+14.26.gif" width="396" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
Inside the BPEL process there is one ASSIGN activity which is just <b>concat </b>the input parameters you pass with String "Hello"<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgivnmClS0A0V0o9IX-9hF4xZB02nayo732AoXmA3vqbCl16x8dE1hKYEog5fAKQ0OOBYrW8gNuLqktDVVIta0xuMonn_tTcl89DmWxp7_-kUKxWBUV0dxr0-MZiTbL7XtuHr7yGowB6og/s1600/ScreenHunter_08+Oct.+21+14.27.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgivnmClS0A0V0o9IX-9hF4xZB02nayo732AoXmA3vqbCl16x8dE1hKYEog5fAKQ0OOBYrW8gNuLqktDVVIta0xuMonn_tTcl89DmWxp7_-kUKxWBUV0dxr0-MZiTbL7XtuHr7yGowB6og/s400/ScreenHunter_08+Oct.+21+14.27.gif" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW0NR7CdpNbS2PqMmgf-pJfVXJLr9kSHKcT9gqXae_CDz2Kx-K45equir_v8p-bEtktO8lzFB4liklTViBG-yDlT9mfE24YNnmZav-tawpR4lgSX-_w4NhnwDQpQXIf9x24v3HKRqK0rs/s1600/ScreenHunter_09+Oct.+21+14.28.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW0NR7CdpNbS2PqMmgf-pJfVXJLr9kSHKcT9gqXae_CDz2Kx-K45equir_v8p-bEtktO8lzFB4liklTViBG-yDlT9mfE24YNnmZav-tawpR4lgSX-_w4NhnwDQpQXIf9x24v3HKRqK0rs/s400/ScreenHunter_09+Oct.+21+14.28.gif" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<h4 style="text-align: left;">
CallSecureService Details</h4>
<div>
<br /></div>
<div>
The BPEL process is calling the HellowithCredentials service as External Service </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsw0d1SoaE6gziOdCFetiRVIs8gAr-5h45y4LvNXMJboREBgxvU5qEijwgOQq_Ctmm6YBvAclSGxf8STOhNHCOabCLz7USldzZUx2PthZ62m2JBcVflEO1veuKPJYfpepzPCoS3n5F1og/s1600/ScreenHunter_10+Oct.+21+14.45.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="115" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsw0d1SoaE6gziOdCFetiRVIs8gAr-5h45y4LvNXMJboREBgxvU5qEijwgOQq_Ctmm6YBvAclSGxf8STOhNHCOabCLz7USldzZUx2PthZ62m2JBcVflEO1veuKPJYfpepzPCoS3n5F1og/s400/ScreenHunter_10+Oct.+21+14.45.gif" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The <b>oracle/wss_username_token_client_policy</b> is attached to external service</div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzoVvfEOlxdCmStjR28s0CRCF5ax_eQ9UlXcrOAGE6McXrrrpshTr0jX1B8Q_KBMPHaQGy25IKer7RmlbdyE8fpVfdVKA-GAzxLCdxC0ZgpYJSMdkj_g0kkJCA-RTQdsHxM0eKJUHiSfg/s1600/ScreenHunter_11+Oct.+21+14.45.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzoVvfEOlxdCmStjR28s0CRCF5ax_eQ9UlXcrOAGE6McXrrrpshTr0jX1B8Q_KBMPHaQGy25IKer7RmlbdyE8fpVfdVKA-GAzxLCdxC0ZgpYJSMdkj_g0kkJCA-RTQdsHxM0eKJUHiSfg/s1600/ScreenHunter_11+Oct.+21+14.45.gif" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-Jq3kQ8avF0x10JLWP1_a6YAE6oxhyToP5mswaTXm9mOHeUS5_3e10nY46f8hdllIFQ7jsepxS4kNGhFFL3JpbcvnYQDuI8fSnpM7No3TpfGgoIoo3dJK3qhN9HTDB8Ls-bHEa0p_ZnY/s1600/ScreenHunter_12+Oct.+21+14.46.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-Jq3kQ8avF0x10JLWP1_a6YAE6oxhyToP5mswaTXm9mOHeUS5_3e10nY46f8hdllIFQ7jsepxS4kNGhFFL3JpbcvnYQDuI8fSnpM7No3TpfGgoIoo3dJK3qhN9HTDB8Ls-bHEa0p_ZnY/s400/ScreenHunter_12+Oct.+21+14.46.gif" width="388" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
A custom variable <b>myCSFKeyVariable </b>is created inside BPEL process to hold value of our dynamic csf-key </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg24_4bFfHq3kxdyfb4Yk5F6ppcNiBtT41KELpcqsz5mVUFFnBLGk3R45lt32wJS_dkVPZgwnMYpzAkzkaYpX6uvTxoW3Hcucp8Gr19aXqj8NSg1Jh6ISxHSBfhN2drRicKfOXI7xn_exY/s1600/ScreenHunter_13+Oct.+21+14.46.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="190" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg24_4bFfHq3kxdyfb4Yk5F6ppcNiBtT41KELpcqsz5mVUFFnBLGk3R45lt32wJS_dkVPZgwnMYpzAkzkaYpX6uvTxoW3Hcucp8Gr19aXqj8NSg1Jh6ISxHSBfhN2drRicKfOXI7xn_exY/s320/ScreenHunter_13+Oct.+21+14.46.gif" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Before Invoking External Service we are assigning value to myCSFKeyVariable using ASSIGN activity</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2KFqiF7AgaWmUPBlDGHkw4B2uCdwhOFM0QSF1A_ZJrL7IV7eBH8Z2X3YqLsXnR73ePZnl43x5n5NZRxr7Wi2H-FQ1IdQngxLU_lWiIcL1l2ohkucvpjrd6Hn4GziW05LbentoN_oVJUk/s1600/ScreenHunter_14+Oct.+21+14.46.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2KFqiF7AgaWmUPBlDGHkw4B2uCdwhOFM0QSF1A_ZJrL7IV7eBH8Z2X3YqLsXnR73ePZnl43x5n5NZRxr7Wi2H-FQ1IdQngxLU_lWiIcL1l2ohkucvpjrd6Hn4GziW05LbentoN_oVJUk/s400/ScreenHunter_14+Oct.+21+14.46.gif" width="400" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgX63ket7EPVasFseosfNL-I-Qbo3l1sCVD3RnsB3T5hA-2_UeQhgIBbHkfy_hmEs1tTImusX03ejVU98cfGyY0yNZKAuUMYbQAk01bASH3NXokWgv4FGLu14BN5U3uh6x4hTx4Tp-ArY/s1600/ScreenHunter_16+Oct.+21+14.47.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgX63ket7EPVasFseosfNL-I-Qbo3l1sCVD3RnsB3T5hA-2_UeQhgIBbHkfy_hmEs1tTImusX03ejVU98cfGyY0yNZKAuUMYbQAk01bASH3NXokWgv4FGLu14BN5U3uh6x4hTx4Tp-ArY/s400/ScreenHunter_16+Oct.+21+14.47.gif" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
The most important step is to create a property called <b>csf-key</b> inside <b>INVOKE </b>activity and set the value to your custom variable</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyMkPlgsRRX9ArDoTPbFQMH-B5vob5QqZfq_H4xUGNJfrSWux2lD9lJ1tOTxuTjE0taYPhdCYOMUhM7r8iYhyUgOIJ8sHaFLq34F1G8IQISx2FjB63gFZrYNuVUAfwiTmx97AN6T2TH4I/s1600/ScreenHunter_15+Oct.+21+14.47.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyMkPlgsRRX9ArDoTPbFQMH-B5vob5QqZfq_H4xUGNJfrSWux2lD9lJ1tOTxuTjE0taYPhdCYOMUhM7r8iYhyUgOIJ8sHaFLq34F1G8IQISx2FjB63gFZrYNuVUAfwiTmx97AN6T2TH4I/s400/ScreenHunter_15+Oct.+21+14.47.gif" width="366" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Build and Deploy your code </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<h3 style="clear: both; text-align: left;">
Testing application</h3>
<div>
<br /></div>
<div>
Test <b>CallSecureService </b>from Enterprise Manager, you will see the following Green Flag</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnZ0OdN9KEy0arQCquVvx-e-O4xQQLHd4M-05tA_h0oO8po6xGL6wS6Mbf4FHsP1CFYBY3WiDnQt95anPtCcdRkLUz6NLpXE7rovpMDiU1JYzok5alFA1V6bC3Qgdwzodl0SZn06osw8M/s1600/ScreenHunter_17+Oct.+21+14.55.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="198" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnZ0OdN9KEy0arQCquVvx-e-O4xQQLHd4M-05tA_h0oO8po6xGL6wS6Mbf4FHsP1CFYBY3WiDnQt95anPtCcdRkLUz6NLpXE7rovpMDiU1JYzok5alFA1V6bC3Qgdwzodl0SZn06osw8M/s400/ScreenHunter_17+Oct.+21+14.55.gif" width="400" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Now alter the password in your <b>my-custom-csf-key</b> to some random and Run again, you will see the following error message</div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNOoTo5o8YDlm1hKXOWAKXNzn5xV3fpKQQU-9TT6vB7z6D4LEkzwLtJIXssWFdNy4O0R_gLBE-4PE1X06BlCh3IZgzbSeWyf-Qp3YATYRJK-dI726WeX9ysAJJMP0Z4JGot0Q51_dAsRA/s1600/ScreenHunter_18+Oct.+21+14.56.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNOoTo5o8YDlm1hKXOWAKXNzn5xV3fpKQQU-9TT6vB7z6D4LEkzwLtJIXssWFdNy4O0R_gLBE-4PE1X06BlCh3IZgzbSeWyf-Qp3YATYRJK-dI726WeX9ysAJJMP0Z4JGot0Q51_dAsRA/s400/ScreenHunter_18+Oct.+21+14.56.gif" width="361" /></a></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
There you go we have successfully pass the credentials to our BPEL process dynamically and secure, </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
There is no need to hard code the credentials inside BPEL, WebLogic Key Map store the password and encrypt them securely. </div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
Cheers,</div>
<div class="separator" style="clear: both; text-align: left;">
Zeeshan Baig</div>
<div class="separator" style="clear: both; text-align: left;">
<a href="http://twitter.com/IamZeeshanBaig" target="_blank">@IamZeeshanBaig</a> </div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div>
<br /></div>
<br /></div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-63093899023163167952015-06-22T12:00:00.005-05:002015-06-22T12:00:54.265-05:00Presentation: Cloud Computing Basics<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Hi,<br />
<br />
I presented an internal training on Cloud Computing recently at <a href="http://www.astcorporation.com/" target="_blank">AST Corporation</a>. Following is my slides from the session. I covered basics of cloud computing and some products that Oracle Corporation offers. I also expanded on some of the cloud benefits.<br />
<br />
Hope you get something out of it. Feel free to share the post and comment what you would like to see from me in future sessions.<br />
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="420" marginheight="0" marginwidth="0" scrolling="no" src="//www.slideshare.net/slideshow/embed_code/key/sjRZhUjjVbpQsb" style="border-width: 1px; border: 1px solid #CCC; margin-bottom: 5px; max-width: 100%;" width="510"> </iframe> <br />
<div style="margin-bottom: 5px;">
<strong> <a href="https://www.slideshare.net/baigsorcl/cloud-computing-basics-49694875" target="_blank" title="Cloud Computing Basics">Cloud Computing Basics</a> </strong> from <strong><a href="https://www.slideshare.net/baigsorcl" target="_blank">Zeeshan Baig</a></strong> <br />
<br />
<br />
Regards,<br />
Zeeeshan Baig<br />
<a href="http://www.twitter.com/baigsorcl" target="_blank">@baigsorcl</a></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-19495352939125954912015-05-12T11:32:00.000-05:002015-05-12T11:32:38.874-05:00Oracle XE 11g 64 bit TNS Listener and Network Adapter Issue on Windows 7<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: justify;">
Hi,</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
I have installed Oracle XE database on many machines and this seems to be a bug as I found which have to fix it manually on windows 7. I am not sure about if the problem exists on other platforms.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>Problem</b></div>
<div style="text-align: justify;">
<b><br /></b></div>
<div style="text-align: justify;">
After install oracle XE everything is working as expected but once you restart your machine or database you cannot connect to it using TNS. Direct connection works but not when LISTENER is involved.</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
You might see following exceptions when connecting to database</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>IO Error: The Network Adapter could not establish the connection</b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
<b>ORA-12514: TNS:listener does not currently know of service requested in connect </b><b>descriptor</b></div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
For example look at the following slide</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
Connecting using SQL Command Line with and without using TNS</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR1mtZcLP76rB7sjCErxX3teGqn9QlchGhBoVhpzbj6I39uRurUEuVNrUL7SeK41Ra7ZDxzNGN3GdFT7v8RfU5GheAGfP6-XBMq3k6FJ87-7PX6EWaVJfWDXqgOkQyIz3_QxcnH6hqi0k/s1600/ScreenHunter_13+May.+12+11.08.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiR1mtZcLP76rB7sjCErxX3teGqn9QlchGhBoVhpzbj6I39uRurUEuVNrUL7SeK41Ra7ZDxzNGN3GdFT7v8RfU5GheAGfP6-XBMq3k6FJ87-7PX6EWaVJfWDXqgOkQyIz3_QxcnH6hqi0k/s400/ScreenHunter_13+May.+12+11.08.gif" width="400" /></a></div>
<br />
<br />
<div style="text-align: left;">
<b>Solution</b></div>
<br />
<div style="text-align: justify;">
<b></b>All you need to add XE database information to the LISTNER.ORA file typically found at C:\oraclexe\app\oracle\product\11.2.0\server\network\ADMIN</div>
<div style="text-align: justify;">
<br /></div>
<div style="text-align: justify;">
1. Add the XE database information to LISTENER.ORA file (Highlighted entries)</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtF0O2Tisw8h2fD8HtpxfRgJhCuLxvkxSciGCkUTLRZz8b_Dfb08npgNhCyq0U-SbosR_Q19twMaiV1DhLH0tSJoau49Luc5Ik1jnzv72mS_6hBCxEL4DsJ8ExJYpI8T_kAzvlAKiheUc/s1600/ScreenHunter_14+May.+12+11.10.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="277" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtF0O2Tisw8h2fD8HtpxfRgJhCuLxvkxSciGCkUTLRZz8b_Dfb08npgNhCyq0U-SbosR_Q19twMaiV1DhLH0tSJoau49Luc5Ik1jnzv72mS_6hBCxEL4DsJ8ExJYpI8T_kAzvlAKiheUc/s400/ScreenHunter_14+May.+12+11.10.gif" width="400" /></a></div>
<br />
<br />
<br />
2. Restart the Listener from Services<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhScji68i6_KfjHpgS50biY9gX_DfWYl22HLCsPGezRJSPmFhr-_5oXaGPwNJOubn7uJ_BdBCqUk-aZIXjJ4oxlElpdGS3TFzF-h6ZkJM0HqKZ0qKllufeP5k_AzsBRp40FA3ssPwNJwQQ/s1600/ScreenHunter_17+May.+12+11.13.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="250" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhScji68i6_KfjHpgS50biY9gX_DfWYl22HLCsPGezRJSPmFhr-_5oXaGPwNJOubn7uJ_BdBCqUk-aZIXjJ4oxlElpdGS3TFzF-h6ZkJM0HqKZ0qKllufeP5k_AzsBRp40FA3ssPwNJwQQ/s400/ScreenHunter_17+May.+12+11.13.gif" width="400" /></a></div>
<br />
<br />
<br />
Cheers,<br />
Zeeshan Baig </div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-72327010566358199152015-05-11T09:44:00.000-05:002015-05-11T09:44:59.689-05:00Webinar: Getting Started with Web Services<div dir="ltr" style="text-align: left;" trbidi="on">
Hi,<br />
<br />
Last week I presented an Internal training session at AST Corporation. I thought It would be cool to share it with you all as well.<br />
<br />
Following was the abstract of the session.<br />
<br />
Web services are common way to communicate between applications regardless of languages or platform your application is developed. Therefore, understanding of Web services is a critical skill. In this session we will go through the basics foundation of what web services are and how you can create, utilize, and secure them.<br />
<br />
Topics Include:<br />
1. What is a web service?<br />
2. Understanding of transfer protocols and message formats<br />
3. Understanding different types of Web services<br />
4. Creating basic web services<br />
5. Available tools<br />
6. Security<br />
<br />
Presenter: Zeeshan Baig<br />
<br />
<br />
<br />
<div>
<iframe allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/L_W3_tSXSzU" width="560"></iframe><br />
<br />
Cheers,<br />
Zeeshan Baig<br />
<a href="http://www.twitter.com/baigsorcl" target="_blank">@baigsorcl </a><br />
<br /></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-59057099309926236622015-04-15T09:41:00.001-05:002015-04-15T12:30:30.991-05:00Re-using SOA Composites using Templates<div dir="ltr" style="text-align: left;" trbidi="on">
Greetings,<br />
<br />
Previously in SOA Suite reusing composites were quite a challenge. I recently encountered this requirement and thanks to new feature in SOA Suite 12c release now we can create templates on SOA Projects, Service Components and Custom BPEL scope activity.<br />
<br />
In this post I will cover creating SOA Composite based on a template.<br />
<br />
As an example I have a composite including BPEL process which is generating a report from BI Publisher. The process includes assigning input parameters to web service.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ZHrLSzt0r3YWqCtj5FRRgY-loACp0dXvbC9ipLBjREpwbBRQWn94vrRGdwl2JjUmdyKD8eVnOisen8HBRTqwq4yVoC0P6pZSAroOuC-akkDX1rfMpsXQcwq_pIO_BkH9JCuITBNKU24/s1600/ScreenHunter_01+Apr.+15+10.17.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0ZHrLSzt0r3YWqCtj5FRRgY-loACp0dXvbC9ipLBjREpwbBRQWn94vrRGdwl2JjUmdyKD8eVnOisen8HBRTqwq4yVoC0P6pZSAroOuC-akkDX1rfMpsXQcwq_pIO_BkH9JCuITBNKU24/s1600/ScreenHunter_01+Apr.+15+10.17.gif" height="254" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP7dydFR60kVTDS7GdEKjlO5R7MwgDf_z9yL1vQlNgxnCYHKeDjK00zB0U2NIH76NIJdpafIP4i1eAYm-xntjAjXB3F2RbDhF3TCrHDaIhJ3a3HnrX3M_fIZfRhHru5jlo_GFBvGTPfuc/s1600/ScreenHunter_02+Apr.+15+10.17.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP7dydFR60kVTDS7GdEKjlO5R7MwgDf_z9yL1vQlNgxnCYHKeDjK00zB0U2NIH76NIJdpafIP4i1eAYm-xntjAjXB3F2RbDhF3TCrHDaIhJ3a3HnrX3M_fIZfRhHru5jlo_GFBvGTPfuc/s1600/ScreenHunter_02+Apr.+15+10.17.gif" height="481" width="640" /></a></div>
<br />
<br />
<br />
<b>Creating a Template:</b><br />
<br />
Template creation is simple as it could be. Simply right click the <b>SOA Composite</b> or <b>SOA Project</b> and Choose <b>Create SOA Template</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeXUzGm3m1iJN8OnR5QOfRP76acS5SnT6yro_DZYtNFuQl0u-hG0G2D3ucYEJcd4HwHfO2FC-Y70e5Z27ZuNx6cJffc4pX3B52m39wcW65MZb_1xLjF7VJq_3uyZANF7xSg7adzAGlDqc/s1600/ScreenHunter_03+Apr.+15+10.18.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgeXUzGm3m1iJN8OnR5QOfRP76acS5SnT6yro_DZYtNFuQl0u-hG0G2D3ucYEJcd4HwHfO2FC-Y70e5Z27ZuNx6cJffc4pX3B52m39wcW65MZb_1xLjF7VJq_3uyZANF7xSg7adzAGlDqc/s1600/ScreenHunter_03+Apr.+15+10.18.gif" height="640" width="483" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihooDMr-PpAPw83xfIPgT4DXDcl6eiWWyAYuQONy0wi0x4Cla8ZCaD4zdlnCW6GlW7Q7PhjXAKRU9u-EEEv2kEDn4Lx2NYr2WAvkNMoF-a_Pnhvw-HHMcSDVSRsovX0xs_o9EmwIQPF9M/s1600/ScreenHunter_04+Apr.+15+10.19.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihooDMr-PpAPw83xfIPgT4DXDcl6eiWWyAYuQONy0wi0x4Cla8ZCaD4zdlnCW6GlW7Q7PhjXAKRU9u-EEEv2kEDn4Lx2NYr2WAvkNMoF-a_Pnhvw-HHMcSDVSRsovX0xs_o9EmwIQPF9M/s1600/ScreenHunter_04+Apr.+15+10.19.gif" height="640" width="372" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8JB8zsjb3kK_VBb4U2ST8djxpgmkDOoBEbd6B7DRg0pBJtI2AU9kP2FEkO_AAUsokCXnXx3OewpG80t8z0Ics_SQDcX32oYDHafYpeMJnK57PBmt7g0x6rr_m9X_6GkAIW63dlzRP7b4/s1600/ScreenHunter_05+Apr.+15+10.21.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8JB8zsjb3kK_VBb4U2ST8djxpgmkDOoBEbd6B7DRg0pBJtI2AU9kP2FEkO_AAUsokCXnXx3OewpG80t8z0Ics_SQDcX32oYDHafYpeMJnK57PBmt7g0x6rr_m9X_6GkAIW63dlzRP7b4/s1600/ScreenHunter_05+Apr.+15+10.21.gif" height="480" width="640" /></a></div>
<br />
Next you can select what components you want to include in your template.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6srH-7JVCxQt-LOP4j_xfI81-vRrF9qMxG24S8U6hvCT6bQeYSP8I-CnYfT7J-LCA2zB-ob6ZJbqvlDjhZisIJx8mv45xpMq1Q6JWoH-WpGD_J3IG-doz61EM8ft-JH-Y6QSgq349SzI/s1600/ScreenHunter_06+Apr.+15+10.21.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6srH-7JVCxQt-LOP4j_xfI81-vRrF9qMxG24S8U6hvCT6bQeYSP8I-CnYfT7J-LCA2zB-ob6ZJbqvlDjhZisIJx8mv45xpMq1Q6JWoH-WpGD_J3IG-doz61EM8ft-JH-Y6QSgq349SzI/s1600/ScreenHunter_06+Apr.+15+10.21.gif" height="473" width="640" /></a></div>
<br />
<br />
<b>Reusing Template:</b><br />
<b><br /></b>
Whenever you will create a new SOA Project you will see a new option called <b>SOA Template </b>simply select the template you have created earlier OR click the Green + sign to add templates stored at other location<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-ySiZAVnAfmONA6AQaO0_HmrVHID75Iq7EQfgACCHXqdsIYix7EcxUOcikmQq5AOGBT_cLagu5GqSBUbcotZILahkPrLMcB4dzJs3Bzn3o6bMQhVEloTcJsUs0YCg4GuyXAqvIgfNuWI/s1600/ScreenHunter_07+Apr.+15+10.23.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-ySiZAVnAfmONA6AQaO0_HmrVHID75Iq7EQfgACCHXqdsIYix7EcxUOcikmQq5AOGBT_cLagu5GqSBUbcotZILahkPrLMcB4dzJs3Bzn3o6bMQhVEloTcJsUs0YCg4GuyXAqvIgfNuWI/s1600/ScreenHunter_07+Apr.+15+10.23.gif" height="484" width="640" /></a></div>
<br />
There you go a new project based on template has been created<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjedxudqtEnHhqmlbg9xRGAyAXTwtFS52ZiSCN0dtgQg5H36oPq123OCl09636s30hx7KVcfQkr0nZ0-D_I6-qea1Zn4-kAG5ywJhxVajXicm-x-7LEJV8xlktogzcNScvlEtu2Kb0RDD4/s1600/ScreenHunter_08+Apr.+15+10.23.gif" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjedxudqtEnHhqmlbg9xRGAyAXTwtFS52ZiSCN0dtgQg5H36oPq123OCl09636s30hx7KVcfQkr0nZ0-D_I6-qea1Zn4-kAG5ywJhxVajXicm-x-7LEJV8xlktogzcNScvlEtu2Kb0RDD4/s1600/ScreenHunter_08+Apr.+15+10.23.gif" height="260" width="640" /></a></div>
<br />
<br />
<b>Reference :</b><br />
<a href="https://docs.oracle.com/middleware/1213/soasuite/develop-soa/soa-templates.htm" target="_blank">39 Oracle SOA Suite Templates and Reusable Subprocesses</a><br />
<div>
<br />
<b>Version:</b><br />
SOA Suite 12.1.3.0.0<br />
<br /></div>
<div>
Cheers,</div>
<div>
Zeeshan Baig</div>
<div>
<a href="http://www.twitter.com/baigsorcl" target="_blank">@baigsorcl </a></div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com2tag:blogger.com,1999:blog-6974900699539223894.post-41126021498969661112014-03-24T09:43:00.003-05:002014-03-24T09:44:08.417-05:00Packt 2000th book Campaign - Some cool offers<div dir="ltr" style="text-align: left;" trbidi="on">
Greetings,<br />
<br />
I love reading technical books by Packt Publishing. The cool thing about them their books are TO THE POINT and gives you enough content to understands the concepts and gets going.<br />
<br />
I recently found that Packt Publishing is celebrating their <b>2000th book title</b> and <b>offering "BUY ONE AND GET ONE FREE" on all e-books.</b><br />
<br />
<a href="http://bit.ly/1j26nPN"><br />
</a><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://bit.ly/1j26nPN" target="_blank"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSJSzvrbHjpmdKYaK-csVlsQDj5vKYUh8tuzABmaChFw7sPjJSrQcTiDXcvKh9bbmrYMpeDNqZ7sXmVVy-qvUNmtawaXeH9MNHxzw71COLeTiTFg-EFXDw-R9jZ-PeUZz6IDO0Y2WP9us/s1600/2000th-Book-Home-Page-Banner.png" height="166" width="400" /></a></div>
<br />
<br />
<b>You cannot miss thing opportunity <span style="color: red;">click the Image or link to grab the offer <a href="http://bit.ly/1j26nPN"><span style="color: black;">http://bit.ly/1j26nPN</span></a></span></b><br />
<br />
I will start posting some cool stuff soon.<br />
<br />
Regards,<br />
Zeeshan Baig</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-5753536241902358462013-10-30T10:55:00.000-05:002013-10-30T10:55:04.488-05:00Resolving "oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener Class not Found" Exception<div dir="ltr" style="text-align: left;" trbidi="on">
<h4 style="text-align: left;">
Issue: </h4>
Last week one of my customer reported that they are getting<br />
<br />
<blockquote class="tr_bq">
<h4 style="text-align: left;">
'oracle.security.jps.wls.listeners.JpsApplicationLifecycleListener' Class not Found </h4>
</blockquote>
exception in Weblogic environment. They recently applied a patch and after servers are coming up but most of the applications or deployments were in 'Prepared' state. If you try to start them in Weblogic console you will receive the above error.<br />
<br />
<h4 style="text-align: left;">
Cause:</h4>
<b>StartScriptEnabled </b>property in nodemanager.properties file was set to 'false'. This must set to 'true' if you are going to start your managed servers using Weblogic console.<br />
<br />
<h4 style="text-align: left;">
Solution:</h4>
Simple change the<b> StartScriptEnabled=true</b> in nodemanager.properties file which is usually at WL_HOME/common/nodemanager/ in my case /opt/ora/idm/middleware/wlserver_10.3/common/nodemanager<br />
<br />
Restart the managed server using weblogic console<br />
<br />
<i><b>Note: You might not get this issue if you always start servers using command line. </b></i><br />
<br />
Have a nice day,<br />
Zeeshan<br />
<a href="http://www.twitter.com/baigsorcl" target="_blank">@baigsorcl</a><br />
<br /></div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com1tag:blogger.com,1999:blog-6974900699539223894.post-38737866281035287722013-10-21T14:55:00.001-05:002013-10-21T14:55:38.894-05:00Book Review: Developing Web Applications With Oracle ADF Essentials<div dir="ltr" style="text-align: left;" trbidi="on">
Greetings,<br />
<br />
Here is my review of <a href="http://www.vesterli.com/" target="_blank">Sten E. Vesterli</a> latest book "Developing Web Applications with Oracle ADF Essentials".<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqVo4hUs176MOX56kRs0uNpUHimxjTW-to_Sd_TcHX1CjQ7NWcbUqUMxgmhQF4KCeSgGTeABnFdMh_WZ_PljgGAy0kTNsbyHeLOmmrBRsk_p56c6t41U14FCJYCNb7oFZIlC7VZ3Ba7QA/s1600/adfessentials.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqVo4hUs176MOX56kRs0uNpUHimxjTW-to_Sd_TcHX1CjQ7NWcbUqUMxgmhQF4KCeSgGTeABnFdMh_WZ_PljgGAy0kTNsbyHeLOmmrBRsk_p56c6t41U14FCJYCNb7oFZIlC7VZ3Ba7QA/s320/adfessentials.jpg" width="259" /></a></div>
<br />
<br />
<h2 style="text-align: left;">
Where to get the book</h2>
<ol style="text-align: left;">
<li><a href="http://bit.ly/183rpFB" target="_blank">Packt Publishing</a></li>
<li><a href="http://www.amazon.com/Developing-Web-Applications-Oracle-Essentials/dp/1782170685/ref=sr_1_1?s=books&ie=UTF8&qid=1382371922&sr=1-1&keywords=adf+essentials" target="_blank">Amazon</a></li>
</ol>
<h2 style="text-align: left;">
About the Author (In my words)</h2>
Sten Vesterli is one of the ADF Gurus who contributed to ADF community a lot. He is frequent presenter at global Oracle conferences like Oracle Open World, ODTUG Kscope, IOUG Collaborate and I have always enjoyed his style of presenting and writing. This book is 2nd book by Sten on ADF you can reach him on his website <a href="http://www.vesterli.com/">http://www.vesterli.com/</a> and Twitter <a href="http://www.twitter.com/stenvesterli" target="_blank">www.twitter.com/stenvesterli </a><br />
<br />
<h2 style="text-align: left;">
Introduction:</h2>
The book is focused on the FREE version of Oracle ADF called 'ADF Essentials' it contains 8 chapters and about 270 pages.<br />
<br />
The book takes an example of building a small application and covers a most of the life cycle of ADF Essentials development. The key highlight for me the author is using MySQL database, Glassfish server and Apache Shiro for security. (Security is not part of ADF Essentials license which requires you to work with open source security solutions).<br />
<br />
<h2 style="text-align: left;">
Chapter wise Review</h2>
<h3 style="text-align: left;">
Chapter 1: My First ADF Essentials Application</h3>
First chapter will provide you step by step detail how to install and configure MySQL database, Glassfish server and setting up your development environment in JDeveloper. By end of this chapter you will be able to run a basic page developed in JDeveloper, deployed on Glassfish server using MySQL database. <br />
<h3 style="text-align: left;">
Chapter 2: Creating Business Services</h3>
Second chapter is about working with a Model layer of ADF essentials. The business services as name suggest about setting up back end data model for your application. The author covered quite details about Entity objects, View Objects, View links, Associations and Application Module within a context of example application. There are few best practices tips as well and some bugs fixing tricks. <br />
<h3 style="text-align: left;">
Chapter 3: Creating Task Flows and Pages</h3>
Third chapter takes you to more interesting part of working with ADF essentials which is View Controller layer. View layer is where you develop pages and control the flow of your application. The author explained enough information to work with the best practices like templates, memory scopes and internationalization. By end of this chapter you will have a search page with a result table of your application.<br />
<br />
<h3 style="text-align: left;">
Chapter 4: Adding Business Logic</h3>
Chapter four as name suggests about adding business logic in your application. The chapter includes topics with working with DML, database triggers, Java methods and Managed beans. There is a quite a lot java code there but it is relevant. At this point the example application is pretty much complete.<br />
<br />
<h3 style="text-align: left;">
Chapter 5: Building Enterprise Applications</h3>
Chapter five talked about best practices and setting up your project for an enterprise application. This chapter answers most of the common FAQs for ADF newbies and guide you how to setup projects, version controls, how to make reusable libraries so you can share the code across teams and applications. In this chapter you will be merging all your code into one single master application.<br />
<br />
<h3 style="text-align: left;">
Chapter 6: Debugging ADF Applications</h3>
In this chapter you will learn how to debug ADF application. What are best practices for using logging framework in ADF, JDeveloper and Glassfish server.<br />
<br />
<h3 style="text-align: left;">
Chapter 7: Securing an ADF Essentials Application</h3>
Chapter seven is my favorite chapter. When ADF essentials came out, the missing security feature raised quite few questions in the community but this chapter gave you all what you need to do if you are building secure applications with ADF essentials. The chapter explains detail steps how to configure Apache Shiro with your application and using database table based user repository. <br />
<br />
<h3 style="text-align: left;">
Chapter 8: Build and Deploy</h3>
The final chapter of the book talked about how to build and deploy your application using Apache Ant and other tools and what you need to know if order to deploy ADF applications successfully.<br />
<br />
<h2 style="text-align: left;">
Final Thoughts:</h2>
<div style="text-align: left;">
I think this book provides a very good overview of what you can do with ADF essentials what are limitations and how to overcome on it. This details not only valid for ADF essentials but also works with full version of ADF. </div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b>I find this book could be a great help for who are just going to start ADF development</b>.</div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
Cheers,</div>
<div style="text-align: left;">
Zeeshan Baig</div>
<div style="text-align: left;">
@baigsorcl</div>
</div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-15492405486861635962013-06-27T10:18:00.003-05:002013-06-27T10:18:47.624-05:00Slides from my ODTUG Kscope13 PresentationGreetings,<br />
<br />
I had a great time at ODTUG Kscope13 in New Orleans and good to see some of my friends and ADF audience which is growing year by year. I attended few sessions from ADF, APEX and Database and learned lot. Next year ODTUG kscope is going to be in Seattle and i am excited to be a part of it. I have already start thinking about my new abstracts.<br />
<br />
Thank you ODTUG for providing me this opportunity to share my knowledge.<br />
<br />
Following are the slides from my Kscope13 presentation.<br />
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/23578244" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"> </iframe> <br />
<div style="margin-bottom: 5px;">
<b> <a href="http://www.slideshare.net/baigsorcl/build-yourbusinessservicesfinal-23578244" target="_blank" title="Build your Business Services using ADF Task Flows">Build your Business Services using ADF Task Flows</a> </b> from <b><a href="http://www.slideshare.net/baigsorcl" target="_blank">Zeeshan Baig</a></b> </div>
<br />
Cheers,<br />
Zeeshan Baig<br />
@baigsorcl<br />
<br />Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-46708642373967956082013-05-20T09:32:00.000-05:002013-05-20T09:32:10.041-05:00How to Reset Weblogic Server Administrator Password<div dir="ltr" style="text-align: left;" trbidi="on">
Hi,<br />
<br />
Sometimes there is a possibility that you forget Weblogic server administrator password or you are in the environment where nobody knows the password.<br />
<br />
In this post i will show the steps how to reset weblogic server administrator password<br />
<h4 style="text-align: left;">
What you need?</h4>
<ol style="text-align: left;">
<li>Access to the server where weblogic is installed. </li>
<li>Location where weblogic domain is created default is <fmw-home>/user_projects/domains/<domain-home></li>
</ol>
<h4 style="text-align: left;">
Steps to do:</h4>
<ol style="text-align: left;">
<li>Stop the AdminServer including all managed servers. </li>
<li>Rename the LDAP folder of AdminServer and other managed servers. Location would be like <WLS_DOMAIN>/servers/<server-name>/data/ldap </li>
<li>Run the setDomainEnv.sh or .cmd command to setup the environment i.e. <wls-domain>/bin/</li>
<li>Go to security directory in the domain i.e. <domain-home>/security</li>
<li>Run the following command (Make sure include DOT at the end) java weblogic.security.utils.AdminAccount weblogic welcome1 . </li>
<li> Delete the 'DefaultAuthenticatormyrealmInit.initialized' file from ldap folder in the AdminServer <domain-home>/servers/AdminServer/data/ldap</li>
<li>edit the boot.properties file in <domain-name>/servers/<server-name>/security for all managed servers with your new password</li>
<li>Start the weblogic server</li>
</ol>
<br />
Cheers,<br />
Zeeshan Baig<br />
<br />
<br /></div>
Zeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0tag:blogger.com,1999:blog-6974900699539223894.post-33424725013535367802013-04-09T11:55:00.000-05:002013-04-09T11:55:19.194-05:00Slides from my Sessions at Collaborate 2013Greetings,<br />
<br />
I presented 2 sessions at Collaborate 2013 in Denver. Following are slides from it.<br />
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/18483173" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"> </iframe> <br />
<div style="margin-bottom: 5px;">
<b> <a href="http://www.slideshare.net/baigsorcl/talking-services-with-oracle-adf-and-oracle-soa-suite" target="_blank" title="Talking Services with Oracle ADF and Oracle SOA Suite">Talking Services with Oracle ADF and Oracle SOA Suite</a> </b> from <b><a href="http://www.slideshare.net/baigsorcl" target="_blank">Zeeshan Baig</a></b> </div>
<br />
<br />
<br />
<iframe allowfullscreen="" frameborder="0" height="356" marginheight="0" marginwidth="0" mozallowfullscreen="" scrolling="no" src="http://www.slideshare.net/slideshow/embed_code/18483034" style="border-width: 1px 1px 0; border: 1px solid #CCC; margin-bottom: 5px;" webkitallowfullscreen="" width="427"> </iframe> <br />
<div style="margin-bottom: 5px;">
<b> <a href="http://www.slideshare.net/baigsorcl/oracle-soa-suite-for-high-availability-enterprises" target="_blank" title="Oracle SOA Suite for High availability Enterprises">Oracle SOA Suite for High availability Enterprises</a> </b> from <b><a href="http://www.slideshare.net/baigsorcl" target="_blank">Zeeshan Baig</a></b> </div>
<br />
Enjoy,<br />
Zeeshan BaigZeehttp://www.blogger.com/profile/11089838005628917042noreply@blogger.com0