tag:blogger.com,1999:blog-77273717284491038412024-03-14T19:07:01.070+05:30Oracle DBA Quick NotesUnknownnoreply@blogger.comBlogger182125tag:blogger.com,1999:blog-7727371728449103841.post-57241647800105760722020-09-04T11:25:00.000+05:302020-09-04T11:25:38.920+05:30Configure Quorum Disk in Exadata<p><br /></p><p>In last article[<a href="https://rajkumar-dba.blogspot.com/2020/08/removing-quorum-disk-configuration-in.html" target="_blank">click here</a>] - we learnt how to remove quorum disk from the Exadata system, now here we would see it we add and configure that.</p><p><br /></p><p>Before we are adding quorum disk configuration in the system, you need to have IB switches interface names, ASM binary owner and group handy as that is required to create the config.</p><p><br /></p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --create --config --owner=oragrid --group=asmadmin --network-iface-list="ib0, ib1"
[Info] Successfully created iface exadata_ib0 with iface.net_ifacename ib0
[Info] Successfully created iface exadata_ib1 with iface.net_ifacename ib1
[Success] Successfully created quorum disk configurations
[root@exa01dbadm01 oracle.SupportTools]#</code></pre><p><br /></p><p>Do the same as above on node2 as well.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --create --config --owner=oragrid --group=asmadmin --network-iface-list="ib0, ib1"
[Info] Successfully created iface exadata_ib0 with iface.net_ifacename ib0
[Info] Successfully created iface exadata_ib1 with iface.net_ifacename ib1
[Success] Successfully created quorum disk configurations
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p>Check if the quoum disk configuration is created as below from node1 and node2.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --list --config
Owner: oragrid
Group: asmadmin
ifaces: exadata_ib1 exadata_ib0
Initiatior name: iqn.1988-12.com.oracle:192.168.10.1
[root@exa01dbadm01 oracle.SupportTools]#</code></pre><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --list --config
Owner: oragrid
Group: asmadmin
ifaces: exadata_ib1 exadata_ib0
Initiatior name: iqn.1988-12.com.oracle:192.168.10.3
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p>Now, create quorum disk target for DATAC1 diskgroup which is visible to both compute nodes, before it you need to identify IB interface IPs of both nodes as that is required here.</p><p><br /></p><p>Run the command on node1 and node2.</p><p></p><p style="background-color: white; color: #333333; font-family: georgia, serif; font-size: small;"></p><p style="background-color: white; color: #333333; font-family: georgia, serif; font-size: small;"></p><p></p><div id="results" style="background-color: white; color: #333333; font-family: georgia, serif; font-size: small; line-height: 1.6em; margin: 0px 0px 0.75em;"><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); color: black; font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --create --target --asm-disk-group=datac1 --visible-to="192.168.10.1, 192.168.10.2, 192.168.10.3, 192.168.10.4"
[Success] Created logical volume /dev/VGExaDb/LVDbVdexa01dbadm01DATAC1.
[Success] Created backstore QD_DATAC1_exa01dbadm01.
[Success] Created target iqn.2015-05.com.oracle:qd--datac1--exa01dbadm01.
[root@exa01dbadm01 oracle.SupportTools]#</code></pre></div><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --create --target --asm-disk-group=datac1 --visible-to="192.168.10.1, 192.168.10.2, 192.168.10.3, 192.168.10.4"
[Success] Created logical volume /dev/VGExaDb/LVDbVdexa01dbadm02DATAC1.
[Success] Created backstore QD_DATAC1_exa01dbadm02.
[Success] Created target iqn.2015-05.com.oracle:qd--datac1--exa01dbadm02.
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p>Now you can list the quorum disk targets on node1 and node2 as below to validate.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --list --target
Name: iqn.2015-05.com.oracle:qd--datac1--exa01dbadm01
Host name: exa01dbadm01
ASM disk group name: DATAC1
Visible to: iqn.1988-12.com.oracle:192.168.10.1, iqn.1988-12.com.oracle:192.168.10.2, iqn.1988-12.com.oracle:192.168.10.3, iqn.1988-12.com.oracle:192.168.10.4
Discovered by:
[root@exa01dbadm01 oracle.SupportTools]#</code></pre><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --list --target
Name: iqn.2015-05.com.oracle:qd--datac1--exa01dbadm02
Host name: exa01dbadm02
ASM disk group name: DATAC1
Visible to: iqn.1988-12.com.oracle:192.168.10.1, iqn.1988-12.com.oracle:192.168.10.2, iqn.1988-12.com.oracle:192.168.10.3, iqn.1988-12.com.oracle:192.168.10.4
Discovered by:
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p>Create quorum disk device as below on node1 and node2.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --create --device --target-ip-list="192.168.10.1, 192.168.10.2, 192.168.10.3, 192.168.10.4"
[Success] Successfully created all device(s) from target(s) on machine with IP address 192.168.10.1
[Success] Successfully created all device(s) from target(s) on machine with IP address 192.168.10.2
[Success] Successfully created all device(s) from target(s) on machine with IP address 192.168.10.3
[Success] Successfully created all device(s) from target(s) on machine with IP address 192.168.10.4
[root@exa01dbadm01 oracle.SupportTools]#</code></pre><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --create --device --target-ip-list="192.168.10.1, 192.168.10.2, 192.168.10.3, 192.168.10.4"
[Success] Successfully created all device(s) from target(s) on machine with IP address 192.168.10.1
[Success] Successfully created all device(s) from target(s) on machine with IP address 192.168.10.2
[Success] Successfully created all device(s) from target(s) on machine with IP address 192.168.10.3
[Success] Successfully created all device(s) from target(s) on machine with IP address 192.168.10.4
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p><br /></p><p>Now you can list the quorum disk device on node1 and node2 to validate.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --list --device
Device path: /dev/exadata_quorum/QD_DATAC1_exa01dbadm01
Host name: exa01dbadm01
ASM disk group name: DATAC1
Size: 128 MB
Device path: /dev/exadata_quorum/QD_DATAC1_exa01dbadm02
Host name: exa01dbadm02
ASM disk group name: DATAC1
Size: 128 MB
[root@exa01dbadm01 oracle.SupportTools]#</code></pre><p><br /></p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# /opt/oracle.SupportTools/quorumdiskmgr --list --device
Device path: /dev/exadata_quorum/QD_DATAC1_exa01dbadm02
Host name: exa01dbadm02
ASM disk group name: DATAC1
Size: 128 MB
Device path: /dev/exadata_quorum/QD_DATAC1_exa01dbadm01
Host name: exa01dbadm01
ASM disk group name: DATAC1
Size: 128 MB
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p><br /></p><p>Now, check in the ASM instance if quorum disk devices are visible to ASM to be used for the DATAC1 diskgroup as below, we can see that quorum disk devices are available as CANDIDATE disks that we can add in to the diskgroup.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> l
1* SELECT inst_id, label, path, mode_status, header_status FROM gv$asm_disk WHERE path LIKE '/dev/exadata_quorum/%'
SQL> /
INST_ID LABEL PATH MODE_ST HEADER_STATU
---------- ------------------------------- ---------------------------------------------------------------------- ------- ------------
1 QD_DATAC1_exa01dbadm02 /dev/exadata_quorum/QD_DATAC1_exa01dbadm02 ONLINE CANDIDATE
1 QD_DATAC1_exa01dbadm01 /dev/exadata_quorum/QD_DATAC1_exa01dbadm01 ONLINE CANDIDATE
2 QD_DATAC1_exa01dbadm02 /dev/exadata_quorum/QD_DATAC1_exa01dbadm02 ONLINE CANDIDATE
2 QD_DATAC1_exa01dbadm01 /dev/exadata_quorum/QD_DATAC1_exa01dbadm01 ONLINE CANDIDATE
SQL></code></pre><p><br /></p><p><br /></p><p><br /></p><p>Add the quorum devices in to the diskgroup as below.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> ALTER DISKGROUP datac1 ADD QUORUM FAILGROUP exa01dbadm01 DISK '/dev/exadata_quorum/QD_DATAC1_exa01dbadm01'
QUORUM FAILGROUP exa01dbadm02 DISK '/dev/exadata_quorum/QD_DATAC1_exa01dbadm02'; 2
Diskgroup altered.
SQL></code></pre><p><br /></p><p>After disk addition, we can see that now these are parts of diskgroup and status is MEMBER.</p><p><br /></p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> SELECT inst_id, label, path, mode_status, header_status
FROM gv$asm_disk WHERE path LIKE '/dev/exadata_quorum/%'; 2
INST_ID LABEL PATH MODE_ST HEADER_STATU
---------- ------------------------------- ---------------------------------------------------------------------- ------- ------------
1 QD_DATAC1_exa01dbadm02 /dev/exadata_quorum/QD_DATAC1_exa01dbadm02 ONLINE MEMBER
1 QD_DATAC1_exa01dbadm01 /dev/exadata_quorum/QD_DATAC1_exa01dbadm01 ONLINE MEMBER
2 QD_DATAC1_exa01dbadm02 /dev/exadata_quorum/QD_DATAC1_exa01dbadm02 ONLINE MEMBER
2 QD_DATAC1_exa01dbadm01 /dev/exadata_quorum/QD_DATAC1_exa01dbadm01 ONLINE MEMBER
SQL></code></pre><p><br /></p><p><br /></p><p>Finally, replaced/moved the voting disks back to DATAC1 diskgroup and five copies of files are now available.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE cf9c32d1c0c34fafbf47caa1b77821b0 (o/10.0.0.5;10.0.0.6/DATAC1_CD_02_exad02cel01) [DATAC1]
2. ONLINE e2e61cd646224f08bf2c4c47e719e8fd (o/10.0.0.3;10.0.0.4/DATAC1_CD_05_exad02cel02) [DATAC1]
3. ONLINE 7691da5101a34f95bfc56c3bec4e681b (o/10.0.0.1;10.0.0.2/DATAC1_CD_03_exad02cel03) [DATAC1]
4. ONLINE 3dea97bdc5aa4f61bf0355abe31c1361 (/dev/exadata_quorum/QD_DATAC1_exa01dbadm02) [DATAC1]
5. ONLINE cc5671a086eb4f38bf5c690666099d66 (/dev/exadata_quorum/QD_DATAC1_exa01dbadm01) [DATAC1]
Located 5 voting disk(s).
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p>After CRS restart : I bounced the CRS on both nodes to check if things are coming up normally.</p><p><br /></p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE cf9c32d1c0c34fafbf47caa1b77821b0 (o/10.0.0.5;10.0.0.6/DATAC1_CD_02_exad02cel01) [DATAC1]
2. ONLINE e2e61cd646224f08bf2c4c47e719e8fd (o/10.0.0.3;10.0.0.4/DATAC1_CD_05_exad02cel02) [DATAC1]
3. ONLINE 7691da5101a34f95bfc56c3bec4e681b (o/10.0.0.1;10.0.0.2/DATAC1_CD_03_exad02cel03) [DATAC1]
4. ONLINE 3dea97bdc5aa4f61bf0355abe31c1361 (/dev/exadata_quorum/QD_DATAC1_exa01dbadm02) [DATAC1]
5. ONLINE cc5671a086eb4f38bf5c690666099d66 (/dev/exadata_quorum/QD_DATAC1_exa01dbadm01) [DATAC1]
Located 5 voting disk(s).
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p>Our missing quorum disk issue stands fixed here......!!</p><p><br /></p><p><br /></p><p><br /></p><p>Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.</p><p><br /></p><p>Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a></p><p>Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a></p><p>Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a></p><div><br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-59736752955089252192020-08-31T09:02:00.005+05:302020-08-31T09:02:56.886+05:30Removing the Quorum Disk Configuration in Exadata<p> </p><p>In this blog post, we would see how to remove quorum disks in Exadata machine. We have one 1/8th Rack Exadata machine for Lab activity where ran into missing quorum disks for Voting Disk and I had to fix that in order to get the system patched in Rolling fashion to maintain high availability.</p><p>To patch the Exadata system in rolling fashion, it requires voting disks to reside on HIGH redundancy diskgroup which is not possible in 1/8th Rack Exadata system since there is only 3 cell nodes in there, and for High redundancy it requires five copies of voting disk.</p><p><br /></p><p>So, in this scenario - we add a separate HDD drive on both compute nodes and share that between the nodes to be used for High redundancy diskgroup creation - there it comes the term "Quorum Disk"</p><p><br /></p><p>We have +DATAC1 diskgroup configured with HIGH redundancy where our voting disk resides but two of the quorum disks being used in there went missing so our voting disks had only three copies available and CRS was not coming up.</p><p><br /></p><p>I had to remove the quorum disks from both compute nodes and then configure it back to fix the issue.</p><p><br /></p><pre><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> l
1* select disk_number, GROUP_NUMBER, MOUNT_STATUS, HEADER_STATUS, MODE_STATUS, STATE, path from v$asm_disk where GROUP_NUMBER=1
SQL> /
DISK_NUMBER GROUP_NUMBER MOUNT_S HEADER_STATU MODE_ST STATE PATH
----------- ------------ ------- ------------ ------- -------- ----------------------------------------------------------------------
<span style="color: red;"><b> 2 1 MISSING UNKNOWN OFFLINE NORMAL
3 1 MISSING UNKNOWN OFFLINE NORMAL</b> </span>
14 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.1;10.0.0.2/DATAC1_CD_05_exad02cel03
13 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.1;10.0.0.2/DATAC1_CD_00_exad02cel03
15 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.1;10.0.0.2/DATAC1_CD_02_exad02cel03
7 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.1;10.0.0.2/DATAC1_CD_03_exad02cel03
8 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.1;10.0.0.2/DATAC1_CD_04_exad02cel03
0 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.1;10.0.0.2/DATAC1_CD_01_exad02cel03
4 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.3;10.0.0.4/DATAC1_CD_05_exad02cel02
16 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.3;10.0.0.4/DATAC1_CD_02_exad02cel02
17 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.3;10.0.0.4/DATAC1_CD_01_exad02cel02
5 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.3;10.0.0.4/DATAC1_CD_00_exad02cel02
6 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.3;10.0.0.4/DATAC1_CD_03_exad02cel02
11 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.3;10.0.0.4/DATAC1_CD_04_exad02cel02
19 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.5;10.0.0.6/DATAC1_CD_04_exad02cel01
1 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.5;10.0.0.6/DATAC1_CD_02_exad02cel01
18 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.5;10.0.0.6/DATAC1_CD_00_exad02cel01
9 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.5;10.0.0.6/DATAC1_CD_03_exad02cel01
12 1 CACHED MEMBER ONLINE NORMAL o/10.0.0.5;10.0.0.6/DATAC1_CD_01_exad02cel01<br /></code></pre></pre><p><br /></p><p>Due to missing quorum disk in the DATAC1 diskgroup, we have only three copies of voting disks available as of now.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 ~]# crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 94acaa401bd34fe0bf261af4437fc75e (o/10.0.0.5;10.0.0.6/DATAC1_CD_02_exad02cel01) [DATAC1]
2. ONLINE 7680d9f206544ff1bf27661bf8cc3250 (o/10.0.0.3;10.0.0.4/DATAC1_CD_05_exad02cel02) [DATAC1]
3. ONLINE b632f75fe4884f5cbf3627faa6bbbe07 (o/10.0.0.1;10.0.0.2/DATAC1_CD_03_exad02cel03) [DATAC1]
Located 3 voting disk(s).
[root@exa01dbadm02 ~]#</code></pre><p><br /></p><p>I moved the voting disks to +RECOC1 diskgroup which was configured with NORMAL REDUNDANCY.</p><p><br /></p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[oragrid@exa01dbadm01 ~]$ crsctl replace votedisk +RECOC1
Successful addition of voting disk 783e7633ea934fd0bff78c8b8dbe5a66.
Successful addition of voting disk a5cf9e2d99134f69bf6bb15c98044623.
Successful addition of voting disk d5d20cd6ff3e4fcdbf68df28cb18d030.
Successful deletion of voting disk 94acaa401bd34fe0bf261af4437fc75e.
Successful deletion of voting disk 7680d9f206544ff1bf27661bf8cc3250.
Successful deletion of voting disk b632f75fe4884f5cbf3627faa6bbbe07.
Successful deletion of voting disk e47d60407b054f3bbf5dc07df8080ee6.
Successfully replaced voting disk group with +RECOC1.
CRS-4266: Voting file(s) successfully replaced
[oragrid@exa01dbadm01 ~]$ crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 783e7633ea934fd0bff78c8b8dbe5a66 (o/10.0.0.5;10.0.0.6/RECOC1_CD_02_exad02cel01) [RECOC1]
2. ONLINE a5cf9e2d99134f69bf6bb15c98044623 (o/10.0.0.3;10.0.0.4/RECOC1_CD_02_exad02cel02) [RECOC1]
3. ONLINE d5d20cd6ff3e4fcdbf68df28cb18d030 (o/10.0.0.1;10.0.0.2/RECOC1_CD_02_exad02cel03) [RECOC1]
Located 3 voting disk(s).
[oragrid@exa01dbadm01 ~]$</code></pre><p><br /></p><p>Now we can go ahead and drop the missing quorum disks from the DATAC1 diskgroup forcefully.</p><p><br /></p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[oragrid@exa01dbadm01 ~]$ sqlplus "/as sysasm"
SQL*Plus: Release 12.2.0.1.0 Production on Thu Jul 30 12:06:27 2020
Copyright (c) 1982, 2016, Oracle. All rights reserved.
Connected to:
Oracle Database 12c Enterprise Edition Release 12.2.0.1.0 - 64bit Production
SQL>
SQL> set lines 300
SQL> ALTER DISKGROUP DATAC1 DROP QUORUM DISK QD_DATAC1_exa01dbadm01 FORCE;
Diskgroup altered.
SQL> ALTER DISKGROUP DATAC1 DROP QUORUM DISK QD_DATAC1_exa01dbadm02 FORCE;
Diskgroup altered.
SQL></code></pre><p><br /></p><p>Delete the quorum disk device from the node1 using quorumdiskmgr utility.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 ~]# cd /opt/oracle.SupportTools/
[root@exa01dbadm01 oracle.SupportTools]# ./quorumdiskmgr --delete --device
[Success] Successfully deleted device /dev/exadata_quorum/QD_DATAC1_exa01dbadm01.
[Success] Successfully deleted device /dev/exadata_quorum/QD_DATAC1_exa01dbadm02.
</code></pre><div><code><br /></code></div><p>Delete the quorum disk target from the node1 using quorumdiskmgr utility.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 oracle.SupportTools]# ./quorumdiskmgr --delete --target
[Success] Successfully removed target iqn.2015-05.com.oracle:qd--datac1--exa01dbadm01
[Success] Successfully removed backstore QD_DATAC1_exa01dbadm01
[Success] Successfully removed logical volume /dev/VGExaDb/LVDbVdexa01dbadm01DATAC1
</code></pre><div><code><br /></code></div><p><br /></p><p>Now delete quorum disk configuration from the node1.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm01 oracle.SupportTools]# ./quorumdiskmgr --delete --config
[Success] Successfully deleted quorum disk configurations
[root@exa01dbadm01 oracle.SupportTools]#</code></pre><p><br /></p><p><br /></p><p><br /></p><p>Now, delete the quorum disk device from node2.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 ~]# cd /opt/oracle.SupportTools/
[root@exa01dbadm02 oracle.SupportTools]# ./quorumdiskmgr --delete --device
[Success] Successfully deleted device /dev/exadata_quorum/QD_DATAC1_exa01dbadm01.
[Success] Successfully deleted device /dev/exadata_quorum/QD_DATAC1_exa01dbadm02.
</code></pre><div><code><br /></code></div><p>Delete quorum disk target from node2.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# ./quorumdiskmgr --delete --target
[Success] Successfully removed target iqn.2015-05.com.oracle:qd--datac1--exa01dbadm02
[Success] Successfully removed backstore QD_DATAC1_exa01dbadm02
[Success] Successfully removed logical volume /dev/VGExaDb/LVDbVdexa01dbadm02DATAC1
</code></pre><div><code><br /></code></div><p>Delete quorum disk configuration from node 2.</p><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "andale mono", "lucida console", monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@exa01dbadm02 oracle.SupportTools]# ./quorumdiskmgr --delete --config
[Success] Successfully deleted quorum disk configurations
[root@exa01dbadm02 oracle.SupportTools]#</code></pre><p><br /></p><p>At this point, we are done with removing the quorum disk configuration from our Exadata System, in next post, I would detail how we configure it in the system.</p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p>Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.</p><p><br /></p><p>Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a></p><p>Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a></p><p>Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a></p><div><br /></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-64097255138037578762020-05-31T21:36:00.002+05:302020-05-31T21:36:46.647+05:301Z0-1072 : Oracle Cloud Infrastructure 2019 Architect Associate<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Pleased to inform you all that I passed 1Z0-1072 : Oracle Cloud Infrastructure 2019 Architect Associate.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPVpcurgm9jF-HSGghapcN82VzZvIsEh2i1jIUNTUE9YaUCezXgZy51sk-ebi2Cxch0RksGTQqRbN5zQKf56hvLj1pDWPMFyY3O6IE3nj7BZ-q75PYGX2yc5fLwu26OXlyrBqQ4jNOVTk/s1600/Oracle+Cloud+Infrastructure+2019+Certified+Architect+Associate.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="862" data-original-width="1136" height="484" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjPVpcurgm9jF-HSGghapcN82VzZvIsEh2i1jIUNTUE9YaUCezXgZy51sk-ebi2Cxch0RksGTQqRbN5zQKf56hvLj1pDWPMFyY3O6IE3nj7BZ-q75PYGX2yc5fLwu26OXlyrBqQ4jNOVTk/s640/Oracle+Cloud+Infrastructure+2019+Certified+Architect+Associate.PNG" width="640" /></a></div>
<br />
<br />
It's generosity of Oracle that it made its official training videos of "Cloud Infrastructure 2019 Architect Associate" public and also offered to appear for the exam at free of cost in this time of pandemic crisis around the globe, it given us an opportunity to learn and scale our skills to enhance our career as well as expanding our area of expertise.<br />
<br />
<br />
<br />
<br />
At this time of writing, Oracle has offered multiple Oracle cloud related training and certifications at free of cost, <b><i><span style="color: red;"><a href="https://rajkumar-dba.blogspot.com/2020/04/free-oracle-oci-and-autonomous-database.html" target="_blank">click here</a></span></i></b> to know all those which is available in the list as of now - or you can<br />
<b><i><br /></i></b>
<b><i><a href="https://learn.oracle.com/ols/learning-path/become-oci-architect-associate/35644/75658" target="_blank"><span style="color: red;">Click here</span></a></i></b> to directly go to the OCI Associate training videos and start learning the new.<br />
<br />
<br />
<b><i><a href="http://ilearning.oracle.com/ilearn/en/learner/jsp/player.jsp?rco_id=2453283871&classroom_id=2453405669&scorm_attempt=1590940065803&sessionId=17800759181590940065805" target="_blank"><span style="color: red;">Click here</span></a></i></b> for the practice exam.<br />
<br />
<br />
<b><i><a href="https://www.oracle.com/a/ocom/docs/oci-architect-associate-certification-2020-study-guide.pdf" target="_blank"><span style="color: red;">Click here</span></a></i></b> for Oracle Cloud Infrastructure (OCI) Architect Associate exam 2019 (1Z0-1072)
StudyGuide<br />
<br />
<br />
<br />
<b><u>Certification Details</u></b><br />
<b>Certification name</b>: 1Z0-1072 - Oracle Cloud Infrastructure 2019 Architect Associate<br />
<b>Target audience</b>: Designed for professionals responsible for designing infrastructure solutions using Oracle Cloud Infrastructure services<br />
<b>Exam price</b>: $150<br />
<b>Format</b>: Multiple choice<br />
<b>Duration</b>: 105 minutes<br />
<b>Number of questions</b>: 66<br />
<b>Passing score</b>: 65%<br />
<div>
<br /></div>
<div>
<br /></div>
<div>
I encourage you to utilize this opportunity and learn and add new skills in your professional profile.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a></div>
<div>
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a></div>
<div>
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a></div>
</div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7727371728449103841.post-82320287485672396402020-05-13T23:49:00.002+05:302020-05-13T23:49:35.071+05:30Oracle Cloud Infrastructure vs. AWS<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<h2 style="-webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); background-color: #243a43; background-repeat: no-repeat; box-sizing: border-box; color: white; font-family: OracleSansVF, OracleSansVFCyGr, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; font-size: calc(0.847458vw + 28.4746px); font-weight: 200; line-height: 1.15; list-style: none; margin: 0px 0px 0.55em; padding: 0px; width: 665.844px;">
Oracle Cloud Infrastructure vs. AWS</h2>
<br />
Read here to know great insights on how Oracle Cloud Infrastructure services price are much cheaper with greater performance as compared to AWS Cloud services.<br />
<br />
<br />
<br />
Read here - <a href="https://www.oracle.com/cloud/economics/">https://www.oracle.com/cloud/economics/</a><br />
<br />
<br />
<br />
<br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
<br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
<br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a><br />
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-79235270131089090992020-04-25T20:46:00.000+05:302020-04-25T20:46:19.842+05:30Free Oracle OCI and Autonomous Database training & Certification<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
As most of the Oracle enthusiasts are aware of free Oracle Cloud Infrastructure and Autonomous database training and certifications being offered by Oracle until 15th May 2020, you must start your learning today and don't miss your train.<br />
<br />
Oracle has given one of the best gift to all Oracle aspirants to learn new skills and earn the valuable certificate for free of cost - it is BIG gift.<br />
<br />
Make a target, when you come out of this pandemic lock-down, you have new skills to show to your employer.<br />
<br />
<br />
<br />
Below are the list of free Oracle cloud training one would be interested to learn.<br />
<br />
<br />
<ul class="obullets" style="-webkit-font-smoothing: antialiased; background-color: white; color: #504c47; font-family: OracleSansVF, OracleSansVFCyGr, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif; font-size: 16px; list-style: none; margin: 0px 0px 0px 40px; padding: 0px;">
<li style="-webkit-font-smoothing: antialiased; background: url("https://www.oracle.com/asset/web/i/obullet.png") 4px 6px no-repeat transparent; display: table; list-style: none; margin: 0px; padding: 0px 0px 0.75em 20px;"><a href="https://learn.oracle.com/ols/learning-path/become-an-autonomous-database-specialist/35573/55666" style="-webkit-font-smoothing: antialiased; color: #00688c; list-style: none; margin: 0px; padding: 0px; text-decoration-line: none;">Oracle Autonomous Database Specialist</a></li>
<li style="-webkit-font-smoothing: antialiased; background: url("https://www.oracle.com/asset/web/i/obullet.png") 4px 6px no-repeat transparent; display: table; list-style: none; margin: 0px; padding: 0px 0px 0.75em 20px;"><a href="https://learn.oracle.com/ols/learning-path/understand-oci-foundations/35644/75258" style="-webkit-font-smoothing: antialiased; color: #00688c; list-style: none; margin: 0px; padding: 0px; text-decoration-line: none;">Oracle Cloud Infrastructure Foundations Associate</a></li>
<li style="-webkit-font-smoothing: antialiased; background: url("https://www.oracle.com/asset/web/i/obullet.png") 4px 6px no-repeat transparent; display: table; list-style: none; margin: 0px; padding: 0px 0px 0.75em 20px;"><a href="https://learn.oracle.com/ols/learning-path/manage-oci-operations-associate/35644/60972" style="-webkit-font-smoothing: antialiased; color: #00688c; list-style: none; margin: 0px; padding: 0px; text-decoration-line: none;">Oracle Cloud Infrastructure Cloud Operations Associate</a></li>
<li style="-webkit-font-smoothing: antialiased; background: url("https://www.oracle.com/asset/web/i/obullet.png") 4px 6px no-repeat transparent; display: table; list-style: none; margin: 0px; padding: 0px 0px 0.75em 20px;"><a href="https://learn.oracle.com/ols/learning-path/become-oci-developer-associate/35644/75248" style="-webkit-font-smoothing: antialiased; color: #00688c; list-style: none; margin: 0px; padding: 0px; text-decoration-line: none;">Oracle Cloud Infrastructure Developer Associate</a></li>
<li style="-webkit-font-smoothing: antialiased; background: url("https://www.oracle.com/asset/web/i/obullet.png") 4px 6px no-repeat transparent; display: table; list-style: none; margin: 0px; padding: 0px 0px 0.75em 20px;"><a href="https://learn.oracle.com/ols/learning-path/become-oci-architect-associate/35644/75658" style="-webkit-font-smoothing: antialiased; color: #00688c; list-style: none; margin: 0px; padding: 0px; text-decoration-line: none;">Oracle Cloud Infrastructure Architect Associate</a></li>
<li style="-webkit-font-smoothing: antialiased; background: url("https://www.oracle.com/asset/web/i/obullet.png") 4px 6px no-repeat transparent; display: table; list-style: none; margin: 0px; padding: 0px 0px 0.75em 20px;"><a href="https://learn.oracle.com/ols/learning-path/become-oci-architect-professional/35644/35802" style="-webkit-font-smoothing: antialiased; color: #00688c; list-style: none; margin: 0px; padding: 0px; text-decoration-line: none;">Oracle Cloud Infrastructure Architect Professional</a></li>
</ul>
<br />
<br />
<br />
It is just weeks away when you would miss this wonderful opportunity since the offer is only valid till 15th May 2020, just login to your oracle account, click on one of the training listed above and it would direct you to the training videos page.<br />
<br />
Once finished with all the videos, you should have good understanding of the subject, do complete exam practice questionnaire and book for your certification slot from the next section on the training videos page itself - this way you get to PearsonVue site get your exam booked for free.<br />
<br />
Please make a note that you need to book your exam through the training site, and don't go directly to pearsonvue, otherwise you won't get it for free.<br />
<br />
<br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a><br />
<br />
<br />
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-77217508341205693182020-04-15T03:34:00.000+05:302020-04-15T03:34:09.813+05:30Oracle Critical Patch Update for April 2020 is out today<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
Oracle Critical Patch Update for April 2020<br />
===============================<br />
<br />
<br />
<br />
<div class="MsoNormal">
<span class="tmptextedtr"><span style="color: black; font-family: "Arial",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">Critical Patch Update Advisories are available at the following
location:</span></span><span style="color: black; font-family: "Arial",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";"><br />
<br />
<span class="tmptextedtr">Oracle Technology Network: <a href="http://app.response.oracle-mail.com/e/er?elq_mid=159544&sh=0926171606142609160608192604261926101908341005&cmid=SPPT200220P00029&s=1973398186&lid=406135&elqTrackId=6033859f3fb842ac83a91847ab2af050&elq=82d34e8176aa4360a377f82796d7d6ab&elqaid=159544&elqat=1" target="_blank"><span style="color: #00758f; text-decoration: none; text-underline: none;">https://www.oracle.com/security-alerts/</span></a></span><br />
<br />
<span class="tmptextedtr">Oracle Cloud Customers should review: </span><br />
<span class="tmptextedtr"><a href="http://app.response.oracle-mail.com/e/er?elq_mid=159544&sh=0926171606142609160608192604261926101908341005&cmid=SPPT200220P00029&s=1973398186&lid=406115&elqTrackId=6b1da767dc1c4022bde23e442a89c18e&elq=82d34e8176aa4360a377f82796d7d6ab&elqaid=159544&elqat=1" target="_blank"><span style="color: #00758f; text-decoration: none; text-underline: none;">https://www.oracle.com/security-alerts/#cloud</span></a> </span><br />
<br />
<span class="tmptextedtr">The Critical Patch Update Advisory for April 2020 is
available at the following location:</span><br />
<br />
<span class="tmptextedtr">Oracle Technology Network: </span><br />
<span class="tmptextedtr"><a href="http://app.response.oracle-mail.com/e/er?elq_mid=159544&sh=0926171606142609160608192604261926101908341005&cmid=SPPT200220P00029&s=1973398186&lid=406134&elqTrackId=8155d94acabc4c8cab02b0a10f637479&elq=82d34e8176aa4360a377f82796d7d6ab&elqaid=159544&elqat=1" target="_blank"><span style="color: #00758f; text-decoration: none; text-underline: none;">https://www.oracle.com/security-alerts/cpuapr2020.html</span></a></span><br />
<br />
<span class="tmptextedtr">Important information can also be found at: </span><br />
<span class="tmptextedtr"><a href="http://app.response.oracle-mail.com/e/er?elq_mid=159544&sh=0926171606142609160608192604261926101908341005&cmid=SPPT200220P00029&s=1973398186&lid=406133&elqTrackId=e072ee5baa1544139e0d6fe379aac348&elq=82d34e8176aa4360a377f82796d7d6ab&elqaid=159544&elqat=1" target="_blank"><span style="color: #00758f; text-decoration: none; text-underline: none;">https://blogs.oracle.com/security/</span></a></span><br />
<br />
<span class="tmptextedtr">Oracle's Security Fixing Policies are available at the
following location:</span><br />
<br />
<span class="tmptextedtr"><a href="http://app.response.oracle-mail.com/e/er?elq_mid=159544&sh=0926171606142609160608192604261926101908341005&cmid=SPPT200220P00029&s=1973398186&lid=406132&elqTrackId=9614250a66fd4f48a846531ff4d0811a&elq=82d34e8176aa4360a377f82796d7d6ab&elqaid=159544&elqat=1" target="_blank"><span style="color: #00758f; text-decoration: none; text-underline: none;">https://www.oracle.com/corporate/security-practices/assurance/vulnerability/security-fixing.html</span></a></span><br />
<br />
<span class="tmptextedtr">The next four dates for Critical Patch Updates are:</span></span><span class="tmptextedtr"><span style="color: black; font-family: "Arial",sans-serif; font-size: 12.0pt;"><o:p></o:p></span></span></div>
<ul type="disc">
<li class="MsoNormal" style="mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span style="color: black; font-family: "Arial",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">July 14, 2020</span><o:p></o:p></li>
<li class="MsoNormal" style="color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span style="font-family: "Arial",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">October 20, 2020<o:p></o:p></span></li>
<li class="MsoNormal" style="color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span style="font-family: "Arial",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">January 19, 2021<o:p></o:p></span></li>
<li class="MsoNormal" style="color: black; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list 36.0pt;"><span style="font-family: "Arial",sans-serif; font-size: 12.0pt; mso-fareast-font-family: "Times New Roman";">April 20, 2021<o:p></o:p></span></li>
</ul>
<br /><br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a><br />
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-34299746238944046552020-03-07T10:23:00.002+05:302020-03-07T10:23:34.609+05:30Creating Pluggable Database using OEM<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
Here in this article, I would demonstrate how we can create a new Pluggable Database using Oracle Enterprise Manager 13c.<br />
<br />
<br />
1 - Login to the Oracle Enterprise Manager to go the Container Database target Home Page in which you want to create the new Pluggable Database.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1GYibrMGdZ1q-SuMWD0MnWazUapoymH__Wq1fdJyovMEELLlCz_D6wDNASfKqQk0Z8Ixch3m7AUXoclZMk6EvtSM_SdD96CzMPyiVDVx6Ys3f9qA2fv8KtieZi64cjc6nR0k80ziKXTI/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="328" data-original-width="830" height="252" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg1GYibrMGdZ1q-SuMWD0MnWazUapoymH__Wq1fdJyovMEELLlCz_D6wDNASfKqQk0Z8Ixch3m7AUXoclZMk6EvtSM_SdD96CzMPyiVDVx6Ys3f9qA2fv8KtieZi64cjc6nR0k80ziKXTI/s640/01.png" width="640" /></a></div>
<br />
<br />
<br />
<br />
2 - From the drop-down Menu of Cluster Database, Navigate to <b>Provisioning > Provision Pluggable Databases.</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd1mIJ96jTRZfBDluSpPNHhiJZnyUktB9Ed4RNhUIHTuZUKGUixJ7bZFHmx8mi8_77DKi1d0GX3E28kGnr2vw3PPjybMj2cIzHgSnLlc2TutUuiAEbicnMBB5IRN9r_xxL_gi0VEa4CTc/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="823" data-original-width="812" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd1mIJ96jTRZfBDluSpPNHhiJZnyUktB9Ed4RNhUIHTuZUKGUixJ7bZFHmx8mi8_77DKi1d0GX3E28kGnr2vw3PPjybMj2cIzHgSnLlc2TutUuiAEbicnMBB5IRN9r_xxL_gi0VEa4CTc/s640/02.png" width="630" /></a></div>
<br />
<br />
3 - <b>Create Pluggable Database : Creation Options</b> page opens, Select "<b>Create a new PDB</b>" and provide oracle software owner credentials in the "<b>Host Credentials"</b> property. Click <b>Next</b>.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Z56m-sc8hIVHF6yzHQzQ0Jx_SwwoWDswqaPxrDxLDBjyKkdED2nXRW-vir-yumxOsGQ8LHPhsFeFAQZNcu2rBoGZv3kMhKw9JRC5tM3btfnlBSz0NJAxB5R9QYsggF5DDZVEpghU38/s1600/04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="705" data-original-width="1600" height="282" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiv8Z56m-sc8hIVHF6yzHQzQ0Jx_SwwoWDswqaPxrDxLDBjyKkdED2nXRW-vir-yumxOsGQ8LHPhsFeFAQZNcu2rBoGZv3kMhKw9JRC5tM3btfnlBSz0NJAxB5R9QYsggF5DDZVEpghU38/s640/04.png" width="640" /></a></div>
<br />
<br />
<br />
Click <b>Next</b>.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE7QDlcNDSROalRk8G92YDEH3QjlK4TZDdb7y7Z4XBCjbVIGY7LlkNeKFGt8uSPH99Km7elGzi2-3IuImjd8-puv7sQWHyQip_V2ZhCDaySVZ5PRUo6IO-zq92lUxUMhbAsuiNm1vXUkw/s1600/06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="691" data-original-width="1600" height="276" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiE7QDlcNDSROalRk8G92YDEH3QjlK4TZDdb7y7Z4XBCjbVIGY7LlkNeKFGt8uSPH99Km7elGzi2-3IuImjd8-puv7sQWHyQip_V2ZhCDaySVZ5PRUo6IO-zq92lUxUMhbAsuiNm1vXUkw/s640/06.png" width="640" /></a></div>
<br />
<br />
<br />
It validates the /tmp directory space on the nodes being provisioned.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0Gm_UVJIN06z9wZwrLfeyjgK_ONV9pxP56tRVXEh1sVJmUmQZkIhI9Xj_qvFV4A8gaYGpvpbPf-WpDCWtSoRD3GJgGnK2xTqkIEEuwZxDMEtKcNUHFn_fJlCczyoYTSzjL91puuRL4EQ/s1600/07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="461" data-original-width="932" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0Gm_UVJIN06z9wZwrLfeyjgK_ONV9pxP56tRVXEh1sVJmUmQZkIhI9Xj_qvFV4A8gaYGpvpbPf-WpDCWtSoRD3GJgGnK2xTqkIEEuwZxDMEtKcNUHFn_fJlCczyoYTSzjL91puuRL4EQ/s640/07.png" width="640" /></a></div>
<br />
<br />
You can schedule the provision date/time or you can just start the job right away with immediate option.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkXPe_l1AY4FybAdWr2FKLlhBp97gLrTxi7RHSeWzwoseYDOT-avulh3rD4uJM6KTmayke9RG7rMv5FDxTdSb-39r_S4wO7TtGyJtRmWw_ZWmFwzUrUW-Z3si3hbQKTbEhGFJpPFE4Z6Y/s1600/08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="341" data-original-width="1600" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkXPe_l1AY4FybAdWr2FKLlhBp97gLrTxi7RHSeWzwoseYDOT-avulh3rD4uJM6KTmayke9RG7rMv5FDxTdSb-39r_S4wO7TtGyJtRmWw_ZWmFwzUrUW-Z3si3hbQKTbEhGFJpPFE4Z6Y/s640/08.png" width="640" /></a></div>
<br />
<br />
You can monitor the CreatePluggableDatabase job progress - Click on "View Execution Details" tab to monitor the progress.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFK6AgQsEZEH0dZgTdvA_Tof7qlmbipAtYwQ_xmQ41VjCCZ2bqj2cI7hfVWGLsH-ReMuf_kqV8CK0aAhA4t6cQBK1GrDqsxtF_EppJGaZT8WdjBtnm9HY5LbycQIzxeUqH6eqinyvHer0/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="264" data-original-width="567" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiFK6AgQsEZEH0dZgTdvA_Tof7qlmbipAtYwQ_xmQ41VjCCZ2bqj2cI7hfVWGLsH-ReMuf_kqV8CK0aAhA4t6cQBK1GrDqsxtF_EppJGaZT8WdjBtnm9HY5LbycQIzxeUqH6eqinyvHer0/s640/10.png" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-rMj1IKSpi_GwUJpIDCtgZnw3LKHr5chom1sn59_om3VXKWCYtSjwyuoA_JmswWj0PWODHtWFGecBjgx9tkULGhRM78TPzTTB0_GrmEjmy7pbwBGWNW6-903rcu30FYZHCN115bvG5cU/s1600/11.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="720" data-original-width="1600" height="286" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-rMj1IKSpi_GwUJpIDCtgZnw3LKHr5chom1sn59_om3VXKWCYtSjwyuoA_JmswWj0PWODHtWFGecBjgx9tkULGhRM78TPzTTB0_GrmEjmy7pbwBGWNW6-903rcu30FYZHCN115bvG5cU/s640/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/AVvXsEh8ZXeMEEyz94BaWsZ7CrRriEEr0nr11eWJ8VH37sjog45pHj-SQh8h5fj43bRD0rkMl4d3EAe0KmjeKE8GAO8H5hG9Tg7bGFx6P-pE2J7GjGyLZja0ZKt4brCZ82Kp8w58aQT7XbyH1Qg/s1600/12.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="821" data-original-width="1422" height="368" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh8ZXeMEEyz94BaWsZ7CrRriEEr0nr11eWJ8VH37sjog45pHj-SQh8h5fj43bRD0rkMl4d3EAe0KmjeKE8GAO8H5hG9Tg7bGFx6P-pE2J7GjGyLZja0ZKt4brCZ82Kp8w58aQT7XbyH1Qg/s640/12.PNG" width="640" /></a></div>
<br />
<br />
Provisioning job's status now "Succeeded" and you are done with provisioning. You can validate the PDB status in OEM or by logging to the Container CDB at the host.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-42125102846439443742020-03-06T20:32:00.002+05:302020-03-06T20:32:49.749+05:30DBCS - Database Cloud Service Patching<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
Here in this article, I would summarize how easily we can do the "Database Cloud Service" patching online just via few clicks from the "Oracle Cloud Service Console".<br />
<br />
<br />
Login to the Cloud Console and go to the DBCS instance page.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZfM_z0GPyVmSUkX0z1XphcBaS3-toJq38eO2uCZq96031eKtiK3DGYWgSD58p9QO2nt9mTatyhydBsrjGXYifw93uylYyGeBR5J6cHSE3krd0jbtZqHrfrg2FLGT19HX9CGLO4ZkT4kA/s1600/01.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="837" data-original-width="1566" height="342" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZfM_z0GPyVmSUkX0z1XphcBaS3-toJq38eO2uCZq96031eKtiK3DGYWgSD58p9QO2nt9mTatyhydBsrjGXYifw93uylYyGeBR5J6cHSE3krd0jbtZqHrfrg2FLGT19HX9CGLO4ZkT4kA/s640/01.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Click on the DBCS instance you want to patch, <b>Instance Overview</b> page opens. In my below example, there is a primary and standby Cloud instances.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhskl8Kg__p0drrcS2W3HoYwGhqfpRjbQ_j9adlbS-Fis3HVVKKBKPukbHW22uN2RRJZrx9yfQJVWO1BLUnWMZSg6RxGzGFn9ISd6JCMDrXcrhMf-tUGk2pUnsol14VjNikOE3T4iA8mTE/s1600/02.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="904" data-original-width="1301" height="444" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhskl8Kg__p0drrcS2W3HoYwGhqfpRjbQ_j9adlbS-Fis3HVVKKBKPukbHW22uN2RRJZrx9yfQJVWO1BLUnWMZSg6RxGzGFn9ISd6JCMDrXcrhMf-tUGk2pUnsol14VjNikOE3T4iA8mTE/s640/02.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
At left side, click on the "<b>Administration</b>" tab, Patching page opens up which has list of all Available Patches for the underline DBCS instance.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCpLJMF9be6nf_n5JYAIfv1SkYQ2wNwWjA30cZpXgxocvZuuugDLR_t03iUvUtQNXdPwwdZ1_ooVWVZssIMxMsKWABTk4Q4ywVY0jos0_THUBZ1SruwyN7rSMKEhWyRdxhLuBsRPi2m34/s1600/03.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="790" data-original-width="1600" height="316" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCpLJMF9be6nf_n5JYAIfv1SkYQ2wNwWjA30cZpXgxocvZuuugDLR_t03iUvUtQNXdPwwdZ1_ooVWVZssIMxMsKWABTk4Q4ywVY0jos0_THUBZ1SruwyN7rSMKEhWyRdxhLuBsRPi2m34/s640/03.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
Choose the right PSU Update and click on the right side hamburger sign, and click on Patch prechecks. Once you click on the pre-checks, it confirms if the patch is downloadable and /u01 mount on the DBCS instance host has enough free space available.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7Fw2sPAgoBU86S7w9lwzIzXRFLRVunL7CpkIXhe0VR7efHxcWRq3nuT63yQTxputsmw1wxxdXmcUVykyZyIrCzqQrEyEwMAOAGUGPrbCQ_DCXuQD49F56JDli-KvaOYkwxexHbNAiVF8/s1600/04.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="732" data-original-width="1380" height="338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7Fw2sPAgoBU86S7w9lwzIzXRFLRVunL7CpkIXhe0VR7efHxcWRq3nuT63yQTxputsmw1wxxdXmcUVykyZyIrCzqQrEyEwMAOAGUGPrbCQ_DCXuQD49F56JDli-KvaOYkwxexHbNAiVF8/s640/04.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
You can navigate through "Activity" tab to see the pre-check detail steps.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_SZukPHTjw128eWTOZ1r1VCkSTC0wLbFarn8gZK60iKud_pB2_wzM80YmzYkHjkgGUHIzG0uN4MslsvZ3eRtF-yEX3msjO8q-KQAzTFAeuEIQpNIq_UBTBQa0kz5M_JrNrContDiI6D0/s1600/05.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="769" data-original-width="1073" height="458" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_SZukPHTjw128eWTOZ1r1VCkSTC0wLbFarn8gZK60iKud_pB2_wzM80YmzYkHjkgGUHIzG0uN4MslsvZ3eRtF-yEX3msjO8q-KQAzTFAeuEIQpNIq_UBTBQa0kz5M_JrNrContDiI6D0/s640/05.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Once the pre-check completes, then initiates the actual patching job, it asks for the Patching Notes and choose whether you want to patch with "Switch-over" so there is no down-time.<br />
<br />
<br />
The node hosting the standby database is patched first. A switchover operation is performed after patching is complete on the standby and then the patch is applied to the node hosting the new<br />
standby.<br />
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
If you want errors to be ignored during the patching operation, select the Force apply patch option. Then, click Patch.<br />
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLnkRGf_jZuiMZjGiIcCW3xTtOggZJ4-awNVETeGGSr7sJxiSGxKNhTDXmcIiju3dOgpnczlbE-ueRPLhVfFkawOqFDeWbD_Y1Qae93GHc6FIoLrEv9EZBmHrxi9G5vvFN0sr1mX-18mQ/s1600/06.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="775" data-original-width="1460" height="338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiLnkRGf_jZuiMZjGiIcCW3xTtOggZJ4-awNVETeGGSr7sJxiSGxKNhTDXmcIiju3dOgpnczlbE-ueRPLhVfFkawOqFDeWbD_Y1Qae93GHc6FIoLrEv9EZBmHrxi9G5vvFN0sr1mX-18mQ/s640/06.png" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz65BCtD1S65XCbm9NtIoOUJi1rMTyPvb8Dzm7tUk_HoELiKQMcev7ck9fHwaU7NKdnXlxf3CkeArhSs6HN718xYCXR8QYo7-ETRGLakcEO2cyDDX9f3WIiyOqM9TBXIRQAPTB68BLUAM/s1600/07.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="793" data-original-width="1117" height="452" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz65BCtD1S65XCbm9NtIoOUJi1rMTyPvb8Dzm7tUk_HoELiKQMcev7ck9fHwaU7NKdnXlxf3CkeArhSs6HN718xYCXR8QYo7-ETRGLakcEO2cyDDX9f3WIiyOqM9TBXIRQAPTB68BLUAM/s640/07.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVAXx6iJZw_yCL2TzUYyBhPn0B0Ts9krt8BPKIsuEgbZb_COW33ST3ILIIvUdsakMqKiU1jkGKcZjb65NBQsr_UpM0x-cwmdfXKKaL92n0o-T4b5Ii4C_WF70rLODgSCmfgBM-7ia2m_o/s1600/08.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="703" data-original-width="1043" height="430" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiVAXx6iJZw_yCL2TzUYyBhPn0B0Ts9krt8BPKIsuEgbZb_COW33ST3ILIIvUdsakMqKiU1jkGKcZjb65NBQsr_UpM0x-cwmdfXKKaL92n0o-T4b5Ii4C_WF70rLODgSCmfgBM-7ia2m_o/s640/08.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp7oN09Q5Sub6CSpyUvBfT9Q66_wm1JZuuH2igMoI4jALCm1cbOoYoipEy-wikCZrj7ljwwrz3EQXtgLfIxz4EcuMqvd_0N4YBql7FVhs4cwTUOQ3dyIpBJjEMLAmTB8YaMj3eCOGobvw/s1600/09.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="589" data-original-width="1116" height="336" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgp7oN09Q5Sub6CSpyUvBfT9Q66_wm1JZuuH2igMoI4jALCm1cbOoYoipEy-wikCZrj7ljwwrz3EQXtgLfIxz4EcuMqvd_0N4YBql7FVhs4cwTUOQ3dyIpBJjEMLAmTB8YaMj3eCOGobvw/s640/09.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEZf1F22vkb9QV-ypc8L9wrLRQpUD96AMbfZ5SsUwvWmIEL9JxafjQOvGTJUG1pNinhfmA0Tz9seA3BVpWwjoBLRCaOLTbrm7dKVlaExZj-TL0imgjh2ZmqGNdKTA_ypmSPouddFG19y0/s1600/10.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="719" data-original-width="1100" height="418" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgEZf1F22vkb9QV-ypc8L9wrLRQpUD96AMbfZ5SsUwvWmIEL9JxafjQOvGTJUG1pNinhfmA0Tz9seA3BVpWwjoBLRCaOLTbrm7dKVlaExZj-TL0imgjh2ZmqGNdKTA_ypmSPouddFG19y0/s640/10.png" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a><br />
<div>
<br /></div>
<div>
<br /></div>
<br />
<br />
<br />
<br />
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-2041950747709427522020-03-05T19:52:00.000+05:302020-03-05T20:05:26.646+05:30Oracle Cloud Infrastructure Cloud Shell<div dir="ltr" style="text-align: left;" trbidi="on">
<div>
<br /></div>
<div>
One of the most awaited feature every Oracle Cloud Admin, developers were waiting for is now released by Oracle - Oracle Cloud Infrastructure "Cloud Shell". Cloud Shell is a web based browser terminal accessible from the Oracle Cloud console.</div>
<div>
<br /></div>
<div>
Cloud Shell provides Linux shell with a pre-authenticated OCI CLI. This feature is available for all Oracle Cloud users and accessible from console. </div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
Cloud Shell provides:</div>
<div>
<br /></div>
<div>
* An ephemeral machine to use as a host for a Linux shell, pre-configured with the latest version of the OCI Command Line Interface (CLI) and a number of useful tools</div>
<div>
<br /></div>
<div>
* 5GB of storage for your home directory</div>
<div>
<br /></div>
<div>
* A persistent frame of the Console which stays active as you navigate to different pages of the console</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<b>Following are the Tools Included With Cloud Shell</b>:</div>
<div>
<br /></div>
<div>
Cloud Shell is a small Linux virtual machine. In addition to the OCI CLI, the Cloud Shell VM comes with current versions of several useful tools and utilities pre-installed, including:</div>
<div>
<br /></div>
<div>
> Git</div>
<div>
> Java</div>
<div>
> Python (2 and 3)</div>
<div>
> SQL Plus</div>
<div>
> kubectl</div>
<div>
> helm</div>
<div>
> maven</div>
<div>
> gradle</div>
<div>
> terraform</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
TO start the OCI Cloud Shell, you just have to click on Cloud Shell icon just left to the console notification bell icon at the right top.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC63_7u-AbRcsPFliId0zHZbPCQzrGPal6JBs9wTXMIi7ERqPdwUxtK95ojc761MO1pNl_FINYXBGs4Jt2-tfiN3UB29ydimqRtY7lc626_ynMVmuXSgAW6q2ZuMKy9rL0Ow1vhLNGuZI/s1600/01.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="728" data-original-width="1600" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC63_7u-AbRcsPFliId0zHZbPCQzrGPal6JBs9wTXMIi7ERqPdwUxtK95ojc761MO1pNl_FINYXBGs4Jt2-tfiN3UB29ydimqRtY7lc626_ynMVmuXSgAW6q2ZuMKy9rL0Ow1vhLNGuZI/s640/01.JPG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
Once you click on the Cloud Shell, a small Linux virtual machine gets created that is equipped with latest oci cli and other various tools listed above and finally you are ready to interact with Oracle Cloud resources from the web-based terminal.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghXj7YGhzrm8x2NLbE2fMvlFJ242wPyUT6NyI9tstw0ET2S4Lcwv0geR-Qo8ZMrADBFOB_jscBMde5XKb4uKnBFZ8r5deVfjeClU6vR9sO4PI6wpg88nhVWU5xaGdEkbuqhKw7Fti_SDU/s1600/02.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="661" data-original-width="1600" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEghXj7YGhzrm8x2NLbE2fMvlFJ242wPyUT6NyI9tstw0ET2S4Lcwv0geR-Qo8ZMrADBFOB_jscBMde5XKb4uKnBFZ8r5deVfjeClU6vR9sO4PI6wpg88nhVWU5xaGdEkbuqhKw7Fti_SDU/s640/02.JPG" width="640" /></a></div>
<div>
<br /></div>
<div>
<br />
<br />
To allow a group of users to use the Cloud Shell, you need to create an IAM policy for this so that all users in that group can use it.<br />
<br />
<pre class="scrollcopy" style="background: rgb(255, 255, 255); border-radius: 3px; border: 1px solid rgb(196, 206, 215); font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 0.875rem; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1.5; margin-bottom: 20px; overflow: auto; padding: 38px 10px 10px; tab-size: 4;"><span style="color: #666666;">allow group </span><i><span style="color: red;">group_name</span></i><span style="color: #666666;"> to use cloud-shell in tenancy</span></pre>
<br />
<br /></div>
<div>
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-83055360931559506992020-03-05T10:18:00.000+05:302020-03-05T10:22:50.750+05:30Oracle Cloud Infrastructure OS Management<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Oracle Cloud Infrastructure OS Management service provides simple and very robust tool for general operation system maintenance activities for the compute instances running on Oracle Cloud OCI.<br />
<br />
Using this OS management service, you can monitor the packages installed on compute instances, you can do the linux packages maintenance works i.e. adding/installing new packages, removing the existing packages or updating the existing one when that becomes available to its public yum repository.<br />
<br />
OS management service is not enabled by default. It is an agent based service that you have to enable by installing osms-agent agent on the underline compute node.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc5UrxQg2YBA1uWIvMLJvg5LHmAOU67UIDnlOKnm0S0_1IYP5R_UEEgIc_3LRYTZ3TCIsmwZmVQh9rGHm_HXysntMvSDg7DH6tMFNK-pUthkdNVBlmbgqjK3g_i-NSaCi6KIgt2HgdoyM/s1600/001.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="561" data-original-width="1600" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhc5UrxQg2YBA1uWIvMLJvg5LHmAOU67UIDnlOKnm0S0_1IYP5R_UEEgIc_3LRYTZ3TCIsmwZmVQh9rGHm_HXysntMvSDg7DH6tMFNK-pUthkdNVBlmbgqjK3g_i-NSaCi6KIgt2HgdoyM/s640/001.JPG" width="640" /></a></div>
<br />
<br />
<br />
All compute instances which has enabled osms-agent installed is called managed instance. You can manage the managed instances individually or you can group the managed instances and do the bulk maintenance but all the managed instances in the group must have same OS and version.<br />
<br />
For detailed learning and understanding of the OS Management service -<span style="color: red;"><b> <i><a href="https://docs.cloud.oracle.com/en-us/iaas/os-management/index.html" target="_blank">click here</a></i></b>.</span><br />
<br />
<br />
<br />
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-32576399116616314252020-02-17T14:01:00.003+05:302020-02-17T14:01:40.556+05:30Oracle Database 20c Documents available now !!<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
Here is the great news arrived that we had been waiting for.<br />
<br />
<br />
Oracle Database 20c documentation available now here<br />
<br />
- <a href="https://docs.oracle.com/en/database/oracle/oracle-database/20/install-and-upgrade.html">https://docs.oracle.com/en/database/oracle/oracle-database/20/install-and-upgrade.html</a><br />
<br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles coming up for Oracle 20c new features series.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a><br />
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7727371728449103841.post-37031741434800018872019-12-27T20:00:00.000+05:302019-12-27T20:00:35.810+05:30Moving datafile online in Oracle 12c (12.1.0.2)<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
Starting from Oracle database 12c release 1 (12.1.0.2), you can move a data file from one location/filesystem to another/ASM diskgroup while database is open and being used by the application users.<br />
<br />
<br />
Taking an example of ASM storage where mistakenly a datafile was added to a tablespace without plus(+) shine before the diskgroup name and new file got added inside the $ORACLE_HOME on the filesystem.<br />
<br />
<br />
In this situation, DBA should quickly try to reduce the newly added file size to smallest size possible and turn off the datafile autoextend so no much data could be written and datafile size remain small which gives us a luxury to move it to proper location in minimum time.<br />
<br />
Below highlighted data file was added mistakenly which was placed into ORACLE_HOME.<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>FILE_NAME GB AUT MAX_GB
-------------------------------------------------------------------------------- ---------- --- ----------
+DATA/TESTDB/DATAFILE/users.4513.1027281799 10 YES 31.9999847
+DATA/TESTDB/DATAFILE/users.4813.1027281809 4 YES 31.9999847
<span style="color: red;">/u01/app/oracle/product/12.1.0.2/dbhome_1/dbs/DATA 2 YES 31</span>
+DATA/TESTDB/DATAFILE/users.8520.1027282145 2 YES 31
</code></pre>
<div>
<code><br /></code></div>
<br />
<br />
<br />
Let's move the datafile created inside the /u01 mount to our +DATA ASM Diskgroup with following command.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> ALTER DATABASE MOVE DATAFILE '/u01/app/oracle/product/12.1.0.2/dbhome_1/dbs/DATA' TO '+DATA';
Database altered.</code></pre>
<br />
<br />
<br />
Now, let's validate the datafile list if that is moved.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> select file_name, bytes/1024/1024/1024 as GB ,autoextensible,MAXBYTES/1024/1024/1024 MAX_GB from dba_data_files where tablespace_name='users' order by GB desc;
FILE_NAME GB AUT MAX_GB
-------------------------------------------------------------------------------- ---------- --- ----------
+DATA/TESTDB/DATAFILE/users.4513.1027281799 10 YES 31.9999847
+DATA/TESTDB/DATAFILE/users.4813.1027281809 4 YES 31.9999847
+DATA/TESTDB/DATAFILE/users.8520.1027282145 2 YES 31
<b><span style="color: #38761d;">+DATA/TESTDB/DATAFILE/users.4194.1027284059 .001953125 NO 0</span>
</b></code></pre>
<div>
<code><br /></code></div>
<br />
Data file moved successfully as you can see in the above output.<br />
<br />
Now once datafile is moved to the appropriate location, you can resize and turn autoextend on for its auto growth.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> alter database datafile '+DATA/TESTDB/DATAFILE/users.4194.1027284059' resize 1g;
Database altered.
SQL> alter database datafile '+DATA/TESTDB/DATAFILE/users.4194.1027284059' autoextend on maxsize 32767m;
Database altered.
SQL> </code></pre>
<br />
<br />
Let's validate the data file which we moved if that has no any corrupt blocks.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>RMAN> validate datafile 68;
Starting validate at 17-DEC-19
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=112 instance=TESTDB1 device type=DISK
channel ORA_DISK_1: starting validation of datafile
channel ORA_DISK_1: specifying datafile(s) for validation
input datafile file number=00068 name=+DATA/TESTDB/DATAFILE/users.4194.1027284059
channel ORA_DISK_1: validation complete, elapsed time: 00:00:03
List of Datafiles
=================
File Status Marked Corrupt Empty Blocks Blocks Examined High SCN
---- ------ -------------- ------------ --------------- ----------
68 OK 0 130945 131072 15464094246834
File Name: +DATA/TESTDB/DATAFILE/users.4194.1027284059
Block Type Blocks Failing Blocks Processed
---------- -------------- ----------------
Data 0 0
Index 0 0
Other 0 127
Finished validate at 17-DEC-19
RMAN></code></pre>
<br />
Datafile validation is successful.<br />
<br />
<br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
<br />
<br /></div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7727371728449103841.post-33921994274423719442019-10-17T09:21:00.002+05:302019-10-17T09:21:48.825+05:30Oracle Cloud Infrastructure(OCI) Service Health Dashboard<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
While you configure lots of Oracle Cloud Infrastructure resources across different cloud tenancy/region, you may be interested to keep track of health-checks status of all resources/services in your region to make sure everything is healthy in the cloud region where your important cloud services are hosted.<br />
<br />
Oracle provides you a very convenient way to monitor the health of all OCI resources/services for all regions in one place.<br />
<br />
<br />
In order to access the OCI health, you can directly go to the "<a href="https://ocistatus.oraclecloud.com/">https://ocistatus.oraclecloud.com/</a>" URL where all OCI services health status is available for you to keep track of or if you are already logged in to your tenancy, click on the "<b>View Health Dashboard</b>" at right top corner and it would take you to the <b>OCI Health Dashboard </b>page automatically.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNg_zjmHIw_o7nfWce4eUulSz_WZvg3k9fap_24NobZVcEvuWpttYIZNiXn4moXD_es9t19_RVWLkwHh89dKnNnTMGjGSxUSDJVIxskyhnQHoMp57Pqg1nXoPhyxxhlBArKb4YTuq_da4/s1600/OCI+Health.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="237" data-original-width="1600" height="94" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgNg_zjmHIw_o7nfWce4eUulSz_WZvg3k9fap_24NobZVcEvuWpttYIZNiXn4moXD_es9t19_RVWLkwHh89dKnNnTMGjGSxUSDJVIxskyhnQHoMp57Pqg1nXoPhyxxhlBArKb4YTuq_da4/s640/OCI+Health.PNG" width="640" /></a></div>
<br />
<br />
<br />
<br />
From this dashboard you can get <b>current status</b> information about the services in your region.<br />
<br />
Customers can self register by clicking on the '<b>Subscribe to Updates</b>' link which offers email, SMS, Webhook, RSS, and other channels.<br />
<br />
Notifications are delivered whenever OCI creates or resolves an incident.<br />
<div>
<br />
<br />
<br />
There are four colored notations on the "<b>OCI Health Dashboard</b>" for you to identify whether a particular cloud service in a specific region is healthy or has some issues as following, if all cloud services are green then that has <b>"Normal Performance"</b> and everything is healthy and optimal.<br />
<br />
Similarly, there is <b>"Degraded Performance"</b> , <b>"Partial Outage"</b> and <b>"Major Outage"</b> notations to identify the resource glitch.<br />
<br />
<br />
<div class="fa fa-check" style="-webkit-font-smoothing: antialiased; background: rgb(252, 252, 252); border: 0px; box-sizing: border-box; color: #2fcc66; display: inline-block; font-family: FontAwesome; font-size: 16px; font-stretch: normal; font-variant-east-asian: normal; font-variant-numeric: normal; line-height: 1; margin: 0px; outline: 0px; padding: 0px; text-align: center; text-rendering: auto; vertical-align: baseline;">
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyBzy83ll8zszbGJQSUFXuQiTycAUFwKdGYiJGQ6uACq_QtNoSBPaHA783R8fMII9y_hKa3BwGIZj-bbrMiRdCqZBhyphenhyphenPHlHK36BOv4SiZjvn_2XLwg8HOjPXYSPDVg85lvnLxaZlmfv44/s1600/111.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="56" data-original-width="986" height="34" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyBzy83ll8zszbGJQSUFXuQiTycAUFwKdGYiJGQ6uACq_QtNoSBPaHA783R8fMII9y_hKa3BwGIZj-bbrMiRdCqZBhyphenhyphenPHlHK36BOv4SiZjvn_2XLwg8HOjPXYSPDVg85lvnLxaZlmfv44/s640/111.PNG" width="640" /></a></div>
<br />
<span style="background-color: #fcfcfc; color: #666666; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 16px; text-align: center;"><br /></span>
<span style="background-color: #fcfcfc; color: #666666; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 16px; text-align: center;">Currently, you can see that everything is in </span><span style="background-color: #fcfcfc; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 16px; text-align: center;"><span style="color: #6aa84f;">"Normal Performance"</span></span><span style="background-color: #fcfcfc; color: #666666; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 16px; text-align: center;"> range as below.</span><br />
<span style="background-color: #fcfcfc; color: #666666; font-family: Roboto, Helvetica, Arial, sans-serif; font-size: 16px; text-align: center;"><br /></span>
<br /></div>
<div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTUkvOLMs5DIlWECSwau9zJJlvtjwZ83l_Cx-7zBUnRBtJHsAj-yRGeWvvTZciTfVH81GH-Piv1S-YtfAsHw2vjucIKeCG3atOM_hSAvb_Q4cy0hvXqPmYNfVMiXpmL8MJtCu4FTEygBY/s1600/OCI+Health2.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="846" data-original-width="1600" height="338" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTUkvOLMs5DIlWECSwau9zJJlvtjwZ83l_Cx-7zBUnRBtJHsAj-yRGeWvvTZciTfVH81GH-Piv1S-YtfAsHw2vjucIKeCG3atOM_hSAvb_Q4cy0hvXqPmYNfVMiXpmL8MJtCu4FTEygBY/s640/OCI+Health2.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKgCpVjuoEe10Jk9ZIS0-Q0ncGVBUVxJnZwCOlTmqWrRU9AX0r3Mzyrv0muoXEby35qHusOpQkTzO00euv0aiki4s8ydhDeFoX2K4yXOF_AaoVxn7TEYThq59qaLTP5QPpclg6hbg1EAU/s1600/OCI+Health3.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="862" data-original-width="1600" height="344" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhKgCpVjuoEe10Jk9ZIS0-Q0ncGVBUVxJnZwCOlTmqWrRU9AX0r3Mzyrv0muoXEby35qHusOpQkTzO00euv0aiki4s8ydhDeFoX2K4yXOF_AaoVxn7TEYThq59qaLTP5QPpclg6hbg1EAU/s640/OCI+Health3.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyrVR5mAP-1FSgY1aLaEjimqib3RwPlFX22eTdIsKgzCDjtukV29sJRHJT_6SPN0zPUVSAvsuzvG9V8QByneKysbqw9eGAlZw9xcUVGPgiKNnG_09HV8QogQ2jMHbY3ZYa5LPyYTlIsA8/s1600/OCI+Health4.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="835" data-original-width="1600" height="334" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyrVR5mAP-1FSgY1aLaEjimqib3RwPlFX22eTdIsKgzCDjtukV29sJRHJT_6SPN0zPUVSAvsuzvG9V8QByneKysbqw9eGAlZw9xcUVGPgiKNnG_09HV8QogQ2jMHbY3ZYa5LPyYTlIsA8/s640/OCI+Health4.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1_QfVAaVRsCia38RHwwfkg2jhv5YgN_6hXuuR1EOw5RU510RgtIFHaO5F7t6bDyHkNikeuAf84eYVh1VjgXnYzeuxyE1aeP8GLCYvtKR-IwFvrjPbmS4FRk1_x_cyj2bkwq0ymt-s5oc/s1600/OCI+Health5.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="441" data-original-width="1600" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1_QfVAaVRsCia38RHwwfkg2jhv5YgN_6hXuuR1EOw5RU510RgtIFHaO5F7t6bDyHkNikeuAf84eYVh1VjgXnYzeuxyE1aeP8GLCYvtKR-IwFvrjPbmS4FRk1_x_cyj2bkwq0ymt-s5oc/s640/OCI+Health5.PNG" width="640" /></a></div>
<br />
<br />
<br />
You can subscribe to incident notifications to your email address as when when there is an incident created in any regions or you can opt-in for your own region only where all your cloud services are running.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPljg9AHhQ7ZMMSkj1c9O1S-ICfcrX7mmSpy2EIDfSrew8NfU-RGbSeclEodsX6vS2CLxx2eSKOPaTQtWwb7QXLgOkt5IN61rtO0IMfelv5Whjrl8SlxyHe3_KTPGLG9DW_0wAW3aQpb4/s1600/OCI+Health6.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="778" data-original-width="1600" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPljg9AHhQ7ZMMSkj1c9O1S-ICfcrX7mmSpy2EIDfSrew8NfU-RGbSeclEodsX6vS2CLxx2eSKOPaTQtWwb7QXLgOkt5IN61rtO0IMfelv5Whjrl8SlxyHe3_KTPGLG9DW_0wAW3aQpb4/s640/OCI+Health6.PNG" width="640" /></a></div>
<br /></div>
<div>
<br />
<br />
<br /></div>
<div>
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7727371728449103841.post-31188876281232959572019-10-17T09:07:00.001+05:302019-10-17T09:07:55.351+05:30ORA-46269: Conflicting operation on audit files<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
The DBMS_AUDIT_MGMT package provides subprograms to manage audit trail records. These subprograms enable audit administrators to manage the audit trail. In a mixed-mode environment, these audit trails comprise the database, operating system (OS), and XML audit trails. In a unified auditing environment, this comprises the unified audit trail.<br />
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
One of the daily maintenance system job fails with ORA-46269 error as below.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>-bash-4.1$ oerr ora 46269
46269, 00000, "Conflicting operation on audit files"
// *Cause: Audit files were being operated by more than one DBMS_AUDIT_MGMT
// API from different sessions. The simultaneous execution of the
// CLEAN_AUDIT_TRAIL API with itself can cause the conflict.
// *Action: Wait until the execution of one of the API's complete and try
// executing the API again.
-bash-4.1$</code></pre>
<br />
<br />
From the database instance alert log:<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>Tue Oct 15 19:38:53 2019
Errors in file /u01/app/oracle/diag/rdbms/orcldb/orcldb1/trace/orcldb1_j002_247077.trc:
ORA-12012: error on auto execute of job "SYS"."STANDARD_OS_AUDIT_TRAIL_PURGE"
<span style="color: red;">ORA-46269: Conflicting operation on audit files</span>
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 61
ORA-06512: at "SYS.DBMS_AUDIT_MGMT", line 2447
ORA-06512: at line 1
Tue Oct 15 19:46:18 2019</code></pre>
<br />
<br />
From the incident trace file:<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>Trace file /u01/app/oracle/diag/rdbms/orcldb/orcldb1/trace/orcldb1_j002_247077.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, Oracle Label Security,
OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u01/app/oracle/product/11.2.0.4/dbhome_2
System name: Linux
Node name: dbadm02.example.com
Release: 4.1.12-124.24.3.el6uek.x86_64
Version: #2 SMP Mon Jan 14 15:08:09 PST 2019
Machine: x86_64
Instance name: orcldb1
Redo thread mounted by this instance: 1
Oracle process number: 115
Unix process pid: 247077, image: oracle@dbadm02.example.com (J002)
*** 2019-10-15 19:38:53.665
*** SESSION ID:(1195.35311) 2019-10-15 19:38:53.665
*** CLIENT ID:() 2019-10-15 19:38:53.665
*** SERVICE NAME:(SYS$USERS) 2019-10-15 19:38:53.665
*** MODULE NAME:(DBMS_SCHEDULER) 2019-10-15 19:38:53.665
*** ACTION NAME:(STANDARD_OS_AUDIT_TRAIL_PURGE) 2019-10-15 19:38:53.665
</code></pre>
<div>
<code><br /></code></div>
<br />
<br />
Current audit management cleanup jobs list, I could see two audit clean-up jobs scheduled at same time and if first one that starts few seconds before the 2nd job, runs longer then 2nd job conflicts with the processing of first one and fails with the subjected error.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> select * from DBA_AUDIT_MGMT_CLEANUP_JOBS
JOB_NAME JOB_STAT <b>AUDIT_TRAIL</b> JOB_FREQUENCY
---------------------------------------- -------- ---------------------------- -----------------------------------
STANDARD_OS_AUDIT_TRAIL_PURGE ENABLED <b>OS AUDIT TRAIL</b> <b>FREQ=HOURLY;INTERVAL=1</b>
CLEAN_OS_DB_AUDIT_RECORD ENABLED <b>OS AUDIT TRAIL</b> <b>FREQ=HOURLY;INTERVAL=1</b>
SQL></code></pre>
<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> select OWNER,JOB_NAME,to_char(last_start_date,'DD-MM-YY HH24:MI:SS') Last_date_time, to_char(next_run_date,'DD-MM-YY HH24:MI:SS') Next_Date_Time, JOB_ACTION from DBA_SCHEDULER_JOBS
OWNER JOB_NAME LAST_DATE_TIME <b>NEXT_DATE_TIME</b> JOB_ACTION
------------------------------ ------------------------------ ----------------- ----------------- -------------------------------------------------------
SYS CLEAN_OS_DB_AUDIT_RECORD 16-10-19 03:38:13 <span style="color: red;">16-10-19 04:38:13</span> BEGIN DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL(4, TRUE); END;
SYS STANDARD_OS_AUDIT_TRAIL_PURGE 16-10-19 03:38:53 <span style="color: red;">16-10-19 04:38:53</span> BEGIN DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL(4, TRUE); END;
SQL></code></pre>
<br />
<br />
Scheduler details:<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>OWNER JOB_NAME START_DATE ENABL STATE FAILURE_COUNT LAST_START_DATE NEXT_RUN_DATE MAX_RUN_DURATIO SOURCE
--------------- ----------------------------------- ------------------------------ ----- --------------- ------------- -------------------------- ------------------------------ --------------- ---------------
SYS STANDARD_OS_AUDIT_TRAIL_PURGE 16-jan-2016 02:38:53 TRUE SCHEDULED 9731 16-oct-2019 01:38:53 16-oct-2019 02:38:53
SYS CLEAN_OS_DB_AUDIT_RECORD 19-jan-2017 15:38:13 TRUE SCHEDULED 619 16-oct-2019 01:38:13 16-oct-2019 02:38:13
SYS PURGE_LOG 10-oct-2014 03:00:00 TRUE SCHEDULED 0 15-oct-2019 03:00:00 16-oct-2019 03:00:00
</code></pre>
<div>
<code><br /></code></div>
<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> select * from DBA_AUDIT_MGMT_CONFIG_PARAMS
PARAMETER_NAME PARAMETER_VALUE AUDIT_TRAIL
------------------------------ ----------------------------------- ----------------------------
DB AUDIT TABLESPACE SYSAUX STANDARD AUDIT TRAIL
DB AUDIT TABLESPACE SYSAUX FGA AUDIT TRAIL
AUDIT FILE MAX SIZE 10000 OS AUDIT TRAIL
AUDIT FILE MAX SIZE 10000 XML AUDIT TRAIL
AUDIT FILE MAX AGE 5 OS AUDIT TRAIL
AUDIT FILE MAX AGE 5 XML AUDIT TRAIL
DB AUDIT CLEAN BATCH SIZE 10000 STANDARD AUDIT TRAIL
DB AUDIT CLEAN BATCH SIZE 10000 FGA AUDIT TRAIL
OS FILE CLEAN BATCH SIZE 1000 OS AUDIT TRAIL
OS FILE CLEAN BATCH SIZE 1000 XML AUDIT TRAIL
DEFAULT CLEAN UP INTERVAL 1 OS AUDIT TRAIL
11 rows selected.
SQL></code></pre>
<br />
<br />
I don't want duplicate job schedules in place for the same purpose so I disabled and drop the one job schedule to fix the conflict and avoid the noise tickets.<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> begin
dbms_scheduler.disable( '"SYS"."CLEAN_OS_DB_AUDIT_RECORD"' );
END;
/
PL/SQL procedure successfully completed.
SQL></code></pre>
<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> EXEC DBMS_AUDIT_MGMT.DROP_PURGE_JOB('CLEAN_OS_DB_AUDIT_RECORD');
PL/SQL procedure successfully completed.
SQL></code></pre>
<br />
<br />
Now, only one job is left in the schedule and it should work fine without any conflict in future.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> select * from DBA_AUDIT_MGMT_CLEANUP_JOBS;
JOB_NAME JOB_STAT AUDIT_TRAIL JOB_FREQUENCY
---------------------------------------------------------------------------------------------------- -------- ---------------------------- ----------------------------------------------------------------------------------------------------
STANDARD_OS_AUDIT_TRAIL_PURGE ENABLED OS AUDIT TRAIL FREQ=HOURLY;INTERVAL=1
</code></pre>
<div>
<code><br /></code></div>
<div>
<code><br /></code></div>
<div>
<code><br /></code></div>
<div>
<code><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>OWNER JOB_NAME LAST_DATE_TIME NEXT_DATE_TIME JOB_ACTION
------------------------------ ------------------------------ ----------------- ----------------- -------------------------------------------------------
SYS STANDARD_OS_AUDIT_TRAIL_PURGE 16-10-19 04:38:53 16-10-19 05:38:53 BEGIN DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL(4, TRUE); END;
</code></pre>
<div>
<code><br /></code></div>
<div>
<code><br /></code></div>
<div>
<code><br /></code></div>
<div>
<code>Tested the manual job run once, and it worked fine.</code></div>
<div>
<code><br /></code></div>
<div>
<code><br /></code></div>
<div>
<code><pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>SQL> BEGIN DBMS_AUDIT_MGMT.CLEAN_AUDIT_TRAIL(4, TRUE); END;
2 /
PL/SQL procedure successfully completed.
SQL></code></pre>
</code></div>
<div>
<code><br /></code></div>
<div>
<code><br /></code></div>
<div>
<code><br /></code></div>
<div>
<code><div>
<br /></div>
<div>
<div>
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.</div>
<div>
<br /></div>
<div>
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a></div>
<div>
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a></div>
<div>
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a></div>
</div>
<div>
<br /></div>
<div>
<br /></div>
</code></div>
</code></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-70337093497434240962019-10-16T21:14:00.001+05:302019-10-16T21:14:28.837+05:30Critical Patch Update released for October 2019<p dir="ltr"><br>
Critical Patch Update for October 2019 is out now.</p>
<p dir="ltr">Oracle strongly recommends to review the product patches and apply if <u>applicable</u>.</p>
<p dir="ltr">Review the details at below link.</p>
<p dir="ltr"><a href="https://www.oracle.com/technetwork/topics/security/alerts-086861.html?source=:em:gbc:ie:cpo:RC_SPPT190829P00039:SEV400002054&elq_mid=147614&sh=0926171606142609160608192604261926311429291121&cmid=SPPT190829P00039">https://www.oracle.com/technetwork/topics/security/alerts-086861.html?source=:em:gbc:ie:cpo:RC_SPPT190829P00039:SEV400002054&elq_mid=147614&sh=0926171606142609160608192604261926311429291121&cmid=SPPT190829P00039</a></p>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-29680844309130759302019-10-15T09:52:00.000+05:302019-10-15T09:52:36.063+05:30Always Free ATP instance stops automatically<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<b><span style="color: red;">SMART</span> Oracle Cloud Feature !!</b><br />
<b><br /></b>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZEW-VbcySHaAlwEFtQTvVqqj5H52hYaStS6e5SdtNfxIJtbtuSKnh6HTpNZzHTPCqDV37OI-cR0c8MOmYuZ2qMu_NqQYSDi61RB0HrTFNUWI9w6OVuVWRbVD3dwasTSgulq95PiGvm8/s1600/atp1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="318" data-original-width="550" height="370" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZZEW-VbcySHaAlwEFtQTvVqqj5H52hYaStS6e5SdtNfxIJtbtuSKnh6HTpNZzHTPCqDV37OI-cR0c8MOmYuZ2qMu_NqQYSDi61RB0HrTFNUWI9w6OVuVWRbVD3dwasTSgulq95PiGvm8/s640/atp1.png" width="640" /></a></div>
<b><br /></b>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
To save the unnecessary cloud infrastructure cost and utilization, <b>Oracle Autonomous Database</b> instances provisioned leveraging the <b>Always Free tier</b> subscription, <i><span style="color: red;">stops automatically after 7 days when there is no recent activities</span></i> to the ATP cloud instance.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibBd_4IUuLa-KP1cqLvovlxXO1lWh2NmI5G40XXt4WiOwvhaSGHE11cOKiAm5MMLEzlr9NuLqg7-0iH_16MHvXwQvtpaW9a2tc-raw6VtngyOO1iY4vUZN6cTi2p2RBssU8mKXTwZtM60/s1600/ATP.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="720" data-original-width="1274" height="360" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibBd_4IUuLa-KP1cqLvovlxXO1lWh2NmI5G40XXt4WiOwvhaSGHE11cOKiAm5MMLEzlr9NuLqg7-0iH_16MHvXwQvtpaW9a2tc-raw6VtngyOO1iY4vUZN6cTi2p2RBssU8mKXTwZtM60/s640/ATP.PNG" width="640" /></a></div>
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a><br />
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-66770667823295736432019-10-15T09:09:00.002+05:302019-10-16T05:48:10.584+05:30YUM install of Oracle 18c XE database in Oracle Cloud Infrastructure<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSbXby_6tMiJ9V8wRNH3BDJVOySglY6LMXnLVEDZxS4IkRVu1bgOgrGgEUqo_DAgEyO9vfZ6fDMi6wlEne8yCzvzG8gXkdMyzjBTnhFHATt_eXcrm-nLrfT0dwzrWELyYEVs9Wz3MHm-M/s1600/Oracle.Cloud.Infrastructure.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="200" data-original-width="300" height="213" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSbXby_6tMiJ9V8wRNH3BDJVOySglY6LMXnLVEDZxS4IkRVu1bgOgrGgEUqo_DAgEyO9vfZ6fDMi6wlEne8yCzvzG8gXkdMyzjBTnhFHATt_eXcrm-nLrfT0dwzrWELyYEVs9Wz3MHm-M/s320/Oracle.Cloud.Infrastructure.jpg" width="320" /></a></div>
<br />
In this post, I would show you how you can deploy <b>Oracle 18c XE</b> database in <b>Oracle Cloud Infrastructure Gen 2</b>, in just one command.<br />
<br />
Login to your OCI compute node where you want to deploy the Oracle 18c XE, please make a note that you have created the <b>compute VM</b> with <b>Oracle Linx 7</b>, Oracle Linux 8 still, at time of writing this post, doesn't have OCI included image for the 18c XE.<br />
<br />
<br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhByNplI4wCmdRNdAzum8SwuA4hzdnoBoni_ESy8w4tcsaxCxjFNxEnUney8tgHluvB5ES8dKlX3-rAj4Ihp587H7h1bUGKH4j-Q5Ho1NwXRzyL7p0SV27PWE4aDZ_W0iu0z4xZ7v3h1M4/s1600/XE.png" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="1200" data-original-width="1200" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhByNplI4wCmdRNdAzum8SwuA4hzdnoBoni_ESy8w4tcsaxCxjFNxEnUney8tgHluvB5ES8dKlX3-rAj4Ihp587H7h1bUGKH4j-Q5Ho1NwXRzyL7p0SV27PWE4aDZ_W0iu0z4xZ7v3h1M4/s320/XE.png" width="320" /></a><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
Since we are on OEL7.7 and OCI image already includes the <b>Oracle 18c XE</b> database rpm in there so doing pre-check is optional and we can directly install it using below one line command, it would automatically find the dependencies and do that job for you.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<br />
<br />
Let's initiate the installation now as below.<br />
<br />
<br />
<pre style="background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2mKrsQMHOEXQVe-T5BqY_kAV39gFKO_5HB4sX25_1qxiznJgCGskXb-2vxaiXS2kN4M1hGJvpVoXaxueLhuvNbh1Obh77JvquVYweVCa_UtW9tbhe0k9EUwviU9OMjtGvBCqk4DPmncfP/s320/codebg.gif") rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 450.837px;"><code style="overflow-wrap: normal;"><b>[root@oci02 ~]# yum install oracle-database-xe-18c.x86_64</b>
Loaded plugins: langpacks, ulninfo
Resolving Dependencies
--> Running transaction check
---> Package oracle-database-xe-18c.x86_64 0:1.0-1 will be installed
--> Processing Dependency: oracle-database-preinstall-18c for package: oracle-database-xe-18c-1.0-1.x86_64
--> Running transaction check
---> Package oracle-database-preinstall-18c.x86_64 0:1.0-1.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================================================================================
Package Arch Version Repository Size
=============================================================================================================================================================================================
Installing:
oracle-database-xe-18c x86_64 1.0-1 ol7_oci_included 2.4 G
Installing for dependencies:
oracle-database-preinstall-18c x86_64 1.0-1.el7 ol7_latest 18 k
Transaction Summary
=============================================================================================================================================================================================
Install 1 Package (+1 Dependent package)
Total download size: 2.4 G
Installed size: 5.2 G
Is this ok [y/d/N]: y
Downloading packages:
(1/2): oracle-database-preinstall-18c-1.0-1.el7.x86_64.rpm | 18 kB 00:00:00
(2/2): oracle-database-xe-18c-1.0-1.x86_64.rpm | 2.4 GB 00:01:11
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 34 MB/s | 2.4 GB 00:01:11
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : oracle-database-preinstall-18c-1.0-1.el7.x86_64 1/2
Installing : oracle-database-xe-18c-1.0-1.x86_64 2/2
[INFO] Executing post installation scripts...
<span style="color: red;">[INFO] Oracle home installed successfully and ready to be configured.
To configure Oracle Database XE, optionally modify the parameters in '/etc/sysconfig/oracle-xe-18c.conf' and then execute '/etc/init.d/oracle-xe-18c configure' as root. </span>
Verifying : oracle-database-xe-18c-1.0-1.x86_64 1/2
Verifying : oracle-database-preinstall-18c-1.0-1.el7.x86_64 2/2
<b> Installed:
oracle-database-xe-18c.x86_64 0:1.0-1
Dependency Installed:
oracle-database-preinstall-18c.x86_64 0:1.0-1.el7</b>
<b> Complete!</b>
[root@oci02 ~]# </code></pre>
<br />
Above you see, it installed the 18c XE HOME and it points you to the <b>configuration file</b> that you can modify per your needs and run the <span style="background-color: #f0f0f0; color: red; font-family: "arial"; font-size: 12px;">/etc/init.d/oracle-xe-18c configure</span> to create the XE container database for you, as below.<br />
<br />
<br />
Default, sample configuration file that would be used to created the database.<br />
<br />
<br />
<pre style="background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2mKrsQMHOEXQVe-T5BqY_kAV39gFKO_5HB4sX25_1qxiznJgCGskXb-2vxaiXS2kN4M1hGJvpVoXaxueLhuvNbh1Obh77JvquVYweVCa_UtW9tbhe0k9EUwviU9OMjtGvBCqk4DPmncfP/s320/codebg.gif") rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 450.837px;"><code style="overflow-wrap: normal;"> <b>[root@oci02 ~]# cat /etc/sysconfig/oracle-xe-18c.conf </b>
#This is a configuration file to setup the Oracle Database.
<span style="color: red;">#It is used when running '/etc/init.d/oracle-xe-18c configure'. </span>
# LISTENER PORT used Database listener, Leave empty for automatic port assignment
<b>LISTENER_PORT</b>=
# EM_EXPRESS_PORT Oracle EM Express URL port
<b>EM_EXPRESS_PORT=5500 </b>
# Character set of the database
<b> CHARSET=AL32UTF8 </b>
# Database file directory
# If not specified, database files are stored under Oracle base/oradata
<b>DBFILE_DEST= </b>
# SKIP Validations, memory, space
<b>SKIP_VALIDATIONS=false </b>
[root@oci02 ~]# </code></pre>
<br />
<br />
<br />
Let's create the database as below. You need to provide a complex password that will be used for SYS, SYSTEM and PDBADMIN accounts commonly, later you may change it which is different to each other once database instance created successfully.<br />
<div>
<br /></div>
<br />
<pre style="background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2mKrsQMHOEXQVe-T5BqY_kAV39gFKO_5HB4sX25_1qxiznJgCGskXb-2vxaiXS2kN4M1hGJvpVoXaxueLhuvNbh1Obh77JvquVYweVCa_UtW9tbhe0k9EUwviU9OMjtGvBCqk4DPmncfP/s320/codebg.gif") rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 450.837px;"><code style="overflow-wrap: normal;"> <b>[root@oci02 ~]# /etc/init.d/oracle-xe-18c configure </b>
<span style="color: red;">Specify a password to be used for database accounts. Oracle recommends that the password entered should be at least 8 characters in length, contain at least 1 uppercase character, 1 lower case character and 1 digit [0-9]. Note that the same password will be used for SYS, SYSTEM and PDBADMIN accounts:
Confirm the password: </span>
Configuring Oracle Listener.
Listener configuration succeeded.
Configuring Oracle Database XE.
Enter SYS user password:
********
Enter SYSTEM user password:
*******
Enter PDBADMIN User Password:
**********
Prepare for db operation
7% complete
Copying database files
29% complete
Creating and starting Oracle instance
30% complete
31% complete
34% complete
38% complete
41% complete
43% complete
Completing Database Creation
47% complete
50% complete
Creating Pluggable Databases
54% complete
71% complete
Executing Post Configuration Actions
93% complete
Running Custom Scripts
<span style="color: lime;">100% complete </span>
<span style="color: red;"> Database creation complete. For details check the logfiles at:
/opt/oracle/cfgtoollogs/dbca/XE. </span>
<b> Database Information:
Global Database Name:XE
System Identifier(SID):XE </b>
<span style="color: red;">Look at the log file "/opt/oracle/cfgtoollogs/dbca/XE/XE.log" for further details. </span>
Connect to Oracle Database using one of the connect strings:
<b> Pluggable database: oci02/XEPDB1
Multitenant container database: oci02 </b>
Use <span style="color: red;">https://localhost:5500/em</span> to access Oracle Enterprise Manager for Oracle Database XE
[root@oci02 ~]# </code></pre>
<br />
Once database instance gets configured, you are provided "Database Information" and connect string for the Pluggable database, dbca log file location that you can review and finally Enterprise Manager URL to use for the database monitoring purpose.<br />
<br />
<br />
<br />
Finally you may spare few mins and validate the container database information.<br />
<br />
<pre style="background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2mKrsQMHOEXQVe-T5BqY_kAV39gFKO_5HB4sX25_1qxiznJgCGskXb-2vxaiXS2kN4M1hGJvpVoXaxueLhuvNbh1Obh77JvquVYweVCa_UtW9tbhe0k9EUwviU9OMjtGvBCqk4DPmncfP/s320/codebg.gif") rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 450.837px;"><code style="overflow-wrap: normal;"><b> [root@oci02 ~]# ps -ef | grep pmon </b>
oracle 23387 1 0 19:00 ? 00:00:00 xe_pmon_XE
root 23902 11789 0 19:02 pts/0 00:00:00 grep --color=auto pmon
[root@oci02 ~]#
<b> [root@oci02 ~]# su - oracle</b>
Last login: Mon Oct 14 18:51:07 GMT 2019 on pts/0
[oracle@oci02 ~]$
<b> [oracle@oci02 ~]$ . oraenv
ORACLE_SID = [oracle] ? XE </b>
The Oracle base has been set to /opt/oracle
[oracle@oci02 ~]$
<b> [oracle@oci02 ~]$ sqlplus "/as sysdba" </b>
SQL*Plus: Release 18.0.0.0.0 - Production on Mon Oct 14 19:03:09 2019
Version 18.4.0.0.0
Copyright (c) 1982, 2018, Oracle. All rights reserved.
Connected to:
Oracle Database 18c Express Edition Release 18.0.0.0.0 - Production
Version 18.4.0.0.0
SQL> </code></pre>
<br />
<br />
<br />
<br />
<br />
<pre style="background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2mKrsQMHOEXQVe-T5BqY_kAV39gFKO_5HB4sX25_1qxiznJgCGskXb-2vxaiXS2kN4M1hGJvpVoXaxueLhuvNbh1Obh77JvquVYweVCa_UtW9tbhe0k9EUwviU9OMjtGvBCqk4DPmncfP/s320/codebg.gif") rgb(240, 240, 240); border: 1px dashed rgb(204, 204, 204); font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; width: 450.837px;"><code style="overflow-wrap: normal;"> SQL> select name, open_mode, database_role, cdb from v$database;
<b>NAME OPEN_MODE DATABASE_ROLE CDB
--------- -------------------- ---------------- ---
XE READ WRITE PRIMARY YES </b>
SQL> show pdbs
<b> CON_ID CON_NAME OPEN MODE RESTRICTED
---------- ------------------------------ ---------- ----------
2 PDB$SEED READ ONLY NO
3 XEPDB1 READ WRITE NO </b>
SQL> </code></pre>
<br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay tuned with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and other new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
Facebook : <a href="https://www.facebook.com/rkushawaha">https://www.facebook.com/rkushawaha</a><br />
<br />
<br /></div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7727371728449103841.post-35070951633281542352019-10-08T09:57:00.003+05:302019-10-09T10:26:03.769+05:30Add or Remove or List TFA Users and Groups<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2cf7sUesqLrX3c1YsBnVC3A-1lNoRJsHyesfK7fgT7YEtdZmDM0T5kkJS4K8p6lcz07jyMSyseG1j7M7ZLmbnZ_z1Oe8cin6qeiuVGmsLBsxuxcQdaXsCBljzMzuVFO2IT3KQRL7XUvY/s1600/TFA.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="556" data-original-width="1285" height="276" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2cf7sUesqLrX3c1YsBnVC3A-1lNoRJsHyesfK7fgT7YEtdZmDM0T5kkJS4K8p6lcz07jyMSyseG1j7M7ZLmbnZ_z1Oe8cin6qeiuVGmsLBsxuxcQdaXsCBljzMzuVFO2IT3KQRL7XUvY/s640/TFA.png" width="640" /></a></div>
<br />
<i><a href="https://docs.oracle.com/en/engineered-systems/health-diagnostics/trace-file-analyzer/tfaug/automatic-diagnostic-collection.html#GUID-45A5F39E-B1A6-4F89-947D-EA9E8FBA7ED5" target="_blank">Image Source</a></i><br />
<br />
Sometimes you may need to collect srdc diagnostic data requested by Oracle Support Engineer for an Oracle Internal Error or problem evaluation and analysis.<br />
<br />
You don't want loads of unnecessary diagnostics traces and logs to be collected and need only relevant traces/logs for a specific Oracle incident/problem so srdc needs to be run by Oracle software binary owner which may be different from Oracle cluster-ware owner and that may not have permission to run the TFA to collect diagnostics data.<br />
<br />
<br />
You won't be able to run the TFA if you are not a TFA user and get an error like depicted below since oracle user is not allowed to run the TFA diag collection.<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@dbadm01 bin]#su - oracle
$ <b>./tfactl diagcollect -srdc ORA-00700</b>
<span style="color: red;">User <b>oracle </b>does not have keys to run TFA. Please check with TFA Admin(root)</span>
$ exit
[root@dbadm01 bin]#</code></pre>
<br />
<br />
<br />
TFA administrator or root user can add Oracle software binary owner to TFA group so that he/she can run the TFA srdc diagnostics collection when needed.<br />
<br />
Let's see how we can add oracle user to the TFA administrator group and run the srdc data collection and finally we would see how to remove oracle user from the TFA administration group.<br />
<br />
<br />
<br />
You can view the list of TFA users currently allowed to run it as below. We can see that only <b>oragrid</b> user is allowed to run the TFA.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code><b>[root@dbadm01 bin]# ./tfactl access lsusers</b>
.---------------------------------.
| TFA Users in dbadm01 |
+-----------+-----------+---------+
| User Name | User Type | Status |
+-----------+-----------+---------+
| oragrid | USER | Allowed |
'-----------+-----------+---------'
.---------------------------------.
| TFA Users in |
+-----------+-----------+---------+
| User Name | User Type | Status |
+-----------+-----------+---------+
| oragrid | USER | Allowed |
| oragrid | USER | Allowed |
| oragrid | USER | Allowed |
'-----------+-----------+---------'
[root@dbadm01 bin]#</code></pre>
<br />
<br />
Let's now add <b>oracle</b> user in the TFA group now so that it can also be part of it and run the tfa.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code><b>[root@dbadm01 bin]# ./tfactl access add -user oracle -local</b>
<span style="color: #6aa84f;">Successfully added 'oracle' to TFA Access list.</span>
.---------------------------------.
| TFA Users in dbadm01 |
+-----------+-----------+---------+
| User Name | User Type | Status |
+-----------+-----------+---------+
<span style="color: red;">| oracle | USER | Allowed |</span>
| oragrid | USER | Allowed |
'-----------+-----------+---------'
[root@dbadm01 bin]#</code></pre>
<br />
<br />
<br />
Since oracle user is now added to TFA group, let's switch to oracle user and try to collect the TFA srdc diagnostics data.<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[root@dbadm01 bin]# su - oracle
[oracle@dbadm01 ~]$</code></pre>
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[oracle@dbadm01 ~]$ <span style="color: red;">/u01/app/12.2.0.1/grid/bin/tfactl diagcollect -srdc ORA-00700</span>
Enter the time of the ORA-00700 [YYYY-MM-DD HH24:MI:SS,<RETURN>=ALL] :
Enter the Database Name [<RETURN>=ALL] : <span style="color: red;">PROD1</span>
1. Sep/27/2019 17:21:00 : [prod1] ORA-00700: soft internal error, arguments: [kdt_bseg_srch_cbk PITL5], [3], [148630702], [276915], [], [], [], [], [], [], [], []
2. Sep/27/2019 15:05:30 : [prod1] ORA-00700: soft internal error, arguments: [kdt_bseg_srch_cbk PITL5], [2], [148630736], [276915], [], [], [], [], [], [], [], []
3. Sep/27/2019 15:05:30 : [prod1] ORA-00700: soft internal error, arguments: [PITL6], [276915], [148630736], [], [], [], [], [], [], [], [], []
4. Sep/27/2019 07:16:44 : [prod1] ORA-00700: soft internal error, arguments: [kdt_bseg_srch_cbk PITL5], [2], [156338726], [276915], [], [], [], [], [], [], [], []
5. Sep/24/2019 09:51:00 : [prod1] ORA-00700: soft internal error, arguments: [PITL6], [276915], [156338560], [], [], [], [], [], [], [], [], []
6. Sep/24/2019 09:50:56 : [prod1] ORA-00700: soft internal error, arguments: [kdt_bseg_srch_cbk PITL5], [2], [156338560], [276915], [], [], [], [], [], [], [], []
Please choose the event : 1-6 [1] 6
Selected value is : 6 ( Sep/24/2019 09:50:56 )
Scripts to be run by this srdc: ipspack rdahcve1210 rdahcve1120 rdahcve1110
Components included in this srdc: OS CRS DATABASE NOCHMOS
Collecting data for local node(s)
Scanning files from Sep/24/2019 03:50:56 to Sep/24/2019 15:50:56
Collection Id : 20191008033306dbadm01
Detailed Logging at : /u01/app/grid/tfa/repository/srdc_ora700_collection_Tue_Oct_08_03_33_07_UTC_2019_node_local/diagcollect_20191008033306_dbadm01.log
2019/10/08 03:33:10 UTC : NOTE : Any file or directory name containing the string .com will be renamed to replace .com with dotcom
2019/10/08 03:33:10 UTC : Collection Name : tfa_srdc_ora700_Tue_Oct_08_03_33_07_UTC_2019.zip
2019/10/08 03:33:11 UTC : Scanning of files for Collection in progress...
2019/10/08 03:33:11 UTC : Collecting additional diagnostic information...
</code></pre>
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>2019/10/08 03:33:41 UTC : Getting list of files satisfying time range [09/24/2019 03:50:56 UTC, 09/24/2019 15:50:56 UTC]
2019/10/08 03:34:45 UTC : Completed collection of additional diagnostic information...
2019/10/08 03:36:29 UTC : Collecting ADR incident files...
2019/10/08 03:36:30 UTC : Completed Local Collection
.---------------------------------------------.
| Collection Summary |
+------------------+-----------+-------+------+
| Host | Status | Size | Time |
+------------------+-----------+-------+------+
| dbadm01 | Completed | 249MB | 200s |
'------------------+-----------+-------+------'
Logs are being collected to: /u01/app/grid/tfa/repository/srdc_ora700_collection_Tue_Oct_08_03_33_07_UTC_2019_node_local
<span style="color: red;">/u01/app/grid/tfa/repository/srdc_ora700_collection_Tue_Oct_08_03_33_07_UTC_2019_node_local/dbadm01.tfa_srdc_ora700_Tue_Oct_08_03_33_07_UTC_2019.zip</span>
<pre style="border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code>[oracle@dbadm01 ~]$</code></pre>
</code></pre>
<br />
TFA srdc collection went successful now !<br />
<br />
<br />
If you want to remove the oracle user from the TFA group, you can do so using below command.<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code><b>[root@dbadm01 bin]# ./tfactl access remove -user oracle -local</b>
Successfully removed 'oracle' from TFA Access list.
.---------------------------------.
| TFA Users in dbadm01 |
+-----------+-----------+---------+
| User Name | User Type | Status |
+-----------+-----------+---------+
| oragrid | USER | Allowed |
'-----------+-----------+---------'
[root@dbadm01 bin]#</code></pre>
<br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure, Oracle Autonomous Database Cloud Services and other new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
<br />
<br /></div>
Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-7727371728449103841.post-68448515146308017002019-09-28T01:28:00.000+05:302019-09-28T03:03:16.060+05:30Oracle Cloud Infrastructure - Resources Monitoring | Email Notifications<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
In this article, we would see how to monitor the all Oracle Cloud Infrastructure(OCI) resources at one place and would see how to define alarm notifications for a kind of metric and metrics dimension.<br />
<br />
You won't have access to the autonomous database compute nodes in the cloud but you have the luxury to monitor OS level statistics and can monitor the health, capacity, and performance of your Oracle Cloud Infrastructure resources when needed using queries or on a passive basis using alarms. Queries and alarms rely on metrics emitted by your resource to the Monitoring service.<br />
<br />
<br />
An Administrator has super privilege to manage and monitoring all Oracle Cloud Infrastructure resources it has in its Identity domain/Tenancy.<br />
<br />
If you want a different user to <b>only monitor</b> all the OCI resources then a new user can be created and assigned appropriate IAM policies to monitor the resources.<br />
<br />
Monitoring is possible only for resources that is enabled for monitoring or which emits the metrics. Queries and Alarms used these emitted metrics for its notification rules and methods. The Monitoring service works with the Notifications service to notify you when metrics breach.<br />
<br />
Lets' get started:<br />
<br />
Login to your Oracle Cloud Infrastructure Service Console and click on the navigation menu and click on <b>Monitoring </b>> <b>Service Metrics</b> - to open the "<b>Monitoring</b>" page for all OCI resources.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipTqbCULXfWyXNAhpbugn1WwP9Lul8x00lcDJgUFnhHqFXfd17FUITTD2UCx09gQNnRNbRURrUx6LLtuTVJNUVdHr1RPWW4hBTC7kSokXfnB0vgY6kbHrIFeCjr5cLyjol6HDU2uJo7-U/s1600/01.PNG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" data-original-height="734" data-original-width="298" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipTqbCULXfWyXNAhpbugn1WwP9Lul8x00lcDJgUFnhHqFXfd17FUITTD2UCx09gQNnRNbRURrUx6LLtuTVJNUVdHr1RPWW4hBTC7kSokXfnB0vgY6kbHrIFeCjr5cLyjol6HDU2uJo7-U/s640/01.PNG" width="258" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicnFMgc7vF1Xv9wdGmSGRKOEjlkJtUuME9GGwDyhROyRtaW8Hh6cnx3Tk7G6AzAQhomWM6vyJdrN6pZiUztzNn88knWQ_-Nc34laaHAWtj9BfwM6iyfQ-QMeFEejCzmb71Pj-FAHnUdVk/s1600/02.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="189" data-original-width="508" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEicnFMgc7vF1Xv9wdGmSGRKOEjlkJtUuME9GGwDyhROyRtaW8Hh6cnx3Tk7G6AzAQhomWM6vyJdrN6pZiUztzNn88knWQ_-Nc34laaHAWtj9BfwM6iyfQ-QMeFEejCzmb71Pj-FAHnUdVk/s640/02.PNG" width="640" /></a></div>
<br />
<br />
<br />
"<b>Service Metrics</b>" page opens, The Service Metrics page displays the default charts for metrics in the first accessible Compartment and Metric Namespace. Very small or large values are indicated by International System of Units (SI units), such as M for mega (10 to the sixth power).<br />
<br />
You can select any COMPARTMENT and appropriate METRICS NAMESPACE and adjust the "START TIME" and "END TIME" to narrow down the metrics graphic visualization for the metric namespaces and review its trend to predict the underline hardware/resource health.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN1_rb1g5mSicTap2ZTbaNz0L9eWu9ubg2vZ0ti3RY46SDKACNGHc47tU4ACEaGdJrZjgzhQxCNhumc-n_OFG4kMoJy58xC2xe8rt-l5OdvxUz_ZOIJH1VGFu12a6tZpLpVOe4YkwOMk0/s1600/03.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="743" data-original-width="1600" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgN1_rb1g5mSicTap2ZTbaNz0L9eWu9ubg2vZ0ti3RY46SDKACNGHc47tU4ACEaGdJrZjgzhQxCNhumc-n_OFG4kMoJy58xC2xe8rt-l5OdvxUz_ZOIJH1VGFu12a6tZpLpVOe4YkwOMk0/s640/03.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT0sZIgPUN4fSVRoNFFRkTB6XFqCXJTUxvVGNcz2-l9t1RVkI4djKmdyRhXHJ2UjqqjCHzsPK83SvgVpWLhcyLHgCRrkOpHEaLWy9rxTpy5WfUZFKr-DjSAzDIK3deeWIb7T1xOWxavGE/s1600/04.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="562" data-original-width="1600" height="224" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgT0sZIgPUN4fSVRoNFFRkTB6XFqCXJTUxvVGNcz2-l9t1RVkI4djKmdyRhXHJ2UjqqjCHzsPK83SvgVpWLhcyLHgCRrkOpHEaLWy9rxTpy5WfUZFKr-DjSAzDIK3deeWIb7T1xOWxavGE/s640/04.PNG" width="640" /></a></div>
<br />
For any Metrics type, you can click on its "Options" and Copy Chart URL - a direct URL to view this metrics graph in web browser.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkZbdRON1cDlqxTOLSUPlwt-yFIhEQtZ0aehh0gZSLfmAOKqcgM_T5TeXgIYyIJTYuEORkfs0_A_LuQzV6TALygUwYyqM8NOf7EKpk9Vtf7JLsr8Dzs0sR74GsIv8xpohfrHkGmD014TE/s1600/05.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="234" data-original-width="814" height="182" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkZbdRON1cDlqxTOLSUPlwt-yFIhEQtZ0aehh0gZSLfmAOKqcgM_T5TeXgIYyIJTYuEORkfs0_A_LuQzV6TALygUwYyqM8NOf7EKpk9Vtf7JLsr8Dzs0sR74GsIv8xpohfrHkGmD014TE/s640/05.PNG" width="640" /></a></div>
<br />
<br />
<br />
Select any metrics namespace you want to see the metrics trend.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqPlkfenCCrbz266pMe6LY12Tb2Xqs-b5kiKKqaxc4BWFdteLCH9pJ7P40QzxMN-sNuBebjCPP8U-M1o6LjQRyTRgZ6Ms5YohuKFjaD43fABLEtAnFE9TIfhSSUYiR14jjZ7Pz3WDjrYk/s1600/06.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="502" data-original-width="1600" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgqPlkfenCCrbz266pMe6LY12Tb2Xqs-b5kiKKqaxc4BWFdteLCH9pJ7P40QzxMN-sNuBebjCPP8U-M1o6LjQRyTRgZ6Ms5YohuKFjaD43fABLEtAnFE9TIfhSSUYiR14jjZ7Pz3WDjrYk/s640/06.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjN2G1eOVjC7qc3aTH-P9sEPO2wCUcpYHr4_W28t232qP8UCldTWYAVybj9gkUS9wOuj8J_cPzJ8xSbHzk1gJHbA2qV_S6u-z9XuMbbcIjhIkQIFsGUnkQcmILXkFfQwwWbd9LXDNFgjA/s1600/07.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="701" data-original-width="1600" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjN2G1eOVjC7qc3aTH-P9sEPO2wCUcpYHr4_W28t232qP8UCldTWYAVybj9gkUS9wOuj8J_cPzJ8xSbHzk1gJHbA2qV_S6u-z9XuMbbcIjhIkQIFsGUnkQcmILXkFfQwwWbd9LXDNFgjA/s640/07.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8x5CDWt-V10n8XUluUJLdZuaJKARfqdgReIXwlAOMFLWFit1TJBjpaR2jxz-F2-Cio2rIDDunfe1uEWtJprJx-Qveu9P2nrP0wpg52VIKgNR_FXNL8e2cN6HIdWgQW5UbEenaGDD0Qw4/s1600/08.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="812" data-original-width="1600" height="324" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8x5CDWt-V10n8XUluUJLdZuaJKARfqdgReIXwlAOMFLWFit1TJBjpaR2jxz-F2-Cio2rIDDunfe1uEWtJprJx-Qveu9P2nrP0wpg52VIKgNR_FXNL8e2cN6HIdWgQW5UbEenaGDD0Qw4/s640/08.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_i8LyHAb0DKVRSfJmFoI9u8W4Qpvlbw9WUyP9sGFzGjg7y_2ChtnlyA2ydEc7bURWyqcgw2MTxf0BIh7pUu23pC3mzs248-5mlNchloNchJJZa4C6wf5DxG-gonUu9gs13VJd0PlmgV4/s1600/09.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="288" data-original-width="1600" height="114" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_i8LyHAb0DKVRSfJmFoI9u8W4Qpvlbw9WUyP9sGFzGjg7y_2ChtnlyA2ydEc7bURWyqcgw2MTxf0BIh7pUu23pC3mzs248-5mlNchloNchJJZa4C6wf5DxG-gonUu9gs13VJd0PlmgV4/s640/09.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGvipT7C3B0ASEEBZHY_6I0q9i0cL9lL5SLK-BA0a4BReHT1hPcX8lcvlquf_PdCFjo2SLMy6RfFTaW3jYRzQ-agxIwzFKv-CafWlcwh2nh40T4itQgJtqV3Cntond1npkK6Ms96sa0cI/s1600/10.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="816" data-original-width="1600" height="326" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGvipT7C3B0ASEEBZHY_6I0q9i0cL9lL5SLK-BA0a4BReHT1hPcX8lcvlquf_PdCFjo2SLMy6RfFTaW3jYRzQ-agxIwzFKv-CafWlcwh2nh40T4itQgJtqV3Cntond1npkK6Ms96sa0cI/s640/10.PNG" width="640" /></a></div>
<br />
<br />
<br />
<br />
<br />
<b><u>Metrics Explorer:</u></b><br />
<br />
<span style="background-color: #fcfcfc; color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 14px;">Write and edit queries in <b>Monitoring Query Language</b> <b>(MQL)</b>, using metrics from either your application or an Oracle Cloud Infrastructure service.</span><br />
<span style="background-color: #fcfcfc; color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 14px;"><br /></span>
<span style="color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif;"><span style="background-color: #fcfcfc; font-size: 14px;">By default, Metrics Explorer has no graph, you can write MQL query or construct one automatically using the selection criteria.</span></span><br />
<span style="background-color: #fcfcfc; color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 14px;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6J1WtvYphFDU-Ure9fAorbGKDvAEJXSJK8OUZybmL30hc4pgmtyMmgbfxCYy8eySzykqypuews5xGk0sij9Fo33DkJ8jkVK6bmiLi5yQrPNZ1lKIo9pjLCF6sBMTsDTbKvu6vowCmGkU/s1600/11.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="675" data-original-width="1600" height="270" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj6J1WtvYphFDU-Ure9fAorbGKDvAEJXSJK8OUZybmL30hc4pgmtyMmgbfxCYy8eySzykqypuews5xGk0sij9Fo33DkJ8jkVK6bmiLi5yQrPNZ1lKIo9pjLCF6sBMTsDTbKvu6vowCmGkU/s640/11.PNG" width="640" /></a></div>
<br />
<br />
<br />
Below I am adding an MQL(<b>Monitoring Query Language</b>) Query 1:<br />
<br />
<b>COMPARTMENT </b>: comp01<br />
<b>Metrics </b>Namespace : oci_autonomous_database<br />
<b>Metric name</b> : cpuUtilization<br />
<b>Interval </b>: 1m - 1 minute<br />
<b>Statistic </b>: Mean<br />
<b>Metrics Dimension</b> : AutonomousDBType<br />
<b>Dimension Value</b> : ATP<br />
<br />
and Click on <b>Update Chart</b> ><br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIIvNBSEhI-vgvqoOy4fcGXDTYzn2CLc3oDwnOBuGEyqzI5w3f5WjkNluNYkikOa1pUokMOCT5k35GUv3pBGo65hUleFTtqDsFvdo5Y5AJ-S1g2Tn_HWFiA89UCoLrhC70rZ1i4gH29zU/s1600/15.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="505" data-original-width="1600" height="200" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIIvNBSEhI-vgvqoOy4fcGXDTYzn2CLc3oDwnOBuGEyqzI5w3f5WjkNluNYkikOa1pUokMOCT5k35GUv3pBGo65hUleFTtqDsFvdo5Y5AJ-S1g2Tn_HWFiA89UCoLrhC70rZ1i4gH29zU/s640/15.PNG" width="640" /></a></div>
<br />
<br />
Once you clicked on the "<b>Update Chart</b>" above, it populates the "<b>Metrics Explorer</b>" chart metrics with graph for for the autonomous database.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbQtAz1Ah6_UY3-0hnLD11Lc74QgpoGeAg_jRwXCgbjHIwgN-e8HIFRookVf9uO7mUCga_bPWd43RM9JUcGBPz2lskM0RuB2PC_B1_uUm6jRzrcHLxFrDZ8S_1jP9tDk79bB6JNXVfEak/s1600/16.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="649" data-original-width="1600" height="258" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgbQtAz1Ah6_UY3-0hnLD11Lc74QgpoGeAg_jRwXCgbjHIwgN-e8HIFRookVf9uO7mUCga_bPWd43RM9JUcGBPz2lskM0RuB2PC_B1_uUm6jRzrcHLxFrDZ8S_1jP9tDk79bB6JNXVfEak/s640/16.PNG" width="640" /></a></div>
<br />
<br />
<br />
<br />
Similarly, we can add another MQL query for the <b>OCI compute agent</b> for the metric name = <b>DiskBytesWritten</b> as below.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_Jj72zHAoytOp5FUIGawN1ZhrbC7Ch87ycFZ8et2t9_qvtJKgILeavKGZf1paAtFGmK-OTqRygmFnURAYaJZPqaMoksQEEML0c4hPP3FOOjrychwcfBvuJmdCq2esvgifBn79bFAqq0k/s1600/17.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="661" data-original-width="1600" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_Jj72zHAoytOp5FUIGawN1ZhrbC7Ch87ycFZ8et2t9_qvtJKgILeavKGZf1paAtFGmK-OTqRygmFnURAYaJZPqaMoksQEEML0c4hPP3FOOjrychwcfBvuJmdCq2esvgifBn79bFAqq0k/s640/17.PNG" width="640" /></a></div>
<br />
<br />
<br />
<br />
<b><u>Alarm Status:</u></b><br />
<br />
<br />
If you want to "<b>Create Alarm</b>" for any query, you can click on the "<b>Create Alarm</b>" button instead of "<b>Update Chart</b>" from the <b>"Metric Explorer"</b> or click on the <b>"Alarm Definition" </b>at left side and create alarm page opens up for some details to be filled up before finishing it.<br />
<br />
<br />
In <b>"Define Alarm"</b> section, Provide relevant "Alarm Name" and its Severity and Alarm description. Optionally you can give resource tags as well.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl9IkOy46VFHWK6vd5bKEhtdlBIylobinRbFVQUIsgj8rf3KbxmNhJTAF6M4WtT-crk7Iyi89_yKLEQv9H-9660JQcfGb_OVLRJg129FNfB2kH4QnuP7VoDggqVBpeUSe4oPdub2fscbk/s1600/01.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="534" data-original-width="1600" height="212" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl9IkOy46VFHWK6vd5bKEhtdlBIylobinRbFVQUIsgj8rf3KbxmNhJTAF6M4WtT-crk7Iyi89_yKLEQv9H-9660JQcfGb_OVLRJg129FNfB2kH4QnuP7VoDggqVBpeUSe4oPdub2fscbk/s640/01.PNG" width="640" /></a></div>
<br />
<br />
In the <b>"Metric Description"</b> section, Select the appropriate compartment, metric namespace, metric name to you to be alerted for, dimension name and its value. Most important, put the right trigger rule(it is the threshold value for the metric name you are enabling the alarming notification). In my case, I am creating this alarm for the CPU utilization, so I give trigger value 1 for the demonstration.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8Ejja8h3xE6phVB_-aHw8S9NRPqlzRnj1rpKj4ovbk0Tt7OjGQFrTCnOR1bSDzNzC9R_arg-401nzQFntvBgAKj7PFWeXjKZ6xtardkHMLbKZHoANe5pCUysbUVMeyPIvqcnQLQbOacI/s1600/02.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="615" data-original-width="1600" height="246" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8Ejja8h3xE6phVB_-aHw8S9NRPqlzRnj1rpKj4ovbk0Tt7OjGQFrTCnOR1bSDzNzC9R_arg-401nzQFntvBgAKj7PFWeXjKZ6xtardkHMLbKZHoANe5pCUysbUVMeyPIvqcnQLQbOacI/s640/02.PNG" width="640" /></a></div>
<br />
<br />
<br />
In the "<b>Notification</b>" section, select the right <b>TOPIC </b>in which you have defined the email subscription and click on "<b>Save alarm"</b>.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNktoFikH3JmhpuK9iGg4UBe7NF6dHtwkDi7JPWFCAGp0tAFFC7XzBUQQYZHthcgOEtigZuUs9m_P7QDVPXZNLmmNwgJna7q1iZMpJRNq-f2PUdroJA4PexDocl8bNIj3uMd10aTLA5Xg/s1600/03.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="681" data-original-width="1600" height="272" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNktoFikH3JmhpuK9iGg4UBe7NF6dHtwkDi7JPWFCAGp0tAFFC7XzBUQQYZHthcgOEtigZuUs9m_P7QDVPXZNLmmNwgJna7q1iZMpJRNq-f2PUdroJA4PexDocl8bNIj3uMd10aTLA5Xg/s640/03.PNG" width="640" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<br />
If you don't have an <b>Alarm Topic</b> created then you can click on the <b>"Create a Topic" </b>and provide email details- <b>Alarm Topic</b> an email subscription where alarm notifications would be sent out. In my case, I am creating an alarm for the CPU utilization for my autonomous database dimensions. Provide "NOTIFICATION FREQUENCY" to re-evaluate the alarm status to make sure if that is still above it defined threshold or cleared, If alarm remains above its defined threshold then Alarm would fire and email alert at the subscribed email. Make sure alarm is checked as enabled in the end and click on "<b>Save Alarm</b>".<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
You should check the "<b>REPEAT NOTIFICATION</b>" option to provide the <b>frequency </b>to repeat the alarm notification if the event is not resolved/cleared.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVIHJakdW86Z8Dcs6ju6AYGDi9n8zBQQuRZ2YlyFDYyCCzld5pVt_JBv6InJxqj3hQLjwMM9FkGxnwtoI_0npGGUp6otf5u5wAN2Myy1lBpwwpsoXa-5ezyUCbYkFXifGSIAvR-28g3jg/s1600/20.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="771" data-original-width="1600" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgVIHJakdW86Z8Dcs6ju6AYGDi9n8zBQQuRZ2YlyFDYyCCzld5pVt_JBv6InJxqj3hQLjwMM9FkGxnwtoI_0npGGUp6otf5u5wAN2Myy1lBpwwpsoXa-5ezyUCbYkFXifGSIAvR-28g3jg/s640/20.PNG" width="640" /></a></div>
<br />
<br />
Once you save, alarm gets create and available for the monitoring.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAPZMR6nMGxn8YW_Q3R_QWcWqeW6QsF8q0W3nrbr1NifpQTltpPlole7-9igSN_FK-ZRe0sl50YhfzkBXFCp-n6izyCglDSSS4544baDt_NyTg1RRmdxAgFT5x2puHMfQby4cL2wqNUKw/s1600/21.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="703" data-original-width="1600" height="280" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAPZMR6nMGxn8YW_Q3R_QWcWqeW6QsF8q0W3nrbr1NifpQTltpPlole7-9igSN_FK-ZRe0sl50YhfzkBXFCp-n6izyCglDSSS4544baDt_NyTg1RRmdxAgFT5x2puHMfQby4cL2wqNUKw/s640/21.PNG" width="640" /></a></div>
<br />
<br />
A while ago, you subscribed to an alarm topic that you created, you would receive an email confirmation once you subscribe to confirm for the destination email where alerts would be dispatched.<br />
<br />
You get an email as below.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjexFcNDGlB449RRdzgbzp60341jPTly6cTdVbW43HRi8I9xaGoV1sjRfvyqWUTwAwKO5xypdGnLdyBZ2og5jYHXc5vXxRyDnUHDfcev5Ah_9OFTE0GEqrariw1m_XnVk9SLnFLg2LbJFE/s1600/22.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="520" data-original-width="1408" height="236" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjexFcNDGlB449RRdzgbzp60341jPTly6cTdVbW43HRi8I9xaGoV1sjRfvyqWUTwAwKO5xypdGnLdyBZ2og5jYHXc5vXxRyDnUHDfcev5Ah_9OFTE0GEqrariw1m_XnVk9SLnFLg2LbJFE/s640/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/AVvXsEhhzXQWnflcSyqV0UZ_jDdHqsvuBF8Y4MRWWTkTUmPH0lx-zB_hih3kKc5vLvtmCWpwHNM-RNwcLu_b3IWaeHelazDR6zWwkJFwgVzdoP9-IlNDY1-psqyMsFuGuTXPsfajWvuszBSPtz4/s1600/23.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="668" data-original-width="980" height="436" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhhzXQWnflcSyqV0UZ_jDdHqsvuBF8Y4MRWWTkTUmPH0lx-zB_hih3kKc5vLvtmCWpwHNM-RNwcLu_b3IWaeHelazDR6zWwkJFwgVzdoP9-IlNDY1-psqyMsFuGuTXPsfajWvuszBSPtz4/s640/23.PNG" width="640" /></a></div>
<br />
<br />
<br />
<b><u>Alarm Definition:</u></b><br />
<br />
Once you create the alarm, then you can go back to Alarm Definition to see the list of alarms you have created for the different OCI resource/dimensions monitoring.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh64mAGK0jr11eHsE8KASezbq93wTcSvk_YKyeIwNX524xL6alceJTaQbv04iA1l3bvvRPLdOA-LI5R0jLQvvhs2ECYGpHWMwOAasCUwvWmwGo3KfYDLSElbeg_apIiJzpST6BRyAJkWw/s1600/24.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="393" data-original-width="1600" height="156" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh64mAGK0jr11eHsE8KASezbq93wTcSvk_YKyeIwNX524xL6alceJTaQbv04iA1l3bvvRPLdOA-LI5R0jLQvvhs2ECYGpHWMwOAasCUwvWmwGo3KfYDLSElbeg_apIiJzpST6BRyAJkWw/s640/24.PNG" width="640" /></a></div>
<br />
To view the MQL for an alarm definition, you open an alarm and go to its Query section and expand it.<br />
<br />
<br />
<br />
<pre style="background-color: #eeeeee; border: 1px dashed rgb(153, 153, 153); font-family: "Andale Mono", "Lucida Console", Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; width: 410px;"><code><span style="color: red;">CpuUtilization[1m]{AutonomousDBType = "ATP"}.mean()</span>
<span style="color: red;">OCID1.AUTONOMOUSDATABASE.OC1.AP-MUMBAI-1.ABRG6LJRBEWFTBLJTRMG74GA6BJ3CBHXH6SQB3ESXDBYO2C3M2OKBGJ3OFUA</span>
</code></pre>
<div>
<code><br /></code></div>
<div>
<code><br /></code></div>
<br />
You can click on the Alarm Name to view its alarming history.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1rSqtAXnEa4yvN8XXGuFCgKntMYLelZW6jYy0w4DysoaHYI1iTOOlGf0HHRxCh6oeRUaDi40tiV2Y0UU89DO1KQTIB73hRc85faGYqtSXRGvj7sn8h_h9QD-PGNA3DLh5OijvrqMqIzs/s1600/26.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="750" data-original-width="1600" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh1rSqtAXnEa4yvN8XXGuFCgKntMYLelZW6jYy0w4DysoaHYI1iTOOlGf0HHRxCh6oeRUaDi40tiV2Y0UU89DO1KQTIB73hRc85faGYqtSXRGvj7sn8h_h9QD-PGNA3DLh5OijvrqMqIzs/s640/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/AVvXsEh52fXNOraaIsqOYiz_o8pZRBzcvrsZppw64v8msxwUvQObnpwHMTKjePxYzEO78rQdFNL6aX6iXTpR7EmJjGt5YDxw_Jto161GQXj7rfgsgPS7wfWN2KR2utAN2Ypql1heJOQHWiltNhQ/s1600/27.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="723" data-original-width="1600" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh52fXNOraaIsqOYiz_o8pZRBzcvrsZppw64v8msxwUvQObnpwHMTKjePxYzEO78rQdFNL6aX6iXTpR7EmJjGt5YDxw_Jto161GQXj7rfgsgPS7wfWN2KR2utAN2Ypql1heJOQHWiltNhQ/s640/27.PNG" width="640" /></a></div>
<br />
<br />
<br />
Once alert criteria meets then it fires and you get an email alert like below. If you don't want to receive any further email notification or a user wants to exclude himself from the email alert subscription then he/she can click on the "<b>unsubscribe</b>" link in the email alert body to stop receiving the alerts further.<br />
<br />
<br />
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik7mhtddqYUxocZAbhfM20qnjgnGAkAcYK-tguTr0Xvl77DvfXs9IW5c5zakw1MZmZx4Df-gO0VVoCat0daxGUPdfa2mb8DZO0L0pameXPu7fG33moEBLygDqkpntnPiKb5eIlPgUU0sg/s1600/28.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" data-original-height="581" data-original-width="1411" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEik7mhtddqYUxocZAbhfM20qnjgnGAkAcYK-tguTr0Xvl77DvfXs9IW5c5zakw1MZmZx4Df-gO0VVoCat0daxGUPdfa2mb8DZO0L0pameXPu7fG33moEBLygDqkpntnPiKb5eIlPgUU0sg/s640/28.PNG" width="640" /></a><br />
<br />
<br />
Similarly, you define the alarming notifications for all metrics available for "METRIC NAMESPACE" in a compartment.<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Cloud Infrastructure and Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-83032923142401042312019-09-27T02:16:00.001+05:302019-09-27T02:16:10.532+05:30Creating a Block Volume in Oracle Cloud Infrastructure<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
In this article, let's see how to create a new Block Volume in Oracle Cloud Infrastructure Services.<br />
<br />
<br />
Network-attached storage volumes, attachable to compute instances. The Oracle Cloud Infrastructure Block Volumes service provides persistent storage that can be attached to compute instances using the iSCSI protocol. The volumes are stored in high performance network storage and support automated backup and snapshot capabilities. Volumes and their backups are accessible only from within a customer's VCN and are encrypted at rest using unique keys. For additional security, iSCSI CHAP authentication can be required on a per-volume basis.<br />
<br />
<br />
<div>
The Oracle Cloud Infrastructure Block Volume service lets you dynamically provision and manage block storage volumes . You can create, attach, connect, and move volumes as needed to meet your storage and application requirements. After you attach and connect a volume to an instance, you can use the volume like a regular hard drive. You can also disconnect a volume and attach it to another instance without the loss of data.</div>
<div>
<br /></div>
<div>
<br /></div>
<br />
Login to your Oracle Cloud account and go to the <b>Infrastructure Menu</b> and under the "<b>Core Infrastructure</b>"and click on the <b>Block Storage > Block Volumes</b> .<br />
<br />
<br />
<div>
Create Block Volumes page opens, provide the its Name, compartment name where you want to put this resource, select appropriate AD and its size (size should be greater than or equals to 50GB). You can select the backup policy(Gold, Silver, Bronze) for the block volume getting created. If you already have your own <b>encryption key</b> stored in the Cloud Vault then you should select its option and provide the key or just let it be the default and let OCI create/handle one for you.</div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZNWE6-4bVs8Pep7EeTlO2o0Rfeb2vIg1F1s8lOgD-89dfMgGJUE47ARhly2O29nCnZW5sr1zMEsCbAM44_uGyQguKY8EsCUVU0u674maHfW4A3JtMmb3bJ_wbpWiDc-nBcZ8Oepmm1Do/s1600/01.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="595" data-original-width="1600" height="238" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZNWE6-4bVs8Pep7EeTlO2o0Rfeb2vIg1F1s8lOgD-89dfMgGJUE47ARhly2O29nCnZW5sr1zMEsCbAM44_uGyQguKY8EsCUVU0u674maHfW4A3JtMmb3bJ_wbpWiDc-nBcZ8Oepmm1Do/s640/01.PNG" width="640" /></a></div>
<br />
<br />
You can give a <b>Tag </b>for this resource and click on "<b>Create Block Volume</b>" to start its provision.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgez7MfrLn6SQm7rG1wfbVhmBt9hjXfpvn6YRTTsU0MUTnjGBQ7DMSTpleW8YiNuJY9TqUGPQUI08ihWdRnHVUZwVdsvY-xw_k9ZYsJC17CQlupuLv3ChVGxa4ShnaaQBW3HRXOenKHoA4/s1600/02.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="401" data-original-width="1392" height="184" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgez7MfrLn6SQm7rG1wfbVhmBt9hjXfpvn6YRTTsU0MUTnjGBQ7DMSTpleW8YiNuJY9TqUGPQUI08ihWdRnHVUZwVdsvY-xw_k9ZYsJC17CQlupuLv3ChVGxa4ShnaaQBW3HRXOenKHoA4/s640/02.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWjR5xXPBCgv0PqkZZIiw1kP68QgB9aICbEyTPDap2Hnimzg3EmOzEXT4FuAXE24p39SQKJHW7Kn3cv8ed5MIm5rxDsWl420tjvDCbxsBqdxtzNUDip4B04XNaTn2d2e9BkuRvemP2GZU/s1600/03.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="740" data-original-width="1536" height="308" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWjR5xXPBCgv0PqkZZIiw1kP68QgB9aICbEyTPDap2Hnimzg3EmOzEXT4FuAXE24p39SQKJHW7Kn3cv8ed5MIm5rxDsWl420tjvDCbxsBqdxtzNUDip4B04XNaTn2d2e9BkuRvemP2GZU/s640/03.PNG" width="640" /></a></div>
<br />
<br />
In few seconds, Block Volume is created and ready to be attached in any of the compute instance.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmoLerY0dGWO-i1xNcO5e6Z_mjv-3SeuI7Vhp_74OlP7MQWq-7Gl6Z5qG2yD5qoue_z6gXCHgQmxlFXd4Rk1zZfu4xe2b3h7UwnHuM62SBddB-AC38PG9wPV3ZHvUeih963q5yiKVRpSc/s1600/04.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="725" data-original-width="1563" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhmoLerY0dGWO-i1xNcO5e6Z_mjv-3SeuI7Vhp_74OlP7MQWq-7Gl6Z5qG2yD5qoue_z6gXCHgQmxlFXd4Rk1zZfu4xe2b3h7UwnHuM62SBddB-AC38PG9wPV3ZHvUeih963q5yiKVRpSc/s640/04.PNG" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle OCI, Oracle Autonomous Database Cloud Services and new articles.</div>
<div>
<br /></div>
<div>
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a></div>
<div>
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a></div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-9421808644994413622019-09-27T01:49:00.003+05:302019-09-27T01:49:50.750+05:30out of host capacity : Oracle Cloud Infrastructure<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
While requesting a new compute resource to provision, your request may end up saying "<span style="color: red;">out of host capacity</span>" while clicking on the "Create" button for the compute. For example, I tried to provision a compute instance in Mumbai region and it ends with "out of host capacity".<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrVVqKKWLfAcDnCtipmCoweSZe-2kCjm6M2df3JL4RvjLnmsQW-pfM-W0J4TXowJWDdNeNNCCMnH1LNTSTsh7g2kfA_UWWoPC8dxSpRoTmPwOsMzR6_g7HC1ohlon2wz1ddNDDyx6wRkI/s1600/01.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="728" data-original-width="1600" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrVVqKKWLfAcDnCtipmCoweSZe-2kCjm6M2df3JL4RvjLnmsQW-pfM-W0J4TXowJWDdNeNNCCMnH1LNTSTsh7g2kfA_UWWoPC8dxSpRoTmPwOsMzR6_g7HC1ohlon2wz1ddNDDyx6wRkI/s640/01.PNG" width="640" /></a></div>
<br />
<br />
<i><b><u>Note</u></b> : </i><i>The selected shape does not have any available servers in the selected region and Availability Domain (AD). Virtual Machines (VM) are dynamically provisioned. If an AD has reached a minimum threshold, new hypervisors (physical servers) will be automatically provisioned. There may be some occasions where the additional capacity has not finished provisioning before the existing capacity is exhausted, but when retrying in 15 minutes the customer may find the shape they want is available. Alternatively, selecting a different shape, AD or region will almost certainly have the capacity needed.</i><br />
<div>
<br /></div>
<div>
<br /></div>
<div>
So, let's try to provision the compute instance in some other region, I tried in Sydney and it went well since there was free VMs available for the request.</div>
<div>
<br /></div>
<div>
Click on the region drop down menu at right top, and select the other region that you may have already subscribed. In my case, I changed it to Sydney.</div>
<div>
<br /></div>
<div>
and finally click on the "<b>Create</b>" button.</div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnrTSL0KyA_APAq7l9A48S72KHWgyFTKFSs7WaMxnJHLziqSTZvZZXTbfjVp7tLkMGK5RETBkyEa0yd-5QTprylJqrE_n5IFp3XdDwxxZDpyu97z54UjaOndAgFrmhXu9PAzwyt1EG3pQ/s1600/03.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="735" data-original-width="1600" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhnrTSL0KyA_APAq7l9A48S72KHWgyFTKFSs7WaMxnJHLziqSTZvZZXTbfjVp7tLkMGK5RETBkyEa0yd-5QTprylJqrE_n5IFp3XdDwxxZDpyu97z54UjaOndAgFrmhXu9PAzwyt1EG3pQ/s640/03.PNG" width="640" /></a></div>
<br />
<br />
In Sydney region, compute instance provision started means there was VM resources available for the request.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQiF_uHE0935ucC8BA5IslCiltSv3ZyH_wWLd3c-k8ZKq8XT0_Klyi1EoCGmbbo8Q3TgTgzXHd8iQoXvhEpMcLXDJ2GFZiBT-p8NLFuIgbpFqO8kx53FlAeu4vBkFm0rJiBAeTfR_H6PE/s1600/04.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="734" data-original-width="1600" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQiF_uHE0935ucC8BA5IslCiltSv3ZyH_wWLd3c-k8ZKq8XT0_Klyi1EoCGmbbo8Q3TgTgzXHd8iQoXvhEpMcLXDJ2GFZiBT-p8NLFuIgbpFqO8kx53FlAeu4vBkFm0rJiBAeTfR_H6PE/s640/04.PNG" width="640" /></a></div>
<br />
<br />
<br />
Compute instance is created and running now there.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCBcrqCeZIojz18iixRFu2GA0DFsZfVe6iyS1hh4zxIngcg3gUDWUuBzs0G2ACyqjDgcCrSfLDibfP0Cw192dTKqhD5WfS7bcOee62LBWqXie0g9vaBAS0xIl3t69fORWSf5xTBbJvoBw/s1600/05.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="734" data-original-width="1600" height="292" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCBcrqCeZIojz18iixRFu2GA0DFsZfVe6iyS1hh4zxIngcg3gUDWUuBzs0G2ACyqjDgcCrSfLDibfP0Cw192dTKqhD5WfS7bcOee62LBWqXie0g9vaBAS0xIl3t69fORWSf5xTBbJvoBw/s640/05.PNG" width="640" /></a></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Autonomous Database Cloud Services and new articles.</div>
<div>
<br /></div>
<div>
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a></div>
<div>
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a></div>
</div>
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-8536566230885900322019-09-26T01:56:00.006+05:302019-09-26T01:56:51.288+05:30Terminate an Oracle Autonomous Database Cloud<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
In this article, I would step you through the process to terminate an Oracle autonomous transaction processing database service.<br />
<br />
<br />
<i>Terminating an Autonomous Transaction Processing database permanently deletes the instance and removes all automatic backups. You cannot recover a terminated database.</i><br />
<i><br /></i>
Login your Oracle Cloud Infrastructure Service console and navigate to Autonomous Transaction Processing database.<br />
<br />
You get to the Autonomous Databases list, move your cursor to <b>three dots</b> at right side against the ATP instance your want to terminate/delete.<br />
<br />
Click on the "<b>Terminate</b>" from the drop down list.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigc0ujwLNgdWGYuJn7kpldegkCQbTHJ7snTcDotOMVkDuVYv_ACpwuTtaloV9BLwmwSU7ssLz6ADlyywcGxcKKL6sBPfwYCT97EMToJD5ObisT7P554ucex9HLBq-i4P9d8c4grYMxrdw/s1600/01.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="425" data-original-width="1591" height="170" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEigc0ujwLNgdWGYuJn7kpldegkCQbTHJ7snTcDotOMVkDuVYv_ACpwuTtaloV9BLwmwSU7ssLz6ADlyywcGxcKKL6sBPfwYCT97EMToJD5ObisT7P554ucex9HLBq-i4P9d8c4grYMxrdw/s640/01.PNG" width="640" /></a></div>
<br />
<br />
Once you click on the "<b>Terminate</b>", it asks for the confirmation, to enter your Autonomous Database name you wanted to terminate and click on the "<b>Terminate Autonomous Database</b>" to initiate the termination job.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfClRB7QEEu-SkIDBfM-evnO1_R-tbgQJzY_UoE2nSTJa9tIwE1D4lWhR0k6O5sl8Pw8gVwW8oRMmJUfqCOFM7QpZRHrmm679cUxhE9ekBXM8Zna_3VftJOWNpi-xsfdvLHe95T82168c/s1600/02.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="331" data-original-width="1599" height="132" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfClRB7QEEu-SkIDBfM-evnO1_R-tbgQJzY_UoE2nSTJa9tIwE1D4lWhR0k6O5sl8Pw8gVwW8oRMmJUfqCOFM7QpZRHrmm679cUxhE9ekBXM8Zna_3VftJOWNpi-xsfdvLHe95T82168c/s640/02.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi55A5Df-i9n9UxQ618ncpNyjB4eJVdqKm2JKrOcwAohkoXPLUTIp5_NsLIqaIUakJLrvZZPXwuXt0lR4UB2UuIRLhTIOsrdSG0-icin0lVBnAbWlaFgW46Mb4JOPPpAipNC1nt26hHqwY/s1600/03.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="318" data-original-width="1600" height="126" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi55A5Df-i9n9UxQ618ncpNyjB4eJVdqKm2JKrOcwAohkoXPLUTIp5_NsLIqaIUakJLrvZZPXwuXt0lR4UB2UuIRLhTIOsrdSG0-icin0lVBnAbWlaFgW46Mb4JOPPpAipNC1nt26hHqwY/s640/03.PNG" width="640" /></a></div>
<br />
<br />
ATP Instance terminated:<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPhpa8I0InxOWIsp3x9j5Y6mBp47jQKy7jKm7EHZAJmEp89nEpeJYdx1kKqSMAAL7PCSlu8Kk5Dm6wG_zmwo_eFeWoTPS0RKZrKgMxymdua_bDXbDQFg83gdjfhqvzlw2Y2Sjo2OITCpg/s1600/04.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="288" data-original-width="1596" height="114" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhPhpa8I0InxOWIsp3x9j5Y6mBp47jQKy7jKm7EHZAJmEp89nEpeJYdx1kKqSMAAL7PCSlu8Kk5Dm6wG_zmwo_eFeWoTPS0RKZrKgMxymdua_bDXbDQFg83gdjfhqvzlw2Y2Sjo2OITCpg/s640/04.PNG" width="640" /></a></div>
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-40156729852180374712019-09-23T11:52:00.000+05:302019-09-23T11:52:04.895+05:30Single-Click APEX startup on Oracle Autonomous Database<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
One of the very exciting feature for Oracle Cloud Administrators and Developers to manage and user the Oracle APEX, now you can start APEX with just a single click, that too running on Oracle Autonomous Database Cloud Services in Gen 2 Oracle Cloud Infrastructure Services.<br />
<br />
Here in this article, I would step you through to get an overview how you can do it in its simplest way as it is designed.<br />
<br />
Cloud Administrator or ATP Database Administrator can login to the Autonomous Transaction Processing Database instance it wants to startup the APEX Framework for and click on the "Development" at left side in the panel > then click on the "Oracle APEX" which directly opens up an new browser/tab to login to APEX framework or you copy the URL from the "RESTful Services and SODA" and paste it in the another tab/browser to go to the APEX login page .<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEDr2Qn16lqS6tYub4otCbJ-8lr03d8jGPw5ipo0pa8EmK083KpThTyHh8tpwYGlWRWqPCQjOgPsOYqS9b7fg359UYCxtUcEWNjUegyeaEjyM_lsEZ1pBiBlFOarwrQWd1meg4W2OluWs/s1600/01.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="661" data-original-width="1600" height="264" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiEDr2Qn16lqS6tYub4otCbJ-8lr03d8jGPw5ipo0pa8EmK083KpThTyHh8tpwYGlWRWqPCQjOgPsOYqS9b7fg359UYCxtUcEWNjUegyeaEjyM_lsEZ1pBiBlFOarwrQWd1meg4W2OluWs/s640/01.PNG" width="640" /></a></div>
<br />
Clicked in the "Oracle APEX" and its "Administration Services" login page appears, since it is our brand new ATP instance and first time opening the APEX so we need to login as ADMIN user to create developer users and workspaces in there to be used by them.<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/AVvXsEjQcXY3CPF4FeTxVYEdD5p7AzZpRggvTMQI37mvs-VqfaPaF1LWDgik8xTnazigxtwdItn_Pj_jh-LcSIqPiqPZktcEfxspvZgWvuDAPUsDCakC8pIzOpy82Fc9v4VikI9eoiu6YFHmH2Q/s1600/02.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="742" data-original-width="1600" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjQcXY3CPF4FeTxVYEdD5p7AzZpRggvTMQI37mvs-VqfaPaF1LWDgik8xTnazigxtwdItn_Pj_jh-LcSIqPiqPZktcEfxspvZgWvuDAPUsDCakC8pIzOpy82Fc9v4VikI9eoiu6YFHmH2Q/s640/02.PNG" width="640" /></a></div>
<br />
<br />
After Login as Admin, it welcomes to "Create Workspace"<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT-DMBSICiltkw_jemkMGhDIMIjwV3Wh3YnDdqqRHJkeQGWvdAeeI0EbZ_3ndzN0hdZXnuKjq422GXm0hzAsDS6MO06eLGtPe-c-dF_poE1HOgVk4ui-5h0996D9C62rTM6schjC0EjAQ/s1600/03.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="624" data-original-width="1600" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhT-DMBSICiltkw_jemkMGhDIMIjwV3Wh3YnDdqqRHJkeQGWvdAeeI0EbZ_3ndzN0hdZXnuKjq422GXm0hzAsDS6MO06eLGtPe-c-dF_poE1HOgVk4ui-5h0996D9C62rTM6schjC0EjAQ/s640/03.PNG" width="640" /></a></div>
<br />
<br />
Click on the "Create Workspace" and give new or existing database user to use with your new workspace, if there users already in the database then you can click at right side of the "Database User" box to get the list of users and select one. I am just creating the new one here.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge6lzCXrRKlekrvoHZIzAO8T0e9D8ZGSw6xxpbQ8JtIlQJNv1nKYB5XAXpEkOVOUUTO9dgMPq6Tp0kcGzlNUB9nKrvSDgSsWS0CAqCR74FnXGBTn-eZhuCgIPk2m6d35HOKMEAp5l6_p4/s1600/04.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="702" data-original-width="927" height="484" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEge6lzCXrRKlekrvoHZIzAO8T0e9D8ZGSw6xxpbQ8JtIlQJNv1nKYB5XAXpEkOVOUUTO9dgMPq6Tp0kcGzlNUB9nKrvSDgSsWS0CAqCR74FnXGBTn-eZhuCgIPk2m6d35HOKMEAp5l6_p4/s640/04.PNG" width="640" /></a></div>
<br />
<br />
Once all information provided, click on the "Create Workplace" and creates in seconds.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEishI58mY79B9ShmHZhdRTXP7EHIVoDTVWQ2ijivvxMM84U_krEnrB7zKvG5onTlqujMMi8B7xRFHg68XhhD40ng-PWbW9qKbY5OaoK-jdU0emrQ155-om09ndxYTneIFBseLFkCOzizCI/s1600/05.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="744" data-original-width="1600" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEishI58mY79B9ShmHZhdRTXP7EHIVoDTVWQ2ijivvxMM84U_krEnrB7zKvG5onTlqujMMi8B7xRFHg68XhhD40ng-PWbW9qKbY5OaoK-jdU0emrQ155-om09ndxYTneIFBseLFkCOzizCI/s640/05.PNG" width="640" /></a></div>
<br />
<br />
Now, log off from Administration account and login back with development user name : USER01<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTbOxZhoSqRy-UHzGkOlTUugXB_QQPM5W9UrzRmkB1RBHIFSYRnotMjlc0tqOgZvMlgJ1pEiyOZR9I-jitC6Y3DzceSYXWY4-5isjZeHHMwHbUGXn5GI5Hz3HIjcWLhM8XPMmhc4RQQVY/s1600/06.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="814" data-original-width="681" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTbOxZhoSqRy-UHzGkOlTUugXB_QQPM5W9UrzRmkB1RBHIFSYRnotMjlc0tqOgZvMlgJ1pEiyOZR9I-jitC6Y3DzceSYXWY4-5isjZeHHMwHbUGXn5GI5Hz3HIjcWLhM8XPMmhc4RQQVY/s640/06.PNG" width="534" /></a></div>
<br />
<br />
<br />
APEX Framework homepage opens.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh00SwcRgPodTdoIhp_6xXbneHduiUcSXro2BGTRHz2gVPZzxhbqngIKQZK3rcSm1ODg6tIu94NVOPyjlFXcVOF8rOKXidTcANxecQ5arS_PLb0-QgJY2pBOIZgEtD9Z9FItncZRkg8xY/s1600/07.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="764" data-original-width="1600" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhh00SwcRgPodTdoIhp_6xXbneHduiUcSXro2BGTRHz2gVPZzxhbqngIKQZK3rcSm1ODg6tIu94NVOPyjlFXcVOF8rOKXidTcANxecQ5arS_PLb0-QgJY2pBOIZgEtD9Z9FItncZRkg8xY/s640/07.PNG" width="640" /></a></div>
<br />
<br />
<br />
<br />
SQL Worksheet tab:<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjezu26_g-bHEUQjeoXX9h9tAR0Grz9wLbINKcujUBUWdlkfjVLNbSCtUoK1UKqLDe5fBPC2GdWJ-Fb5pw_N8jtau8Rtt4tJH9s3A11suby1hAcrDQvFUyRzQfNjniVWX5VnpxYAdNeQvM/s1600/08.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="764" data-original-width="1600" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjezu26_g-bHEUQjeoXX9h9tAR0Grz9wLbINKcujUBUWdlkfjVLNbSCtUoK1UKqLDe5fBPC2GdWJ-Fb5pw_N8jtau8Rtt4tJH9s3A11suby1hAcrDQvFUyRzQfNjniVWX5VnpxYAdNeQvM/s640/08.PNG" width="640" /></a></div>
<br />
Team Development Tab :<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJlJ_uFhQDSNVLzp5M_mjZ1BC9iYSyD-PNYbvmGJf20LYhoglbuLzIN8mVGIH5uxyYTGK6lUmYSiFNmo_3EV9caTfBGNEkIg9NWHiUHUwrFWH1HLVt9XZzOrYo8Z3YFiSNPEhgiY7oo1U/s1600/09.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="769" data-original-width="1600" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJlJ_uFhQDSNVLzp5M_mjZ1BC9iYSyD-PNYbvmGJf20LYhoglbuLzIN8mVGIH5uxyYTGK6lUmYSiFNmo_3EV9caTfBGNEkIg9NWHiUHUwrFWH1HLVt9XZzOrYo8Z3YFiSNPEhgiY7oo1U/s640/09.PNG" width="640" /></a></div>
<br />
<br />
App Gallery:<br />
<br />
From the "App Gallery" you can install any available application you want instantly just by clicking on it, look at followed screenshot after it.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBivL4c5sfEqFtStrU3UkAVbzTbePQAD314dUyPgotOHBkOyWVXbuooc6KbQZpb2w7NSIxKXG8a9hk3ABQaEIGvmFRXkb2kSENh1LyWPuMhnS-0bUPWiL_vxfueLhSiVgG9WJYMlWSArw/s1600/10.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="765" data-original-width="1600" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBivL4c5sfEqFtStrU3UkAVbzTbePQAD314dUyPgotOHBkOyWVXbuooc6KbQZpb2w7NSIxKXG8a9hk3ABQaEIGvmFRXkb2kSENh1LyWPuMhnS-0bUPWiL_vxfueLhSiVgG9WJYMlWSArw/s640/10.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIPRkSYN9EpWfqI0W-uV_NyTiRQ8ECZbofvZm7oWzDoembl7f9NlaLOPo1p4-4LTAA3H4oxrp9zSGnnoRqVuzt-NsZ5tArwPIrzCMacZDi-q-Afj6eBk9Co0TRFQFHkOR6OwCYoJar1fU/s1600/11.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="768" data-original-width="1600" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIPRkSYN9EpWfqI0W-uV_NyTiRQ8ECZbofvZm7oWzDoembl7f9NlaLOPo1p4-4LTAA3H4oxrp9zSGnnoRqVuzt-NsZ5tArwPIrzCMacZDi-q-Afj6eBk9Co0TRFQFHkOR6OwCYoJar1fU/s640/11.PNG" width="640" /></a></div>
<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHQg4tGOIXM0DMglcJSiSzw4-pjdyls5N6RQ-Y3hm8MtCVJJJpM-ytLq788tzpQUBbyOrJfpu4KPiOnKY6K2HU1mIy0IYDek2LlAQnAard6fOAQCR37BEtj4HX4pDRZlCBvewT2QHok1Q/s1600/12.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="721" data-original-width="1208" height="380" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHQg4tGOIXM0DMglcJSiSzw4-pjdyls5N6RQ-Y3hm8MtCVJJJpM-ytLq788tzpQUBbyOrJfpu4KPiOnKY6K2HU1mIy0IYDek2LlAQnAard6fOAQCR37BEtj4HX4pDRZlCBvewT2QHok1Q/s640/12.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyxeAWEWJf1mhAkhjBZ40hnnJNzNCG1dlIeEXH5lp8gUXTiUrsyq8OptnijnR89qA_eMF5tBZO9eIs5ujKhNJkGgewOTd0pqsT64RatLXm4WbI_N9ELZLgZx0xdTk7fMby2NR5BHGN5-c/s1600/13.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="721" data-original-width="1201" height="384" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjyxeAWEWJf1mhAkhjBZ40hnnJNzNCG1dlIeEXH5lp8gUXTiUrsyq8OptnijnR89qA_eMF5tBZO9eIs5ujKhNJkGgewOTd0pqsT64RatLXm4WbI_N9ELZLgZx0xdTk7fMby2NR5BHGN5-c/s640/13.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHji2QsC4kc6xcCwPZiO7VSiR9JWOyhxpIExcAUjFoz1n0wbR7434uty74CpMx6wDlRXDzliGXTDET5UYM9PkhxOA78HTemIC5sUIs3_kSnnIqodnq74cRqqDKiHS8fhzlpYnGLEoFfC8/s1600/14.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="723" data-original-width="1204" height="384" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHji2QsC4kc6xcCwPZiO7VSiR9JWOyhxpIExcAUjFoz1n0wbR7434uty74CpMx6wDlRXDzliGXTDET5UYM9PkhxOA78HTemIC5sUIs3_kSnnIqodnq74cRqqDKiHS8fhzlpYnGLEoFfC8/s640/14.PNG" width="640" /></a></div>
<br />
<br />
<br />
Application Installed:<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUd4euxTgoTI-5AG-zrA9GaPyeN_I3d8GSAO3zuTAqt1A6mlTCLlVZbk_t1_Fz1vbIDbpQNkf6Y_wdIb_2Z97HVmKZsYAWIh_5m8BYo14ZtXp8NvdforT8VqzLGh0WNy12qbMeG2ISLV4/s1600/15.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="447" data-original-width="1600" height="178" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUd4euxTgoTI-5AG-zrA9GaPyeN_I3d8GSAO3zuTAqt1A6mlTCLlVZbk_t1_Fz1vbIDbpQNkf6Y_wdIb_2Z97HVmKZsYAWIh_5m8BYo14ZtXp8NvdforT8VqzLGh0WNy12qbMeG2ISLV4/s640/15.PNG" width="640" /></a></div>
<br />
<br />
Open the application by clicking the Play icon right next to the "Manage" button to start using the application.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSHBCbQLVlC8yLYLAQyzkz1_sISGp2hIAFancqku0WwqXxMqtxVHqWfRMCnNBT5XPPHMKhT8QThqXGNzfUHj8hBpb4khv92LR-wEEYqZSYOrHumjfmsydXOapKyItXqa6npe4zdDny6mw/s1600/16.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="635" data-original-width="719" height="564" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSHBCbQLVlC8yLYLAQyzkz1_sISGp2hIAFancqku0WwqXxMqtxVHqWfRMCnNBT5XPPHMKhT8QThqXGNzfUHj8hBpb4khv92LR-wEEYqZSYOrHumjfmsydXOapKyItXqa6npe4zdDny6mw/s640/16.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm543dIXSJ10AgYXsGsgH47xmm3GEDrTUsx78_nOk-mHKYvEZU0syN5yRNb8N85Q0mX6if519BP1Olbz5OspkA3MQfjecWPNpgxxmTtdokQIKadnzGiTeWi8oGIKmcoOoyh0qpc-G50hg/s1600/17.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="767" data-original-width="1600" height="306" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjm543dIXSJ10AgYXsGsgH47xmm3GEDrTUsx78_nOk-mHKYvEZU0syN5yRNb8N85Q0mX6if519BP1Olbz5OspkA3MQfjecWPNpgxxmTtdokQIKadnzGiTeWi8oGIKmcoOoyh0qpc-G50hg/s640/17.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPx0MDj3r1LubLTj0_PyzgEJ1i1ql0G-K7EJ-uhTgN_VPghZIEDb6u1Akk4NmmvIJPYrh3l5mpUfM4m12GLCY7r9lH3pu2JLSIVWODR3hC5kiB-5tIS86uC5bSCdkw6l9pA2aaLEfXE-c/s1600/18.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="762" data-original-width="1600" height="304" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPx0MDj3r1LubLTj0_PyzgEJ1i1ql0G-K7EJ-uhTgN_VPghZIEDb6u1Akk4NmmvIJPYrh3l5mpUfM4m12GLCY7r9lH3pu2JLSIVWODR3hC5kiB-5tIS86uC5bSCdkw6l9pA2aaLEfXE-c/s640/18.PNG" width="640" /></a></div>
<br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
<div>
<br /></div>
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-7727371728449103841.post-16723694111979910112019-09-23T01:15:00.002+05:302019-09-23T01:15:39.995+05:30dbnodeupdate.sh fails for YUM update on Exadata Compute Node <div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
<b><u>Exadata Patching:</u></b><br />
<br />
Today, we were doing Exadata patching activity - QFSDP APR 2019, for a number of our Exadata boxes, while performing the YUM update for one of the compute node, dbnodeupdate.sh tool failed with following error.<br />
<br />
<br />
<span style="color: blue; font-family: "courier new"; font-size: x-small;">ERROR:</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Found</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">dependency</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">issues</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">during</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">pre</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: blue; font-family: "courier new"; font-size: x-small;">check</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Packages</span><span style="color: blue; font-family: "courier new"; font-size: x-small;">failing:</span><span style="color: blue; font-family: "courier new"; font-size: x-small;">ERROR:</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Consult</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">file </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">dbm03:</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">var</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">log</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">cellos</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">minimum_conflict_report</span><span style="font-family: "courier new"; font-size: x-small;">.210919181148</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">txt</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">for</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">more</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">information</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">on</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">the</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">dependencies</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">failing</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">and</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">for</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">next</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">steps</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><br />
<br />
<br />
Upon checking the log files, it was found the update was failing due to obsolete RPM packages exist in the system.<br />
<br />
<br />
Our obsolete.lst file looks like below:<br />
<br />
<br />
<span style="font-family: "courier new"; font-size: x-small;">[root@<span style="color: blue;">dbm03 </span>bin]</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">cat</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">etc</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">exadata</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">yum</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">obsolete</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.lst</span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Generated</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">by</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">dbnodeupdate</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">sh</span><span style="color: blue; font-family: "courier new"; font-size: x-small;">runid:</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="font-family: "courier new"; font-size: x-small;">210919181148</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">at</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">rhino</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">jline</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">jpackage</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">utils</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">giflib</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">alsa</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">lib</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">xorg</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x11</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">fonts</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Type1</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">prelink</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">biosconfig</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">biosconfig_expat</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">qlvnictools</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">ibvexdmtools</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">opensm</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">ofed</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">scripts</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">ibibverbs</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">devel</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">static</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">infiniband</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">diags</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">libibverbs</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">librdmacm</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">libibumad</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">libibmad</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">ibutils</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">libmlx4</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">libsdp</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">mstflint</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">debuginfo</span><br />
.<br />
.<br />
<span style="font-family: "courier new"; font-size: x-small;">tk</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">tmpwatch</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">unifdef</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">valgrind</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">zlib</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">i686</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">compat</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">libstdc</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">++-</span><span style="font-family: "courier new"; font-size: x-small;">296.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">i686</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">compat</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">libstdc</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">++-</span><span style="font-family: "courier new"; font-size: x-small;">33.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">i686</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">libstdc</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">++-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">devel</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">i686</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">libstdc</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">++</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">i686</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">libgcc</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">i686</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">glibc</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">i686</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;"><br /></span>
<span style="color: silver; font-family: "courier new"; font-size: x-small;"><br /></span>
<span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Generated</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">by</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">dbnodeupdate</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">sh</span><span style="color: blue; font-family: "courier new"; font-size: x-small;">runid:</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="font-family: "courier new"; font-size: x-small;">210919181148</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">java</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-*-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">openjdk</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">nss</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">softokn</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">freebl</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">i686</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">dmraid</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">events</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">dmraid</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><br />
<br />
<br />
<br />
<br />
<br />
<b><u>Note</u></b> :- If you are updating to release 11.2.3.3.0 or later, some packages on the Exadata database server become obsolete. While updating an Exadata database server, the update utility prints the exclude rpm list and obsolete rpm list in the log file - /etc/exadata/yum/ location.<br />
<br />
<br />
The following example shows the exclusion and obsolete lists from the log file. In this<br />
example, an exclusion list has not yet been created by the user.<br />
<div>
<br /></div>
<div>
<br /></div>
<div>
<span style="font-family: "courier new"; font-size: x-small;">[root@<span style="color: blue;">dbm03 </span>yum]</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">pwd</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">etc</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">exadata</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">/</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">yum</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">[root@<span style="color: blue;">dbm03 </span>yum]</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">ls</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">ltr</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">total</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="font-family: "courier new"; font-size: x-small;">24</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">r</span><span style="color: green; font-family: "courier new"; font-size: x-small;"><i>--r----- 1 root root 481 Jun 21 18:59 obsolete_nodeps.lst</i></span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: red;"><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">r</span><span style="color: green; font-family: "courier new"; font-size: x-small;"><i>--r----- 1 root root 3206 Jun 21 18:59 obsolete.lst</i></span></span><span style="font-family: "courier new"; font-size: x-small;"><span style="color: red;"> </span> <span style="color: red;"><<<<<<<<<<<<</span></span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">r</span><span style="color: green; font-family: "courier new"; font-size: x-small;"><i>--r----- 1 root root 474 Jun 21 18:59 exclusion.lst.sample</i></span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">rw</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">r</span><span style="color: green; font-family: "courier new"; font-size: x-small;"><i>----- 1 root root 125 Sep 21 18:20 obsolete_nodeps.lst.09212019</i></span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">rw</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">r</span><span style="color: green; font-family: "courier new"; font-size: x-small;"><i>----- 1 root root 2497 Sep 21 18:20 obsolete.lst.09212019</i></span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">[root@<span style="color: blue;">dbm03 </span>yum]</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span></div>
<div>
<br />
In our case, obsolete.list file was created with all obsolete rpm packages and you see one <i style="color: green; font-family: "courier new"; font-size: small;">exclusion.lst.sample </i>sample file is also created.<br />
<br /></div>
<div>
To see which packages will become obsolete, review the contents of the obsolete.lst file. This file lists the packages defined to be obsolete by current Exadata update; these packages will be removed during the update when no action is taken. Package manually added to this list are ignored. The following is a small sample of the obsolete.lst file:</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<span style="font-family: "courier new"; font-size: x-small;">[root@<span style="color: blue;">dbm03 </span>yum]</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">cat</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">obsolete</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">lst</span><span style="font-family: "courier new"; font-size: x-small;">.09212019</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Generated</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">by</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">dbnodeupdate</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">sh</span><span style="color: blue; font-family: "courier new"; font-size: x-small;">runid:</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="font-family: "courier new"; font-size: x-small;">210919181148</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">at</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">rhino</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">jline</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">jpackage</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">utils</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">giflib</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">alsa</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">lib</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">xorg</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x11</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">fonts</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Type1</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">prelink</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">biosconfig</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">biosconfig_expat</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">qlvnictools</span></div>
<div>
<span style="color: maroon; font-family: "courier new"; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: "courier new"; font-size: x-small;"><br /></span></div>
<div>
<span style="font-family: "courier new"; font-size: x-small;"><br /></span></div>
<div>
<br /></div>
<div>
To prevent a package listed in the obsolete.lst file from being removed, create the <i><span style="color: red;">/etc/exadata/yum/exclusion.lst</span></i> file, and put in the rpm name (wildcards are allowed) for the packages you want to keep. Place the /etc/exadata/yum/exclusion.lst file on all Exadata database servers where you want to use it.<br />
<br /></div>
<div>
The following example shows a package added to the exclusion list:</div>
<div>
<br />
<br />
<span style="font-family: "courier new"; font-size: x-small;"><br /></span>
<span style="font-family: "courier new"; font-size: x-small;"><span style="font-family: "courier new"; font-size: x-small;">[root@<span style="color: blue;">dbm03 </span>yum]</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">cat</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">exclusion</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">lst</span></span><br />
<span style="color: silver; font-family: "courier new"; font-size: x-small;">#</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Generated</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: blue; font-family: "courier new"; font-size: x-small;">by</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">dbnodeupdate</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">sh</span><span style="color: blue; font-family: "courier new"; font-size: x-small;">runid:</span><span style="font-family: "courier new"; font-size: x-small;"> </span><span style="font-family: "courier new"; font-size: x-small;">210919181148</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">at</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">rhino</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">jline</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">jpackage</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">utils</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">giflib</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">alsa</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">lib</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">xorg</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x11</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">fonts</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">-</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">Type1</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">noarch</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">prelink</span><span style="color: silver; font-family: "courier new"; font-size: x-small;">.</span><span style="color: maroon; font-family: "courier new"; font-size: x-small;">x86_64</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">biosconfig</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">biosconfig_expat</span><span style="font-family: "courier new"; font-size: x-small;"> </span><br />
<span style="font-family: "courier new"; font-size: x-small;"></span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;">qlvnictools</span><br />
<span style="color: maroon; font-family: "courier new"; font-size: x-small;"><br /></span>
<span style="color: maroon; font-family: "courier new"; font-size: x-small;"><br /></span>
<span style="color: maroon; font-family: "courier new"; font-size: x-small;"><br /></span></div>
<div>
After you have added an entry to the exclusion.lst file for all obsolete rpms and re-run the update dbnodeupdate.sh utility, the utility detects the exclusion list. The rpm packages on the exclusion list are still shown in the obsolete.lst file, but the packages in the exclusion.lst file will not be removed during the update.<br />
<br />
<span style="color: #38761d;">dbnodeupdate.sh tool runs successful !!</span><br />
<br />
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on Oracle Autonomous Database Cloud Services and new articles.<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a></div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<br /></div>
Unknownnoreply@blogger.com2tag:blogger.com,1999:blog-7727371728449103841.post-36577991236275854812019-09-22T04:38:00.003+05:302019-09-22T22:03:54.161+05:30Cloning an Autonomous Transaction Processing Database<div dir="ltr" style="text-align: left;" trbidi="on">
<br />
<br />
So far we have seen how to create an Autonomous Transaction Processing Database(<i><a href="https://rajkumar-dba.blogspot.com/2019/09/creating-oracle-autonomous-database.html" target="_blank">click here</a></i>) and seen how to login to its service console to monitor the database activities and do some administration work.<br />
<br />
In this article, I would demonstrate the process to Clone an Autonomous Transaction Processing database as and when required. Purpose of the cloning is to get a full copy of the production database to do the development or testing works.<br />
<br />
<br />
There are two options to clone an Autonomous Transaction Processing Database:<br />
<br />
1 - Full Clone<br />
<br />
2 - Metadata Clone<br />
<br />
<br />
Let's now see how easily we can clone an ATP(Autonomous Transaction Processing) database using its Details page.<br />
<br />
<br />
Login to the ATP instance you want to clone via its direct link or you can navigate through the Oracle Cloud Infrastructure Console.<br />
<br />
Source DB Name = <span style="background-color: #fcfcfc; color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 14px;">DB201909201730</span><br />
<span style="background-color: #fcfcfc; color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 14px;"><br /></span>
<span style="background-color: #fcfcfc; color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 14px;">Target Clone DB Name = </span><span style="color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif;"><span style="font-size: 14px;">CLONEDB</span></span><br />
<div>
<span style="color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif;"><span style="font-size: 14px;"><br /></span></span></div>
<br />
I have the direct link for my ATP database named <span style="background-color: #fcfcfc; color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 14px;">DB201909201730 </span>, so I login with that as below.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAYr_HJz0J99NRSvHJEZ_kejjbMIltbLmZXfsXUUIQwsN-UZxBJOoI5I3KHPT1VTWH_DbdIXmVfsLXZDKQUGUGVr5BgamzvJ9fcUTi16prNuHaZNgim0hUU6qYqdgEpQTEXnJsW_QS7NY/s1600/21.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="758" data-original-width="1600" height="302" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAYr_HJz0J99NRSvHJEZ_kejjbMIltbLmZXfsXUUIQwsN-UZxBJOoI5I3KHPT1VTWH_DbdIXmVfsLXZDKQUGUGVr5BgamzvJ9fcUTi16prNuHaZNgim0hUU6qYqdgEpQTEXnJsW_QS7NY/s640/21.PNG" width="640" /></a></div>
<br />
<br />
Having logged in to the ATP instance, <b>Autonomous Database Details</b> page opens, Click on the "<b>Action</b>" drop down menu and then Click "<b>Create Clone</b>" to clone this database.<br />
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxR15w5ZxXa0S6MAAZZT29yc1DkN__CVL75IlcD4rkdqtr524bc1x8FWesX5nPWjDMP3NsdE-ONlLQRHiQyH7-yV1i8hpsFTTwRcbq8NihJT8x8FcaHo-O-p1JeJ3IArO6evXI-HjUzLk/s1600/01.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="723" data-original-width="1600" height="288" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxR15w5ZxXa0S6MAAZZT29yc1DkN__CVL75IlcD4rkdqtr524bc1x8FWesX5nPWjDMP3NsdE-ONlLQRHiQyH7-yV1i8hpsFTTwRcbq8NihJT8x8FcaHo-O-p1JeJ3IArO6evXI-HjUzLk/s640/01.PNG" width="640" /></a></div>
<br />
<br />
<br />
"<b>Create Autonomous Database Clone</b>" page opens where you specify the target clone database name and its details.<br />
<br />
<br />
Here I want a Full clone (default option) to clone my source DB(<span style="background-color: #fcfcfc; color: #222222; font-family: "helvetica neue" , "helvetica" , "arial" , sans-serif; font-size: 14px;"><b>DB201909201730</b>)</span>. Select the <b>Compartment </b>in which you want to place this resource and provide the target <b>DB name and Database Display Name.</b><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwP0IZDm3BMA32X5ccB7e1tQQqz8phTB9UAafkeCCyfZYJ1xsrXuk4JBbcm8Gxz-NomaFnLeXUsULHUh-14JGf4a9xm-Kko3rfN9PHdhMN_q55kX-a8WJy-U1kwxCFXeNg9ivhHUBwA-M/s1600/02.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="847" data-original-width="1327" height="408" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwP0IZDm3BMA32X5ccB7e1tQQqz8phTB9UAafkeCCyfZYJ1xsrXuk4JBbcm8Gxz-NomaFnLeXUsULHUh-14JGf4a9xm-Kko3rfN9PHdhMN_q55kX-a8WJy-U1kwxCFXeNg9ivhHUBwA-M/s640/02.PNG" width="640" /></a></div>
<br />
<br />
Since I am using the "<b>Always Free</b>" credentials so I just turn this option on that makes <b>CPU core count</b> and <b>Storage limits</b> gets populated automatically. Provide Admin password.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn13oS2dZwhHLI7mdD0Z1qZRVEYDFa4mOaYMyd-ynHnlaEJr39Z2wDULCHyfuhZrU8J4SXuINvN_7Th70bcKPD7TZy-pXkU_3f26WNWF9LuM66STWF7P7zDa4F_F5lpDfMpJAN05CpqOw/s1600/03.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="849" data-original-width="1284" height="422" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgn13oS2dZwhHLI7mdD0Z1qZRVEYDFa4mOaYMyd-ynHnlaEJr39Z2wDULCHyfuhZrU8J4SXuINvN_7Th70bcKPD7TZy-pXkU_3f26WNWF9LuM66STWF7P7zDa4F_F5lpDfMpJAN05CpqOw/s640/03.PNG" width="640" /></a></div>
<br />
<br />
Further, "<b>License Included</b>" option is selected by default, if a customer already has appropriate licensing then he/she can select the <b>BYOL</b> option as needed. Provide the <b>Tag Key</b> and its <b>Value </b>and finally click on "<b>Create Autonomous Database Clone</b>" to start the cloning job.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikyvV2w4lDoncPxc3CE7t2y-E2xk1FhHIODvgglN-MU61u0Y260cODMX17ftBbKpMgJR2h4aE4acQAq7_jVfCMTLERIe3LDWJU7fyGWVKCjTEezQrCKYDUqCR2fxI3MnLwva3udy4rN38/s1600/04.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="688" data-original-width="1336" height="328" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikyvV2w4lDoncPxc3CE7t2y-E2xk1FhHIODvgglN-MU61u0Y260cODMX17ftBbKpMgJR2h4aE4acQAq7_jVfCMTLERIe3LDWJU7fyGWVKCjTEezQrCKYDUqCR2fxI3MnLwva3udy4rN38/s640/04.PNG" width="640" /></a></div>
<br />
<br />
Cloning job has been started now.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCaxy-pCtf9sGIBPwwbZCBA6l1A62ja8QJZ44cyrlWICv6Pziv-hqp-AFKqU0W7h4kiVQ-Y5fcPnHXNwcQVlgxPXKYatQy6O9bw4H19w3Q1Vb3c6hP64xzzDvezBTw0EqnCGZUmY2bqx8/s1600/05.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="805" data-original-width="1600" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCaxy-pCtf9sGIBPwwbZCBA6l1A62ja8QJZ44cyrlWICv6Pziv-hqp-AFKqU0W7h4kiVQ-Y5fcPnHXNwcQVlgxPXKYatQy6O9bw4H19w3Q1Vb3c6hP64xzzDvezBTw0EqnCGZUmY2bqx8/s640/05.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU4cq5HxqmlyhvuJX7MBDAihGqPefDwJoPiOUKOgc7ZznXxfn1nRda4zVK3tnpZBYqaE27zjHK5tiTwdrJyu7E6wsq447axi3MAtfLW8rOMFIG93RffZJ4HfNztyHSfF1yzluNGUw98sI/s1600/06.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="689" data-original-width="1600" height="274" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgU4cq5HxqmlyhvuJX7MBDAihGqPefDwJoPiOUKOgc7ZznXxfn1nRda4zVK3tnpZBYqaE27zjHK5tiTwdrJyu7E6wsq447axi3MAtfLW8rOMFIG93RffZJ4HfNztyHSfF1yzluNGUw98sI/s640/06.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmOyPA8GKoFU_O9Ff1YZX3Ef1bxLXwaWSPJ4klIk8A2cpyLl7my_ag6AtnCGt7wSisgNp3yNw-4k_XgOPIcND66xHAamJSSz2-oKmqe3602p5IdrERZ8OAJPk88PSF59FHRaA8SR8Btw/s1600/07.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="325" data-original-width="1600" height="128" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkmOyPA8GKoFU_O9Ff1YZX3Ef1bxLXwaWSPJ4klIk8A2cpyLl7my_ag6AtnCGt7wSisgNp3yNw-4k_XgOPIcND66xHAamJSSz2-oKmqe3602p5IdrERZ8OAJPk88PSF59FHRaA8SR8Btw/s640/07.PNG" width="640" /></a></div>
<br />
<br />
You can monitor the progress of the cloning job > click on the "<b>Work Request</b>" under the "<b>Resources</b>" in left side at Database Details page. Here you can see the job progress in terms of <b>% Complete</b>, job stared date timestamp.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqtpPRFd3XgBbESKryGv9q-M3zcVPgq6EZ6pBeoXhoNW5vWpdy0o9PWj_B08s3RWqEaVo9Q2ZZygvh_DOTerTsw_Zh8vEl6Y5bv1G9T7Ya0EPEjWdm2haiRWI_AqtFnetBXt3iTkahBc4/s1600/08.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="223" data-original-width="1600" height="88" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqtpPRFd3XgBbESKryGv9q-M3zcVPgq6EZ6pBeoXhoNW5vWpdy0o9PWj_B08s3RWqEaVo9Q2ZZygvh_DOTerTsw_Zh8vEl6Y5bv1G9T7Ya0EPEjWdm2haiRWI_AqtFnetBXt3iTkahBc4/s640/08.PNG" width="640" /></a></div>
<br />
To go further in monitoring the cloning job, click on the <b>Work Request</b> > <b>Operation </b>and you get to "<b>Create Autonomous Database</b>" page and see more logs.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_V8WH3y_X45PZuPb6cEs2gAYIr8g4YXmy58dT3Fof6HZm8cdVx_5Zt-YF5Kv8m2aocrp-cykB5YdYdZ0tZKx-1VuAIcTkqkDEGV0knOiHDnr43aZuEfS-8bFYHjOYQRAys_NciH-2_Bs/s1600/09.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="800" data-original-width="1597" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_V8WH3y_X45PZuPb6cEs2gAYIr8g4YXmy58dT3Fof6HZm8cdVx_5Zt-YF5Kv8m2aocrp-cykB5YdYdZ0tZKx-1VuAIcTkqkDEGV0knOiHDnr43aZuEfS-8bFYHjOYQRAys_NciH-2_Bs/s640/09.PNG" width="640" /></a></div>
<br />
<br />
In few mins, your ATP clone created.<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQBv2PQSS4Ma1KUgqxwK3zBS-pNJvl2m0nluSnYEGhQICg-AG8LOQJZf6cTaBQEL_g7HqpbRCzhl8oUyAF7Y6xjujBM7CGhGyUiNWzhRMXJ30JYy7PguG1J3GpJQqAP68YjoikUcQVAhw/s1600/10.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="692" data-original-width="1600" height="276" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQBv2PQSS4Ma1KUgqxwK3zBS-pNJvl2m0nluSnYEGhQICg-AG8LOQJZf6cTaBQEL_g7HqpbRCzhl8oUyAF7Y6xjujBM7CGhGyUiNWzhRMXJ30JYy7PguG1J3GpJQqAP68YjoikUcQVAhw/s640/10.PNG" width="640" /></a></div>
<br />
<br />
Autonomous Database > has list of clone ATP now.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJWvS5HbCAsjE-_WNFrxtTmtIAjWjiEA1Yz9SDMMESOfFilLzAYYE3EcyDKjjhrNP-BKA3UQJ7enrh76imWu6-JfpU2lDf93PwPC5CqodInVxqs5h4rWubPJDIifgOd3BQQ3m_UBFRJ5U/s1600/11.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="509" data-original-width="1600" height="202" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJWvS5HbCAsjE-_WNFrxtTmtIAjWjiEA1Yz9SDMMESOfFilLzAYYE3EcyDKjjhrNP-BKA3UQJ7enrh76imWu6-JfpU2lDf93PwPC5CqodInVxqs5h4rWubPJDIifgOd3BQQ3m_UBFRJ5U/s640/11.PNG" width="640" /></a></div>
<br />
<br />
I am now able to login to the CLONEDB ATP instance as below.<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5NXSgrugoCj99HaDYluXkY-sFLFq3NmqBsozXfjjJrANC80K8uc692dPEpHqHpBf-NEPlJFRxOxpzcy_WMOiPqiYM_Hn62AN_mflEwDxVT130PddGPqS2BaS_9-F0NH3Zw95AfnStgg8/s1600/12.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="742" data-original-width="1600" height="296" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5NXSgrugoCj99HaDYluXkY-sFLFq3NmqBsozXfjjJrANC80K8uc692dPEpHqHpBf-NEPlJFRxOxpzcy_WMOiPqiYM_Hn62AN_mflEwDxVT130PddGPqS2BaS_9-F0NH3Zw95AfnStgg8/s640/12.PNG" width="640" /></a></div>
<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4GXOsc-USsjmA4FadDmvN_DkoDlLQu8O2RqpFrWkEhpMTCJCfdQqxGe9v2IWUVp-Lie9vClRUh7CjCEUv4KpGqkJCN82J9ccoGbkieM5C-wMQvhtsmUnIBgcAMy8aqF3D7VIWxTR6LT4/s1600/13.PNG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="728" data-original-width="1600" height="290" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg4GXOsc-USsjmA4FadDmvN_DkoDlLQu8O2RqpFrWkEhpMTCJCfdQqxGe9v2IWUVp-Lie9vClRUh7CjCEUv4KpGqkJCN82J9ccoGbkieM5C-wMQvhtsmUnIBgcAMy8aqF3D7VIWxTR6LT4/s640/13.PNG" width="640" /></a></div>
<br />
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b><br /></b>
<b>Cloning Limitation for Autonomous Transaction Processing Database:</b><br />
<br />
1 > Oracle Machine Learning workspaces, projects, and notebooks of the source database are not cloned to the new database.<br />
2 > If there is an ongoing clone operation on a source database, you cannot initiate a new clone operation on the database being cloned until the ongoing operation completes.<br />
3 > You can only clone an Autonomous Transaction Processing instance to the same tenancy and the same region as the source database.<br />
4 > If you define a network Access Control List (ACL) on the source database, the network ACL is cloned to the new database.<br />
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<b>Optimizer Statistics for a Cloned Database:</b></div>
<div>
<b><br /></b></div>
<div>
During the provisioning for either a Full Clone or a Metadata Clone, the optimizer statistics are copied from the source database to the cloned database.</div>
<div>
<br /></div>
<div>
The following applies for optimizer statistics for tables in a cloned database:</div>
<div>
<br /></div>
<div>
• <b><u>Full Clone</u> </b>: loads into tables behave the same as loading into a table with statistics already in place.</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
• <b><u>Metadata Clone</u> </b>: the first load into a table after the clone clears the statistics for that table and updates the statistics with the new load.</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<br /></div>
<div>
<div>
<b>Resource Management Rules and Performance Data for a Cloned Database:</b></div>
<div>
<br /></div>
<div>
The following applies for resource management rules and performance data in a</div>
<div>
cloned database:</div>
<div>
<br /></div>
<div>
> During the provisioning for either a Full Clone or a Metadata Clone, any resource management rule changed by the user in the source database is carried over to the cloned database.</div>
<div>
<br /></div>
<div>
> Performance data for the time before the clone operation is not visible on the service console of the cloned database.</div>
</div>
<div>
<br /></div>
<div>
<br /></div>
<br />
Hope it helps, thanks for reading, please subscribe to this blog to stay updated with latest news on <b>Oracle Autonomous Transaction Processing Cloud Services</b> and new articles.<br />
<br />
<br />
Twitter : <a href="https://twitter.com/rajsoft8899">https://twitter.com/rajsoft8899</a><br />
Linkedin : <a href="https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/">https://www.linkedin.com/in/raj-kumar-kushwaha-5a289219/</a><br />
<div>
<br /></div>
</div>
Unknownnoreply@blogger.com0