tag:blogger.com,1999:blog-11414648977996417282024-02-08T13:14:04.290+05:30My Learning's @ Work - by Lakshmipathi KakarlaIf you have knowledge, let others light their candles in it!!!Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.comBlogger138125tag:blogger.com,1999:blog-1141464897799641728.post-80838516805049873392020-02-11T23:50:00.001+05:302020-02-17T10:51:51.032+05:30Terraform:: OCI Provider Quickstart Guide<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background-color: white; color: #172b4d; font-size: 14px; margin-top: 10px; padding: 0px;">
<span style="font-family: inherit;">Following document will provide detailed steps to setup Terraform for OCI on Oracle Linux server and create a VCN in OCI compartment.</span></div>
<h1 id="Terraform::OCIProviderQuickstartGuide-TerraformInstallation:" style="background-color: white; border-bottom-color: rgb(135, 34, 37); color: #172b4d; font-size: 24px; font-weight: normal; letter-spacing: -0.01em; line-height: 1.25; margin: 30px 0px 0px; padding: 0px;">
<span style="font-family: inherit;">Terraform Installation:</span></h1>
<h2 id="Terraform::OCIProviderQuickstartGuide-OL7:" style="background-color: white; border-bottom-color: rgb(135, 34, 37); color: #172b4d; font-size: 20px; font-weight: normal; letter-spacing: -0.008em; line-height: 1.5; margin: 10px 0px 0px; padding: 0px;">
<span style="font-family: inherit;">OL7:</span></h2>
<div style="background-color: white; color: #172b4d; font-size: 14px; margin-top: 10px; padding: 0px;">
<span style="font-family: inherit;">You can setup using YUM or follow manual steps provided below.</span></div>
<ul style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><span style="font-family: inherit;"><strong>Using YUM:</strong><br /><br />sudo yum install -y terraform terraform-provider-oci</span></li>
</ul>
<div style="background-color: white; color: #172b4d; font-size: 14px; margin-top: 10px; padding: 0px;">
<strong><span style="font-family: inherit;"><br /></span></strong></div>
<ul style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><strong><span style="font-family: inherit;">Manual Steps:</span></strong></li>
</ul>
<ol style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><span style="font-family: inherit;">Download terraform and terraform-provider-oci RPM’s from below URL’s.<br /><br /><a class="external-link" href="https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/getPackage/terraform-0.12.20-1.el7.x86_64.rpm" rel="nofollow" style="color: #3b73af; letter-spacing: 0px; text-decoration-line: none;">https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/getPackage/terraform-0.12.20-1.el7.x86_64.rpm</a><br /><a class="external-link" href="https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/getPackage/terraform-provider-oci-3.61.0-1.el7.x86_64.rpm" rel="nofollow" style="color: #3b73af; letter-spacing: 0px; text-decoration-line: none;">https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/getPackage/terraform-provider-oci-3.61.0-1.el7.x86_64.rpm</a></span></li>
<li><span style="font-family: inherit;">Run following commands to install RPM’s<br /><br />sudo rpm -ivh terraform-0.12.20-1.el7.x86_64.rpm<br />sudo rpm -ivh terraform-provider-oci-3.61.0-1.el7.x86_64.rpm</span></li>
</ol>
<div style="background-color: white; color: #172b4d; font-size: 14px; margin-top: 10px; padding: 0px;">
<span style="font-family: inherit;"><br /></span></div>
<h2 id="Terraform::OCIProviderQuickstartGuide-OL6:" style="background-color: white; border-bottom-color: rgb(135, 34, 37); color: #172b4d; font-size: 20px; font-weight: normal; letter-spacing: -0.008em; line-height: 1.5; margin: 30px 0px 0px; padding: 0px;">
<span style="font-family: inherit;">OL6: </span></h2>
<div style="background-color: white; color: #172b4d; font-size: 14px; margin-top: 10px; padding: 0px;">
<span style="font-family: inherit;">In case of OL6, we need to follow manual steps to setup Terraform, and Terrform Provider for OCI.</span></div>
<ul style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><strong><span style="font-family: inherit;">Manual Steps:</span></strong></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
</div>
<ol style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><span style="font-family: inherit;"><strong>Setup Terraform:</strong><br /><strong><br /></strong></span><ol style="list-style-type: lower-alpha; margin: 0px;">
<li><span style="font-family: inherit;">Login to your machine and switch to home directory:<br />cd ~</span></li>
<li><span style="font-family: inherit;">Download Terraform Binary<br />wget <a class="external-link" href="https://releases.hashicorp.com/terraform/0.12.20/terraform_0.12.20_linux_amd64.zip" rel="nofollow" style="color: #3b73af; text-decoration-line: none;">https://releases.hashicorp.com/terraform/0.12.20/terraform_0.12.20_linux_amd64.zip</a></span></li>
<li><span style="font-family: inherit;">Unzip Binary:<br />unzip terraform_0.12.20_linux_amd64.zip</span></li>
<li><span style="font-family: inherit;">Remove Binary:<br />rm terraform_0.12.20_linux_amd64.zip</span></li>
</ol>
</li>
<li><span style="font-family: inherit;"><strong>Setup Terraform OCI Provider:</strong><br /><strong><br /></strong></span><ol style="list-style-type: lower-alpha; margin: 0px;">
<li><span style="font-family: inherit;">Login to your machine and switch to home directory:<br />cd ~</span></li>
<li><span style="font-family: inherit;">Create directory for plugins:<br />mkdir -p .terraform.d/plugins</span></li>
<li><span style="font-family: inherit;">Switch to newly created directory:<br />cd .terraform.d/plugins/</span></li>
<li><span style="font-family: inherit;">Download Terraform OCI Provider Binary:<br />wget <a class="external-link" href="https://releases.hashicorp.com/terraform-provider-oci/3.61.0/terraform-provider-oci_3.61.0_linux_amd64.zip" rel="nofollow" style="color: #3b73af; text-decoration-line: none;">https://releases.hashicorp.com/terraform-provider-oci/3.61.0/terraform-provider-oci_3.61.0_linux_amd64.zip</a></span></li>
<li><span style="font-family: inherit;">Unzip Binary:<br />unzip terraform-provider-oci_3.61.0_linux_amd64.zip</span></li>
<li><span style="font-family: inherit;">Remove Binary:<br />rm terraform-provider-oci_3.61.0_linux_amd64.zip</span></li>
</ol>
<strong><span style="font-family: inherit;"><br /></span></strong></li>
<li><span style="font-family: inherit;"><strong>Add Terraform home to Path</strong><br /><strong><br /></strong>export TF_HOME=~<br />export PATH=$TF_HOME:$PATH<br /><br /><strong>Note:</strong> You can make it permanent by adding it to ~/.bashrc file and then source it.</span></li>
<li><span style="font-family: inherit;">Run below command to test Terraform setup<br /><br />terraform version</span></li>
</ol>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgftHw3DIbdmb4N8ieaeTTE5dtCHLxXD0pZLOqIQArDB_3uKuSUe52zninzC1st4EXk1rj4n1XZL1prW4J66-ikD0W6rW0PCEUgbQJiTTuEZARNYcy_hDtsFpBuvT4NQKIZ4wFbViT0vU4/s1600/20200211_201245_001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="89" data-original-width="374" height="76" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgftHw3DIbdmb4N8ieaeTTE5dtCHLxXD0pZLOqIQArDB_3uKuSUe52zninzC1st4EXk1rj4n1XZL1prW4J66-ikD0W6rW0PCEUgbQJiTTuEZARNYcy_hDtsFpBuvT4NQKIZ4wFbViT0vU4/s320/20200211_201245_001.png" width="320" /></a></div>
<h1 id="Terraform::OCIProviderQuickstartGuide-OCIConsoleSetup:" style="background-color: white; border-bottom-color: rgb(135, 34, 37); color: #172b4d; font-size: 24px; font-weight: normal; letter-spacing: -0.01em; line-height: 1.25; margin: 30px 0px 0px; padding: 0px;">
<span style="font-family: inherit;">OCI Console Setup:</span></h1>
<ol style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><strong><span style="font-family: inherit;">Setup API Signing Key:</span></strong><ol style="list-style-type: lower-alpha; margin: 0px;">
<li><span style="font-family: inherit;">Login to host and run following commands to generate API signing key for OCI user.</span></li>
<li><span style="font-family: inherit;">Go to home directory and create<br /><em><strong>cd ~</strong></em></span></li>
<li><span style="font-family: inherit;">mkdir ~/.oci<br /><strong><em>openssl genrsa -out ~/.oci/oci_api_key.pem -aes128 2048</em></strong><br />Enter Passphrase:</span></li>
<li><span style="font-family: inherit;">Secure private key:<br /><em><strong>chmod go-rwx ~/.oci/oci_api_key.pem</strong></em><br />Get Finger print</span></li>
<li><span style="font-family: inherit;">Generate Fingerprint:<br /><strong><em>openssl rsa -pubout -outform DER -in ~/.oci/oci_api_key.pem | openssl md5 -c</em></strong><br />This fingerprint value required for Terraform OCI provider.</span></li>
<li><span style="font-family: inherit;">Generate Public key:<br /><em><strong>openssl rsa -pubout -in ~/.oci/oci_api_key.pem -out ~/.oci/oci_api_key_public.pem</strong></em></span></li>
<li><span style="font-family: inherit;">Copy Public key:<br /><em><strong>cat ~/.oci/oci_api_key_public.pem</strong></em></span></li>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ00382LW7mF826Fduv1OSYZGgF5HeekrSzt4LQkZTv_Ee_wDNGKkxLXrFPUSf9Xm2bS4Y6ewJAR02dM_Iuqpk3N4Lw9ObRgOgobBvbh9o6DHwJM4H5Bwnu14xXSLmi04mShU8GZT2st0/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="692" data-original-width="1418" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQ00382LW7mF826Fduv1OSYZGgF5HeekrSzt4LQkZTv_Ee_wDNGKkxLXrFPUSf9Xm2bS4Y6ewJAR02dM_Iuqpk3N4Lw9ObRgOgobBvbh9o6DHwJM4H5Bwnu14xXSLmi04mShU8GZT2st0/s640/1.png" width="640" /></a></div>
</ol>
</li>
<li><span style="font-family: inherit;"><strong>Add credentials to OCI console</strong><br /><strong><br /></strong></span><ol style="list-style-type: lower-alpha; margin: 0px;">
<li><span style="font-family: inherit;">Login to the respective OCI Console: </span><ol style="list-style-type: lower-roman; margin: 0px;">
<li><span style="font-family: inherit;">Ashburn Console: <a class="external-link" href="https://console.us-ashburn-1.oraclecloud.com/" rel="nofollow" style="color: #3b73af; letter-spacing: 0px; text-decoration-line: none;">https://console.us-ashburn-1.oraclecloud.com/</a></span></li>
</ol>
</li>
<li><span style="font-family: inherit;">Go to Governance and Administration --> Identity --> Users</span></li>
<li><span style="font-family: inherit;">Click on your username (email id)</span></li>
<li><span style="font-family: inherit;">Click on Add Public Key and paste your key from oci_api_key_public.pem. And add it.</span></li>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCfx7ynPVvk8ohmuIDuafIX6NTsEBSKlHJjAJb8rZ73j_AR91TryG7LKEU5LI_RmKgPrs7xcNJ75NhdOU-lf8HKScdvirPi486-IrhiQCtdpu7Be0indG8opF20wPu_9rQ_aI0qV8B71w/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="359" data-original-width="953" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCfx7ynPVvk8ohmuIDuafIX6NTsEBSKlHJjAJb8rZ73j_AR91TryG7LKEU5LI_RmKgPrs7xcNJ75NhdOU-lf8HKScdvirPi486-IrhiQCtdpu7Be0indG8opF20wPu_9rQ_aI0qV8B71w/s640/2.png" width="640" /></a></div>
<li><span style="font-family: inherit;">Please note the Fingerprint shown on the console.It should match the Fingerprint generated during API signing key generation.</span></li>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6UmZOJBNw5c57XEeizTCWjn9C97ZrigqD9PzBloQM16z7Cduzo2ZkwaCaRzDlvmO3vv9ANy0zylY20seBJGhRBfy1pIh4pUKIr_nlc3dpAz5rOCAd-BLdnCsDdIXtjnheNZ5KV5ykko/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="248" data-original-width="1600" height="98" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiP6UmZOJBNw5c57XEeizTCWjn9C97ZrigqD9PzBloQM16z7Cduzo2ZkwaCaRzDlvmO3vv9ANy0zylY20seBJGhRBfy1pIh4pUKIr_nlc3dpAz5rOCAd-BLdnCsDdIXtjnheNZ5KV5ykko/s640/3.png" width="640" /></a></div>
</ol>
</li>
</ol>
<h1 id="Terraform::OCIProviderQuickstartGuide-TerraformOCIProviderSetup:" style="background-color: white; border-bottom-color: rgb(135, 34, 37); color: #172b4d; font-size: 24px; font-weight: normal; letter-spacing: -0.01em; line-height: 1.25; margin: 30px 0px 0px; padding: 0px;">
<span style="font-family: inherit;">Terraform OCI Provider Setup:</span></h1>
<ol style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><span style="font-family: inherit;"><strong>Create Variable File:</strong></span><ol style="list-style-type: lower-alpha; margin: 0px;">
<li><span style="font-family: inherit;">Login to host (where terraform & terraform OCI provider already installed) and create a directory for terraform scripts.<br />mkdir –p ~/tfscripts</span></li>
<li><div style="padding: 0px;">
<span style="font-family: inherit;">Switch to newly created directory<br />cd ~/tfscripts</span></div>
</li>
<li><div style="padding: 0px;">
<span style="font-family: inherit;">Create a file named <strong>terraform.tfvars</strong> and add below content.</span></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">tenancy_ocid = <span style="background-color: #fff0f0;">"ocid1.tenancy.oc1..aaaaaaaaqms4qy6kxsxsdoaocxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"</span>
user_ocid = <span style="background-color: #fff0f0;">"ocid1.user.oc1..aaaaaaaag4jmbpa2pg5pzea4qsxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"</span>
fingerprint = <span style="background-color: #fff0f0;">"43:3f:3b:ce:d4:49:31:9c:3f:ef:2a:84:9f:eb:7b:3d"</span>
private_key_path = <span style="background-color: #fff0f0;">"~/.oci/oci_api_key.pem"</span>
compartment_ocid = <span style="background-color: #fff0f0;">"ocid1.tenancy.oc1..aaaaaaaaqms4qy6kxsxsdoaocxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"</span>
region = <span style="background-color: #fff0f0;">"us-ashburn-1"</span>
private_key_password = <span style="background-color: #fff0f0;">"<password>"</span>
</pre>
</div>
</li>
<li><strong><span style="font-family: inherit;">tenancy_ocid: </span></strong><ol style="list-style-type: lower-roman; margin: 0px;">
<li><span style="font-family: inherit;">Login to OCI console and click on top right user icon and select Tenancy name to find tenancy OCID</span></li>
</ol>
</li>
<li><strong><span style="font-family: inherit;">user_ocid:</span></strong><ol style="list-style-type: lower-roman; margin: 0px;">
<li><span style="font-family: inherit;">Login to OCI console and Go to Governance and Administration --> Identity --> Users. Click on your username to find user OCID</span></li>
</ol>
</li>
<li><strong><span style="font-family: inherit;">compartment_ocid:</span></strong><ol style="list-style-type: lower-roman; margin: 0px;">
<li><span style="font-family: inherit;">Login to OCI console and Go to Governance and Administration --> Identity --> Compartments. Click on your username to find user OCID</span></li>
</ol>
</li>
<li><strong><span style="font-family: inherit;">fingerprint:</span></strong><ol style="list-style-type: lower-roman; margin: 0px;">
<li><span style="font-family: inherit;">Copy the fingerprint generated during API signing key generation.</span></li>
</ol>
</li>
<li><strong><span style="font-family: inherit;">private_key_path:</span></strong><ol style="list-style-type: lower-roman; margin: 0px;">
<li><span style="font-family: inherit;">location of Private Key</span></li>
</ol>
</li>
<li><strong><span style="font-family: inherit;">private_key_password:</span></strong><ol style="list-style-type: lower-roman; margin: 0px;">
<li><span style="font-family: inherit;">Private Key passphrase</span></li>
</ol>
<span style="font-family: inherit;"></span></li>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnCYFasS2rxCTBywaaLZUxDTBcDf7dIGYytsDOiTbxQYT5e1z-aRhYpMHfvC3ME9-PiKLg613x17E7F0XdsMWT2Q67AogtpJ_b5PwiSTvLh4Q-6biUXyDdnVnSU3ytVsu9M4gADW7qD9w/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="231" data-original-width="1054" height="140" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnCYFasS2rxCTBywaaLZUxDTBcDf7dIGYytsDOiTbxQYT5e1z-aRhYpMHfvC3ME9-PiKLg613x17E7F0XdsMWT2Q67AogtpJ_b5PwiSTvLh4Q-6biUXyDdnVnSU3ytVsu9M4gADW7qD9w/s640/5.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</ol>
</li>
<li><span style="font-family: inherit;"><strong>Create Provider File:</strong><br /><strong><br /></strong></span><ol style="list-style-type: lower-alpha; margin: 0px;">
<li><div style="padding: 0px;">
<span style="font-family: inherit;">Create a file named <strong>provider.tf</strong> with below content.</span></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">variable <span style="background-color: #fff0f0;">"tenancy_ocid"</span> {
}
variable <span style="background-color: #fff0f0;">"user_ocid"</span> {
}
variable <span style="background-color: #fff0f0;">"fingerprint"</span> {
}
variable <span style="background-color: #fff0f0;">"region"</span> {
}
variable <span style="background-color: #fff0f0;">"private_key_path"</span> {
}
variable <span style="background-color: #fff0f0;">"private_key_password"</span> {
}
variable <span style="background-color: #fff0f0;">"compartment_ocid"</span> {
}
provider <span style="background-color: #fff0f0;">"oci"</span> {
tenancy_ocid = <span style="color: #008800; font-weight: bold;">var</span>.tenancy_ocid
user_ocid = <span style="color: #008800; font-weight: bold;">var</span>.user_ocid
fingerprint = <span style="color: #008800; font-weight: bold;">var</span>.fingerprint
region = <span style="color: #008800; font-weight: bold;">var</span>.region
private_key_path = <span style="color: #008800; font-weight: bold;">var</span>.private_key_path
private_key_password = <span style="color: #008800; font-weight: bold;">var</span>.private_key_password
}
</pre>
</div>
<div style="margin-top: 10px; padding: 0px;">
</div>
</li>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo5Og365Uvh2o1iTITGJPzxoAVBWA58x6MyfCm-nAkKezxM4x-GVwO6amxBAiVA52lb-4ID-i0cgDz5JjZeKFkBVwC_L0gD8_IE9czUjSgWEhjjVzpzhPLZHrbnusOnbpi3XGtqNgrUG8/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="694" data-original-width="499" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgo5Og365Uvh2o1iTITGJPzxoAVBWA58x6MyfCm-nAkKezxM4x-GVwO6amxBAiVA52lb-4ID-i0cgDz5JjZeKFkBVwC_L0gD8_IE9czUjSgWEhjjVzpzhPLZHrbnusOnbpi3XGtqNgrUG8/s640/6.png" width="458" /></a></div>
</ol>
<strong><span style="font-family: inherit;"><br /></span></strong></li>
<li><span style="font-family: inherit;"><strong>Initialize Terraform</strong><br /><strong><br /></strong></span><ol style="list-style-type: lower-alpha; margin: 0px;">
<li><span style="font-family: inherit;">Run below command to initialize Terraform and load OCI plugin<br /><em><strong>terraform init</strong></em></span></li>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9UYON09rLMdTNEXmWbbx22sYfsiAqmqF6JeoW1dK8Iz4nIB9IHvWEeW3typwl6nH_spnK6LPu4xOAZpydiZ5ae_FWNTF0yQ-H-LdBb6QMNZ9WS2KZjquPmxR7faitW5xcGEEOFpLu1as/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="568" data-original-width="789" height="460" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj9UYON09rLMdTNEXmWbbx22sYfsiAqmqF6JeoW1dK8Iz4nIB9IHvWEeW3typwl6nH_spnK6LPu4xOAZpydiZ5ae_FWNTF0yQ-H-LdBb6QMNZ9WS2KZjquPmxR7faitW5xcGEEOFpLu1as/s640/7.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</ol>
</li>
<li><span style="font-family: inherit;"><strong>Validate Terraform configuraiton</strong><br /><strong><br /></strong></span><ol style="list-style-type: lower-alpha; margin: 0px;">
<li><span style="font-family: inherit;">Run below command to validate Terraform setup<br /><em><strong>terraform validate</strong></em></span></li>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia5O7oJzqM9R6WPwVxgkN241mHWNFiNFhPnjfwNCY6qhPjaX3zOFbehxa4pwQ9P6OXXFnjWF25qQ1Goj9vhLVKcFSVDcnsOwXLqLW6B6EVcwoda7e9Qgf3U5E3UgwMMd9zToIuwmhwY0c/s1600/20200211_201702_001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="103" data-original-width="456" height="144" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEia5O7oJzqM9R6WPwVxgkN241mHWNFiNFhPnjfwNCY6qhPjaX3zOFbehxa4pwQ9P6OXXFnjWF25qQ1Goj9vhLVKcFSVDcnsOwXLqLW6B6EVcwoda7e9Qgf3U5E3UgwMMd9zToIuwmhwY0c/s640/20200211_201702_001.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</ol>
</li>
</ol>
<h1 id="Terraform::OCIProviderQuickstartGuide-CreateVCNinOCI:" style="background-color: white; border-bottom-color: rgb(135, 34, 37); color: #172b4d; font-size: 24px; font-weight: normal; letter-spacing: -0.01em; line-height: 1.25; margin: 30px 0px 0px; padding: 0px;">
<span style="font-family: inherit;">Create VCN in OCI:</span></h1>
<div style="background-color: white; color: #172b4d; font-size: 14px; margin-top: 10px; padding: 0px;">
<span style="font-family: inherit;"><br /></span></div>
<div style="background-color: white; color: #172b4d; font-size: 14px; margin-top: 10px; padding: 0px;">
<span style="font-family: inherit;">Following steps will help you to create VCN in OCI using Terraform Provider.</span></div>
<div style="background-color: white; color: #172b4d; font-size: 14px; margin-top: 10px; padding: 0px;">
<span style="font-family: inherit;"><br /></span></div>
<ol style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><div style="padding: 0px;">
<span style="font-family: inherit;">Switch to terraform scripts directory</span></div>
<div style="margin-top: 10px; padding: 0px;">
<span style="font-family: inherit;">cd ~/tfscripts</span></div>
</li>
<li><div style="padding: 0px;">
<span style="font-family: inherit;">Create a file named vcn.tf and add below content</span></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">resource <span style="background-color: #fff0f0;">"oci_core_vcn"</span> <span style="background-color: #fff0f0;">"vcn1"</span> {
cidr_block = <span style="background-color: #fff0f0;">"10.0.0.0/16"</span>
dns_label = <span style="background-color: #fff0f0;">"vcn1"</span>
compartment_id = <span style="color: #008800; font-weight: bold;">var</span>.compartment_ocid
display_name = <span style="background-color: #fff0f0;">"vcn1"</span>
}
output <span style="background-color: #fff0f0;">"vcn_id"</span> {
value = oci_core_vcn.vcn1.id
}
</pre>
</div>
<div style="margin-top: 10px; padding: 0px;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
</li>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHKc34UeJX9RFCi_kqo5DFORUgZN6lgWVOJ6T8xRU-93R8ha1isYxUlrFEFfE8NLVd4xGiOs3uQIcheSdkwm6cF-k4aqvM65Kw6IyVYtmstCDAHc7iskP6dQTuGZaD0JcO6Am2r-B2_kI/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="276" data-original-width="402" height="219" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHKc34UeJX9RFCi_kqo5DFORUgZN6lgWVOJ6T8xRU-93R8ha1isYxUlrFEFfE8NLVd4xGiOs3uQIcheSdkwm6cF-k4aqvM65Kw6IyVYtmstCDAHc7iskP6dQTuGZaD0JcO6Am2r-B2_kI/s320/8.png" width="320" /></a></div>
<li><span style="font-family: inherit;">Run below command to view the changes to OCI compartment<br /><em><strong>terraform plan</strong></em><br /><br /><div class="separator" style="clear: both; text-align: center;">
</div>
</span></li>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0vco4QuY9KpI3eFGBk7DeT9QP2ztaannMeWoXyBC82vBCfob-YrmTi2KQ4th278oS3NYJBiWrf2I0wlTFvoHFis6MvSRFcwyLGUA7dRwfw3cyKE7ajPoLzBVKrkMlBxa9xL_W9s7vGwc/s1600/9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="750" data-original-width="1149" height="416" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0vco4QuY9KpI3eFGBk7DeT9QP2ztaannMeWoXyBC82vBCfob-YrmTi2KQ4th278oS3NYJBiWrf2I0wlTFvoHFis6MvSRFcwyLGUA7dRwfw3cyKE7ajPoLzBVKrkMlBxa9xL_W9s7vGwc/s640/9.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<li><span style="font-family: inherit;">Apply changes and VCN will be created in OCI compartment.<br /><em><strong>terraform apply</strong></em><br /><br />
<div class="separator" style="clear: both; text-align: center;">
</div>
</span></li>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPpTlrN-y2obuvTO7gN2iQehTDXMLcxaOlJ_hudU9hQvgz8wF3hyphenhyphen-xCp25z9ezQd0168NlUgUED5yGq_sy2APwWAJ61J84DiF7A-NlMYkILBlFHmPhL7JJs2DeiAJ8upHx8DCBadzB4EY/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="724" data-original-width="954" height="484" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPpTlrN-y2obuvTO7gN2iQehTDXMLcxaOlJ_hudU9hQvgz8wF3hyphenhyphen-xCp25z9ezQd0168NlUgUED5yGq_sy2APwWAJ61J84DiF7A-NlMYkILBlFHmPhL7JJs2DeiAJ8upHx8DCBadzB4EY/s640/10.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuJ8sWyJKbsd9viO5JAtU9EHBO4HmWSVAfELyIRcQcJoC5MKVe3ySwkZK4dwV4_oAWJ5PaqCrQgoD0SQpszc_91zysyoE7eK8RzaG6egTW6Iych5v2ZzPw8GRnRtSVlkcJZEtYHQJzdZE/s1600/11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="388" data-original-width="1600" height="154" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuJ8sWyJKbsd9viO5JAtU9EHBO4HmWSVAfELyIRcQcJoC5MKVe3ySwkZK4dwV4_oAWJ5PaqCrQgoD0SQpszc_91zysyoE7eK8RzaG6egTW6Iych5v2ZzPw8GRnRtSVlkcJZEtYHQJzdZE/s640/11.png" width="640" /></a></div>
<li><span style="font-family: inherit;">Destroy to delete VCN from your compartment.<br /><em><strong>terraform destroy</strong></em><br /><br />
</span></li>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnkEsCKAmREjZDopLQJACsO3ZGQpZrc5Zook7-KTrfLlip2QkO7BljFV9v5J8OskzFK2oigxEIZe9tzfld61sRUlPbzd5z1zfxhKTeXo_RW6EtaO6tUN4E_ewwJ5VMEyIGRoVDPsmAiqk/s1600/12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="727" data-original-width="1152" height="402" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnkEsCKAmREjZDopLQJACsO3ZGQpZrc5Zook7-KTrfLlip2QkO7BljFV9v5J8OskzFK2oigxEIZe9tzfld61sRUlPbzd5z1zfxhKTeXo_RW6EtaO6tUN4E_ewwJ5VMEyIGRoVDPsmAiqk/s640/12.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
</ol>
<h1 id="Terraform::OCIProviderQuickstartGuide-AdditionalReferences:" style="background-color: white; border-bottom-color: rgb(135, 34, 37); color: #172b4d; font-size: 24px; font-weight: normal; letter-spacing: -0.01em; line-height: 1.25; margin: 30px 0px 0px; padding: 0px;">
<span style="font-family: inherit;">Additional References:</span></h1>
<ul style="background-color: white; color: #172b4d; font-size: 14px; margin: 10px 0px 0px;">
<li><a class="external-link" href="https://www.terraform.io/docs/providers/oci/index.html" rel="nofollow" style="color: #3b73af; text-decoration-line: none;"><span style="font-family: inherit;">https://www.terraform.io/docs/providers/oci/index.html</span></a></li>
<li><a class="external-link" href="https://github.com/terraform-providers/terraform-provider-oci/tree/master/examples" rel="nofollow" style="color: #3b73af; text-decoration-line: none;"><span style="font-family: inherit;">https://github.com/terraform-providers/terraform-provider-oci/tree/master/examples</span></a></li>
<li><a class="external-link" href="https://www.terraform.io/downloads.html" rel="nofollow" style="color: #3b73af; text-decoration-line: none;"><span style="font-family: inherit;">https://www.terraform.io/downloads.html</span></a></li>
<li><a class="external-link" href="https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/index.html" rel="nofollow" style="color: #3b73af; text-decoration-line: none;"><span style="font-family: inherit;">https://yum.oracle.com/repo/OracleLinux/OL7/developer/x86_64/index.html</span></a></li>
<li><a class="external-link" href="https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin" rel="nofollow" style="color: #3b73af; text-decoration-line: none;"><span style="font-family: inherit;">https://www.terraform.io/docs/plugins/basics.html#installing-a-plugin</span></a></li>
<li><a class="external-link" href="https://www.terraform.io/docs/providers/oci/guides/version-2-upgrade.html" rel="nofollow" style="color: #3b73af; text-decoration-line: none;"><span style="font-family: inherit;">https://www.terraform.io/docs/providers/oci/guides/version-2-upgrade.html</span></a></li>
</ul>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-87051916662965656552020-01-11T23:02:00.000+05:302020-02-13T13:21:29.254+05:30Kubernetes:: Deploy the Web UI (Dashboard)<div dir="ltr" style="text-align: left;" trbidi="on">
Recently I started exploring Kubernetes and tried to deploy the dashboard UI. Here is the list of steps followed to setup dashboard for my kubernetes cluster.<br />
<br />
<br />
1. Refer to <a href="https://github.com/kubernetes/dashboard">https://github.com/kubernetes/dashboard</a> to get latest YAML file to setup dashboard. Run following command on your master node to deploy latest dashboard.<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0-rc5/aio/deploy/recommended.yaml
</pre>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCDltEvdnWXJH7eDnZ_FSzitKKyLMgRERKgwD_h0ZMpswklb0obWSecAKa4foMIveLTKZI71xsB02Areq9F1JtVrAluxjpy2270X3V19Lm0rt5KiKJ0VKHnDLLdFmJKQ8NC9qZNYY1JDc/s1600/1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="286" data-original-width="1253" height="146" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCDltEvdnWXJH7eDnZ_FSzitKKyLMgRERKgwD_h0ZMpswklb0obWSecAKa4foMIveLTKZI71xsB02Areq9F1JtVrAluxjpy2270X3V19Lm0rt5KiKJ0VKHnDLLdFmJKQ8NC9qZNYY1JDc/s640/1.png" width="640" /></a></div>
<br />
<br />
2. Run below command to view the deployed dashboard details<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">kubectl get services --all-namespaces -o wide
kubectl get deployments --all-namespaces -o wide
kubectl get pods --all-namespaces -o wide
kubectl -n kubernetes-dashboard describe pod kubernetes-dashboard
kubectl -n kubernetes-dashboard describe pod dashboard-metrics-scraper
</pre>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCAF3uKMLz1Uhhrut7x7f-llOs0yWvBtKlBwgCMCf-jMBWJMsiwbdxogNkXtOSjvJxo5voC78l3NSXpciLDcAHxbbd4_Nky-Fxl1b2Y7toke7RaHi7bmJOWrYh1sKDCojDggUIl3cnLec/s1600/2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="664" data-original-width="1600" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCAF3uKMLz1Uhhrut7x7f-llOs0yWvBtKlBwgCMCf-jMBWJMsiwbdxogNkXtOSjvJxo5voC78l3NSXpciLDcAHxbbd4_Nky-Fxl1b2Y7toke7RaHi7bmJOWrYh1sKDCojDggUIl3cnLec/s640/2.png" width="640" /></a></div>
<br />
<br />
3. Create a dashboard-admin-service-account.yaml file with below content.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">apiVersion: v1
kind: ServiceAccount
metadata:
name: dashboard-user
namespace: kubernetes-dashboard
<span style="color: #0e84b5; font-weight: bold;">---</span>
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: dashboard-user
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: cluster-admin
subjects:
- kind: ServiceAccount
name: dashboard-user
namespace: kubernetes-dashboard
</pre>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfp5w4Dlj3Q0LskcmtfdUS7mnZeVxdXGj501E62srAk5sprcPMTood0BEWavqDI2Nx_GfjgcWPll36nT6z08i2T8ttlUqF35YhvLrPtRmQzAmvdTyMEZ_Rcop3pd4JRdnWbGeutC_QBtQ/s1600/3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="316" data-original-width="403" height="312" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfp5w4Dlj3Q0LskcmtfdUS7mnZeVxdXGj501E62srAk5sprcPMTood0BEWavqDI2Nx_GfjgcWPll36nT6z08i2T8ttlUqF35YhvLrPtRmQzAmvdTyMEZ_Rcop3pd4JRdnWbGeutC_QBtQ/s400/3.png" width="400" /></a></div>
<br />
<br />
4. Run the dashboard-admin-service-account.yaml file to perform following actions.<br />
<br />
<ul style="text-align: left;">
<li>Create Service Account with name dashboard-user in namespace kubernetes-dashboard first.</li>
<li>Create ClusterRoleBinding for ServiceAccount</li>
</ul>
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">kubectl apply -f dashboard-admin-service-account.yaml
</pre>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8M7qldbeAc1vmBWlah7jcQbPJAuGqd-WZdllR1pIFCqmfIPnYjCjj1geX2BNdqWijGE2SjMQKm3GaUPNQ4T81nKjsNTZe05VZF2qREb98XlEGPoj41dLihpGR_sRtiifS_CX6WeW2Opo/s1600/4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="86" data-original-width="744" height="72" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8M7qldbeAc1vmBWlah7jcQbPJAuGqd-WZdllR1pIFCqmfIPnYjCjj1geX2BNdqWijGE2SjMQKm3GaUPNQ4T81nKjsNTZe05VZF2qREb98XlEGPoj41dLihpGR_sRtiifS_CX6WeW2Opo/s640/4.png" width="640" /></a></div>
<br />
<br />
5. Run below command to get token for the dashboard-user user. This is required to login to dashboard.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">kubectl -n kubernetes-dashboard describe secret <span style="color: #008800; font-weight: bold;">$(</span>kubectl -n kubernetes-dashboard get secret | grep dashboard-user | awk <span style="background-color: #fff0f0;">'{print $1}'</span><span style="color: #008800; font-weight: bold;">) | grep token:</span>
</pre>
</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuXx_6kzwhC6EXjD9jHcoqcLGD09ME7D8vtjkahdnt3dD26MGy3p_N_RtTlX6-BJRWyUGJ3UDO64h8XB6hJUHx9Q8WrOBeJIs_WWyVvs-ZIarr07Jr_jIGK_lVPNYuODbW0NZt_R-ybYI/s1600/5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="285" data-original-width="1600" height="114" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuXx_6kzwhC6EXjD9jHcoqcLGD09ME7D8vtjkahdnt3dD26MGy3p_N_RtTlX6-BJRWyUGJ3UDO64h8XB6hJUHx9Q8WrOBeJIs_WWyVvs-ZIarr07Jr_jIGK_lVPNYuODbW0NZt_R-ybYI/s640/5.png" width="640" /></a></div>
<div>
<br /></div>
<br />
6. Run below command to access Dashboard from your local workstation you must create a secure channel to your Kubernetes cluster<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;">kubectl proxy
</pre>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjQ0BEUwqsNOvmVaWmfmmTk0uFTHBFVe15MCubiH8X5B4dgxCNaFMZLZ_ybM-1Kw2M-vL_rX16L0Xz1WIoXGr84GUJbLeJ1xhJulQTzffLOqjdhDQcdTj9MQRSi1vhbjmCdaQB8zwm1N8/s1600/6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="77" data-original-width="389" height="78" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjQ0BEUwqsNOvmVaWmfmmTk0uFTHBFVe15MCubiH8X5B4dgxCNaFMZLZ_ybM-1Kw2M-vL_rX16L0Xz1WIoXGr84GUJbLeJ1xhJulQTzffLOqjdhDQcdTj9MQRSi1vhbjmCdaQB8zwm1N8/s400/6.png" width="400" /></a></div>
<br />
<br />
7. Setup SSH tunneling via Putty. This step is not required, if you are accessing browser on same host.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc559Kv3JUdO0DKEH-thp0UZ3MSJlIJWVphBU24zwMrtXysnNQIi0ws36izoz0NtY41c3V2pzYwKaRoxkgWtVihz3t5PO3yFYUia8Kuk7H4d3sXumLVFvR3cqp1bOzi_n2ugQswqGtiH8/s1600/7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="440" data-original-width="452" height="388" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgc559Kv3JUdO0DKEH-thp0UZ3MSJlIJWVphBU24zwMrtXysnNQIi0ws36izoz0NtY41c3V2pzYwKaRoxkgWtVihz3t5PO3yFYUia8Kuk7H4d3sXumLVFvR3cqp1bOzi_n2ugQswqGtiH8/s400/7.png" width="400" /></a></div>
<br />
<br />
8. Open browser and access below URL.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="background-color: #ffaaaa; color: red;">http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy</span>
</pre>
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq2i6OiQF0svRWuQzpyv0POYNI9o4IGk7yo9m8Sn-cHglEPeN2cG6D2AeU0tsM7NwUfD9jhsrqdJXjhmuHxnFTBoVXQGWlAJAxm66U97df7uzNyS5yPzmiiHPrck1PAFwuvJDzIm0uOaE/s1600/8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="566" data-original-width="1384" height="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiq2i6OiQF0svRWuQzpyv0POYNI9o4IGk7yo9m8Sn-cHglEPeN2cG6D2AeU0tsM7NwUfD9jhsrqdJXjhmuHxnFTBoVXQGWlAJAxm66U97df7uzNyS5yPzmiiHPrck1PAFwuvJDzIm0uOaE/s640/8.png" width="640" /></a></div>
<br />
<br />
9. Select Token and copy the token output from step#6 into Enter token field on login screen.. Click on Sign in button.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCTAbV9RqwiWEq1KOkuLZdHUPCnGRoDZwsi02Jb5B3Q_qwiuFimKapJy7kPMGSqr2Xdg3C8ijrGDSYdxj2jQJxOTSW-6D9rQm9CxGn_EhzF0GM22gq5GPMTYlTMVtlS-EgTjtGXChFiPo/s1600/9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="566" data-original-width="1384" height="260" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCTAbV9RqwiWEq1KOkuLZdHUPCnGRoDZwsi02Jb5B3Q_qwiuFimKapJy7kPMGSqr2Xdg3C8ijrGDSYdxj2jQJxOTSW-6D9rQm9CxGn_EhzF0GM22gq5GPMTYlTMVtlS-EgTjtGXChFiPo/s640/9.png" width="640" /></a></div>
<br />
<br />
10. Dashboard will be displayed.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKd2YuR5oOBWTjm7ZCV4lr9Q0l5kzZm1H2hLciqwaq_x1CRqBA5jYa6wPDUq0VnhQnnJcwdN4u85f1Apfgx5BDYKC0-_Ab-z3ZALfr01R8mUV_uaDDwP__BhVh7TT_EiNmmlBXnAuFTu8/s1600/9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="865" data-original-width="1600" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjKd2YuR5oOBWTjm7ZCV4lr9Q0l5kzZm1H2hLciqwaq_x1CRqBA5jYa6wPDUq0VnhQnnJcwdN4u85f1Apfgx5BDYKC0-_Ab-z3ZALfr01R8mUV_uaDDwP__BhVh7TT_EiNmmlBXnAuFTu8/s640/9.png" width="640" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK41vKWYveIOnEOP5Z6Lwl0dFRWWhzRB48cAhWAehi_WLWB2PTOGdEYAUAOcbmrNzcUqeBwMrs1fKnWg9H2JNS5HRpZrh3PcqNXnAdJfEqt4FoivLx-sRNeNCSK-bENq89Ds4uBjUnCEQ/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="874" data-original-width="1600" height="348" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK41vKWYveIOnEOP5Z6Lwl0dFRWWhzRB48cAhWAehi_WLWB2PTOGdEYAUAOcbmrNzcUqeBwMrs1fKnWg9H2JNS5HRpZrh3PcqNXnAdJfEqt4FoivLx-sRNeNCSK-bENq89Ds4uBjUnCEQ/s640/10.png" width="640" /></a></div>
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-65573049935601343112019-08-13T16:24:00.001+05:302019-08-13T16:24:14.594+05:30Oracle Cloud (OCI):: Autonomous Database (ATP/ADW)<div dir="ltr" style="text-align: left;" trbidi="on">
The Database service in Oracle Cloud Infrastructure offers <span style="color: blue;"><b>autonomous </b></span>and <span style="color: red;"><b>user-managed</b></span> Oracle Database solutions.<br />
<br />
<ul style="text-align: left;">
<li>Autonomous databases are preconfigured, fully-managed environments that are suitable for either transaction processing or for data warehouse workloads. </li>
<li>User-managed solutions are bare metal, virtual machine, and Exadata DB systems that you can customize with the resources and settings that meet your needs.</li>
</ul>
<h3 style="text-align: left;">
<span style="color: red;">Autonomous Database Features:</span></h3>
<div>
<span style="color: red;"><br /></span></div>
<ul style="text-align: left;">
<li><b>No Human Labor: </b>Database automatically upgrades, patches, and tunes itself while running; automates security updates with no downtime window required.</li>
<li><b>No Human Error: </b>SLA guarantees 99.995% reliability and availability, which minimizes costly planned and unplanned downtime to less than 30 minutes a year.</li>
<li><b>No Manual Performance Tuning:</b> Database consumes less compute and storage because of machine learning and automatic compression. Combined with lower manual admin costs, Oracle offers even bigger cost savings.</li>
<li><b>Self-Securing:</b> Oracle Autonomous Database protects you from both external attacks and malicious internal users, which means you can stop worrying about cyberattacks on unpatched or unencrypted databases.</li>
<li><b>SQL Developer Web</b></li>
<li><b>APEX Workspace</b></li>
<li><b>OML Notebooks</b></li>
<li>End-to-end automation for:</li>
<ul>
<li>Provisioning</li>
<li>Security</li>
<li>Updates</li>
<li>Availability</li>
<li>Performance</li>
<li>Change management</li>
<li>Errors</li>
</ul>
<ul>
</ul>
</ul>
<br />
In this tutorial, I will take you through the steps to create an <b><span style="color: blue;">Autonomous Oracle Database</span></b> solution (<b>Autonomous Transaction Processing</b> and <b>Autonomous Data Warehouse</b>) in Oracle Cloud Console.<br />
<br />
<h3 style="text-align: left;">
<span style="color: red;">Create Autonomous Transaction Processing (ATP) Database:</span></h3>
<br />
1. Login to <b>Oracle Cloud Console</b>. Browse <b>http://cloud.oracle.com/</b> and click <b>Sign In</b> at the top of the page. Enter the <b>Account Name</b> and click on <b>Next</b>. Select Identity Provider as '<b>oracleidentitycloudservice</b>' and click on <b>Continue </b>button under Single Sign-On Section. Enter <b>Username </b>and <b>Password</b>, click on <b>Sign In</b>. You're then directed to the Oracle Cloud Console.<br />
<br />
Refer to <a href="https://www.lkakarla.com/2019/08/oracle-cloud-oci-getting-started.html" target="_blank">post</a> to get trail access to Oracle Cloud.<br />
<br />
2. Open the navigation menu. Under <b>Database</b>, click <b>Autonomous Transaction Processing.</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1JNHzqwgOfHgWMVtJ7b89hyphenhyphen_6snz9mIwhyr1EZRuSWcyS1zPtCSAAdd4S8Qb3yeTt3V9zhfLbQx_S0_o9LYWOSLFDl1aNOeNujai3EMUjvf2tEgwn1RTZQadmvdSXGC4QCPRmwWMRGaY/s1600/1_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1JNHzqwgOfHgWMVtJ7b89hyphenhyphen_6snz9mIwhyr1EZRuSWcyS1zPtCSAAdd4S8Qb3yeTt3V9zhfLbQx_S0_o9LYWOSLFDl1aNOeNujai3EMUjvf2tEgwn1RTZQadmvdSXGC4QCPRmwWMRGaY/s640/1_1.png" width="640" /></a></div>
<br />
<br />
3. Click <b>Create Autonomous Database</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOZBJ4npEJa765zSFyM_Uaiya1ZyO_sApIh6X4wHRIvM_Fn-yahb_OmKiMJGdOtPX86k_0V6NLOwCxUYZ3UeMYHdPLNLA0PvT8FjdrhS0MZHEcZ2YUTW_0VRAgbHe5t7zy_28exmI2mp8/s1600/1_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiOZBJ4npEJa765zSFyM_Uaiya1ZyO_sApIh6X4wHRIvM_Fn-yahb_OmKiMJGdOtPX86k_0V6NLOwCxUYZ3UeMYHdPLNLA0PvT8FjdrhS0MZHEcZ2YUTW_0VRAgbHe5t7zy_28exmI2mp8/s640/1_2.png" width="640" /></a></div>
<br />
<br />
4. On the <b>Create Autonomous Database </b>page, provide the specify following information:<br />
<br />
<b>Choose a compartment</b>:<br />
<b>Display Name</b>: A friendly, display name for the DB system. The name doesn't need to be unique. An Oracle Cloud Identifier (OCID) will uniquely identify the DB system.<br />
<b>Database Name</b>: The name for the database.<br />
<b>Choose a workload Type</b>: Transaction Processing<br />
<b>Choose a deployment Type</b>: Serverless or Dedicated Infrastructure<br />
<b>Configure the Database</b>: Choose CPU Core Count and Storage(TB)<br />
<b><br /></b>
<b>Create Administrator Credentials</b>:<br />
<br />
<b>Username</b>: ADMIN (Default, can't be changed)<br />
<b>Password</b>:<br />
<b>Confirm Password:</b> Re-enter the SYS password you specified.<br />
<br />
<b>Choose a license type: </b>BYOL or License Included<br />
<br />
Click on '<b><span style="color: blue;">Create Autonomous Database</span></b>'<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiROu8d0oY6BbdO-5EMgzVDUzzm6vAegyJv1_9l7hwefxdkXL761NJiENcYq4EAv_ZVxYdedMjAWzXMXj_HWq24TLKLjIhupM10NTba7UvY1MSxtUvFnYXSPNtTWDrn0Q93db0oMX67Uqc/s1600/1_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiROu8d0oY6BbdO-5EMgzVDUzzm6vAegyJv1_9l7hwefxdkXL761NJiENcYq4EAv_ZVxYdedMjAWzXMXj_HWq24TLKLjIhupM10NTba7UvY1MSxtUvFnYXSPNtTWDrn0Q93db0oMX67Uqc/s640/1_3.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-97S1XQuUIClEJYzXn5I2fTw0vIhDU-uuvz_A7ezko7v5ErkpPMGMn6RxpiBQDAhC0RHAiwe3SViXYEyOhhjL6PBq-Cp9HaY8g38mx5ZgnX-__D0tPUIoR2ms8-VztPZ0CvUoSzEj3G4/s1600/1_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-97S1XQuUIClEJYzXn5I2fTw0vIhDU-uuvz_A7ezko7v5ErkpPMGMn6RxpiBQDAhC0RHAiwe3SViXYEyOhhjL6PBq-Cp9HaY8g38mx5ZgnX-__D0tPUIoR2ms8-VztPZ0CvUoSzEj3G4/s640/1_4.png" width="640" /></a></div>
<br />
<br />
5. Autonomous Database Provisioning page will be displayed. Once it's provisioned click on '<b>DB Connection</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLIIfrJb1Tjbqo-TThqI_36vib-GA7jwPSkfh8-xGLac79r6Jn7cF9Xzhwfy91dREeWEMGhZdcjMLeSs9w5aAzWpJRnJx8jCCvPZIWrrZHADQaR84yIfAnlRBhzyB4YgHgm9xqXkqASkQ/s1600/1_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLIIfrJb1Tjbqo-TThqI_36vib-GA7jwPSkfh8-xGLac79r6Jn7cF9Xzhwfy91dREeWEMGhZdcjMLeSs9w5aAzWpJRnJx8jCCvPZIWrrZHADQaR84yIfAnlRBhzyB4YgHgm9xqXkqASkQ/s640/1_5.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlhDzMUSomd-nu_rqkfPAreYhXWI7UMcrto2XVTxbEaKk5WXE1kete31o8MA_gQjmKYNSVmkKDCi8b8QT82EtWXVs7SdopakN1vZ4bHdDZOWb_qQXz9Y0igKEK56r_um8J12M95FzAOKU/s1600/1_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlhDzMUSomd-nu_rqkfPAreYhXWI7UMcrto2XVTxbEaKk5WXE1kete31o8MA_gQjmKYNSVmkKDCi8b8QT82EtWXVs7SdopakN1vZ4bHdDZOWb_qQXz9Y0igKEK56r_um8J12M95FzAOKU/s640/1_6.png" width="640" /></a></div>
<br />
<br />
6. Enter password to download the client credentials. Click on '<b>Download</b>' to download the client credentials.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBMfQyBhnKgEYHidCw34m03wDqJFpRZldCf4iNEi-JJhCi6BMHdX2YT6VhJiCMEFOkZeBgbjqrhQuOtfjmRWbdb46tny3mJz5PIZpW2luc0eXmLbyOEyEps6TqEysC5hMTd9_g6FM4eHg/s1600/1_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBMfQyBhnKgEYHidCw34m03wDqJFpRZldCf4iNEi-JJhCi6BMHdX2YT6VhJiCMEFOkZeBgbjqrhQuOtfjmRWbdb46tny3mJz5PIZpW2luc0eXmLbyOEyEps6TqEysC5hMTd9_g6FM4eHg/s640/1_7.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirmB3-2m69AwRN7GXcUh3kERoiakPk_mIc2eHi3s5B1zUUJ-523SoLxGQIQUgMNFtvN74Zhju81wMnCTu8afg_tti-6nPfc4Th2y-QaE9KsLvRq6TrJN2BRd2JbG5lAyaN8NdYkL0OWCo/s1600/1_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirmB3-2m69AwRN7GXcUh3kERoiakPk_mIc2eHi3s5B1zUUJ-523SoLxGQIQUgMNFtvN74Zhju81wMnCTu8afg_tti-6nPfc4Th2y-QaE9KsLvRq6TrJN2BRd2JbG5lAyaN8NdYkL0OWCo/s640/1_8.png" width="640" /></a></div>
<br />
<h3 style="text-align: left;">
<span style="color: red;"><br /></span></h3>
<h3 style="text-align: left;">
<span style="color: red;">Connect to Autonomous Database using SQL Developer Client:</span></h3>
<br />
7. Open SQL Developer and <b>Add New Database Connection</b>. In Connection Window, specify as following and click on <b>Test</b>, followed by <b>Connect</b>.<br />
<br />
<b>Username</b>: ADMIN<br />
<b>Password</b>: As specified in the Create DB System page<br />
Choose <b>Connection Type</b> as '<b>Cloud Wallet</b>'<br />
<b>Configuration File</b>: Browse the wallet zip file downloaded in previous step.<br />
<b>Select Service Profile</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYvfZe8tSiJH-1unVj4T3j720c2HlV61HyP279KUp60SUsLPMebGdAT0L7OMjhlKVAQOThAA6wEEtWw_FvEfn3TJnf4qC5XzA8NOuiKEfnjoHsdHv4aB_2qmVy7uNPEYZ2FCpIo4ChXqo/s1600/1_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="479" data-original-width="766" height="400" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYvfZe8tSiJH-1unVj4T3j720c2HlV61HyP279KUp60SUsLPMebGdAT0L7OMjhlKVAQOThAA6wEEtWw_FvEfn3TJnf4qC5XzA8NOuiKEfnjoHsdHv4aB_2qmVy7uNPEYZ2FCpIo4ChXqo/s640/1_9.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2lFBVg9oBPXDcCChgxzta3STYitLw0gSrPYuofrEKxcAqa1baUq0kpCRu3M_wCDd4oV2FcMECHgTxvhz-k4mJ9GL29I9pEFtN644AscWLrhEXkHW3_szn6_V6wBPu8VPdaMXHt7JpMtY/s1600/1_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="478" data-original-width="765" height="398" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2lFBVg9oBPXDcCChgxzta3STYitLw0gSrPYuofrEKxcAqa1baUq0kpCRu3M_wCDd4oV2FcMECHgTxvhz-k4mJ9GL29I9pEFtN644AscWLrhEXkHW3_szn6_V6wBPu8VPdaMXHt7JpMtY/s640/1_10.png" width="640" /></a></div>
<br />
<br />
8. Execute SQL queries to review database info.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRoC69nGh7xRXEcFpnpXkexxhJiwr-wLGkHRHilFUtFVaj8dDeDuX519XBFJvUPcbT8jyLjWMuli2KziRRxvkj63shFw6S6aPScyRE5IKDstH_qS9wJvgY3oeCyyIDnIuDady7tCwtRzw/s1600/1_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="332" data-original-width="408" height="520" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRoC69nGh7xRXEcFpnpXkexxhJiwr-wLGkHRHilFUtFVaj8dDeDuX519XBFJvUPcbT8jyLjWMuli2KziRRxvkj63shFw6S6aPScyRE5IKDstH_qS9wJvgY3oeCyyIDnIuDady7tCwtRzw/s640/1_11.png" width="640" /></a></div>
<br />
<br />
<h3 style="text-align: left;">
<span style="color: red;">Autonomous Database Service Console:</span></h3>
<br />
9. In Autonomous Database page, Click on '<b>Service Console</b>' to navigate to service console page.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6_l3WlgowODh_JR_fdwBUdYTbu0rDKVeDPW9kbMUPGVt0En6-mBwf7mZCyP0Ve1HE6ImM3wfPA9AlDF3MLvqUU0NyendjqKfHpTYfxbd9y88nzPxjkVoTR74TlMgCzQGDooyojsOXc2s/s1600/1_11_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6_l3WlgowODh_JR_fdwBUdYTbu0rDKVeDPW9kbMUPGVt0En6-mBwf7mZCyP0Ve1HE6ImM3wfPA9AlDF3MLvqUU0NyendjqKfHpTYfxbd9y88nzPxjkVoTR74TlMgCzQGDooyojsOXc2s/s640/1_11_1.png" width="640" /></a></div>
<br />
<br />
10 .<b>Service Console --> Overview</b> - Overall Status - Storage Usage, CPU Utilization,<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGxX86-jPhBdulw7H9lu03eLFoXR8IbZByczHfuHGxc5yWZElNaoozcg9Zwz1Akh87KAXMEmJD3v00IV540mMOHz58sBcLve5CNtIjbxAYGVhb_ecEGv6JpTab5YUZQ51amsULq4mX0CA/s1600/1_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGxX86-jPhBdulw7H9lu03eLFoXR8IbZByczHfuHGxc5yWZElNaoozcg9Zwz1Akh87KAXMEmJD3v00IV540mMOHz58sBcLve5CNtIjbxAYGVhb_ecEGv6JpTab5YUZQ51amsULq4mX0CA/s640/1_12.png" width="640" /></a></div>
<br />
<br />
11. <b>Service Console --> Activity</b> - Monitoring Load and SQL<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUDf9-DPTWpvc8l8mIB1CjfSolkfU4C6sVTD3EQJ6CugFu-JKBzN8fJ5kDRv6qyYmLBsK-L13rwa1dvhLEMxFgOh5cK6fRtekc_Sq1CDtP0w0HlmHurwgVSGUXN_eAItc3ydqKTI2_gBs/s1600/1_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUDf9-DPTWpvc8l8mIB1CjfSolkfU4C6sVTD3EQJ6CugFu-JKBzN8fJ5kDRv6qyYmLBsK-L13rwa1dvhLEMxFgOh5cK6fRtekc_Sq1CDtP0w0HlmHurwgVSGUXN_eAItc3ydqKTI2_gBs/s640/1_13.png" width="640" /></a></div>
<br />
<br />
12. <b>Service Console --> Administration</b> - Administrator options. Here you can download the client credentials, reset administrator password, set resource management rules etc.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Os_fdwvttwUgP-c68-koKgZ_2DGnHcsq7AdCrbU7R4sE3XC2pupxAERaHAxany8KRjXZ43BjZ13iwzL6-QIOCgbMWscaG0aRYxew5GNKZjX3LKTxKnU_oOQ_8T9w_qqpCvNpSS35yAE/s1600/1_14_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Os_fdwvttwUgP-c68-koKgZ_2DGnHcsq7AdCrbU7R4sE3XC2pupxAERaHAxany8KRjXZ43BjZ13iwzL6-QIOCgbMWscaG0aRYxew5GNKZjX3LKTxKnU_oOQ_8T9w_qqpCvNpSS35yAE/s640/1_14_1.png" width="640" /></a></div>
<br />
<br />
13. <b><span style="color: blue;">Set Resource Management Rules</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGy1NflBS3J5nlLQwnEL2ACUUwzvfcAwIZ-dZm4zrGobw62uqO7oGbbNF7DA7RhFYqIOBGQWc8Ab_P_5OUbl9AL3iYD6FX5k9p6wrlMXC8e70Wsp6eyAG3NqH0eH8rIjJVPz6rtq4oT1Q/s1600/1_14_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGy1NflBS3J5nlLQwnEL2ACUUwzvfcAwIZ-dZm4zrGobw62uqO7oGbbNF7DA7RhFYqIOBGQWc8Ab_P_5OUbl9AL3iYD6FX5k9p6wrlMXC8e70Wsp6eyAG3NqH0eH8rIjJVPz6rtq4oT1Q/s640/1_14_2.png" width="640" /></a></div>
<br />
<br />
14. <b>Service Console --> Development</b> - Developer options. Here you can APEX workspace, SQL Developer Web, OML Notebooks etc.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ7mo3h7W3evksm9h0Gaz0NmVrf4ccZeFFnFL-A9no3Jqe7CGsQHIPFGAr8PlBJ6rI8-ztqPGD0uE8hXeKkiXuL6cjN_NjMrUeYXA3IIJ-WaeCVIJ-ls7CkycZr-G16IKGnQ60z92fM0c/s1600/1_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgQ7mo3h7W3evksm9h0Gaz0NmVrf4ccZeFFnFL-A9no3Jqe7CGsQHIPFGAr8PlBJ6rI8-ztqPGD0uE8hXeKkiXuL6cjN_NjMrUeYXA3IIJ-WaeCVIJ-ls7CkycZr-G16IKGnQ60z92fM0c/s640/1_15.png" width="640" /></a></div>
<br />
<br />
15. <b><span style="color: blue;">APEX Workspace</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBL_YOhxa883TehSh5ziqZmgVMExB8NasvyKQfrOk632BFcR8Phj5NP9cbxdSSIcbwDvysHX4KEEfHx41-5wh-qN-k-CXfrFnv4MOAAHqbtAy-TrNzUl4K_1lgLqK59aW1Dx8pTLe9awE/s1600/1_15_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBL_YOhxa883TehSh5ziqZmgVMExB8NasvyKQfrOk632BFcR8Phj5NP9cbxdSSIcbwDvysHX4KEEfHx41-5wh-qN-k-CXfrFnv4MOAAHqbtAy-TrNzUl4K_1lgLqK59aW1Dx8pTLe9awE/s640/1_15_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXZAOn_UrDOTzrGuaycwTcoM5kyD7wIVpN9Zzqw8hBDo6BhQsXSXQqBXwk-xxpTDjF2s43-vqgLUMPzBfilE_aD-64A3HMDvDN58uJzGIf8S6b4gArp3-NVAPTdYX-cQ-Xmclj9l3aYHg/s1600/1_15_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXZAOn_UrDOTzrGuaycwTcoM5kyD7wIVpN9Zzqw8hBDo6BhQsXSXQqBXwk-xxpTDjF2s43-vqgLUMPzBfilE_aD-64A3HMDvDN58uJzGIf8S6b4gArp3-NVAPTdYX-cQ-Xmclj9l3aYHg/s640/1_15_2.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM41MJi93Hk86ypojO_rj96lKXX0UD1kEP7eP32sVGxFDqh2Tt_gNDJSnhib35uEcU3LwWVTS3eck7_NagaeVBwV1RwMHU_GM-z_Soh_DxlJFGw9wNPu6Aidb3XES8PcmMOhqY_Abt4fI/s1600/1_15_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgM41MJi93Hk86ypojO_rj96lKXX0UD1kEP7eP32sVGxFDqh2Tt_gNDJSnhib35uEcU3LwWVTS3eck7_NagaeVBwV1RwMHU_GM-z_Soh_DxlJFGw9wNPu6Aidb3XES8PcmMOhqY_Abt4fI/s640/1_15_3.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1SrTdkZzARnL7Ih97flaacZ_mOJBGqcyEB8E7UnOFnENYxxpwaW2gUx7rZjFGkAJYn2ad2szjRNoBAvAEOrcux_KGUwUcc2T-aBAeP8cid0XjPCfkTDaOUSFeID9oSyukbwJsE_Dnv5M/s1600/1_15_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1SrTdkZzARnL7Ih97flaacZ_mOJBGqcyEB8E7UnOFnENYxxpwaW2gUx7rZjFGkAJYn2ad2szjRNoBAvAEOrcux_KGUwUcc2T-aBAeP8cid0XjPCfkTDaOUSFeID9oSyukbwJsE_Dnv5M/s640/1_15_4.png" width="640" /></a></div>
<br />
<br />
16. <b><span style="color: blue;">SQL Developer Web</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGzgqK2Kf3rSXPYQuEh6Y_yn-GtiSC4YHD3SGB9Pu4zx9m4skSCACd4dx-zhcRZiCDixSM3rFuyCDwAR8A-GKwk88htv33rSuwjiXSF7P7dT7zeUFUIo3pmmQlsIXLEcLkMVLtdtIgTcY/s1600/1_16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhGzgqK2Kf3rSXPYQuEh6Y_yn-GtiSC4YHD3SGB9Pu4zx9m4skSCACd4dx-zhcRZiCDixSM3rFuyCDwAR8A-GKwk88htv33rSuwjiXSF7P7dT7zeUFUIo3pmmQlsIXLEcLkMVLtdtIgTcY/s640/1_16.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgly7rTqw2OjGd3klp979GKQNfG8bqzlywgjQ8F4ZAugXTGi88K1ydPJVyKSQG8zpYKaoMWopEEbMa9yTKXojqf-Q_NhGrRUOEPugsIpnimnbFJGgrHcRKvHsoJS5kzIu-RJ2xIqT0Syn0/s1600/1_16_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgly7rTqw2OjGd3klp979GKQNfG8bqzlywgjQ8F4ZAugXTGi88K1ydPJVyKSQG8zpYKaoMWopEEbMa9yTKXojqf-Q_NhGrRUOEPugsIpnimnbFJGgrHcRKvHsoJS5kzIu-RJ2xIqT0Syn0/s640/1_16_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6ZNEj_Fu7w6ZdyflZiFqu9lxE4YhpdKV7wcjk2MEXXzgFRFAuOYyBBZ612HJo7PkLhSKY4-6BDDuJIvJ9_KxKF2s93zgmvhc9d0XKKaQWYpsX0mafs4ruS83am3FhUDqZHB_4UKslNm4/s1600/1_16_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh6ZNEj_Fu7w6ZdyflZiFqu9lxE4YhpdKV7wcjk2MEXXzgFRFAuOYyBBZ612HJo7PkLhSKY4-6BDDuJIvJ9_KxKF2s93zgmvhc9d0XKKaQWYpsX0mafs4ruS83am3FhUDqZHB_4UKslNm4/s640/1_16_2.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZxQ-CzWv2Ba4V05vzp4sgpxQUZT6i4JhWmP_Bh2z9tDsJzibsjZQHP-lXXZzT7pFwwc7V7vhhnOjqepcgeFzklzcyTWmYqQn2w6Bv_loXa_IJKoQNNhhPW1tzMEciAXFAMgET9PL1bSk/s1600/1_16_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZxQ-CzWv2Ba4V05vzp4sgpxQUZT6i4JhWmP_Bh2z9tDsJzibsjZQHP-lXXZzT7pFwwc7V7vhhnOjqepcgeFzklzcyTWmYqQn2w6Bv_loXa_IJKoQNNhhPW1tzMEciAXFAMgET9PL1bSk/s640/1_16_3.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz49xy0AzaEKlGxf65E2D78ZVeB2yZnAA5xgGlKNQuD40kCF_drug0Bg9gCZ3FAOGm9Lua9dsEOyPGAzijPVTV4qRpYIUVc7wJUl5Mwv7jRYuWDsUbBfAbqkDWaE78nRDO1Jl19U9Y6Ag/s1600/1_16_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgz49xy0AzaEKlGxf65E2D78ZVeB2yZnAA5xgGlKNQuD40kCF_drug0Bg9gCZ3FAOGm9Lua9dsEOyPGAzijPVTV4qRpYIUVc7wJUl5Mwv7jRYuWDsUbBfAbqkDWaE78nRDO1Jl19U9Y6Ag/s640/1_16_4.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFalwxsvtG0Zzqr3xRcrpMI8XwLO-2nd8VPsrMsFbIhdau_RGWygO3k80xuTqhQoqUsC1ZObTDLzBk3AJtjy3DGuvvSVOpLLRXrfPe7CV5HsImDywwSPo25abGR5SnSlb49MA15gGV2jo/s1600/1_16_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFalwxsvtG0Zzqr3xRcrpMI8XwLO-2nd8VPsrMsFbIhdau_RGWygO3k80xuTqhQoqUsC1ZObTDLzBk3AJtjy3DGuvvSVOpLLRXrfPe7CV5HsImDywwSPo25abGR5SnSlb49MA15gGV2jo/s640/1_16_5.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLqPqxvcmoghm9MZQHAVqGPo6RkvR5MuR0I-uDDqXuonb9i6vgRCWhyphenhyphentkDF5aNzeX60f5l1aCqPPI6Glsxocru6g4-A-2Vai1wa7Pp2_slGNE_ULd8jpxeL7tuzdJYR_TxAN8Tbt-JjtY/s1600/1_16_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLqPqxvcmoghm9MZQHAVqGPo6RkvR5MuR0I-uDDqXuonb9i6vgRCWhyphenhyphentkDF5aNzeX60f5l1aCqPPI6Glsxocru6g4-A-2Vai1wa7Pp2_slGNE_ULd8jpxeL7tuzdJYR_TxAN8Tbt-JjtY/s640/1_16_6.png" width="640" /></a></div>
<br />
<br />
17.<b> <span style="color: blue;">OML Notebooks</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil-V9Ag-M1h81ykL6ckWLlel6zZI2nDd_e1cZDQj4pb4QPhJfAaXO-T2B5lDlUlV8Xua1NjfRbMWHKMJvUvhSoJPvRdTbaBsw_4YqYtp7Xxfmm7WxMEgc7VGxbfiOmBwc6cxwiMhfox20/s1600/1_17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEil-V9Ag-M1h81ykL6ckWLlel6zZI2nDd_e1cZDQj4pb4QPhJfAaXO-T2B5lDlUlV8Xua1NjfRbMWHKMJvUvhSoJPvRdTbaBsw_4YqYtp7Xxfmm7WxMEgc7VGxbfiOmBwc6cxwiMhfox20/s640/1_17.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0od0t06v4Y8EDbQbpLUgegJkDuuzpr5OuUQHkW__CRZbVd9Gq3iaUAW1AX9ZIk7F8_EdnDD0jMi_9BxpUi_3x1GXbf5JzAAjpJmeUAnlOul0RdomBWCN4QUFYtx3fN-seUcf1TiqbgKs/s1600/1_17_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0od0t06v4Y8EDbQbpLUgegJkDuuzpr5OuUQHkW__CRZbVd9Gq3iaUAW1AX9ZIk7F8_EdnDD0jMi_9BxpUi_3x1GXbf5JzAAjpJmeUAnlOul0RdomBWCN4QUFYtx3fN-seUcf1TiqbgKs/s640/1_17_1.png" width="640" /></a></div>
<br />
<br />
<h3 style="text-align: left;">
<span style="color: red;">Terminate Autonomous Transaction Processing Database:</span></h3>
<br />
18. Go to Oracle Cloud Console. Open the navigation menu. Under <b>Database</b>, click <b>Autonomous Transaction Processing</b>. Click on the Autonomous Database to open autonomous database details page. In autonomous database details page, click on Actions --> '<b>Terminate</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZByVgCF9F6oTJ6z_mNHMvNZ6FhrZB1teVaxv5InrNuMfHdPLD9aGsjAhc-lckajMmKkJUSEY3xda06NbcB26rFJ0FIrUZv2grdj_PaCggGRKmIyYIJidODZqaPSM2gni-RacNjewwA_Q/s1600/1_18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZByVgCF9F6oTJ6z_mNHMvNZ6FhrZB1teVaxv5InrNuMfHdPLD9aGsjAhc-lckajMmKkJUSEY3xda06NbcB26rFJ0FIrUZv2grdj_PaCggGRKmIyYIJidODZqaPSM2gni-RacNjewwA_Q/s640/1_18.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHOpFnMFdfJGjzBApyMB399BURWnAcPdBQv3CoGR3OBu1QjT-HMMduwW4BW5JWeFIji7bthdiTwJQPj1HFnJCDqz2Qa9ZFMjsPxoBEWpqkeODNEDuVVQEshAtfwO-V8uchXWeS_-cKyGk/s1600/1_19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHOpFnMFdfJGjzBApyMB399BURWnAcPdBQv3CoGR3OBu1QjT-HMMduwW4BW5JWeFIji7bthdiTwJQPj1HFnJCDqz2Qa9ZFMjsPxoBEWpqkeODNEDuVVQEshAtfwO-V8uchXWeS_-cKyGk/s640/1_19.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCt28Y39-Vo18R0t7UWfRfzYAh1479scrgkdRIzrzS9GG4vrxE1Fp-lejI_L7hbGvx7R4KuQw3AIBi6d6-kDyy287ZI6N7ot-WxvGTprqmQYLAkHSo6vHtL_daW8mgtOcjKbMPAsfFsVg/s1600/1_20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCt28Y39-Vo18R0t7UWfRfzYAh1479scrgkdRIzrzS9GG4vrxE1Fp-lejI_L7hbGvx7R4KuQw3AIBi6d6-kDyy287ZI6N7ot-WxvGTprqmQYLAkHSo6vHtL_daW8mgtOcjKbMPAsfFsVg/s640/1_20.png" width="640" /></a></div>
<br />
<br />
<h3 style="text-align: left;">
<span style="color: red;">Create Autonomous Data Warehouse (ADW) Database:</span></h3>
<br />
19. Login to Oracle Cloud Console. Open the navigation menu. Under <b>Database</b>, click <b>Autonomous Data Warehouse</b><br />
<b><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_YIT2CyiJ01Lfeaaj4e-IDPwKHMZqu1olcxjr6aQ8eHZUqF5OkxGUH2UJQCYacueP5gy8ji870RBSI2yjcPc7l-mCeraoRcApCwtBaBe7NopaVkg3v2eNaLBHht2cD3BxPkxB7GoswHQ/s1600/2_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_YIT2CyiJ01Lfeaaj4e-IDPwKHMZqu1olcxjr6aQ8eHZUqF5OkxGUH2UJQCYacueP5gy8ji870RBSI2yjcPc7l-mCeraoRcApCwtBaBe7NopaVkg3v2eNaLBHht2cD3BxPkxB7GoswHQ/s640/2_1.png" width="640" /></a></div>
<b><br /></b>
<br />
20. Click <b>Create Autonomous Database</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUmxRbFZB-ngTPtvr_NuaVwL-dtgsO4_1YEi6ecP9jSkXvSIJ9ChhUfZYnoeN1UjJI5tLJAMloIgjAcGcv7fae_52YTCe-7gm9yNsjR2QTb79OP1h-UsiqJeeBMJxMp4u5KVbBNtsvajA/s1600/2_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUmxRbFZB-ngTPtvr_NuaVwL-dtgsO4_1YEi6ecP9jSkXvSIJ9ChhUfZYnoeN1UjJI5tLJAMloIgjAcGcv7fae_52YTCe-7gm9yNsjR2QTb79OP1h-UsiqJeeBMJxMp4u5KVbBNtsvajA/s640/2_2.png" width="640" /></a></div>
<br />
<br />
21. On the <b>Create Autonomous Database</b>.page, provide the specify following information:<br />
<br />
<b>Choose a compartment</b>:<br />
<b>Display Name</b>: A friendly, display name for the DB system. The name doesn't need to be unique. An Oracle Cloud Identifier (OCID) will uniquely identify the DB system.<br />
<b>Database Name</b>: The name for the database.<br />
<b>Choose a workload Type</b>: Data Warehouse<br />
<b>Configure the Database</b>: Choose CPU Core Count and Storage(TB)<br />
<b><br /></b>
<b>Create Administrator Credentials</b>:<br />
<br />
<b>Username</b>: ADMIN (Default, can't be changed)<br />
<b>Password</b>:<br />
<b>Confirm Password:</b> Re-enter the SYS password you specified.<br />
<br />
<b>Choose a license type: </b>BYOL or License Included<br />
<br />
Click on '<b><span style="color: blue;">Create Autonomous Database</span></b>'<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc8mylQtVHUx0ZBuNzB1TBZ3nnAiJBGub34N9ud17CoAV_U_F_KZp-2yN1vS6DMZGBHgt9SEKsuN3YsOulgKftHDAqJ-_Rgvi4eNDxkWcd19gkqHl-GnFg9ehpQ-a76MO6mANk6-EaSHc/s1600/2_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjc8mylQtVHUx0ZBuNzB1TBZ3nnAiJBGub34N9ud17CoAV_U_F_KZp-2yN1vS6DMZGBHgt9SEKsuN3YsOulgKftHDAqJ-_Rgvi4eNDxkWcd19gkqHl-GnFg9ehpQ-a76MO6mANk6-EaSHc/s640/2_3.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOJsxEhBKX8XcOKIHxj13smbCFr6joXklsehY01JCmjM6ptNeN4peeXgfJvqgESDTYUaZe6N8Wmpy8g3_NQho4fugiajKrOHNcmcAk484EvhcYtejw-APjBVGlsM64PkUMgxu6E1mURgc/s1600/2_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOJsxEhBKX8XcOKIHxj13smbCFr6joXklsehY01JCmjM6ptNeN4peeXgfJvqgESDTYUaZe6N8Wmpy8g3_NQho4fugiajKrOHNcmcAk484EvhcYtejw-APjBVGlsM64PkUMgxu6E1mURgc/s640/2_5.png" width="640" /></a></div>
<br />
<br />
22. Autonomous Database Provisioning page will be displayed. Once it's provisioned click on '<b>DB Connection</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOsYZ8FEjP3Kt9PHE6zP3jqwn1ogcg2h5gnXFxN5BImByIvYjPueZtpWxT7PZINjmpt8KF8ijYWO-le5THp6R5-2cXyqIgRBUXlqKo0Hvs6t34HAvsQy4e5XczN7HARhOXSuiDYlTCBV4/s1600/2_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOsYZ8FEjP3Kt9PHE6zP3jqwn1ogcg2h5gnXFxN5BImByIvYjPueZtpWxT7PZINjmpt8KF8ijYWO-le5THp6R5-2cXyqIgRBUXlqKo0Hvs6t34HAvsQy4e5XczN7HARhOXSuiDYlTCBV4/s640/2_6.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvd2kC3adZtyz6rosCBG2NYWGO80zsBhSwVbcBK3h74zZluZMUj_E7VpcJg6Xq8PfTxRQFLyeb2-8QxfFbvRk20U-A_1Zfcs5WqTyAzYZ3pMxDHEbatSW08osweFRkwtcb9HE1XG7N_Y4/s1600/2_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvd2kC3adZtyz6rosCBG2NYWGO80zsBhSwVbcBK3h74zZluZMUj_E7VpcJg6Xq8PfTxRQFLyeb2-8QxfFbvRk20U-A_1Zfcs5WqTyAzYZ3pMxDHEbatSW08osweFRkwtcb9HE1XG7N_Y4/s640/2_8.png" width="640" /></a></div>
<br />
<br />
23. Enter password to download the client credentials. Click on '<b>Download</b>' to download the client credentials.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzk82qInbBjDt-xOxK8CpQcWxIfUYke042VBVbs_5YqIuNxaaEvf_Dy0ZkbHm4L2pKxrp-RjbNCjBKt_1JcKdzGXdUF-NGYPUvUt2CRmOf-tRXhLETRUPUWr6KjdxjRi4xYbG8xr6qnkY/s1600/2_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzk82qInbBjDt-xOxK8CpQcWxIfUYke042VBVbs_5YqIuNxaaEvf_Dy0ZkbHm4L2pKxrp-RjbNCjBKt_1JcKdzGXdUF-NGYPUvUt2CRmOf-tRXhLETRUPUWr6KjdxjRi4xYbG8xr6qnkY/s640/2_9.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLjOON7WmYHT0zJwNThjMTZxaKIJqDkRGlyVKJSY5M9dkyudXswKwm8PcSuNZwFC0G9ypkJqJb4jJS5bp3Se9qf1ZQu5aGWFzhhIB5R7wkGS4zQfPMAiUJQHyENgaTXIL1uXu3YJ1mt9o/s1600/2_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLjOON7WmYHT0zJwNThjMTZxaKIJqDkRGlyVKJSY5M9dkyudXswKwm8PcSuNZwFC0G9ypkJqJb4jJS5bp3Se9qf1ZQu5aGWFzhhIB5R7wkGS4zQfPMAiUJQHyENgaTXIL1uXu3YJ1mt9o/s640/2_10.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf-Pegcwm_NNTmNY3W9D6r9xy6md4vJcIoNrWemWMMlMpPv0TwDzwRjdInUKKzphi5_TC4Gr5UwwgXg_BWq4qcL3h9rETsMzm9DSbZvIQaAycsizk8NSFvrBlzsVRN5igd6Yqz9d6tt1w/s1600/2_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgf-Pegcwm_NNTmNY3W9D6r9xy6md4vJcIoNrWemWMMlMpPv0TwDzwRjdInUKKzphi5_TC4Gr5UwwgXg_BWq4qcL3h9rETsMzm9DSbZvIQaAycsizk8NSFvrBlzsVRN5igd6Yqz9d6tt1w/s640/2_11.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<h3 style="text-align: left;">
<span style="color: red;">Terminate Autonomous Data Warehouse Database:</span></h3>
<br />
24. Go to Oracle Cloud Console. Open the navigation menu. Under <b>Database</b>, click <b>Autonomous Data Warehouse</b>. Click on the Autonomous Database to open autonomous database details page. In autonomous database details page, click on Actions --> '<b>Terminate</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEideTfftYm1DYlkm-cdnCulM73BxUNPKl3wA_c4PQ1tZWjGGCHqW7a7GjDwwSS21hF4s46LfAXiJq1SbIL-nRSpUJFlOwVWmhHSe9QH5fstwrH7TxD5fzfrRyA2IWCwhtuXsc5Q13JdOSg/s1600/2_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEideTfftYm1DYlkm-cdnCulM73BxUNPKl3wA_c4PQ1tZWjGGCHqW7a7GjDwwSS21hF4s46LfAXiJq1SbIL-nRSpUJFlOwVWmhHSe9QH5fstwrH7TxD5fzfrRyA2IWCwhtuXsc5Q13JdOSg/s640/2_12.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBYYiDQgpyEV0vyTd_L_tbXsuxLxeVnrTzRKLwvpaIX53r2MZXBcdOWPO0Y_Pk2w-h8ok9SY-9csGMwihEPiinJ_zzXj121X3K41h_H2PWIGhBQxMxEBYJqBypqR_yUpvzHSx0WfuFvOM/s1600/2_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBYYiDQgpyEV0vyTd_L_tbXsuxLxeVnrTzRKLwvpaIX53r2MZXBcdOWPO0Y_Pk2w-h8ok9SY-9csGMwihEPiinJ_zzXj121X3K41h_H2PWIGhBQxMxEBYJqBypqR_yUpvzHSx0WfuFvOM/s640/2_13.png" width="640" /></a></div>
<br />
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-85751815362365382532019-08-12T11:43:00.000+05:302019-08-13T16:24:55.683+05:30Oracle Cloud (OCI):: Database Service<div dir="ltr" style="text-align: left;" trbidi="on">
The Database service in Oracle Cloud Infrastructure offers <b><span style="color: blue;">autonomous </span></b>and <b><span style="color: red;">user-managed</span></b> Oracle Database solutions.<br />
<br />
<ul style="text-align: left;">
<li>Autonomous databases are preconfigured, fully-managed environments that are suitable for either transaction processing or for data warehouse workloads. </li>
</ul>
<ul style="text-align: left;">
<li>User-managed solutions are bare metal, virtual machine, and Exadata DB systems that you can customize with the resources and settings that meet your needs.</li>
</ul>
<br />
In this tutorial, I will take you through the steps to create a <b>user-managed Oracle Database (virtual machine)</b> solution in Oracle Cloud Console.<br />
<br />
<h3 style="text-align: left;">
<span style="color: red;"><b>Pre-Requisites:</b></span></h3>
<div>
<span style="color: red;"><b><br /></b></span></div>
1. The public key, in OpenSSH format, from the key pair that you plan to use for connecting to the instance via SSH. The following command works with Linux and Git Bash (Windows), and you only have to press enter for all steps. The generated SSH keys can be found inside the "~/.ssh/" folder in Linux or in the "/c/Users/<username>/.ssh" folder in Windows.<br />
<br />
<b><span style="background-color: white; color: blue;">$ ssh-keygen</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTz369wBnbql3SovY16_qmdD7L7Heq4J9-RCIlPKV1gQk0OGvWi2LaZA7OETjpkpAMeZi74uzPxpI9GDM2cbyNNHNh93WbbCEm_Sgqd_6W_1h70G4j2wH3EpJmO2hyphenhyphenMPiQXQmz8OxUjo8/s1600/1_0.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="412" data-original-width="623" height="422" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTz369wBnbql3SovY16_qmdD7L7Heq4J9-RCIlPKV1gQk0OGvWi2LaZA7OETjpkpAMeZi74uzPxpI9GDM2cbyNNHNh93WbbCEm_Sgqd_6W_1h70G4j2wH3EpJmO2hyphenhyphenMPiQXQmz8OxUjo8/s640/1_0.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxEsiSQ70PK_Lgb1AsiRyZTYCB0TLs8QezVjsPh-owmDxcb4GzXEperGDXQQGd5_rBljXH6rvy6DeQ_JdqwZwEq8ZTuEGXAbdHPaVhcC1Qf3RKJqvSC_ugJoQpGkkB4cGtMNMv0ztOslI/s1600/1_0_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="264" data-original-width="546" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxEsiSQ70PK_Lgb1AsiRyZTYCB0TLs8QezVjsPh-owmDxcb4GzXEperGDXQQGd5_rBljXH6rvy6DeQ_JdqwZwEq8ZTuEGXAbdHPaVhcC1Qf3RKJqvSC_ugJoQpGkkB4cGtMNMv0ztOslI/s640/1_0_1.png" width="640" /></a></div>
<br />
<h3 style="text-align: left;">
<b><span style="color: red;">Create Database System:</span></b></h3>
<div>
<b><span style="color: red;"><br /></span></b></div>
1. Login to <b>Oracle Cloud Console</b>. Browse <b>http://cloud.oracle.com/ </b>and click <b>Sign In </b>at the top of the page. Enter the <b>Account Name </b>and click on <b>Next</b>. Select Identity Provider as '<b>oracleidentitycloudservice</b>' and click on <b>Continue </b>button under Single Sign-On Section. Enter <b>Username </b>and <b>Password</b>, click on <b>Sign In</b>. You're then directed to the Oracle Cloud Console.<br />
<br />
Refer to <a href="https://www.lkakarla.com/2019/08/oracle-cloud-oci-getting-started.html" target="_blank">post </a>to get trail access to Oracle Cloud.<br />
<br />
2. Open the navigation menu. Under <b>Database</b>, click <b>Bare Metal, VM, and Exadata</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKDY4Zziez72rgwCYeWJZgwpp9GDTpP-7tOFFwJr0uXC-3vhO34aNAlz6XiSPUsqp4yf9jfhcdx1KxfXPTGfx5rsZkXn9gAMZRpTpGsvjCmrEBJqVyp8_Mhd72dHnRJKL0-R_yOkXVYG4/s1600/1_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKDY4Zziez72rgwCYeWJZgwpp9GDTpP-7tOFFwJr0uXC-3vhO34aNAlz6XiSPUsqp4yf9jfhcdx1KxfXPTGfx5rsZkXn9gAMZRpTpGsvjCmrEBJqVyp8_Mhd72dHnRJKL0-R_yOkXVYG4/s640/1_1.png" width="640" /></a></div>
<br />
<br />
3. Click on <b>Create DB System </b>button.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkFq2NN7vqIEd_tdM41Eu0EimhqbWmhLSir8UX-W8V1Dp6p6rxH_z_tKSO5lWw-Tz38qiKbLZTMqPUjk49D0k5bShi7U5VPPOzEdqIjRqvxqnAM1l0JbFqvHWLNFIK68nPqFUzZwnEG6s/s1600/1_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkFq2NN7vqIEd_tdM41Eu0EimhqbWmhLSir8UX-W8V1Dp6p6rxH_z_tKSO5lWw-Tz38qiKbLZTMqPUjk49D0k5bShi7U5VPPOzEdqIjRqvxqnAM1l0JbFqvHWLNFIK68nPqFUzZwnEG6s/s640/1_2.png" width="640" /></a></div>
<br />
<br />
4. On the<b> Create DB System</b> page, provide the specify following information for the DB system:<br />
<br />
<b>Select a compartment: </b><br />
<b>Name your DB system:</b> A friendly, display name for the DB system. The name doesn't need to be unique. An Oracle Cloud Identifier (OCID) will uniquely identify the DB system.<br />
<b>Select an availability domain: </b><br />
<b>Select a shape type: </b><br />
<b>Select a shape:</b> The shape determines the type of DB system created and the resources allocated to the system. To specify a shape other than the default, click Change Shape, and select an available shape from the list. By Default VM.Standard1.1 selected.<br />
<br />
<br />
<b><u>Configure the DB system: </u></b>Specify the following:<br />
<br />
<b>Total node count:</b> The number of nodes in the DB system. The number depends on the shape you select. For virtual machine DB systems, you can specify either 1 or 2 nodes, except for VM.Standard2.1 and VM.Standard1.1, which are single-node DB systems.<br />
Oracle Database software edition:<br />
<br />
<b>Configure storage:</b> Specify the following:<br />
<br />
<b>Available storage (GB):</b> Virtual machine only. The amount of Block Storage in GB to allocate to the virtual machine DB system.<br />
<b>Total storage (GB):</b> Virtual machine only. The total Block Storage in GB used by the virtual machine DB system.<br />
<br />
<b>Add public SSH keys: </b>The public key portion of each key pair you want to use for SSH access to the DB system.<br />
<br />
<b>Choose a license type: </b><br />
<br />
<b><u>Specify the network information:</u></b><br />
<br />
<b>Virtual Cloud Network: </b>The VCN in which to launch the DB system.<br />
<b>Client subnet: </b>The subnet to which the virtual machine DB system should attach.<br />
<b>Hostname prefix: </b>Choice of host name for the virtual machine DB system.<br />
<br />
Click <span style="color: blue;"><b>Next</b></span>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig4a_SslMVPpKqxrVHzx9v6X00OtWITPbZzT1H1g8bHJXT3-FFSpN8-gC6R5u9TTFRjT8WgvfAIv7uEiXzOa1-rAf3DJr0iQor-eEgBH1NxALVk0_iZKef7hZAe1WT1901mTCnW5Ngybg/s1600/1_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEig4a_SslMVPpKqxrVHzx9v6X00OtWITPbZzT1H1g8bHJXT3-FFSpN8-gC6R5u9TTFRjT8WgvfAIv7uEiXzOa1-rAf3DJr0iQor-eEgBH1NxALVk0_iZKef7hZAe1WT1901mTCnW5Ngybg/s640/1_3.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcILRbiiEjQhV4VcnFMa6fxeBuqliwsm8QTxu64T51ezoZhUN_1ilz7WGIgIDVuNg0ugDKA-VPLAB8fcvEEAfddtBdi5WzvI2ZmcQrMMxX1uBKfRW_k83P9soseR8Y0dpyvkkR6YoZtGY/s1600/1_3_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcILRbiiEjQhV4VcnFMa6fxeBuqliwsm8QTxu64T51ezoZhUN_1ilz7WGIgIDVuNg0ugDKA-VPLAB8fcvEEAfddtBdi5WzvI2ZmcQrMMxX1uBKfRW_k83P9soseR8Y0dpyvkkR6YoZtGY/s640/1_3_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjdIzQWnAoEW9YOXZ_GpFsTJne8PhKTpMW0_xR8qODrASuPmIyN4bqI3yZYptiigeFq6s5w0vqfudRe_cEwgfXzXQCSdYyShIte5huK34bWrWY5TbuxQtjjMRqZ05YnGDLnXjb4YywlVU/s1600/1_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjjdIzQWnAoEW9YOXZ_GpFsTJne8PhKTpMW0_xR8qODrASuPmIyN4bqI3yZYptiigeFq6s5w0vqfudRe_cEwgfXzXQCSdYyShIte5huK34bWrWY5TbuxQtjjMRqZ05YnGDLnXjb4YywlVU/s640/1_4.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvPQDu1MXaWQQTDREsJyr8BSEIJXXAP7X7puwOaq15zWtFKF2HPQ7rVj_Wu1v1zl1kVe3OgE8VQNedduWB0Dfsjbq8gegvJrsfsTrohgpxcuLo2RKlLXx8hw8gbSwQUg87JfJawuFAnSg/s1600/1_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvPQDu1MXaWQQTDREsJyr8BSEIJXXAP7X7puwOaq15zWtFKF2HPQ7rVj_Wu1v1zl1kVe3OgE8VQNedduWB0Dfsjbq8gegvJrsfsTrohgpxcuLo2RKlLXx8hw8gbSwQUg87JfJawuFAnSg/s640/1_5.png" width="640" /></a></div>
<br />
<br />
5. Provide information for the initial database:<br />
<br />
<b>Database name:</b> The name for the database.<br />
<b>Database version: </b>The version of the initial database created on the DB system when it is launched.<br />
<b><span style="color: red;">Note:</span></b> If you are launching a DB system with a virtual machine shape, you have option of selecting an older database version. Check Display all available versions<br />
<br />
<b><u>Create administrator credentials:</u></b> A database administrator SYS user will be created with the password you supply.<br />
<br />
<b>Username: </b>SYS<br />
<b>Password</b>:<br />
<b>Confirm password: </b>Re-enter the SYS password you specified.<br />
<br />
<u><b>Select workload type: </b></u><b>Online Transactional Processing (OLTP)</b> or <b>Decision Support System (DSS)</b><br />
<br />
<b>Configure database backups: </b><br />
<br />
Click <b>Show Advanced Options </b>to specify advanced options for the initial database:<br />
<br />
<b>Character set: </b>The character set for the database. The default is AL32UTF8.<br />
<b>National character set: </b>The national character set for the database. The default is AL16UTF16.<br />
<br />
Click on '<b><span style="color: blue;">Create DB System</span></b>'<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAhYju_hXhKQAWBWc2je75TXidfJRBNAngDhCuL5fnfKtiY_mwp2nbJgKVohVl0my8-jE8HAEOCr4GevM0cEaaBdHTMmpsHlcg3gDetBKesNO4gukHBeSLcb33QEIb1-dh1-4iSXBjNOQ/s1600/1_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAhYju_hXhKQAWBWc2je75TXidfJRBNAngDhCuL5fnfKtiY_mwp2nbJgKVohVl0my8-jE8HAEOCr4GevM0cEaaBdHTMmpsHlcg3gDetBKesNO4gukHBeSLcb33QEIb1-dh1-4iSXBjNOQ/s640/1_6.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpszLOCXrqqyS8ue71z6Cfy9wIVqvtCQwfcCSOzPzNzMYD76qSDrow8Rourx6AbcJoKqKJ-HyQVzogE6Dy4OpYz7XKlYJCgZ_htcqqjEUiM-IlDjQ9aKd4EQ835-QCTj5_tdaFmXr83pw/s1600/1_6_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpszLOCXrqqyS8ue71z6Cfy9wIVqvtCQwfcCSOzPzNzMYD76qSDrow8Rourx6AbcJoKqKJ-HyQVzogE6Dy4OpYz7XKlYJCgZ_htcqqjEUiM-IlDjQ9aKd4EQ835-QCTj5_tdaFmXr83pw/s640/1_6_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR6fEcfrcPC5RiUhaXIWbGmCuIIRMdeYzEae4GGnoVPvAB60fXnjWcY9z2n4nFqupHCI7uOuDs_OfgtJPGelI9fPIiyAMFShhvXSWEBuq6SLrLkhjOreAOlzv18dRbsuLfD4AGibFsRGo/s1600/1_6_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgR6fEcfrcPC5RiUhaXIWbGmCuIIRMdeYzEae4GGnoVPvAB60fXnjWcY9z2n4nFqupHCI7uOuDs_OfgtJPGelI9fPIiyAMFShhvXSWEBuq6SLrLkhjOreAOlzv18dRbsuLfD4AGibFsRGo/s640/1_6_2.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV4EicvaaJgQOUyJxGyZ0Zpmh-yMroogbxyjv8J0o3_ZZDUzqZ-3-EVLSWW30InpTojVV3BRv118t2FZZ-QtU47teAQtXpqj1KCFih8vxm3EXIUY-oouKGR3b7eGcnyOh0KK1txJvE7VU/s1600/1_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV4EicvaaJgQOUyJxGyZ0Zpmh-yMroogbxyjv8J0o3_ZZDUzqZ-3-EVLSWW30InpTojVV3BRv118t2FZZ-QtU47teAQtXpqj1KCFih8vxm3EXIUY-oouKGR3b7eGcnyOh0KK1txJvE7VU/s640/1_7.png" width="640" /></a></div>
<br />
<br />
6. An error occurred.<br />
<br />
<b><span style="color: red;">Error Message: </span></b><span style="color: orange;">VCN RESOLVER FOR DNS AND DNS LABEL must be enabled for all subnets used to launch the specified shape.</span><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpIvL8LboagQqPDRqrK9YfrVEuv9XV2nyqmldsssn1AHW7yLaFblVYBGcu_hGmXeazKoE_9FmGMrceFL7sUQtmBBmQu8FhpfV08ef-bdvMW6_YkuG88zVBVym_gAzLVqXjs3iHbz3boMA/s1600/1_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpIvL8LboagQqPDRqrK9YfrVEuv9XV2nyqmldsssn1AHW7yLaFblVYBGcu_hGmXeazKoE_9FmGMrceFL7sUQtmBBmQu8FhpfV08ef-bdvMW6_YkuG88zVBVym_gAzLVqXjs3iHbz3boMA/s640/1_8.png" width="640" /></a></div>
<br />
<br />
7. Open the navigation menu. Under <b>Core Infrastructure</b>, go to <b>Networking </b>and click <b>'Virtual Cloud Networks</b>'. Existing VCN list will be displayed. Select the VCN that has been used to create DB. Check <i><b>DNS is enabled or not for the VCN</b></i>.If not enabled '<b>Create Virtual Cloud Network</b>' and choose option '<b><span style="color: blue;">USE DNS HOSTNAMES IN THIS VCN</span></b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiNcAhF5TPGAcCYZWJiGsKgke5afREzMQqiOCjNa7JvzSDVjjNac03XsWTamOAfQAR7IvhiiFehoRv9NMk8XMvcNA5luWvATcsuggXmRXC9wBvAi2OCA5NLBBgPDexTJ9Upb8pvAZBqwg/s1600/1_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgiNcAhF5TPGAcCYZWJiGsKgke5afREzMQqiOCjNa7JvzSDVjjNac03XsWTamOAfQAR7IvhiiFehoRv9NMk8XMvcNA5luWvATcsuggXmRXC9wBvAi2OCA5NLBBgPDexTJ9Upb8pvAZBqwg/s640/1_9.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBHnp_fRSXZENf0PWohPQaxmKLk4U50D23pvR0D-MEUSdGxg82k0tR3_12aLP2QdIQqXJMZlIhmLsMHJrFaQ93rWNiw59YA4XMixpNua6WoUan6f2aNCmGLK2uefgXDvQ68rg2JHZIaQ4/s1600/1_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBHnp_fRSXZENf0PWohPQaxmKLk4U50D23pvR0D-MEUSdGxg82k0tR3_12aLP2QdIQqXJMZlIhmLsMHJrFaQ93rWNiw59YA4XMixpNua6WoUan6f2aNCmGLK2uefgXDvQ68rg2JHZIaQ4/s640/1_10.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5X5mu7scy9vl_6U1RlUIDBLkZbeRo85U8VDadnlT-efS7XMqSKsynZPVhUoiX-Nu0XDGwQn0TFY7nhdvvtvgwPz4XqroLbngo3OWe8vtWwFpW3mzU0gjN9I7u77NOHZF09FHflXCQbsM/s1600/1_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5X5mu7scy9vl_6U1RlUIDBLkZbeRo85U8VDadnlT-efS7XMqSKsynZPVhUoiX-Nu0XDGwQn0TFY7nhdvvtvgwPz4XqroLbngo3OWe8vtWwFpW3mzU0gjN9I7u77NOHZF09FHflXCQbsM/s640/1_11.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjOBz9wTzbuE0PxlBSSA7qcdQWFwhp6AD2FglE0tiRjPZZ6RUtNBAcWLu4eJHpox7p9S5oHYGvf7CLYujT7zjCU9yKR0SpQzwH-re0ENivHG4NeGMdX5RLBPnfg0y-3ZXzml5HmL_1ypA/s1600/1_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjOBz9wTzbuE0PxlBSSA7qcdQWFwhp6AD2FglE0tiRjPZZ6RUtNBAcWLu4eJHpox7p9S5oHYGvf7CLYujT7zjCU9yKR0SpQzwH-re0ENivHG4NeGMdX5RLBPnfg0y-3ZXzml5HmL_1ypA/s640/1_12.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtiZO9Y8LKNrQlvbvhhQtyR-2DwZeKIfzKPWYwdkNxc3_6_NkCxIOMsLT2iPMpx3Z35KrJte0TAcXlUNtUPGyAdPIQIZ1J5zbhz_EJBI1GYOJOJiTZFwOlqzRietieydR9Qqd4uUvG3sg/s1600/1_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtiZO9Y8LKNrQlvbvhhQtyR-2DwZeKIfzKPWYwdkNxc3_6_NkCxIOMsLT2iPMpx3Z35KrJte0TAcXlUNtUPGyAdPIQIZ1J5zbhz_EJBI1GYOJOJiTZFwOlqzRietieydR9Qqd4uUvG3sg/s640/1_13.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPjWeGSDguKgNjVFfT5ouhYfPXUNjih8QIhULL2vD0PIlHVxw8B9-wwgymW7iezuwnSFHyAqeYMrdCDwXob0rY99wMltvI3Ys83ChpDnN76SAE7toW0EsXM_mKWxd1cLheA9rgpnl-5zk/s1600/1_14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPjWeGSDguKgNjVFfT5ouhYfPXUNjih8QIhULL2vD0PIlHVxw8B9-wwgymW7iezuwnSFHyAqeYMrdCDwXob0rY99wMltvI3Ys83ChpDnN76SAE7toW0EsXM_mKWxd1cLheA9rgpnl-5zk/s640/1_14.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinftKgcwybeOODqZpeTcDxYTZVwPq3LYKaygehVuVm3nZRO3A2pTmYYV2u4LvwibwTCbMC5skE_xvZSQNOnxhUb-AYkeJvh8QlQc6HqLIYHPR6ZXWPOtqN5Bi7X7H7KKmeSG6lTBYJXTo/s1600/1_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinftKgcwybeOODqZpeTcDxYTZVwPq3LYKaygehVuVm3nZRO3A2pTmYYV2u4LvwibwTCbMC5skE_xvZSQNOnxhUb-AYkeJvh8QlQc6HqLIYHPR6ZXWPOtqN5Bi7X7H7KKmeSG6lTBYJXTo/s640/1_15.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7CFKhq9GxrD4cMhbvGwuS4Fav42ab-zQGEnk5nk8RczF816cs_n-ylaZjsCWp0hEPKw53vrRWS9q7wfMq2bexAiWb2ce0MwgLkfPTccJI5WGpYsK2d9ITb-sDWyloqbHpdGNu8jSaPkM/s1600/1_16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7CFKhq9GxrD4cMhbvGwuS4Fav42ab-zQGEnk5nk8RczF816cs_n-ylaZjsCWp0hEPKw53vrRWS9q7wfMq2bexAiWb2ce0MwgLkfPTccJI5WGpYsK2d9ITb-sDWyloqbHpdGNu8jSaPkM/s640/1_16.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXc8MV1tJaw5cw_FGuey58M0OvkfGNMz2JVQy-R9TM1J80JTUinqZQp38zR1bVnY9E-ueSyvBozueB5rmtYx01BC9HOmAKv_hc6d_9xXFmz55mdTEzzBGqm_B6mVDZMiRFQ9HMZ3QuCyQ/s1600/1_17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXc8MV1tJaw5cw_FGuey58M0OvkfGNMz2JVQy-R9TM1J80JTUinqZQp38zR1bVnY9E-ueSyvBozueB5rmtYx01BC9HOmAKv_hc6d_9xXFmz55mdTEzzBGqm_B6mVDZMiRFQ9HMZ3QuCyQ/s640/1_17.png" width="640" /></a></div>
<br />
<br />
8. Go back to <b>Create DB System</b> page and Specify the network information as per new VCN created with DNS option. Click on '<b><span style="color: blue;">Create DB System</span></b>'<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisfnp6Lx1aRYD4_-Ef0ZBYNcW7sFCm_bBSeGwwMtssHXEIsqifI_lIwfOby0KIpbcXayyPTlDcdxikr1d8LpAEhzMkMu0D83xT735hcAlNa5TO4u4E82f9ZmYPJadGcVSMRmfMfd-T3xI/s1600/1_18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisfnp6Lx1aRYD4_-Ef0ZBYNcW7sFCm_bBSeGwwMtssHXEIsqifI_lIwfOby0KIpbcXayyPTlDcdxikr1d8LpAEhzMkMu0D83xT735hcAlNa5TO4u4E82f9ZmYPJadGcVSMRmfMfd-T3xI/s640/1_18.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicrPgCIfJXGMQZprs6hlKHpz3FOMJhLgtGBFMMwNvAeZCrstn1_1xOAxZqJnMwG2EZNAfcZylBf9q0udK8M-MhLAyeSjSUVghuLn1SohhYNFZZ-OLcyk5yLjypTSt0fkJQI-c9RuxyqRg/s1600/1_19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicrPgCIfJXGMQZprs6hlKHpz3FOMJhLgtGBFMMwNvAeZCrstn1_1xOAxZqJnMwG2EZNAfcZylBf9q0udK8M-MhLAyeSjSUVghuLn1SohhYNFZZ-OLcyk5yLjypTSt0fkJQI-c9RuxyqRg/s640/1_19.png" width="640" /></a></div>
<br />
<br />
9. Another error occurred.<br />
<br />
<b><span style="color: red;">Error Message:</span> <span style="color: orange;">The database version must be one of 11.2.0.4 or 11.2.0.4.181016 etc.</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXbBPWPlW5HzAj2ctrUpm8A5fXooyQuX_GPOT-2gnM0qsKbvZUuTuMT9qSx-qKyga73-VBfBNm8Z8_FHL2RaZ-y-2I4DNFehSjdAWMhgDPhFCr7sYFwH2dgHLrgGR8fnTGxq_52PwK64A/s1600/1_20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjXbBPWPlW5HzAj2ctrUpm8A5fXooyQuX_GPOT-2gnM0qsKbvZUuTuMT9qSx-qKyga73-VBfBNm8Z8_FHL2RaZ-y-2I4DNFehSjdAWMhgDPhFCr7sYFwH2dgHLrgGR8fnTGxq_52PwK64A/s640/1_20.png" width="640" /></a></div>
<br />
<br />
10. Change the database version and Click on '<b><span style="color: blue;">Create DB System</span></b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAJHMK7w9hoDdFcB0C2wqsfC3CLtKii8WZr_AaraZrxsC0TUpvUI_cU9BLOruV8f0p-Tbs56ZROrhmp85u6bxLfEiHGxckQZXqA0pGcZofr7ScrwTHK5Jh7kOleoYOv4CAMmS0_HDizAY/s1600/1_21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAJHMK7w9hoDdFcB0C2wqsfC3CLtKii8WZr_AaraZrxsC0TUpvUI_cU9BLOruV8f0p-Tbs56ZROrhmp85u6bxLfEiHGxckQZXqA0pGcZofr7ScrwTHK5Jh7kOleoYOv4CAMmS0_HDizAY/s640/1_21.png" width="640" /></a></div>
<br />
<br />
11. Another error occurred.<br />
<br />
<b><span style="color: red;">Error Message: </span><span style="color: orange;">The following service limits were exceeded in AD lad-ad-2: vm-standard1-ocpu-count. Request a service limit increase from the service limits page in the console.</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg94sSeqgKCPKpbipmaHXX3fMeHOib5RFvKpy7NCf1HzcAMzaviH7XJWZQvkXx8JOHeNfO4Ni4X53lWdhJOjlj_6qpsjS4nMZM7Tr1BDYde4GuVnIw6WYad4QKyPiBhyphenhyphenNw2Pz7amNDDlXY/s1600/1_22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg94sSeqgKCPKpbipmaHXX3fMeHOib5RFvKpy7NCf1HzcAMzaviH7XJWZQvkXx8JOHeNfO4Ni4X53lWdhJOjlj_6qpsjS4nMZM7Tr1BDYde4GuVnIw6WYad4QKyPiBhyphenhyphenNw2Pz7amNDDlXY/s640/1_22.png" width="640" /></a></div>
<br />
<br />
12. Open the navigation menu. Under <b>Governance and Administration</b>, go to <b>Governance </b>and click '<b>Service Limits</b>'. Check CPU limit for <b><span style="color: red;">VM.Standard1.1</span></b>. It's 0. So choose other shape having capacity. In this case, <b><span style="color: lime;">VM.Standard2.1</span></b> has limit available.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNqmiZT5rFhpCI2nGD7HFHxjNFXKQ-_5CJwHoM0TLvdZweewsyE7fE84mUWkzbyt1z5dypgehgu6c8qdS63gxVDEdiXkuqRbdZS9EtLXinmHoWx4MRmZlaley0lvXBS28u2FQI0mAlKLc/s1600/1_23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNqmiZT5rFhpCI2nGD7HFHxjNFXKQ-_5CJwHoM0TLvdZweewsyE7fE84mUWkzbyt1z5dypgehgu6c8qdS63gxVDEdiXkuqRbdZS9EtLXinmHoWx4MRmZlaley0lvXBS28u2FQI0mAlKLc/s640/1_23.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhomc4D92_tx0OB7jtuhWAvO7lFZPavBDQciXRhi3SAqqXqWiMbfWv_0KAORp00BBwN41gQsojdz1enYwlaAprH6TkuvrACRy5Bj7t7ZKXeeP8TsFlDZlJGpZi0CqihS8Dy7wBsXvM07C4/s1600/1_24.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhomc4D92_tx0OB7jtuhWAvO7lFZPavBDQciXRhi3SAqqXqWiMbfWv_0KAORp00BBwN41gQsojdz1enYwlaAprH6TkuvrACRy5Bj7t7ZKXeeP8TsFlDZlJGpZi0CqihS8Dy7wBsXvM07C4/s640/1_24.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
13. Go back to <b>Create DB System page</b> and choose <b>VM.Standard2.1</b> as shape. Click on '<b><span style="color: blue;">Create DB System</span></b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA_tgYAsmdtG0YMwZ4p27bPlKQlcFYdoHFECw-ZCRa7h9cW3nyu3f5P2baNUGdoBt_XUkNXECSlpS4MsKPEo8P0VITLu-IWetKrKEerNrKVcIOzsyzegmDIFVslEzh3zmZ0dQTyjbLmp4/s1600/1_25.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA_tgYAsmdtG0YMwZ4p27bPlKQlcFYdoHFECw-ZCRa7h9cW3nyu3f5P2baNUGdoBt_XUkNXECSlpS4MsKPEo8P0VITLu-IWetKrKEerNrKVcIOzsyzegmDIFVslEzh3zmZ0dQTyjbLmp4/s640/1_25.png" width="640" /></a></div>
<br />
<br />
14. Database Provisioning page will be displayed. Navigate to <b>Databases </b>and <b>Nodes </b>tabs. Copy the <b>Public IP Address.</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1YGOejVk0zEE6gWeoXbZVE98uwpa3Ixa0omiTGssb6jky8Q1Paarc6XrNJi8qem4hwIrIy2PUXDLBTgl2DSqUBKvTaj4KG65dQdU0CNlrnksfoMiC9LTAapPwXHuZQ_VSIQOheW8ywrA/s1600/1_26.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1YGOejVk0zEE6gWeoXbZVE98uwpa3Ixa0omiTGssb6jky8Q1Paarc6XrNJi8qem4hwIrIy2PUXDLBTgl2DSqUBKvTaj4KG65dQdU0CNlrnksfoMiC9LTAapPwXHuZQ_VSIQOheW8ywrA/s640/1_26.png" width="640" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2r1K9R15fD1OZNIemGongDhj8kj5rqIt7vop3EJf_mx_gc97lzSSrX8XnrzAiUTDj3fy7ZrAQYlEEguRa6UPc6pyhj0Y5oCj4jdXiaVX3WcJO_TThs5nvZ6UQlsPl46wTK4T2NunbtiU/s1600/1_27.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2r1K9R15fD1OZNIemGongDhj8kj5rqIt7vop3EJf_mx_gc97lzSSrX8XnrzAiUTDj3fy7ZrAQYlEEguRa6UPc6pyhj0Y5oCj4jdXiaVX3WcJO_TThs5nvZ6UQlsPl46wTK4T2NunbtiU/s640/1_27.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4hmR9p9pK-gFp43m0PwV4RRMNGryM2bj8QzD1PQnlqGoktn6_WHFF7mAIGs5OhoS7ZNmv0ry9YrWx9IA1emfkwRKzErn0OUWZbrfVjXOiDnmR3eytB5stLn4FghxTNMvcC0wPQQ5pwFM/s1600/1_28.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4hmR9p9pK-gFp43m0PwV4RRMNGryM2bj8QzD1PQnlqGoktn6_WHFF7mAIGs5OhoS7ZNmv0ry9YrWx9IA1emfkwRKzErn0OUWZbrfVjXOiDnmR3eytB5stLn4FghxTNMvcC0wPQQ5pwFM/s640/1_28.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgIlPrDPsOWs7pBFOE5pCyBUG2PQ7o-XgAcAQMxH1VPszLuxiHh74lsYYlyB4oGVBpHK-g95mN04tDyrCYpK0ZoxOS6xB1U0lxw4koxAAkSunhkzzYmtajg0h8HYP4cdwkvVHs-fOjtbY/s1600/1_29.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgIlPrDPsOWs7pBFOE5pCyBUG2PQ7o-XgAcAQMxH1VPszLuxiHh74lsYYlyB4oGVBpHK-g95mN04tDyrCYpK0ZoxOS6xB1U0lxw4koxAAkSunhkzzYmtajg0h8HYP4cdwkvVHs-fOjtbY/s640/1_29.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh40aJCnEZbTCf4NKH3vA9w_TvixUGldvKegO1h3PH7SRAMD8i8HVoxj6y-gz3Zp8KD4myAATL_qgKEMe71k7OYLB57JxsDks2D0f34-lgOG4hnkQGBB-sgbu1SdzET9QD5tvRzQQ6Ww5o/s1600/1_30.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh40aJCnEZbTCf4NKH3vA9w_TvixUGldvKegO1h3PH7SRAMD8i8HVoxj6y-gz3Zp8KD4myAATL_qgKEMe71k7OYLB57JxsDks2D0f34-lgOG4hnkQGBB-sgbu1SdzET9QD5tvRzQQ6Ww5o/s640/1_30.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeuj6IbYVx6h4H4Y1OVDLxiiuE_qLR7Iog86M0KsQuya8EuotHOdHApxIcTojewNTbRgdT8XBCqvedeFVC9EOApyztvw88gZ2MMXcqN2EbkbELoHf0ZctKaWyI4pKHo84SJuQFgEpzphQ/s1600/1_31.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeuj6IbYVx6h4H4Y1OVDLxiiuE_qLR7Iog86M0KsQuya8EuotHOdHApxIcTojewNTbRgdT8XBCqvedeFVC9EOApyztvw88gZ2MMXcqN2EbkbELoHf0ZctKaWyI4pKHo84SJuQFgEpzphQ/s640/1_31.png" width="640" /></a></div>
<br />
15. Under <b>Databases </b>tab, click on Database Name or choose '<b>View Database</b>' option to view database details. Check the database port number. Default to <b><span style="color: blue;">1521</span></b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbf4hm-P7imarpfV6kj6ttLml9IBiXi9DrRo5Fp6I4zcs0GFnVe84PesardFiTDx3vlcpQUJ6NVavDmotUQQBQAT83oPU0nLdCWTd4dBVW4e8CfAELciBgFUOYxDft2iWGmHppnlz5KDI/s1600/1_32.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbf4hm-P7imarpfV6kj6ttLml9IBiXi9DrRo5Fp6I4zcs0GFnVe84PesardFiTDx3vlcpQUJ6NVavDmotUQQBQAT83oPU0nLdCWTd4dBVW4e8CfAELciBgFUOYxDft2iWGmHppnlz5KDI/s640/1_32.png" width="640" /></a></div>
<br />
<br />
16. In Database Details page, .Click on '<b>DB Connection</b>' button. Copy the connection details.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7XuJsg0MUuZD6HqQvdN6TXAn40RlClFSB35oN-pNngYt2pg8vJ5vjRVKhUYJPry4lh7gYau1-XGS6ev8WkCW6V_Iv7eQEb4F0VmmaJLbt6huQVq6WbPGDfe173KWo65dvZZ7kUfZhhIE/s1600/1_33.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7XuJsg0MUuZD6HqQvdN6TXAn40RlClFSB35oN-pNngYt2pg8vJ5vjRVKhUYJPry4lh7gYau1-XGS6ev8WkCW6V_Iv7eQEb4F0VmmaJLbt6huQVq6WbPGDfe173KWo65dvZZ7kUfZhhIE/s640/1_33.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTdLuKf6-Jj_VuGj5sqbcxxiA2bPBjvgw6JOOwZRlmNFx9FCvRzax-fOEtTAtpUud86GDPOnZFZ2c7W-d8tG08K_PqAwCxWAFF0Hq4_vJodUl7x_V-2Z0v5zw4YcT3q3MAaEEWx-PHtxk/s1600/1_34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhTdLuKf6-Jj_VuGj5sqbcxxiA2bPBjvgw6JOOwZRlmNFx9FCvRzax-fOEtTAtpUud86GDPOnZFZ2c7W-d8tG08K_PqAwCxWAFF0Hq4_vJodUl7x_V-2Z0v5zw4YcT3q3MAaEEWx-PHtxk/s640/1_34.png" width="640" /></a></div>
<br />
<h3 style="text-align: left;">
<b><span style="color: red;">Add Ingress Rule to Connect to Database:</span></b></h3>
<div>
<b><span style="color: red;"><br /></span></b></div>
17. Open the navigation menu. Under <b>Core Infrastructure</b>, go to <b>Networking </b>and click '<b>Virtual Cloud Networks</b>'. Existing VCN list will be displayed. Select the VCN and Click on '<b>Security List</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH33NlL-UZIJl6IxnZojZui-LuL7TQiMRXu5b9HmR-EXASrt6iWOK7RbIzpt6hukSEdMaQ85l8RJeRb6JVqTSr4Yh1Awssbv-upTPu9Iq44umyxFbjIMjKiijebXCjawumxhz14aBi85M/s1600/1_35.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH33NlL-UZIJl6IxnZojZui-LuL7TQiMRXu5b9HmR-EXASrt6iWOK7RbIzpt6hukSEdMaQ85l8RJeRb6JVqTSr4Yh1Awssbv-upTPu9Iq44umyxFbjIMjKiijebXCjawumxhz14aBi85M/s640/1_35.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho7h44UQTmEY-KdEAU1uHIdkpo6fEzu-UyMq6fXRAWYwwWJiwsbkics66-8GfqO7pxwoO3z31vxhkNh7pqiVYSZbwLUGWei2RnK-se9ZAypg7IlN6oSifLU3kke5l4Hr1KM2owKORovPc/s1600/1_36.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEho7h44UQTmEY-KdEAU1uHIdkpo6fEzu-UyMq6fXRAWYwwWJiwsbkics66-8GfqO7pxwoO3z31vxhkNh7pqiVYSZbwLUGWei2RnK-se9ZAypg7IlN6oSifLU3kke5l4Hr1KM2owKORovPc/s640/1_36.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA-ld9Swn69SMJriVusV90mJBrWsdmf599HYFRIk9laY0m0ShLmJuuikx29un4jNUIwHDWJqBT0viETCM3HbIvbuJFoiLknbgbJxoveJZ3rYqXbXl_xs3FWhcrcysvZyB7kwk2_O2RmKI/s1600/1_37.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhA-ld9Swn69SMJriVusV90mJBrWsdmf599HYFRIk9laY0m0ShLmJuuikx29un4jNUIwHDWJqBT0viETCM3HbIvbuJFoiLknbgbJxoveJZ3rYqXbXl_xs3FWhcrcysvZyB7kwk2_O2RmKI/s640/1_37.png" width="640" /></a></div>
<br />
<br />
18. Check the ingress rule, whether TCP Port#1521 enabled or not. If not click on '<b>Add Ingress Rules</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggA6uio3pjSTgRl9tFCI33q-D4TEFY-3GmhuTFSZTtoRxj9hHotBKqT7tTHE6hiLbLF3OYRSiQcaUChG8O4uDxpGewUNqXAczYspdntvPrRNFADeBC_R5PL79vylvUKm6tGwHt_XcoXTA/s1600/1_38.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEggA6uio3pjSTgRl9tFCI33q-D4TEFY-3GmhuTFSZTtoRxj9hHotBKqT7tTHE6hiLbLF3OYRSiQcaUChG8O4uDxpGewUNqXAczYspdntvPrRNFADeBC_R5PL79vylvUKm6tGwHt_XcoXTA/s640/1_38.png" width="640" /></a></div>
<br />
<br />
19. In the <b>Add Ingress Rules</b> dialog box, specify as following and then click on '<b>Add Ingress Rules</b>' button. Review the added rules information.<br />
<b>SOURCE CIDR:</b> 0.0.0.0/0<br />
<b>IP PROTOCOL:</b> TCP<br />
<b>SOURCE PORT RANGE:</b> ALL<br />
<b>DESTINATION PORT RANGE:</b> 1521<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtwORTjRzfpJ-vU5I2RrTAPPal9_hW_z8O-KNQ_aRS5fdjtreXCn2TrvHhQ6fpoWFwQh6X2J8PgQnd88vXB_2EDwr0VvCBCniTY_CY0h5b_SgpSFvF81rm58gTamQaroPgz6grfAL4phQ/s1600/1_39.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjtwORTjRzfpJ-vU5I2RrTAPPal9_hW_z8O-KNQ_aRS5fdjtreXCn2TrvHhQ6fpoWFwQh6X2J8PgQnd88vXB_2EDwr0VvCBCniTY_CY0h5b_SgpSFvF81rm58gTamQaroPgz6grfAL4phQ/s640/1_39.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGS6MkmiZ2LJRM4QCI_Zt6uhnGzA_Cu9udAzpwWVmD3IpshZhIowm-Zs2oD-38J8FlDz-77FsaKnUdsDA5vopeycCsTNx3qzAldVPVZV9tPEPUvvizXit1mT0T27i07EppnGCOa6w21JE/s1600/1_40.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGS6MkmiZ2LJRM4QCI_Zt6uhnGzA_Cu9udAzpwWVmD3IpshZhIowm-Zs2oD-38J8FlDz-77FsaKnUdsDA5vopeycCsTNx3qzAldVPVZV9tPEPUvvizXit1mT0T27i07EppnGCOa6w21JE/s640/1_40.png" width="640" /></a></div>
<br />
<br />
20. Open SQL Developer and <b>Add New Database Connection</b>. In Connection Window, specify as following and click on <b>Test</b>, followed by <b>Connect</b>.<br />
<b>Username</b>: SYS<br />
<b>Password</b>: As specified in the Create DB System page<br />
<b>Host name</b>: Copied Public IP Address<br />
<b>Port</b>: 1521<br />
<b>Service Name:</b> Copied Service Name<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA3SSEbiLJurFnhIATOkf5A8Og444AyUokRgSneu3bX8kdkzwO5DVa70e_fAm_EzwLzeJW_5wjH3X5_E0hYcpuPZiS9u5Tqr05tBAy6b1ArBHcrB71Pkqmh_315ZQhzXuCl2-RgnFgvVs/s1600/1_41.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="201" data-original-width="267" height="481" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjA3SSEbiLJurFnhIATOkf5A8Og444AyUokRgSneu3bX8kdkzwO5DVa70e_fAm_EzwLzeJW_5wjH3X5_E0hYcpuPZiS9u5Tqr05tBAy6b1ArBHcrB71Pkqmh_315ZQhzXuCl2-RgnFgvVs/s640/1_41.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH3QlIrL9nV5CjM-44UOLSqba1hIqi-WIXLm-GCUnD4o1_QiI1PSEIGJDyRTfT3VVRDP9_9f8RUlip0x_3jfqON0oc3ThG8yg1L1vNzKlku-Loa2QJlKOvvGtQmQPerAjJ_9LAsUDio3o/s1600/1_42.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="480" data-original-width="769" height="398" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiH3QlIrL9nV5CjM-44UOLSqba1hIqi-WIXLm-GCUnD4o1_QiI1PSEIGJDyRTfT3VVRDP9_9f8RUlip0x_3jfqON0oc3ThG8yg1L1vNzKlku-Loa2QJlKOvvGtQmQPerAjJ_9LAsUDio3o/s640/1_42.png" width="640" /></a></div>
<br />
<br />
21. Execute SQL queries to review database info.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQnKoYaw-jHjk8WNr6ZhtWXGUhNXJ4Hmw0tZhRQtTlCdlZLvT8s8k_HPDrdL0AEMQVwf7CaK6HQlKMjqj4ZZoabUbkLdTAVI8AwBOczmDlvKPhvN_ZcbMCJPGm3G3Wo_Vx9XjkjolEFQs/s1600/1_43.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="334" data-original-width="539" height="396" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQnKoYaw-jHjk8WNr6ZhtWXGUhNXJ4Hmw0tZhRQtTlCdlZLvT8s8k_HPDrdL0AEMQVwf7CaK6HQlKMjqj4ZZoabUbkLdTAVI8AwBOczmDlvKPhvN_ZcbMCJPGm3G3Wo_Vx9XjkjolEFQs/s640/1_43.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmV700j8fZIR7Opkbq4EkWMYlGEmWiDgf3lBlV8nOygtpAWJv5ya5rM7M4Tz6udDeDY3T-hTp9SPynQ6L_mW_Pnt1z_A-5oPgKPRVzaTUlKvm2P_DrfdZjLsAAOmTwPClCKMFOn6-WvhM/s1600/1_44.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="339" data-original-width="439" height="494" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmV700j8fZIR7Opkbq4EkWMYlGEmWiDgf3lBlV8nOygtpAWJv5ya5rM7M4Tz6udDeDY3T-hTp9SPynQ6L_mW_Pnt1z_A-5oPgKPRVzaTUlKvm2P_DrfdZjLsAAOmTwPClCKMFOn6-WvhM/s640/1_44.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPo6ajPhfp8uSSs3hEZB_OrzwSwLGNdRSpYYWDjcUOvskFkG-z2vcGHFYh_G2m2a9IRh09MULnPKKIwo7hs4z5sAQK4SBOFZgpdn_fnS8e9xII8AOICpOemnjAfb4ValSljQU52jgrTHo/s1600/1_45.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="321" data-original-width="600" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPo6ajPhfp8uSSs3hEZB_OrzwSwLGNdRSpYYWDjcUOvskFkG-z2vcGHFYh_G2m2a9IRh09MULnPKKIwo7hs4z5sAQK4SBOFZgpdn_fnS8e9xII8AOICpOemnjAfb4ValSljQU52jgrTHo/s640/1_45.png" width="640" /></a></div>
<br />
<h3 style="text-align: left;">
<span style="color: red;">Connect to Database Node via Putty:</span></h3>
<div>
<span style="color: red;"><br /></span></div>
22. Open puttygen to save private rsa key as .ppk file.<br />
23. Open putty and provide instance public IP address and choose private ppk file. Click Open. Log in user: <b>opc</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgFVfZtKXBvj4FdOIJhO-WrfpdZlJ8UjZgOpfMIv0yJO1wKar-AcrVK8BvrnuBKz7EneTXL5EvndrkeVn44tnT-tfP1wHqIgw3rtSD9qfW_PHWUnWhrKQG07VzupNIhq8hlZ1rWMe_KYo/s1600/1_46.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="438" data-original-width="451" height="620" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjgFVfZtKXBvj4FdOIJhO-WrfpdZlJ8UjZgOpfMIv0yJO1wKar-AcrVK8BvrnuBKz7EneTXL5EvndrkeVn44tnT-tfP1wHqIgw3rtSD9qfW_PHWUnWhrKQG07VzupNIhq8hlZ1rWMe_KYo/s640/1_46.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1wQTjV4l0EhSHhhN7WUjy09cIbuvBr68VyPJpAFW5o9JojSrnKAYG2Px7cgWWqc70vzn3OQTZqxbCe1mx32q5Vm1x_Xye6c6RMYyOVH6XL14ltbHC_IKjAme3er5d_TKfGQ0xE3v1Z7M/s1600/1_47.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="439" data-original-width="454" height="618" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1wQTjV4l0EhSHhhN7WUjy09cIbuvBr68VyPJpAFW5o9JojSrnKAYG2Px7cgWWqc70vzn3OQTZqxbCe1mx32q5Vm1x_Xye6c6RMYyOVH6XL14ltbHC_IKjAme3er5d_TKfGQ0xE3v1Z7M/s640/1_47.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOaWeiF4dQOzyWjTHXYa9VisdyEgin5fUHrnwetoDfIoJ9kKzuUAS8GcWa8QoGvmxeCa1MDnk0OydlQCbA40Y7RrFKmCdsFOL6aWWb9QHr1RH7xwiCsFRmzaYdznS8zAMsaQik1q_jZ44/s1600/1_48.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="188" data-original-width="506" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOaWeiF4dQOzyWjTHXYa9VisdyEgin5fUHrnwetoDfIoJ9kKzuUAS8GcWa8QoGvmxeCa1MDnk0OydlQCbA40Y7RrFKmCdsFOL6aWWb9QHr1RH7xwiCsFRmzaYdznS8zAMsaQik1q_jZ44/s640/1_48.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh96GVnjmmuVLT7qjO_wulubJRRlnUILm_9OT6MPK06U8ARPZrPvIyTbQq4gCY_Nv2EM_40NagNGpTosdVrUp5iQ9iqxPu9xxORWvZaeGH2QNc73B25iJVTKdTc8324PcLfZJF15eaE_Q/s1600/1_49.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="282" data-original-width="623" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh96GVnjmmuVLT7qjO_wulubJRRlnUILm_9OT6MPK06U8ARPZrPvIyTbQq4gCY_Nv2EM_40NagNGpTosdVrUp5iQ9iqxPu9xxORWvZaeGH2QNc73B25iJVTKdTc8324PcLfZJF15eaE_Q/s640/1_49.png" width="640" /></a></div>
<br />
<br />
24. Set environment variable and run sqlplus command to login via CLI.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcBxQ_KK5C9voUSYKZxS1V92dmXPXMwoKM9Qb3Qh03eq176pN8BEAl9VfIi5bYyKswskkezagzD1SGtcHQRoA6Qgpj3vfajNXBJgYGzXc88MHwN2AhMqwjCJASN7TJ0KmCAJGd7lPv7k4/s1600/1_50.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="832" data-original-width="652" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcBxQ_KK5C9voUSYKZxS1V92dmXPXMwoKM9Qb3Qh03eq176pN8BEAl9VfIi5bYyKswskkezagzD1SGtcHQRoA6Qgpj3vfajNXBJgYGzXc88MHwN2AhMqwjCJASN7TJ0KmCAJGd7lPv7k4/s640/1_50.png" width="500" /></a></div>
<br />
<h3 style="text-align: left;">
<span style="color: red;">Scale Storage Up:</span></h3>
<div>
<span style="color: red;"><br /></span></div>
25. Open the navigation menu. Under <b>Database</b>, click <b>Bare Metal, VM, and Exadata</b>. Click on the database to open database details page. In database details page, Click on '<b>Scale Up Storage</b>' option.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5NbXju8UajnUs2aqKWk3jEqtBHy3g7mKSqbmjei4x6r49OGybmDykoZhUIH6h0ktqLIEH1uAAMQxnCFO3gOijOTfQDCsmgvjINrAJTrML2FiDiQMnlC-Drha5Emnl_YheBk10CQMqtJM/s1600/1_51.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5NbXju8UajnUs2aqKWk3jEqtBHy3g7mKSqbmjei4x6r49OGybmDykoZhUIH6h0ktqLIEH1uAAMQxnCFO3gOijOTfQDCsmgvjINrAJTrML2FiDiQMnlC-Drha5Emnl_YheBk10CQMqtJM/s640/1_51.png" width="640" /></a></div>
<br />
<br />
26. Select new storage size and Click on <b>Update</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYc4UJhf2GXWo-cB7MzOFWaNs4C9egc0DKT7W0smm5-C0HTw6U3UMyY7sfXezQFp-WspJq0u1YeUKTFPvDG7Ng7XQHuTfW2TU8CfdKjdDc-CDQaY2vK6XRQFm9qSeiYRQLmHNFNQzEo-A/s1600/1_52.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYc4UJhf2GXWo-cB7MzOFWaNs4C9egc0DKT7W0smm5-C0HTw6U3UMyY7sfXezQFp-WspJq0u1YeUKTFPvDG7Ng7XQHuTfW2TU8CfdKjdDc-CDQaY2vK6XRQFm9qSeiYRQLmHNFNQzEo-A/s640/1_52.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik4pvrsCYBn1kuoOcKixkTiIQdz8ms1H3wekxl_IBBowAGRT_beFj1uAthNvcC0GzsE2XvRxerSpqqyEu-MNCvjjC28TDE34tSKGD9uRDBciriqgn32V6bLoLrBx_7-MlmIE8qwfkVtkA/s1600/1_53.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik4pvrsCYBn1kuoOcKixkTiIQdz8ms1H3wekxl_IBBowAGRT_beFj1uAthNvcC0GzsE2XvRxerSpqqyEu-MNCvjjC28TDE34tSKGD9uRDBciriqgn32V6bLoLrBx_7-MlmIE8qwfkVtkA/s640/1_53.png" width="640" /></a></div>
<br />
<h3 style="text-align: left;">
<span style="color: red;">Terminate:</span></h3>
<div>
<span style="color: red;"><br /></span></div>
27. Open the navigation menu. Under <b>Database</b>, click <b>Bare Metal, VM, and Exadata</b>. Click on the database to open database details page. In database details page, click on '<b>Terminate</b>'.<br />
<div>
<br /></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTd8iG1_4zojUf9YHLqO9nqsMiJipWCh8jxjp2JLFNPd32CcFdnWjf0hrYrCbjvKv-CmNftqK6eJMNcB7MhQzTdBd64XqpWZkMdKQylgWBEDlgZ_rgplOnsQm8ztzEDkrxlnqp9TN1s8Q/s1600/1_54.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTd8iG1_4zojUf9YHLqO9nqsMiJipWCh8jxjp2JLFNPd32CcFdnWjf0hrYrCbjvKv-CmNftqK6eJMNcB7MhQzTdBd64XqpWZkMdKQylgWBEDlgZ_rgplOnsQm8ztzEDkrxlnqp9TN1s8Q/s640/1_54.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSTfQNRJ-PNcKA4qtRnXHl5mVEi8wO_WahUVORXixomBFp-JldzEf4vJFCCaFzW_4eqP5raR_IqEznJ7tXU2Xx1tgDNtzxVWys3YSBrMeM9sXoonZonLgbxkOHMMZSHTUkWEcbN4728dM/s1600/1_56.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSTfQNRJ-PNcKA4qtRnXHl5mVEi8wO_WahUVORXixomBFp-JldzEf4vJFCCaFzW_4eqP5raR_IqEznJ7tXU2Xx1tgDNtzxVWys3YSBrMeM9sXoonZonLgbxkOHMMZSHTUkWEcbN4728dM/s640/1_56.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiExw9JFhLCOHGzyLCY3LTInT2mzH_Tn2MbyMrpzjONg2dBzbEPw0-MDqj1RKReWseswkwAFBEqteHqSPb4BJ2QX51QXznymvTocTNeO4jD2zT4nDmqxOk1_5AXjfXvR2Qfn8edsECvXXo/s1600/1_57.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiExw9JFhLCOHGzyLCY3LTInT2mzH_Tn2MbyMrpzjONg2dBzbEPw0-MDqj1RKReWseswkwAFBEqteHqSPb4BJ2QX51QXznymvTocTNeO4jD2zT4nDmqxOk1_5AXjfXvR2Qfn8edsECvXXo/s640/1_57.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHiEJf65k09sFz4t0EyNzI1vHCl9Pw_EHLglK8nPt6pLwUiKbZ9ZLY-a3PClHZPVQkIG72db2tlQJmAz-1nsqOPQ8EluUgAT6f3Q5xnibbkDUG15lRutMJ1I5w4DuUJLa-_ZjV-64YB1E/s1600/1_58.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHiEJf65k09sFz4t0EyNzI1vHCl9Pw_EHLglK8nPt6pLwUiKbZ9ZLY-a3PClHZPVQkIG72db2tlQJmAz-1nsqOPQ8EluUgAT6f3Q5xnibbkDUG15lRutMJ1I5w4DuUJLa-_ZjV-64YB1E/s640/1_58.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaY_bXDtCHxjrbaaX-egF1NcmRgp35eoMluG_T1IoBZDdTU7FivzVmIrldIkSSeYJ7Xe-PYEkThLI30WY7lHrK-eksHktAYy0dbuvE5Q_LOQfid7aY59A_bHfVyuZYuLrHSOkUOS-dNek/s1600/1_59.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaY_bXDtCHxjrbaaX-egF1NcmRgp35eoMluG_T1IoBZDdTU7FivzVmIrldIkSSeYJ7Xe-PYEkThLI30WY7lHrK-eksHktAYy0dbuvE5Q_LOQfid7aY59A_bHfVyuZYuLrHSOkUOS-dNek/s640/1_59.png" width="640" /></a></div>
<br /></div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-1705262423003787462019-08-11T11:43:00.000+05:302019-08-13T16:24:38.134+05:30Oracle Cloud (OCI):: Compute Instance<div dir="ltr" style="text-align: left;" trbidi="on">
Oracle Cloud Infrastructure Compute lets you provision and manage compute hosts, known as instances . You can launch instances as needed to meet your compute and application requirements. After you launch an instance, you can access it securely from your computer, restart it, attach and detach volumes, and terminate it when you're done with it. Any changes made to the instance's local drives are lost when you terminate it. Any saved changes to volumes attached to the instance are retained.<br />
<br />
In this tutorial, I will take you through the steps to create a Linux VM Compute Instance in Oracle Cloud Console and attached Block Storage to it.<br />
<br />
<h3 style="text-align: left;">
<b><span style="color: red;">Pre-Requisites:</span></b></h3>
<div>
<b><span style="color: red;"><br /></span></b></div>
1. The public key, in OpenSSH format, from the key pair that you plan to use for connecting to the instance via SSH. The following command works with Linux and Git Bash (Windows), and you only have to press enter for all steps. The generated SSH keys can be found inside the "<b>~/.ssh/</b>" folder in <b>Linux </b>or in the "<b>C:/Users/<username>/.ssh</b>" folder in <b>Windows</b>.<br />
<br />
<b><span style="background-color: white; color: blue;">$ ssh-keygen</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGXpEH6UJBaRvP9OI7zNHVpLN0I9IAgp0g-zyknc1DM3DJ_LKihPWG_RyeSTo1xYvuZZzM7U7UzbdJXu_UBYJtGupDzHY2k5rIevphyphenhyphenbZYKrTKVXczAoRCY3m4dEEhj4GWIBhe2ZihjSg/s1600/1_0.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="412" data-original-width="623" height="422" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGXpEH6UJBaRvP9OI7zNHVpLN0I9IAgp0g-zyknc1DM3DJ_LKihPWG_RyeSTo1xYvuZZzM7U7UzbdJXu_UBYJtGupDzHY2k5rIevphyphenhyphenbZYKrTKVXczAoRCY3m4dEEhj4GWIBhe2ZihjSg/s640/1_0.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvu_o5_EtcRhC5f51QaKjBjMw-ys4FBoyCBpUyL0N9wrAJj5chYVNfmeu68LAGkY7CJdxTyDtSw0kQWDB0TkYYc2gIY9l4NXtutLoT9Bz3lkFrivBCAg7_OaKM2yBmfE_qUMKkq_-7UvA/s1600/1_0_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="264" data-original-width="546" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvu_o5_EtcRhC5f51QaKjBjMw-ys4FBoyCBpUyL0N9wrAJj5chYVNfmeu68LAGkY7CJdxTyDtSw0kQWDB0TkYYc2gIY9l4NXtutLoT9Bz3lkFrivBCAg7_OaKM2yBmfE_qUMKkq_-7UvA/s640/1_0_1.png" width="640" /></a></div>
<br />
2. A virtual cloud network to launch the compute instance into.<br />
<br />
<h3 style="text-align: left;">
<span style="color: red;"><b>Create Compute Instance:</b></span></h3>
<div>
<span style="color: red;"><b><br /></b></span></div>
1. Login to <b>Oracle Cloud Console</b>. Browse <b>http://cloud.oracle.com/</b> and click <b>Sign In</b> at the top of the page. Enter the <b>Account Name </b>and click on <b>Next</b>. Select Identity Provider as '<b>oracleidentitycloudservice</b>' and click on <b>Continue </b>button under Single Sign-On Section. Enter <b>Username </b>and <b>Password</b>, click on <b>Sign In</b>. You're then directed to the Oracle Cloud Console.<br />
<br />
Refer to <a href="https://www.lkakarla.com/2019/08/oracle-cloud-oci-getting-started.html" target="_blank"><b>post</b></a> to get trail access to Oracle Cloud.<br />
<br />
<br />
2. Open the navigation menu. Under<b> Core Infrastructure</b>, go to <b>Compute </b>and click <b>Instances</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxwePdVXXQAdUwQgdeD1qcOgDDQzCh2X1iM0GXSgBoxGQc8iF7a84WLT7u4iVxercvFZM81J4Vj_aSiwMS_PZimELqgdmHa740cqeGyofpTQCkrjrtmd_xV83bRk2D2ByAc8UXFL3LYQY/s1600/1_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxwePdVXXQAdUwQgdeD1qcOgDDQzCh2X1iM0GXSgBoxGQc8iF7a84WLT7u4iVxercvFZM81J4Vj_aSiwMS_PZimELqgdmHa740cqeGyofpTQCkrjrtmd_xV83bRk2D2ByAc8UXFL3LYQY/s640/1_1.png" width="640" /></a></div>
<br />
3. Choose a Compartment you have permission to work in, and then click Create Instance.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp1XRygu0Y518pGJ2qtNb6Upy408MsR-v9nNvZs32kIOgAkF2WXxm_cb0y8WgzIZDk1KmgNDXDvGoik7DtIFj80RbMOwlivu7LdeZkzy9P9A845onmaoT7-xTWPDueu-UN_4hsp_oSE68/s1600/1_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp1XRygu0Y518pGJ2qtNb6Upy408MsR-v9nNvZs32kIOgAkF2WXxm_cb0y8WgzIZDk1KmgNDXDvGoik7DtIFj80RbMOwlivu7LdeZkzy9P9A845onmaoT7-xTWPDueu-UN_4hsp_oSE68/s640/1_2.png" width="640" /></a></div>
<br />
4. In the <b>Create Compute Instance</b> dialog box, specify the following:<br />
<b>Name your instance: </b><br />
<b>Select an availability domain for your instance:</b> AD1, AD2 or AD3<br />
<b>Choose an operating system or image source: </b> Oracle Linux 7.6<br />
<b>Choose instance type:</b> Virtual Machine<br />
<b>Choose instance shape:</b> VM.Standard2.1<br />
<b>Add SSH key: </b>Add the generated id_rsa.pub key<br />
<br />
Configure networking:<br />
<b>Virtual cloud network compartment:</b> The compartment you created<br />
<br />
You can leave rest of the fields empty if Virtual Cloud Network(VCN) is not created. System will automatically creates a new VCN in the same compartment with access to the internet.<br />
<br />
If VCN already created in the compartment, then choose accordingly.<br />
<br />
Click on <b>Create</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGz0uWwT880RpKDB1W6sFeQph2ucww6Wa8h8HwEOXUgVjQq2KkNgHXXrVydbCMMydtTUT_rHwNYdVtyPF1ebrb154eGHQuCa2sYCiEScyEYOcjmV8zNdB17sRASBbODAHg2K8_kdbYaMU/s1600/1_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGz0uWwT880RpKDB1W6sFeQph2ucww6Wa8h8HwEOXUgVjQq2KkNgHXXrVydbCMMydtTUT_rHwNYdVtyPF1ebrb154eGHQuCa2sYCiEScyEYOcjmV8zNdB17sRASBbODAHg2K8_kdbYaMU/s640/1_3.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8qKl151fUtVpvjUtVXU-HwyZooCMFV3XLw-kfzjD8Mnd8fWcxQgqkGrvsIS3L4TU9c5CcqCY27QfTinVeZKx5cTY21Ec1d_tRl0N9BjgVzMLcyGqwg0GljBV6aT-HaZiNCrvodD67Fag/s1600/1_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8qKl151fUtVpvjUtVXU-HwyZooCMFV3XLw-kfzjD8Mnd8fWcxQgqkGrvsIS3L4TU9c5CcqCY27QfTinVeZKx5cTY21Ec1d_tRl0N9BjgVzMLcyGqwg0GljBV6aT-HaZiNCrvodD67Fag/s640/1_4.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfXNsa8-aad-uP1q3-eY2aUhm41K2HBFv14recIIbExyC6yZgG9URcNKdPYnQ2IFYNU-kR0cZBIBoYp96QG0jBzix3I5XK_1DcWOdwiqzrNJhebTh5STDJsDCtcSIY1bXkw0-5s6Y69xA/s1600/1_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfXNsa8-aad-uP1q3-eY2aUhm41K2HBFv14recIIbExyC6yZgG9URcNKdPYnQ2IFYNU-kR0cZBIBoYp96QG0jBzix3I5XK_1DcWOdwiqzrNJhebTh5STDJsDCtcSIY1bXkw0-5s6Y69xA/s640/1_5.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFIBrc9UR3QsYyGgouAwXTdUIegB4v5m0tOtbHZYTnZHXViz2d4lVqdCWN8w7VZKSsP3u-0ORt2eHmwEGuCwHx0t0fhx8-z2oMH97mzQq4P-BtT03ZNT-pA5eyud0-nd02LuDaEXqTl58/s1600/1_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFIBrc9UR3QsYyGgouAwXTdUIegB4v5m0tOtbHZYTnZHXViz2d4lVqdCWN8w7VZKSsP3u-0ORt2eHmwEGuCwHx0t0fhx8-z2oMH97mzQq4P-BtT03ZNT-pA5eyud0-nd02LuDaEXqTl58/s640/1_6.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi12IIG177kseM-_EkIbRDoiJi-faZ-PuOb6LUJPmJ58-U-goxLTO822EasesHiGGil5IU1TwbKhLOoFT44N2Gz2VYb_O5qvXQ41Ad0I0Qy3J7Jw5bP1zH_5_tx9y6N9zat-xqVHa6C6Fg/s1600/1_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi12IIG177kseM-_EkIbRDoiJi-faZ-PuOb6LUJPmJ58-U-goxLTO822EasesHiGGil5IU1TwbKhLOoFT44N2Gz2VYb_O5qvXQ41Ad0I0Qy3J7Jw5bP1zH_5_tx9y6N9zat-xqVHa6C6Fg/s640/1_8.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_jtO5XSTWXoK1SeBIhg1QeEPcrVQSlva8CxyGVw3S_BhqmKKQ-nLY-S7RlLj67awQ4uRXWowLQE8u-JvcNewT3qTPKohmmnkGl5MBP2dGFUTIHhJm1iKAFBavJjxs52LkpvVxwQUhieI/s1600/1_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_jtO5XSTWXoK1SeBIhg1QeEPcrVQSlva8CxyGVw3S_BhqmKKQ-nLY-S7RlLj67awQ4uRXWowLQE8u-JvcNewT3qTPKohmmnkGl5MBP2dGFUTIHhJm1iKAFBavJjxs52LkpvVxwQUhieI/s640/1_9.png" width="640" /></a></div>
<br />
<br />
5. The new instance has been created and has a public IP address.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaDTvvPmGJhyphenhyphenlve_0NDQGlNayvFTHulGVjWoviLMpmniZYlPKOwD5fMpb1rQhCA9MKrxEocBpQXu7Iz1rG40BIhucjQssrLr3Jnau5STitiWoZLzXTxAfZu0IyPod1gu9AqYDs6F_ehMc/s1600/1_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaDTvvPmGJhyphenhyphenlve_0NDQGlNayvFTHulGVjWoviLMpmniZYlPKOwD5fMpb1rQhCA9MKrxEocBpQXu7Iz1rG40BIhucjQssrLr3Jnau5STitiWoZLzXTxAfZu0IyPod1gu9AqYDs6F_ehMc/s640/1_10.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdtkZnY1aeDxs_FBmxKi1gUtIsEUla933xymID97DS1_hp3OWXgvcM32qdN-G83CjwvIAg_l_ECMhqYSVMLiwHu3YU1Y5Ut35xcT7ZM2OcV2M8ACkZP5K0hvNP2nC20pYf_a6x5gzP-7w/s1600/1_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdtkZnY1aeDxs_FBmxKi1gUtIsEUla933xymID97DS1_hp3OWXgvcM32qdN-G83CjwvIAg_l_ECMhqYSVMLiwHu3YU1Y5Ut35xcT7ZM2OcV2M8ACkZP5K0hvNP2nC20pYf_a6x5gzP-7w/s640/1_11.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKH7JlHm2fWsC4DR8D5A_jksJui2pLrsONRKxFoRXpt7hsIgkWbXURO_2nVSe9e7WruLIKJh_Mi7QKcrfEFzTWehM-139UhkRAFnGW0h0oYTJyUJ5LgCvczICX8SjxVpcRpTs94P6MP2k/s1600/1_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKH7JlHm2fWsC4DR8D5A_jksJui2pLrsONRKxFoRXpt7hsIgkWbXURO_2nVSe9e7WruLIKJh_Mi7QKcrfEFzTWehM-139UhkRAFnGW0h0oYTJyUJ5LgCvczICX8SjxVpcRpTs94P6MP2k/s640/1_12.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguXWwF3MUbUccLaBfNOg-s5tXW3iE5te4mtRV5KtpdhQzZiA-ytf4KMCYcx3Dyde_TZhEW-nHvgs8_q-JT28AWqET9p8ejhzbtHv3MurcxNtQyWOSZ9iuCoVd5yKO16aXUv2kOrSj1QEM/s1600/1_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEguXWwF3MUbUccLaBfNOg-s5tXW3iE5te4mtRV5KtpdhQzZiA-ytf4KMCYcx3Dyde_TZhEW-nHvgs8_q-JT28AWqET9p8ejhzbtHv3MurcxNtQyWOSZ9iuCoVd5yKO16aXUv2kOrSj1QEM/s640/1_13.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp9Rcn2UuK8vSigAiZaDK8hfkNKCFAC0SzZHXoWdbFKfQsL3DdDq21Mc-TiWPzBZX5tgcfvS9LCGJHfXYzA5pmnBIAUjEmbjh_mMLp5FgwW3WABj68QKj2BxkUSSGsRcRwjrspz_vGamM/s1600/1_14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhp9Rcn2UuK8vSigAiZaDK8hfkNKCFAC0SzZHXoWdbFKfQsL3DdDq21Mc-TiWPzBZX5tgcfvS9LCGJHfXYzA5pmnBIAUjEmbjh_mMLp5FgwW3WABj68QKj2BxkUSSGsRcRwjrspz_vGamM/s640/1_14.png" width="640" /></a></div>
<br />
<br />
6. Open the navigation menu. Under <b>Core Infrastructure</b>, go to <b>Networking </b>and click '<b>Virtual Cloud Networks</b>'. Existing VCN list will be displayed. Select the VCN and Click on '<b>Security List</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJuTQARrM0cdmkxWjqzMofXnlgTrB-2JMnfzNfoFeRAakEWN-6BsYaFcJUf0T9CvvzWRC3cviyXg_43vo_L-KpXGyJJ3v36Y6su3dCoA9wwxhKHfpOsuNDTZZGKLUcqwUKLGhZlDO0F_8/s1600/1_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJuTQARrM0cdmkxWjqzMofXnlgTrB-2JMnfzNfoFeRAakEWN-6BsYaFcJUf0T9CvvzWRC3cviyXg_43vo_L-KpXGyJJ3v36Y6su3dCoA9wwxhKHfpOsuNDTZZGKLUcqwUKLGhZlDO0F_8/s640/1_15.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTxikJfERnReulqTj8fWJJUlb9_PK0oduYMTL_MaMQ74XaK33N7bMM5uQP3_OeQ8RLJ5Sssiiid2Gh37n_v4uPVbkteEo_AK1SFmKZ0mwRDtcXPXIuO6uIDEupOGfcmlWe0-fO-sSLAlE/s1600/1_16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTxikJfERnReulqTj8fWJJUlb9_PK0oduYMTL_MaMQ74XaK33N7bMM5uQP3_OeQ8RLJ5Sssiiid2Gh37n_v4uPVbkteEo_AK1SFmKZ0mwRDtcXPXIuO6uIDEupOGfcmlWe0-fO-sSLAlE/s640/1_16.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9R1iblgRMECwsbEGcrZfOkrmEhTnIrJKozQF_QBuYfcItf29S6_PFtiK5ADBKZNs_lJq7ELbx1QIa6c16YRp1wtfBp-THN7gPjqoNxb0AkzbI6dJ9H2DpJMOxpE9cfvozFFkQAOq9Nvo/s1600/1_17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9R1iblgRMECwsbEGcrZfOkrmEhTnIrJKozQF_QBuYfcItf29S6_PFtiK5ADBKZNs_lJq7ELbx1QIa6c16YRp1wtfBp-THN7gPjqoNxb0AkzbI6dJ9H2DpJMOxpE9cfvozFFkQAOq9Nvo/s640/1_17.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
7. Check the ingress rule, whether SSH connectivity enabled or not.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz62odsSsE15r6H4_7p_xNy4eEH9otbDkZT-m1832Ii_K_Hc_BU6aylOyvH1LY3-NQumHEXfUJIfxmKqK5QPJcqZi3BkUiwuNXd9WYENjAuqBEIGnSHZxpjX6G0s5c7bz1xRLY08xEu4c/s1600/1_18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz62odsSsE15r6H4_7p_xNy4eEH9otbDkZT-m1832Ii_K_Hc_BU6aylOyvH1LY3-NQumHEXfUJIfxmKqK5QPJcqZi3BkUiwuNXd9WYENjAuqBEIGnSHZxpjX6G0s5c7bz1xRLY08xEu4c/s640/1_18.png" width="640" /></a></div>
<br />
<br />
<h3 style="text-align: left;">
<span style="color: red;">Connect to Compute Node via Putty:</span></h3>
<div>
<span style="color: red;"><br /></span></div>
8. Open puttygen to save private RSA key as .ppk file.<br />
9. Open putty and provide instance public IP address and choose private ppk file. Click Open. Log in user: <b><span style="color: red;">opc</span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmR_Dk3qWorHc3xwNbv3k0e_oZ3jG_YC_pAxu03KD8nQ6TrEy8Y6dLGtbhDjfW9hChKHRhahp76i1KQQ7gQaQ6gvKtVzJ-Z5UFSeta8g3FFPh39UyLReZJoz9JD7cAuaUtAddhJIi8hAU/s1600/1_19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="439" data-original-width="453" height="618" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmR_Dk3qWorHc3xwNbv3k0e_oZ3jG_YC_pAxu03KD8nQ6TrEy8Y6dLGtbhDjfW9hChKHRhahp76i1KQQ7gQaQ6gvKtVzJ-Z5UFSeta8g3FFPh39UyLReZJoz9JD7cAuaUtAddhJIi8hAU/s640/1_19.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW7PsuRqfz_QLslRNSO0SnLSvdJNliIB94YbUFu3I-MhiPruYWYgYme8gTP6T18QyN2ZHretDFEdxLrWKSIxmUcPqn9jYXKhX7UTSfRN4GSniAVdjldm8EBvk-R3C3bpz-8ykGY6RARdU/s1600/1_20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="438" data-original-width="450" height="622" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjW7PsuRqfz_QLslRNSO0SnLSvdJNliIB94YbUFu3I-MhiPruYWYgYme8gTP6T18QyN2ZHretDFEdxLrWKSIxmUcPqn9jYXKhX7UTSfRN4GSniAVdjldm8EBvk-R3C3bpz-8ykGY6RARdU/s640/1_20.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8XHi4yFmparXJ92QelflvFLzwTvJBxGOVDZJb3bLaN6usBFXZwePLzPGkSa4y3cTQs-RXwLzkK22GAKGpWccVtpmyj5nKodd-gHyr9H7uRb20RGiwH7MXaDdm10dyVvLIE9CaFdONjkc/s1600/1_21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="175" data-original-width="550" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8XHi4yFmparXJ92QelflvFLzwTvJBxGOVDZJb3bLaN6usBFXZwePLzPGkSa4y3cTQs-RXwLzkK22GAKGpWccVtpmyj5nKodd-gHyr9H7uRb20RGiwH7MXaDdm10dyVvLIE9CaFdONjkc/s640/1_21.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRrr1OBKn71MbqEJrpfcOlgIIgaHxinWeHEOvReheYlqXWHAMRrBztAkDBAnDKFRQzSjzwjpztpW8k46tSo8YigO1cCAGpId5bUsdWSts6pIcZPDABd5rZNgyStUU2lUxIkmK95YG4EsM/s1600/1_22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="500" data-original-width="1036" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRrr1OBKn71MbqEJrpfcOlgIIgaHxinWeHEOvReheYlqXWHAMRrBztAkDBAnDKFRQzSjzwjpztpW8k46tSo8YigO1cCAGpId5bUsdWSts6pIcZPDABd5rZNgyStUU2lUxIkmK95YG4EsM/s640/1_22.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<h3 style="text-align: left;">
<span style="color: red;">Create Block Volume:</span></h3>
<div>
<span style="color: red;"><br /></span></div>
10. Open the navigation menu. Under <b>Core Infrastructure</b>, go to <b>Block Storage</b> and click '<b>Block Volumes</b>'. Select compartment and Click on '<b>Create Block Volume</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj1cI0lMjWPWDKR9LM1Ahsh-61Ln7vDS0Qpuhw9hByR-whHGKDjj7iFZw6TU66iJNfMN-QTju098yyl-pBRanL_Ll-b81_EomVNV9Z35sexIjDE631Mii_hgfXkbuaEeLJjIh_U7KRytQ/s1600/1_23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgj1cI0lMjWPWDKR9LM1Ahsh-61Ln7vDS0Qpuhw9hByR-whHGKDjj7iFZw6TU66iJNfMN-QTju098yyl-pBRanL_Ll-b81_EomVNV9Z35sexIjDE631Mii_hgfXkbuaEeLJjIh_U7KRytQ/s640/1_23.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPySPC50TMqDKPCfpI51URdUIdpVHsPCubKSQeHF9BSUX9mtAQqS8IUBQGNEkzrwfzpjQJI6HUjnDKO3hyl87NSIus5uZ0l7Aa-JEUZVCYmC-CBH3fdxCwYqIVpoFfWKjrQFYVO75UnzI/s1600/1_24.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPySPC50TMqDKPCfpI51URdUIdpVHsPCubKSQeHF9BSUX9mtAQqS8IUBQGNEkzrwfzpjQJI6HUjnDKO3hyl87NSIus5uZ0l7Aa-JEUZVCYmC-CBH3fdxCwYqIVpoFfWKjrQFYVO75UnzI/s640/1_24.png" width="640" /></a></div>
<br />
11. In the <b>Create Block Volume</b> dialog box, specify the following and Click on <b>Create Volume </b>button.<br />
<b>Block Volume Name: </b><br />
<b>Compartment Name: </b><br />
<b>Select an availability domain: </b><br />
<b>Volume Size: </b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVKHBD_WY1ps4HdXUXKv4N5E6ESTwGyT8wrqzuXUsPiAGR_LQ3Zw-lDqb-kkMl26GcIoR0vTQToI6RCPDAuV0Y_PFrLZFP2HrtDcevGZFSN0bGXoRu2aJJSt001CUXcsAee04BJ5-ZCdE/s1600/1_25.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVKHBD_WY1ps4HdXUXKv4N5E6ESTwGyT8wrqzuXUsPiAGR_LQ3Zw-lDqb-kkMl26GcIoR0vTQToI6RCPDAuV0Y_PFrLZFP2HrtDcevGZFSN0bGXoRu2aJJSt001CUXcsAee04BJ5-ZCdE/s640/1_25.png" width="640" /></a></div>
<br />
12. Block Volume details will be displayed as shown below. Wait until it's available.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIFIqqe3l9pLQZxczoerXerHg7herJlILcE-_h8_hwXX9dGHB-t-Ah-9yUtkAmQy96fef3ITCH3iOawhxEh2n4HKMYqz182wp4miF33GajcQjd3RTJds0r8AtceuDvFFEukytkBKNqkXI/s1600/1_26.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIFIqqe3l9pLQZxczoerXerHg7herJlILcE-_h8_hwXX9dGHB-t-Ah-9yUtkAmQy96fef3ITCH3iOawhxEh2n4HKMYqz182wp4miF33GajcQjd3RTJds0r8AtceuDvFFEukytkBKNqkXI/s640/1_26.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_ySLzwUi-GzNaT848qGa05Dz8NEJkWHI36ospnSF3cGdlbeIc4MjTy2S68C2-CA2iqocU6xiS1A76Wvd7SdzXnpo1zu8HVi257iuk3jRVK4QJX0_dNm2JZtQCZSA_9h9Jl69WntM5HP4/s1600/1_27.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_ySLzwUi-GzNaT848qGa05Dz8NEJkWHI36ospnSF3cGdlbeIc4MjTy2S68C2-CA2iqocU6xiS1A76Wvd7SdzXnpo1zu8HVi257iuk3jRVK4QJX0_dNm2JZtQCZSA_9h9Jl69WntM5HP4/s640/1_27.png" width="640" /></a></div>
<br />
<br />
<h3>
<span style="color: red;">Attach Block Volume:</span></h3>
<div>
<span style="color: red;"><br /></span></div>
13. Open the navigation menu. Under<b> Core Infrastructure</b>, go to <b>Compute </b>and click <b>Instances</b>. Select the existing Compute Instance. Navigate to '<b>Attached Block Volumes</b>'. Click on '<b>Attach Block Volume</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlcWgLMy94V0oRLC_8Z25kvN6x5JOkWrJlY2fZjfKdl2QFrNZn-USfMAkc2CZ1cNBRNsgzgx5BtW0B8UsjwZ86xsAH43t9U4vpyFGbr9jZpXsDQJ1bHeAWcdjcCcFgbbuTIEe_F-nQ7AQ/s1600/1_28.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlcWgLMy94V0oRLC_8Z25kvN6x5JOkWrJlY2fZjfKdl2QFrNZn-USfMAkc2CZ1cNBRNsgzgx5BtW0B8UsjwZ86xsAH43t9U4vpyFGbr9jZpXsDQJ1bHeAWcdjcCcFgbbuTIEe_F-nQ7AQ/s640/1_28.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe7ama53sP_05wDcK1eH1uQ8Jc4hCHuxPMDTJb-ilZx1cWe_DOhR26Zm84srWJAUnKqwi9K0aodxd_AFKjJXmqXdSVOt7G46UOqsAn9ndsmK15oFyEBrewHQKwY3XES3gUOYjFTEfDF80/s1600/1_29.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhe7ama53sP_05wDcK1eH1uQ8Jc4hCHuxPMDTJb-ilZx1cWe_DOhR26Zm84srWJAUnKqwi9K0aodxd_AFKjJXmqXdSVOt7G46UOqsAn9ndsmK15oFyEBrewHQKwY3XES3gUOYjFTEfDF80/s640/1_29.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioD4jMy6dMBVYQpb-Wxw0OOCtrteuF1NKiT4CfKUY4GOG2q9F-C1230FPV1L26dT-aBbVIKceP9oBnmemIJtnOQdFcD224d2RxQBXyTC2oWpWCk60WnWuLRZg9IQSQYwWDE6YlDGL4aXQ/s1600/1_30.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEioD4jMy6dMBVYQpb-Wxw0OOCtrteuF1NKiT4CfKUY4GOG2q9F-C1230FPV1L26dT-aBbVIKceP9oBnmemIJtnOQdFcD224d2RxQBXyTC2oWpWCk60WnWuLRZg9IQSQYwWDE6YlDGL4aXQ/s640/1_30.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinJsyDkpcG2ODD8_jpLggPdhDBOzmgBp3LZSl7ohHP-TTQyiR2iuDBom_PyW7nJaMXh02gSBm-egzKRrBLIQeQpPPRWEUiwIrqNLWK0G6WgYlHfFHy7JQFf2cwdpF3zQY7QCD1vyfAjws/s1600/1_31.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinJsyDkpcG2ODD8_jpLggPdhDBOzmgBp3LZSl7ohHP-TTQyiR2iuDBom_PyW7nJaMXh02gSBm-egzKRrBLIQeQpPPRWEUiwIrqNLWK0G6WgYlHfFHy7JQFf2cwdpF3zQY7QCD1vyfAjws/s640/1_31.png" width="640" /></a></div>
<br />
<br />
14. In the Attach Block Volume dialog box, specify the following and Click on <b>Attach </b>button.<br />
Choose the mechanism to attached volume:<br />
<b>Access Type: </b><br />
<b>Compartment:</b><br />
<b>Block Volume:</b><br />
<b>Device Path: </b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivY3Ivvx77Ga1QgvzRHEfBDhsDradWvmYl5VlWdH_uEhg-_ea10Lk7Kw45L-HvXC3YR28h7hW099NxH7Y4rNaq3qIGJijbyw_WcPjwY9LQWJOookdpMnZVEGLXA4Yz1Q62dk0AJO5uy8M/s1600/1_32.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivY3Ivvx77Ga1QgvzRHEfBDhsDradWvmYl5VlWdH_uEhg-_ea10Lk7Kw45L-HvXC3YR28h7hW099NxH7Y4rNaq3qIGJijbyw_WcPjwY9LQWJOookdpMnZVEGLXA4Yz1Q62dk0AJO5uy8M/s640/1_32.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDfPknGg4KcHF2jSz3OD1-dyMMWn_ixerZGUVFCrFX5lVnJmROSc66TIBd54Em6vzRRLPYQz5a7ah-j_kxfCZfcU1Q9vrCKr92QRGkOjCUrbGrDS-L7x81TfsWZ6m8KlPc9A6QV5oppGE/s1600/1_33.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDfPknGg4KcHF2jSz3OD1-dyMMWn_ixerZGUVFCrFX5lVnJmROSc66TIBd54Em6vzRRLPYQz5a7ah-j_kxfCZfcU1Q9vrCKr92QRGkOjCUrbGrDS-L7x81TfsWZ6m8KlPc9A6QV5oppGE/s640/1_33.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjPbgsibOKy1-YHLdhPh7NCx6-9UMgAKwuhbtVfaS87bFoQSc7Jm1eIquTUjI0O7ZQOvcS7bzE4vH20xy9WnTOdwe5lgUtS-fShm8QkUCDjWtybGWs0xyX7lr1jUy1MnAOEpqnYT7Wmrc/s1600/1_34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjPbgsibOKy1-YHLdhPh7NCx6-9UMgAKwuhbtVfaS87bFoQSc7Jm1eIquTUjI0O7ZQOvcS7bzE4vH20xy9WnTOdwe5lgUtS-fShm8QkUCDjWtybGWs0xyX7lr1jUy1MnAOEpqnYT7Wmrc/s640/1_34.png" width="640" /></a></div>
<br />
15. When the attachment is complete, need to run <b>iSCSI </b>commands to enable the block volume.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxRPsOD0PHvVAvB5EGXY4uAgtXImFjHVwcIw9F7FU_caUtf_Ns10IvOaHbt_4dKWFzYtnrjL3x9G7o0Zw1TgI9u96nG4K4p_87QKdJ1VnEQ5o87j5vx9KM8Ugv90-bduVh1NqWWz7zWaA/s1600/1_35.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjxRPsOD0PHvVAvB5EGXY4uAgtXImFjHVwcIw9F7FU_caUtf_Ns10IvOaHbt_4dKWFzYtnrjL3x9G7o0Zw1TgI9u96nG4K4p_87QKdJ1VnEQ5o87j5vx9KM8Ugv90-bduVh1NqWWz7zWaA/s640/1_35.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfyPnrH7oICo2KFP_WMbeEjZ7V-8C67FsG_8xPhmV14bDuWxq08ZogLAJZ2J0iWfMM9VFwEUur4UPOA4sLqHYXFKah4Inc3_O2PI2juTFCb_ZSyT7Zp-eaIoxoiItM-pZm2MikmA-ie4c/s1600/1_36.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfyPnrH7oICo2KFP_WMbeEjZ7V-8C67FsG_8xPhmV14bDuWxq08ZogLAJZ2J0iWfMM9VFwEUur4UPOA4sLqHYXFKah4Inc3_O2PI2juTFCb_ZSyT7Zp-eaIoxoiItM-pZm2MikmA-ie4c/s640/1_36.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIsOZqh9M3R7zKh-fTZ8qyIXEkzY6dQiol4wn5miOJPzL0xQ4NPLnM4lXhsZhusU2a_SLvQBv-tO06ma7roMQYoRvsbmCT1F2KqmsSOg-RlaDAcXVl7RTNPatrGDBCJGOu1uLtQcQoChc/s1600/1_38.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIsOZqh9M3R7zKh-fTZ8qyIXEkzY6dQiol4wn5miOJPzL0xQ4NPLnM4lXhsZhusU2a_SLvQBv-tO06ma7roMQYoRvsbmCT1F2KqmsSOg-RlaDAcXVl7RTNPatrGDBCJGOu1uLtQcQoChc/s640/1_38.png" width="640" /></a></div>
<br />
16. Click on '<b>iSCSI Commands & Information</b>'. Switch to putty session and run the commands as mentioned.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6xSqA-7Y4b6MCqoKSiVxx4yILoLPAwFmB9SAV6kKtdVrsNfWOLJjzJqjGVICBPGa9-eekh2oamiCBLn5QS6OCnPta0GV3ZrAtLL1W2BrPH2BOrYOa5eeu4thQg_qA5fCBrafgN9ehrrA/s1600/1_39.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6xSqA-7Y4b6MCqoKSiVxx4yILoLPAwFmB9SAV6kKtdVrsNfWOLJjzJqjGVICBPGa9-eekh2oamiCBLn5QS6OCnPta0GV3ZrAtLL1W2BrPH2BOrYOa5eeu4thQg_qA5fCBrafgN9ehrrA/s640/1_39.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbsED9K0VuKUxlLgVjgiUPTN3yNfV0-DRWH4dxFx3wjDhLLoSeDItB9ks053LRlD7AGLzUfIYFaaU1Ir5mjgfg11l8wDwvIoJKSh04eMns3TzY5NM-CGWKwiWxv5uVKO8Gj8ul7Vvx5dM/s1600/1_40.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="874" data-original-width="1380" height="404" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbsED9K0VuKUxlLgVjgiUPTN3yNfV0-DRWH4dxFx3wjDhLLoSeDItB9ks053LRlD7AGLzUfIYFaaU1Ir5mjgfg11l8wDwvIoJKSh04eMns3TzY5NM-CGWKwiWxv5uVKO8Gj8ul7Vvx5dM/s640/1_40.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb6UMV1FBeJpoLrRZdobD9rpSonKl4KlwjHT7OXMlmpeT0q_BHp_iwT1D09r4poyg4bbYD0HUr8GpMzGdKGp88OK9kCNtpyxOktb6GlD1W679P7R8BRh0Ksnp1-weTm1vwNl9roIUcNhc/s1600/1_41.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjb6UMV1FBeJpoLrRZdobD9rpSonKl4KlwjHT7OXMlmpeT0q_BHp_iwT1D09r4poyg4bbYD0HUr8GpMzGdKGp88OK9kCNtpyxOktb6GlD1W679P7R8BRh0Ksnp1-weTm1vwNl9roIUcNhc/s640/1_41.png" width="640" /></a></div>
<br />
<br />
<h3 style="text-align: left;">
<span style="color: red;">Terminate:</span></h3>
<div>
<span style="color: red;"><br /></span></div>
17. Terminate: Open the navigation menu. Under<b> Core Infrastructure</b>, go to <b>Compute </b>and click <b>Instances</b>. Select the existing Compute Instance and click on Terminate. Similarly for Block Volume.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvsBFrzpV4r966APZseI2fYp7iXPLF4zEbbI0v0xAME-YplmqDL4yNg9GYrEYH-gsTrcRdMPbkxuQuTxxu0fwGSWYPVWCQm1JCaAvQMSgwbJ6u0NhT6j06sZTw_9490gjImSVAAfwurkQ/s1600/1_42.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvsBFrzpV4r966APZseI2fYp7iXPLF4zEbbI0v0xAME-YplmqDL4yNg9GYrEYH-gsTrcRdMPbkxuQuTxxu0fwGSWYPVWCQm1JCaAvQMSgwbJ6u0NhT6j06sZTw_9490gjImSVAAfwurkQ/s640/1_42.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsSYiAxsX5Oz5q1lCFO1e4DdXesVWCKmmDAfdAzxjKW9h2Wv_zqjzUKNtUDkeiEOReCtF2vE9WXahjRlN-T7YQmlXnwLG3Sx2vimo7iPGaTidUBp32ubQ9qfhdq60GmRxRwKKmK8jfZ6k/s1600/1_43.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsSYiAxsX5Oz5q1lCFO1e4DdXesVWCKmmDAfdAzxjKW9h2Wv_zqjzUKNtUDkeiEOReCtF2vE9WXahjRlN-T7YQmlXnwLG3Sx2vimo7iPGaTidUBp32ubQ9qfhdq60GmRxRwKKmK8jfZ6k/s640/1_43.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVz-sEkVVQJKB_TLIKmEXxSSQqR_mxbT8fQR1FoChYYfweMxzYCivMyG4kp5iC8tSLdb3dtfvVaRpIbDD9w5Agi39muulqqgz-T-hkGCijb-i7-5LT7A8Y_2hoXpz8eqWjH8Lbf1AQwWw/s1600/1_44.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVz-sEkVVQJKB_TLIKmEXxSSQqR_mxbT8fQR1FoChYYfweMxzYCivMyG4kp5iC8tSLdb3dtfvVaRpIbDD9w5Agi39muulqqgz-T-hkGCijb-i7-5LT7A8Y_2hoXpz8eqWjH8Lbf1AQwWw/s640/1_44.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKru9nXPNfZ7V9BCwIDiNn9rSfhfxOUHzNGf0bzM-C_z6momlFv6AjsX6YXjDVacaUY9uQco6E8TGPuL6Yq0v73znJ0JlT_0SLKZ8Sz1MoyU5YqCf8MmcxHy7SzUx7vvVrOKjr2qavPO8/s1600/1_44_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKru9nXPNfZ7V9BCwIDiNn9rSfhfxOUHzNGf0bzM-C_z6momlFv6AjsX6YXjDVacaUY9uQco6E8TGPuL6Yq0v73znJ0JlT_0SLKZ8Sz1MoyU5YqCf8MmcxHy7SzUx7vvVrOKjr2qavPO8/s640/1_44_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1mw5nAS9m4w_CA1FcB0yrpwrEcNy9my9_pYDqmM5-_u1T9SqWrdNeJJwhLOtKLYPIejWyelBIFUeTmsTDpIZD-kW_Me9PoJZIlQ0b7-i6XFdgRzn3jTKa_vPaKTA47WYQ_k3QjTrtKEA/s1600/1_45.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1mw5nAS9m4w_CA1FcB0yrpwrEcNy9my9_pYDqmM5-_u1T9SqWrdNeJJwhLOtKLYPIejWyelBIFUeTmsTDpIZD-kW_Me9PoJZIlQ0b7-i6XFdgRzn3jTKa_vPaKTA47WYQ_k3QjTrtKEA/s640/1_45.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOADQnNVZkXthG4nsiv8ZHL9Efygpy-BG8D7DrRc3qJiyfiRsboh42Uo_xUwecfmS5d5ewPlCrEoz_-I_dIQGhFtihabnJXfFGEOlRontxbYoszttUAGEkq0Ap5BtSzk3gsNeo0N6EwJY/s1600/1_46.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOADQnNVZkXthG4nsiv8ZHL9Efygpy-BG8D7DrRc3qJiyfiRsboh42Uo_xUwecfmS5d5ewPlCrEoz_-I_dIQGhFtihabnJXfFGEOlRontxbYoszttUAGEkq0Ap5BtSzk3gsNeo0N6EwJY/s640/1_46.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivND6insjiKqv-vZ7mjS7sa4zaK9EE4Cjfwyx2mcY2wbF_Gt6fioT0VqKAgFvj1iTgtK6WPAq5jS2CVFnVcBqNzd84dMTrGAahyphenhyphend6XDBCgxzQodv2jjyQ7IB7jGCyhGccQTBw8kBKgdqc/s1600/1_47.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivND6insjiKqv-vZ7mjS7sa4zaK9EE4Cjfwyx2mcY2wbF_Gt6fioT0VqKAgFvj1iTgtK6WPAq5jS2CVFnVcBqNzd84dMTrGAahyphenhyphend6XDBCgxzQodv2jjyQ7IB7jGCyhGccQTBw8kBKgdqc/s640/1_47.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDHBHz1nG3K3-iGtkby-0B_3_kz7o0GEkHlsG9I7WeqTaDyJRJy0pwHwo9tHzyvfL2xuoJtbjbZ-zudQ4JgzAnZuhLl8ohIsqK-3I1Jtk4BLKxTzduSBsdy12M_J4dUp7KqrvKJZ7uKSA/s1600/1_48.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDHBHz1nG3K3-iGtkby-0B_3_kz7o0GEkHlsG9I7WeqTaDyJRJy0pwHwo9tHzyvfL2xuoJtbjbZ-zudQ4JgzAnZuhLl8ohIsqK-3I1Jtk4BLKxTzduSBsdy12M_J4dUp7KqrvKJZ7uKSA/s640/1_48.png" width="640" /></a></div>
<br />
<div>
<br /></div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-84097932591487937002019-08-07T11:44:00.000+05:302019-08-08T06:37:05.488+05:30Oracle Cloud (OCI):: Object Storage<div dir="ltr" style="text-align: left;" trbidi="on">
The Oracle Cloud Infrastructure Object Storage service is an internet-scale, high-performance storage platform that offers reliable and cost-efficient data durability. The Object Storage service can store an unlimited amount of unstructured data of any content type, including analytic data and rich content, like images and videos.<br />
<br />
With Object Storage, you can safely and securely store or retrieve data directly from the internet or from within the cloud platform.<br />
<br />
In this tutorial, I will take you through Object Storage in Oracle Cloud Console.<br />
<br />
1. First of all, you need to login to <b>Oracle Cloud Console</b>. Browse <b>http://cloud.oracle.com/</b> and click <b>Sign In</b> at the top of the page. Enter the Account Name and click on Next. Select Identity Provider as '<b>oracleidentitycloudservice</b>' and click on <b>Continue </b>button under Single Sign-On Section. Enter <b>Username </b>and <b>Password</b>, click on <b>Sign In</b>. You're then directed to the Oracle Cloud Console.<br />
<br />
Refer to <a href="https://www.lkakarla.com/2019/08/oracle-cloud-oci-getting-started.html" target="_blank">post </a>to get trail access to Oracle Cloud.<br />
<br />
2. Click on <b>Object Storage -> Object Storage</b>. You will be navigated to Object Storage home page. Click on '<b>Create Bucket</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVX26U02lLHAYTfdLkrx2MYl2YwNOqYnVJb8fihyphenhyphenk5EPGr3-4i8OE2lpdb64EhydWfnMMHQz0cd_LghipO7z_y8lCgMcMWHQ4Dpga2PVujsnsiMeU9E8HJpojUezq4Nv3lN2V4iY0Aelw/s1600/1_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVX26U02lLHAYTfdLkrx2MYl2YwNOqYnVJb8fihyphenhyphenk5EPGr3-4i8OE2lpdb64EhydWfnMMHQz0cd_LghipO7z_y8lCgMcMWHQ4Dpga2PVujsnsiMeU9E8HJpojUezq4Nv3lN2V4iY0Aelw/s640/1_1.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhjKvCtp-mhhpz5RlHjCN_9eblRbogjNgCklE3__BUsujPtrq9Qhfqw-TxYdqoDuRz4cGxkV-7D4nPBiNu_-avzWaKY37PNxt4inX47s_aK57AzdEVaxoRYnb7ORb-HChjSU3C3R6Len0/s1600/1_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhjKvCtp-mhhpz5RlHjCN_9eblRbogjNgCklE3__BUsujPtrq9Qhfqw-TxYdqoDuRz4cGxkV-7D4nPBiNu_-avzWaKY37PNxt4inX47s_aK57AzdEVaxoRYnb7ORb-HChjSU3C3R6Len0/s640/1_2.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
3. Enter Bucket Name and accept defaults. Click '<b>Create Bucket</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJfIrZ6MIReLhVZcMnsDqM79t3Zy6JSo-d5uIEQAA2yR62FQYYJaTKCH1lmpDrmTjQyGRMyqkRghWsessrIvlJqqWlm2h_GY7x2WNHXIWeWfbZkTejVZDZguMZUsikxX3Uu0pU0erzRJs/s1600/1_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJfIrZ6MIReLhVZcMnsDqM79t3Zy6JSo-d5uIEQAA2yR62FQYYJaTKCH1lmpDrmTjQyGRMyqkRghWsessrIvlJqqWlm2h_GY7x2WNHXIWeWfbZkTejVZDZguMZUsikxX3Uu0pU0erzRJs/s640/1_3.png" width="640" /></a></div>
<br />
4. Click on bucket name or '<b>View Bucket Details</b>' to view bucket details.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2U6xeZLmdQrMau7DsDYsOdiXZ-Czcxq-MvUZeKyGC3Dg-rhDwiLfjAf0_28adt2RZj1PtBPOhZi4u5xJArQ0_-RXsQ3c2hd3NqOE0ur0eD9OFxwtT5Gx5cvmeBOqN2N_S-UdL4yLFfak/s1600/1_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2U6xeZLmdQrMau7DsDYsOdiXZ-Czcxq-MvUZeKyGC3Dg-rhDwiLfjAf0_28adt2RZj1PtBPOhZi4u5xJArQ0_-RXsQ3c2hd3NqOE0ur0eD9OFxwtT5Gx5cvmeBOqN2N_S-UdL4yLFfak/s640/1_4.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
5. Inside bucket, click on '<b>Upload Objects</b>' button.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkc7Hkuwes5xgS1gg4iSIRLOozkwK-hryQkRUAhlgPjBOtlr6ewrZtUwfjnWRCLCiN5vtdlRv3gVVekIfR3-Pd_zrczOzExpdiN0SEBB2I-k_luCRyNWY5BfcOKWSW79aidNQTrvbTFAM/s1600/1_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkc7Hkuwes5xgS1gg4iSIRLOozkwK-hryQkRUAhlgPjBOtlr6ewrZtUwfjnWRCLCiN5vtdlRv3gVVekIfR3-Pd_zrczOzExpdiN0SEBB2I-k_luCRyNWY5BfcOKWSW79aidNQTrvbTFAM/s640/1_5.png" width="640" /></a></div>
<br />
6. Select files and Click on '<b>Upload Objects</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1s27MqfA8xYntB-QNUVzlGJnrTc5NJet_C7KEfofVAN3LTl5pc6eR4WVLlVFfH5BfPpQ-wKgn-9JaKhDa8ikEodBkpkNGOfLU-gW4aq4N9lXQ0azfIZgTEAwt0ML3zSskuZMY7aITIWg/s1600/1_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1s27MqfA8xYntB-QNUVzlGJnrTc5NJet_C7KEfofVAN3LTl5pc6eR4WVLlVFfH5BfPpQ-wKgn-9JaKhDa8ikEodBkpkNGOfLU-gW4aq4N9lXQ0azfIZgTEAwt0ML3zSskuZMY7aITIWg/s640/1_6.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9vkG0QQ_XKeVltsKt1qbKpO1hRpMmnkHYTgqAoWZsjSdb_H0ha7QBXtDeQjx4jBccsnOwbj4V8dyo5TLP-G-3LJTeRij5V2siRZgnQdDF1E7ro0i_rKGJpkSAif_Wd_ClqzTY9LPnR3I/s1600/1_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9vkG0QQ_XKeVltsKt1qbKpO1hRpMmnkHYTgqAoWZsjSdb_H0ha7QBXtDeQjx4jBccsnOwbj4V8dyo5TLP-G-3LJTeRij5V2siRZgnQdDF1E7ro0i_rKGJpkSAif_Wd_ClqzTY9LPnR3I/s640/1_7.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjimGgRuJKYZSuJGbfq90waWp9fBEvELPLXnoa4oyF3FBHUwRdKlFxBwhfzB42f6wh1xpeFunP_UVf1HNgGjqaN0WZkbaIFngTcjmBaRRYt1mF_sAGPVDLPwxJRGp05i4myZUQGXecYi74/s1600/1_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjimGgRuJKYZSuJGbfq90waWp9fBEvELPLXnoa4oyF3FBHUwRdKlFxBwhfzB42f6wh1xpeFunP_UVf1HNgGjqaN0WZkbaIFngTcjmBaRRYt1mF_sAGPVDLPwxJRGp05i4myZUQGXecYi74/s640/1_8.png" width="640" /></a></div>
<br />
7. After completion of object upload, the page will show uploaded object details. Click on '<b>View Object Details</b>'. You can download the objects.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqLuRTXMr_vc4kVYuxI4HV00ihyphenhyphenZcRRusCBLzAD4HiehBBkbfSQyX7jl2K52eeQUlYO2huqpRXnSTfo7lAvoNhwezDyAC2_HD2ZQZE-ghkhKQD5XatrieII1tVvN9sU4A-0p43_26v484/s1600/1_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqLuRTXMr_vc4kVYuxI4HV00ihyphenhyphenZcRRusCBLzAD4HiehBBkbfSQyX7jl2K52eeQUlYO2huqpRXnSTfo7lAvoNhwezDyAC2_HD2ZQZE-ghkhKQD5XatrieII1tVvN9sU4A-0p43_26v484/s640/1_9.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgETqh0F_RnVtn7Y7IO-bbbKHberSAhl6YvpW5MXywpOOhb838Tk4UUiyxxsGBdQajlQDhrVbpLwiVNEJ0S0xPRCgF3EsDiiHOhIso-1yH0XHDowfNARHEfxSoX2Ich_hI7avt6a5kR5WM/s1600/1_9_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgETqh0F_RnVtn7Y7IO-bbbKHberSAhl6YvpW5MXywpOOhb838Tk4UUiyxxsGBdQajlQDhrVbpLwiVNEJ0S0xPRCgF3EsDiiHOhIso-1yH0XHDowfNARHEfxSoX2Ich_hI7avt6a5kR5WM/s640/1_9_1.png" width="640" /></a></div>
<br />
8. <b>Change Bucket Visibility: </b>Go back buckets page and Click on '<b>Edit Visibility</b>'. Change visibility to '<b>Public</b>' and Save Changes. It will allow external users/systems to access the objects in this bucket over internet.<br />
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2DcurtrXi9404CkYegtxevXsa_TJLx3n42TvTc01mfW8KrPaz3Hi6xLgwNZ6hL2JNeKkDXohRTYlDOaRU1NM9X7PnfQ2crPFvFKJSFPNuC8z8syQMMVQH7H8q3nK65A9oudsRaPCLVUU/s1600/1_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2DcurtrXi9404CkYegtxevXsa_TJLx3n42TvTc01mfW8KrPaz3Hi6xLgwNZ6hL2JNeKkDXohRTYlDOaRU1NM9X7PnfQ2crPFvFKJSFPNuC8z8syQMMVQH7H8q3nK65A9oudsRaPCLVUU/s640/1_10.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXd1rRQEFgNHq81sGiFdv3-0e0L5nvdcbxeDGimXx2oTnK1bDhDcbH3ZR0vk3GvKFJBgCHvbhCrmSS77_Gp8woiUyn0WRRzdSlSw2koFz4gfGpNLHWWURGuMcg3oXy32hmdmrx4DvYYss/s1600/1_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXd1rRQEFgNHq81sGiFdv3-0e0L5nvdcbxeDGimXx2oTnK1bDhDcbH3ZR0vk3GvKFJBgCHvbhCrmSS77_Gp8woiUyn0WRRzdSlSw2koFz4gfGpNLHWWURGuMcg3oXy32hmdmrx4DvYYss/s640/1_11.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-k07g5bcS0XJ_Gv4WM3uJWxMdQaB-gSpi7UsBRpTOc-lTXjIK9OpvJkiw-f99LMd64lPBIsODECQVdmJjCjh2vGufluI7_-EkTQCZquUJULmpn_u7tfUeiCdy08cHPAiIj41Y7v4RsoQ/s1600/1_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-k07g5bcS0XJ_Gv4WM3uJWxMdQaB-gSpi7UsBRpTOc-lTXjIK9OpvJkiw-f99LMd64lPBIsODECQVdmJjCjh2vGufluI7_-EkTQCZquUJULmpn_u7tfUeiCdy08cHPAiIj41Y7v4RsoQ/s640/1_12.png" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-88701244227230988102019-08-05T16:16:00.000+05:302019-08-05T23:39:35.677+05:30Oracle Cloud (OCI):: My Services Dashboard<div dir="ltr" style="text-align: left;" trbidi="on">
In this tutorial, I will take you through My Services and available options.<br />
<br />
1. First of all, you need to login to <b>Oracle Cloud Console</b>. Browse <b>http://cloud.oracle.com</b>/ and click Sign In at the top of the page. Enter the Account Name and click on Next. Select Identity Provider as '<b>oracleidentitycloudservice</b>' and click on Continue button under Single Sign-On Section. Enter <b>Username </b>and <b>Password</b>, click on Sign In. You're then directed to the Oracle Cloud Console.<br />
<br />
2. Click '<b>My Services Dashboard</b>' under Solutions and Platform. A new window will be opened to My Services Dashboard. Accept the defaults.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicpx8m896AO-Vu2wdaVusKUQfut3Cn0wggajVEO039XeqyNWX7JSkMg1TxkF_OLrwasjab3EYDRlR9n8RZJDJJJoQlx7zDQr5Gfr0ACAxU2CG7ebAzgk7grZGmGvdz5L1iuIWkpMb8qg4/s1600/1_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicpx8m896AO-Vu2wdaVusKUQfut3Cn0wggajVEO039XeqyNWX7JSkMg1TxkF_OLrwasjab3EYDRlR9n8RZJDJJJoQlx7zDQr5Gfr0ACAxU2CG7ebAzgk7grZGmGvdz5L1iuIWkpMb8qg4/s640/1_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkVtOyfCevfK53N-miZa7WZQ7q4D9hFaKwCFXrakVGyaMZgddZqJY5OWd3fFLumRUaVUrlEVU5IkdyeeM_-fT9-ahuv91k7xbAzJARg_fqjMbMyh-sNXotCuhoZncLb6bIKykZ3bWA-dY/s1600/1_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkVtOyfCevfK53N-miZa7WZQ7q4D9hFaKwCFXrakVGyaMZgddZqJY5OWd3fFLumRUaVUrlEVU5IkdyeeM_-fT9-ahuv91k7xbAzJARg_fqjMbMyh-sNXotCuhoZncLb6bIKykZ3bWA-dY/s640/1_2.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnR2HTUN03ENwElfRAvhvSjqakQ1GtfQpf0oYbftKt5tFNxypEWdpJuzIPdHwRP8lHyU7AD93qZTimrNsFGV3J4polXMttVmYTrmT4g2Yh6xDqp0kSf2D6hhhvDvpqOzImHebFtEOCAO4/s1600/1_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnR2HTUN03ENwElfRAvhvSjqakQ1GtfQpf0oYbftKt5tFNxypEWdpJuzIPdHwRP8lHyU7AD93qZTimrNsFGV3J4polXMttVmYTrmT4g2Yh6xDqp0kSf2D6hhhvDvpqOzImHebFtEOCAO4/s640/1_3.png" width="640" /></a></div>
<br />
3. Click on <b>Create Instance</b>. A pop will be displayed to choose the service. Click on '<b>All Services</b>' to show all the applicable services.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpYQZVMfdowWJEWJLma9l3ogcaxTEHt1uCEIw3cQiDYb9meZF1ng15oBaN49i35gFvC3B65pwSqxsyILU6y1pGnVM6Eomktjf1B-3cDjFun2ur-s39eW8EcPcJEWVDKedJcRKEtusJ3ZQ/s1600/1_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpYQZVMfdowWJEWJLma9l3ogcaxTEHt1uCEIw3cQiDYb9meZF1ng15oBaN49i35gFvC3B65pwSqxsyILU6y1pGnVM6Eomktjf1B-3cDjFun2ur-s39eW8EcPcJEWVDKedJcRKEtusJ3ZQ/s640/1_5.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO-WXEAt8uuQRT3H_iub9PyVivvELDknQzOylaEmUtyiQJb0qyAmPmM6xnMa02ObBwlZ3OJFi7niO1KiW_dEv5RmvFsGAt63oNT-gINOdc3JVFyCH-te19ho1XI0n0tY65z2g_8xNFpi0/s1600/1_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhO-WXEAt8uuQRT3H_iub9PyVivvELDknQzOylaEmUtyiQJb0qyAmPmM6xnMa02ObBwlZ3OJFi7niO1KiW_dEv5RmvFsGAt63oNT-gINOdc3JVFyCH-te19ho1XI0n0tY65z2g_8xNFpi0/s640/1_6.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBRAkHGBq-2r_rQ2ZwPnbntFV8dA0nJ6sGrr0nfxs_hWKY2bZOnS184u7Ssns2jut_a4tUebUmvwJbWbC0DalfzJnJj23Oul4Wu-YBT5LF3Y6vc_TUtKmuGnZPxdwQKQm2pukODyxrs44/s1600/1_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBRAkHGBq-2r_rQ2ZwPnbntFV8dA0nJ6sGrr0nfxs_hWKY2bZOnS184u7Ssns2jut_a4tUebUmvwJbWbC0DalfzJnJj23Oul4Wu-YBT5LF3Y6vc_TUtKmuGnZPxdwQKQm2pukODyxrs44/s640/1_7.png" width="640" /></a></div>
<br />
4. Click on <b>username </b>on top right and Click on <b>My Home</b>. It will display all the applicable services.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWezsXjMWgK_MvtK8QLdr77ftNDuGJzMRPPAzAft3nfsnGUilHrXMxo_vaQ_hz8chOjBbalP0-EySX2shHe5jA078OE5mDYtiYakeDygpdfSMLudpoJUV9UD2BPTXZHuhKeDmS09EC0sA/s1600/1_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjWezsXjMWgK_MvtK8QLdr77ftNDuGJzMRPPAzAft3nfsnGUilHrXMxo_vaQ_hz8chOjBbalP0-EySX2shHe5jA078OE5mDYtiYakeDygpdfSMLudpoJUV9UD2BPTXZHuhKeDmS09EC0sA/s640/1_11.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0zQ-rMydhOaJzNSVgNdRReCaFpIqDULNoQa1gK9guI-_nj-TmbykkQjwWH5y8ttf6u7oepe2NebMj73EEqakUGUP57yyrU6PMKRDex4MX4PP29QeZeVje2JjJunSwcaGzPWkgz_X9bko/s1600/1_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0zQ-rMydhOaJzNSVgNdRReCaFpIqDULNoQa1gK9guI-_nj-TmbykkQjwWH5y8ttf6u7oepe2NebMj73EEqakUGUP57yyrU6PMKRDex4MX4PP29QeZeVje2JjJunSwcaGzPWkgz_X9bko/s640/1_12.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBBV7aP8N14x8fFEdoNZjJ3Vu2CxzNSSy8c3aRQ_X3WFsMqoMJ0V04y-6gd5GxQgTJvoaLjqvSKBS9k0-uYsIWIJLyY7ebo8klQ0oreCWm4dXuqrWFE34AGoq3Kdlt_luBp7p6Mq2hJOg/s1600/1_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBBV7aP8N14x8fFEdoNZjJ3Vu2CxzNSSy8c3aRQ_X3WFsMqoMJ0V04y-6gd5GxQgTJvoaLjqvSKBS9k0-uYsIWIJLyY7ebo8klQ0oreCWm4dXuqrWFE34AGoq3Kdlt_luBp7p6Mq2hJOg/s640/1_13.png" width="640" /></a></div>
<br />
5. Click on <b>username </b>on top right and Click on <b>Diagnostics</b>. In <b>Throughput Measurement</b> page, click on <b>Test </b>to measure the Throughput.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV66VFM4h5QsuzjJJVQqU3IaumPWhAKZgTUDbsz3VTqaAQLHY3omsffqxL3U7fHT2XO2VfpxtDVmhEHolA0EAfNzy_pSaD0DvYw5a-2VXgd9j7YNO5u7oHJCJk1XMrBLYGzsc7Yhb_skU/s1600/1_14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhV66VFM4h5QsuzjJJVQqU3IaumPWhAKZgTUDbsz3VTqaAQLHY3omsffqxL3U7fHT2XO2VfpxtDVmhEHolA0EAfNzy_pSaD0DvYw5a-2VXgd9j7YNO5u7oHJCJk1XMrBLYGzsc7Yhb_skU/s640/1_14.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqIucyRx_a6oWEvKJ04X7hudIGvLWZ80_fAdbRkjDfGoGnBowgLzai9IIEXRqeaOgQ-RwDq8UoSwCw-YIVh60o4TflS7-tPYL4HWU3HmOoegjPNaodPE7s4WGuAf3CnRwMhNi67yoPLNw/s1600/1_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqIucyRx_a6oWEvKJ04X7hudIGvLWZ80_fAdbRkjDfGoGnBowgLzai9IIEXRqeaOgQ-RwDq8UoSwCw-YIVh60o4TflS7-tPYL4HWU3HmOoegjPNaodPE7s4WGuAf3CnRwMhNi67yoPLNw/s640/1_15.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY1wrwV3lJnPVCNgfR7NWzXDeCvRYftOjkpxptsk2s3dY4Ft3zt4E7i1zsijp0zNyQZRcdhDj1KzAVT0LhqoFWF2lsy5_RhAJBkq3OVEs7lby_pOcu0tZMH5GKMEjLhy8Ay9lZKQFyEyo/s1600/1_16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhY1wrwV3lJnPVCNgfR7NWzXDeCvRYftOjkpxptsk2s3dY4Ft3zt4E7i1zsijp0zNyQZRcdhDj1KzAVT0LhqoFWF2lsy5_RhAJBkq3OVEs7lby_pOcu0tZMH5GKMEjLhy8Ay9lZKQFyEyo/s640/1_16.png" width="640" /></a></div>
<br />
6. Click on <b>Dashboard </b>link on the top navigation go back to My Services Dashboard. Select any service and click on '<b>View Account Usage Details</b>'. You will find more info on usage and other admin details.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1pZ6IFPZyZrkjUMg8C66M2awumbK1OfYF3bhwGQ7_1G7R_fJKpWqcme2qXKyvAaFDcicZh2Z4VZoro2GvI3TRE63Ie8Dt4FbnTlvk2ReTQR03EcnL6roHcOT330F2LzhGvs6zZdFn2zs/s1600/1_17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1pZ6IFPZyZrkjUMg8C66M2awumbK1OfYF3bhwGQ7_1G7R_fJKpWqcme2qXKyvAaFDcicZh2Z4VZoro2GvI3TRE63Ie8Dt4FbnTlvk2ReTQR03EcnL6roHcOT330F2LzhGvs6zZdFn2zs/s640/1_17.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtG1ZCbpT0jSZwQMlDoaR78fwxc7Yq568CucEJA24IH6pRZp0EWvVzyjGHdgpTp8XuXYq7Qphxg2bdpvg8LfEwXtX-mhtq9uIJkdTUgkPXLHTR4LZjklRgaAs8De0vmTzJtQhdLny6NU0/s1600/1_18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtG1ZCbpT0jSZwQMlDoaR78fwxc7Yq568CucEJA24IH6pRZp0EWvVzyjGHdgpTp8XuXYq7Qphxg2bdpvg8LfEwXtX-mhtq9uIJkdTUgkPXLHTR4LZjklRgaAs8De0vmTzJtQhdLny6NU0/s640/1_18.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSWqSMbMDEuihzcnvNpjyniT9uvoFNIOZ3J37UT6JGLc3wSxiojxgNfxoW1K-Z5SeTQxQiTC_yk3nfjttYbWbiNHd5o38Zf-4W1tmRF8NIVjKAMtRUR-GSQALHFHhL13W-28v2qBwB7CA/s1600/1_19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSWqSMbMDEuihzcnvNpjyniT9uvoFNIOZ3J37UT6JGLc3wSxiojxgNfxoW1K-Z5SeTQxQiTC_yk3nfjttYbWbiNHd5o38Zf-4W1tmRF8NIVjKAMtRUR-GSQALHFHhL13W-28v2qBwB7CA/s640/1_19.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB47roF7MAz_h9jSProYgORIx1NjFNu4R8DF3nkK0tzNleo-hPfHrozv8rxb91OSIw7vfyZUiy2DYNU_GsMOiZ-ByDO6Hv2_0Qd6yTkCO0opuVBoseGdul3GHZ3lFytLxUF-TII_iOJ4s/s1600/1_20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB47roF7MAz_h9jSProYgORIx1NjFNu4R8DF3nkK0tzNleo-hPfHrozv8rxb91OSIw7vfyZUiy2DYNU_GsMOiZ-ByDO6Hv2_0Qd6yTkCO0opuVBoseGdul3GHZ3lFytLxUF-TII_iOJ4s/s640/1_20.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgquNVN4gQFL4Kio4wvE8asAXAOXwlrlM5epWG-iVgSwYPGdOd53DxNkHJdU6sza9BA_PAR1FlKV0XAwm46PSxvCL7iboxdAynyrqpiGc2GD2LIQi7jL6WyI0WQUdTLWCPwARRbTGk5BdE/s1600/1_21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgquNVN4gQFL4Kio4wvE8asAXAOXwlrlM5epWG-iVgSwYPGdOd53DxNkHJdU6sza9BA_PAR1FlKV0XAwm46PSxvCL7iboxdAynyrqpiGc2GD2LIQi7jL6WyI0WQUdTLWCPwARRbTGk5BdE/s640/1_21.png" width="640" /></a></div>
<br />
7. Click on <b>Users </b>link on the top navigation to go to <b>User Management </b>page. In that page, Click on '<b>Identity Console</b>' link on top right.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrN9y1gPqddZIkeFhhrdzJNOtCLwE3p6eC0BPhS2WNionwzuFpPLCuihyphenhyphengEGwfyWnkx_LeIMf6vINE8iVyXIl-gZIWLB7Ne9yvAToi0Hy4te-E3ZTQvZu3dtTLyM_jXkJr3q4MgcBiQTw/s1600/1_22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrN9y1gPqddZIkeFhhrdzJNOtCLwE3p6eC0BPhS2WNionwzuFpPLCuihyphenhyphengEGwfyWnkx_LeIMf6vINE8iVyXIl-gZIWLB7Ne9yvAToi0Hy4te-E3ZTQvZu3dtTLyM_jXkJr3q4MgcBiQTw/s640/1_22.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNGYvnCJemBt0LS6OUMSnNFbjAhsRqhFKM3O1X8p_TjuYMY-6FjEHKWYJzXRxDryts_yStEQ-pMIsTl8WJj7CZQpzpfAdzpFSAWfIrxA5XYW3A0yo01TblPCiUd0fsUS-DeCIMA52-NpY/s1600/1_23.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNGYvnCJemBt0LS6OUMSnNFbjAhsRqhFKM3O1X8p_TjuYMY-6FjEHKWYJzXRxDryts_yStEQ-pMIsTl8WJj7CZQpzpfAdzpFSAWfIrxA5XYW3A0yo01TblPCiUd0fsUS-DeCIMA52-NpY/s640/1_23.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5ITRzDhNw0X7mq56sMwMfakC8koKCg8LOYhfMaE_ZXEfDjrAB6iyMS2xiE_7g8l5a9VoUixuNs6-4QtpGswAcxWrwZ2xtcZWe-qFX7Puj6BNafdrdNYu7iiZMy1rQq3WQi3aUEcCEFKM/s1600/1_24.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh5ITRzDhNw0X7mq56sMwMfakC8koKCg8LOYhfMaE_ZXEfDjrAB6iyMS2xiE_7g8l5a9VoUixuNs6-4QtpGswAcxWrwZ2xtcZWe-qFX7Puj6BNafdrdNYu7iiZMy1rQq3WQi3aUEcCEFKM/s640/1_24.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsyUXxAHHEkJ2LWbbU0UytDWblR2NHaCACdKbMpYMm7DDzV00IjtpZelG4l1D83gs8aCwORAIBZEniZujKmMNk-SwijhQEd68as07r6AnNVZyZ9_WZedMTSjOCeKttgAR-NrXOc8dSFlo/s1600/1_25.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="873" data-original-width="1600" height="348" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsyUXxAHHEkJ2LWbbU0UytDWblR2NHaCACdKbMpYMm7DDzV00IjtpZelG4l1D83gs8aCwORAIBZEniZujKmMNk-SwijhQEd68as07r6AnNVZyZ9_WZedMTSjOCeKttgAR-NrXOc8dSFlo/s640/1_25.png" width="640" /></a></div>
<br />
8. Identity Cloud Service console will be displayed in new tab. Here you can Manage<br />
<ul style="text-align: left;">
<li>Users</li>
<li>Groups</li>
<li>Applications</li>
<li>Audit Reports</li>
<li>Settings --> Password Policy</li>
<li>Security --> Administrators</li>
<li>Security --> Identity Providers</li>
<li>etc.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb4JivK2OBchbIfcxZxALuamFUWLtDLPJ5Wg_ac7QQEEncy6Qun2rVMIijoI449S5xC7AxKm5XV_0YgxGYbjFM6tvtc9DVDz4-xAZ4xmPigQewbzvyNwAazrl3AdBLmIc4qdewn6tlpXc/s1600/1_26.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb4JivK2OBchbIfcxZxALuamFUWLtDLPJ5Wg_ac7QQEEncy6Qun2rVMIijoI449S5xC7AxKm5XV_0YgxGYbjFM6tvtc9DVDz4-xAZ4xmPigQewbzvyNwAazrl3AdBLmIc4qdewn6tlpXc/s640/1_26.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcAAM3rnmPKhx_PZbvQn3YXdW_jVOXhU-KLDOXa5hU69hHtOAhNzo_xxzQhxpDoWJOZIUBTGLfguhVwKlzoHnMpP5BAzeZVxN4gB4ghPeCVLlH8YocKzaQeVnyqb4rMB0v-E-HqrcuFIE/s1600/1_27.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgcAAM3rnmPKhx_PZbvQn3YXdW_jVOXhU-KLDOXa5hU69hHtOAhNzo_xxzQhxpDoWJOZIUBTGLfguhVwKlzoHnMpP5BAzeZVxN4gB4ghPeCVLlH8YocKzaQeVnyqb4rMB0v-E-HqrcuFIE/s640/1_27.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3nunjCJz1XHaHgM5namU3jji65LROJhZUbsCG_BdOCWa8pY1a7XHUGCnXWlXHmz9JWoa3ZIQADru3cqnWInxJ1n5T4Em48bt1WXa4pljHaYlEZDRgDK8huNeiFz1jCpu6NIgy360b6FQ/s1600/1_28.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3nunjCJz1XHaHgM5namU3jji65LROJhZUbsCG_BdOCWa8pY1a7XHUGCnXWlXHmz9JWoa3ZIQADru3cqnWInxJ1n5T4Em48bt1WXa4pljHaYlEZDRgDK8huNeiFz1jCpu6NIgy360b6FQ/s640/1_28.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy2NDT-O8wqSCZ44fR9mzMh5s_LQZtgeGeUycR_sQIqV5xqLa3cofiZF27-erNlmEN53_XGCxUr4C5-MzAHEtqtVdnsIWxyslwfrKAfNlogtV6A-6MuU2dqCw7RbUGxi5FkCK0DgqvtCU/s1600/1_29.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgy2NDT-O8wqSCZ44fR9mzMh5s_LQZtgeGeUycR_sQIqV5xqLa3cofiZF27-erNlmEN53_XGCxUr4C5-MzAHEtqtVdnsIWxyslwfrKAfNlogtV6A-6MuU2dqCw7RbUGxi5FkCK0DgqvtCU/s640/1_29.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYAqq66pNvvkxcRGTruRm8T5inRqOVcD-1nJL4LSclsd-wtDu4UTyjJ6s05yH7v5s9rYJIY8xLlE6BBB6cdrGcI3wc8gO_WCIFgUR9LuIhE6ZU_Us-CoqedKWrQ_umQFtsDnq1SeDsT_E/s1600/1_30.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYAqq66pNvvkxcRGTruRm8T5inRqOVcD-1nJL4LSclsd-wtDu4UTyjJ6s05yH7v5s9rYJIY8xLlE6BBB6cdrGcI3wc8gO_WCIFgUR9LuIhE6ZU_Us-CoqedKWrQ_umQFtsDnq1SeDsT_E/s640/1_30.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmA4fmtKV3fG_TNvlvL1dTgCJEyF7o6LboXV2ZCvOMv9eEVNIuux2RLKKL5yEPwvkjHLC8njc5_FwEdyr8QcdXQPxmP3jZl5Qg6oXoZ6uEJHRhl1SPksYyHUx9zsI2LQ69MJyL8EyHImQ/s1600/1_31.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmA4fmtKV3fG_TNvlvL1dTgCJEyF7o6LboXV2ZCvOMv9eEVNIuux2RLKKL5yEPwvkjHLC8njc5_FwEdyr8QcdXQPxmP3jZl5Qg6oXoZ6uEJHRhl1SPksYyHUx9zsI2LQ69MJyL8EyHImQ/s640/1_31.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMeo39Z0cxBc8svLpsjb4XuqjG21VyoLlM65-0dx_N4QXO4if14n2Kltr8PdUdxPpmxz6-ZTHeICmj8H7uzC12OdAV6E-ZqHeUFSAQ69eVItgenGFE5TI4f5kSC82Izaw2ZW6fy60Looc/s1600/1_32.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMeo39Z0cxBc8svLpsjb4XuqjG21VyoLlM65-0dx_N4QXO4if14n2Kltr8PdUdxPpmxz6-ZTHeICmj8H7uzC12OdAV6E-ZqHeUFSAQ69eVItgenGFE5TI4f5kSC82Izaw2ZW6fy60Looc/s640/1_32.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2FXb99626WaoG6BmKFJqiR0PzVbO1xPEyzmetBUnt4pXNr1z2QMUC31UFEcJ0_F77qHYJVvrk4JnZ23Iz-1iwXRnEUOitvgHpR_lw9HIaUz7rlg1NJSszuj-zLozfmyVCn37AXo5x0cU/s1600/1_33.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2FXb99626WaoG6BmKFJqiR0PzVbO1xPEyzmetBUnt4pXNr1z2QMUC31UFEcJ0_F77qHYJVvrk4JnZ23Iz-1iwXRnEUOitvgHpR_lw9HIaUz7rlg1NJSszuj-zLozfmyVCn37AXo5x0cU/s640/1_33.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs5cI9LNQJUNWfeNphx_OBupp58Q10UCTR-6Mw-zR29JbT214lVWSz0RsDKT2KJ9anTrC27OSO2lcqgj8QHKRkUXSQHEOrtbYNyD6ccxo3y2U4sjo8pam7PIt03MRT5eed79MSnhdXjo4/s1600/1_34.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhs5cI9LNQJUNWfeNphx_OBupp58Q10UCTR-6Mw-zR29JbT214lVWSz0RsDKT2KJ9anTrC27OSO2lcqgj8QHKRkUXSQHEOrtbYNyD6ccxo3y2U4sjo8pam7PIt03MRT5eed79MSnhdXjo4/s640/1_34.png" width="640" /></a></div>
<div>
<br /></div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-6000948432975327242019-08-05T15:13:00.004+05:302019-08-05T15:22:02.544+05:30Oracle Cloud (OCI):: Getting Started<div dir="ltr" style="text-align: left;" trbidi="on">
In this tutorial, I will cover the steps to subscribe to Oracle Cloud and get started with it.<br />
<br />
<br />
1. First of all, you need to Sign Up for the Free Oracle Cloud Promotion.<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
2. Go to<b><span style="color: red;"> http://cloud.oracle.com/</span></b> and click <b>Try for Free</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK0DBn0FXJGQjlArn8OUsUtbIf9D0KxuFBrPhcZz6DFPKJ0MWMuk2blhpWsEXW0Og60xFItDL-tX80IUxo5Wkww0wyegQdtFvJVn_X4bGFfzCz0K0M6oHVS-qn9tlrEqFXFZvLWLU8nuE/s1600/1_0.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK0DBn0FXJGQjlArn8OUsUtbIf9D0KxuFBrPhcZz6DFPKJ0MWMuk2blhpWsEXW0Og60xFItDL-tX80IUxo5Wkww0wyegQdtFvJVn_X4bGFfzCz0K0M6oHVS-qn9tlrEqFXFZvLWLU8nuE/s640/1_0.png" width="640" /></a></div>
<br />
<br />
3. Fill out the Sign Up for Free Oracle Cloud Promotion form. Provide unique cloud account name. It will be your tenancy/root compartment name.<br />
<b><span style="color: red;">Note: </span></b>Provide valid email address/mobile number/ credir card details. Your credit card won't be charged unless you opt for a paid account.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk-hjHufGsGE4wRwxqlRi60Hc7EtFytLTYp3IMLfyKxUMxcQI6EbsHfH_LVHNCcpmw6y4Amkoav7AM_eIhCVgXSMS6UGJexYoXc0TxKHcVJVvSDrKRAR518dKHkLbW5yc8ejhiSqE6e3Y/s1600/1_0_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjk-hjHufGsGE4wRwxqlRi60Hc7EtFytLTYp3IMLfyKxUMxcQI6EbsHfH_LVHNCcpmw6y4Amkoav7AM_eIhCVgXSMS6UGJexYoXc0TxKHcVJVvSDrKRAR518dKHkLbW5yc8ejhiSqE6e3Y/s640/1_0_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRd-8GqpTGg3yEOJZfE4Gsq40z-XbkIFd4Uicx_Wd4YQsdIMyJue-JfdjvPkYnJ_z_s1SwEpraTIlnbn2XJ1MKIYupwrQjlmmbbyKpM2I2sSzHZ370gC9ZegGqPyPrQ2tOp6GtW1kjgCw/s1600/1_0_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="605" data-original-width="1600" height="240" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjRd-8GqpTGg3yEOJZfE4Gsq40z-XbkIFd4Uicx_Wd4YQsdIMyJue-JfdjvPkYnJ_z_s1SwEpraTIlnbn2XJ1MKIYupwrQjlmmbbyKpM2I2sSzHZ370gC9ZegGqPyPrQ2tOp6GtW1kjgCw/s640/1_0_3.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
4. Accept the terms and conditions and click <b>Complete Sign-Up</b> to submit your request for a new Oracle Cloud account.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL-rhCzrLBoo0fcQLEmvA5uk_-TH_8fz1-tIG_fBsPspvs8pgQfLZZdvIve_eQjek73OS0RuYZUTbrxhYosnDfRetIphdf7bGE18j4RUS6Ah4c2-8Y23pnZt7wrphvgmQvW-RURc3fqz4/s1600/1_0_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="787" data-original-width="1600" height="314" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiL-rhCzrLBoo0fcQLEmvA5uk_-TH_8fz1-tIG_fBsPspvs8pgQfLZZdvIve_eQjek73OS0RuYZUTbrxhYosnDfRetIphdf7bGE18j4RUS6Ah4c2-8Y23pnZt7wrphvgmQvW-RURc3fqz4/s640/1_0_4.png" width="640" /></a></div>
<br />
<br />
5. You'll get a welcome (Get Started) email with your sign-in credentials for the new Oracle Cloud Console, after the services in your tenancy are provisioned.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJT6ulD9ctTByNDR8ws02wBgjn-V9hQCHQKU__al3_J_CYomsCRJZQykgNleYNavumAf7MUrDn7eISRGc_zK5GiGaM3IqmxKTqdaogoKPuYx3Uw2ui_5wGb33wSgC5uV_kqkPg7tCOWU/s1600/1_0_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="795" data-original-width="1600" height="318" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhMJT6ulD9ctTByNDR8ws02wBgjn-V9hQCHQKU__al3_J_CYomsCRJZQykgNleYNavumAf7MUrDn7eISRGc_zK5GiGaM3IqmxKTqdaogoKPuYx3Uw2ui_5wGb33wSgC5uV_kqkPg7tCOWU/s640/1_0_5.png" width="640" /></a></div>
<br />
<br />
6. If you are logging in first time, Click on "<b>Get Started with Oracle Cloud</b>" in the welcome email,. Sign in with the username and password that was provided in the email. You'll be prompted to change your temporary password. You're then directed to the Oracle Cloud Console.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCX6a3GpLmd7SFuV6aOzrmQdaUH-1VxBfEx-ouMARq1UNFgBcbc2uBcUmQaL6vQMcpub3pLeNf_a4_Q_k0q_PJjhV0gz0zHrnuzvZynKrscpOiwEzvWvwr_5awC4uAyojnIKz094WlQxk/s1600/1_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="970" data-original-width="1591" height="390" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCX6a3GpLmd7SFuV6aOzrmQdaUH-1VxBfEx-ouMARq1UNFgBcbc2uBcUmQaL6vQMcpub3pLeNf_a4_Q_k0q_PJjhV0gz0zHrnuzvZynKrscpOiwEzvWvwr_5awC4uAyojnIKz094WlQxk/s640/1_1.png" width="640" /></a></div>
<br />
7. If you already logged in and changed password, then access <b>http://cloud.oracle.com</b>/ and click <b>Sign In</b> at the top of the page. Enter the <b>Account Name</b> and click on <b>Next</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnmwB5hix3IeaVj5efXk_8Y2w5Vb9NmqQJ7ycSWtQICU5aBla13D1c5kSjdKQXaQQ3qf10mosT9RnaSBM0etoemr4WZp3haNSNb4nGEw8e0cqkbE5nJjbarSIXjJlCSst60Jc6ghVknEs/s1600/1_1_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="874" data-original-width="1600" height="348" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnmwB5hix3IeaVj5efXk_8Y2w5Vb9NmqQJ7ycSWtQICU5aBla13D1c5kSjdKQXaQQ3qf10mosT9RnaSBM0etoemr4WZp3haNSNb4nGEw8e0cqkbE5nJjbarSIXjJlCSst60Jc6ghVknEs/s640/1_1_1.png" width="640" /></a></div>
<br />
<br />
<br />
8. Select Identity Provider as '<b>oracleidentitycloudservice</b>' and click on <b>Continue</b> button under Single Sign-On Section.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUkHem0VpGrycdL9KAfMe74Mi8q8-7jIBVxGcK_vguJCG7fOKOpcqnObLCAEibQHj4S_bHybZEHLWSMz0_4VNmpUADCg4l7sr12XP8Lkh6UC4IGFDsvV_EU6PrqrT6L8r6o_3q9UiliHI/s1600/1_1_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjUkHem0VpGrycdL9KAfMe74Mi8q8-7jIBVxGcK_vguJCG7fOKOpcqnObLCAEibQHj4S_bHybZEHLWSMz0_4VNmpUADCg4l7sr12XP8Lkh6UC4IGFDsvV_EU6PrqrT6L8r6o_3q9UiliHI/s640/1_1_2.png" width="640" /></a></div>
<br />
<br />
9. Enter <b>Username </b>and <b>Password</b>, click on <b>Sign In</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnbhhBATROK7g65QK_pGjv2I0BOT-nJ3v2O4V1cQ-bOmX0K5kopFrDD0FjTSFdjOljJEKAgVeg73LSvAuKPdkQ9zqd-aVTnHn0uUj0G_Ytg7YtzHwF8H2ghnqTSqAzEDmDq-EuGLA5iYY/s1600/1_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnbhhBATROK7g65QK_pGjv2I0BOT-nJ3v2O4V1cQ-bOmX0K5kopFrDD0FjTSFdjOljJEKAgVeg73LSvAuKPdkQ9zqd-aVTnHn0uUj0G_Ytg7YtzHwF8H2ghnqTSqAzEDmDq-EuGLA5iYY/s640/1_2.png" width="640" /></a></div>
<br />
<br />
10. You're then directed to the Oracle Cloud Console.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNUxSY9bPENmQ6_jHV4YSWKgg3i48V5X_A0iWsWzN8gMxtBnEwEBLih6-eG_5QjpdmIvZ60L_HGk7LHPx-OTullSZjIrZ3jLaw6Kr7owNM7CB4n-q2odcrwrtOZ1AZUz_OEtlTHNkftmQ/s1600/1_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNUxSY9bPENmQ6_jHV4YSWKgg3i48V5X_A0iWsWzN8gMxtBnEwEBLih6-eG_5QjpdmIvZ60L_HGk7LHPx-OTullSZjIrZ3jLaw6Kr7owNM7CB4n-q2odcrwrtOZ1AZUz_OEtlTHNkftmQ/s640/1_3.png" width="640" /></a></div>
<br />
<br />
11. Click on '<b>View Health Dashboard</b>' on top right to view current status of OCI and incident history.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUoBA9QcHCFTMDBYNEgaTGph9YEaghp6SeEig0JjKnomPG_yqeMsA1X65AfU1JjM-KWq_zb-Cr2j2As-AWwg4w15-uajtWjLSgwV_Wv7XdqYzaGf4LsZFcpxMdYE6X2a8fspkLpkZF3qo/s1600/1_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUoBA9QcHCFTMDBYNEgaTGph9YEaghp6SeEig0JjKnomPG_yqeMsA1X65AfU1JjM-KWq_zb-Cr2j2As-AWwg4w15-uajtWjLSgwV_Wv7XdqYzaGf4LsZFcpxMdYE6X2a8fspkLpkZF3qo/s640/1_4.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzD4pgeyrGe8fkLUZsEcDlzW9TtRHuwTriC2JLMM6ujDOWskCF0RkaDjs_y5pA6DJce9-Iofjckf8WYGGQW_2hwaLzFADKba-K4PsZhU8fpPEyNvLyKTq8TB7OPuuZv1Oi6JekzNS_YIg/s1600/1_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzD4pgeyrGe8fkLUZsEcDlzW9TtRHuwTriC2JLMM6ujDOWskCF0RkaDjs_y5pA6DJce9-Iofjckf8WYGGQW_2hwaLzFADKba-K4PsZhU8fpPEyNvLyKTq8TB7OPuuZv1Oi6JekzNS_YIg/s640/1_5.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
12. Go back to Cloud Console and Open the navigation menu in the upper left corner and Browse the<br />
available services and resources.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF9gh_jL5zIWDP4_F6z4Ck8RA7XkTxGNVqEg-Rduv21cecK_H67rBlUBH5Q4kNuBEcHh2gE-8htu3DICskefBWftktR7-y1FxuaRwPasPb_wcLKwkNv-krPoLwLDpyJuVVR1e2u8fm_8s/s1600/1_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgF9gh_jL5zIWDP4_F6z4Ck8RA7XkTxGNVqEg-Rduv21cecK_H67rBlUBH5Q4kNuBEcHh2gE-8htu3DICskefBWftktR7-y1FxuaRwPasPb_wcLKwkNv-krPoLwLDpyJuVVR1e2u8fm_8s/s640/1_6.png" width="640" /></a></div>
<br />
<br />
13. Go to<b> Administration -> Tenancy Details</b>. It will show your home region. You can also subscribe to new region in this page.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2fZNREtUTxeSjrgdN4Hhi5VHUIkSAut-oGOtZ2Mzn5KfDusqI-YGMC1ranS3tllmzLO72ICVtRB1-VOofUl2AvIPUf8xi2rBExB2xUrsZYxj17x26y31uQA6gcVrNn1hcPYMR5ucmNu4/s1600/1_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2fZNREtUTxeSjrgdN4Hhi5VHUIkSAut-oGOtZ2Mzn5KfDusqI-YGMC1ranS3tllmzLO72ICVtRB1-VOofUl2AvIPUf8xi2rBExB2xUrsZYxj17x26y31uQA6gcVrNn1hcPYMR5ucmNu4/s640/1_7.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-doarbb1iFECAgMywEiiTd_ct6bpjTG7kKezz3zRl0JHPOi1yRaC6c6QnBBItPrmaek0MJH-MYE7cUZQVVQKSePQlS1oeZ-zDHZhMHjzl-74RAZ2NAUwxrauiz2oAK-BEJNIFFKIamIQ/s1600/1_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-doarbb1iFECAgMywEiiTd_ct6bpjTG7kKezz3zRl0JHPOi1yRaC6c6QnBBItPrmaek0MJH-MYE7cUZQVVQKSePQlS1oeZ-zDHZhMHjzl-74RAZ2NAUwxrauiz2oAK-BEJNIFFKIamIQ/s640/1_8.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
14. Go to <b>Billing -> Payment Method</b>. It will show payment methods. Click on '<b>Cost Analysis</b>' tab to view usage charges.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG_gz1l1ppjdfVW7Ilyi5-bElHa51I4o1uBl0pmRUKyKH3z238pfnzRX_yrxA6JWihdiARsc73BqqPOE5Yxlb06Www3aB5hmwNiAcTF2Mqtn6skd7WnVowCETeeSmrKBVjY64Ok-iTkqI/s1600/1_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiG_gz1l1ppjdfVW7Ilyi5-bElHa51I4o1uBl0pmRUKyKH3z238pfnzRX_yrxA6JWihdiARsc73BqqPOE5Yxlb06Www3aB5hmwNiAcTF2Mqtn6skd7WnVowCETeeSmrKBVjY64Ok-iTkqI/s640/1_9.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3RGvLEKE9G18igVoRgOEsV8f0LBY-PmKfFY40PveZt7ToIem1IKZChXAcxpjig1afOwbFngL5Li_99RsuS4Vkyoo2PXdQDjKzAUcIJRTaIxk1GAKiYcadvqNwsDhpm-76GxxMt0FP2KM/s1600/1_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3RGvLEKE9G18igVoRgOEsV8f0LBY-PmKfFY40PveZt7ToIem1IKZChXAcxpjig1afOwbFngL5Li_99RsuS4Vkyoo2PXdQDjKzAUcIJRTaIxk1GAKiYcadvqNwsDhpm-76GxxMt0FP2KM/s640/1_10.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjndYbKjTVLwkkykcPL73Lb3bRzODaBif8rW6EqJbEphBymzfP28Um0CiTPvaXSJYECmGvrmG5MjPP24sgJdYQd6bMrbu3Ii4SNy4kxaYilw2xqZbRjS_cclCcAuXmV3dm7FccghNzzdes/s1600/1_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjndYbKjTVLwkkykcPL73Lb3bRzODaBif8rW6EqJbEphBymzfP28Um0CiTPvaXSJYECmGvrmG5MjPP24sgJdYQd6bMrbu3Ii4SNy4kxaYilw2xqZbRjS_cclCcAuXmV3dm7FccghNzzdes/s640/1_11.png" width="640" /></a></div>
<br />
<br />
15. Go to<b> Identity -> Compartments.</b> It will show existing compartments. Click on '<b>Create Compartment</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFTVZF_oeFpUCt4LJL0p5filnT5AyUwteNJVTeFiLukwQHzBMnvJSWo4UcQyGH6I1c0yDU_B4BfYL5AaZEQ4qfodhNy8Ch_IuwdVO-OYvambeio-_DJC-CsAgIljye9IhrEs5KQ_eMu2Y/s1600/2_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFTVZF_oeFpUCt4LJL0p5filnT5AyUwteNJVTeFiLukwQHzBMnvJSWo4UcQyGH6I1c0yDU_B4BfYL5AaZEQ4qfodhNy8Ch_IuwdVO-OYvambeio-_DJC-CsAgIljye9IhrEs5KQ_eMu2Y/s640/2_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlZr0i4u3dPisNTXfcURLHgU9I1I6LyaPjA6ZiPAwkNqioqBWre1tc98sR0gl3CzA5M9H06UV853nXFVDbHT8goACEsSWtVPJphSdgLiqaj6nGfcZVPp9olvSoeiue8s-OIznZ6VAiJkg/s1600/2_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlZr0i4u3dPisNTXfcURLHgU9I1I6LyaPjA6ZiPAwkNqioqBWre1tc98sR0gl3CzA5M9H06UV853nXFVDbHT8goACEsSWtVPJphSdgLiqaj6nGfcZVPp9olvSoeiue8s-OIznZ6VAiJkg/s640/2_2.png" width="640" /></a></div>
<br />
<br />
16. Give a name & description to new compartment and select parent compartment. Click '<b>Create Compartment</b>'. It will create and show all the compartments.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDlzf0nFrpW1b6pMZhdgXt72mDASTDssZJV5SajbnApAiFQ8ZwJsQcZARleR7sYx7hoIJwAYFi9M9_kGrgp64Myf16eOcgtfLdY8ZUneiKPBF1VVnl-d723fx3h8zc8W62qEP7CnLPXOk/s1600/2_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjDlzf0nFrpW1b6pMZhdgXt72mDASTDssZJV5SajbnApAiFQ8ZwJsQcZARleR7sYx7hoIJwAYFi9M9_kGrgp64Myf16eOcgtfLdY8ZUneiKPBF1VVnl-d723fx3h8zc8W62qEP7CnLPXOk/s640/2_3.png" width="640" /></a></div>
<br />
<br />
17. Click on Root compartment, followed by click on newly created child compartment to view its details.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrK7SIx1m_oodDPkVNq-1sA4euPFT3WVmjR5-JKv2Dc-2aPMyt00QwtIliUQi9JJhRykeRPahd4yUdJAnJFV1En2asqOfc-AVijl_IjG5jYazwdO_VBdYp2CBk0AWOD6-TeZO8FjvaVXs/s1600/2_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrK7SIx1m_oodDPkVNq-1sA4euPFT3WVmjR5-JKv2Dc-2aPMyt00QwtIliUQi9JJhRykeRPahd4yUdJAnJFV1En2asqOfc-AVijl_IjG5jYazwdO_VBdYp2CBk0AWOD6-TeZO8FjvaVXs/s640/2_4.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjwy6iaOmCyH2pMU3LAMCBezlOMSQ_sFDsEtTO1BE9__veCsX3KE-I7IWZhstmtHx1vc3qbXqnYKRJ9iBGwLTg0WmOH1IWNos3vKbJnCbrOD-PaTcQX7XgMYh7cuCURgv35tJTmZbnjow/s1600/2_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjwy6iaOmCyH2pMU3LAMCBezlOMSQ_sFDsEtTO1BE9__veCsX3KE-I7IWZhstmtHx1vc3qbXqnYKRJ9iBGwLTg0WmOH1IWNos3vKbJnCbrOD-PaTcQX7XgMYh7cuCURgv35tJTmZbnjow/s640/2_5.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeSa-hLpT9FA8rRvmM_DLrHDAvQX8c7Qb0S9ibT5q0Y2Ue7cdnLSX5DIRNAjns8mada8f45PN4d8BSMkczyOGRR_aFa_05gQX8kcgKqd8_hGpxnxhXEo6ofLAK6yUJ-SmOZZsGxEK_u5s/s1600/2_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjeSa-hLpT9FA8rRvmM_DLrHDAvQX8c7Qb0S9ibT5q0Y2Ue7cdnLSX5DIRNAjns8mada8f45PN4d8BSMkczyOGRR_aFa_05gQX8kcgKqd8_hGpxnxhXEo6ofLAK6yUJ-SmOZZsGxEK_u5s/s640/2_6.png" width="640" /></a></div>
<br />
<br />
18. Go to<b> Identity -> Users</b>. It will show existing users. Click on user to view the capabilities.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5eV4Gle_cZSTBY-S-VoGk0JhothF7aTumA0Aw8Bxq2bNxAp38X5IEuY8dGfdgd__2vwk5fcjc4EjodztkBOihJEnQ5qEvZw18mco8qRJqwQnjRgmRNQ13NxzXSGs3gQOSpTRcGB8Ra8Y/s1600/2_7.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5eV4Gle_cZSTBY-S-VoGk0JhothF7aTumA0Aw8Bxq2bNxAp38X5IEuY8dGfdgd__2vwk5fcjc4EjodztkBOihJEnQ5qEvZw18mco8qRJqwQnjRgmRNQ13NxzXSGs3gQOSpTRcGB8Ra8Y/s640/2_7.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaVu0Uc-1AHniDZC2kqTAlPbtojZJyrsnxtVO77Hyt_L580s2aVV7aeRr-5u6Tct_CK5tGAHRC5QbOixBCQUM5scfy69hMSqadY0eCWAAig-NWqsblmTzem3xP-odcR-tVXzCGFM22czI/s1600/2_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjaVu0Uc-1AHniDZC2kqTAlPbtojZJyrsnxtVO77Hyt_L580s2aVV7aeRr-5u6Tct_CK5tGAHRC5QbOixBCQUM5scfy69hMSqadY0eCWAAig-NWqsblmTzem3xP-odcR-tVXzCGFM22czI/s640/2_8.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisPwoMt76vZlfNNJcHt4of6zpbbiKE8Z5NpfQqOt2jFsIqzfzBc0PLbaF4H4d6BjtmctVmRjLi8H3xlF7Boud-3Na-SHENLZMaPaXexRXbtKNF2P271C3AGcIQFRz2PS51j9pXWYo0ALE/s1600/2_8_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEisPwoMt76vZlfNNJcHt4of6zpbbiKE8Z5NpfQqOt2jFsIqzfzBc0PLbaF4H4d6BjtmctVmRjLi8H3xlF7Boud-3Na-SHENLZMaPaXexRXbtKNF2P271C3AGcIQFRz2PS51j9pXWYo0ALE/s640/2_8_1.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
19. Go to <b>Identity -> Groups</b>. It will show existing Groups. Click on '<b>Create Group</b>' to add new group.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdmJ5ezUCjW5V-EBF8kplCvJipzW4oyM4QxtwlRCqh9gb_iWGjv_p9A2OR1HkcdM5LC6LGGCoubWSZtJ9tYV5_Dtdc2yWVOeEwl60xPiA4rRXdb0ZKUmrXG0fp1W6lN97NI7BVq__pk_0/s1600/2_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdmJ5ezUCjW5V-EBF8kplCvJipzW4oyM4QxtwlRCqh9gb_iWGjv_p9A2OR1HkcdM5LC6LGGCoubWSZtJ9tYV5_Dtdc2yWVOeEwl60xPiA4rRXdb0ZKUmrXG0fp1W6lN97NI7BVq__pk_0/s640/2_9.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYE9zFoqAIQn0xsdFiXOEHsgddinCdg6wAmGIXPGzAUeLmKWdABSR2__-_LNJEhVv8DizSFCHZcisUanfXDHmMBdYqCUoLJbchNuIUJGuDkB5uimJeE3BRFyv-cNtd2ux_FnWyTxKsE-g/s1600/2_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiYE9zFoqAIQn0xsdFiXOEHsgddinCdg6wAmGIXPGzAUeLmKWdABSR2__-_LNJEhVv8DizSFCHZcisUanfXDHmMBdYqCUoLJbchNuIUJGuDkB5uimJeE3BRFyv-cNtd2ux_FnWyTxKsE-g/s640/2_10.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
20. Give a name & description to new group and click '<b>Submit</b>'. New Group will be displayed in the page.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU7HGBfVqfLGjcpvi_fuvC7wrkSE30D8EhXJC2_oGl4Dt3BpiW5H7NK98rLQlTW0hQyFehtCZFHWCdiPJ0D3tYGjDEOv2UeWAN5VeC7LGAgvITBD2WWVfu6ijNZtstxjRZZncO3vRP-co/s1600/2_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU7HGBfVqfLGjcpvi_fuvC7wrkSE30D8EhXJC2_oGl4Dt3BpiW5H7NK98rLQlTW0hQyFehtCZFHWCdiPJ0D3tYGjDEOv2UeWAN5VeC7LGAgvITBD2WWVfu6ijNZtstxjRZZncO3vRP-co/s640/2_11.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoHdYT4rAtJfE__7q6iBkzH7dX4DYOmh-_8g8U6youN_0MkH6wsYIVt-vB0RyX6biYSv9rrewl1VQrIiEOXYlJnNxRJYuP74WmPbxvl7URLo2a6MvnKNU_eyQkzK9KbOh3OzS8kaLjTxo/s1600/2_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoHdYT4rAtJfE__7q6iBkzH7dX4DYOmh-_8g8U6youN_0MkH6wsYIVt-vB0RyX6biYSv9rrewl1VQrIiEOXYlJnNxRJYuP74WmPbxvl7URLo2a6MvnKNU_eyQkzK9KbOh3OzS8kaLjTxo/s640/2_12.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
21. Click on newly created group and Click on '<b>Add User to Group</b>' to add new user. Select the user from drop down list and click on '<b>Add</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAqClhX0W0uifaNSb-ugxL_yzt9chb5TzwGrv-3CBA5LBmeMoVakQM1xhjEgFehFmho_LAuVeJyMAp2MacvfZ3xRf0xaehrz-7yFUcFH4IBNknYghBAAwSjHyUKGZ21YuI-E6iR9H5RdM/s1600/2_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAqClhX0W0uifaNSb-ugxL_yzt9chb5TzwGrv-3CBA5LBmeMoVakQM1xhjEgFehFmho_LAuVeJyMAp2MacvfZ3xRf0xaehrz-7yFUcFH4IBNknYghBAAwSjHyUKGZ21YuI-E6iR9H5RdM/s640/2_13.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSKEAKcvjCQkS1DH9GiMO4Wi46Yn-ydoO6R9R16yE3dOmu1I2GxtaMvFh0Zgsm-VuLpPihCoK7pLID8r1t_4jfAwrjd_9_vCACAlnmL4mFGGxeBcIm8UrFmCSh8a0Xax6k0DhqJlww8Ow/s1600/2_14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSKEAKcvjCQkS1DH9GiMO4Wi46Yn-ydoO6R9R16yE3dOmu1I2GxtaMvFh0Zgsm-VuLpPihCoK7pLID8r1t_4jfAwrjd_9_vCACAlnmL4mFGGxeBcIm8UrFmCSh8a0Xax6k0DhqJlww8Ow/s640/2_14.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Tc2OkXQDut0rMxo7fJtghmIHh9h6UGsbtr9SqCNQulN-ca21XoAWbn8V11FMiuGPIjI7zS-aEJLKeFF9NoSvR6G4WE2UTSxusTKyEICEykI1VfL82_P89N98NtiLIaG2hyhJ3606PyE/s1600/2_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Tc2OkXQDut0rMxo7fJtghmIHh9h6UGsbtr9SqCNQulN-ca21XoAWbn8V11FMiuGPIjI7zS-aEJLKeFF9NoSvR6G4WE2UTSxusTKyEICEykI1VfL82_P89N98NtiLIaG2hyhJ3606PyE/s640/2_15.png" width="640" /></a></div>
<br />
<br />
22. Go to <b>Identity -> Policies</b>. It will show existing Policies.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOItSc9qKnJ1z72MFqAK73ZbeYMtTOhuzhFzP7o0LFPxc2G57aneMBIzJsm4RHJPjc6qmhX7bxd2haovVlg9zFdfYVoZQ5bqfjvMBiK_w8nYk_sUd02ioyQ5RAktmCVeUWBX6_eW4I1J0/s1600/2_16.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOItSc9qKnJ1z72MFqAK73ZbeYMtTOhuzhFzP7o0LFPxc2G57aneMBIzJsm4RHJPjc6qmhX7bxd2haovVlg9zFdfYVoZQ5bqfjvMBiK_w8nYk_sUd02ioyQ5RAktmCVeUWBX6_eW4I1J0/s640/2_16.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhllwj1hJXOF39ejf3QFAdNrF-z5eyT3Cqb0lhCMdGu9quOG_epaa5-Oaawa09aCKhn57oihDILCwanNEbOeXmuqX-k2YNQ-U-hXrTNzhQiCKk-oQIdS8tNMk_0pGEMu4ZmfLchGMA8zs/s1600/2_17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhllwj1hJXOF39ejf3QFAdNrF-z5eyT3Cqb0lhCMdGu9quOG_epaa5-Oaawa09aCKhn57oihDILCwanNEbOeXmuqX-k2YNQ-U-hXrTNzhQiCKk-oQIdS8tNMk_0pGEMu4ZmfLchGMA8zs/s640/2_17.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3vHYVGwqnWncIe8aPvkL9YforwwTHx3QA98HUf7TJafTdTLC1Rg9ioI8lBSMpkcYC5TG18Xq2jxrD4cRT3gJtSyYMn9KfjxdmFn1hRb31ytGAUoh9zB2SJNjC42OLcJNVqDugvGV0txQ/s1600/2_18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3vHYVGwqnWncIe8aPvkL9YforwwTHx3QA98HUf7TJafTdTLC1Rg9ioI8lBSMpkcYC5TG18Xq2jxrD4cRT3gJtSyYMn9KfjxdmFn1hRb31ytGAUoh9zB2SJNjC42OLcJNVqDugvGV0txQ/s640/2_18.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifrUMNoRHtKY_PNXlH5Gr7-KU88JaXGkLIVckHCDf2UmMH6YuT8Fhc50HuZZlWyfQI92xweP5DB60hxTRINtUtCb3n5uIYUsoSYT8XbSKm4Lv3fE2MzwgS8uV-1TNfq5MT8qaR1Tsp4Bw/s1600/2_19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEifrUMNoRHtKY_PNXlH5Gr7-KU88JaXGkLIVckHCDf2UmMH6YuT8Fhc50HuZZlWyfQI92xweP5DB60hxTRINtUtCb3n5uIYUsoSYT8XbSKm4Lv3fE2MzwgS8uV-1TNfq5MT8qaR1Tsp4Bw/s640/2_19.png" width="640" /></a></div>
<br />
<br />
23. Click on '<b>Create Policy</b>' to add new Policy. Give a name & description to new Policy and add Policy statement. Click '<b>Create</b>'.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3zqsYDQTurKDJjsuGqgUID4V9dSmLSn8uFbc-9NiJdu8JZnq9OBNqNcUEo2qXOv8pSB4KzSqQ8N3IxuMHrAL6rVi-5tmKzO5jG64Iue8ScQuZk1Fnk9vUaqFvSSMgTrk03Rgb1HrM-zI/s1600/2_20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3zqsYDQTurKDJjsuGqgUID4V9dSmLSn8uFbc-9NiJdu8JZnq9OBNqNcUEo2qXOv8pSB4KzSqQ8N3IxuMHrAL6rVi-5tmKzO5jG64Iue8ScQuZk1Fnk9vUaqFvSSMgTrk03Rgb1HrM-zI/s640/2_20.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBKO8yahMwtxUPSvKQlFGxu-EopLrsIe1eWp7TTsi8E-DQHaXC5WyH06hHuj88PJqzHYijOESekW8atG1Gt2a4ss9g0uu13be6-NFbJv45a7j72Lewlc3u5yuf9iKgslPVCqypv9BdpdQ/s1600/2_21.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBKO8yahMwtxUPSvKQlFGxu-EopLrsIe1eWp7TTsi8E-DQHaXC5WyH06hHuj88PJqzHYijOESekW8atG1Gt2a4ss9g0uu13be6-NFbJv45a7j72Lewlc3u5yuf9iKgslPVCqypv9BdpdQ/s640/2_21.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJzUl6E_49FKx19jlwcnuoIGHIpvjop5uulwuuYmZi-bAMw8zDF77uGeuCSUFHbwQ4umM2r7AzGercsuwgC5o9UHSmHHaH2inEOnvzcQXyIkR3Im4AFJmp8FLXOhrf3_Xr6W8Uzdl7XqA/s1600/2_22.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJzUl6E_49FKx19jlwcnuoIGHIpvjop5uulwuuYmZi-bAMw8zDF77uGeuCSUFHbwQ4umM2r7AzGercsuwgC5o9UHSmHHaH2inEOnvzcQXyIkR3Im4AFJmp8FLXOhrf3_Xr6W8Uzdl7XqA/s640/2_22.png" width="640" /></a></div>
<br />
<br />
24. Cost Analysis: Go to <b>Billing -> Cost Analysis</b>. It will show the usage charges.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiqRGLXpBGNOnLy7BUBYcLRbimjYGSzU2TpHkv26IWoVU004tD6ZliyZs5GHlWd4tkpb2inFD3DNsTukSdiqMpzRbzXsbXmBvOlZg-lJwcIbptbsH07qvz3QK-Fnjrv2ZtUZiv_S_f_SQ/s1600/4_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiiqRGLXpBGNOnLy7BUBYcLRbimjYGSzU2TpHkv26IWoVU004tD6ZliyZs5GHlWd4tkpb2inFD3DNsTukSdiqMpzRbzXsbXmBvOlZg-lJwcIbptbsH07qvz3QK-Fnjrv2ZtUZiv_S_f_SQ/s640/4_1.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmAZPAr0tKom3QZ2w7MShJJlH4AQIOzV3qTI_k7FjULg9XS3NLn60TSZ2DD-2slOt-_TfDq_JkwXKciSx6Wc8uQOUDMHxcVTARc7w2DiOiqqf-GdBb_uNxkWu4OmA3tYYeSGBoW_LEYFY/s1600/4_2.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmAZPAr0tKom3QZ2w7MShJJlH4AQIOzV3qTI_k7FjULg9XS3NLn60TSZ2DD-2slOt-_TfDq_JkwXKciSx6Wc8uQOUDMHxcVTARc7w2DiOiqqf-GdBb_uNxkWu4OmA3tYYeSGBoW_LEYFY/s640/4_2.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdesXTZ4OzJkpSva1HWCn8VO26BT1CW0zTym8rhcofJgrMU01IMMnGPkcU8s4Lqgt0jR7BOAXgNIzzfOjziMK-W792z7W2axH18vDBhwgzbk2Jzlxgk3bqSpVC8SftrPKyyTEjAGN3x10/s1600/4_3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjdesXTZ4OzJkpSva1HWCn8VO26BT1CW0zTym8rhcofJgrMU01IMMnGPkcU8s4Lqgt0jR7BOAXgNIzzfOjziMK-W792z7W2axH18vDBhwgzbk2Jzlxgk3bqSpVC8SftrPKyyTEjAGN3x10/s640/4_3.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirkmzqbIEtcZusjjY4umh3VR9KZufOIoaR5LNPBO0QzKF4SWnK88siiW7qy66JT18FSAngbpuRC_71HdNiVAhmt0ClRQsypDI9reuPne7SGqUtg9N78qdzt29Rr5VilNpi6wRa_H6a-5g/s1600/4_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirkmzqbIEtcZusjjY4umh3VR9KZufOIoaR5LNPBO0QzKF4SWnK88siiW7qy66JT18FSAngbpuRC_71HdNiVAhmt0ClRQsypDI9reuPne7SGqUtg9N78qdzt29Rr5VilNpi6wRa_H6a-5g/s640/4_4.png" width="640" /></a></div>
<div>
<br /></div>
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-58155605364652739492019-01-24T19:59:00.002+05:302019-01-24T19:59:42.854+05:30DB:: Stop and Start Auto Refresh of Materialized View<div dir="ltr" style="text-align: left;" trbidi="on">
I recently had an requirement to stop auto refresh of materialized view for a while. I followed below steps without making any changes to materialized view DDL.<br />
<br />
This approach is helpful, if materialized views are based on database links and respective target systems are going down for maintenance.<br />
<br />
1. Login to Database as Materialized View Owner.<br />
<br />
<br />
<b><span style="font-size: large;">Stop MV Refresh:</span></b><br />
<b><br /></b>
2. Run following anonymous block to <b><span style="color: red;">stop</span></b> auto refresh of all the materialized views belongs to logged in user.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">DECLARE</span>
<span style="color: #008800; font-weight: bold;">CURSOR</span> cur_job
<span style="color: #008800; font-weight: bold;">IS</span>
<span style="color: #008800; font-weight: bold;">SELECT</span> job
<span style="color: #008800; font-weight: bold;">FROM</span> user_jobs
<span style="color: #008800; font-weight: bold;">WHERE</span> broken <span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'N'</span>;
<span style="color: #008800; font-weight: bold;">BEGIN</span>
<span style="color: #008800; font-weight: bold;">FOR</span> job_rec <span style="color: #008800; font-weight: bold;">in</span> cur_job
LOOP
dbms_job.broken(job_rec.job,<span style="color: #008800; font-weight: bold;">TRUE</span>);
<span style="color: #008800; font-weight: bold;">COMMIT</span>;
<span style="color: #008800; font-weight: bold;">END</span> LOOP;
<span style="color: #008800; font-weight: bold;">END</span>;
</pre>
</div>
<br />
<br />
<b><span style="font-size: large;">Start MV Refresh:</span></b><br />
<b><br /></b>
3. Run following anonymous block to <b><span style="color: red;">start</span></b> auto refresh of all the materialized views belongs to logged in user.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">DECLARE</span>
<span style="color: #008800; font-weight: bold;">CURSOR</span> cur_job
<span style="color: #008800; font-weight: bold;">IS</span>
<span style="color: #008800; font-weight: bold;">SELECT</span> job
<span style="color: #008800; font-weight: bold;">FROM</span> user_jobs
<span style="color: #008800; font-weight: bold;">WHERE</span> broken <span style="color: #333333;">=</span><span style="background-color: #fff0f0;">'Y'</span>;
<span style="color: #008800; font-weight: bold;">BEGIN</span>
<span style="color: #008800; font-weight: bold;">FOR</span> job_rec <span style="color: #008800; font-weight: bold;">in</span> cur_job
LOOP
dbms_job.run(job_rec.job);
<span style="color: #008800; font-weight: bold;">COMMIT</span>;
<span style="color: #008800; font-weight: bold;">END</span> LOOP;
<span style="color: #008800; font-weight: bold;">END</span>;
</pre>
</div>
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-57597771339476389732018-12-01T07:42:00.002+05:302018-12-01T07:43:05.946+05:30APEX:: 18.2 Setup on Windows with ORDS<div dir="ltr" style="text-align: left;" trbidi="on">
I had a requirement to setup APEX 18.2 with ORDS on my local machine running on windows 10 OS. Here is the steps I followed to install and configure APEX 18.2.<br />
<br />
<b><span style="color: red;"><u>Pre-Requisites:</u> </span></b><br />
Oracle Database 11g/12c Installation<br />
<br />
<b><span style="color: red;"><u>Environment:</u></span></b><br />
<br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">Operating</span> <span style="color: black;">System</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Windows</span> <span style="color: #0000cf; font-weight: bold;">10</span>
<span style="color: black;">Database</span> <span style="color: black;">Version</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Oracle</span> <span style="color: black;">Database</span> <span style="color: #0000cf; font-weight: bold;">12</span><span style="color: black;">c</span> <span style="color: black;">EE</span> <span style="color: black;">Release</span> <span style="color: #0000cf; font-weight: bold;">12.2</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0.1</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span> <span style="color: #ce5c00; font-weight: bold;">-</span> <span style="color: #0000cf; font-weight: bold;">64</span><span style="color: black;">bit</span>
<span style="color: black;">APEX</span> <span style="color: black;">Version</span><span style="color: black; font-weight: bold;">:</span> <span style="color: #0000cf; font-weight: bold;">18.2</span>
<span style="color: black;">ORDS</span> <span style="color: black;">Version</span><span style="color: black; font-weight: bold;">:</span> <span style="color: #0000cf; font-weight: bold;">18.3</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0.270</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">1456</span>
</pre>
</div>
<div class="MsoNoSpacing">
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
<o:p><b><u><span style="color: red;">Steps:</span></u></b></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<o:p><u><span style="color: #38761d;">Step#1: Download Required Installation File</span></u></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Download APEX installation file from </div>
<div class="MsoNoSpacing">
<o:p></o:p></div>
<div class="MsoNoSpacing">
<a href="https://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html">https://www.oracle.com/technetwork/developer-tools/apex/downloads/index.html</a><o:p></o:p></div>
<div class="MsoNoSpacing">
<b>File Name:</b> apex_18.2.zip<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<u><span style="color: #38761d;">Step#2: Extract Installation File<o:p></o:p></span></u></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Extract apex_18.2.zip to a temporary folder. Once its
extracted go to 'apex' folder. <o:p></o:p></div>
<br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">cd</span> <span style="color: black;">C</span><span style="color: black; font-weight: bold;">:</span>\<span style="color: black;">Soft</span>\<span style="color: black;">DB</span>\<span style="color: black;">TEMP</span>
<span style="color: black;">unzip</span> <span style="color: black;">apex_18</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">2.</span><span style="color: black;">zip</span>
<span style="color: black;">cd</span> <span style="color: black;">apex</span>
</pre>
</div>
<div class="MsoNoSpacing">
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
<u><span style="color: #38761d;">Step#3: Login to SQL Command Line</span></u></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">C</span><span style="color: black; font-weight: bold;">:</span>\<span style="color: black;">Soft</span>\<span style="color: black;">DB</span>\<span style="color: black;">TEMP</span>\<span style="color: black;">apex</span><span style="color: #ce5c00; font-weight: bold;">></span><span style="color: black;">sqlplus</span>
<span style="color: black;">SQL</span><span style="color: #ce5c00; font-weight: bold;">*</span><span style="color: black;">Plus</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Release</span> <span style="color: #0000cf; font-weight: bold;">12.2</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0.1</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span> <span style="color: black;">Production</span> <span style="color: black;">on</span> <span style="color: black;">Tue</span> <span style="color: black;">Nov</span> <span style="color: #0000cf; font-weight: bold;">27</span> <span style="color: #0000cf; font-weight: bold;">12</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">52</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">07</span> <span style="color: #0000cf; font-weight: bold;">2018</span>
<span style="color: black;">Copyright</span> <span style="color: black; font-weight: bold;">(</span><span style="color: black;">c</span><span style="color: black; font-weight: bold;">)</span> <span style="color: #0000cf; font-weight: bold;">1982</span><span style="color: black; font-weight: bold;">,</span> <span style="color: #0000cf; font-weight: bold;">2016</span><span style="color: black; font-weight: bold;">,</span> <span style="color: black;">Oracle</span><span style="color: #ce5c00; font-weight: bold;">.</span> <span style="color: black;">All</span> <span style="color: black;">rights</span> <span style="color: black;">reserved</span><span style="color: #ce5c00; font-weight: bold;">.</span>
<span style="color: black;">Enter</span> <span style="color: black;">user</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: black;">name</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">sys</span> <span style="color: #204a87; font-weight: bold;">as</span> <span style="color: black;">sysdba</span>
<span style="color: black;">Enter</span> <span style="color: black;">password</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Connected</span> <span style="color: black;">to</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Oracle</span> <span style="color: black;">Database</span> <span style="color: #0000cf; font-weight: bold;">12</span><span style="color: black;">c</span> <span style="color: black;">Enterprise</span> <span style="color: black;">Edition</span> <span style="color: black;">Release</span> <span style="color: #0000cf; font-weight: bold;">12.2</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0.1</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span> <span style="color: #ce5c00; font-weight: bold;">-</span> <span style="color: #0000cf; font-weight: bold;">64</span><span style="color: black;">bit</span> <span style="color: black;">Production</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#4: Create Tablespace for APEX <o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">CREATE</span> <span style="color: black;">TABLESPACE</span> <span style="color: black;">apex</span> <span style="color: black;">DATAFILE</span> <span style="color: #204a87; font-weight: bold;">SIZE</span> <span style="color: #0000cf; font-weight: bold;">100</span><span style="color: black;">M</span> <span style="color: black;">AUTOEXTEND</span> <span style="color: #204a87; font-weight: bold;">ON</span> <span style="color: #204a87; font-weight: bold;">NEXT</span> <span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black;">M</span><span style="color: black; font-weight: bold;">;</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: red;"><u>Note:</u></span> If you want to specify data file path<br />
<br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">CREATE</span> <span style="color: black;">TABLESPACE</span> <span style="color: black;">apex</span> <span style="color: black;">DATAFILE</span> <span style="color: #4e9a06;">'/path/to/datafiles/apex01.dbf'</span> <span style="color: #204a87; font-weight: bold;">SIZE</span> <span style="color: #0000cf; font-weight: bold;">100</span><span style="color: black;">M</span> <span style="color: black;">AUTOEXTEND</span> <span style="color: #204a87; font-weight: bold;">ON</span> <span style="color: #204a87; font-weight: bold;">NEXT</span> <span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black;">M</span><span style="color: black; font-weight: bold;">;</span>
</pre>
</div>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#5: Check, if the Oracle Application Express<span style="mso-spacerun: yes;"> </span>is already installed<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">SELECT</span> <span style="color: black;">comp_name</span><span style="color: black; font-weight: bold;">,</span> <span style="color: #204a87; font-weight: bold;">version</span><span style="color: black; font-weight: bold;">,</span> <span style="color: black;">status</span> <span style="color: #204a87; font-weight: bold;">FROM</span> <span style="color: black;">dba_registry</span> <span style="color: #204a87; font-weight: bold;">WHERE</span> <span style="color: black;">comp_id</span><span style="color: #ce5c00; font-weight: bold;">=</span><span style="color: #4e9a06;">'APEX'</span><span style="color: black; font-weight: bold;">;</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#6: Run APEX Installation Script</u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
If APEX is not installed, run the
"apexins.sql" script, specifying the relevant tablespace names and
image URL.<o:p></o:p></div>
<div class="MsoNoSpacing">
-- @apexins.sql tablespace_apex tablespace_files
tablespace_temp images<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: black;">apexins</span><span style="color: black; font-weight: bold;">.</span><span style="color: #204a87; font-weight: bold;">sql</span> <span style="color: black;">APEX</span> <span style="color: black;">APEX</span> <span style="color: black;">TEMP</span> <span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">i</span><span style="color: #ce5c00; font-weight: bold;">/</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Where:<o:p></o:p></div>
<div class="MsoNoSpacing">
APEX – name of the tablespace for the APEX user.<o:p></o:p></div>
<div class="MsoNoSpacing">
APEX – name of the tablespace for APEX files user.<o:p></o:p></div>
<div class="MsoNoSpacing">
TEMP – name of the temporary tablespace.<o:p></o:p></div>
<div class="MsoNoSpacing">
i – virtual directory for APEX images. Define the virtual
image directory as /i/ for future updates.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<u><span style="color: red;">Note:</span></u> If you are upgrading, you've finished at this
point. You only need to run subsequent steps for new installations. If you are
using ORDS, it's a good idea to run an ORDS validate to make sure the APEX
hasn't affected your ORDS installation.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhudjAzrS5Vz0IUTFbe0wCe3544OGBrs5wkqebjX9mxU58NR6Hpx5krtf4pCg0WtW81uxp_D0DwAt5g62HpNqLnhPN9AGBrc6K0CY4Lx92zhopEPSeZhlST9RG6oRFanTrah_2AfIdCaV8/s1600/APEX_4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="427" data-original-width="915" height="298" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhudjAzrS5Vz0IUTFbe0wCe3544OGBrs5wkqebjX9mxU58NR6Hpx5krtf4pCg0WtW81uxp_D0DwAt5g62HpNqLnhPN9AGBrc6K0CY4Lx92zhopEPSeZhlST9RG6oRFanTrah_2AfIdCaV8/s640/APEX_4.png" width="640" /></a></div>
<br />
The above script creates following schemas on Database,
you can test by querying view DBA_USERS.</div>
<div class="MsoNoSpacing">
<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
APEX_INSTANCE_ADMIN_USER<o:p></o:p></div>
<div class="MsoNoSpacing">
APEX_PUBLIC_USER<o:p></o:p></div>
<div class="MsoNoSpacing">
FLOWS_FILES<o:p></o:p></div>
<div class="MsoNoSpacing">
APEX_180200<o:p></o:p></div>
<div class="MsoNoSpacing">
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHtMm9-dgAJP8ViLEyznar4WjJm9vjGoIUypjNrBdMTpLO0QmBKMQpq80DXLzWcrJKZSdE-2zLbWu3cJuaZj2FLkt_9KsHbg9L4eZFSY6IMSrW4gllzFYGejmILqlrTRX8lrbUCWNZzmM/s1600/APEX_6.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="267" data-original-width="923" height="184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHtMm9-dgAJP8ViLEyznar4WjJm9vjGoIUypjNrBdMTpLO0QmBKMQpq80DXLzWcrJKZSdE-2zLbWu3cJuaZj2FLkt_9KsHbg9L4eZFSY6IMSrW4gllzFYGejmILqlrTRX8lrbUCWNZzmM/s640/APEX_6.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br /></div>
<div class="MsoNoSpacing">
<u><span style="color: #38761d;">Step#7: Verify APEX Version and Status</span></u></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Check the VERSION and STATUS is installed<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">SELECT</span> <span style="color: black;">comp_name</span><span style="color: black; font-weight: bold;">,</span> <span style="color: #204a87; font-weight: bold;">version</span><span style="color: black; font-weight: bold;">,</span> <span style="color: black;">status</span> <span style="color: #204a87; font-weight: bold;">FROM</span> <span style="color: black;">dba_registry</span> <span style="color: #204a87; font-weight: bold;">WHERE</span> <span style="color: black;">comp_id</span><span style="color: #ce5c00; font-weight: bold;">=</span><span style="color: #4e9a06;">'APEX'</span><span style="color: black; font-weight: bold;">;</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLsIb4ZqycGbyNDK2RtEfeYrqVks8vzil8Wd74yiP7d6H0QXYTUciDFNGeQ6WJ5KQ6Sw6Q0C2EhwI1N9TELRmvYW3aExxiY15aeLVQahf4KMy6Lc5XTaRrAP4Z2M2f0qIepcRPPzB9z48/s1600/APEX_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="212" data-original-width="402" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLsIb4ZqycGbyNDK2RtEfeYrqVks8vzil8Wd74yiP7d6H0QXYTUciDFNGeQ6WJ5KQ6Sw6Q0C2EhwI1N9TELRmvYW3aExxiY15aeLVQahf4KMy6Lc5XTaRrAP4Z2M2f0qIepcRPPzB9z48/s1600/APEX_1.png" /></a></div>
<br />
<br /></div>
<div class="MsoNoSpacing">
Check APEX RELEASE VERSION:<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">SELECT</span> <span style="color: #ce5c00; font-weight: bold;">*</span> <span style="color: #204a87; font-weight: bold;">FROM</span> <span style="color: black;">apex_release</span><span style="color: black; font-weight: bold;">;</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDD86Ds7vCzubnXXt9YAQ8JasNPHPwl_dnXLSSXsuYSpGim2wtAcS2C-KD-NSYtz69WX6FMDIW0MMHcO_XCaYqZp3B8grTbx8TqLX4zc0Ls7MINLlGP-0E5aIfxxJz_-z4tgZZCAPp0D4/s1600/APEX_20.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="211" data-original-width="424" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhDD86Ds7vCzubnXXt9YAQ8JasNPHPwl_dnXLSSXsuYSpGim2wtAcS2C-KD-NSYtz69WX6FMDIW0MMHcO_XCaYqZp3B8grTbx8TqLX4zc0Ls7MINLlGP-0E5aIfxxJz_-z4tgZZCAPp0D4/s1600/APEX_20.png" /></a></div>
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#8: Change APEX Admin Password</u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Once complete, change the admin password by
running the "apxchpwd.sql" scripts as the SYS user.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: red;"><u>Note: </u></span>Password must contain at least one punctuation character (!"#$%&()``*+,-/:;?_).</div>
<br />
<div class="MsoNoSpacing">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7AxvvHJaaMVyGiebqTK5arOUA7qAGKZqpTchy9-3SyWT__r-GioSm2yLkYrxzaJdLXGg5gro-m_2d9ejtxuSsOsAzf0H_UXRn1bArs9l6vdQ4JRMaSkQs30u3FY3Gim3U7rrxp94oFo0/s1600/APEX_5.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="265" data-original-width="742" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7AxvvHJaaMVyGiebqTK5arOUA7qAGKZqpTchy9-3SyWT__r-GioSm2yLkYrxzaJdLXGg5gro-m_2d9ejtxuSsOsAzf0H_UXRn1bArs9l6vdQ4JRMaSkQs30u3FY3Gim3U7rrxp94oFo0/s640/APEX_5.png" width="640" /></a></div>
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
<b><span style="color: red;"><u>Web Listener Setup:<o:p></o:p></u></span></b></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: orange;"><b>Option#1: Configuring Embedded PL/SQL Gateway</b></span><o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#9: Run the Embedded PL/SQL Gateway configuration (EPG)<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
This script will load the Application Express images into
XDB,<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
@apex_epg_config.sql <parent of apex directory><o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
-- C:\Soft\DB\TEMP is home directory for apex installer, the base
directory is C:\Soft\DB\TEMP\apex<o:p></o:p></div>
<div class="MsoNoSpacing">
-- do not include apex.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">SQL</span><span style="color: #ce5c00; font-weight: bold;">></span> <span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: black;">apex_epg_config</span><span style="color: black; font-weight: bold;">.</span><span style="color: #204a87; font-weight: bold;">sql</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span>
<span style="color: black; font-weight: bold;">.</span> <span style="color: black;">Loading</span> <span style="color: black;">images</span> <span style="color: black;">directory</span><span style="color: black; font-weight: bold;">:</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">apex</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">images</span>
<span style="color: black;">timing</span> <span style="color: #204a87; font-weight: bold;">for</span><span style="color: black; font-weight: bold;">:</span> <span style="color: #204a87; font-weight: bold;">Load</span> <span style="color: black;">Images</span>
<span style="color: black;">Elapsed</span><span style="color: black; font-weight: bold;">:</span> <span style="color: #0000cf; font-weight: bold;">00</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">01</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">13</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">29</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#10: Unlock Database Accounts<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Make sure that the following accounts are unlocked:<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">ALTER</span> <span style="color: #204a87; font-weight: bold;">USER</span> <span style="color: black;">anonymous</span> <span style="color: black;">ACCOUNT</span> <span style="color: black;">UNLOCK</span><span style="color: black; font-weight: bold;">;</span>
<span style="color: #204a87; font-weight: bold;">ALTER</span> <span style="color: #204a87; font-weight: bold;">USER</span> <span style="color: black;">xdb</span> <span style="color: black;">ACCOUNT</span> <span style="color: black;">UNLOCK</span><span style="color: black; font-weight: bold;">;</span>
<span style="color: #204a87; font-weight: bold;">ALTER</span> <span style="color: #204a87; font-weight: bold;">USER</span> <span style="color: black;">apex_public_user</span> <span style="color: black;">ACCOUNT</span> <span style="color: black;">UNLOCK</span><span style="color: black; font-weight: bold;">;</span>
<span style="color: #204a87; font-weight: bold;">ALTER</span> <span style="color: #204a87; font-weight: bold;">USER</span> <span style="color: black;">flows_files</span> <span style="color: black;">ACCOUNT</span> <span style="color: black;">UNLOCK</span><span style="color: black; font-weight: bold;">;</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#11: APEX Database Parameters Configuration</u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Configure database parameters for APEX<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqzqASvqSdogtdfBMiUdjQETQh5t_tONU1QhMgM-60kSqWyrA8X3wbQsGOB_wlvPXE14QA_HjEEpOHiBD7hvtZaRcEqbSOaomRa1pgkwZykvGKE2rnXXT2zujLFJdcwamXozm0PNI8ieo/s1600/APEX_8.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="489" data-original-width="745" height="419" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqzqASvqSdogtdfBMiUdjQETQh5t_tONU1QhMgM-60kSqWyrA8X3wbQsGOB_wlvPXE14QA_HjEEpOHiBD7hvtZaRcEqbSOaomRa1pgkwZykvGKE2rnXXT2zujLFJdcwamXozm0PNI8ieo/s640/APEX_8.png" width="640" /></a></div>
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#12: Enable XML DB Protocol Server<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<o:p>Check Whether </o:p>Oracle XML DB Protocol Server enabled or not.</div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">SELECT</span> <span style="color: black;">DBMS_XDB</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">GETHTTPPORT</span> <span style="color: #204a87; font-weight: bold;">FROM</span> <span style="color: black;">DUAL</span><span style="color: black; font-weight: bold;">;</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
If the port number returns 0, the Oracle XML DB Protocol
Server is disabled.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
To enable Oracle XML DB Protocol Server:<o:p></o:p><br />
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">EXEC</span> <span style="color: black;">DBMS_XDB</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">SETHTTPPORT</span><span style="color: black; font-weight: bold;">(</span><span style="color: black;">port</span><span style="color: black; font-weight: bold;">);</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
--Change default port 8080, we will use for apache tomcat<o:p></o:p><br />
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">EXEC</span> <span style="color: black;">DBMS_XDB</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">SETHTTPPORT</span><span style="color: black; font-weight: bold;">(</span><span style="color: #0000cf; font-weight: bold;">8181</span><span style="color: black; font-weight: bold;">);</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Note: You can also run @apxconf.sql to perform the final
configuration steps for Oracle Application Express, including setting the XDB
HTTP listener port and Application Express ADMIN password.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">SQL</span><span style="color: #ce5c00; font-weight: bold;">></span> <span style="color: #204a87; font-weight: bold;">select</span> <span style="color: black;">dbms_xdb</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">gethttpport</span> <span style="color: #204a87; font-weight: bold;">from</span> <span style="color: black;">dual</span><span style="color: black; font-weight: bold;">;</span>
<span style="color: black;">GETHTTPPORT</span>
<span style="border: 1px solid #ef2929; color: #a40000;">———–</span>
<span style="color: #0000cf; font-weight: bold;">8181</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb5xCRAhvLMm4P5xrlS3EuhdvOc6QC682qvFOXee0cFq_T9cdV8yfwVpTLqZlThButM6GnOjNKkgBtEOLic08c3-dszdGK6r0tro-PaEkJ0ST6MqgXlE7gStLeZBj3WBrKEdKSG8JIY38/s1600/APEX_9.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="321" data-original-width="423" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhb5xCRAhvLMm4P5xrlS3EuhdvOc6QC682qvFOXee0cFq_T9cdV8yfwVpTLqZlThButM6GnOjNKkgBtEOLic08c3-dszdGK6r0tro-PaEkJ0ST6MqgXlE7gStLeZBj3WBrKEdKSG8JIY38/s1600/APEX_9.png" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#13: Check the listener status and HTTP port is
enabled<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRgeBkdvP8Qq_dmz4gINmr1nYJ2sYhoNp81kDjhW1mSWx-K90EQiyEOiA4Vh9xaSLWzQlvZTiuSOmaQnZBog9MAT3Rb-ZJwyqEAMhISXpGYXQT-RBaYJ1FEKi0yAl_4CCXkGy8PboVItc/s1600/APEX_10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="615" data-original-width="1600" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRgeBkdvP8Qq_dmz4gINmr1nYJ2sYhoNp81kDjhW1mSWx-K90EQiyEOiA4Vh9xaSLWzQlvZTiuSOmaQnZBog9MAT3Rb-ZJwyqEAMhISXpGYXQT-RBaYJ1FEKi0yAl_4CCXkGy8PboVItc/s640/APEX_10.png" width="640" /></a></div>
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#14: Administration Services Login Page</u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<o:p></o:p></div>
<div class="MsoNoSpacing">
Login as a ADMIN user to http://localhost:8080/apex/apex_admin</div>
<div class="MsoNoSpacing">
<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxWkGlWFGDHYG5GSDctRUYo8W_raewwOgxFioWwZtOeOuzTKbeR3KXtiYgcF_24E9qJSjb9CNZrZM5XAvGbtuL8iGNlOrszF-pd64lGuQ7iRL3prcHJxi50jnAsoUYE2-FRpcHNSUpLBY/s1600/APEX_11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="869" data-original-width="1600" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxWkGlWFGDHYG5GSDctRUYo8W_raewwOgxFioWwZtOeOuzTKbeR3KXtiYgcF_24E9qJSjb9CNZrZM5XAvGbtuL8iGNlOrszF-pd64lGuQ7iRL3prcHJxi50jnAsoUYE2-FRpcHNSUpLBY/s640/APEX_11.png" width="640" /></a></div>
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7fu2jddffM5IM1aLUGQsWrQKkAmFqIcbku-qtxosGTUSDlhEk0_3RFk3NVRxPu5O9XJPvsvBSBwnD7b16TiNaRV5lmey_bedAEsqGh-7euAi7jnE4XjZOS5plffc1F7HIj-N93WAsnv4/s1600/APEX_12.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="869" data-original-width="1600" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7fu2jddffM5IM1aLUGQsWrQKkAmFqIcbku-qtxosGTUSDlhEk0_3RFk3NVRxPu5O9XJPvsvBSBwnD7b16TiNaRV5lmey_bedAEsqGh-7euAi7jnE4XjZOS5plffc1F7HIj-N93WAsnv4/s640/APEX_12.png" width="640" /></a></div>
<br /></div>
<div class="MsoNoSpacing">
Successfully logged into the Oracle APEX 18.2<o:p></o:p></div>
<div class="MsoNoSpacing">
<br />
<br />
<br /></div>
<div class="MsoNoSpacing">
<b><span style="color: orange;">Option#2: ORDS (Oracle REST Data Services) Listener:<o:p></o:p></span></b></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#15: Create Required Users<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Create the APEX_LISTENER and APEX_REST_PUBLIC_USER users
by running the "apex_rest_config.sql" script.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">SQL</span><span style="color: #ce5c00; font-weight: bold;">></span> <span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: black;">apex_rest_config</span><span style="color: black; font-weight: bold;">.</span><span style="color: #204a87; font-weight: bold;">sql</span>
<span style="color: black;">Enter</span> <span style="color: black;">a</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">the</span> <span style="color: black;">APEX_LISTENER</span> <span style="color: #204a87; font-weight: bold;">user</span> <span style="color: black; font-weight: bold;">[]</span>
<span style="color: black;">Enter</span> <span style="color: black;">a</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">the</span> <span style="color: black;">APEX_REST_PUBLIC_USER</span> <span style="color: #204a87; font-weight: bold;">user</span> <span style="color: black; font-weight: bold;">[]</span>
<span style="color: black; font-weight: bold;">...</span><span style="color: black;">set_appun</span><span style="color: black; font-weight: bold;">.</span><span style="color: #204a87; font-weight: bold;">sql</span>
<span style="color: black; font-weight: bold;">...</span><span style="color: #204a87; font-weight: bold;">create</span> <span style="color: black;">APEX_LISTENER</span> <span style="color: #204a87; font-weight: bold;">and</span> <span style="color: black;">APEX_REST_PUBLIC_USER</span> <span style="color: black;">users</span>
<span style="color: black;">PL</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: #204a87; font-weight: bold;">SQL</span> <span style="color: #204a87; font-weight: bold;">procedure</span> <span style="color: black;">successfully</span> <span style="color: black;">completed</span><span style="color: black; font-weight: bold;">.</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#16: Disable the Oracle XML DB Protocol Server<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">sqlplus</span> <span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">nolog</span>
<span style="color: #204a87; font-weight: bold;">CONNECT</span> <span style="color: black;">SYS</span> <span style="color: #204a87; font-weight: bold;">as</span> <span style="color: black;">SYSDBA</span>
<span style="color: #204a87; font-weight: bold;">EXEC</span> <span style="color: black;">DBMS_XDB</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">SETHTTPPORT</span><span style="color: black; font-weight: bold;">(</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">);</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#17:<span style="mso-tab-count: 1;"> </span>Unlock ORDS Database Accounts<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Check the SYS user and common public users are unlocked
and you know their passwords. Remember to lock the SYS user when the
installation is complete.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">CONN</span> <span style="color: #ce5c00; font-weight: bold;">/</span> <span style="color: #204a87; font-weight: bold;">AS</span> <span style="color: black;">SYSDBA</span>
<span style="color: #204a87; font-weight: bold;">ALTER</span> <span style="color: #204a87; font-weight: bold;">USER</span> <span style="color: black;">APEX_LISTENER</span> <span style="color: black;">IDENTIFIED</span> <span style="color: #204a87; font-weight: bold;">BY</span> <span style="color: black;">password</span> <span style="color: black;">ACCOUNT</span> <span style="color: black;">UNLOCK</span><span style="color: black; font-weight: bold;">;</span>
<span style="color: #204a87; font-weight: bold;">ALTER</span> <span style="color: #204a87; font-weight: bold;">USER</span> <span style="color: black;">APEX_PUBLIC_USER</span> <span style="color: black;">IDENTIFIED</span> <span style="color: #204a87; font-weight: bold;">BY</span> <span style="color: black;">password</span> <span style="color: black;">ACCOUNT</span> <span style="color: black;">UNLOCK</span><span style="color: black; font-weight: bold;">;</span>
<span style="color: #204a87; font-weight: bold;">ALTER</span> <span style="color: #204a87; font-weight: bold;">USER</span> <span style="color: black;">APEX_REST_PUBLIC_USER</span> <span style="color: black;">IDENTIFIED</span> <span style="color: #204a87; font-weight: bold;">BY</span> <span style="color: black;">password</span> <span style="color: black;">ACCOUNT</span> <span style="color: black;">UNLOCK</span><span style="color: black; font-weight: bold;">;</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirNQ_1Po1QDtbiRHwr-eP2QZYxmEzMPdnpL2DQLvUcQCuZMuWBZANdZ-MBJtLdeR_h8Y_nQKgZP0_-DqrRAyDTx2bZYp_U8KyAQDb56fkqBBp-zHs0sX19WZMd0TeRiqYa9tnVuiRQ7Ls/s1600/APEX_13.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="210" data-original-width="925" height="144" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirNQ_1Po1QDtbiRHwr-eP2QZYxmEzMPdnpL2DQLvUcQCuZMuWBZANdZ-MBJtLdeR_h8Y_nQKgZP0_-DqrRAyDTx2bZYp_U8KyAQDb56fkqBBp-zHs0sX19WZMd0TeRiqYa9tnVuiRQ7Ls/s640/APEX_13.png" width="640" /></a></div>
<br /></div>
<div class="MsoNoSpacing">
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#18: <o:p></o:p>Download ORDS Installation File</u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Download Oracle REST Data Services from </div>
<div class="MsoNoSpacing">
<a href="https://www.oracle.com/technetwork/developer-tools/rest-data-services/downloads/index.html">https://www.oracle.com/technetwork/developer-tools/rest-data-services/downloads/index.html</a></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
File Name: ords-18.3.0.270.1456.zip<o:p></o:p></div>
<div>
<br /></div>
<div>
<span style="color: #38761d;"><u>Step#19: Extract Installation File and Create Config Folder</u></span></div>
<div>
<br /></div>
<div class="MsoNoSpacing">
Extract ords-18.3.0.270.1456.zip to ords directory<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">cd</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span>
<span style="color: black;">unzip</span> <span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: black;">d</span> <span style="color: black;">ords</span> <span style="color: black;">ords</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">3</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">270</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">1456</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">zip</span>
<span style="color: black;">cd</span> <span style="color: black;">ords</span>
<span style="color: black;">mkdir</span> <span style="color: black;">config</span>
</pre>
</div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#20: <o:p></o:p>Configure Oracle REST Data Services (ORDS)</u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Run following command to configure ORDS and start in Standalone mode.<o:p></o:p><br />
<br /></div>
<div class="MsoNoSpacing">
java -jar ords.war <o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords</span><span style="color: #ce5c00; font-weight: bold;">></span><span style="color: black;">java</span> <span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: black;">jar</span> <span style="color: black;">ords</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">war</span>
<span style="color: black;">This</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: black;">instance</span> <span style="color: black;">has</span> <span style="color: #204a87; font-weight: bold;">not</span> <span style="color: black;">yet</span> <span style="color: black;">been</span> <span style="color: black;">configured</span><span style="color: black; font-weight: bold;">.</span>
<span style="color: black;">Please</span> <span style="color: black;">complete</span> <span style="color: black;">the</span> <span style="color: black;">following</span> <span style="color: black;">prompts</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">location</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">store</span> <span style="color: black;">configuration</span> <span style="color: #204a87; font-weight: bold;">data</span><span style="color: black; font-weight: bold;">:</span><span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">config</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: black;">name</span> <span style="color: #204a87; font-weight: bold;">of</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">server</span> <span style="color: black; font-weight: bold;">[</span><span style="color: black;">localhost</span><span style="color: black; font-weight: bold;">]:</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: #204a87; font-weight: bold;">listen</span> <span style="color: black;">port</span> <span style="color: black; font-weight: bold;">[</span><span style="color: #0000cf; font-weight: bold;">1521</span><span style="color: black; font-weight: bold;">]:</span><span style="color: #0000cf; font-weight: bold;">1522</span>
<span style="color: black;">Enter</span> <span style="color: #0000cf; font-weight: bold;">1</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">specify</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">service</span> <span style="color: black;">name</span><span style="color: black; font-weight: bold;">,</span> <span style="color: #204a87; font-weight: bold;">or</span> <span style="color: #0000cf; font-weight: bold;">2</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">specify</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">SID</span> <span style="color: black; font-weight: bold;">[</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">]:</span><span style="color: #0000cf; font-weight: bold;">2</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">SID</span> <span style="color: black; font-weight: bold;">[</span><span style="color: black;">xe</span><span style="color: black; font-weight: bold;">]:</span><span style="color: black;">ORCL</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">ORDS_PUBLIC_USER</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Confirm</span> <span style="color: black;">password</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Requires</span> <span style="color: black;">SYS</span> <span style="color: #204a87; font-weight: bold;">AS</span> <span style="color: black;">SYSDBA</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">verify</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">schema</span><span style="color: black; font-weight: bold;">.</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">SYS</span> <span style="color: #204a87; font-weight: bold;">AS</span> <span style="color: black;">SYSDBA</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Confirm</span> <span style="color: black;">password</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Retrieving</span> <span style="color: black;">information</span><span style="color: black; font-weight: bold;">.</span>
<span style="color: black;">Enter</span> <span style="color: #0000cf; font-weight: bold;">1</span> <span style="color: black;">if</span> <span style="color: black;">you</span> <span style="color: black;">want</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">use</span> <span style="color: black;">PL</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: #204a87; font-weight: bold;">SQL</span> <span style="color: black;">Gateway</span> <span style="color: #204a87; font-weight: bold;">or</span> <span style="color: #0000cf; font-weight: bold;">2</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">skip</span> <span style="color: black;">this</span> <span style="color: black;">step</span><span style="color: black; font-weight: bold;">.</span>
<span style="color: black;">If</span> <span style="color: #204a87; font-weight: bold;">using</span> <span style="color: black;">Oracle</span> <span style="color: black;">Application</span> <span style="color: black;">Express</span> <span style="color: #204a87; font-weight: bold;">or</span> <span style="color: black;">migrating</span> <span style="color: #204a87; font-weight: bold;">from</span> <span style="color: black;">mod_plsql</span> <span style="color: #204a87; font-weight: bold;">then</span> <span style="color: black;">you</span> <span style="color: black;">must</span> <span style="color: black;">enter</span> <span style="color: #0000cf; font-weight: bold;">1</span> <span style="color: black; font-weight: bold;">[</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">]:</span><span style="color: #0000cf; font-weight: bold;">1</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">APEX_PUBLIC_USER</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Confirm</span> <span style="color: black;">password</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Enter</span> <span style="color: #0000cf; font-weight: bold;">1</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">specify</span> <span style="color: black;">passwords</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">Application</span> <span style="color: black;">Express</span> <span style="color: black;">RESTful</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">users</span> <span style="color: black; font-weight: bold;">(</span><span style="color: black;">APEX_LISTENER</span><span style="color: black; font-weight: bold;">,</span> <span style="color: black;">APEX_REST_PUBLIC_USER</span><span style="color: black; font-weight: bold;">)</span> <span style="color: #204a87; font-weight: bold;">or</span> <span style="color: #0000cf; font-weight: bold;">2</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">skip</span> <span style="color: black;">this</span> <span style="color: black;">step</span> <span style="color: black; font-weight: bold;">[</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">]:</span><span style="color: #0000cf; font-weight: bold;">1</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">APEX_LISTENER</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Confirm</span> <span style="color: black;">password</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">APEX_REST_PUBLIC_USER</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Confirm</span> <span style="color: black;">password</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Nov</span> <span style="color: #0000cf; font-weight: bold;">27</span><span style="color: black; font-weight: bold;">,</span> <span style="color: #0000cf; font-weight: bold;">2018</span> <span style="color: #0000cf; font-weight: bold;">6</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">27</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">17</span> <span style="color: black;">PM</span>
<span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">reloaded</span> <span style="color: black;">pools</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black; font-weight: bold;">[]</span>
<span style="color: black;">Installing</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">version</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">3</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">r2701456</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: black;">Log</span> <span style="color: black;">file</span> <span style="color: black;">written</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Users</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">lkakarla</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords_install_core_2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span><span style="color: black;">_182717_00867</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">log</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: black;">Verified</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">prerequisites</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: black;">Created</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">schema</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: black;">Created</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: black;">proxy</span> <span style="color: #204a87; font-weight: bold;">user</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: #204a87; font-weight: bold;">Granted</span> <span style="color: #204a87; font-weight: bold;">privileges</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: black;">Created</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">objects</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: black;">Log</span> <span style="color: black;">file</span> <span style="color: black;">written</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Users</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">lkakarla</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords_install_datamodel_2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span><span style="color: black;">_182729_00527</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">log</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: black;">Log</span> <span style="color: black;">file</span> <span style="color: black;">written</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Users</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">lkakarla</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords_install_apex_2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span><span style="color: black;">_182732_00665</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">log</span>
<span style="color: black;">Completed</span> <span style="color: black;">installation</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">version</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">3</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">r2701456</span><span style="color: black; font-weight: bold;">.</span> <span style="color: black;">Elapsed</span> <span style="color: black;">time</span><span style="color: black; font-weight: bold;">:</span> <span style="color: #0000cf; font-weight: bold;">00</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">00</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">19</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">656</span>
<span style="color: black;">Enter</span> <span style="color: #0000cf; font-weight: bold;">1</span> <span style="color: black;">if</span> <span style="color: black;">you</span> <span style="color: black;">wish</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: #204a87; font-weight: bold;">start</span> <span style="color: #204a87; font-weight: bold;">in</span> <span style="color: black;">standalone</span> <span style="color: #204a87; font-weight: bold;">mode</span> <span style="color: #204a87; font-weight: bold;">or</span> <span style="color: #0000cf; font-weight: bold;">2</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">exit</span> <span style="color: black; font-weight: bold;">[</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">]:</span><span style="color: #0000cf; font-weight: bold;">1</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: black;">APEX</span> <span style="color: #204a87; font-weight: bold;">static</span> <span style="color: black;">resources</span> <span style="color: #204a87; font-weight: bold;">location</span><span style="color: black; font-weight: bold;">:</span><span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">apex</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">images</span>
<span style="color: black;">Enter</span> <span style="color: #0000cf; font-weight: bold;">1</span> <span style="color: black;">if</span> <span style="color: #204a87; font-weight: bold;">using</span> <span style="color: black;">HTTP</span> <span style="color: #204a87; font-weight: bold;">or</span> <span style="color: #0000cf; font-weight: bold;">2</span> <span style="color: black;">if</span> <span style="color: #204a87; font-weight: bold;">using</span> <span style="color: black;">HTTPS</span> <span style="color: black; font-weight: bold;">[</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">]:</span><span style="color: #0000cf; font-weight: bold;">1</span>
<span style="color: black;">Nov</span> <span style="color: #0000cf; font-weight: bold;">27</span><span style="color: black; font-weight: bold;">,</span> <span style="color: #0000cf; font-weight: bold;">2018</span> <span style="color: #0000cf; font-weight: bold;">6</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">30</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">56</span> <span style="color: black;">PM</span>
<span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">HTTP</span> <span style="color: #204a87; font-weight: bold;">and</span> <span style="color: black;">HTTP</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: #0000cf; font-weight: bold;">2</span> <span style="color: black;">cleartext</span> <span style="color: black;">listening</span> <span style="color: #204a87; font-weight: bold;">on</span> <span style="color: black;">port</span><span style="color: black; font-weight: bold;">:</span> <span style="color: #0000cf; font-weight: bold;">8080</span>
<span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: black;">initialized</span>
<span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">version</span> <span style="color: black; font-weight: bold;">:</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">3</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">r2701456</span>
<span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: black;">server</span> <span style="color: black;">info</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">jetty</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: #0000cf; font-weight: bold;">9</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">4</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">z</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: black;">SNAPSHOT</span>
<span style="color: #0000cf; font-weight: bold;">2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">30</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">57</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">547</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">oejsh</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">ContextHandler</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">main</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Started</span> <span style="color: black;">o</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">e</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">j</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">s</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">ServletContextHandler</span><span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: #0000cf; font-weight: bold;">291</span><span style="color: black;">ae</span><span style="border: 1px solid #ef2929; color: #a40000;">{</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">ords</span><span style="color: black; font-weight: bold;">,</span><span style="color: #204a87; font-weight: bold;">null</span><span style="color: black; font-weight: bold;">,</span><span style="color: black;">AVAILABLE</span><span style="border: 1px solid #ef2929; color: #a40000;">}</span>
<span style="color: #0000cf; font-weight: bold;">2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">30</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">57</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">553</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">oejsh</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">ContextHandler</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">main</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Started</span> <span style="color: black;">o</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">e</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">j</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">s</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">h</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">ContextHandler</span><span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: #0000cf; font-weight: bold;">61</span><span style="color: black;">df66b6</span><span style="border: 1px solid #ef2929; color: #a40000;">{</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">i</span><span style="color: black; font-weight: bold;">,</span><span style="color: #204a87; font-weight: bold;">null</span><span style="color: black; font-weight: bold;">,</span><span style="color: black;">AVAILABLE</span><span style="border: 1px solid #ef2929; color: #a40000;">}</span>
<span style="color: #0000cf; font-weight: bold;">2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">30</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">57</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">576</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">oejs</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">AbstractConnector</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">main</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Started</span> <span style="color: black;">ServerConnector</span><span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: #0000cf; font-weight: bold;">28701274</span><span style="border: 1px solid #ef2929; color: #a40000;">{</span><span style="color: black;">HTTP</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">,[</span><span style="color: black;">http</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">,</span> <span style="color: black;">h2c</span><span style="color: black; font-weight: bold;">]</span><span style="border: 1px solid #ef2929; color: #a40000;">}{</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">8080</span><span style="border: 1px solid #ef2929; color: #a40000;">}</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<u><span style="color: red;">Note:</span></u> Standalone Mode is a way to run ORDS without needing an application server like Oracle WebLogic or Apache Tomcat. It’s a quick and handy way to get ORDS up and running using Jetty server, but it’s not supported for use in production, you’ll need to deploy ORDS to a supported Application Server when it comes time to go production.<br />
<br />
<u style="color: #38761d;">Step#20: Test ORDS using Jetty</u></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Access APEX environment using URL <a href="http://localhost:8080/ords">http://localhost:8080/ords</a><o:p></o:p></div>
<div class="MsoNoSpacing">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3JSrETwSRrO8NEraTYO4ErkqJ7MvzANwNzgaOiS75ej7kIUDVRuRYr5TPIdqGbxUpGFvvBsqHvCYcNBo04s-z1U03EA8wZfGU2o5CP7kDCwltFtIQGo68EZK2vSRbid_47Mf93lGKN3g/s1600/APEX_14.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="869" data-original-width="1600" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3JSrETwSRrO8NEraTYO4ErkqJ7MvzANwNzgaOiS75ej7kIUDVRuRYr5TPIdqGbxUpGFvvBsqHvCYcNBo04s-z1U03EA8wZfGU2o5CP7kDCwltFtIQGo68EZK2vSRbid_47Mf93lGKN3g/s640/APEX_14.png" width="640" /></a></div>
<br />
<br /></div>
<div class="MsoNoSpacing">
If it’s working fine, enter Ctrl + C to kill the process.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #0000cf; font-weight: bold;">2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">32</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">10</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">991</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">oejs</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">AbstractConnector</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">Thread</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">4</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Stopped</span> <span style="color: black;">ServerConnector</span><span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: #0000cf; font-weight: bold;">28701274</span><span style="border: 1px solid #ef2929; color: #a40000;">{</span><span style="color: black;">HTTP</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">,[</span><span style="color: black;">http</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">1</span><span style="color: black; font-weight: bold;">,</span> <span style="color: black;">h2c</span><span style="color: black; font-weight: bold;">]</span><span style="border: 1px solid #ef2929; color: #a40000;">}{</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">8080</span><span style="border: 1px solid #ef2929; color: #a40000;">}</span>
<span style="color: #0000cf; font-weight: bold;">2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">32</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">10</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">992</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">oejs</span><span style="color: black; font-weight: bold;">.</span><span style="color: #204a87; font-weight: bold;">session</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">Thread</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">4</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">node0</span> <span style="color: black;">Stopped</span> <span style="color: black;">scavenging</span>
<span style="color: #0000cf; font-weight: bold;">2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">32</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">10</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">993</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">oejsh</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">ContextHandler</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">Thread</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">4</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Stopped</span> <span style="color: black;">o</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">e</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">j</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">s</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">h</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">ContextHandler</span><span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: #0000cf; font-weight: bold;">61</span><span style="color: black;">df66b6</span><span style="border: 1px solid #ef2929; color: #a40000;">{</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">i</span><span style="color: black; font-weight: bold;">,</span><span style="color: #204a87; font-weight: bold;">null</span><span style="color: black; font-weight: bold;">,</span><span style="color: black;">UNAVAILABLE</span><span style="border: 1px solid #ef2929; color: #a40000;">}</span>
<span style="color: #0000cf; font-weight: bold;">2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">32</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">005</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">INFO</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">oejsh</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">ContextHandler</span><span style="color: black; font-weight: bold;">:</span><span style="color: black;">Thread</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">4</span><span style="color: black; font-weight: bold;">:</span> <span style="color: black;">Stopped</span> <span style="color: black;">o</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">e</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">j</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">s</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">ServletContextHandler</span><span style="color: #ce5c00; font-weight: bold;">@</span><span style="color: #0000cf; font-weight: bold;">291</span><span style="color: black;">ae</span><span style="border: 1px solid #ef2929; color: #a40000;">{</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">ords</span><span style="color: black; font-weight: bold;">,</span><span style="color: #204a87; font-weight: bold;">null</span><span style="color: black; font-weight: bold;">,</span><span style="color: black;">UNAVAILABLE</span><span style="border: 1px solid #ef2929; color: #a40000;">}</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#21: Validate ORDS Installation<o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
You can validate/fix the current ORDS installation using
the validate option.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
java -jar ords.war validate<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
-- In case you have error when accessing
http://localhost:8080/ords, try to remove ords instalation, and install again <o:p></o:p></div>
<div class="MsoNoSpacing">
java -jar ords.war uninstall<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords</span><span style="color: #ce5c00; font-weight: bold;">></span><span style="color: black;">java</span> <span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: black;">jar</span> <span style="color: black;">ords</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">war</span> <span style="color: black;">validate</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: black;">name</span> <span style="color: #204a87; font-weight: bold;">of</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">server</span> <span style="color: black; font-weight: bold;">[</span><span style="color: black;">localhost</span><span style="color: black; font-weight: bold;">]:</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: #204a87; font-weight: bold;">listen</span> <span style="color: black;">port</span> <span style="color: black; font-weight: bold;">[</span><span style="color: #0000cf; font-weight: bold;">1522</span><span style="color: black; font-weight: bold;">]:</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">SID</span> <span style="color: black; font-weight: bold;">[</span><span style="color: black;">ORCL</span><span style="color: black; font-weight: bold;">]:</span>
<span style="color: black;">Requires</span> <span style="color: black;">SYS</span> <span style="color: #204a87; font-weight: bold;">AS</span> <span style="color: black;">SYSDBA</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: black;">verify</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">schema</span><span style="color: black; font-weight: bold;">.</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">SYS</span> <span style="color: #204a87; font-weight: bold;">AS</span> <span style="color: black;">SYSDBA</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Confirm</span> <span style="color: black;">password</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Passwords</span> <span style="color: #204a87; font-weight: bold;">do</span> <span style="color: #204a87; font-weight: bold;">not</span> <span style="color: #204a87; font-weight: bold;">match</span><span style="color: black; font-weight: bold;">,</span> <span style="color: black;">try</span> <span style="color: black;">again</span>
<span style="color: black;">Enter</span> <span style="color: black;">the</span> <span style="color: #204a87; font-weight: bold;">database</span> <span style="color: black;">password</span> <span style="color: #204a87; font-weight: bold;">for</span> <span style="color: black;">SYS</span> <span style="color: #204a87; font-weight: bold;">AS</span> <span style="color: black;">SYSDBA</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Confirm</span> <span style="color: black;">password</span><span style="color: black; font-weight: bold;">:</span>
<span style="color: black;">Retrieving</span> <span style="color: black;">information</span><span style="color: black; font-weight: bold;">.</span>
<span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: black;">will</span> <span style="color: black;">be</span> <span style="color: black;">validated</span><span style="color: black; font-weight: bold;">.</span>
<span style="color: black;">Validating</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">schema</span> <span style="color: #204a87; font-weight: bold;">version</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">3</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">r2701456</span>
<span style="color: black; font-weight: bold;">...</span> <span style="color: black;">Log</span> <span style="color: black;">file</span> <span style="color: black;">written</span> <span style="color: #204a87; font-weight: bold;">to</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Users</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">lkakarla</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords_validate_core_2018</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">11</span><span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: #0000cf; font-weight: bold;">27</span><span style="color: black;">_183320_00811</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">log</span>
<span style="color: black;">Completed</span> <span style="color: black;">validating</span> <span style="color: black;">Oracle</span> <span style="color: black;">REST</span> <span style="color: #204a87; font-weight: bold;">Data</span> <span style="color: black;">Services</span> <span style="color: #204a87; font-weight: bold;">version</span> <span style="color: #0000cf; font-weight: bold;">18</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">3</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">0</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">r2701456</span><span style="color: black; font-weight: bold;">.</span> <span style="color: black;">Elapsed</span> <span style="color: black;">time</span><span style="color: black; font-weight: bold;">:</span> <span style="color: #0000cf; font-weight: bold;">00</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">00</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">04</span><span style="color: black; font-weight: bold;">.</span><span style="color: #0000cf; font-weight: bold;">485</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#22: Install Tomcat </u></span></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u><o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Download Apache Tomcat from https://tomcat.apache.org/download-90.cgi</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Extract <b><u>apache-tomcat-9.0.13-windows-x64.zip</u></b> to a folder.</div>
<div class="MsoNoSpacing">
<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Modify Windows Environment Variables to add JAVA_HOME and
PATH via command line<br />
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">setx</span> <span style="color: black;">JAVA_HOME</span> <span style="color: #4e9a06;">"C:\Soft\JDK\jdk1.8.0_171"</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<u><span style="color: red;">Note:</span></u> When you change an environment variable by using the
Windows setx command, you must close and reopen the Command Prompt window for
the change to take effect.</div>
<div class="MsoNoSpacing">
<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">echo</span> <span style="color: #ce5c00; font-weight: bold;">%</span><span style="color: black;">JAVA_HOME</span><span style="color: #ce5c00; font-weight: bold;">%</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#23: Tomcat Deployment</u></span></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u><o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Create new directory named ‘i’ under Tomcat
"webapps" directory.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">tomcat9</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">webapps</span><span style="color: #ce5c00; font-weight: bold;">></span><span style="color: black;">mkdir</span> <span style="color: black;">i</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Copy the APEX images to ‘i’ directory the Tomcat
"webapps" directory.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">tomcat9</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">webapps</span><span style="color: #ce5c00; font-weight: bold;">></span><span style="color: black;">xcopy</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">apex</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">images</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">tomcat9</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">webapps</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">i</span> <span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">s</span> <span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">e</span> <span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">h</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Move the ords.war file into the webapps folder where
Apache Tomcat is installed.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: red;"><u>Note:</u></span> Apache Tomcat determines the context root from the file
name of a WAR archive. If you need to keep backward compatibility, so that URLs
are of the form http://server/apex/... rather than http://server/ords/..., then
you must rename ords.war to apex.war before moving it into to the webapps
folder.<o:p></o:p></div>
<div class="MsoNoSpacing">
<br /></div>
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">tomcat9</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">webapps</span><span style="color: #ce5c00; font-weight: bold;">></span><span style="color: #204a87; font-weight: bold;">copy</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">DB</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">TEMP</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">ords</span><span style="color: black; font-weight: bold;">.</span><span style="color: black;">war</span> <span style="color: #204a87; font-weight: bold;">C</span><span style="color: black; font-weight: bold;">:</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">Soft</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">tomcat9</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span><span style="color: black;">webapps</span><span style="border: 1px solid #ef2929; color: #a40000;">\</span>
</pre>
</div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u>Step#24: Test ORDS using Tomcat</u></span></div>
<div class="MsoNoSpacing">
<span style="color: #38761d;"><u><o:p></o:p></u></span></div>
<div class="MsoNoSpacing">
<br /></div>
<div class="MsoNoSpacing">
Go to bin folder under Tomcat setup and start command
line, and enter <span style="color: orange;"><b>startup</b></span> to start tomcat server.<o:p></o:p></div>
<div class="MsoNoSpacing">
<o:p><br /></o:p>
<br />
<o:p>$CATALINA_HOME/bin/startup.bat</o:p><br />
<o:p><br /></o:p>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-OoCcTnu-D3htBRT81acEfsCg4q-4H8rFcDEWSRWfkQFfIz-FDk4khPeMht-BFe0jFjdth-abbRynxqHjP-LHBdO_AuoolzVb4icquYvMwU2yxRkMUwZ46w64CdCSpeuxNplS_DcfDKs/s1600/APEX_15.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="873" data-original-width="1218" height="458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-OoCcTnu-D3htBRT81acEfsCg4q-4H8rFcDEWSRWfkQFfIz-FDk4khPeMht-BFe0jFjdth-abbRynxqHjP-LHBdO_AuoolzVb4icquYvMwU2yxRkMUwZ46w64CdCSpeuxNplS_DcfDKs/s640/APEX_15.png" width="640" /></a></div>
<br />
<o:p><br /></o:p></div>
<div class="MsoNoSpacing">
ORDS can be accessible using URL http://localhost:8080/ords/</div>
<div class="MsoNoSpacing">
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxaNosOCPwz11DYarLIFaZMrRxtptK-fBmJO_TR2J3KlgvLzj_XnRFPP5H1gNmR1321rK4qMsV7lXw7M58AwGEcUa0Vq7R_1AS60koeLTE0o-g2hqSasnV4bjHPrJgQimDrW6ZjbG56A/s1600/APEX_18.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="869" data-original-width="1600" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcxaNosOCPwz11DYarLIFaZMrRxtptK-fBmJO_TR2J3KlgvLzj_XnRFPP5H1gNmR1321rK4qMsV7lXw7M58AwGEcUa0Vq7R_1AS60koeLTE0o-g2hqSasnV4bjHPrJgQimDrW6ZjbG56A/s640/APEX_18.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV1BDeFLPIVbiIBA858VQQvHO1S9KZ43b6YSKNPMjk1q4-5BcwnYZXupK4rqQNBH4AfkIK3paoZjrQ7Di67l9VYv91rDvz2HXHWJaFvy8kXcyIklVutQmpkqrI3sNApzx50p65QOldj-g/s1600/APEX_19.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="869" data-original-width="1600" height="346" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgV1BDeFLPIVbiIBA858VQQvHO1S9KZ43b6YSKNPMjk1q4-5BcwnYZXupK4rqQNBH4AfkIK3paoZjrQ7Di67l9VYv91rDvz2HXHWJaFvy8kXcyIklVutQmpkqrI3sNApzx50p65QOldj-g/s640/APEX_19.png" width="640" /></a></div>
<br />
<br /></div>
<div class="MsoNoSpacing">
Enter <b><span style="color: orange;">shutdown</span></b> on command line to shutdown tomcat server.<br />
<br />
$CATALINA_HOME/bin/shtudown.bat<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpWvEBEjrIJdINZOBNjhJH-P6O5wkldeaZD98SIY7Jy1xmAyC3yiVKHglNkYo0bYWWdJ_pBZmiyOEODrlN_yehyW9U52xYJVOX7vg8tcjV6G5NcPAPWO2YFKf81DORkx_bhameig1G2nU/s1600/APEX_17.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="339" data-original-width="881" height="246" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpWvEBEjrIJdINZOBNjhJH-P6O5wkldeaZD98SIY7Jy1xmAyC3yiVKHglNkYo0bYWWdJ_pBZmiyOEODrlN_yehyW9U52xYJVOX7vg8tcjV6G5NcPAPWO2YFKf81DORkx_bhameig1G2nU/s640/APEX_17.png" width="640" /></a></div>
<br />
<b><span style="color: red;">Additional Notes About Users:</span></b><br />
<b><br /></b>
<span style="color: #38761d;">APEX_180200</span>:<br />
The account that owns the Oracle Application Express schema and metadata.<br />
<br />
<span style="color: #38761d;">FLOWS_FILES:</span><br />
The account that owns the Oracle Application Express uploaded files.<br />
<br />
<span style="color: #38761d;">APEX_PUBLIC_USER</span>:<br />
The minimally privileged account is used for Oracle Application Express configuration with Oracle REST Data Services or Oracle HTTP Server and mod_plsql. If Oracle REST Data Services are configured with Oracle Application Express, this is the database user used when invoking PL/SQL Gateway operations, for example, all Oracle Application Express operations.<br />
<br />
<span style="color: #38761d;">APEX_REST_PUBLIC_USER:</span><br />
The account used when invoking RESTful Services definitions stored in Oracle Application Express. It's created when RESTful Web services are configured.<br />
<br />
<span style="color: #38761d;">APEX_LISTENER</span>:<br />
The account used to query RESTful Services definitions stored in Oracle Application Express. It's created when RESTful Web services are configured.<br />
<br />
<span style="color: #38761d;">APEX_INSTANCE_ADMIN_USER</span>:<br />
APEX_INSTANCE_ADMIN_USER was added in 5.1 to To provide the REST administration interface. This schema is low-privileged. It only has the CREATE SESSION system privilege. The service modules for the REST administration interface are being stored in the APEX_INSTANCE_ADMIN_USER schema. Oracle does not require or recommend direct log ins into APEX_INSTANCE_PUBLIC_USER.<br />
<br />
<span style="color: #38761d;">ORDS_PUBLIC_USER</span>:<br />
ORDS_PUBLIC_USER is the database user that’s used to create ORDS connection pool(s) and invoke RESTful Services in the Oracle REST Data Services-enabled schemas. The ORDS_PUBLIC_USER user is created during the first run of the ORDS installer. When RESTful Services published under ABC user on database XYZ, then ORDS resolves the call to the proper jdbc connection pool, then proxy connects from ORDS_PUBLIC_USER to user ABC, and runs the SQL or PL/SQL.<br />
<div>
<br /></div>
<br /></div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com4tag:blogger.com,1999:blog-1141464897799641728.post-17435171997839734022018-12-01T07:42:00.001+05:302018-12-01T07:42:23.211+05:30WLS:: JPS-01050: Opening of Wallet Based Credential Store Failed<div dir="ltr" style="text-align: left;" trbidi="on">
Recently, I was not able start weblogic managed server and noticed below error server logs.<br />
<br />
<b><u><span style="color: red;">Error:</span></u></b><br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">oracle.security.jps.JpsException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException</span>
<span style="color: #888888;"> at oracle.security.jps.internal.config.OpssCommonStartup.preStart(OpssCommonStartup.java:373)</span>
<span style="color: #888888;"> at oracle.security.jps.JpsStartup.preStart(JpsStartup.java:276)</span>
<span style="color: #888888;"> at oracle.security.jps.wls.JpsBootStrapService.start(JpsBootStrapService.java:80)</span>
<span style="color: #888888;"> ... 18 more </span>
<span style="color: #888888;">Caused by: oracle.security.jps.service.credstore.CredStoreException: JPS-01050: Opening of wallet based credential store failed. Reason java.io.IOException</span>
<span style="color: #888888;"> at oracle.security.jps.internal.credstore.ssp.CsfWalletManager.openWallet(CsfWalletManager.java:187)</span>
<span style="color: #888888;"> at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.doInit(SspCredentialStore.java:312)</span>
<span style="color: #888888;"> at oracle.security.jps.internal.credstore.ssp.SspCredentialStore.start(SspCredentialStore.java:1530)</span>
<span style="color: #888888;"> at oracle.security.opss.internal.runtime.ServiceContextImpl.start(ServiceContextImpl.java:220)</span>
<span style="color: #888888;"> ... 22 more</span>
<span style="color: #888888;">Caused by: java.io.IOException</span>
<span style="color: #888888;"> at oracle.security.pki.OracleWallet.open(Unknown Source)</span>
<span style="color: #888888;"> ... 32 more</span>
<span style="color: #888888;">Caused by: java.lang.ExceptionInInitializerError</span>
<span style="color: #888888;"> at oracle.security.pki.OracleFileSSOWalletImpl.a(Unknown Source)</span>
<span style="color: #888888;"> ... 33 more</span>
<span style="color: #888888;">Caused by: java.lang.RuntimeException: java.io.IOException: Permission denied</span>
<span style="color: #888888;"> at oracle.security.pki.FileLocker.<clinit>(Unknown Source)</span>
<span style="color: #888888;"> ... 34 more</span>
<span style="color: #888888;">Caused by: java.io.IOException: Permission denied</span>
<span style="color: #888888;"> at java.io.UnixFileSystem.createFileExclusively(Native Method)</span>
<span style="color: #888888;"> at java.io.File.createTempFile(File.java:2024)</span>
<span style="color: #888888;"> at java.io.File.createTempFile(File.java:2070)</span>
<span style="color: #888888;"> ... 35 more</span>
</pre>
</div>
<br />
<br />
<b><u><span style="color: orange;">Cause:</span></u></b><br />
<br />
When we checked the cwallet.sso file permissions, it is there with proper access rights.<br />
<br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="border: 1px solid #ef2929; color: #a40000;">$</span> <span style="color: black;">cd</span> <span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">oracle</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">shared</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">config</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">domains</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">adf_domain</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">config</span><span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">fmwconfig</span>
<span style="border: 1px solid #ef2929; color: #a40000;">$</span> <span style="color: black;">ls</span> <span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: black;">l</span> <span style="color: black;">cwallet</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: black;">sso</span>
<span style="color: #ce5c00; font-weight: bold;">-</span><span style="color: black;">rw</span><span style="border: 1px solid #ef2929; color: #a40000;">——</span><span style="color: #ce5c00; font-weight: bold;">-</span> <span style="color: #0000cf; font-weight: bold;">1</span> <span style="color: black;">oracle</span> <span style="color: black;">oracle</span> <span style="color: #0000cf; font-weight: bold;">194</span> <span style="color: black;">Jun</span> <span style="color: #0000cf; font-weight: bold;">25</span> <span style="color: #0000cf; font-weight: bold;">14</span><span style="color: black; font-weight: bold;">:</span><span style="color: #0000cf; font-weight: bold;">52</span> <span style="color: black;">cwallet</span><span style="color: #ce5c00; font-weight: bold;">.</span><span style="color: black;">sso</span>
</pre>
</div>
<div>
<br /></div>
<div>
<div>
Further analysis identified that, Weblogic was trying to access default /tmp directory and permissions were not granted to Weblogic installation user.</div>
</div>
<div>
<br /></div>
<span style="color: lime;"><b><u>Fix:</u></b></span><br />
<br />
We can resolve the issue in couple of ways: Refer <a href="https://support.oracle.com/epmos/faces/DocContentDisplay?id=1336002.1">1336002.1</a> and <a href="https://support.oracle.com/epmos/faces/DocContentDisplay?id=1923395.1">1923395.1</a><br />
<br />
1. Create a custom temp folder inside domain home directory and update setDomainEnv.sh script to use the custom temp folder.<br />
<br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #8f5902; font-style: italic;">## CUSTOM TEMP FOLDER PATH ##</span>
<span style="color: black;">EXTRA_JAVA_PROPERTIES</span><span style="color: #ce5c00; font-weight: bold;">=</span><span style="color: #4e9a06;">"${EXTRA_JAVA_PROPERTIES} -Djava.io.tmpdir=${DOMAIN_HOME}/tmp"</span>
<span style="color: black;">export</span> <span style="color: black;">EXTRA_JAVA_PROPERTIES</span>
<span style="color: #8f5902; font-style: italic;">## CUSTOM TEMP FOLDER PATH ##</span>
</pre>
</div>
<br />
2. Make sure the owner and group access are the same as for the FMW installation to default /tmp directory<br />
<br />
<div style="background: #f8f8f8; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">#Run either of below 3 commands to set permissions to /tmp directory</span></pre>
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">sudo</span> <span style="color: black;">chmod</span> <span style="color: black;">o</span><span style="color: #ce5c00; font-weight: bold;">+</span><span style="color: black;">rwx</span> <span style="color: #ce5c00; font-weight: bold;">/</span><span style="color: black;">tmp</span>
</pre>
<pre style="line-height: 125%; margin: 0;">sudo chmod 1777 /tmp</pre>
<pre style="line-height: 125%; margin: 0;"><span style="color: black;">sudo chmod a=rwx,o+t /tmp
cd /tmp
stat -c '%A %a %n' .</span></pre>
</div>
<div>
<br /></div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-83000267846559216692018-12-01T07:41:00.000+05:302018-12-01T07:42:32.981+05:30DB:: ORA-00210: Cannot Open the Specified Control File<div dir="ltr" style="text-align: left;" trbidi="on">
Recently I had an issue, while starting Oracle database post database instance/host machine failure.<br />
<br />
<b><u><span style="color: red;">Error:</span></u></b><br />
<br />
ORA-00210: cannot open the specified control file<br />
ORA-00202: control file: '/oracle/data/ora01/app/oracle/oradata/ORA12C/control01.ctl'<br />
ORA-27086: unable to lock file - already in use<br />
Linux-x86_64 Error: 11: Resource temporarily unavailable<br />
<br />
<b><u><span style="color: orange;">Cause:</span></u></b><br />
<br />
Typically it happens with NFS mounts. In my case, it happened as VM rebooted without shutting down the database properly. As database was not brought down properly, the file descriptor(s) are left open on the storage side, causing this error. To verify the issue, check the type of file system where control file resides.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">$mount | grep oracle</span>
</pre>
</div>
<br />
<b><u><span style="color: lime;">Fix:</span></u></b><br />
<br />
We can resolve this issue in two ways.<br />
<br />
1. <span style="background-color: white; font-family: inherit;">System/Storage Administrator has to r</span>elease/clear the lock on files (Refer <a href="https://support.oracle.com/epmos/faces/DocContentDisplay?id=145194.1" target="_blank">145194.1</a>)<br />
<br />
2. Rename the existing file and create a copy to create a new file descriptor at storage side. And it will allow database to start.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">mv /oracle/data/ora01/app/oracle/oradata/ORA12C/control01.ctl /oracle/data/ora01/app/oracle/oradata/ORA12C/control01.ctl.orig</span>
<span style="color: #888888;">cp /oracle/data/ora01/app/oracle/oradata/ORA12C/control01.ctl.orig /oracle/data/ora01/app/oracle/oradata/ORA12C/control01.ctl</span>
</pre>
</div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-83465963300544311552018-11-06T16:27:00.004+05:302018-11-06T16:32:31.424+05:30Python:: Installation on Ubuntu<div dir="ltr" style="text-align: left;" trbidi="on">
Recently I had a requirement to install python in linux VM running on <b>Ubuntu 18.04</b>. Here is the list of steps, I followed to set it up.<br />
<br />
<b>1. Download the source code of an official Python release.</b><br />
<br />
Download the "Gzipped source tarball" using the <b>wget </b>command. If <b>wget </b>is not installed, install it using OS package manager.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">sudo yum install wget</span>
<span style="color: #888888;">wget https://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz</span>
</pre>
</div>
<div>
<br /></div>
<div>
<div>
<div>
Once the file is downloaded, unpack it using the <b>tar </b>command. </div>
</div>
<div>
<br /></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">tar zxvf Python-2.6.6.tgz</span>
</pre>
</div>
<div>
<br /></div>
<div>
<div>
<div>
<b>zxvf </b>--> "unzip/extract verbosely from a file"</div>
</div>
</div>
<div>
<br /></div>
<div>
<div>
Switch to unzipped directory </div>
</div>
<div>
<br /></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">cd Python-2.6.6</span>
</pre>
</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<b>2. Configure the build appropriately for our machine.</b><br />
<br />
If .<b>/configure</b> and/or <b>make </b>commands used with the default settings, then use "<b>make clean" </b>to wipe out any work it did and start again.<br />
<div>
<br /></div>
<div>
<b>./configure</b> produces is another large, automatically generated script called <b>Makefile</b>. The <b>Makefile </b>contains instructions on how to achive various tasks like "<b>build</b>" or "<b>make the executable called python</b>" or "<b>run the test suite</b>". The <b>Makefile </b>script is executed with the <b>make </b>command. We can run make to execute the default task (i.e. the first one in the file) or, e.g., <b>make test </b>to run the "<b>test</b>" task.</div>
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">./configure</span>
</pre>
</div>
<br />
<div>
If we need to install multiple versions side-by-side and point new installation to somewhere else, then run the <b>./configure</b> command with --prefix argument. It's also useful, if we don't have root privilege to use <b>sudo </b>command.</div>
<div>
<br /></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">./configure --prefix=/usr/local/lib/Python-2.6.6</span>
</pre>
</div>
<br />
To make Python code execution faster, use optimization. It will take long time to configure, but the resulting python binary interpreter is 10% faster at executing Python code.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">./configure --enable-optimizations</span>
</pre>
</div>
<br />
<br />
<b>3. Compile the software.</b><br />
<br />
The default task for Python, like most packages, is to compile the software so running. So run <b>make </b>to execute the default task<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">make</span>
</pre>
</div>
<br />
<br />
<b>4. Test the software to make sure it works properly.</b><br />
<br />
Run the test suite to make sure that it all works as expected. The tests can take a long time to run so we can skip this step, if needed.<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">make test</span>
</pre>
</div>
<div>
<br /></div>
<br />
<b>5. Install the software.</b><br />
<br />
Once it’s built, then install the software. <b>make install</b> convention will install under the <b>/usr/local/</b> directory by default: they’ll put their executables in<b> /usr/local/bin/</b>, data files in <b>/usr/local/share/</b>, etc. The <b>/usr/local/</b> directory is properly considered part of the operating system<br />
<div>
<div>
<br /></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">sudo make install</span>
</pre>
</div>
<div>
<br /></div>
<div>
This will create the directories and copy the compiled files into place </div>
</div>
<div>
<br /></div>
<div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">sudo make altinstall</span>
</pre>
</div>
<div>
<br /></div>
<div>
We use the <b>altinstall </b>target here in order to not overwrite the system’s version of Python. Please only use the <b>altinstall </b>target on make. Using the <b>install </b>target will overwrite the python binary. While this seems like it would be cool, there are big portions of the system that rely on the pre-installed version of Python.</div>
</div>
<div>
<br /></div>
<br />
<b>6. Configure system to make sure the software can be used easily.</b><br />
<br />
Create symbloic link for python binary into <b>/usr/bin</b> or <b>/usr/local/bin/</b> as python2.6<br />
<div>
<br /></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">sudo ln -fs /usr/local/lib/Python-2.6.6/Python /usr/bin/python2.6</span>
<span style="color: #888888;">or</span>
<span style="color: #888888;">sudo ln -fs /usr/local/lib/Python-2.6.6/Python /usr/local/bin/python2.6</span>
</pre>
</div>
<br />
We can also at add the directory to user $PATH rather than using symbolic links.<br />
<div>
<br /></div>
If we want to use the new install in just this shell session we can change $PATH temporarily. The $PATH variable contains a : separated list of directories to search for an executable when we run a command in the shell. The first executable file with the right name is the one that will be executed. The which command can do this search and tell which file will be executed or even give a list of all the options:<br />
<div>
<div>
<br /></div>
<div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">PATH="/usr/local/lib/Python-2.6.6/Python/bin:$PATH"</span>
<span style="color: #888888;">export PATH</span>
</pre>
</div>
</div>
<div>
<br /></div>
<div>
To make this change permanent we need to change user shell configuration files. The name of these configuration files and whether or not they already exist can change from system to system but they are always in user $HOME directory and are called one or more of the following:</div>
<div>
<br /></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">.bashrc</span>
<span style="color: #888888;">.bash_rc</span>
<span style="color: #888888;">.bash_profile</span>
<span style="color: #888888;">.profile</span>
</pre>
</div>
<div>
<br /></div>
<div>
If any of those files already exist in user $HOME directory (files beginning with a . are considered "hidden" by most UNIX tools, we'll need to use ls -a instead of ls to see them) then we should edit that file. If not, <b>.profile</b> is probably a safe bet.</div>
</div>
<div>
<br /></div>
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-45893519090303679252018-11-06T14:48:00.001+05:302018-11-06T16:32:27.601+05:30Ubuntu:: Unable to lock the administration directory (/var/lib/dpkg/)<div dir="ltr" style="text-align: left;" trbidi="on">
I encountered an error, when I tried to use apt-get command in Ubuntu Linux command line.<br />
<br />
<b><span style="color: red;"><u>Error:</u></span></b><br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<span style="color: red;">E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)</span><br />
<span style="color: red;">E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?</span><br />
<span style="color: red;"><br /></span>
<div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihEdJdzJKLTAZvFKYRnkEZtR35sAT5cepMvS2VduHo7KioHget3N1c_JX7lUBtTvcYvARFlU2lORJ1xzJs_Xh7OiISWbvzXqn4GG2K6oRyDk0vjxG_MhHUwCQWOJhY_Eer_gjH82iysdM/s1600/Blog1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="78" data-original-width="862" height="56" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihEdJdzJKLTAZvFKYRnkEZtR35sAT5cepMvS2VduHo7KioHget3N1c_JX7lUBtTvcYvARFlU2lORJ1xzJs_Xh7OiISWbvzXqn4GG2K6oRyDk0vjxG_MhHUwCQWOJhY_Eer_gjH82iysdM/s640/Blog1.png" width="640" /></a></div>
<br />
<div>
<b><span style="color: blue;"><u>Cause:</u></span></b></div>
<div>
<div>
This error may be caused by the "Update Manager" trying to automatically refresh the list of packages in background, usually right after login, thus locking the directory.</div>
<div>
<br /></div>
<div>
In this case just wait few seconds (or more, if last update was long ago) for it to complete or launch Update Manager to check the status.</div>
<div>
<br /></div>
<div>
And check if 'Update Manager' running. If the error appears even though 'Update Manager' is not running, then remove stale apt lock file manually from "/var/lib/dgkg/lock" and force package reconfiguration.</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<b><span style="color: lime;"><u>Fix:</u></span></b></div>
<div>
Remove the apt lock file in the /var/lib/dpkg/ directory:</div>
<div>
<br /></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">sudo rm /var/lib/dpkg/lock</span>
</pre>
</div>
<div>
<br /></div>
<div>
Force package(s) to reconfiguration:</div>
<div>
<br /></div>
<div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">sudo dpkg --configure -a</span>
</pre>
</div>
</div>
<div>
<br /></div>
<div>
Alternatively, delete the lock files in the /var/lib/apt/lists/ and cache directory as below:</div>
<div>
<br /></div>
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">sudo rm /var/lib/apt/lists/lock</span>
<span style="color: #888888;">sudo rm /var/cache/apt/archives/lock</span>
</pre>
</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJkhfeTGj8T0-f6KVb13WOUYZu9sdgZUsRe-HdK7bEkVJk4gRkg9yA2GBvLU0hIYzUEmlwtKxQhCT21Nt1-H5ASThbKRCwW5Lhyphenhypheneq8w7Sjy4DVfgL2CkQ0I_8yvV0tloJ1FzaBMGkjNnk/s1600/Blog4.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="105" data-original-width="533" height="124" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJkhfeTGj8T0-f6KVb13WOUYZu9sdgZUsRe-HdK7bEkVJk4gRkg9yA2GBvLU0hIYzUEmlwtKxQhCT21Nt1-H5ASThbKRCwW5Lhyphenhypheneq8w7Sjy4DVfgL2CkQ0I_8yvV0tloJ1FzaBMGkjNnk/s640/Blog4.png" width="640" /></a></div>
<div>
<br /></div>
<div>
Now apt update command will work without any issues.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt_q6ezhDljfGQpzUIXzDvDBgQuMC4njxCUcMWZpo-e5KeG7LbEoSmUTIA1M086DQpAvXgpN8aa-M5BmgBw2b6hLRmTCXII32s110LH1nvorYOnHymPTAwk8VyJPIKNNBWRXHrc9FxDHE/s1600/Blog3.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="454" data-original-width="1055" height="273" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjt_q6ezhDljfGQpzUIXzDvDBgQuMC4njxCUcMWZpo-e5KeG7LbEoSmUTIA1M086DQpAvXgpN8aa-M5BmgBw2b6hLRmTCXII32s110LH1nvorYOnHymPTAwk8VyJPIKNNBWRXHrc9FxDHE/s640/Blog3.png" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-37488838050712055442018-09-01T11:21:00.001+05:302018-09-01T11:21:40.289+05:30Python:: Simple Module to Maintain JSON Content<div dir="ltr" style="text-align: left;" trbidi="on">
Recently I had a requirement to maintain details in a file dynamically and retrieve the data as on needed. I chosen to maintain data in JSON file and created following <b>Python </b>class module to manage it efficiently.<br />
<br />
<b>Class Module:</b><br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">#!/usr/bin/env python</span>
<span style="color: #008800; font-weight: bold;">import</span> <span style="color: #0e84b5; font-weight: bold;">os</span>
<span style="color: #008800; font-weight: bold;">import</span> <span style="color: #0e84b5; font-weight: bold;">json</span>
<span style="color: #008800; font-weight: bold;">class</span> <span style="color: #bb0066; font-weight: bold;">jsondb</span>(<span style="color: #007020;">object</span>):
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">__init__</span>(<span style="color: #007020;">self</span>, location):
<span style="color: #007020;">self</span><span style="color: #333333;">.</span>load(location)
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">load</span>(<span style="color: #007020;">self</span>, location):
<span style="color: #dd4422;">'''Loads JSON file content.'''</span>
location <span style="color: #333333;">=</span> os<span style="color: #333333;">.</span>path<span style="color: #333333;">.</span>expanduser(location)
<span style="color: #007020;">self</span><span style="color: #333333;">.</span>location <span style="color: #333333;">=</span> location
<span style="color: #008800; font-weight: bold;">if</span> os<span style="color: #333333;">.</span>path<span style="color: #333333;">.</span>exists(location):
<span style="color: #007020;">self</span><span style="color: #333333;">.</span>_loadjson()
<span style="color: #008800; font-weight: bold;">else</span>:
<span style="color: #007020;">self</span><span style="color: #333333;">.</span>json <span style="color: #333333;">=</span> {}
<span style="color: #008800; font-weight: bold;">return</span> <span style="color: #007020;">True</span>
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">set</span>(<span style="color: #007020;">self</span>, key, value):
<span style="color: #dd4422;">'''Set the value of a key'''</span>
<span style="color: #007020;">self</span><span style="color: #333333;">.</span>json[key] <span style="color: #333333;">=</span> value
<span style="color: #007020;">self</span><span style="color: #333333;">.</span>_dumpjson()
<span style="color: #008800; font-weight: bold;">return</span> <span style="color: #007020;">True</span>
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">get</span>(<span style="color: #007020;">self</span>, key):
<span style="color: #dd4422;">'''Get the value of a key'''</span>
<span style="color: #008800; font-weight: bold;">try</span>:
<span style="color: #008800; font-weight: bold;">return</span> <span style="color: #007020;">self</span><span style="color: #333333;">.</span>json[key]
<span style="color: #008800; font-weight: bold;">except</span> <span style="color: red; font-weight: bold;">KeyError</span>:
<span style="color: #008800; font-weight: bold;">return</span> <span style="color: #007020;">None</span>
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">remove</span>(<span style="color: #007020;">self</span>, key):
<span style="color: #dd4422;">'''Delete a key'''</span>
<span style="color: #008800; font-weight: bold;">del</span> <span style="color: #007020;">self</span><span style="color: #333333;">.</span>json[key]
<span style="color: #007020;">self</span><span style="color: #333333;">.</span>_dumpjson()
<span style="color: #008800; font-weight: bold;">return</span> <span style="color: #007020;">True</span>
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">getall</span>(<span style="color: #007020;">self</span>):
<span style="color: #dd4422;">'''Return a list of all keys in JSON file'''</span>
<span style="color: #008800; font-weight: bold;">return</span> <span style="color: #007020;">self</span><span style="color: #333333;">.</span>json<span style="color: #333333;">.</span>keys()
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">_loadjson</span>(<span style="color: #007020;">self</span>):
<span style="color: #dd4422;">'''Load the JSON info from the file'''</span>
<span style="color: #007020;">self</span><span style="color: #333333;">.</span>json <span style="color: #333333;">=</span> json<span style="color: #333333;">.</span>load(<span style="color: #007020;">open</span>(<span style="color: #007020;">self</span><span style="color: #333333;">.</span>location, <span style="background-color: #fff0f0;">'rb'</span>))
<span style="color: #008800; font-weight: bold;">def</span> <span style="color: #0066bb; font-weight: bold;">_dumpjson</span>(<span style="color: #007020;">self</span>):
<span style="color: #dd4422;">'''Save the JSON dump into the file'''</span>
json<span style="color: #333333;">.</span>dump(<span style="color: #007020;">self</span><span style="color: #333333;">.</span>json, <span style="color: #007020;">open</span>(<span style="color: #007020;">self</span><span style="color: #333333;">.</span>location, <span style="background-color: #fff0f0;">'wt'</span>),sort_keys<span style="color: #333333;">=</span><span style="color: #007020;">True</span>, indent<span style="color: #333333;">=</span><span style="color: #0000dd; font-weight: bold;">4</span>)
</pre>
</div>
<br />
<br />
<b>Usage:</b><br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #888888;">#Import module</span>
<span style="color: #008800; font-weight: bold;">from</span> <span style="color: #0e84b5; font-weight: bold;">jsonModule</span> <span style="color: #008800; font-weight: bold;">import</span> jsondb
<span style="color: #888888;">#Load JSON Repository</span>
jsondb<span style="color: #333333;">=</span> jsondb(<span style="background-color: #fff0f0;">"sample.json"</span>);
<span style="color: #888888;">#Set Value</span>
jsondb<span style="color: #333333;">.</span>set(<span style="background-color: #fff0f0;">'key'</span>, <span style="background-color: #fff0f0;">'value'</span>)
<span style="color: #888888;">#Get Value</span>
jsondb<span style="color: #333333;">.</span>get(<span style="background-color: #fff0f0;">'key'</span>)
<span style="color: #888888;">#Get All Keys</span>
jsondb<span style="color: #333333;">.</span>getall()
<span style="color: #888888;">#Remove Key</span>
jsondb<span style="color: #333333;">.</span>remove(<span style="background-color: #fff0f0;">'key'</span>)
</pre>
</div>
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-27782821536354792042018-08-27T06:24:00.000+05:302018-08-27T06:32:37.079+05:30DB:: Test Remote DB Connectivity Using Java Client<div dir="ltr" style="text-align: left;" trbidi="on">
Following steps will help you to test connectivity to remote database system using simple Java client.<br />
<br />
1. Create a Java file named '<b>Test.java</b>' and copy below content (<i><span style="color: red;">Update remote database details as applicable</span></i>).<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><span style="color: #008800; font-weight: bold;">import</span> <span style="color: #0e84b5; font-weight: bold;">java.sql.Connection</span><span style="color: #333333;">;</span>
<span style="color: #008800; font-weight: bold;">import</span> <span style="color: #0e84b5; font-weight: bold;">java.sql.DriverManager</span><span style="color: #333333;">;</span>
<span style="color: #008800; font-weight: bold;">import</span> <span style="color: #0e84b5; font-weight: bold;">java.sql.SQLException</span><span style="color: #333333;">;</span>
<span style="color: #008800; font-weight: bold;">public</span> <span style="color: #008800; font-weight: bold;">class</span> <span style="color: #bb0066; font-weight: bold;">Test</span> <span style="color: #333333;">{</span>
<span style="color: #008800; font-weight: bold;">public</span> <span style="color: #008800; font-weight: bold;">static</span> <span style="color: #333399; font-weight: bold;">void</span> <span style="color: #0066bb; font-weight: bold;">main</span> <span style="color: #333333;">(</span>String<span style="color: #333333;">[]</span> args<span style="color: #333333;">)</span> <span style="color: #008800; font-weight: bold;">throws</span> java<span style="color: #333333;">.</span><span style="color: #0000cc;">lang</span><span style="color: #333333;">.</span><span style="color: #0000cc;">Exception</span> <span style="color: #333333;">{</span>
String DB_URL <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"jdbc:oracle:thin:@//lkakarla.com:1521/XE"</span><span style="color: #333333;">;</span>
String USER <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"SYS AS SYSDBA"</span><span style="color: #333333;">;</span>
String PASS <span style="color: #333333;">=</span> <span style="background-color: #fff0f0;">"xxxxxxx"</span><span style="color: #333333;">;</span>
Connection conn <span style="color: #333333;">=</span> <span style="color: #008800; font-weight: bold;">null</span><span style="color: #333333;">;</span>
<span style="color: #008800; font-weight: bold;">try</span> <span style="color: #333333;">{</span>
System<span style="color: #333333;">.</span><span style="color: #0000cc;">out</span><span style="color: #333333;">.</span><span style="color: #0000cc;">println</span><span style="color: #333333;">(</span><span style="background-color: #fff0f0;">"Connecting to database..."</span><span style="color: #333333;">);</span>
conn <span style="color: #333333;">=</span> DriverManager<span style="color: #333333;">.</span><span style="color: #0000cc;">getConnection</span><span style="color: #333333;">(</span>DB_URL<span style="color: #333333;">,</span>USER<span style="color: #333333;">,</span>PASS<span style="color: #333333;">);</span>
<span style="color: #008800; font-weight: bold;">if</span> <span style="color: #333333;">(</span>conn <span style="color: #333333;">!=</span> <span style="color: #008800; font-weight: bold;">null</span><span style="color: #333333;">)</span> <span style="color: #333333;">{</span>
System<span style="color: #333333;">.</span><span style="color: #0000cc;">out</span><span style="color: #333333;">.</span><span style="color: #0000cc;">println</span><span style="color: #333333;">(</span><span style="background-color: #fff0f0;">"Connected to Database!"</span><span style="color: #333333;">);</span>
<span style="color: #333333;">}</span>
<span style="color: #333333;">}</span> <span style="color: #008800; font-weight: bold;">catch</span> <span style="color: #333333;">(</span>Exception e<span style="color: #333333;">)</span> <span style="color: #333333;">{</span>
e<span style="color: #333333;">.</span><span style="color: #0000cc;">printStackTrace</span><span style="color: #333333;">();</span>
<span style="color: #333333;">}</span> <span style="color: #008800; font-weight: bold;">finally</span> <span style="color: #333333;">{</span>
<span style="color: #008800; font-weight: bold;">if</span> <span style="color: #333333;">(</span>conn <span style="color: #333333;">!=</span> <span style="color: #008800; font-weight: bold;">null</span><span style="color: #333333;">)</span> <span style="color: #333333;">{</span>
<span style="color: #008800; font-weight: bold;">try</span> <span style="color: #333333;">{</span>
conn<span style="color: #333333;">.</span><span style="color: #0000cc;">close</span><span style="color: #333333;">();</span>
<span style="color: #333333;">}</span> <span style="color: #008800; font-weight: bold;">catch</span> <span style="color: #333333;">(</span>SQLException e<span style="color: #333333;">)</span> <span style="color: #333333;">{</span>
<span style="color: #888888;">// ignore</span>
<span style="color: #333333;">}</span>
<span style="color: #333333;">}</span>
<span style="color: #333333;">}</span>
<span style="color: #333333;">}</span>
<span style="color: #333333;">}</span>
</pre>
</div>
<br />
2. Download the latest JDBC driver file from Oracle site and copy it to the same directory, where Java client code is located.<br />
<br />
3. Compile and Run Java class. (Include JDBC driver in classpath).<br />
<br />
<div style="background: #ffffff; border-width: 0.1em 0.1em 0.1em 0.8em; border: solid gray; overflow: auto; padding: 0.2em 0.6em; width: auto;">
<pre style="line-height: 125%; margin: 0;"><b>Compile: </b>javac <span style="color: #333333;">-</span>cp ojdbc7<span style="color: #333333;">.</span><span style="color: #0000cc;">jar</span><span style="color: #333333;">:.</span> Test<span style="color: #333333;">.</span><span style="color: #0000cc;">java</span>
<b>Run: </b>java <span style="color: #333333;">-</span>cp ojdbc7<span style="color: #333333;">.</span><span style="color: #0000cc;">jar</span><span style="color: #333333;">:.</span> Test
</pre>
</div>
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-74617267674276589162018-07-01T22:19:00.000+05:302018-07-01T22:20:02.401+05:30DB:: Encryption using DBMS_CRYPTO package<div dir="ltr" style="text-align: left;" trbidi="on">
Recently I had a requirement to store and retrieve confidential data from Oracle database in a secure manner. So I used DBMS_CRYPTO package to achieve the same.<br />
<br />
<b><span style="color: blue;">Pre-Requisites:</span></b><br />
Initially, we need to make sure the user has privileges to execute DBMS_CRYPTO package.<br />
<br />
If not, execute following command as SYS user to grant access to respective application user.<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace;">GRANT EXECUTE ON sys.dbms_crypto TO <APP_USER_ID>;</span><br />
<br />
Followed by that, I created a PLSQL package to use encrypt and decrypt text.<br />
<br />
<br />
<b><span style="color: blue;">Package:</span></b><br />
Here I used combination of 3 cipher suites(AES256/CBC/PKCS5) and random 32 bit key for encryption.<br />
<br />
<pre style="background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: "arial"; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> CREATE OR REPLACE PACKAGE "ENC_DEC_PKG" IS
l_enc_type PLS_INTEGER := dbms_crypto.encrypt_aes256
+ dbms_crypto.chain_cbc
+ dbms_crypto.pad_pkcs5;
l_key RAW(128) := dbms_crypto.randombytes(32);
l_decrypted_raw RAW(2048);
/*
* Encrypt
*/
PROCEDURE encrypt_txt(
p_plain_text IN VARCHAR2,
p_enc_text OUT RAW,
p_secret_key OUT RAW
);
/*
* Decrypt
*/
FUNCTION decrypt_txt(
p_enc_text IN RAW,
p_secret_key IN RAW
) RETURN VARCHAR2;
END ENC_DEC_PKG;
</code></pre>
<br />
<b style="color: blue;">Package Body:</b><br />
<br />
<pre style="background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: "arial"; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> CREATE OR REPLACE PACKAGE BODY ENC_DEC_PKG AS
PROCEDURE encrypt_txt(
p_plain_text IN VARCHAR2,
p_enc_text OUT RAW,
p_secret_key OUT RAW
) IS
BEGIN
p_secret_key := l_key;
p_enc_text := dbms_crypto.encrypt(src => UTL_I18N.STRING_TO_RAW(p_plain_text,'AL32UTF8'),
typ => l_enc_type,
key => p_secret_key);
END encrypt_txt;
FUNCTION decrypt_txt (
p_enc_text IN RAW,
p_secret_key IN RAW
) RETURN VARCHAR2 AS
l_text_raw RAW(128) := utl_raw.cast_to_raw(p_enc_text);
l_key_raw RAW(128) := utl_raw.cast_to_raw(p_secret_key);
BEGIN
l_decrypted_raw := dbms_crypto.decrypt(src => p_enc_text,
typ => l_enc_type,
key => p_secret_key);
RETURN utl_raw.cast_to_varchar2(l_decrypted_raw);
END;
END ENC_DEC_PKG;
</code></pre>
<br />
Execute following anonymous PLSQL block to test the same.<br />
<br />
<pre style="background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: "arial"; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> DECLARE
l_text VARCHAR2(100) := 'lkakarla';
l_enc_txt RAW(128);
l_enc_key RAW(128);
l_dec_txt VARCHAR2(100);
BEGIN
ENC_DEC_PKG.encrypt_txt(l_text,l_enc_txt,l_enc_key);
DBMS_OUTPUT.PUT_LINE('Plain Text :: ' || l_text);
DBMS_OUTPUT.PUT_LINE('Encrypted Text :: ' || l_enc_txt);
DBMS_OUTPUT.PUT_LINE('Encryption Key :: ' || l_enc_key);
l_dec_txt := ENC_DEC_PKG.decrypt_txt(l_enc_txt, l_enc_key);
DBMS_OUTPUT.PUT_LINE('Decrypted Text :: ' || l_dec_txt);
END;
</code></pre>
<div>
<br /></div>
<div>
<b style="color: blue;">Sample Output:</b></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHxwUfR1Ri3fhxlbnaj2vMvwHuwEkZkW1pmkv3q2x4VwSyllQkHNKlxgkx1rM-V6-gS_sONjqxs4hEKyqAp9UXDtHM2C5Pcq2XSeYEtsX1IZQoIr0bmRu-nWdxwSypWk1z3GMBIK-XAf4/s1600/sampleenc.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="75" data-original-width="577" height="82" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgHxwUfR1Ri3fhxlbnaj2vMvwHuwEkZkW1pmkv3q2x4VwSyllQkHNKlxgkx1rM-V6-gS_sONjqxs4hEKyqAp9UXDtHM2C5Pcq2XSeYEtsX1IZQoIr0bmRu-nWdxwSypWk1z3GMBIK-XAf4/s640/sampleenc.jpg" width="640" /></a></div>
<div>
<br /></div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-49424119067011199562018-06-20T07:54:00.001+05:302018-07-01T22:18:56.748+05:30R:: Conversion to Numeric<div dir="ltr" style="text-align: left;" trbidi="on">
Recently I found an interesting scenario, when I was doing data conversion to numeric in R.<br />
<br />
Here is the scenario.<br />
<br />
<b><span style="color: blue;"><u>Step#1::</u></span></b> Created a simple data frame with 2 variables as shown below.<br />
<br />
<pre style="background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: "arial"; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> a = as.factor(c(4, 9, 6))
b = as.factor(c(2.5, 3, 5.1))
df = data.frame(a, b)
str(df)
</code></pre>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy2L50e1vNUNFpTheRtpZtRX0u6uzrUHei1w3Co5XCsvCfPeAV2eoIRHyCaYvYXQu09p1M7YlYr98pi_BgLl6UTz5vpgaMZ8lUCXtxQPlj_5doUl0dGWBW4nsaokqNcNTRvfn6tvx6xZ0/s1600/factor-1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="105" data-original-width="148" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiy2L50e1vNUNFpTheRtpZtRX0u6uzrUHei1w3Co5XCsvCfPeAV2eoIRHyCaYvYXQu09p1M7YlYr98pi_BgLl6UTz5vpgaMZ8lUCXtxQPlj_5doUl0dGWBW4nsaokqNcNTRvfn6tvx6xZ0/s1600/factor-1.jpg" /></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/AVvXsEh0KhbxFCaawIxkfyVCW73aOpXFSZc6rGtKp69AQEOE3JT5FWK790eI-nXDUZPiGh_m1C7sX2w8c_UIJU9mvhycYDM6lzKWNEaOc6C7suddwFqzuS8XlIU1MnYEebXp337mN7s3QkCroVg/s1600/factor-2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="73" data-original-width="402" height="58" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0KhbxFCaawIxkfyVCW73aOpXFSZc6rGtKp69AQEOE3JT5FWK790eI-nXDUZPiGh_m1C7sX2w8c_UIJU9mvhycYDM6lzKWNEaOc6C7suddwFqzuS8XlIU1MnYEebXp337mN7s3QkCroVg/s320/factor-2.jpg" width="320" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<b><span style="color: blue;"><u>Step#2::</u></span></b> Converted observations in existing variables to Numeric using as.numeric function, and stored the values in new variables.</div>
<div>
<br /></div>
<pre style="background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: "arial"; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> df$a_1 <- as.numeric(df$a)
df$b_1 <- as.numeric(df$b)
</code></pre>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgphBcN0SPjgUYF3g7n0XH7B6w8AeOb0VMeLBwMusneskWWn4TfXfZ0tQIfOQvzcF26VuX9r38hpnnH5hi4Q_OzHfoKkgOCFcaTdGL0DnUxlrhJZHMcK-cs4zVeOuTYcq1GVinT_DyIHco/s1600/factor-3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="113" data-original-width="269" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgphBcN0SPjgUYF3g7n0XH7B6w8AeOb0VMeLBwMusneskWWn4TfXfZ0tQIfOQvzcF26VuX9r38hpnnH5hi4Q_OzHfoKkgOCFcaTdGL0DnUxlrhJZHMcK-cs4zVeOuTYcq1GVinT_DyIHco/s1600/factor-3.jpg" /></a></div>
<br />
<br />
What I observed is, the values changed, when applied as.numeric function.<br />
<br />
Analysis: It happened because the variable data type is a factor. Internally, factors are stored as integers with a table to give the factor level labels. So using as.numeric will only give the internal integer codes. To avoid this issue, we need to convert variable to character first, then apply as.numeric function.<br />
<br />
<br />
<div>
<b><u><span style="color: blue;">Step#3::</span></u></b> Converted observations in existing variables to Character using as.character, then applied as.numeric function, and stored the values in new variables.</div>
<div>
<br /></div>
<pre style="background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: "arial"; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> df$a_2 <- as.numeric(as.character(df$a))
df$b_2 <- as.numeric(as.character(df$b))
</code></pre>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3U_eAGohvO6n63Vxufzm3shhorNbA70UYntVMQ9-oGw-BLm9yE-N0tvilOUj-diExhkZa4AyDT76pdfHGHA8SjyJIz87jdrUw-1vED3T44NlTmgNYAdOwSlIO9IEgS_jH-fk6T96H6w4/s1600/factor-4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="103" data-original-width="363" height="90" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3U_eAGohvO6n63Vxufzm3shhorNbA70UYntVMQ9-oGw-BLm9yE-N0tvilOUj-diExhkZa4AyDT76pdfHGHA8SjyJIz87jdrUw-1vED3T44NlTmgNYAdOwSlIO9IEgS_jH-fk6T96H6w4/s320/factor-4.jpg" width="320" /></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/AVvXsEgW813-LqW1yVDf7pcS8TD8Sh0YOPgwulW7B2pIHWtLlH-h7FhwnbBin4PtbkQxg-QFnBJTQzUqAF2eIEQBFF3UHaVdFyGPsl2oPxLdlNkAAXXbktaK7PI0IM2xMphEdwvwxVrsDVXs8UM/s1600/factor-5.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="141" data-original-width="414" height="108" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgW813-LqW1yVDf7pcS8TD8Sh0YOPgwulW7B2pIHWtLlH-h7FhwnbBin4PtbkQxg-QFnBJTQzUqAF2eIEQBFF3UHaVdFyGPsl2oPxLdlNkAAXXbktaK7PI0IM2xMphEdwvwxVrsDVXs8UM/s320/factor-5.jpg" width="320" /></a></div>
<br />
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-87057476580276733082018-06-19T23:49:00.000+05:302018-06-20T07:51:14.133+05:30DB:: Add SSL Certificate to Wallet<div dir="ltr" style="text-align: left;" trbidi="on">
Recently, I tried to access LDAP server over LDAPS protocol from Oracle database. As a part of that, I am supposed to import SSL certificate into database to make SSL handshake worked properly with LDAP server.<br />
<br />
Here is the steps, I followed to import SSL certificate into database wallet.<br />
<br />
<b><span style="color: #e69138;"><u>Step#1.</u></span></b> Make sure ENCRYPTION_WALLET_LOCATION specified in sqlnet.ora located in $ORACLE_HOME/networl/admin location.<br />
<br />
<pre style="background: #f0f0f0; border: 1px dashed #cccccc; color: black; font-family: "arial"; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;"><code style="color: black; word-wrap: normal;"> ENCRYPTION_WALLET_LOCATION =
(SOURCE=
(METHOD = FILE)
(METHOD_DATA = (DIRECTORY=/u01/oracle/admin/ORA12C/wallet)
)
)
</code></pre>
<br />
<b><span style="color: #e69138;"><u>Step#2.</u></span></b> Go to ENCRYPTION_WALLET_LOCATION directory and execute following command to create wallet. If wallet already present, skip this step.<br />
<br />
<b>orapki wallet create -wallet /u01/oracle/admin/ORA12C/wallet -auto_login</b><br />
<br />
<b><span style="color: red;">Note:</span></b> <u>-auto_login</u> helps you to open wallet automatically, during DB startup. You can also use local auto login option to restrict the wallet access to the host, where it's hosted.<br />
<br />
<br />
<b><span style="color: #e69138;"><u>Step#3.</u></span></b> Examine the wallet contents with following command.<br />
<b><br /></b>
<b>orapki wallet display -wallet /u01/oracle/admin/ORA12C/wallet</b><br />
<br />
<u>Sample Output:</u><br />
<pre style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCl7IcnYHtNmkwD0hW7GYKsG4_rOvPZoe3PDjhPRa6yNbXOGmR6yjFjEDUsIgMPK3umQXFb7u10yliRBxyODThpessJh7M65HQL-FjqwTRvppNBRWFrIU9dYjqwlSXQh5U69xmawEWdQt6/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;"><code style="color:#000000;word-wrap:normal;"> Oracle PKI Tool : Version 12.2.0.1.0
Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
Requested Certificates:
Subject: CN=oracle
User Certificates:
Oracle Secret Store entries:
Trusted Certificates:
</code></pre>
<br />
<b><span style="color: #e69138;"><u>Step#4.</u></span></b> Copy SSL certificate to ENCRYPTION_WALLET_LOCATION directory.<br />
<br />
SSL certificate content will be in following format.<br />
<br />
<span style="font-family: "courier new" , "courier" , monospace;"><b>-----BEGIN CERTIFICATE-----</b></span><br />
<span style="font-family: "courier new" , "courier" , monospace;">MIICPDCCAaUCEDyRMcsf9tAbDp...................................................</span><br />
<span style="font-family: "courier new" , "courier" , monospace;">....................................................................................................xwzoiQ</span><br />
<span style="font-family: "courier new" , "courier" , monospace;"><b>-----END CERTIFICATE-----</b></span><br />
<br />
<b><span style="color: #e69138;"><u><br /></u></span></b>
<b><span style="color: #e69138;"><u>Step#5.</u> </span></b>Run following command to import the certificate into wallet as a Trusted certificate.<br />
<br />
<b>orapki wallet add -wallet /u01/oracle/admin/ORA12C/wallet -trusted_cert -cert <ssl_cert_file_name> -pwd <wallet_pwd></b><br />
<br />
execute <span style="color: #e69138;"><b>Step#3</b></span> to view the contents of wallet after import.<br />
<br />
<u>Sample Output:</u><br />
<pre style="font-family:arial;font-size:12px;border:1px dashed #CCCCCC;width:99%;height:auto;overflow:auto;background:#f0f0f0;;background-image:URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCl7IcnYHtNmkwD0hW7GYKsG4_rOvPZoe3PDjhPRa6yNbXOGmR6yjFjEDUsIgMPK3umQXFb7u10yliRBxyODThpessJh7M65HQL-FjqwTRvppNBRWFrIU9dYjqwlSXQh5U69xmawEWdQt6/s320/codebg.gif);padding:0px;color:#000000;text-align:left;line-height:20px;"><code style="color:#000000;word-wrap:normal;"> Oracle PKI Tool : Version 12.2.0.1.0
Copyright (c) 2004, 2016, Oracle and/or its affiliates. All rights reserved.
Requested Certificates:
Subject: CN=oracle
User Certificates:
Oracle Secret Store entries:
Trusted Certificates:
Subject: CN=oracleldap
</code></pre>
<br />
<b><span style="color: #e69138;"><u>Step#6.</u></span></b> Test SSL with external system. In this case, I was trying to connect to LDAP over SSL. So I used OS level ldap commands to test the connection via SSL port.<br />
<br />
<b>ldapbind -p 1636 -h ldap.lkakarla.com -U 2 -P <wallet_pwd> -W <span style="color: red;">file:</span>/</b><b>u01</b><b>/oracle/admin/ORA12C/wallet</b><br />
<br />
<u>Output:</u><br />
<span style="font-family: "courier new" , "courier" , monospace;">bind successful</span><br />
<br />
<br />
<b><span style="color: #e69138;"><u>Step#7.</u></span></b> Remove trusted certificate:<br />
<br />
To remove single entry, provide DN of the certificate:<br />
<b>orapki wallet remove -wallet /</b><b>u01</b><b>/oracle/admin/ORA12C/wallet -trusted_cert -dn "CN=oracleldap" </b><br />
<div>
<br /></div>
To remove all entries from trust store:<br />
<b>orapki wallet remove -trusted_cert_all -wallet /</b><b>u01</b><b>/oracle/admin/ORA12C/wallet</b><br />
<br />
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com1tag:blogger.com,1999:blog-1141464897799641728.post-49185241950466093812018-03-21T20:20:00.001+05:302018-03-30T20:47:35.005+05:30AWS EMR:: Access S3 bucket from Hue Editor<div dir="ltr" style="text-align: left;" trbidi="on">
<b style="color: #674ea7; font-size: x-large;"><u>Context:</u></b><br />
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><span style="font-family: inherit;">I created </span><b style="font-family: inherit;">S3</b><span style="font-family: inherit;"> bucket as shown below. (</span><i>Even though<span style="font-family: inherit;"> the page shows, </span><span class="service-name" style="background-color: white; color: #444444; display: inline; font-family: inherit; font-weight: bold; margin: 15px 0px;">S3</span><span style="background-color: white; color: #444444; font-family: inherit;"> does not require region selection</span><span style="font-family: inherit;">, the S3 bucket page showing as </span><span style="background-color: white; color: orange; font-family: inherit; white-space: pre-wrap;"><b>US West (Oregon)</b></span></i><span style="font-family: inherit;">)</span></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlUFImTabH4-um3ZhGU1Iat0a8w_EY7dUC2Reen8ekizHeMqJEQ8TLy4wOXyUYXUJ-Kdu0U09fIK-w5DwuzaVxqjnX97H9Holn8yCfX2oXnm-VqKZSoNv7JccK_E9pR_vSehZ9E-7ngk0/s1600/Blog-01.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="610" data-original-width="1599" height="244" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhlUFImTabH4-um3ZhGU1Iat0a8w_EY7dUC2Reen8ekizHeMqJEQ8TLy4wOXyUYXUJ-Kdu0U09fIK-w5DwuzaVxqjnX97H9Holn8yCfX2oXnm-VqKZSoNv7JccK_E9pR_vSehZ9E-7ngk0/s640/Blog-01.jpg" width="640" /></a></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;"><br /></span></div>
<div style="text-align: left;">
<span style="font-family: inherit;">Followed by that, I created <b>EMR cluster(Release 5.12.0)</b> with following software configuration in <span style="background-color: white; white-space: pre-wrap;"><b><i><span style="color: orange;">US West (Oregon)</span></i></b><span style="color: #222222;"> region</span></span>.</span></div>
<br />
<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/AVvXsEhUI5bk4olFjWmt9CYkOsLCi7RyM9r_26iA41XSle3qyLxCrWvAjmfkXuNx3Cvj77YCXuL7UZlNZmOVFRSJtjC46q0UPsSd-R1u8DGLYbuxvlgnpKk4IbZEsLt7P7M1sAgQAtBCQJup97o/s1600/Blog-02.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="214" data-original-width="644" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUI5bk4olFjWmt9CYkOsLCi7RyM9r_26iA41XSle3qyLxCrWvAjmfkXuNx3Cvj77YCXuL7UZlNZmOVFRSJtjC46q0UPsSd-R1u8DGLYbuxvlgnpKk4IbZEsLt7P7M1sAgQAtBCQJup97o/s640/Blog-02.jpg" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJL0ae69o-fxROFdufDthoD2jgt0flqb-nCn_kIMV88oMeT757GnG58oyqNU707tMZ9g9CVExuwQsGPf3XAeYqgNsKxZHd0zcHy69adjRdujlPJbeJ5d_zButkS1JLm7S7jWoK9_NKJFM/s1600/Blog-03.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="747" data-original-width="1211" height="394" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJL0ae69o-fxROFdufDthoD2jgt0flqb-nCn_kIMV88oMeT757GnG58oyqNU707tMZ9g9CVExuwQsGPf3XAeYqgNsKxZHd0zcHy69adjRdujlPJbeJ5d_zButkS1JLm7S7jWoK9_NKJFM/s640/Blog-03.jpg" width="640" /></a></div>
<br />
<br />
And also added inbound rules to access Master & Slave nodes from public internet, followed enabled traffic to ports 8888(<i>Hue/Hive</i>) & 8787(<i>RStudio</i>).<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1gFf1nBMoR5mhd_03mtXIztinf9Lvd0cZU6I-_u-AfnxDXqiJjNO3574JnZuja1eS5xfC0qEYYUjENuwYORGErEhAN3E_3cclfbT6EvWk01RExY-hX6woCKHixo1J_BNai32Qjl4dGxA/s1600/Blog-04.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="98" data-original-width="883" height="70" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1gFf1nBMoR5mhd_03mtXIztinf9Lvd0cZU6I-_u-AfnxDXqiJjNO3574JnZuja1eS5xfC0qEYYUjENuwYORGErEhAN3E_3cclfbT6EvWk01RExY-hX6woCKHixo1J_BNai32Qjl4dGxA/s640/Blog-04.jpg" width="640" /></a></div>
<br />
<br />
<b style="color: red; font-size: x-large;"><u><br /></u></b>
<b style="color: red; font-size: x-large;"><u>Issue:</u></b><br />
<br />
Once EMR clsuter is ready and in waiting state, I opened Hue Editor and tried to browse s3 bucket.<br />
<br />
I received below error.<br />
<br />
<b><span style="color: red;"><i>"Failed to access path: "s3a://<s3-bucket-name>" Check that you have access to read this bucket and that the region is correct: Bad Request"</i></span></b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj22lq8gK6Y3NKlKUTBCSNUjsV4wmao7twJqGHdRRujgR5I-lGd_rXJ3K79M7Tn2bXrCpRtYWwRw0STgDPI-aySNs_tGqlaHfNxb2BJbRLee21sMV14xoH2Hh6xwhnGP7kvGKKnWCvOWDA/s1600/Blog-05.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="900" data-original-width="1600" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj22lq8gK6Y3NKlKUTBCSNUjsV4wmao7twJqGHdRRujgR5I-lGd_rXJ3K79M7Tn2bXrCpRtYWwRw0STgDPI-aySNs_tGqlaHfNxb2BJbRLee21sMV14xoH2Hh6xwhnGP7kvGKKnWCvOWDA/s640/Blog-05.jpg" width="640" /></a></div>
<br />
<br />
<br />
<b style="color: #e69138; font-size: x-large;"><u>Solution:</u></b><br />
<br />
I followed below mentioned steps to fix this issue.<br />
<br />
<div style="text-align: left;">
</div>
<ol>
<li>Login to EC2 instance(master node) as <span style="color: red;">ec2-user</span> using your key pair</li>
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNNpjv6fVE7LM5G8o-IuVDhH8i481gtwhsch7Xscq94s34ipQwDbMy_ee7hmbtUcj7aO4mYE9VCReA085nneH-ctgnC3oQdK538BkhAf4ZDuI26wlpRV9hjze3divYTei8YqAYx-a_Ntc/s1600/Blog-06.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="501" data-original-width="577" height="554" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNNpjv6fVE7LM5G8o-IuVDhH8i481gtwhsch7Xscq94s34ipQwDbMy_ee7hmbtUcj7aO4mYE9VCReA085nneH-ctgnC3oQdK538BkhAf4ZDuI26wlpRV9hjze3divYTei8YqAYx-a_Ntc/s640/Blog-06.jpg" width="640" /></a>
<br />
<br />
<li>Go to path <span style="color: red;">/etc/hue/conf.empty/</span> or <span style="color: red;">/usr/lib/hue/desktop/conf</span> </li>
<br />
<b><u>Ref Command:</u></b> cd /etc/hue/conf.empty/ or cd /usr/lib/hue/desktop/conf
<br />
<br />
<li>Take Backup of <span style="color: red;">hue.ini</span> file</li>
<br /><b><u>Ref Command:</u></b> sudo cp hue.ini hue.ini_<ddmmyyyy>
<br />
<br />
<li>Edit <span style="color: red;">hue.ini </span>file</li>
<br /><b><u>Ref Command:</u></b> sudo vi hue.ini
<br />
<br />
Uncomment below lines (<i>for me these lines were showing in between line numbers 1300 & 1325</i>) and update the details based on your region and security credentials.
<br />
For <span style="color: red;">access key id </span>and <span style="color: red;">secret access key, </span>refer <a href="https://docs.aws.amazon.com/general/latest/gr/managing-aws-access-keys.html" target="_blank">link</a>.
<br />
<br /><span style="color: blue;"><b>
Before:
</b></span><br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUvBatwCGdsvFw5xrBZbAhCfmLI_PtRWo-mNIugTev8s_BQc32WQhuwTx6GLOMQkkHX_iZr2EgD7c7m8mo2QXlovbk55csBa03kpTiAiigEPOLuu5KYf_VStPQmm_2jGEjZ-wEC4dAiw4/s1600/Blog-07.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="643" data-original-width="892" height="460" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUvBatwCGdsvFw5xrBZbAhCfmLI_PtRWo-mNIugTev8s_BQc32WQhuwTx6GLOMQkkHX_iZr2EgD7c7m8mo2QXlovbk55csBa03kpTiAiigEPOLuu5KYf_VStPQmm_2jGEjZ-wEC4dAiw4/s640/Blog-07.jpg" width="640" /></a>
<br />
<br /><span style="color: blue;"><b>
After:
</b></span><br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVrJa2jM5cmv72PZ9gaJoDlU18G8NgWbsqqi1hyphenhyphenXbMqV5uEaenuXIUzipe1GCQJcNDR4jNUrpXEwEq1qc7svysMw5kFjP3T43BsxqD12Q_fkJY2UFOINaU_nsAW5ujpHeMheXwayXGIhY/s1600/Blog-08.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="647" data-original-width="898" height="460" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVrJa2jM5cmv72PZ9gaJoDlU18G8NgWbsqqi1hyphenhyphenXbMqV5uEaenuXIUzipe1GCQJcNDR4jNUrpXEwEq1qc7svysMw5kFjP3T43BsxqD12Q_fkJY2UFOINaU_nsAW5ujpHeMheXwayXGIhY/s640/Blog-08.jpg" width="640" /></a>
<br />
<br /><b><span style="color: red;"><span style="color: red;">
Note:</span> </span></b>Providing <span style="color: red;">access key id </span>&<span style="color: red;"> secret access key</span> in hue.ini file is not recommended in case of Production Environments. Use below properties instead of <span style="color: red;"> access_key_id</span> & <span style="color: red;">secret_access_key.</span><br />
<br />
access_key_id_script=/path/to/access_key_script
<br />
secret_access_key_script= /path/to/secret_key_script
<br />
<br />
<li>Save the changes.</li>
<br />
Press <b><span style="color: red;">Escape </span></b>button and type <span style="color: red;"><b>:wq</b></span> to close vi editor and save the changes to <span style="color: red;">hue.ini</span> file.
<br />
<br />
<li>Restart <span style="color: red;">Hive </span>and <span style="color: red;">Hue </span>services.</li>
<br />
Type below command to see the status of all the services running on Master node.
<br />
<br /><span style="color: blue;">
initctl list | grep hive
</span><br />
<span style="color: blue;">
initctl list | grep hue
</span><br />
<br />
Run below commands to stop the services.
<br />
<br /><span style="color: blue;">
sudo stop hue
<br />
sudo stop hive-server2
</span><br />
<br />
Run below commands to start the services.
<br />
<span style="color: blue;"><br />
sudo start hive-server2
<br />
sudo start hue
</span><br />
<br />
<li>Now again try to access the Hue Editor and click on S3 browser. It will display the files in your S3 bucket.</li>
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBLOT6IDO_1rfo54pUUlYt-WCCi_9m5yvKR5JDPIr68dKd6ut86zY62Hc1EECZn3frjTomIHkgN31m13ckqJ7fqHlxeX8Ta4gKX_YJ0P-xnId9iTlhmK_CL0GudWC5SyANEEKDbal29AA/s1600/Blog-09.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="817" data-original-width="1566" height="332" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgBLOT6IDO_1rfo54pUUlYt-WCCi_9m5yvKR5JDPIr68dKd6ut86zY62Hc1EECZn3frjTomIHkgN31m13ckqJ7fqHlxeX8Ta4gKX_YJ0P-xnId9iTlhmK_CL0GudWC5SyANEEKDbal29AA/s640/Blog-09.jpg" width="640" /></a>
<br />
</ol>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<b><u style="color: red;">Note</u>: </b>If you terminate the cluster, you need to repeat same steps again to enable access. </div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com5tag:blogger.com,1999:blog-1141464897799641728.post-67409937925391196342017-07-08T16:50:00.001+05:302017-07-08T17:41:45.066+05:30Oracle SOA Suite 11g vs 12c<div dir="ltr" style="text-align: left;" trbidi="on">
<b><span style="font-family: inherit;">The reason is why Oracle SOA Suite 12c was developed: to simplify integration by unifying the disparate requirements for the latest integration challenges of mobile, cloud, and IoT into one unified and standards-based integration platform.</span></b><br />
<div>
<span style="font-family: inherit;"><br /></span></div>
<div>
<span style="font-family: inherit;">Oracle SOA Suite 12c speeds up your integration time-to-market with features like templates, cloud integration adapters, and mobile-ready integration. You will respond to new business requests more quickly thanks to the new seamless integration of Oracle Service Bus into Oracle SOA Suite, a new managed file transfer offering and significantly improved management capabilities. Your total costs for integration should be reduced as a result of many new productivity enhancements including a quick install capability, advanced new business activity monitoring features and more.</span></div>
<span style="font-family: inherit;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinzl6-cS0yeL3Tk1zvjCust1PAlAHHooxu_tSE1Zs9bggD3hF_sqOzRQNYP0avmmQLuQCPCiIyl-3rL1ZLNJaLuPmx1lGw0ZGapZbn1Mg1HISRdjVR1MaZ8bLiO8iIauqjUzVhTTABSFg/s1600/2209436.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="405" data-original-width="720" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinzl6-cS0yeL3Tk1zvjCust1PAlAHHooxu_tSE1Zs9bggD3hF_sqOzRQNYP0avmmQLuQCPCiIyl-3rL1ZLNJaLuPmx1lGw0ZGapZbn1Mg1HISRdjVR1MaZ8bLiO8iIauqjUzVhTTABSFg/s640/2209436.jpg" width="640" /></a></div>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;"><br /></span>
<span style="font-family: inherit;">And here is the list of differences between the 11g and the 12c versions of Oracle SOA Suite technology stack.</span><br />
<span style="font-family: inherit;"><br /></span>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">Installation Experience:</span></b></h3>
<br />
<ul style="text-align: left;">
<li>The development environment is much lighter weight, can be installed very easily (you should be able to start from scratch and have your first composite application running within 30 minutes) and allows very short develop/run cycles (quickly try out any changes to the definition of the composite or the service).</li>
<li>Everything is in there now. An in-memory database (uses JavaDB for soainfra schema) and fully functional soa and bpm domain.</li>
</ul>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">Development Experience:</span></b></h3>
<br />
<ul style="text-align: left;">
<li>The <b style="font-family: inherit;">Integrated WebLogic Server</b><span style="font-family: inherit;"> in JDeveloper is configured in 12c to <b>also run</b> SOA Suite 12c applications. This means a SCA Composite can be run directly from within the IDE to the integrated server - instead of explicit deployment to a stand alone WebLogic Server with SOA Suite runtime and y</span>ou can put <b style="font-family: inherit;">breakpoints </b><span style="font-family: inherit;">and step through your composite, in real time !!!</span></li>
<li>The IDEs for <b style="font-family: inherit;">Service Bus and SCA Composites</b><span style="font-family: inherit;"> will be integrated in 12c in JDeveloper.</span></li>
<li><b style="font-family: inherit;">Templates </b><span style="font-family: inherit;">will be available throughout the SOA Suite 12c IDE – allowing blue prints with placeholders for SCA Composites, Pipelines, BPEL processes to be prepared and reused when developing the real artifacts. The new <b>SOA starter templates </b>provide an easy way to package SOA composites, components or fragments of a BPEL process and distribute them to other departments, partners or customers</span></li>
<li><b style="font-family: inherit;">Debugging and refactoring</b><span style="font-family: inherit;"> support is available in the 12c IDE, for both Service Bus and SCA Composites.</span></li>
<li><b style="font-family: inherit;">Dependency Explorer:</b><span style="font-family: inherit;"> This allows to "visualize" the dependencies between various SOA composites as well as Service Bus projects which typically consist of fair number of artifacts that hang together in ways that are sometimes not so easy to track down. It will leverage all its built in knowledge about potential dependencies and it will visualize these dependencies.</span></li>
<li><b style="font-family: inherit;">Testing: </b><span style="font-family: inherit;">Develop and test without having to go to EM. It is very simple to test the web services (SOAP and REST) exposed by SOA composites from the comfort of your own IDE. Using a simple right mouse click on the composite’s service interface (in the Application Server overview window), we can start the HTTP Analyzer for the service – with the right endpoint set, the WSDL (or WADL) loaded and the request message entry form ready to be filled in.</span></li>
<li><b style="font-family: inherit;">Property inspector window:</b><span style="font-family: inherit;"> Before release 12c, editing activities in a BPEL process was done in the wizard that could be activated by double clicking the activity or by selecting edit from the context menu on an activity. Alternatively, a developer could resort to the BPEL process source file to make changes to the definition of activities. In 12c, the property inspector has been extended to also support editing the properties of BPEL activities. When the property inspector window is available, it will synchronize with the currently selected activity in the BPEL editor.</span></li>
<li><b style="font-family: inherit;">Component and Property palette</b><span style="font-family: inherit;"> undergone a metamorphosis. In the Component palette the Components and adapters are now logically separated and it is possible to display the items in a list view.</span></li>
<li>The JDeveloper IDE acknowledges <b>Folders </b>as a construct that the developer needs control over. Until now, folders were visible in JDeveloper because they existed on the file system. They could not be manipulated from within the IDE. Now, in the 12c release, they can be created, from the New Gallery.</li>
<li><b style="font-family: inherit;">Enterprise Scheduler(ESS)</b><span style="font-family: inherit;"> SOA 12c comes with its own OOTB scheduler. It is integrated in EM and </span></li>
<ul>
<li>It provides the ability to schedule SOA components or services and manages the complete life cycle of a job definition: development, distribution, scheduling, and monitoring</li>
<li>Polling adapters can now be restricted to certain times of the day, for example outside of business hours, to avoid resource overload. Users can associate an inbound adapter for a SOA Service with ESS schedules to customize timings for processing of messages.</li>
<li>It is also used for bulk error recovery</li>
</ul>
<li><b style="font-family: inherit;">Fault Policy Editor</b></li>
<ul>
<li>Design and Edit Fault Policies.</li>
<li>Besides the already existed functionality a lot of new features are added.</li>
<ul>
<li>Graphical editor for creating Fault policies, Alerts, Actions & Property Sets</li>
<li>New Default actions for invoking a WS and enqueue data (JMS).</li>
<li>Alerts can be defined to send fault to JMS, Email or Log file.</li>
<li>Alerts can be assigned to actions if type of Alert is desired to be triggered.</li>
<li>Fault Policies can be coupled, using the Composite Binding dialog, to different levels:</li>
<ul>
<li>composite </li>
<li>component </li>
<li>reference binding and service binding</li>
</ul>
</ul>
</ul>
<li><b style="font-family: inherit;">New Database Connection Types</b></li>
<ul>
<li>SOA Suite 12c adds two new Database connection types when creating Database connections; JavaDB and JDE World. JavaDB (Derby) is used to run SOA Suite repository on that is used for the integrated server. With the JDE World connection you have easy access to the data in the JD Edwards database.</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1VAb7vq50J1uegAz07-ofn2shEpW33cr-QUgp-a9fZhJ_qfj_LltDRQoFgrcYR8sv-cv06TO5aqP1ejkqB84IICnWjICvhFFG4uv5s-xqW-yxE5EFGHcPrbGUAdjYlwdis8jVch44K2A/s1600/DB.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="563" data-original-width="588" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1VAb7vq50J1uegAz07-ofn2shEpW33cr-QUgp-a9fZhJ_qfj_LltDRQoFgrcYR8sv-cv06TO5aqP1ejkqB84IICnWjICvhFFG4uv5s-xqW-yxE5EFGHcPrbGUAdjYlwdis8jVch44K2A/s320/DB.JPG" width="320" /></a></div>
<div>
<br /></div>
<ul style="text-align: left;">
<li><b style="font-family: inherit;">Continuous Integration</b></li>
<ul>
<li>Continuous Integration brings agility to the systems development lifecycle (SDLC) by completing packaging, testing and deployment of every change to the code.</li>
<li>Oracle SOA Suite 12c provides a Maven plugin </li>
<ul>
<li>that allows development teams to use Maven to create, build, package and deploy SOA projects.</li>
<li>Through the SOA application and project archetypes, development teams can automate the instantiation of a developer's working environment.</li>
<li>Through the Maven plugin goals, a Continuous Integration server such as Hudson can be used to manage SOA projects through the complete lifecycle</li>
</ul>
</ul>
<li><b style="font-family: inherit;">File Based MDS: </b></li>
<ul>
<li>In addition to the existing run-time Meta Data Services Repository, Oracle SOA Suite 12c adds a file-based SOA Design-Time MDS Repository for use during design time. The repository is automatically created when you create a SOA composite application and will typically point to the version control system location.</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5y-V8YhKK_6MBepah-dPq_VLMmruxqy1ocKmOooxpD-q5iu1xDcpvJVkaSt4tRONDe9iFmqtqxTDV5CJlOSw40IAyk1mQZgDr4mCAD2AdTx9_5HLLpIHU18ie1fHxcyhtFHf02rjIriM/s1600/MDS.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="413" data-original-width="300" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5y-V8YhKK_6MBepah-dPq_VLMmruxqy1ocKmOooxpD-q5iu1xDcpvJVkaSt4tRONDe9iFmqtqxTDV5CJlOSw40IAyk1mQZgDr4mCAD2AdTx9_5HLLpIHU18ie1fHxcyhtFHf02rjIriM/s320/MDS.JPG" width="232" /></a></div>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">BPEL:</span></b></h3>
<br />
<ul style="text-align: left;">
<li>An <b>in-line sub process</b> has been introduced. </li>
<ul>
<li>An in-line sub process can best be thought of as a callable scope. It is a scope that is not part of the normal process flow, but rather a unit of encapsulated logic that can be called zero, one or multiple times from anywhere within the BPEL process – even recursively from within itself. It is in effect very similar to a private member function in a Java Class or a procedure in the body of a PL/SQL package.</li>
</ul>
<li>A <b>stand-alone Sub Process</b> has been introduced. </li>
<ul>
<li>These are defined in a separate file (with extension .sbpel) and appear as components in their own right in the composite overview. They can be called from multiple other BPEL components (but only from BPEL components)</li>
</ul>
<li><b>Encrypt/Decrypt Personally-Identifiable Information (PII):</b> It assists in Protecting sensitive data from appearing in the Admin consoles in clear text. </li>
<ul>
<li>For example a Social Security Number or Credit card Number. Specific Fields in a message can be encrypted when entering the SOA composite application in the service binding component, and decrypted while exiting the application in the reference binding component. It is available for services and adapters in both SOA (SCA Composite) and Service Bus. The PII policy is attached to the SCA Composite. The credentials/encryption to use is configured on WLS and is stored using the Credential Store framework (CSF).</li>
</ul>
<li><b>Updated XSLT mapper:</b></li>
<ul>
<li>Better support for complex stylesheets</li>
<li>You can see the XSLT execution sequence using Execution View</li>
<ul>
<li>Execution View shows the order of execution of templates (both named and matched) as they would be executed by the processor.</li>
<li>You can see the overall flow of a complex XSLT process and provides a means to troubleshoot problems in template creation before executing the XSLT.</li>
<li>In addition, the user can use the execution view to navigate to any section of the stylesheet by clicking on the desired node in the execution view dialog</li>
</ul>
<li>The XSLT View provides a graphical view of all XSLT statements that can highlight context nodes for the selected template rule allow the immediate error detection when creating multiple templates</li>
</ul>
<li><b>New XQuery support (including own mapper): </b></li>
<ul>
<li>BPEL has a dedicated activity to use XQuery in your BPEL code for transformations. The XQuery mapper has support for XPath 2.0 and user defined functions. The mapper is really user friendly and it’s made consistent with the XSLT mapper interface. The mapper also has an integrated Test framework and is build for reuse in both SOA & Service Bus</li>
</ul>
<li><b>Use nXSD anywhere: </b></li>
<ul>
<li>nXSD translation is a first class citizen within a BPEL process, Service Bus and Mediator. Now messages can be translated anywhere within the integration flow, not only on the edges.</li>
</ul>
<li><b>Sensors can be defined at runtime:</b> </li>
<ul>
<li>In SOA Suite 11g sensors had to be defined at design time. In the SOA Suite 12c it also will be possible to define or change them at runtime: Design Time at Run Time (DT@RT). This functionality is added to the existing ‘SOA Composer’ application, which is already used to change other runtime metrics like the Rule Engine and Domain Values Maps (DVMs).</li>
</ul>
</ul>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">Adapters:</span></b></h3>
<div>
<b><span style="background-color: #f6b26b; font-family: inherit;"><br /></span></b></div>
<ul style="text-align: left;">
<li>SOA Suite 12c will have an adapter for <b style="font-family: inherit;">Coherence </b><span style="font-family: inherit;">- allowing information to be put on or read from a Coherence grid – doing with the in memory Coherence grid what the database adapter does with persistent data in a relational datatabase. This JCA adapter makes it easy for a Service Bus business service or a SOA composite application to interact with a Coherence memory grid. Fully declaratively and with very little trouble, data can be put on a Coherence grid (aka cache) and read from that cache. The cache is accessed like a big map: using a key, an object is saved to and retrieved from the cache. The cache is accessible across service executions and process instances, as well as across cluster nodes.</span></li>
<li><b>Cloud adapter:</b> Oracle SOA Suite 12c simplifies cloud integration. The recently released Oracle Cloud Adapters simplify the integration of cloud applications with your existing infrastructure to allow, for example, your field sales teams to have real-time access to all of your on-premise applications. </li>
<ul>
<li>Adapters to connect to SalesForce has been provided. More are in pipeline like for RightNow (Oracle Service Cloud), Oracle Sales Cloud, Eloqua (Oracle Marketing Cloud) and Big Machines (Oracle CPQ Cloud). </li>
<li>An SDK is also being provided to create custom integrations into the cloud. </li>
<li>Simple to use. </li>
<ul>
<li>The adapters have the usual look and feel of Oracle adapters. </li>
<li>The cloud adapter configuration wizard engages users with an extremely simplified view of the business object catalog from the SaaS application from where they could browse and select one or more objects of interest for executing CRUD style interactions.</li>
</ul>
</ul>
<li>A <b style="font-family: inherit;">REST binding</b><span style="font-family: inherit;"> has been introduced within JDeveloper to simplify mobile enablement by exposing traditional SOAP services, Enterprise Java Beans (EJBs), JCA adapters connecting backend applications or just about any other underlying implementation through REST/JSON. The REST binding is available for SOA composites and Oracle Service Bus services and allows the configuration of REST interactions as exposed services or proxy services. It also allows the invocation of externally available REST services.</span></li>
<li><b style="font-family: inherit;">LDAP adapter:</b><span style="font-family: inherit;"> The LDAP adapters has support for inbound and outbound integration. With this adapter you can access you LDAP directory i.g. check if a certain user has the required privileges to execute the called operation. You can perform CRUD operations on target directory servers.</span></li>
<li><b style="font-family: inherit;">UMS Adapter:</b><span style="font-family: inherit;"> </span></li>
<ul>
<li><span style="font-family: inherit;">The UMS adapter already exists in 11g, but in the 12c release of SOA Suite this adapter has gotten a major update. In 11g the UMS adapter only supports Email, but in 12c it also support SMS and IM for inbound and outbound integration. Besides that the adapter now has a new outbound operation type to get the status of a send message. </span></li>
<li>For SMS (SMPP) and IM (XMPP) the configuration is done through the driver configuration pages in the EM. There you specify the gateways that are used when sending/receiving messages. The UMS adapter in JDeveloper has two new notification types to support the new drivers; SMS and IM. When choosing SMS instead of composing an email you enter the from and to telephone# and when choosing IM you enter the jammer account to send the message to.</li>
</ul>
<li><b style="font-family: inherit;">MFT Adapter:</b><span style="font-family: inherit;"> </span></li>
<ul>
<li><span style="font-family: inherit;">New Technology Adapter: MFTFor integrating Managed File Transfer (MFT) with SOA Suite there is a MFT adapter available and can be used for inbound and outbound transactions. With the inbound operation a SCA Composite can receive files or file references from MFT. The MFT adapter uses an own WSDL that can also be used for other technologies i.g. Java. With the outbound operation you can send files to a MFT server (Web service endpoint of a MFT source) to be processed further.</span></li>
</ul>
<li><b style="font-family: inherit;">MQ Adapter</b><span style="font-family: inherit;"> to integrate with IBM WebSphere MQ</span></li>
<li><b style="font-family: inherit;">MSMQ Adapter</b><span style="font-family: inherit;"> to integrate with Microsoft Message Queuing: </span></li>
<ul>
<li><span style="font-family: inherit;">Microsoft Message Queueing (MSMQ) is a message infrastructure and a development platform for creating distributed, loosely-coupled messaging applications for the Microsoft Windows operating system. Applications that use MSMQ create/locate a queue, connect to the queue, navigate the queue, send/receive messages from a queue and use the MSMQ queue properties to define the behavior of the queue where applicable and needed.</span></li>
</ul>
<li><b style="font-family: inherit;">Oracle Adapter for SAP R/3</b><span style="font-family: inherit;">: </span></li>
<ul>
<li><span style="font-family: inherit;">This provides native bidirectional integration with SAP R/3. It supports invocation of BAPI/RFC and IDOCs to send and receive data from the SAP R/3 application. The Adapter is natively integrated into JDeveloper and communicates with the SAP Business Object Repository to provide a graphical browser of the objects in SAP for the user to discover, search and select for the integration. In addition to browsing the objects in the repository, the adapter design-time allows searching for the objects by name or wild card expressions</span></li>
</ul>
<li>The Web Service Adapter is renamed to <b style="font-family: inherit;">SOAP Adapter</b></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh42z57RNtVm_8-RZ4VLIzv6K0NUiQeyyap7cah8THPFq5fdlbV1BX08QJ3H3oOi5drb6CeVLZCTBeksGKQPV8pgGOcGLrHAXZfsXXHxrosgMKNoxgoOcCU6JCQAg0RX1SGCm73jBpAbio/s1600/SOA+Adapters.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="513" data-original-width="1492" height="220" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh42z57RNtVm_8-RZ4VLIzv6K0NUiQeyyap7cah8THPFq5fdlbV1BX08QJ3H3oOi5drb6CeVLZCTBeksGKQPV8pgGOcGLrHAXZfsXXHxrosgMKNoxgoOcCU6JCQAg0RX1SGCm73jBpAbio/s640/SOA+Adapters.jpg" width="640" /></a></div>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">OSB:</span></b></h3>
<br />
<ul style="text-align: left;">
<li>The IDEs for Service Bus and SCA Composites will be integrated in 12c in JDeveloper. For Service Bus development, this means that no longer OEPE (Eclipse) is used, In fact the development of Service Bus services looks very much like the development of SCA Composites – even with a visual overview of an SB project with its Proxy services, its pipelines and its business services – very similar to an SCA Composite with its Services, Components and References.</li>
<li>For Service Bus 12c, the pipeline is a first class object – along with Proxy, Split Join and Business Service. Multiple proxy services can share a pipeline, and one pipeline can call another one.</li>
<li><b style="font-family: inherit;">Templates: </b><span style="font-family: inherit;">Just like SOA Suite’s SCA Composites the SB also supports the use of templates. But it works a little different. Templates are Pipeline-based, this means that you can select a template when creating a new Pipeline. There are two types of templates; Unlinked, which is a copy of the template, and Linked, Pipeline stays connected to template. In the template you can use Placeholders so permit changes to that part of the Pipeline. If the Pipeline is linked to a template and the template is changed the linked Pipeline will inherent these changes. You create a template pipeline, instead of a normal Pipeline and place it in a centralized project or in the MDS for re-use.</span></li>
<li><b style="font-family: inherit;">Splitting Proxy from Pipeline: </b><span style="font-family: inherit;">Because a SB project is more like a SCA Composite (same overview) the Proxy is split from the Pipeline. This means that the Proxy and the Pipeline are two individual things. With this concept multiple Proxies can be wired to one Pipeline.</span></li>
<li><b style="font-family: inherit;">MDS support for importing shared resources (limited): </b><span style="font-family: inherit;">Service Bus has now Design-Time support for MDS (MetaData Services). You can select resources from the MDS that you want to import into your SB project. Service Bus can’t connect to a Remote MDS on runtime. This choice is made, because SB can be installed separate from SOA and SB doesn’t have there own DB repository for saving MDS artifacts.</span></li>
<li><b>Dynamic Validation Activity: </b>SB 12c updates the Validation Activity. It is now possible to Dynamically validate a variable. Using Expressions you should return a fully qualified type or element reference (i.g. {http://www.example.com}inventoryRequest). Besides the Dynamic validation you also have the option to save the validation result to a variable or to raise an error (behavior in 11g).</li>
<li><b>Disable Activities:</b> In SB 12c it is possible to disable activities. This can be handy if you want to skip activities, but do not want to remove them. Every activity can be disabled in Design-Time, but also on Run-Time using the Service Bus composer.</li>
<li><b>Test expressions on Design-Time: </b>It is now possibile to test expression on Design-Time. In the Expression Builder you can click on the Test Expression icon to test the expression. JDeveloper will deploy a small artifact to the Design-Time environment of SB and start a small browser window where you can test the expression.</li>
<li><b>SB Debugger: </b>Just like SOA (SCA Composite) Service Bus has a debugger. It works the same as the SOA debugger.</li>
<li><b>Enterprise Manager instead of SBConsole:</b> The Service Bus console has found a new home with the switch to JDeveloper. Most functionality is moved to the Enterprise manager.</li>
<li>Using Domain Value Map (DVM) in Service Bus projects</li>
<li>For mobile integration, you can expose a Pipeline as a REST service. When doing it creates a REST binding just like in a SCA Composite.</li>
<li>Mediator-like <b>re-sequencer</b> now available in OSB: Business transactions often span multiple technical transactions and require groups of messages to be processed in exactly the right order. Sometimes, these messages already arrive in the correct order and need to be prevented from getting out of order, or they arrive in random order and need to be re-sequenced. The re-sequencer in Oracle Service Bus orders messages based on sequential or chronological information, and then sends the messages to the target services in an orderly manner. The sequencing is performed based on the sequencing strategy selected</li>
</ul>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">Mediator:</span></b></h3>
<br />
<ul style="text-align: left;">
<li><b>Translate from Native action:</b> At the level of the Java callout an extra action Translate from Native is added. With this action you can transfrom a CSV/JSON/String element of the request to XML using a NXSD transformation. The transformed output can then be used in the routing rules of the Mediator. This action can be done on operation level, but also on a specific routing rule for that operation.</li>
<li><b>Override Using action:</b> With this action you can override routing rule options using a DVM or Business Rules. Based on a element value of the request you can change the routing rule option dynamically. With the key value you have the possibility to override the XSLT transformation file, Filter expression, Execution Type, Syntax Validation (XSD), Semantic Validation (Schematron) file instead of creating a bunch of static routing rule.</li>
<li><b>New graphical editor for Assign action: </b>The graphical editor for the Assign action is the same as BPEL uses. You can create multiple copy rules by using drag and drop functionality.</li>
</ul>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">B2B:</span></b></h3>
<br />
<ul style="text-align: left;">
<li>A new facility in SOA Suite 12c will be Managed File Transfer that provides an implementation of the claim check pattern to handle large files. MFT brings an internal (S)FTP server to the SOA Suite platform. Files can be uploaded to this server and automated operations – such as decrypt, decompress and start an SCA Composite passing it the meta-data and a reference for the file – can be configured. This allows customers to load data securely into Oracle Cloud applications as well as third-party cloud or partner applications.</li>
<li>Streaming support for large payloads</li>
<li>For enhanced management and monitoring B2B is also integrated with the SOA Error Hospital. It is very simple to track messages end to end by adding direct links to Enterprise Manager Fusion Middleware Control from B2B Reports and vice versa</li>
<li>Support for Local Policy Attachment for Web Services security configuration have also been added</li>
</ul>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">Business Rules:</span></b></h3>
<br />
<ul style="text-align: left;">
<li>The use of business phrases in 12c will allow the definition of conditions and expressions labeled with meaningful names that can subsequently be used and reused to compose rule conditions and actions.</li>
<li>Enhanced SOA Composer for Business Rules.</li>
<li>Rule editing has been greatly improved</li>
<li>One can also export to Excel and edit the rules there</li>
</ul>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">Oracle Event Processing:</span></b></h3>
<div>
<b><span style="background-color: #f6b26b; font-family: inherit;"><br /></span></b></div>
<ul style="text-align: left;">
<li>Oracle Event Processing, part of Oracle SOA Suite, can handle up to a million messages per second at extremely low latencies when running on Oracle engineered systems(1), making it the ideal solution to perform real-time filtering, geo-location, and pattern matching on the massive streams of data generated by IoT "smart" devices.</li>
<li>Just like SB, OEP leaves it previous IDE Eclipse behind and is now fully integrated in JDeveloper.</li>
<li>New to Oracle Event Processing 12c is the shared use of the Oracle SOA Suite user interface, providing companies the ability to seamlessly integrate filtered and correlated big data into actionable enterprise processes for corrective action</li>
<li>Two new adapters, one for CSV (in-/outbound) and EDN (in-/outbound).</li>
<li>Extensions added to support Hadoop and Oracle NoSQL for use as a source just like the TABLE component</li>
<li>Extension for invoking/receiving Remote Method Invocation (RMI) calls.</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVWdGh22mWbe8KIlhMyViCtkKrG-aruJDHWzWaGOqv6qSCvW_ca5y-j3X0NG5Xob0WrOQwzyHdfW0gw7UalzinzsBqMfGrxPsB-wAgbmhxJVi9PkzmGv3wPYS9krzHVW5I2LtxIRIza_U/s1600/OEP.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="787" data-original-width="1491" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVWdGh22mWbe8KIlhMyViCtkKrG-aruJDHWzWaGOqv6qSCvW_ca5y-j3X0NG5Xob0WrOQwzyHdfW0gw7UalzinzsBqMfGrxPsB-wAgbmhxJVi9PkzmGv3wPYS9krzHVW5I2LtxIRIza_U/s640/OEP.JPG" width="640" /></a></div>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">BAM:</span></b></h3>
<br />
<ul style="text-align: left;">
<li>BAM has been enhanced to enable rapid and flexible assessment of key performance indicators (KPIs) by storing the data in the industry standard star schema format.</li>
<li>Multi-browser support including Mobile support, so your dashboard will look and act the same on different devices and browsers.</li>
<li>In the near future BAM will get a native App (IOS and Android).</li>
<li>BAM implements a more advanced Security model using OPSS (Oracle Platform Security Services) to secure the data it collects.</li>
<li>BAM now support a hybrid integration of CQL and SQL, these both query languages can be used together to collect data from different sources.</li>
<li>It uses Coherence for report and metadata cache.</li>
<li>It has better integration with SOA Suite and BPM Suite because both use the same Uniform Star Schema and can export the data during the execution of processes to BI to allow continuous monitoring.</li>
<li>BAM now support a Active-Active High Availability modes so can run on a cluster.</li>
<li>Continuous monitoring can be done in three ways, Real Time, One Time and Scheduled.</li>
<li>It can also correlates Business Events that are streamed using OEP.</li>
<li>BAM supports a side-by-side analysis between historical BI data ans operation data.</li>
<li>There is even a special BAM dashboard that can be embedded into WebCenter Pages.</li>
<li>The new dashboards comes more richer out-of-the-box and there is a more extensive catalog with Metrics i.g. SOA/BPM process performance and Human Workflow / Task performance.</li>
<li>The new dashboards have updated geomap, tree map, watch list, shatter chart and bubble chart components</li>
</ul>
<br />
<h3 style="text-align: left;">
<b><span style="background-color: #f6b26b; font-family: inherit;">Monitoring Experience:</span></b></h3>
<div>
<b><span style="background-color: #f6b26b; font-family: inherit;"><br /></span></b></div>
<ul style="text-align: left;">
<li><b style="font-family: inherit;">SOA-Infra Dashboard:</b></li>
<ul>
<li><b>SOA Error Hospital</b> - used to aggregate flow instances that have generated faults and be able to perform actions on instances with common faults collectively. The aggregations can be based on various criteria based on fault types, names or composite level aggregations</li>
<li>In the SOA-Infra dashboard (recoverable) faults are visual using a chart</li>
<li>The flow instances tab shows faults that can be recovered, click on Error Hospital to recover them</li>
<li>In Error Hospital tab faults can be recovered, with option to Bulk Recover</li>
<li>During the recover attempt the number decreases</li>
<li>Recovered Faults are shown in Green</li>
<li>On the SOA-Infra Dashboard page you can search for instances and create/save searches.</li>
<li>In the past, retrieval of large amounts of data has caused performance problems. In order to improve this, searches have been enhanced to allow for finer grained queries, including composite sensor values, to track specific business cases. Searches can also be saved and bookmarked for quicker access.</li>
<li>Deployed Composites are show with status and can easily be started and stopped:</li>
<li>Composite Sensor values are shown directly in the EM dashboard when you click on a instance. You can also search on these Composite Sensors</li>
<li><b>Fault Notification Alerts: </b>While dashboards provide an overview of the system and application health, administrators need to be alerted automatically when something goes wrong in the system. Fault alerts can be routed to communication channels such as email, SMS and IM, while at the same time being posted to the dashboards</li>
</ul>
<li><b style="font-family: inherit;">SOA Composite Dashboard:</b></li>
<ul>
<li>Composite Dashboard shows only components and services</li>
<li>The Composite definition can be visually displayed. This is the image of the composite as we see in JDev.</li>
<li>By default no flow instances are show to give page a much needed performance boost</li>
<li>When selecting a flow instance more details are show about faults</li>
<li>Easy to see instance sensor values</li>
<li>Easy to see Composite dependencies</li>
<li>The instance flow trace shows adapters in gray and SB integration</li>
<li>Diagnosability reports for all adapter binding components for SOA applications. These reports provide real-time visibility into availability and message exchange statistics with the Application or endpoint. The three new report types are Configuration Reports, Monitoring Reports and Snapshot Reports.</li>
</ul>
</ul>
<br />
<h3 style="text-align: left;">
<b style="background-color: #f6b26b;">Performance & Optimization:</b></h3>
<br />
<ul style="text-align: left;">
<li><b><span style="font-family: inherit;">Modularity:</span></b></li>
<ul>
<li>The runtime and footprint of the product have been optimized at every level (memory, disk, database) to support mission critical enterprise-wide deployments and web-scale performance, further enabling customers to process increasingly massive workloads. 12c is much lighter and faster then 11g. In 11g the installation and start up times were high and it has a high memory foorprint. SOA Suite 12c changes the game with faster start up times and optimized memory usage. The main reason for this is that 12c is build in a modular way and it uses lazy loading of components.</li>
<li>Not all SOA components may be used/needed by a customer with this in mind 12c is build in a modular way. First of all 12c has improved start up times and memory footprint with modularity profiles enabling only required components. By default the SOA_FOUNDATION profile is configured after new installation. This can then be altered in EM.</li>
<li>The profiles listed below are arranged in decreasing order of (memory) footprint</li>
<ul>
<li>SOA CLASSIC ~ SOA Foundation with B2B + BPM Modules</li>
<li>SOA FOUNDATION WITH HEALTHCARE ~ SOA Foundation with B2B + Healthcare UI</li>
<li>SOA FOUNDATION WITH B2B ~ SOA Foundation Enterprise + B2B</li>
<li>SOA FOUNDATION ENTERPRISE ~ SOA Foundation + Full Adapter Set</li>
<li>SOA FOUNDATION ~ Orchestration + Mediator + Rules + Partial Adapter set</li>
<li>ORCHESTRATION ~ BPEL-Only + HWF + Partial Adapter set</li>
<li>BPEL-ONLY ~ BPEL Components + SOA Common Infrastructure + Partial Adapter set</li>
</ul>
<li>The partial Adapter set consist of the FileAdapter, FTPAdapter, DBAdapter, JMSAdapter, AqAdapter, MQSeriesAdapter, OracleAppsAdapter and the UMSAdapter. The full adapter sets add the rest, SocketAdapter, LdapAdapter, CoherenceAdapter, MSMQAdapter, JDEWorldAdapter and the SAP Adapter.</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7KXqbViLfGwoNTwXcFPyctmCKwPW9hXeSEo_B0AE3YAf67VdWyuC1yw-c76UCjl0iLgVbD5-CSRoggLQ899xtXqMxsLmqaxom4N9G2LbsivhY5UgPgl39lpmeUHZA3oPYouM9a9ZrgyY/s1600/SOAProf.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="365" data-original-width="814" height="286" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7KXqbViLfGwoNTwXcFPyctmCKwPW9hXeSEo_B0AE3YAf67VdWyuC1yw-c76UCjl0iLgVbD5-CSRoggLQ899xtXqMxsLmqaxom4N9G2LbsivhY5UgPgl39lpmeUHZA3oPYouM9a9ZrgyY/s640/SOAProf.jpg" width="640" /></a></div>
<div>
<br /></div>
<ul style="text-align: left;">
<li><b style="font-family: inherit;">Composite Lazy Loading:</b><span style="font-family: inherit;"> </span></li>
<ul>
<li>12c introduces a different approach to loading Composites. Lazy loading is a staggered loading of composite artifacts which spreads out bootstrap cost. The composite loading time is itself a fixed number, but this approach delays the loading of some resources (Schemas, WSDL, XSLTs, etc) till it receives its first time request. With this the initial time for server startup is improved and the cost across for individual composites is spread out based on their demand. It reduces overhead from composites which are rarely used and retired composites.</li>
</ul>
<li><b style="font-family: inherit;">Work Managers:</b><span style="font-family: inherit;"> </span></li>
<ul>
<li>The self tuning threading model is implemented using Work Managers. WLS leverages work managers across SOA Suite, eliminating the need to perform manual configurations to tune for performance. The required resource management and scheduling is delegated to WLS. The Event Delivery Network (EDN) and adapters do not use work managers for all their processing, but have a separate resource model.</li>
</ul>
<li><b style="font-family: inherit;">DB Tuning out-of-the-box:</b><span style="font-family: inherit;"> </span></li>
<ul>
<li>When running RCU to create the initial DB schemas you can choose between several DB profiles; small, medium and large. When selecting a profile in RCU it enables the appropriate OOTB performance features. The medium/large profiles automatically configure DB partitioning and Global hash indexes. The latter helps with faster querying and helps with EM responsiveness and instance tracking performance. The global hash indexes also avoids full table scans and coupled with auto purge feature which keeps the overheads low and recreating of indexes periodically helps with performance.</li>
</ul>
<li><b style="font-family: inherit;">Purge/Partitioning Improvements: </b></li>
<ul>
<li>More efficient dehydration store management (like auto-purging). Purging of instance data is an important part of SOA Suite maintenance. In 12c Auto purge of SOA DB is enabled by default for new installations. Purging of the SOA DB can now be scheduled through the enterprise manager, which uses Oracle DB schedular. There is improved performance due to the new DB schemas which consolidate Audit and Flow instance data and eliminates orphaned instances. 12c supports Interval Partitioning which accelerates purging by targeting tables/instances within a time range.</li>
</ul>
</ul>
<div>
<br /></div>
<div>
<h3 style="text-align: left;">
<b style="background-color: #f6b26b;">Additional Features(Introduced in 12.2.1):</b></h3>
<br />
<ul style="text-align: left;">
<li><b>Patching Running Composite Instances:</b></li>
<ul>
<li>Composite Instance Patching, which enables you to patch running instances of a composite and recover faulted instances after patching the runtime. You can only include those fixes in the patch that are compatible with Composite Instance Patching. Use the SOA Patch Developer role in Oracle JDeveloper to make the fixes and create the patch.</li>
<li>Composite Instance Patching enables you to deliver urgent composite fixes that can be picked up by long running instances. You can make compatible/allowed changes without aborting in-flight instances. If a patched running instance comes across a business process that has been fixed by the patch, say a BPEL transformation, then it picks up the fixes applied to the business process.</li>
</ul>
<li><b>In-Memory SOA to Improve System Performance:</b></li>
<ul>
<li>In-memory SOA enables short-running processes to live in memory. The process state gets written to the database only when faulted, or at regular, deferred intervals using a write-behind thread. The BPEL state information is dehydrated and rehydrated to/from the Coherence cache.</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNVuzund1jd1A4DvLOz4_kEuezCQDhQ2cniUhrQnLXOEYB0Hffrf7ukzIBHz9JaMjWVkgz0dcOsWgAOmhbrfM-djKSCGo9aaQzaEmsc5TsdLwuAmyw8VDhlndkDemjxvFSXYDAEy4oJUI/s1600/MemSOA.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="329" data-original-width="650" height="322" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNVuzund1jd1A4DvLOz4_kEuezCQDhQ2cniUhrQnLXOEYB0Hffrf7ukzIBHz9JaMjWVkgz0dcOsWgAOmhbrfM-djKSCGo9aaQzaEmsc5TsdLwuAmyw8VDhlndkDemjxvFSXYDAEy4oJUI/s640/MemSOA.jpg" width="640" /></a></div>
<div>
<br /></div>
<ul style="text-align: left;">
<li><b>Debugging the XSLT Map:</b></li>
<ul>
<li>Debug your XSLT maps using the SOA Debugger. You can add breakpoints at strategic locations in the XSLT map. When debugging, the debugger halts execution at the breakpoints, enabling you to verify the data and output.</li>
</ul>
<li><b>End-to-End JSON and JavaScript Support:</b></li>
<ul>
<li>SOA composites can use end-to-end JSON. This means that the REST service can receive the REST request and route it to the BPEL engine without translating it to XML. The BPEL component can use the JavaScript action, and also use JavaScript in conditional and iterative constructs, to work on JSON objects directly. The REST reference can receive the REST message from the BPEL engine and route it to an external REST endpoint without translation.</li>
</ul>
</ul>
</div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com1tag:blogger.com,1999:blog-1141464897799641728.post-52477023837537803852017-05-08T01:00:00.000+05:302017-05-08T01:04:12.214+05:30Linux: MySQL and Tomcat(for J2EE) and Setup<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both; text-align: center;">
</div>
Recently, I configured Tomcat and MySQL on Oracle Linux 7 to fix issues reported in a legacy application developed in JSP & Servlets.<br />
<br />
Here are the steps, I followed.<br />
<span style="background-color: black;"><br /></span>
<span style="background-color: black;"><b><span style="background-color: white;">======================================================================</span></b></span><br />
<span style="background-color: black;"><b><br /></b></span>
<b><u>MySQL 5.1.71:</u></b> <b><u><br /></u></b><br />
<ul>
<li>Download following RPM packages for Linux x64 platform</li>
<ul style="text-align: left;">
<li>MySQL-server-community-5.1.71-1.rhel5.x86_64.rpm</li>
<li>MySQL-client-community-5.1.71-1.rhel5.x86_64.rpm</li>
<li>MySQL-devel-community-5.1.71-1.rhel5.x86_64.rpm</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGZPXdp6aUjuATCrVKrqusi-kqT7Y680kSHKteBaZT4F1tJ5fG2r6totdx8sFMFo4_Mb4yzf-IDYqU0m-qyH2MrJe5kpm6lwFzSMzdnAyCQJ5y73lolY5K0uXi3GBKGjNl2SsHO1_10IY/s1600/MySQL1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="142" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjGZPXdp6aUjuATCrVKrqusi-kqT7Y680kSHKteBaZT4F1tJ5fG2r6totdx8sFMFo4_Mb4yzf-IDYqU0m-qyH2MrJe5kpm6lwFzSMzdnAyCQJ5y73lolY5K0uXi3GBKGjNl2SsHO1_10IY/s400/MySQL1.jpg" width="400" /></a></div>
<ul>
<li>Login as root and check for existing setup of MySQL --> <b>rpm -qa | grep -i mysql</b></li>
<li>If not exists, install MySQL <b>server </b>and <b>client </b>packages as shown below</li>
<ul style="text-align: left;">
<li><b>rpm -ivh MySQL-server-community-5.1.71-1.rhel5.x86_64.rpm MySQL-client-community-5.1.71-1.rhel5.x86_64.rpm</b></li>
</ul>
</ul>
<ul style="text-align: left;">
<li>Install the Header and Libraries , which are part of MySQL-devl package</li>
<ul style="text-align: left;">
<li><b>rpm -ivh MySQL-devel-community-5.1.71-1.rhel5.x86_64.rpm</b></li>
</ul>
</ul>
<br />
<span style="background-color: #f9cb9c;">MySQL Configuration:</span><br />
<br />
<ul style="text-align: left;">
<li>Set password for root user in MySQL DB:</li>
<ul style="text-align: left;">
<li><b>/usr/bin/mysqladmin -u root password '<span style="color: orange;">password</span>'</b></li>
</ul>
</ul>
<ul style="text-align: left;">
<li>Run mysql_secure_installation script (<b>/usr/bin/mysql_secure_installation</b>) that will take care of all the typical security related items. On a high level this does the following items:</li>
<ul style="text-align: left;">
<li>Change the root password</li>
<li>Remove the anonymous user</li>
<li>Disallow root login from remote machines</li>
<li>Remove the default sample test database </li>
</ul>
</ul>
<ul style="text-align: left;">
<li>Verify the MySQL setup --> <b>mysql -V</b></li>
<li>Connect to the MySQL database using the root user and make sure the connection is successful.</li>
<ul style="text-align: left;">
<li><b>mysql -u root -p</b></li>
</ul>
</ul>
<ul style="text-align: left;">
<li>Follows the steps below to check status, stop and start MySQL.</li>
<ul style="text-align: left;">
<li>Check status --> <b>service mysql status</b></li>
<li>Stop DB --> <b>service mysql stop</b></li>
<li>Start DB --> <b>service mysql start</b></li>
</ul>
</ul>
<b><span style="background-color: white;">======================================================================</span></b>
<b><u style="background-color: white;"><br /></u></b><br />
<b><u style="background-color: white;">JDK 1.7.0_80:</u></b><br />
<br />
<ul style="text-align: left;">
<li>Download archive binary file(jdk-7u80-linux-x64.tar.tz) for Linux x64 platform</li>
<li>Go to installation folder --> cd /home/lkakarla/java</li>
<li>Uncompress archive file --> <b>tar zxvf jdk-7u80-linux-x64.tar.tz</b></li>
<li>Copy JDK & JRE paths</li>
<ul style="text-align: left;">
<li>JDK --> /home/lkakarla/java/jdk1.7.0_80/bin</li>
<li>JRE --> /home/lkakarla/java/jdk1.7.0_80/jre/bin</li>
</ul>
</ul>
<div>
<b><span style="background-color: white;">======================================================================</span></b><br />
<b><span style="background-color: white;"><br /></span></b>
<b><u>Tomcat 6.0.44:</u></b>
<b><u><br /></u></b>
<br />
<ul style="text-align: left;">
<li>Download archive binary file (apache-tomcat-6.0.44.tar.gz) for Linux x64 platform</li>
<li>Go to installation folder --> cd /home/lkakarla/tomcat</li>
<li>Uncompress archive file --> <b>tar zxvf apache-tomcat-6.0.44.tar.gz</b></li>
<li>Copy Tomcat home directory path --> /home/lkakarla/tomcat/apache-tomcat-6.0.44</li>
</ul>
<br />
<span style="background-color: #f9cb9c;">Tomcat Configuration:</span><br />
<br />
<ul style="text-align: left;">
<li>Open file /etc/environment as a root user and set CATALINA_HOME variable </li>
<ul style="text-align: left;">
<li>CATALINA_HOME=/home/lkakarla/tomcat/apache-tomcat-6.0.44</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div>
<ul style="text-align: left;">
<li>Set JAVA_HOME --> Create a file named <b><u>setenv.sh</u></b> in $CATALINA_HOME/bin folder and add below lines.</li>
<ul style="text-align: left;">
<li>JAVA_HOME=/home/lkakarla/java/jdk1.7.0_80</li>
<li>JRE_HOME=/home/lkakarla/java/jdk1.7.0_80/jre</li>
<li>CATALINA_PID="$CATALINA_BASE/tomcat.pid"</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJY5XBeTUVKvkjgZIZfGqgueRXiy2i_TY6lCKqALhJ1ScfOhPTEPNpU2RDASbAXcFFFKW9DFZuvgQ8kbJwfY4C-z_7qPe9ov9_kAYgBPM0dquOwMUnqDD-5DZaXXuJavp8m6f5SymRrY8/s1600/tomcat3.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJY5XBeTUVKvkjgZIZfGqgueRXiy2i_TY6lCKqALhJ1ScfOhPTEPNpU2RDASbAXcFFFKW9DFZuvgQ8kbJwfY4C-z_7qPe9ov9_kAYgBPM0dquOwMUnqDD-5DZaXXuJavp8m6f5SymRrY8/s400/tomcat3.jpg" width="400" /></a></div>
<ul style="text-align: left;">
<li>Backup existing tomcat-users.xml file in $CATALINA_HOME/conf folder --> $CATALINA_HOME/conf/tomcat-users.xml. </li>
<li>Edit ‘tomcat-users.xml’ file and following lines at EOF :</li>
<ul style="text-align: left;">
<li><user username="<span style="color: red;"><b>tomcat</b></span>" password="<b><span style="color: red;">tomcat</span></b>" roles="tomcat,standard,manager"/></li>
</ul>
</ul>
<ul style="text-align: left;">
<li>Download and place MySQL JDBC driver(<b>mysql-connector-java-5.1.36-bin.jar</b>) in $CATALINA_HOME/lib folder</li>
<li>Configure JDBC --> $CATALINA_HOME/conf/context.xml. </li>
<ul>
<li><div class="MsoNoSpacing">
<span style="font-size: xx-small; mso-bidi-font-size: 11.0pt;"><Resource
name="jdbc/automationDB" auth="Container"
type="javax.sql.DataSource"<o:p></o:p></span></div>
<div class="MsoNoSpacing">
<span style="font-size: xx-small; mso-bidi-font-size: 11.0pt;"> maxActive="100"
maxIdle="30" maxWait="10000"<o:p></o:p></span></div>
<div class="MsoNoSpacing">
<span style="font-size: xx-small; mso-bidi-font-size: 11.0pt;">
username="root" password="<b><span style="color: orange;">password</span></b>"
driverClassName="com.mysql.jdbc.Driver"<o:p></o:p></span></div>
<div class="MsoNoSpacing">
<span style="font-size: 9.0pt; mso-bidi-font-size: 11.0pt;"><span style="font-size: xx-small;">
url="jdbc:mysql://localhost:3306/<b><databasename></b>"/></span><span style="font-size: 9pt;"><o:p></o:p></span></span></div>
</li>
</ul>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYpMfkSlBl8ZYeGyzT0Lcim4EBnDLEriDy8Ji6vS6XCZsPgC6X67gTgWjkw44IimAPDc09w8mfut07eNducYdw274HpnjvctAt9FoWpZwv2frXwEbKMdO0EIcvp2Bm0xZ9Njtu9PxyQK4/s1600/tomcat4.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="251" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjYpMfkSlBl8ZYeGyzT0Lcim4EBnDLEriDy8Ji6vS6XCZsPgC6X67gTgWjkw44IimAPDc09w8mfut07eNducYdw274HpnjvctAt9FoWpZwv2frXwEbKMdO0EIcvp2Bm0xZ9Njtu9PxyQK4/s400/tomcat4.jpg" width="400" /></a></div>
<ul style="text-align: left;">
<li>Start Tomcat --> <b>$CATALINA_HOME/bin/startup.sh</b></li>
<li>Tomcat test URL --> <span style="background-color: #b6d7a8;">http://localhost:8080</span></li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghFpaf10ESncg0ajX1ah5KY7-yXoXnr2riTj5lUOBRkZQDiFdHg4vpPFNpA5bbV6fG6fqIEreWC8siZZX8kVdfbkAaWHJu7xpn_CiVozCQWYzLCxNtvAmuYKhi0Qtr43BrOiKled-wagU/s1600/tomcat1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghFpaf10ESncg0ajX1ah5KY7-yXoXnr2riTj5lUOBRkZQDiFdHg4vpPFNpA5bbV6fG6fqIEreWC8siZZX8kVdfbkAaWHJu7xpn_CiVozCQWYzLCxNtvAmuYKhi0Qtr43BrOiKled-wagU/s400/tomcat1.jpg" width="400" /></a></div>
<ul style="text-align: left;">
<li>Tomcat Manager URL --> <span style="background-color: #b6d7a8;">http://localhost:8080/manager/status</span> -- <b><span style="color: red;">tomcat/tomcat</span></b></li>
</ul>
<span style="color: red;"><b></b></span><br />
<div class="separator" style="clear: both; text-align: center;">
<span style="color: red;"><b><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh4-pZMxP6-Cp4bv3SAib9I06FNcB4_9Q_sVNTrXzWhvnmKHe0abYcqW7HRaRgHMwxVco_U_Lpbujq37WmqnTOjlpYJ7M6gggJbFxlUgOgRcq_W_FnKHYcIR802NoIWe7vslzcM2mYcSM/s1600/tomcat2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="177" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgh4-pZMxP6-Cp4bv3SAib9I06FNcB4_9Q_sVNTrXzWhvnmKHe0abYcqW7HRaRgHMwxVco_U_Lpbujq37WmqnTOjlpYJ7M6gggJbFxlUgOgRcq_W_FnKHYcIR802NoIWe7vslzcM2mYcSM/s400/tomcat2.jpg" width="400" /></a></b></span></div>
<span style="color: red;"><b>
</b></span>
<ul style="text-align: left;">
<li>Shutdown Tomcat --> <b>$CATALINA_HOME/bin/shutdown.sh</b></li>
</ul>
<div>
<b><span style="background-color: white;">======================================================================</span></b></div>
<ul style="text-align: left;"><ul style="text-align: left;">
</ul>
</ul>
</div>
</div>
</div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-27550573035129517462017-05-07T23:23:00.002+05:302017-05-07T23:23:45.851+05:30Virtual Box: Mount Host Shared Folders in Guest<div dir="ltr" style="text-align: left;" trbidi="on">
I installed Oracle VM Virtual Box v 5.1.14 on Windows 7 Professional (64 bit) PC and installed Oracle Linux (OEL) 7.2 as a guest OS.<br />
<br />
However, I was not able to share folders between host & guest. I received following error in Guest OS, when I clicked on shared folder mount.<br />
<br />
<b><span style="color: red;">Error: </span></b>"<b>The folder contents could not be displayed. You do not have the permissions necessary to view the contents of sf_temp.</b>"<br />
<br />
I followed below steps to resolve the issue and mount shared folder in Guest OS.<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<ul style="text-align: left;">
<li>Download and Install Oracle VM Virtual Box Extension Pack</li>
<li>Restart Virtual Machine</li>
<li>Install Guest Additions. Go to<b> Devices > Insert Guest Additions CD image...</b></li>
</ul>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwGzkMrWIyRxLpwHkKMxgvPmR3bt-lqXkC88KYvopkAv9CcyBNbkDaE1rPtMjDJzBbQrwn_l5HTq8lUHxHOGNjRfAC7CB8HtXitb3VR3HGEvRgqSHGXZo4sHNTdnDkRJo6F6MJyQvIGU/s1600/VM1.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhtwGzkMrWIyRxLpwHkKMxgvPmR3bt-lqXkC88KYvopkAv9CcyBNbkDaE1rPtMjDJzBbQrwn_l5HTq8lUHxHOGNjRfAC7CB8HtXitb3VR3HGEvRgqSHGXZo4sHNTdnDkRJo6F6MJyQvIGU/s320/VM1.JPG" width="320" /></a></div>
<span id="goog_1189562142"></span></div>
<ul style="text-align: left;">
<li>Restart Virtual Machine</li>
<li>Add the shared folder to the virtual machine using Virtual Box graphical interface. Make sure to select '<b>Auto-mount</b>' and '<b>Make Permanent</b>'</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoGet3gaR8B0plzwZ2DvZtdGvPOZuf_RcnkX8dvjrqaxm4AW2tdHEujOVPJNPZwRO49oFGV5_YmLYCqyIjozba2Ti1c82ubt7E1jDJoNucOnPKSYuSvUBLC01HmNv3avUdOEv6GZVq5C4/s1600/VM2.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="209" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhoGet3gaR8B0plzwZ2DvZtdGvPOZuf_RcnkX8dvjrqaxm4AW2tdHEujOVPJNPZwRO49oFGV5_YmLYCqyIjozba2Ti1c82ubt7E1jDJoNucOnPKSYuSvUBLC01HmNv3avUdOEv6GZVq5C4/s320/VM2.JPG" width="320" /></a></div>
<ul style="text-align: left;">
<li>Restart Virtual Machine</li>
</ul>
Try to access /media/sf_<b>your_shared_folder_name</b>. If you still don't have access, that means you don't belong to the <b>vboxsf </b>group.<br />
<ul style="text-align: left;">
<li>Login to the virtual machine using a root account</li>
<li>Check vboxsf group exists</li>
</ul>
~$ <b>grep vboxsf /etc/group</b><br />
<div style="text-align: left;">
vboxsf:x:983:</div>
<ul style="text-align: left;">
<li>Check user is not already in vboxsf group</li>
</ul>
~$ <b>id lkakarla</b><br />
uid=1000(lkakarla) gid=1000(lkakarla) groups=1000(lkakarla)<br />
<ul style="text-align: left;">
<li>Add user lkakarla to vboxsf group</li>
</ul>
~$ <b>sudo usermod -a -G vboxsf lkakarla</b><br />
<ul style="text-align: left;">
<li>Check again user groups</li>
</ul>
~$ <b>id lkakarla</b><br />
uid=1000(lkakarla) gid=1000(lkakarla) groups=1000(lkakarla),983(<b>vboxsf</b>)<br />
<ul style="text-align: left;">
<li>Restart Virtual Machine and login as lkakarla</li>
<li>Shared folder is now accessible in desktop and /media/sf_temp (temp is the name I gave to the share)</li>
</ul>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgp2a6A4Xa9SuWtFakBn8TCuAF1PkO1TALzCsSHS7yEXnZ2uKRkrvEq23mFhAOjFuALBPnmcffCWf1K4fFULf7TeptU540iBj7AuUFywgrq-_4CYhG74fSVmg1JIOxxctiaZvQkAEZcT4/s1600/VM3.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhgp2a6A4Xa9SuWtFakBn8TCuAF1PkO1TALzCsSHS7yEXnZ2uKRkrvEq23mFhAOjFuALBPnmcffCWf1K4fFULf7TeptU540iBj7AuUFywgrq-_4CYhG74fSVmg1JIOxxctiaZvQkAEZcT4/s320/VM3.JPG" width="172" /></a></div>
<br />
<a href="https://www.virtualbox.org/manual/ch04.html#sharedfolders" target="_blank">Click Here</a> for more info.<br />
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-75767670255507883622017-02-18T14:55:00.002+05:302017-02-18T15:08:18.854+05:30OPSS: syncKeyStores<div dir="ltr" style="text-align: left;" trbidi="on">
Applies to Weblogic 12c<br />
<br />
The OPSS Keystore Service (specifically in Weblogic 12c) meant to provide a single location for Keystores and Trust stores for all applications running within the Weblogic domain. This provides administrators an easier way to generate, sign, and manage their certificates. Also these actions can be managed/automated through WLST as well. The only pre-requisite for using the OPSS service is that the JRF templates have been applied to your domain.<br />
<br />
Recently I came across new command '<b><a href="http://docs.oracle.com/middleware/12212/opss/IDMCR/custom_infra_security.htm#CDDCEAGD" target="_blank"><span style="color: blue;">syncKeyStores</span></a></b>', which allows to synchronize keystores from the OPSS security store to the local repository. This synchronization is a one-way procedure, in which key data is read from the central security store and synchronized in the local file keystore.<br />
<b><br /></b>
<b>Why to Synchronize:</b><br />
<b><br /></b>
All Oracle Fusion Middleware components keep keys and certificates in a central security store. However, because certain infrastructure components must be started before the security store is available, some components use a local file keystore instance instead.<br />
<b><br /></b>
<b>When to Synchronize the Keystores:</b><br />
<br />
<ul style="text-align: left;">
<li>If the keystore (or) truststore being updated belongs to WebLogic Server, then call the synchronization command for WebLogic Server.</li>
<li>No need synchronize the keystores, if any application accesses their key material from the central OPSS security store directly.</li>
</ul>
<br />
<b>Steps to Synchronize the Keystores:</b><br />
<br />
We can perform this activity in 3 different ways.<br />
<br />
<b><span style="color: #e69138;">Option 1:</span></b> <u>Reboot Weblogic domain</u><br />
<u><br /></u>
<b><span style="color: #e69138;">Option 2:</span></b> <u>via WLST command line:</u><br />
<br />
Use wlst.sh of the domain and connect to Admin Server and execute below command.<br />
<br />
<span style="color: blue;">Syntax: </span>syncKeyStores(appStripe='<application_stripe>', keystoreFormat='exported_file_format')<br />
<br />
<span style="color: blue;">Ex:</span> syncKeyStores(appStripe='system', keystoreFormat='KSS')<br />
<br />
This command accesses the 'system' stripe in the central security store and downloads its contents into a file named keystores.xml in 'DOMAIN_HOME/config/fmwconfig' on the local system.<br />
<br />
<b><span style="color: #e69138;">Option 3:</span></b> <u>via Enterprise Manager:</u><br />
<br />
<ul style="text-align: left;">
<li>In FMW Control, Go to Weblogic Domain > System MBean Browser. Search for Operation 'syncKeyStores'</li>
<li>In the search results, click the 'syncKeyStores' link (which takes two parameters) </li>
<li>For p1, enter 'system'; for p2, enter 'KSS'. </li>
<li>Click 'Invoke' button.</li>
</ul>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkJBd1XbIlYTT-vy9lYVylUxshW6bBntN7iV6oiZjWuVoTiGgDR1fwvhMKMZIMHU4m-L4e6V-abGmaVX8sQ2S9a9lxLcPGeerqB3JnJBWQl3vbr6mQ6qg8tWNjS63YYdNLGS-NpediZDU/s1600/sync1.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkJBd1XbIlYTT-vy9lYVylUxshW6bBntN7iV6oiZjWuVoTiGgDR1fwvhMKMZIMHU4m-L4e6V-abGmaVX8sQ2S9a9lxLcPGeerqB3JnJBWQl3vbr6mQ6qg8tWNjS63YYdNLGS-NpediZDU/s640/sync1.jpg" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGuqPYY0_HB3hk7cQY7PkxdtqW5-_ugvk8NwSiNkvjj9i2IYrUyscENfjEUyRrQZ7c5XdqKFH7_8dNfCqsUyyvxil7cXNgB8ypMBF7GPU-bd1cJzXd7EdMQJPSLCg6mQGU9_wie55FDU/s1600/sync2.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="226" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpGuqPYY0_HB3hk7cQY7PkxdtqW5-_ugvk8NwSiNkvjj9i2IYrUyscENfjEUyRrQZ7c5XdqKFH7_8dNfCqsUyyvxil7cXNgB8ypMBF7GPU-bd1cJzXd7EdMQJPSLCg6mQGU9_wie55FDU/s640/sync2.jpg" width="640" /></a></div>
<br /></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com0tag:blogger.com,1999:blog-1141464897799641728.post-19179331219361943432017-02-16T10:08:00.000+05:302017-02-16T10:18:39.120+05:30OHS: Host Header Injection<div dir="ltr" style="text-align: left;" trbidi="on">
Recently we identified an issue with one of our application URL's. Issue is that, URL is vulnerable to Host Header Injection i.e. by supplying a malicious host header, its possible to modify the links generated in application or any other components(mail etc).<br />
<br />
For example, if your application URL is 'abc.xyz.com', a hacker can alter the HOST parameter in the client request header to 'hack.url.com'.<br />
<br />
<b><u><span style="color: orange;">Fix:</span></u></b> To avoid this, add <b>RewriteCond</b> & <b>RewriteRule</b> conditions inside VirtualHost as mentioned below to reject anything that doesn't match the target domain.<br />
<br />
<b><u>httpd.conf:</u></b><br />
<b><u><br /></u></b>
<VirtualHost *:7004><br />
ServerName abc.xyz.com<br />
ServerAlias abc.xyz.com<br />
RewriteEngine on<br />
RewriteOptions inherit<br />
<b> RewriteCond %{HTTP_HOST} ^abc.xyz.com</b><br />
<b> RewriteRule ^(.*)$ - [F,L]</b><br />
</VirtualHost></div>
Lakshmihttp://www.blogger.com/profile/12948367650311096623noreply@blogger.com1